/* 
 * Tradepass Academy - Custom Styles
 * Modern, premium aesthetic with deep rich colors and glassmorphism.
 */

:root {
    --primary-color: #0d1b2a;
    /* Deep blue/black for premium feel */
    --accent-color: #0077b6;
    /* Bright vibrant blue for interaction */
    --text-dark: #1b263b;
    --text-light: #e0e1dd;
    --nav-bg: #ffffff;
    /* Solid white background */
    --nav-text: #333333;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background-color: #f8f9fa;
    -webkit-font-smoothing: antialiased;
}

/* =========================================
   Global Section Padding
   ========================================= */
section {
    padding-left: 40px !important;
    padding-right: 40px !important;
}

@media (max-width: 767px) {
    section {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* =========================================
   Navigation Bar (Glassmorphism & Premium)
   ========================================= */

.tp-navbar {
    background-color: var(--nav-bg);
    backdrop-filter: blur(12px);
    /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
}

/* Navbar on scroll class (added via JS later) */
.tp-navbar.scrolled {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Logo Styling */
.tp-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-color);
}

/* Nav Links - Shared Styles */
.tp-nav-links .nav-item {
    margin-left: 10px;
}

.tp-nav-links .nav-link {
    color: var(--nav-text) !important;
    font-weight: 600;
    /* Increased font-weight for bolder links */
    font-size: 0.95rem;
    padding: 8px 16px !important;
    border-radius: 50px;
    transition: all 0.2s ease;
    position: relative;
}

/* Hover and Active State */
.tp-nav-links .nav-link:hover,
.tp-nav-links .nav-link.active {
    color: #f3003c !important;
    /* Updated to requested red color */
}

/* Desktop Navigation Hover Styles (min-width: 992px) */
@media (min-width: 992px) {
    /* Underline animation on hover */
    .tp-nav-links .nav-link::before {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: #f3003c;
        /* Updated to match the hover color */
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }

    .tp-nav-links .nav-link:hover::before,
    .tp-nav-links .nav-link.active::before {
        width: 70%;
    }
}

/* Mobile Navigation Styles (max-width: 991px) */
@media (max-width: 991px) {
    .tp-nav-links {
        padding: 15px 0;
    }
    
    .tp-nav-links .nav-item {
        margin-left: 0;
        margin-bottom: 8px;
        width: 100%;
    }
    
    .tp-nav-links .nav-link {
        padding: 10px 16px !important;
        border-radius: 8px;
        width: 100%;
        display: block;
    }

    .tp-nav-links .nav-link:hover,
    .tp-nav-links .nav-link.active {
        background-color: rgba(243, 0, 60, 0.05);
        color: #f3003c !important;
    }
    
    .tp-dropdown {
        box-shadow: none !important;
        background-color: #f8f9fa !important;
        margin-top: 5px !important;
        padding-left: 15px !important;
        border-radius: 10px !important;
        border: 1px solid rgba(0, 0, 0, 0.05) !important;
    }
}

/* Custom Dropdown Chevron Arrow */
.tp-nav-links .dropdown-toggle::after {
    border: none;
    width: 0.45em;
    height: 0.45em;
    margin-left: 0.4em;
    vertical-align: middle;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-3px);
    display: inline-block;
    transition: transform 0.2s ease;
}

/* Animate chevron when dropdown is open */
.tp-nav-links .dropdown-toggle.show::after {
    transform: rotate(-135deg) translateY(-1px) translateX(1px);
}

/* Dropdown Menu Premium Styling */
.tp-dropdown {
    border: none;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    margin-top: 15px;
    background-color: #ffffff;
    animation: fadeIn 0.3s ease;
}

.tp-dropdown .dropdown-item {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.2s;
}

.tp-dropdown .dropdown-item:hover {
    background-color: rgba(243, 0, 60, 0.08);
    /* Updated to match #f3003c with opacity */
    color: #f3003c;
    padding-left: 25px;
    /* Subtle slide-in effect */
}

/* Simple fade-in animation for dropdown */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Hero Section (Premium, Dark & Vibrant)
   ========================================= */

.tp-hero {
    position: relative;
    padding-top: 120px;
    /* offset navbar */
    min-height: 70vh;
    color: var(--text-light);
    overflow: hidden;
    background-color: #000;
    /* Fallback */
}

.tp-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 0;
    transform: translateX(-50%) translateY(-50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.65); */
    /* Dark overlay for text readability */
    z-index: 1;
}

/* Abstract Background Shapes */
.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.shape-1 {
    top: -10%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #0077b6 0%, rgba(0, 119, 182, 0) 70%);
}

.shape-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00b4d8 0%, rgba(0, 180, 216, 0) 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 50px) scale(1.1);
    }
}

.z-index-1 {
    z-index: 1;
}

.z-index-2 {
    z-index: 2;
}

/* Hero Typography */
.tp-hero-title {
    line-height: 1.2;
    letter-spacing: -1px;
    font-weight: 500 !important;
}

