 /* ======================================
    1. GENERAL STYLES & VARIABLES
    ======================================
*/
    :root {
        --color-primary: #1F2937;
        --color-secondary: #4B5563;
        --color-accent: #D97706;
        --color-light-bg: #F9FAFB;
        --color-dark: #111827;
        --color-text: #374151;
        --color-white: #fff;
        --radius-large: 12px;
        --radius-small: 6px;
        --shadow-medium: 0 4px 15px rgba(0, 0, 0, 0.08);
        --shadow-header: 0 2px 10px rgba(0, 0, 0, 0.08);
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        scroll-behavior: smooth
    }

    body {
        font-family: 'Poppins', sans-serif;
        background: var(--color-white);
        color: var(--color-text);
        line-height: 1.6;
        overflow-x: hidden;
    }

    a {
        text-decoration: none;
        cursor: pointer;
    }

    img {
        max-width: 100%;
        border-radius: var(--radius-small);
        display: block;
    }

    .container {
        max-width: 1200px;
        margin: auto;
        padding: clamp(30px, 5vw, 60px) 20px;
    }

    h2 {
        font-size: clamp(24px, 4vw, 36px);
        margin-bottom: 15px;
        color: var(--color-primary);
        text-align: center;
        position: relative;
    }

    h2:after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--color-accent);
        margin: 10px auto 30px;
        border-radius: 2px;
    }

    h3 {
        color: var(--color-primary);
        margin-bottom: 10px;
        font-size: 20px;
    }

    /* ======================================
    2. HEADER & LOGO STYLING
    ======================================
*/
    /* ===== HEADER ===== */
    /* ===== HEADER ===== */
    header {
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(8px);
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        min-height: 60px;
    }

    /* ===== NAV ===== */
    nav {
        max-width: 1200px;
        margin: auto;
        padding: 10px 20px;
        display: flex;
        align-items: center;
        position: relative;
    }

    /* ===== LOGO (FORCED LEFT) ===== */
    .logo-container {
        display: flex;
        align-items: center;
        gap: 10px;
        cursor: pointer;
        margin-right: auto;
        /* 🔥 forces logo to left */
    }

    .logo-circle {
        width: 45px;
        height: 45px;
        background: var(--color-accent);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .logo-circle img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .logo-text {
        color: var(--color-primary);
        font-size: clamp(16px, 2.5vw, 20px);
        font-weight: 700;
        font-family: 'Georgia', serif;
    }

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

    /* ===== NAV LINKS ===== */
    nav ul {
        display: flex;
        gap: 25px;
        list-style: none;
    }

    nav ul a {
        font-weight: 500;
        color: var(--color-secondary);
        transition: color 0.3s;
    }

    nav ul a:hover,
    nav ul a.active {
        color: var(--color-accent);
    }

    /* ===== MOBILE MENU TOGGLE ===== */
    .mobile-menu-toggle {
        display: none;
        flex-direction: column;
        cursor: pointer;
        padding: 5px;
        background: none;
        border: none;
        gap: 4px;
    }

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background: var(--color-primary);
        transition: 0.3s;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    /* ===== MOBILE MENU ===== */
    nav ul.mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(5px);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-header);
        display: none;
        z-index: 1000;
    }

    nav ul.mobile-menu.active {
        display: flex;
    }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 768px) {
        nav {
            padding: 10px 20px;
        }

        nav ul {
            display: none;
        }

        .mobile-menu-toggle {
            display: flex;
        }

        header {
            min-height: 50px;
        }
    }



    /* ======================================
    3. HERO SECTION
    ======================================
*/
    .hero {
        min-height: 91vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        /* Left Align Flex Items */
        text-align: left;
        /* Left Align Text */
        /* Background image is set in HTML inline style */
        color: var(--color-white);
        padding: 60px 5%;
        /* Left padding */
    }

    .hero h1 {
        font-size: clamp(28px, 4vw, 48px);
        margin-bottom: 15px;
        line-height: 1.2;
        animation: fadeInDown 1s ease;
        color: var(--color-accent);
        /* Orange */
        max-width: 800px;
    }

    .hero p {
        font-size: 18px;
        color: var(--color-accent);
        /* Orange */
        font-weight: 700;
        margin-bottom: 30px;
        animation: fadeInUp 1s ease 0.3s backwards;
        max-width: 600px;
        margin-left: 0;
        margin-right: 0;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-30px);
        }

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

    /* SLIDER STYLES */
    #logo-section {
        background-color: #374151;
        /* Requested Dark Background */
        max-width: 100%;
        /* Full width strip */
        border-radius: 0;
        margin-top: 40px;
    }

    #logo-section h2 {
        color: #fff;
        /* White heading on dark bg */
    }

    .logo-slider-container {
        position: relative;
        overflow: hidden;
        padding: 40px 60px;
        /* More padding for spacing */
        max-width: 1400px;
        margin: 0 auto;
    }

    .logo-slider-wrapper {
        display: flex;
        transition: transform 0.5s ease-in-out;
        align-items: center;
    }

    .logo-slide {
        min-width: 20%;
        /* Base responsive width, adjusted by flex */
        padding: 0 15px;
        /* Spacing between cards */
        box-sizing: border-box;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
    }

    /* Specific Card Style */
    .logo-card {
        width: 220px;
        height: 130px;
        background: #fff;
        border-radius: var(--radius-small);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 10px;
        transition: transform 0.3s;
    }

    .logo-card:hover {
        transform: translateY(-5px);
    }

    .logo-card img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: none;
        /* Show original colors inside card */
    }

    /* Responsive adjustments */
    @media(max-width: 1200px) {
        .logo-slide {
            min-width: 25%;
        }
    }

    /* 4 items */
    @media(max-width: 991px) {
        .logo-slide {
            min-width: 33.33%;
        }
    }

    /* 3 items */
    @media(max-width: 768px) {
        .logo-slide {
            min-width: 50%;
        }
    }

    /* 2 items */
    @media(max-width: 480px) {
        .logo-slide {
            min-width: 100%;
        }
        .logo-slider-container {
            padding: 40px 20px; /* Reduced side padding for small screens */
        }
        .logo-card {
            width: 240px; /* Slightly wider but still fits comfortably in 320px with 20px padding */
            max-width: 90%; /* Ensure it doesn't overflow on even smaller screens */
        }
    }

    /* 1 item */

    .slider-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--color-white);
        color: var(--color-primary);
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        transition: 0.3s;
    }

    .slider-btn:hover {
        background: var(--color-accent);
        color: #fff;
    }

    .prev-btn {
        left: 0;
    }

    .next-btn {
        right: 0;
    }

    /* GALLERY PAGE STYLES */
    #gallery-page .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }

    #gallery-page .gallery-item {
        position: relative;
        height: 260px; /* Fixed height to match home page style */
        background: #fff;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        overflow: hidden;
    }

    #gallery-page .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px; /* Full radius */
    }

    #gallery-page .gallery-overlay {
        position: absolute; /* Overlay on image */
        bottom: 0;
        left: 0;
        right: 0;
        opacity: 1; /* Always visible */
        background: rgba(217, 119, 6, 0.9); /* Semi-transparent Orange (var(--color-accent)) */
        color: #fff;
        padding: 15px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    #gallery-page .gallery-overlay h4 {
        font-size: 14px;
        margin: 0;
    }

    #gallery-page .fullscreen-btn {
        top: 15px;
        right: 15px;
        bottom: auto;
        background: rgba(255, 255, 255, 0.9);
        color: #d97706;
        opacity: 0;
        transition: opacity 0.3s;
    }

    #gallery-page .gallery-item:hover .fullscreen-btn {
        opacity: 1;
    }

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

    @media (max-width: 600px) {
        #gallery-page .gallery-grid {
            grid-template-columns: 1fr;
        }
    }

    /* ======================================
    4. GRID, CARDS & SECTIONS
    ======================================
*/
    .grid-3x3 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        margin-top: 40px;
    }

    .card-item {
        padding: 35px 25px;
        border-radius: var(--radius-large);
        text-align: center;
        background: var(--color-white);
        box-shadow: var(--shadow-medium);
        border-bottom: 4px solid var(--color-accent);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        display: flex;
        flex-direction: column;
    }

    .card-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .card-item i {
        font-size: 35px;
        color: var(--color-accent);
        margin-bottom: 15px;
        display: block;
    }

    .card-item p {
        font-size: 14px;
        color: var(--color-secondary);
        margin-bottom: 15px;
    }

    /* Sub-points styling */
    .service-sub-points {
        list-style: none;
        padding: 0;
        margin-top: 15px;
        text-align: left;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }

    .service-sub-points li {
        font-size: 13px;
        color: var(--color-secondary);
        margin-bottom: 8px;
        display: flex;
        align-items: flex-start;
        gap: 8px;
    }

    .service-sub-points li i {
        font-size: 10px;
        color: var(--color-accent);
        margin-top: 5px;
    }

    /* FEATURED PROGRAM STYLING */
    .featured-card {
        background: var(--color-white);
        border-radius: var(--radius-large);
        padding: 45px;
        box-shadow: var(--shadow-medium);
        border: 1px solid #E5E7EB;
        max-width: 1000px;
        margin: 40px auto;
    }

    .info-box {
        background: var(--color-light-bg);
        padding: 25px;
        border-radius: var(--radius-small);
        border: 1px solid #E5E7EB;
    }

    .info-box ul {
        list-style: none;
        padding-top: 10px;
    }

    .info-box ul li {
        margin-bottom: 8px;
        font-size: 14px;
        position: relative;
        padding-left: 20px;
    }

    .info-box ul li:before {
        content: '✓';
        position: absolute;
        left: 0;
        color: var(--color-accent);
        font-weight: bold;
    }

    .program-info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin: 25px 0;
        text-align: left;
    }

    /* ======================================
    5. ATTRACTIVE TESTIMONIALS (UPDATED)
    ======================================
*/
    .testimonial-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 30px;
        margin-top: 50px;
    }

    .testimonial-card {
        background: #fff;
        padding: 40px 30px;
        border-radius: 20px;
        position: relative;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.4s ease;
        border: 1px solid #f0f0f0;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .testimonial-card:hover {
        transform: translateY(-10px);
        border-color: var(--color-accent);
        box-shadow: 0 15px 40px rgba(217, 119, 6, 0.15);
    }

    .testimonial-card::before {
        content: "\f10d";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 40px;
        color: rgba(217, 119, 6, 0.1);
    }

    .stars {
        color: #FFB800;
        font-size: 14px;
        margin-bottom: 15px;
    }

    .testimonial-card p {
        font-style: italic;
        color: var(--color-text);
        margin-bottom: 25px;
        font-size: 16px;
        line-height: 1.7;
        position: relative;
        z-index: 1;
    }

    .reviewer-info {
        display: flex;
        align-items: center;
        gap: 15px;
        margin-top: auto;
    }

    .reviewer-avatar {
        width: 50px;
        height: 50px;
        background: var(--color-light-bg);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--color-accent);
        font-weight: 700;
        border: 2px solid #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        overflow: hidden;
        flex-shrink: 0;
    }

    .reviewer-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

    .reviewer-name {
        font-weight: 700;
        color: var(--color-primary);
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    /* Hidden testimonial items */
    .hidden-testimonial-item {
        display: none !important;
    }

    .reveal-testimonial {
        display: flex !important;
        animation: fadeInUp 0.5s ease forwards;
    }

    /* INDUSTRIES */
    .industry-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
        margin-top: 40px;
        text-align: center;
    }

    .industry-item {
        padding: 20px;
        background: var(--color-light-bg);
        border-radius: var(--radius-small);
        border: 1px solid #E5E7EB;
        transition: 0.3s;
    }

    .industry-item:hover {
        background: var(--color-primary);
        color: white;
        border-color: var(--color-primary);
    }

    .industry-item i {
        font-size: 24px;
        color: var(--color-accent);
        margin-bottom: 10px;
        display: block;
    }


    /* GALLERY STYLING UPGRADED */
    .gallery-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    /* Homepage Gallery: 3 columns (original grid) */
    #photo-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Ensure text is always visible on homepage gallery (overlay style) */
    #photo-gallery .gallery-overlay {
        opacity: 1;
    }

    @media (max-width: 991px) {
        #photo-gallery {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 600px) {
        #photo-gallery {
            grid-template-columns: 1fr;
        }
    }

    .gallery-item {
        position: relative;
        overflow: hidden;
        border-radius: var(--radius-large);
        /* Removed box-shadow (border effect) */
        box-shadow: none;
        transition: 0.3s ease;
        height: 260px;
        /* Fixed height for same size */
        /* Removed black background */
        background-color: transparent;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .gallery-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        /* Cover to ensure same frame size */
        transition: 0.5s;
        border-radius: var(--radius-large);
    }


    .gallery-overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
        color: #D97706;
        /* Accent Color */
        padding: 20px;
        opacity: 0;
        transition: 0.3s;
        pointer-events: none;
        /* Allow clicks to pass through if needed */
    }

    /* Outline Button Styling for View All */
    .btn-outline {
        display: inline-block;
        padding: 12px 30px;
        border: 2px solid var(--color-accent);
        background: transparent;
        color: var(--color-accent);
        font-weight: 600;
        border-radius: 50px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-size: 14px;
    }

    .btn-outline:hover {
        background: var(--color-accent);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
    }

    /* Lightbox Styles Refined */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow: hidden;
        /* Prevent body scroll, handle panning internally if needed */
    }

    .lightbox.active {
        display: flex;
        opacity: 1;
    }

    /* Container for the image to support 'zoom in frame' */
    .lightbox-frame {
        position: relative;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        /* IMPORTANT: Keeps zoom inside the screen frame */
    }

    .lightbox-img {
        transition: transform 0.3s ease;
        max-width: 90%;
        max-height: 80vh;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
        /* Ensure pointer events work for future panning if added */
    }

    /* Fixed Controls - Always Visible on Top */
    /* Fixed Controls - Always Visible on Top */
    .lightbox-close {
        /* Basic styling for when inside flex container */
        background: transparent;
        border: none;
        color: #D97706;
        font-size: 16px;
        cursor: pointer;
        transition: 0.3s;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lightbox-caption {
        position: fixed;
        bottom: 80px;
        /* Above controls */
        left: 0;
        width: 100%;
        text-align: center;
        color: #D97706;
        font-size: 1.1rem;
        font-weight: 500;
        z-index: 10001;
        pointer-events: none;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }

    /* Docked Controls at Bottom */
    .lightbox-controls {
        position: fixed;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        display: flex;
        gap: 10px;
        /* Tighter gap */
        z-index: 10002;
        background: rgba(255, 255, 255, 0.9);
        /* Lighter theme background */
        padding: 8px 20px;
        border-radius: 50px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        border: 1px solid var(--color-accent);
    }

    .lightbox-btn,
    .lightbox-close-btn {
        background: transparent;
        border: 1px solid #D97706;
        /* Accent Border */
        color: #D97706;
        /* Accent Icon */
        width: 35px;
        /* Smaller Size: 45px -> 35px */
        height: 35px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        font-size: 14px;
    }

    .lightbox-btn:hover,
    .lightbox-close-btn:hover {
        background: #D97706;
        color: white;
        transform: scale(1.1);
        box-shadow: 0 0 10px rgba(217, 119, 6, 0.4);
    }



    .gallery-item:hover .gallery-overlay {
        opacity: 1;
    }

    .gallery-item:hover img {
        transform: scale(1.05);
    }

    .fullscreen-btn {
        position: absolute;
        top: 15px;
        /* Top Right */
        right: 15px;
        bottom: auto;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.9);
        color: #D97706;
        /* Accent Color */
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        opacity: 0;
        transform: translateY(-10px);
        /* Slide from top */
        transition: all 0.3s ease;
        z-index: 10;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .gallery-item:hover .fullscreen-btn {
        opacity: 1;
        transform: translateY(0);
    }

    .fullscreen-btn:hover {
        background: #D97706;
        color: white;
        transform: scale(1.1);
    }

    .hidden-gallery-item {
        display: none;
    }

    .reveal-item {
        display: flex !important;
        /* Important for flex display */
        animation: fadeInUp 0.5s ease forwards;
    }

    /* Lightbox Styles */
    .lightbox {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.95);
        z-index: 9999;
        display: none;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        padding: 20px;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .lightbox.active {
        display: flex;
        opacity: 1;
    }

    .lightbox-content {
        position: relative;
        max-width: 90%;
        max-height: 85vh;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .lightbox-img {
        max-width: 100%;
        max-height: 80vh;
        object-fit: contain;
        border-radius: 4px;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    }

    .lightbox-close {
        position: absolute;
        top: -40px;
        right: -10px;
        background: none;
        border: none;
        color: #D97706;
        /* Requested Color */
        font-size: 35px;
        cursor: pointer;
        transition: 0.3s;
    }

    .lightbox-close:hover {
        transform: scale(1.1);
        color: #fff;
    }

    .lightbox-caption {
        margin-top: 15px;
        color: #D97706;
        /* Requested Color */
        font-size: 1.2rem;
        font-weight: 500;
        text-align: center;
    }

    /* About Me Grid Layout (Desktop Default) */
    .about-grid-container {
        display: grid;
        grid-template-columns: 1fr 1.5fr;
        gap: 80px;
        align-items: start;
        margin-top: 0;
        /* Remove top margin so text starts higher */
        padding-bottom: 60px;
    }

    .founder-image {
        grid-row: 1 / span 2;
        margin-top: 60px;
        /* Push image down significantly */
    }

    .founder-image img {
        width: 100%;
        height: auto;
        border-radius: var(--radius-large);
        box-shadow: var(--shadow-medium);
        border: none;
    }

    .short-info {
        grid-row: 1;
        grid-column: 2;
        text-align: left;
        margin-bottom: 10px;
    }

    .founder-name {
        font-weight: 700;
        font-size: 24px;
        color: var(--color-primary);
        margin-bottom: 5px;
    }

    .founder-title {
        font-size: 15px;
        color: var(--color-secondary);
        font-weight: 500;
    }

    .founder-text {
        grid-row: 2;
        grid-column: 2;
    }

    .highlight-text {
        margin-bottom: 20px;
        font-size: 18px;
        color: var(--color-primary);
        font-weight: 500;
    }

    /* LOGO GRID STYLING */
    .logo-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        margin-top: 40px;
        justify-items: center;
    }

    .logo-item {
        width: 220px;
        height: 130px;
        background: var(--color-white);
        border-radius: var(--radius-small);
        box-shadow: var(--shadow-medium);
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        transition: 0.3s ease;
        border: 1px solid #E5E7EB;
    }

    .logo-item:hover,
    .hidden-logo-item:hover {
        transform: translateY(-5px) scale(1.05);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    }

    .logo-item:hover img,
    .hidden-logo-item:hover img {
        transform: scale(1.1);
        transition: transform 0.3s ease;
    }

    .logo-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

    .hidden-logo-item {
        display: none;
    }

    .reveal-logo {
        display: flex !important;
        animation: fadeInUp 0.5s ease forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

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



    .view-all-reviews {
        text-align: center;
        margin-top: 40px;
        width: 100%;
        clear: both;
        /* space between cards and button */
    }


    /* CONTACT SECTION */
    .contact-wrapper {
        display: flex;
        flex-direction: column;
        gap: clamp(20px, 5vw, 40px);
        background: var(--color-white);
        padding: clamp(20px, 5vw, 40px);
        border-radius: var(--radius-large);
        box-shadow: var(--shadow-medium);
        margin: 40px auto;
        max-width: 900px;
    }

    .contact-form-side form {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
    }

    .form-group.full {
        grid-column: span 2;
    }

    .form-group label {
        font-size: 14px;
        font-weight: 600;
        margin-bottom: 8px;
        color: var(--color-primary);
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 15px;
        border: 1px solid #D1D5DB;
        border-radius: var(--radius-small);
        font-family: inherit;
        font-size: 15px;
        transition: border-color 0.3s, box-shadow 0.3s;
    }

    .form-group input:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
    }

    /* IMPACT STATS */
    .impact-stats {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 30px;
        text-align: center;
        margin-top: 40px;
    }

    .stat-box {
        padding: 30px;
        background: var(--color-primary);
        color: #fff;
        border-radius: var(--radius-large);
        position: relative;
        overflow: hidden;
    }

    .stat-box:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: var(--color-accent);
    }

    .stat-number {
        font-size: 38px;
        font-weight: 700;
        color: var(--color-accent);
        display: block;
    }

    .btn-primary {
        padding: 14px 35px;
        background: var(--color-accent) !important;
        color: #fff;
        border-radius: var(--radius-small);
        font-weight: 600;
        border: none;
        cursor: pointer;
        transition: 0.3s;
        display: inline-block;
    }

    .btn-primary:hover {
        background: #B45309 !important;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
    }

    .btn-outline {
        padding: 12px 30px;
        border: 2px solid var(--color-accent);
        color: var(--color-accent);
        border-radius: var(--radius-small);
        font-weight: 700;
        transition: 0.3s;
        cursor: pointer;
        background: transparent;
        text-transform: uppercase;
        font-size: 13px;
    }

    .btn-outline:hover {
        background: var(--color-accent);
        color: #fff;
    }

    /* FOOTER */
    footer {
        background: linear-gradient(135deg, var(--color-dark) 0%, #1a1a2e 100%);
        color: #e5e7eb;
        padding: 100px 0 40px;
        border-top: 4px solid var(--color-accent);
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
    }

    .footer-grid {
        display: grid;
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
        gap: 50px;
        margin-bottom: 60px;
    }

    .footer-brand p {
        font-size: 14px;
        color: #9ca3af;
        margin-bottom: 20px;
    }

    .social-links {
        display: flex;
        gap: 15px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        color: #fff;
        transition: 0.3s;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .social-links a:hover {
        background: var(--color-accent);
        transform: translateY(-3px);
        color: #fff !important;
        text-decoration: none;
    }

    /* Dedicated style for contact section social icons */
    .contact-info-side .social-links a {
        background: var(--color-accent);
        border-color: var(--color-accent);
    }

    .footer-heading {
        color: #fff;
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 25px;
        position: relative;
    }

    /* Style for clickable footer contact items to match existing style */
    .contact-item-link {
        display: flex;
        /* Maintain flex layout */
        gap: 12px;
        margin-bottom: 15px;
        font-size: 14px;
        color: #9ca3af;
        text-decoration: none;
        /* remove default underline */
        transition: color 0.3s;
    }

    .contact-item-link:hover {
        color: var(--color-accent);
    }

    .contact-item-link i {
        color: var(--color-accent);
        margin-top: 4px;
        /* match previous styles */
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: -8px;
        width: 30px;
        height: 2px;
        background: var(--color-accent);
    }

    .footer-links {
        list-style: none;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: #9ca3af;
        font-size: 14px;
        transition: 0.3s;
        display: flex;
        align-items: center;
    }

    .footer-links a i {
        margin-right: 8px;
        font-size: 10px;
        color: var(--color-accent);
    }

    .footer-links a:hover {
        color: var(--color-accent);
        padding-left: 5px;
    }

    .contact-item {
        display: flex;
        gap: 12px;
        margin-bottom: 15px;
        font-size: 14px;
        color: #9ca3af;
    }

    .contact-item i {
        color: var(--color-accent);
        margin-top: 4px;
    }

    .footer-bottom {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 13px;
        color: #6b7280;
    }

    /* ANIMATIONS */
    .animate-on-scroll {
        opacity: 0;
        transform: translateY(40px);
        transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    /* Mission Statement Box */
    .mission-box {
        background: var(--color-light-bg);
        padding: 40px;
        border-radius: var(--radius-large);
        text-align: center;
        border-left: 5px solid var(--color-accent);
        margin: 40px 0;
    }

    /* ======================================
    RESPONSIVE DESIGN
    ======================================
*/
    .short-info {
        display: none;
    }

    /* Large Desktop (1200px+) */
    @media (min-width: 1200px) {
        .container {
            max-width: 1400px;
        }

        .logo-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 40px;
        }

        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        .testimonial-grid {
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        #about-me-page>div {
            grid-template-columns: 1fr 1.5fr;
            gap: 80px;
            align-items: start;
        }

        #about-me-page .founder-image img {
            max-width: 100%;
        }

        #about-me-page .founder-text h2 {
            font-size: 48px;
            text-align: left;
        }

        #about-me-page .founder-text p {
            font-size: 18px;
        }

        #about-me-page .grid-3x3 {
            grid-template-columns: 1fr 1fr;
        }
    }

    /* Desktop (992px - 1199px) */
    @media (max-width: 1199px) {
        .container {
            max-width: 1100px;
        }

        .logo-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .gallery-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .footer-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .testimonial-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    /* Desktop and Laptop (992px+) */
    @media (min-width: 992px) {
        .contact-wrapper {
            flex-direction: row;
            gap: 30px;
        }
    }

    /* Tablet (768px - 991px) */
    @media (max-width: 991px) {
        .container {
            max-width: 100%;
            padding: 40px 15px;
        }

        .hero {
            min-height: 65vh;
            padding: 50px 15px;
        }

        .hero h1 {
            font-size: 42px;
            line-height: 1.1;
        }

        .hero p {
            font-size: 18px;
        }

        .grid-3x3 {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .program-info-grid {
            grid-template-columns: 1fr;
        }

        /* Adjust contact wrapper for tablet */
        .contact-wrapper {
            flex-direction: column; /* Stack vertically on tablet */
            gap: 40px;
        }

        /* Ensure form is 2-column on tablet when stacked */
        .contact-form-side form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 20px;
        }

        .form-group.full {
            grid-column: span 2;
        }

        #about-me-page>div {
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            align-items: center;
        }

        #about-me-page .founder-image img {
            max-width: 350px;
        }

        #about-me-page .founder-text {
            text-align: left;
            padding: 0;
        }

        #about-me-page .founder-text h2 {
            font-size: 32px;
            text-align: left;
        }

        #about-me-page .grid-3x3 {
            grid-template-columns: 1fr 1fr;
        }

        .footer-grid {
            grid-template-columns: 1fr 1fr;
        }

        .logo-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
        }

        .logo-item {
            width: 160px;
            height: 90px;
        }

        .testimonial-grid {
            grid-template-columns: repeat(2, 1fr);
        }

        .industry-grid {
            grid-template-columns: repeat(3, 1fr);
        }

        .impact-stats {
            grid-template-columns: repeat(2, 1fr);
        }

        nav ul {
            gap: 20px;
        }

        .logo-text {
            font-size: 22px;
        }

        .card-item {
            padding: 30px 20px;
        }
    }

    /* Small Tablet (600px - 767px) */
    @media (max-width: 767px) and (min-width: 601px) {
        .contact-wrapper {
            gap: 25px;
            padding: 25px;
        }

        .contact-form-side form {
            gap: 15px;
        }

        .form-group {
            flex: 1 1 250px;
        }
    }

    /* Large Phone (480px - 600px) */
    @media (max-width: 600px) and (min-width: 481px) {
        .contact-wrapper {
            gap: 20px;
            padding: 20px;
        }

        .contact-form-side form {
            gap: 15px;
        }

        .form-group {
            flex: 1 1 200px;
        }
    }

    /* Mobile (320px - 767px) */
    @media (max-width: 767px) {
        .container {
            padding: 30px 15px;
        }

        .contact-form-side form {
            display: grid;
            grid-template-columns: 1fr;
            gap: 15px;
        }

        .form-group.full {
            grid-column: span 1;
        }

        .footer-grid {
            grid-template-columns: 1fr;
        }

        .logo-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .logo-item {
            width: 100%;
            height: auto;
            padding: 15px;
        }

        .grid-3x3,
        .testimonial-grid,
        .gallery-grid,
        .industry-grid {
            grid-template-columns: 1fr;
            gap: 25px;
        }

        .impact-stats {
            grid-template-columns: 1fr;
            gap: 20px;
        }

        nav {
            padding: 10px 15px;
        }

        nav ul {
            gap: 15px;
        }

        .logo-text {
            font-size: 20px;
        }

        .logo-circle {
            width: 40px;
            height: 40px;
        }

        h2 {
            font-size: 28px;
        }

        .card-item {
            padding: 25px 20px;
        }

        .btn-primary {
            padding: 12px 25px;
            font-size: 14px;
        }

        .btn-outline {
            padding: 10px 25px;
            font-size: 12px;
        }

        .testimonial-card {
            padding: 35px 25px;
        }

        nav ul {
            display: none;
        }

        nav .mobile-menu-toggle {
            display: flex;
        }

        .newsletter-form {
            display: flex;
            flex-direction: row;
            gap: 15px;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, 0.1);
            padding: 20px;
            border-radius: 12px;
            margin-top: 20px;
        }

        .newsletter-form input {
            flex: 1;
            max-width: 250px;
            padding: 12px;
            font-size: 16px;
            border-radius: 8px;
            border: 1px solid rgba(255, 255, 255, 0.3);
            background: rgba(255, 255, 255, 0.9);
        }

        .newsletter-form button {
            padding: 12px 20px;
            font-size: 16px;
            border-radius: 8px;
            background: var(--color-accent);
            color: white;
            border: none;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        /* About Me Mobile Overrides */
        .about-grid-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }

        .founder-image {
            margin-bottom: 5px;
        }

        .short-info {
            text-align: center;
            margin-bottom: 20px;
        }

        .founder-name {
            font-size: 22px;
            text-align: center;
        }

        .founder-title {
            text-align: center;
        }

        .founder-text h2 {
            text-align: center;
            font-size: 24px;
        }

        .newsletter-form button:hover {
            background: #B45309;
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(217, 119, 6, 0.3);
        }

        .btn-outline {
            width: 100%;
            padding: 12px;
            font-size: 14px;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }

        .footer-brand {
            grid-column: 1 / -1;
        }

        .newsletter {
            grid-column: 1 / -1;
        }

        .footer-heading {
            font-size: 15px;
            margin-bottom: 10px;
            color: #fff;
        }

        .footer-links-section .footer-heading {
            text-align: left;
        }

        .footer-contact-section .footer-heading {
            text-align: right;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            gap: 6px;
            align-items: flex-start;
        }

        .footer-links a {
            font-size: 12px;
            padding: 4px 0;
            width: 100%;
            text-align: left;
            color: #9ca3af;
            transition: color 0.3s;
        }

        .footer-links a:hover {
            color: var(--color-accent);
        }

        /* Extra Small Devices (Portrait Phones < 480px) */
        @media (max-width: 479px) {

            .logo-grid,
            .gallery-grid,
            .industry-grid {
                grid-template-columns: 1fr;
                /* Stack vertically for best fit on small screens */
                gap: 20px;
            }

            .logo-item {
                width: 100%;
                /* Full width cards */
                height: auto;
                padding: 20px;
            }

            .hero h1 {
                font-size: 32px;
                /* Minimum legible size */
            }
        }

        .social-links {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .social-links a {
            font-size: 14px;
            padding: 8px;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            transition: all 0.3s ease;
            color: #fff;
        }

        .social-links a:hover {
            background: var(--color-accent) !important;
            transform: translateY(-2px);
            color: #fff !important;
        }

        .contact-item {
            margin-bottom: 12px;
            justify-content: center;
            flex-direction: row;
            align-items: center;
            gap: 12px;
            text-align: left;
        }

        .contact-item i {
            margin-right: 0;
            font-size: 16px;
            color: var(--color-accent);
        }

        .contact-item p {
            font-size: 12px;
            margin: 0;
            color: #9ca3af;
        }

        .newsletter {
            padding: 15px 0;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            text-align: center;
        }

        .stat-box {
            padding: 20px;
        }

        .stat-number {
            font-size: 32px;
        }

        .logo-item,
        .gallery-item,
        .card-item,
        .testimonial-card,
        .industry-item {
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .logo-item:active,
        .gallery-item:active,
        .card-item:active,
        .testimonial-card:active,
        .industry-item:active {
            transform: scale(0.98);
        }

        .btn-primary,
        .btn-outline,
        .workshop-btn {
            min-height: 44px;
            min-width: 44px;
        }

        .card-item {
            margin-bottom: 10px;
        }

        .testimonial-card {
            margin-bottom: 20px;
        }

        /* Page specific responsive styles */
        #about-me-page {
            padding: 20px 0;
        }

        #about-me-page>div {
            display: flex;
        }

        #about-me-page .founder-image {
            text-align: center;
            margin-bottom: 0;
        }

        #about-me-page .founder-image img {
            width: 100%;
            height: auto;
            border-radius: 16px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
        }

        #about-me-page .founder-image>div {
            display: block;
        }

        #about-me-page .short-info {
            display: block;
        }

        #about-me-page .founder-text {
            padding: 0 15px;
            text-align: center;
        }

        #about-me-page .founder-text h2 {
            font-size: 28px;
            margin-bottom: 25px;
            line-height: 1.3;
            text-align: center;
        }

        #about-me-page .founder-text p {
            font-size: 16px;
            line-height: 1.7;
            margin-bottom: 25px;
        }

        #about-me-page .mission-box {
            padding: 30px;
            margin: 35px 0;
            border-radius: 16px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        }

        #about-me-page .mission-box h3 {
            font-size: 20px;
            margin-bottom: 15px;
        }

        #about-me-page .mission-box p {
            font-size: 16px;
            line-height: 1.6;
        }

        #about-me-page .grid-3x3 {
            grid-template-columns: 1fr;
            gap: 25px;
            margin-top: 40px;
        }

        #about-me-page .grid-3x3>div {
            background: var(--color-light-bg);
            padding: 25px;
            border-radius: 12px;
            text-align: center;
            border: 1px solid #E5E7EB;
        }

        #about-me-page .grid-3x3>div h4 {
            font-size: 20px;
            margin-bottom: 10px;
            color: var(--color-accent);
        }

        #about-me-page .grid-3x3>div p {
            font-size: 15px;
        }

        #about-me-page .btn-primary {
            margin-top: 50px;
            width: 100%;
            padding: 18px;
            font-size: 16px;
            border-radius: 12px;
        }

        #workshops-page {
            padding: 20px 0;
        }

        #workshops-page .workshop-item {
            flex-direction: column;
            gap: 20px;
            padding: 20px;
            text-align: center;
            margin-bottom: 40px;
        }

        #workshops-page .workshop-image img {
            width: 100%;
            height: auto;
            max-height: 200px;
            object-fit: cover;
        }

        #workshops-page .workshop-content h3 {
            font-size: 20px;
            margin-bottom: 10px;
        }

        #workshops-page .workshop-content p {
            font-size: 14px;
        }

        #workshops-page .workshop-details {
            flex-direction: column;
            gap: 10px;
            margin-bottom: 30px;
        }

        #workshops-page .workshop-btn {
            width: 100%;
            padding: 14px;
            font-size: 16px;
        }

        #contact-page {
            padding: 15px 0;
            overflow-x: hidden;
        }

        #contact-page .contact-wrapper {
            flex-direction: column;
            gap: 30px;
            background: var(--color-white);
            padding: 20px;
            border-radius: var(--radius-large);
            box-shadow: var(--shadow-medium);
            margin-top: 15px;
            width: 100%;
            box-sizing: border-box;
        }

        #contact-page .contact-form-side h2 {
            font-size: 24px;
            margin-bottom: 25px;
        }

        #contact-page .contact-info {
            text-align: center;
        }

        #contact-page .contact-info h3 {
            font-size: 20px;
            margin-bottom: 20px;
        }

        #contact-page .contact-item {
            justify-content: center;
            margin-bottom: 25px;
            flex-direction: column;
            gap: 8px;
        }

        #contact-page .contact-item i {
            margin-right: 0;
            font-size: 20px;
        }

        #contact-page .contact-item p {
            font-size: 16px;
            margin: 0;
        }

        #contact-page .form-group {
            margin-bottom: 20px;
            flex: 1 1 100%;
        }

        #contact-page .form-group label {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 8px;
        }

        #contact-page .form-group input,
        #contact-page .form-group select,
        #contact-page .form-group textarea {
            font-size: 16px;
            padding: 15px;
            border-radius: 8px;
            width: 100%;
            box-sizing: border-box;
            border: 1px solid #D1D5DB;
        }

        #contact-page .btn-primary {
            width: 100%;
            padding: 16px;
            font-size: 16px;
            margin-top: 20px;
            min-height: 48px;
        }
    }

    /* Print styles */
    @media print {

        .floating-btn,
        nav,
        footer {
            display: none !important;
        }

        .container {
            max-width: none;
            padding: 0;
        }

        body {
            font-size: 12px;
        }
    }

    /* Floating Book Appointment Button */
    .floating-btn {
        position: fixed;
        bottom: 20px;
        right: 20px;
        background: var(--color-accent);
        color: #fff;
        border: none;
        border-radius: 50px;
        padding: 15px 25px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
        transition: all 0.3s ease;
        z-index: 1001;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .floating-btn:hover {
        background: #B45309;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
    }

    .floating-btn i {
        font-size: 18px;
    }

    /* Mobile adjustments for floating button */
    @media (max-width: 767px) {
        .floating-btn {
            bottom: 15px;
            right: 15px;
            padding: 12px 20px;
            font-size: 14px;
        }
    }

    /* Workshop Styles - Modern Interactive Design */
    .workshop-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 40px;
        margin-top: 50px;
    }

    .workshop-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        position: relative;
        border: 1px solid rgba(217, 119, 6, 0.1);
        cursor: pointer;
    }

    .workshop-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(217, 119, 6, 0.2);
        border-color: var(--color-accent);
    }

    .workshop-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--color-accent), #B45309);
        transform: scaleX(0);
        transition: transform 0.3s ease;
    }

    .workshop-card:hover::before {
        transform: scaleX(1);
    }

    .workshop-image {
        position: relative;
        height: 220px;
        overflow: hidden;
    }

    .workshop-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .workshop-card:hover .workshop-image img {
        transform: scale(1.1);
    }

    .workshop-image::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(45deg, rgba(217, 119, 6, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .workshop-card:hover .workshop-image::after {
        opacity: 1;
    }

    .workshop-content {
        padding: 30px;
        position: relative;
    }

    .workshop-category {
        display: inline-block;
        background: var(--color-accent);
        color: white;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 0.8rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        margin-bottom: 15px;
    }

    .workshop-content h3 {
        color: var(--color-primary);
        margin-bottom: 15px;
        font-size: 1.6rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .workshop-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 20px;
        color: var(--color-text);
    }

    .workshop-features {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 25px;
    }

    .feature-tag {
        background: rgba(217, 119, 6, 0.1);
        color: var(--color-accent);
        padding: 4px 10px;
        border-radius: 12px;
        font-size: 0.8rem;
        font-weight: 500;
    }

    .workshop-details {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin-bottom: 25px;
    }

    .detail-item {
        display: flex;
        align-items: center;
        gap: 8px;
        color: var(--color-secondary);
        font-size: 0.9rem;
        font-weight: 500;
    }

    .detail-item i {
        color: var(--color-accent);
        font-size: 14px;
        width: 16px;
        text-align: center;
    }

    .workshop-actions {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .workshop-btn {
        flex: 1;
        padding: 12px 20px;
        background: var(--color-accent);
        color: white;
        text-decoration: none;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        text-align: center;
        font-size: 0.95rem;
    }

    .workshop-btn:hover {
        background: #B45309;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    }

    .workshop-favorite {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(217, 119, 6, 0.1);
        border: none;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.3s ease;
    }

    .workshop-favorite i {
        color: var(--color-accent);
        font-size: 16px;
    }

    .workshop-favorite:hover {
        background: var(--color-accent);
        transform: scale(1.1);
    }

    .workshop-favorite:hover i {
        color: white;
    }

    /* Mobile responsiveness for workshops */
    @media (max-width: 768px) {
        .workshop-grid {
            grid-template-columns: 1fr;
            gap: 30px;
            margin-top: 30px;
        }

        .workshop-card {
            margin: 0 10px;
        }

        .workshop-content {
            padding: 25px;
        }

        .workshop-content h3 {
            font-size: 1.4rem;
        }

        .workshop-details {
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .workshop-actions {
            flex-direction: column;
        }

        .workshop-btn {
            width: 100%;
        }
    }

    /* WORKSHOP DETAILS PAGE */
    .detail-hero {
        text-align: center;
        margin-bottom: 50px;
        padding-bottom: 30px;
        border-bottom: 1px solid #eee;
    }

    .detail-hero h2 {
        font-size: 36px;
        color: var(--color-primary);
        margin-bottom: 10px;
    }

    .detail-hero h2:after {
        display: none;
    }

    /* Remove default underline */
    .detail-hero p {
        font-size: 20px;
        color: var(--color-accent);
        font-weight: 500;
    }

    .detail-section {
        margin-bottom: 40px;
        background: #fff;
        padding: 30px;
        border-radius: var(--radius-large);
        box-shadow: var(--shadow-medium);
        border: 1px solid #eee;
    }

    .detail-section h3 {
        font-size: 24px;
        margin-bottom: 20px;
        color: var(--color-primary);
        border-left: 4px solid var(--color-accent);
        padding-left: 15px;
    }

    .detail-section p {
        margin-bottom: 15px;
        color: var(--color-text);
        font-size: 16px;
    }

    .track-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .track-card {
        background: var(--color-light-bg);
        padding: 25px;
        border-radius: var(--radius-large);
        border: 1px solid #e5e7eb;
    }

    .track-card h4 {
        color: var(--color-accent);
        font-size: 20px;
        margin-bottom: 15px;
    }

    .track-card ul {
        list-style: none;
        padding: 0;
    }

    .track-card ul li {
        position: relative;
        padding-left: 25px;
        margin-bottom: 10px;
        font-size: 15px;
    }

    .track-card ul li:before {
        content: "\f00c";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        color: var(--color-accent);
    }

    .outcomes-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .outcomes-list li {
        background: #f0fdf4;
        padding: 10px 15px;
        border-radius: 6px;
        color: #166534;
        font-weight: 500;
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .outcomes-list li i {
        color: #166534;
    }

    @media (max-width: 768px) {

        .track-grid,
        .outcomes-list {
            grid-template-columns: 1fr;
        }
    }

    /* NEW WORKSHOP DESIGN */
    .workshop-card-new {
        background: #fff;
        border-radius: var(--radius-large);
        overflow: hidden;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border: 1px solid #f3f4f6;
        display: flex;
        flex-direction: column;
        height: 100%;
        min-height: 466px;
        position: relative;
    }

    .workshop-card-new:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }

    .workshop-image-new {
        height: 220px;
        width: 100%;
        object-fit: cover;
    }

    .workshop-content-new {
        padding: 24px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .workshop-label {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 12px;
        font-weight: 700;
        color: var(--color-accent);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-bottom: 8px;
    }

    .workshop-title {
        font-size: 20px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 4px;
        line-height: 1.3;
        min-height: 52px;
        /* Force 2 lines height alignment */
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .workshop-subtitle {
        font-size: 14px;
        color: #4b5563;
        margin-bottom: 12px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .workshop-divider {
        height: 2px;
        background: #e5e7eb;
        margin: 0 0 16px 0;
        width: 100%;
    }

    .workshop-description {
        font-size: 15px;
        color: #4b5563;
        line-height: 1.6;
        margin-bottom: 20px;
        flex-grow: 1;
        /* Description takes available space */
    }

    /* Bottom Container for Alignment */
    .workshop-bottom {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 30px;
        /* Increased spacing significantly */
    }

    .duration-section {
        /* No margin-top: auto here, handled by wrapper */
    }

    .duration-label {
        font-size: 11px;
        font-weight: 700;
        color: #9ca3af;
        text-transform: uppercase;
        margin-bottom: 8px;
        display: block;
        letter-spacing: 0.05em;
        text-align: left;
        /* Left align */
    }

    .duration-badges {
        display: grid;
        /* Grid like buttons */
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .badge-pill {
        padding: 6px 10px;
        /* Reduced padding */
        border-radius: 6px;
        /* Slightly smaller radius */
        font-size: 11px;
        /* Slightly smaller text */
        font-weight: 600;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        height: 32px;
        /* Reduced height from 40px to 32px */
        border: 1px solid transparent;
    }

    .badge-6m {
        background: #f3f4f6;
        color: #4b5563;
        border-color: #e5e7eb;
    }

    .badge-12m {
        background: #1f2937;
        color: #fff;
    }

    .pulsing-dot {
        width: 6px;
        height: 6px;
        background: var(--color-accent);
        border-radius: 50%;
        animation: pulse 2s infinite;
    }

    @keyframes pulse {
        0% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(217, 119, 6, 0.7);
        }

        70% {
            transform: scale(1);
            box-shadow: 0 0 0 4px rgba(217, 119, 6, 0);
        }

        100% {
            transform: scale(0.95);
            box-shadow: 0 0 0 0 rgba(217, 119, 6, 0);
        }
    }

    .workshop-actions-new {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .btn-new {
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.2s;
        cursor: pointer;
        border: none;
        text-decoration: none;
    }

    .btn-contact-new {
        background: transparent;
        border: 1px solid #d1d5db;
        color: #4b5563;
    }

    .btn-contact-new:hover {
        background: #f9fafb;
        border-color: #9ca3af;
    }

    .btn-details-new {
        background: var(--color-accent);
        color: #fff;
        box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.2);
    }

    .btn-details-new:hover {
        background: #b45309;
        box-shadow: 0 6px 8px -1px rgba(217, 119, 6, 0.3);
    }

    /* NEW DETAIL VIEW STYLES */
    .detail-split-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        margin-bottom: 60px;
        padding-bottom: 40px;
        border-bottom: 1px solid #e5e7eb;
    }

    .detail-hero-text h2 {
        text-align: left;
        font-size: 42px;
        margin-bottom: 15px;
    }

    .detail-hero-text p {
        text-align: left;
        font-size: 18px;
        line-height: 1.6;
        color: #4b5563;
    }

    .detail-hero-text h2:after {
        display: none;
    }

    .detail-hero-img img {
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .comparison-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        margin: 40px 0;
    }

    .track-card {
        padding: 35px;
        border-radius: 20px;
        border: 1px solid #e5e7eb;
        background: #fff;
    }

    .track-card h4 {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .track-card.dark-theme {
        background: #1f2937;
        color: #fff;
        border: none;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    }

    .track-card.dark-theme h4 {
        color: var(--color-accent);
    }

    .track-card.dark-theme ul li {
        color: #d1d5db;
    }

    .track-card.dark-theme ul li:before {
        color: var(--color-accent);
    }

    .audience-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        margin-top: 40px;
        background: #f9fafb;
        padding: 40px;
        border-radius: 20px;
    }

    .audience-col h4 {
        font-size: 18px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #1f2937;
    }

    .audience-list {
        list-style: none;
        padding: 0;
    }

    .audience-list li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 12px;
        font-size: 15px;
        color: #4b5563;
    }

    .check-icon {
        color: #10b981;
    }

    .ban-icon {
        color: #ef4444;
    }

    @media (max-width: 991px) {

        .detail-split-hero,
        .audience-grid {
            grid-template-columns: 1fr;
        }

        .comparison-grid {
            grid-template-columns: 1fr; /* Revert to stacked for readability */
            gap: 20px;
            margin: 20px 0;
        }

        .track-card {
            padding: 30px 20px; /* Restore reasonable padding */
        }

        .track-card h4 {
            font-size: 18px; /* Slightly smaller than desktop but legible */
            white-space: nowrap; /* Keep heading text in one line */
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .detail-hero-text h2, 
        .detail-hero-text h4,
        .detail-hero-text p,
        .detail-hero-text,
        .track-card,
        .track-card h4,
        .track-card p,
        .audience-col,
        .audience-col h4 {
            text-align: center;
        }

        .track-card ul,
        .audience-list {
            text-align: left;
            display: inline-block;
            margin: 0 auto;
        }

        .outcomes-list {
            grid-template-columns: 1fr;
            justify-items: center;
            padding: 0;
        }

        .outcomes-list li {
            width: 100%;
            max-width: 500px;
            margin: 0 auto 10px;
            justify-content: center;
        }

        .detail-hero-img img {
            margin: 0 auto;
        }
    }

    .btn-enquire {
        padding: 15px 40px;
        font-size: 18px;
        background-color: var(--color-accent);
        color: #fff;
        border: none;
        border-radius: var(--radius-small);
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .btn-enquire:hover {
        background-color: var(--color-accent);
        /* Keep base orange */
        filter: brightness(0.9);
        /* Subtle darken */
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
    }

    /* BLOG SECTION STYLES */
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
        margin-top: 40px;
    }

    .blog-card {
        background: #fff;
        border-radius: var(--radius-large);
        overflow: hidden;
        box-shadow: var(--shadow-medium);
        transition: all 0.3s ease;
        border: 1px solid #eee;
        display: flex;
        flex-direction: column;
    }

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .blog-image {
        height: 200px;
        width: 100%;
        object-fit: cover;
    }

    .blog-content {
        padding: 25px;
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }

    .blog-meta {
        font-size: 12px;
        color: #9ca3af;
        margin-bottom: 10px;
        text-transform: uppercase;
        font-weight: 600;
        display: flex;
        gap: 10px;
    }

    .blog-title {
        font-size: 20px;
        font-weight: 700;
        color: var(--color-primary);
        margin-bottom: 10px;
        line-height: 1.4;
    }

    .blog-excerpt {
        font-size: 14px;
        color: var(--color-secondary);
        margin-bottom: 20px;
        line-height: 1.6;
        flex-grow: 1;
    }

    .blog-link {
        color: var(--color-accent);
        font-weight: 600;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 5px;
        margin-top: auto;
        transition: gap 0.2s;
    }

    .blog-link:hover {
        gap: 8px;
    }

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

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

    .tablet-break {
        display: none;
    }

    /* Enhanced Mobile & Tablet Optimization */
    @media (max-width: 991px) {
        .hero {
            min-height: 60vh;
            padding: 60px 20px;
            align-items: flex-start;
            text-align: left;
        }

        .hero h1 {
            font-size: 48px;
            max-width: 100%;
        }

        .hero p {
            font-size: 20px;
            max-width: 100%;
        }

        .hero .btn-primary {
            padding: 10px 20px;
            font-size: 14px;
            align-self: flex-start;
        }

        .tablet-break {
            display: block;
        }
    }

    /* Mobile Optimization */
    @media (max-width: 768px) {
        .hero {
            min-height: auto !important;
            aspect-ratio: 21 / 9;
            padding: 40px 15px;
            background-size: 100% auto !important;
            background-position: center top !important;
            background-repeat: no-repeat !important;
            align-items: flex-start;
            text-align: left;
        }

        .hero h1 {
            font-size: 20px;
            /* Reduced from 24px */
            line-height: 1.3;
            white-space: normal;
            margin-bottom: 8px;
        }

        .hero p {
            font-size: 13px;
            /* Reduced from 14px */
            margin-bottom: 15px;
            max-width: 450px;
        }

        .hero .btn-primary {
            align-self: flex-start;
            margin-top: 15px;
            padding: 10px 20px;
            font-size: 14px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .workshop-actions-new {
            grid-template-columns: 1fr;
        }

        .badge-pill {
            font-size: 10px;
            padding: 4px 8px;
        }

        .workshop-content-new {
            padding: 15px;
        }
    }

    @media (max-width: 600px) {
        .hero {
            min-height: auto !important;
            aspect-ratio: 21 / 9;
            padding: 30px 10px;
            /* Tighter padding */
            background-size: 100% auto !important;
            background-position: center top !important;
            background-repeat: no-repeat !important;
            align-items: flex-start;
            text-align: left;
        }

        .hero h1 {
            font-size: 16px;
            /* Reduced from 20px */
        }

        .hero .btn-primary {
            align-self: flex-start;
            margin-top: 2px;
            padding: 1px 8px;
            font-size: 7px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            text-align: center;
        }

        .workshop-actions-new {
            grid-template-columns: 1fr;
        }
    }

    /* Small Mobile Optimization (Updated to 475px) */
    @media (max-width: 475px) {
         .hero {
            min-height: auto !important;
            aspect-ratio: 21 / 9;
            background-size: 100% auto !important;
            background-position: center top !important;
            background-repeat: no-repeat !important;
            padding: 10px 8px !important;
            align-items: flex-start;
            text-align: left;
        }

        .hero h1 {
            font-size: 12px !important;
            line-height: 1.2;
            margin-bottom: 3px;
            text-align: left;
        }

        .hero p {
            font-size: 10px !important;
            line-height: 1.2;
            margin: 0 0 3px 0 !important;
            max-width: none !important;
            text-align: left;
        }

        .hero .btn-primary {
            padding: 0 4px !important;
            font-size: 8px !important;
            margin-top: 2px !important;
            align-self: flex-start !important;
            display: inline-flex !important;
            justify-content: center;
            align-items: center;
            text-align: center;
            line-height: 1.5; /* Ensure text fits in smaller box */
        }
    }



    /* Mobile Optimization (375px) */
    @media (max-width: 375px) {
        .hero {
            min-height: auto !important;
            aspect-ratio: 21 / 9;
            background-size: 100% auto !important;
            background-position: center top !important;
            background-repeat: no-repeat !important;
            padding: 10px 8px !important;
            align-items: flex-start;
            text-align: left;
        }

        .hero h1 {
            font-size: 11px !important;
            line-height: 1.2;
            margin-bottom: 3px;
            text-align: left;
        }

        .hero p {
            font-size: 8px !important;
            line-height: 1.2;
            margin: 0 0 3px 0 !important;
            max-width: none !important;
            text-align: left;
        }

        .hero .btn-primary {
            padding: 0 4px !important;
            font-size: 8px !important;
            margin-top: 2px !important;
            align-self: flex-start !important;
            display: inline-flex !important;
            justify-content: center;
            align-items: center;
            text-align: center;
            line-height: 1.5; /* Ensure text fits in smaller box */
        }
    }

/* ======================================
    6. BLOG SECTION STYLES
    ======================================
*/
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Strictly 3 columns on desktop */
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    }
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-large);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-date {
    font-size: 13px;
    color: var(--color-accent);
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.blog-title {
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--color-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.blog-link {
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.blog-link:hover {
    gap: 12px;
}

/* Individual Blog View */
.blog-detail-container {
    max-width: 900px;
    background: #fff;
    padding: 0 clamp(20px, 5vw, 80px) 60px; /* Removed top padding (60px -> 0) */
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.05);
    margin: 0 auto 60px;
    text-align: left;
    overflow: visible; /* Ensure sticky works */
}

.blog-detail-header {
    position: relative;
    top: auto;
    background: transparent;
    z-index: 1;
    padding: 40px 0 25px; /* Added 40px top padding */
    margin-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.blog-detail-title {
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--color-primary);
    margin-bottom: 8px;
    line-height: 1.2;
    text-align: left;
    transition: none !important;
}

.blog-detail-meta {
    font-size: 13px;
    color: var(--color-accent);
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-detail-content {
    font-size: 17px; /* Slightly adjusted */
    line-height: 1.85;
    color: var(--color-text);
    text-align: left;
}

.blog-detail-content p {
    margin-bottom: 30px;
}

.blog-detail-content h3 {
    font-size: 28px;
    margin-top: 50px;
    color: var(--color-primary);
    font-weight: 700;
}

.blog-detail-content blockquote {
    background: #fffbeb;
    border-left: 5px solid var(--color-accent);
    padding: 40px;
    margin: 40px 0;
    border-radius: 0 15px 15px 0;
    font-size: 22px;
    line-height: 1.6;
    color: var(--color-primary);
    box-shadow: 5px 5px 15px rgba(0,0,0,0.02);
}

/* Post Navigation */
.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #f8fafc;
}

.nav-link-box {
    flex: 1;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    border: 1px solid transparent;
    text-align: left;
}

.nav-link-box:hover {
    background: #fff;
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.nav-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-accent);
    margin-bottom: 8px;
    font-weight: 700;
}

.nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    line-height: 1.4;
}

.blog-cta-box {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
    border-bottom: 8px solid var(--color-accent);
}

.blog-cta-box h3 {
    color: #fff;
    font-size: clamp(24px, 4vw, 32px);
    margin-bottom: 15px;
}

.blog-cta-box p {
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr; /* Stack blog cards on mobile */
        gap: 20px; /* Reduced gap between cards */
        margin-top: 20px; /* Reduced top margin */
    }
    .blog-card {
        margin-bottom: 10px; /* Reduced space below cards */
    }
    .blog-content {
        padding: 15px; /* Tighter content padding inside cards */
    }
    .blog-title {
        font-size: 18px; /* Slightly smaller titles in list view */
        margin-bottom: 8px;
    }
    .blog-excerpt {
        font-size: 13px; /* Tighter excerpt text */
        margin-bottom: 15px;
    }
    .post-navigation {
        flex-direction: column; /* Vertical navigation links */
        gap: 15px;
        margin-top: 30px; /* Reduced top margin */
        padding-top: 20px; /* Reduced top padding */
    }
    .nav-link-box {
        text-align: center !important; /* Center align nav links on mobile */
        align-items: center !important;
        padding: 15px; /* Tighter padding for navigation boxes */
    }
    .blog-detail-container {
        padding: 0 15px 30px; /* Reduced side padding */
        margin-top: 15px !important; /* Reduced top margin */
        margin-bottom: 30px !important; /* Reduced bottom margin */
    }
    .blog-detail-header {
        padding-top: 10px; /* Tighter top padding */
        margin-bottom: 15px; /* Tighter bottom margin */
    }
    .blog-detail-title {
        font-size: 20px; /* Smaller title */
        line-height: 1.3;
    }
    .blog-detail-content {
        font-size: 16px; 
        line-height: 1.8; 
        text-align: left; /* Left align prevents uneven word spacing from justify */
        word-spacing: normal; /* Ensures standard single space between words */
    }
    .blog-detail-content p {
        margin-bottom: 20px; /* Better spacing between paragraphs */
    }
    .blog-detail-content h3 {
        font-size: 18px; /* Smaller h3 */
        margin-top: 20px; /* Reduced top margin */
        margin-bottom: 10px;
    }
    .blog-detail-content blockquote {
        padding: 15px; /* Smaller blockquote padding */
        font-size: 16px; /* Smaller blockquote text */
        margin: 15px 0; /* Tighter blockquote margin */
        border-left-width: 4px;
    }
    .blog-cta-box {
        padding: 25px 15px; /* Compact CTA box */
        margin-top: 40px !important; /* Reduced top margin */
    }
    .blog-cta-box h3 {
        font-size: 20px;
    }
    .blog-cta-box p {
        font-size: 13px;
        margin-bottom: 20px;
    }
    /* Reduce top padding for containers on blog pages */
    #blog-detail-view, #blog-page, .container {
        padding-top: 20px !important; 
        padding-bottom: 20px !important;
    }
    /* Adjust spacing below the back button */
    #blog-detail-view > div:first-child, #blog-page > div:first-child {
        margin-bottom: 10px !important;
    }
    .detail-split-hero {
        gap: 15px; /* Reduced gap between text and image */
        margin-bottom: 20px; /* Reduced margin below hero section */
    }
    .detail-hero-img img {
        max-height: 300px; /* Smaller images on mobile to save space */
    }
    footer {
        padding: 40px 0 20px !important; /* Significantly reduced footer padding on mobile */
    }
    .footer-grid {
        gap: 20px !important;
        margin-bottom: 30px !important;
    }
}

/* ======================================
    7. BACK BUTTON CUSTOMIZATION (ALIGNED)
    ======================================
*/
.back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto !important;
    gap: 10px;
    min-width: 120px; 
}

/* Desktop (Default/Large) */
@media (min-width: 992px) {
    .back-btn {
        padding: 12px 30px;
        font-size: 15px;
    }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .back-btn {
        padding: 10px 25px;
        font-size: 14px;
        min-width: 110px;
    }
}

/* Mobile (max-width 767px) */
@media (max-width: 767px) {
    .back-btn {
        width: auto !important;
        padding: 8px 20px;
        font-size: 13px;
        min-width: 100px;
        margin-bottom: 10px;
        align-self: flex-start; 
        margin-left: 10px; /* Push away from the left edge on mobile */
    }
}


/* ======================================
   BLOG & WORKSHOP DETAIL PAGES (SPLIT HERO) - ADDED FOR DESKTOP OPTIMIZATION
   ======================================
*/
.detail-split-hero {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
    align-items: center;
}

.detail-hero-text {
    flex: 1;
    text-align: center;
}

.detail-hero-text h2 {
    font-size: clamp(28px, 4vw, 48px);
    margin-bottom: 20px;
    line-height: 1.2;
    text-align: center;
}

.detail-hero-text h2:after {
    margin: 15px auto; 
}

.detail-hero-img {
    flex: 1;
    width: 100%;
}

.detail-hero-img img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-medium);
}