.text-gradient {
    background: linear-gradient(90deg, #00b4d8, #48cae4, #90e0ef);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tp-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #90e0ef;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.85rem;
    backdrop-filter: blur(4px);
}

.tp-hero-subtitle {
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
}

/* Buttons */
.tp-btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
    transition: all 0.3s ease;
}

.tp-btn-primary:hover {
    background-color: #023e8a;
    border-color: #023e8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.6);
}

.tp-btn-outline {
    border-radius: 50px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tp-btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Glass Cards for Hero Visual */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.transform-hover:hover {
    transform: translateY(-10px);
}

/* Utility to ensure text inside glass cards is readable */
.glass-card .text-muted {
    color: #6c757d !important;
}

/* =========================================
   Overview Section
   ========================================= */
.tp-overview {
    min-height: 30vh;
    padding: 80px 0;
}

.tp-title-underline {
    position: relative;
    padding-bottom: 20px;
}

.tp-title-underline::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #f3003c;
    border-radius: 2px;
}

/* =========================================
   Courses Section
   ========================================= */

.tp-courses-section {
    background-color: #0d0d14;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tp-text-muted {
    color: #8c8c9a !important;
}

.tp-search-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    max-width: 250px;
    border-radius: 50px;
}

.tp-search-input:focus {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    box-shadow: none;
}

.tp-search-input::placeholder {
    color: #8c8c9a;
}

/* Custom Checkboxes */
.tp-custom-check .form-check-input {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 3px;
    cursor: pointer;
}

.tp-custom-check .form-check-input:checked {
    background-color: #ffffff;
    border-color: #ffffff;
}

/* Override the default checkmark for a "filled square" look as requested */
.tp-custom-check .form-check-input:checked[type=checkbox] {
    background-image: none;
    position: relative;
}

.tp-custom-check .form-check-input:checked[type=checkbox]::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: #0d0d14;
    /* Dark square */
}

.tp-custom-check .form-check-label {
    color: #d1d1d6;
    margin-left: 5px;
    cursor: pointer;
}

/* Course Cards */
.tp-course-card {
    background-color: #16161f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-title {
    color: #000 !important;
}

.tp-course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.tp-course-card img {
    height: 180px;
    object-fit: cover;
}

.tp-tag-badge {
    background-color: transparent;
    border: 1px solid #909090 !important;
    color: #909090 !important;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 50px;
}

.tp-cert-badge {
    background-color: rgb(13 13 13 / 10%) !important;
    color: #909090 !important;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 50px;
}

.tp-learn-more {
    color: #f3003c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: opacity 0.2s;
}

.tp-learn-more:hover {
    color: #f3003c;
    opacity: 0.8;
}

.card-body {
    background-color: #ffffff !important;
}

/* Pagination */
.page-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.page-circle:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-circle.active {
    background-color: #ffffff;
    color: #0d0d14;
    border-color: #ffffff;
}

/* =========================================
   Clients Section
   ========================================= */

.tp-clients-section {
    background-color: #0d0d14;
    min-height: 30vh;
    padding: 60px 0;
    overflow: hidden;
}

.tp-clients-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.tp-clients-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.tp-clients-track:hover {
    animation-play-state: paused;
}

/* Remove left mask for specific sections */
.tp-clients-carousel.no-left-mask {
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent);
    mask-image: linear-gradient(to right, black 85%, transparent);
}

.tp-client-card {
    width: 160px;
    height: 80px;
    background-color: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    flex-shrink: 0;
    margin-right: 20px;
    box-shadow: 0 4px 10px rgb(116 116 116 / 20%);
}

.tp-client-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tp-client-text {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-720px);
    }
}

/* =========================================
   How We Work Section
   ========================================= */

.tp-hww-section {
    background-color: #ffffff;
}

.hww-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1px;
    background-color: #e0e0e0;
    /* This creates the thin light gray borders */
    border: 1px solid #e9e9e9 !important;
    /* Outer border */
    max-width: 1200px;
}

@media (min-width: 768px) {
    .hww-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.hww-cell {
    background-color: #ffffff;
    padding: 24px;
    display: flex;
    align-items: center;
    min-height: 220px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.4s ease;
}

.hww-cell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #111111;
    transform: translateX(-101%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
}

.hww-cell:hover::before {
    transform: translateX(0);
}

.hww-inner {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 5px;
    min-height: 100px;
    position: relative;
    z-index: 1;
}

.hww-icon-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.hww-icon {
    width: 50px;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    flex-shrink: 0;
    object-fit: contain;
    background-color: transparent;
    margin-bottom: 0;
    transition: opacity 0.3s ease;
}

.hww-icon.hover-icon {
    opacity: 0;
}

.hww-cell:hover .hww-icon.default-icon {
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.hww-cell:hover .hww-icon.hover-icon {
    opacity: 1;
    transition: opacity 0.3s ease 0.1s;
}

/* SVG icon on hover (for inline SVGs) */
.hww-cell:hover svg {
    stroke: white;
    fill: none;
}

.hww-cell:hover svg path,
.hww-cell:hover svg circle,
.hww-cell:hover svg rect,
.hww-cell:hover svg line,
.hww-cell:hover svg polyline {
    stroke: white;
}

.hww-content {
    display: flex;
    flex-direction: column;
    padding: 0 20px;
}

.hww-title {
    font-size: 14px;
    font-weight: 800;
    color: #000000;
    /* Dark text */
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hww-cell:hover .hww-title {
    color: #fff;
    transition: color 0.3s ease 0.1s;
}

.hww-desc {
    font-size: 14px;
    color: #555555;
    /* Light gray */
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.hww-cell:hover .hww-desc,
.hww-cell:hover .hww-description {
    color: white;
    transition: color 0.3s ease 0.15s;
}

/* =========================================
   Contact Section
   ========================================= */

.tp-contact-section {
    background-color: #ffffff;
    width: 100%;
    padding: 80px 40px;
}

.tp-contact-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.tp-contact-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.tp-red-line {
    width: 50px;
    height: 3px;
    background-color: #f3003c;
    border-radius: 2px;
    margin: 10px auto 28px auto;
}

.tp-contact-subtext {
    color: #333333;
    font-size: 15px;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.tp-contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    align-items: center;
}

.tp-contact-input {
    flex: 1;
    height: 58px;
    border: 1.5px solid #222222;
    border-radius: 999px;
    padding: 0 28px;
    font-size: 15px;
    color: #111111;
    background-color: #ffffff;
    outline: none;
    box-shadow: none;
}

.tp-contact-input:focus {
    border-color: #f3003c;
}

.tp-contact-btn {
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
    height: 58px;
    padding: 0 36px;
    border: 1.5px solid #222222;
    border-radius: 999px;
    background-color: #ffffff;
    color: #111111;
    font-size: 14px;
    transition: 0.3s ease;
    box-shadow: none;
    cursor: pointer;
}

.tp-contact-btn:hover {
    background-color: #111111;
    color: #ffffff;
}

@media (max-width: 600px) {
    .tp-contact-form {
        flex-direction: column;
        gap: 12px;
    }

    .tp-contact-input,
    .tp-contact-btn {
        width: 100%;
        flex: none;
    }
}

/* =========================================
   Inner Page Banner (Cinematic Design)
   ========================================= */

.tp-inner-banner {
    position: relative;
    height: 30vh;
    min-height: 420px;
    background-image: url('../images/courses-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    padding-top: 80px;
    /* Account for navbar height */
    overflow: hidden;
}

.tp-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.tp-banner-content {
    padding-left: 25px;
    /* Added slight adjustment for container alignment */
}

.tp-banner-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    .tp-banner-title {
        font-size: 2rem;
    }

    .tp-inner-banner {
        min-height: 250px;
    }
}

/* =========================================
   Category & Featured Sections
   ========================================= */


/* =========================================
   Slim CTA Banner
   ========================================= */

.tp-cta-banner {
    background-color: #f2f2f2;
    border: 1px dashed #ccc;
    border-radius: 8px;
    padding: 24px 40px;
    margin: 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tp-cta-content h4 {
    font-size: 1.125rem;
    /* ~18px */
    font-weight: 700;
    color: #111;
    margin: 0;
    margin-bottom: 4px;
}

.tp-cta-content p {
    font-size: 0.875rem;
    /* ~14px */
    color: #8c8c9a;
    margin: 0;
}

.tp-cta-btn {
    background-color: #111;
    color: #ffffff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 50px;
    border: none;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.tp-cta-btn:hover {
    background-color: #333;
    color: #ffffff;
}

@media (max-width: 768px) {
    .tp-cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 30px 20px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* =========================================
   Course Detail Page
   ========================================= */

.course-detail-page {
    background-color: #fff !important;
    padding-top: 120px;
    /* Offset for fixed navbar */
    padding-bottom: 80px;
}

.cd-container {
    max-width: 1100px;
    margin: 0 auto;
}

.cd-breadcrumb {
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.cd-breadcrumb a {
    color: #999;
    text-decoration: none;
}

.cd-breadcrumb span {
    margin: 0 5px;
}

.cd-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.cd-pill {
    font-size: 11px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #333;
    color: #333;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.cd-pill-bullet::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 8px;
}

.cd-title {
    font-size: 2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
}

.cd-description {
    font-size: 15px;
    line-height: 1.7;
    color: #444;
    margin-bottom: 40px;
}

.cd-section {
    margin-bottom: 40px;
}

.cd-section-label {
    font-size: 11px;
    color: #999;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cd-separator {
    border-top: 1px dashed #ccc;
    margin: 24px 0;
}

.cd-subheading {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

.cd-body-text {
    font-size: 14px;
    line-height: 1.7;
    color: #444;
}

/* Audience Tags */
.cd-audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Benefits List */
.cd-checkmark-list {
    list-style: none;
    padding: 0;
}

.cd-checkmark-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.cd-checkmark-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    background-color: #22c55e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

/* Date Cards */
.cd-date-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.cd-date-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
}

.cd-date-card .date {
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.cd-date-card .location {
    font-size: 14px;
    color: #777;
    margin-bottom: 16px;
}

.cd-date-card .location i {
    color: #f3003c;
    margin-right: 5px;
}

.cd-btn-register {
    width: 100%;
    background: #0d0d14 !important;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: background 0.3s;
}

.cd-btn-register:hover {
    background: #333;
}

/* Sidebar */
.cd-sidebar {
    position: sticky;
    top: 90px;
}

.cd-sidebar-card {
    background: #0d0d14 !important;
    border: none;
    border-radius: 10px;
    padding: 24px;
    color: #fff;
}

.cd-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.cd-form-group {
    margin-bottom: 16px;
}

.cd-form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
}

.cd-form-control {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    color: #333;
}

.cd-form-control:focus {
    outline: none;
    border-color: #f3003c;
}

.cd-btn-submit {
    width: 100%;
    background: #fff;
    color: #000;
    border: none;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 12px;
    transition: all 0.3s;
}

.cd-btn-submit:hover {
    background: #f3003c;
    color: #fff;
}

.cd-btn-download {
    width: 100%;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px;
    border-radius: 50px;
    font-weight: 700;
    margin-bottom: 24px;
    transition: all 0.3s;
}

.cd-btn-download:hover {
    background: #fff;
    color: #000;
}

/* Formats & Locations */
.cd-sidebar-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 10px;
}

.cd-checkbox-box {
    width: 16px;
    height: 16px;
    background-color: #333;
    border-radius: 2px;
    border: 1px solid #555;
}

.cd-radio-circle {
    width: 16px;
    height: 16px;
    border: 1px solid #999;
    border-radius: 50%;
}

/* Trainer */
.cd-trainer-row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cd-trainer-photo {
    width: 50px;
    height: 50px;
    background-color: #ddd;
    border-radius: 50%;
}

.cd-trainer-info .name {
    font-weight: 700;
    color: #fff;
    display: block;
}

.cd-trainer-info .expertise {
    font-size: 12px;
    color: #999;
}

@media (max-width: 992px) {
    .cd-date-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Customised Training Page
   ========================================= */

/* Global Components */
.tp-section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
    margin-bottom: 20px;
}

.tp-dashed-line {
    flex-grow: 1;
    border-bottom: 1px dashed #999;
}

.tp-section-separator {
    border-top: 1px dashed #ccc;
    padding-top: 50px;
    margin-top: 0;
}

.tp-placeholder-hatch {
    background: repeating-linear-gradient(45deg, #ddd 0, #ddd 1px, #f0f0f0 0, #f0f0f0 50%) / 10px 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

/* Section 1: Hero Banner */
.tp-custom-hero {
    background-color: #111;
    padding: 100px 40px 50px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.tp-custom-hero .hero-label {
    color: #999;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tp-custom-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.tp-custom-hero .subtext {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    max-width: auto;
}

.tp-btn-white {
    background-color: #fff;
    color: #111;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.tp-btn-white:hover {
    background-color: transparent;
    color: #fff;
}

.tp-btn-outline-white {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 50px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s;
}

.tp-btn-outline-white:hover {
    background-color: #fff;
    color: #111;
}

@media (max-width: 575px) {
    .tp-custom-hero .d-flex.gap-3 {
        flex-direction: column;
        gap: 12px !important;
    }

    .tp-btn-white,
    .tp-btn-outline-white {
        text-align: center;
        display: block;
        width: 100%;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* Section 2: Trusted Logos */
.tp-trusted-logos {
    background-color: #fff;
    padding: 60px 40px;
}

.tp-logo-scroll-container {
    overflow-x: auto;
    padding-bottom: 10px;
}

.tp-logo-row {
    display: flex;
    gap: 20px;
    min-width: max-content;
}

.tp-logo-card {
    background-color: #e8e8e8;
    width: 90px;
    height: 45px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #888;
    text-align: center;
    padding: 5px;
    flex-shrink: 0;
}

/* Section 3: Why Customised Redesign */
.tp-why-customised-redesign {
  background-color: #0d0d14;
  padding: 60px 40px;
}
.tp-why-customised-container {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.tp-why-customised-left {
  flex: 1;
}
.tp-why-customised-right {
  flex: 1;
  display: flex;
}
.tp-why-customised-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.tp-why-customised-heading {
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 0;
}
.tp-why-customised-redesign .tp-section-label span {
  color: #888;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.why-choose-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
}
.why-choose-card {
  background: white;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #fff;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.why-choose-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.why-choose-card-text {
  position: relative;
  z-index: 1;
  font-size: 14px;
  color: #111;
  font-weight: 600;
  line-height: 1.5;
  transition: color 0.3s ease 0.15s;
}
.why-choose-card:hover .why-choose-card-text {
  color: white;
}
.icon-circle {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
  z-index: 0;
}
.why-choose-card:hover .icon-circle {
  transform: scale(8);
}
.why-choose-card-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 1;
  width: 56px;
  height: 56px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
@media (max-width: 768px) {
  .tp-why-customised-redesign {
    padding: 40px 20px;
  }
  .tp-why-customised-container {
    flex-direction: column;
  }
  .tp-why-customised-left {
    order: 2;
  }
  .tp-why-customised-right {
    order: 1;
    height: 250px;
  }
  .why-choose-card{
    padding: 16px;
    min-height: 150px;
  }
  .why-choose-card-text{
    font-size: 12px;
  }
}

/* Section 4: Training Formats */
.tp-training-formats {
    background-color: #fff;
    padding: 80px 40px;
}

.tp-format-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.tp-format-img {
    height: auto;
    width: 100%;
}

.tp-format-body {
    padding: 24px;
}

.tp-format-body h4 {
    font-weight: 700;
    color: #111;
    margin-bottom: 12px;
}

.tp-format-body p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 20px;
}

.tp-btn-format {
    display: inline-block;
    border: 1px solid #111;
    color: #111;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.tp-btn-format:hover {
    background-color: #111;
    color: #fff;
}

/* Section 5: Testimonial */
.tp-testimonial-section {
    background-color: #f2f2f2;
    padding: 80px 40px;
}

.tp-testimonial-content {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.tp-client-photo {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tp-quote-text {
    font-size: 2rem;
    line-height: 1;
    color: #111;
    margin-bottom: 10px;
}

.tp-quote-bars {
    margin: 15px 0;
}

.tp-quote-bar {
    height: 8px;
    background-color: #ccc;
    margin-bottom: 8px;
    border-radius: 4px;
}

.tp-quote-bar.short {
    width: 60%;
}

.tp-testimonial-attribution {
    font-size: 13px;
    color: #999;
}

/* Section 6: Form */
.tp-request-form-section {
    background-color: #fff;
    padding: 80px 40px;
}

.tp-form-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.tp-form-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 25px;
}

.tp-form-label {
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
}

.tp-form-control {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 15px;
    font-size: 14px;
    color: #111;
    background-color: #fff;
}

.tp-form-control:focus {
    border-color: #111;
    outline: none;
}

.tp-btn-submit {
    width: 100%;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px;
    font-weight: 700;
    margin-top: 20px;
    transition: background 0.3s;
}

.tp-btn-submit:hover {
    background-color: #333;
}

/* Global Body Text Override */
/* =========================================
   Become a Trainer Page
   ========================================= */

/* Hero Banner */
.tp-trainer-hero {
    background-color: #111;
    padding: 100px 40px 50px;
    min-height: 480px;
    display: flex;
    align-items: center;
}

.tp-trainer-hero .hero-label {
    color: #999;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tp-trainer-hero h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.2;
}

.tp-trainer-hero .subtext {
    font-size: 14px;
    color: #999;
    margin-bottom: 24px;
    max-width: 500px;
}

.tp-btn-green {
    background-color: #f3003c;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.tp-btn-green:hover {
    background-color: #a30028;
    color: #fff;
    transform: translateY(-2px);
}

/* Why Partner Section */
.tp-why-partner {
    background-color: #fff;
    padding: 50px 40px;
}

.tp-partner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 30px;
}

.tp-partner-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    height: 100%;
}

.tp-partner-card .icon {
    color: #111;
    font-size: 16px;
    margin-bottom: 15px;
}

.tp-partner-card .text {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

@media (max-width: 991px) {
    .tp-partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-why-partner {
        padding: 50px 15px;
    }
}

@media (max-width: 767px) {
    .tp-partner-grid {
        grid-template-columns: 1fr;
    }

    .tp-trainer-hero {
        padding: 100px 15px 50px;
    }

    .tp-custom-hero {
        padding: 100px 15px 50px;
    }

}

/* How to Join Section - Updated */
.tp-how-to-join {
    background-color: #000;
    padding: 50px 40px;
    width: 100%;
}

.tp-section-heading {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 32px;
}

.tp-section-heading .text-accent {
    color: #f3003c;
}

.tp-step-card {
    position: relative;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #fff;
    border-radius: 10px;
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: color 0.4s ease, border-color 0.4s ease;
}

.tp-step-card:hover {
    border-color: #fff;
}

.tp-circle-bg {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #000;
    transform-origin: center;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.5s ease;
    z-index: 0;
}

.tp-step-card:hover .tp-circle-bg {
    transform: scale(25);
}

.step-icon {
    position: relative;
    z-index: 1;
    width: 62px;
    height: 62px;
    padding: 5px;
    object-fit: contain;
    margin-bottom: 16px;
    display: block;
    filter: none;
    transition: filter 0.3s ease 0.1s;
}

.tp-step-card:hover .step-icon {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease 0.1s;
}

.tp-step-content {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease 0.15s;
}

.tp-step-card:hover .tp-step-content {
    color: white;
}

.tp-step-title {
    font-size: 1rem;
    font-weight: 700;
    color: inherit;
    /* Inherit from content wrapper */
    margin-bottom: 10px;
}

.tp-step-desc {
    font-size: 13px;
    line-height: 1.7;
    color: inherit;
    /* Inherit from content wrapper */
    margin-bottom: 0;
}

.tp-btn-apply-final {
    background-color: #000000;
    color: #fff !important;
    border: 1px solid white;
    border-radius: 50px;
    padding: 16px 48px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s;
}

.tp-btn-apply-final:hover {
    background-color: #f3003c;
    border: 1px solid #f3003c;
}

@media (max-width: 767px) {
    .tp-timeline {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }

    .tp-timeline::before {
        display: none;
    }

    .tp-step {
        width: 100%;
        flex-direction: row;
        text-align: left;
        gap: 20px;
    }

    .tp-step-circle {
        margin-bottom: 0;
    }

    .tp-step-bar {
        display: none;
    }

    .tp-how-to-join {
        padding: 50px 15px;
    }
}

/* FAQ Accordion */
.tp-faq-section {
    background-color: #f2f2f2;
    padding: 50px 40px;
}

.tp-accordion {
    margin-top: 30px;
}

.tp-accordion-item {
    border-bottom: 1px solid #ddd;
}

.tp-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    cursor: pointer;
    transition: all 0.3s;
}

.tp-accordion-question {
    font-size: 15px;
    font-weight: 500;
    color: #111;
}

.tp-accordion-icon {
    font-size: 20px;
    font-weight: 300;
    color: #333;
    transition: transform 0.3s;
}

.tp-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding-bottom 0.4s;
}

.tp-accordion-answer {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    padding-bottom: 16px;
}

.tp-accordion-item.active .tp-accordion-icon {
    transform: rotate(45deg);
}

.tp-accordion-item.active .tp-accordion-content {
    max-height: 500px;
    /* Large enough to fit content */
}

/* Utility Section Separator */
.tp-dashed-separator {
    border-top: 1px dashed #999;
    margin-bottom: 16px;
}

@media (max-width: 767px) {
    .tp-faq-section {
        padding: 50px 25px;
    }
}

/* =========================================
   About Us Page Styles
   ========================================= */

.tp-about-page {
    background-color: #fff;
    padding-top: 80px;
    /* Space for fixed navbar */
}

/* Global Section Label */
.tp-section-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #999;
}

.text-muted-888 {
    color: #888 !important;
}

.text-light-aaa {
    color: #aaa !important;
}

/* Hatch Pattern Utility */
.tp-video-placeholder,
.tp-image-placeholder {
    background-image: repeating-linear-gradient(45deg, #ddd 0, #ddd 1px, #f0f0f0 0, #f0f0f0 10px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 1px solid #ddd;
}

.tp-video-placeholder {
    width: 100%;
    max-width: 450px;
    height: 250px;
    margin: 0 auto;
}

.tp-image-placeholder {
    width: 100%;
    height: 220px;
}

.tp-placeholder-label {
    font-size: 12px;
    color: #999;
    text-transform: lowercase;
    margin-top: 10px;
    text-align: center;
    max-width: 80%;
}

.tp-play-button {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.tp-video-meta {
    font-size: 12px;
    color: #999;
}

/* Section 1: Hero */
.tp-about-hero {
    background-color: #fff;
    padding: 60px 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.tp-section-label-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tp-dashed-separator-line {
    flex-grow: 1;
    border-top: 1px dashed #ccc;
}

.tp-about-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    line-height: 1.2;
    margin-bottom: 24px;
}

.tp-about-text {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 30px;
}

.tp-btn-filled {
    background-color: #111;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.tp-btn-filled:hover {
    background-color: #333;
}

.tp-btn-outline {
    background-color: transparent;
    color: #111 !important;
    border: 1px solid #111;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.tp-btn-outline:hover {
    background-color: #111;
    color: #fff !important;
}

/* Section 2: Mission (Dark) */
.tp-about-mission {
    background-color: #111;
    padding: 80px 0;
    color: #fff;
}

.tp-dashed-bottom-border {
    border-bottom: 1px dashed #444;
    margin-bottom: 24px;
    margin-top: 8px;
    width: 100%;
}

.tp-mission-heading {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.3;
}

.tp-mission-text {
    font-size: 14px;
    line-height: 1.8;
}

.tp-stat-card {
    border: 1px solid #333;
    border-radius: 12px;
    padding: 24px;
    background-color: rgba(255, 255, 255, 0.03);
    height: 100%;
    transition: all 0.3s ease;
}

.tp-stat-card:hover {
    border-color: #f3003c;
    background-color: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
}

.tp-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.tp-stat-label {
    font-size: 12px;
    color: #888;
    line-height: 1.4;
}

/* Section 3: What We Teach */
.tp-about-teach {
    background-color: #ffffff;
    padding: 80px 0;
}

.tp-dashed-top-border {
    border-top: 1px dashed #ccc;
    margin-bottom: 16px;
}

.tp-teach-heading {
    font-size: 1.8rem;
    font-weight: 800;
    color: #111;
}

.tp-teach-text {
    font-size: 14px;
    color: #444;
    line-height: 1.8;
}

.tp-tag-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tp-pill {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ddd;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.tp-pill:hover {
    background-color: #f3003c;
    border-color: #f3003c;
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 991px) {

    .tp-about-hero,
    .tp-about-mission,
    .tp-about-teach {
        padding: 50px 0;
    }

    .tp-about-heading {
        font-size: 1.8rem;
    }

    .tp-mission-heading,
    .tp-teach-heading {
        font-size: 1.6rem;
    }

    .tp-video-placeholder {
        height: 200px;
    }
}

@media (max-width: 767px) {

    .tp-about-hero,
    .tp-about-mission,
    .tp-about-teach {
        padding: 40px 0;
    }

    .tp-about-heading {
        font-size: 1.6rem;
    }

    .tp-section-label-wrapper {
        margin-bottom: 15px;
    }

    .tp-stat-card {
        padding: 20px;
    }

    .tp-stat-number {
        font-size: 1.3rem;
    }
}

@media (max-width: 575px) {
    .tp-about-hero .d-flex.gap-3.mt-4 {
        flex-direction: column;
        gap: 12px !important;
    }

    .tp-btn-filled,
    .tp-btn-outline {
        text-align: center;
        display: block;
        width: 100%;
    }
}

/* =========================================
   Why Partner With Us Section
   ========================================= */
.tp-partner-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    width: 100%;
}

@media (min-width: 768px) {
    .tp-partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tp-partner-card {
        background-color: #ffffff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 20px 50px;
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 16px;
        transition: all 0.3s ease;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
        min-height: 130px;
    }
}

@media (min-width: 992px) {
    .tp-partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.tp-partner-card {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tp-partner-card:hover {
    box-shadow: 0 4px 15px rgb(0 0 0 / 18%);
}

.partner-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background-color: transparent;
    border: none;
    flex-shrink: 0;
}

.partner-divider {
    width: 1px;
    height: 36px;
    background-color: #e0e0e0;
    align-self: center;
    margin: 0 4px;
    flex-shrink: 0;
}

.tp-partner-card .text {
    color: #222222;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 400;
    margin: 0;
}

/* =========================================
   Mobile Courses Filter & Grid
   ========================================= */
@media (max-width: 991px) {
  #filter-toggle-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #0d0d14;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    border:1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 14px 20px;
    margin-bottom: 16px;
  }
  
  #filter-panel {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.4s ease;
    background-color: #111;
    border-radius: 10px;
    padding: 0 20px;
    margin-bottom: 16px;
  }
  
  #filter-panel.filter-open {
    max-height: 800px;
    opacity: 1;
    padding: 20px;
  }
  
  #filter-arrow {
    transition: transform 0.3s ease;
  }
  
  .hide-on-mobile {
    display: none !important;
  }

  .apply-filters-btn {
    background-color: #fff !important;
    color: #000 !important;
    padding: 14px !important;
    border-radius: 999px !important;
    border: none !important;
  }

  .courses-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 16px;
    scrollbar-width: none; /* hide scrollbar Firefox */
  }
  
  .courses-grid::-webkit-scrollbar { 
    display: none; 
  } /* hide scrollbar Chrome */

  .courses-grid > div[class*="col-"] {
    min-width: 80vw;
    max-width: 80vw;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (min-width: 991px) {
  #filter-toggle-btn {
    display: none;
  }
  
  #filter-panel {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    padding: 0 !important;
  }
}

/* Get In Touch Form Validation */
input:invalid:not(:placeholder-shown) {
  border-color: #f3003c;
  transition: border-color 0.2s ease;
}

.field-error {
  border-color: #f3003c !important;
}

/* -------------------------------------
   Get In Touch - Index Form Grid
   ------------------------------------- */
.git-form-wrapper {
  background: transparent;
  border-radius: 16px;
  padding: 28px;
  max-width: 780px;
  margin: 32px auto 0 auto;
}

.git-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.git-form-grid .full-width {
  grid-column: 1 / -1;
}

.git-form-grid input,
.git-form-grid textarea,
.git-form-grid button {
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
}

.git-form-grid input {
  background: white;
  border: 1.5px solid #000;
  border-radius: 999px;
  padding: 13px 20px;
  font-size: 14px;
  color: #333;
}

.git-form-grid input::placeholder {
  color: #888;
}

.git-form-grid input:focus {
  outline: none;
  border-color: #aaa;
}

.git-form-grid textarea {
  background: white;
  border: 1.5px solid #000;
  border-radius: 20px;
  padding: 14px 20px;
  font-size: 14px;
  color: #333;
  min-height: 110px;
  resize: vertical;
}

.git-form-grid textarea::placeholder {
  color: #888;
}

.git-form-grid textarea:focus {
  outline: none;
  border-color: #aaa;
}

.git-submit-btn {
  width: 100%;
  height: 52px;
  background: white;
  border: 1.5px solid #222;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #111;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}

.git-submit-btn:hover {
  background: #111;
  color: white;
}

@media (max-width: 600px) {
  .git-form-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------
   New Hero Section
   ------------------------------------- */
.hero-section-adm {
  background: white;
  padding-bottom: 60px;
}

.hero-text-block-adm {
  text-align: center;
  padding: 140px 40px 32px;
}

.hero-heading-adm {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: #111;
  max-width: 700px;
  margin: 0 auto 16px;
  line-height: 1.2;
}

.hero-subtext {
  font-size: 15px;
  color: #666;
  max-width: 520px;
  margin: 0 auto 28px;
}

.hero-buttons-adm {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  background: #111;
  color: white;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.hero-btn-primary:hover {
  background: #333;
}

.hero-btn-secondary {
  background: white;
  color: #111;
  border: 1.5px solid #ccc;
  border-radius: 999px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: border-color 0.3s;
}
.hero-btn-secondary:hover {
  border-color: #111;
}

.hero-video-block-adm {
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.hero-video {
  width: 100%;
  height: 480px;
  border-radius: 40px;
  object-fit: cover;
  display: block;
}

.hero-stats-adm {
  --curve-radius: 40px;
  --card-bg: white;
  position: absolute;
  bottom: 0;
  right: 0;
  min-width: 68%;
  background: white;
 padding: 32px 22px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 10;
  border-top-left-radius: var(--curve-radius);
}

.hero-stats-adm::before {
  content: "";
  position: absolute;
  bottom: 100%;
  right: 1.5rem;
  width: var(--curve-radius);
  height: calc(var(--curve-radius) * 2);
  background: transparent;
  border-bottom-right-radius: var(--curve-radius);
  box-shadow: 0 var(--curve-radius) 0 0 white;
  z-index: 11;
  pointer-events: none;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  display: block;
  font-size: 3.2rem;
  font-weight: 800;
  color: #111;
  line-height: 1;
}

.hero-stat-label {
  display: block;
  font-size: 1rem;
  color: #888;
  margin-top: 5px;
}

.hero-stat-divider {
  width: 1px;
  height: 28px;
  background: #f3003c;
  align-self: center;
  margin: 0 8px;
}

@media (max-width: 768px) {

  /* 1. Hide CTA buttons */
  .hero-buttons-adm {
    display: none !important;
  }

  /* 2. Hero title — mobile fix */
  .hero-heading-adm {
    font-size: 1.7rem;
    line-height: 1.25;
    padding: 0 16px;
    text-align: center;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .hero-text-block-adm {
    padding: 132px 16px 20px;
  }

  /* 4. Video block — mobile */
  .hero-video-block-adm {
    overflow: visible;
    padding: 0 12px;
  }

  .hero-video {
    height: 240px;
    border-radius: 16px;
  }

  /* 3. Hero stats — mobile layout (2x2 grid below video) */
  .hero-stats-adm {
    position: static !important;
    transform: none !important;
    bottom: auto !important;
    right: auto !important;
    left: auto !important;
    width: 100% !important;
    min-width: unset !important;
    border-radius: 12px !important;
    margin-top: 42px;
    padding: 20px 16px;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
    background: white;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  }

  /* Hide concave curve pseudo-elements on mobile */
  .hero-stats-adm::before,
  .hero-stats-adm::after {
    display: none !important;
  }

  /* Each stat item: centered in its grid cell */
  .hero-stat-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-stat-number {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
  }

  .hero-stat-label {
    font-size: 11px;
    color: #888;
    margin-top: 4px;
  }

  /* Hide vertical dividers between stats */
  .hero-stat-divider {
    display: none !important;
  }

  /* Add subtle divider between grid cells using border */
  .hero-stat-item:nth-child(1),
  .hero-stat-item:nth-child(2) {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 16px;
  }

  .hero-stat-item:nth-child(3),
  .hero-stat-item:nth-child(4) {
    padding-top: 0;
  }

  /* Center divider between columns */
  .hero-stat-item:nth-child(odd) {
    border-right: 1px solid #f0f0f0;
  }
  .hero-section-adm {
    padding-bottom: 0px;
  }
  .tp-contact-heading{
    font-size: 1.8rem;
  }
}

@media (min-width: 1600px) {
    .hero-video-block-adm{
            width: 1400px;
    }
}