.blog-detail-container {
    max-width: 100%;
    margin: 40px auto 80px;
    padding: clamp(30px, 5vw, 80px);
}

.blog-detail-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--color-secondary);
}

/* DESKTOP STYLES (Min Width 992px) */
@media (min-width: 992px) {
    .detail-split-hero {
        flex-direction: row;
        align-items: center;
        text-align: left;
        gap: 60px;
        min-height: 60vh;
    }

    .detail-hero-text {
        text-align: left;
        padding-right: 20px;
    }

    .detail-hero-text h2 {
        text-align: left;
    }
    
    .detail-hero-text h2:after {
        margin: 20px 0;
    }

    .detail-hero-img {
        height: 100%;
        display: flex;
        justify-content: center; 
    }
    
    .detail-hero-img img {
        height: 500px;
        width: 100%;
        object-fit: cover;
    }
}

/* LARGE DESKTOP (1440px+) specific tweaks */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
    
    .detail-split-hero {
        min-height: 70vh;
        gap: 80px;
    }

    .detail-hero-text h2 {
        font-size: 56px;
    }
    
    .detail-hero-img img {
        height: 600px;
    }
    
    .blog-detail-content {
        column-count: 1; /* Keeping it like a standard page */
    }

    .blog-detail-content p {
        font-size: 20px;
        text-align: left; /* Better for standard page flow */
    }
    
    .blog-detail-container {
        max-width: 100%;
        margin-top: 0;
        padding: 0 5%; /* minimal side padding for readability */
        background: transparent;
        box-shadow: none;
        border: none;
    }

    .post-navigation {
        max-width: 100%;
        margin-top: 80px;
        padding-top: 60px;
        border-top: 1px solid #eee;
    }

    .nav-link-box {
        background: transparent;
        padding: 0;
        box-shadow: none;
        border: none;
    }

    .nav-link-box:hover {
        background: transparent;
        box-shadow: none;
        transform: translateY(-2px);
    }

    .nav-title {
        font-size: 24px; /* Larger for better visibility */
    }
}
