/*About page css starts here*/

/* 1. Base Section with your Gradient */
    .breadcrumb-area {
        padding: 160px 0 120px;
        position: relative;
        background: #173e5f; /* Base fallback */
        background: linear-gradient(-45deg, #173e5f, #1a3c5a, #2c527a);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* 2. Moving Blobs Container */
    .blob-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        overflow: hidden;
    }

    .blob {
        position: absolute;
        width: 500px;
        height: 500px;
        background: #5899d0;
        filter: blur(80px);
        border-radius: 50%;
        opacity: 0.6;
        animation: moveBlobs 20s infinite alternate;
    }

    .blob-1 {
        top: -100px;
        left: -100px;
        background: #5899d0;
        animation-duration: 15s;
    }

    .blob-2 {
        bottom: -150px;
        right: -100px;
        background: #a8d0f0;
        animation-duration: 25s;
        animation-delay: -5s;
    }

    .blob-3 {
        top: 20%;
        right: 20%;
        width: 300px;
        height: 300px;
        background: #173e5f;
        animation-duration: 18s;
        animation-delay: -2s;
    }

    @keyframes moveBlobs {
        0% { transform: translate(0, 0) scale(1); }
        33% { transform: translate(100px, 50px) scale(1.2); }
        66% { transform: translate(-50px, 100px) scale(0.8); }
        100% { transform: translate(0, 0) scale(1); }
    }

    /* 3. The Frosted White Glass Overlay */
    .breadcrumb-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.12); /* Frost tint */
        backdrop-filter: blur(35px) saturate(180%);
        -webkit-backdrop-filter: blur(35px) saturate(180%);
        z-index: 2;
        /* Sharp edges as requested - no border radius */
    }

    /* 4. Content Visibility */
    .breadcrumb-content {
        position: relative;
        z-index: 3;
        text-align: center;
    }

    .breadcrumb-title {
        color: #ffffff;
        font-size: 4.5rem;
        font-weight: 500;
        margin-bottom: 15px;
        letter-spacing: -2px;
        text-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .breadcrumb-links {
        color: rgba(255, 255, 255, 0.9);
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 5px;
        font-weight: 500;
    }

    .breadcrumb-links a {
        color: #ffffff;
        text-decoration: none;
        transition: 0.3s;
        border-bottom: 1px solid transparent;
    }

    .breadcrumb-links a:hover {
        border-bottom: 1px solid #5899d0;
        opacity: 1;
    }

    .breadcrumb-separator {
        margin: 0 15px;
        color: #5899d0;
    }

    /* Section Container */
    .journey-redesign {
        padding: 120px 0;
        background: #f3f8fe;
        position: relative;
        overflow: hidden;
    }

    /* Ambient Background Blobs */
    .journey-redesign::before {
        content: "";
        position: absolute;
        width: 600px;
        height: 600px;
        background: radial-gradient(circle, rgba(88, 153, 208, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
        top: 10%;
        right: -5%;
        z-index: 0;
    }

    /* Visual Portal (Image Side) */
    .portal-container {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .portal-frame {
        width: 100%;
        height: 550px;
        border-radius: 300px 300px 50px 50px; /* Modern organic arch */
        overflow: hidden;
        position: relative;
        z-index: 2;
        box-shadow: 0 40px 80px rgba(23, 62, 95, 0.15);
    }

    .portal-frame img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .portal-container:hover .portal-frame img {
        transform: scale(1.1);
    }

    /* Floating Circular Image */
    .floating-circle-img {
        position: absolute;
        width: 220px;
        height: 220px;
        border-radius: 50%;
        border: 10px solid #ffffff;
        bottom: -40px;
        left: -40px;
        z-index: 3;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    }

    /* Redesigned Experience Badge */
    .stat-badge-modern {
        position: absolute;
        top: 20%;
        right: -20px;
        background: rgba(23, 62, 95, 0.95);
        backdrop-filter: blur(10px);
        padding: 25px;
        border-radius: 20px;
        z-index: 4;
        color: #fff;
        text-align: center;
        box-shadow: 0 15px 30px rgba(23, 62, 95, 0.3);
    }

    /* Typography & Content */
    .section-label-minimal {
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 6px;
        color: #5899d0;
        margin-bottom: 20px;
        display: block;
    }

    .display-title {
        font-size: 3.8rem;
        font-weight: 700;
        line-height: 1;
        color: #173e5f;
        margin-bottom: 35px;
    }

    .display-title span {
        display: block;
        color: #5899d0;
        font-weight: 300;
        font-style: italic;
    }

    .lead-text {
        font-size: 1.25rem;
        color: #5a6e7f;
        line-height: 1.8;
        border-left: 3px solid #5899d0;
        padding-left: 25px;
        margin-bottom: 50px;
    }

    /* Advanced Glass Cards */
    .feature-glass-box {
        background: rgba(255, 255, 255, 0.6);
        border: 1px solid rgba(88, 153, 208, 0.2);
        backdrop-filter: blur(15px);
        padding: 27.5px;
        border-radius: 0px 40px 0px 40px; /* Unique sharp/round combo */
        transition: all 0.4s ease;
        height: 100%;
        position: relative;
    }

    .feature-glass-box:hover {
        background: #ffffff;
        box-shadow: 0 30px 60px rgba(88, 153, 208, 0.15);
        transform: translateY(-10px);
        border-color: #5899d0;
    }

    .icon-wrapper-dynamic {
        width: 60px;
        height: 60px;
        background: #173e5f;
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 24px;
        border-radius: 15px;
        margin-bottom: 25px;
        transition: 0.4s;
    }

    .feature-glass-box:hover .icon-wrapper-dynamic {
        background: #5899d0;
        transform: rotate(15deg);
    }

    /* Section Base */
    .lineage-editorial {
        padding: 100px 0;
        background: #ffffff;
        position: relative;
        overflow: hidden;
    }

    /* Bespoke Heading Design */
    .heading-wrapper {
        position: relative;
        margin-bottom: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .vertical-label {
        position: absolute;
        left: -50px;
        top: 50%;
        transform: translateY(-50%) rotate(-90deg);
        font-size: 13px;
        font-weight: 500;
        letter-spacing: 8px;
        color: #5899d0;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .editorial-title-about {
        font-size: clamp(3rem, 8vw, 5.5rem);
        color: #173e5f;
        font-weight: 500;
        line-height: 0.9;
        text-align: center;
        position: relative;
    }

    .editorial-title-about span {
        display: block;
        font-weight: 300;
        color: #5899d0;
        font-size: 0.2em;
        text-transform: uppercase;
        margin-top: 20px;
    }

    .heading-accent-line {
        width: 80px;
        height: 4px;
        background: #5899d0;
        margin: 15px auto 0;
        position: relative;
    }

    /* The Gallery Grid */
    .editorial-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
        align-items: flex-end;
    }

    /* Individual Card Logic */
    .guide-item {
        position: relative;
        transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
    }

    /* Staggered Heights for Editorial Look */
    .guide-item:nth-child(even) { margin-bottom: 60px; }
    .guide-item:nth-child(odd) { margin-top: 60px; }

    .guide-visual {
        position: relative;
        width: 100%;
        height: 450px;
        background: #f4f7fa;
        overflow: hidden;
        /* Sharp Edges as per previous preference */
    }

    .guide-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: sepia(40%) contrast(1.1);
        transition: all 0.9s ease;
    }

    /* Glass Info Block */
    .guide-info-glass {
        position: absolute;
        bottom: 20px;
        right: -20px;
        width: 80%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(15px);
        padding: 25px;
        z-index: 5;
        border-left: 4px solid #173e5f;
        box-shadow: 20px 20px 40px rgba(0,0,0,0.05);
        transition: all 0.4s ease;
    }

    /* Hover State */
    .guide-item:hover {
        transform: scale(1.02);
        z-index: 10;
    }

    .guide-item:hover .guide-visual img {
        filter: sepia(0%) contrast(1);
        transform: scale(1.05);
    }

    .guide-item:hover .guide-info-glass {
        background: #173e5f;
        right: 0px;
    }

    .guide-item:hover .guide-name { color: #ffffff; }
    .guide-item:hover .guide-role { color: #5899d0; }

    .guide-name {
        font-size: 1.4rem;
        font-weight: 700;
        color: #173e5f;
        margin: 0;
        transition: color 0.3s;
    }

    .guide-role {
        font-size: 9px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #5a6e7f;
        margin-bottom: 8px;
        display: block;
        transition: color 0.3s;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .editorial-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
        .guide-item:nth-child(even), .guide-item:nth-child(odd) { margin: 0; }
    }

    /* Section Base - Removed large padding to prevent gap */
    .global-impact-redesign {
        padding: 0; 
        background: #ffffff;
        position: relative;
    }

    /* Large Background Block - Removed min-height, using padding for height instead */
    .impact-parallax-container {
        position: relative;
        width: 100%;
        padding: 120px 0; /* Controls the height of the section naturally */
        background: url('https://images.pexels.com/photos/358457/pexels-photo-358457.jpeg?auto=compress&cs=tinysrgb&w=1260') center/cover no-repeat;
        display: flex;
        align-items: center;
        overflow: hidden;
    }

    /* Frosted Dark Overlay */
    .impact-parallax-container::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(33, 65, 92, 0.55) 0%, rgba(23, 62, 95, 0.6) 60%, transparent 100%);
        z-index: 1;
    }

    /* Content Styling */
    .impact-content-wrapper {
        position: relative;
        z-index: 2;
    }

    .impact-main-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        color: #ffffff;
        font-weight: 800;
        line-height: 1.1;
        margin-bottom: 25px;
    }

    .impact-main-title span {
        display: block;
        color: #5899d0;
        font-size: 0.45em;
        text-transform: uppercase;
        letter-spacing: 8px;
        margin-bottom: 12px;
    }

    .impact-subtext {
        color: rgba(255, 255, 255, 0.85);
        font-size: 1.15rem;
        max-width: 550px;
        line-height: 1.8;
        border-left: 3px solid #5899d0;
        padding-left: 25px;
    }

    /* Statistics Grid - Performance Optimized */
    .stats-container-inner {
        position: relative;
        z-index: 2;
    }

    .stats-inline-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-glass-item {
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 40px 20px;
        text-align: center;
        border-radius: 30px;
        transition: transform 0.3s ease, background 0.3s ease;
        will-change: transform;
    }

    .stat-glass-item:hover {
        background: rgba(255, 255, 255, 1);
        transform: translateY(-8px);
    }

    .stat-glass-item h3 {
        font-size: 2.5rem;
        font-weight: 800;
        color: #ffffff;
        margin-bottom: 5px;
        transition: color 0.3s ease;
    }

    .stat-glass-item p {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: rgba(255, 255, 255, 0.6);
        margin: 0;
        font-weight: 600;
        transition: color 0.3s ease;
    }

    .stat-glass-item:hover h3 { color: #173e5f; }
    .stat-glass-item:hover p { color: #5899d0; }

    @media (max-width: 991px) {
        .impact-parallax-container { padding: 80px 0; }
        .stats-inline-grid { margin-top: 40px; }
        .impact-main-title { font-size: 2.8rem; }
    }

    /*About page css ends here*/



    /*blog page css starts here*/

    /* --- Base Layout --- */
    .blog-editorial-area {
        padding: 60px 0 100px;
        background: #f4fbff;
        position: relative;
    }

    /* --- Responsive Sidebar Logic --- */
    .sidebar-glass {
        position: sticky;
        top: 100px;
        z-index: 10;
    }

    /* Mobile First Adjustments */
    @media (max-width: 991px) {
        .blog-editorial-area { padding: 30px 0; }
        
        /* Move sidebar to the top on mobile */
        .sidebar-order-change {
            order: -1; 
            margin-bottom: 40px;
        }
        
        .sidebar-glass {
            position: relative;
            top: 0;
        }

        .editorial-img-wrap { height: 300px !important; }
        .editorial-title { font-size: 1.6rem !important; }
        .editorial-content { padding: 30px !important; }
        
        /* Make Search more prominent on mobile */
        .mobile-search-widget {
            margin-bottom: 20px;
        }
    }

    /* --- Refined Glass Sidebar Widgets --- */
    .sidebar-widget {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 30px;
        border-radius: 30px;
        margin-bottom: 25px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.03);
    }

    .widget-title {
        font-size: 1rem;
        font-weight: 500;
        color: #173e5f;
        margin-bottom: 20px;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: flex;
        align-items: center;
    }

    /* Search Input: Sanctuary Style */
    .search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-input-wrapper input {
        width: 100%;
        padding: 15px 20px;
        padding-right: 50px;
        background: #ffffff;
        border: 1px solid rgba(23, 62, 95, 0.1);
        border-radius: 15px;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .search-input-wrapper button {
        position: absolute;
        right: 15px;
        background: transparent;
        border: none;
        color: #5899d0;
        font-size: 18px;
    }

    /* --- Editorial Blog Cards --- */
    .editorial-item {
        background: #ffffff;
        border-radius: 35px;
        overflow: hidden;
        margin-bottom: 40px;
        border: 1px solid rgba(23, 62, 95, 0.05);
        transition: transform 0.4s ease;
    }

    .editorial-img-wrap {
        height: 400px;
        overflow: hidden;
        position: relative;
    }

    .editorial-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .category-badge {
        position: absolute;
        top: 20px;
        left: 20px;
        background: #173e5f;
        color: #fff;
        padding: 6px 15px;
        font-size: 10px;
        font-weight: 700;
        letter-spacing: 2px;
        text-transform: uppercase;
        border-radius: 10px;
    }

    .editorial-content {
        padding: 40px;
    }

    .meta-info {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #5899d0;
        margin-bottom: 15px;
        display: block;
    }

    .editorial-title {
        font-size: 2rem;
        color: #173e5f;
        font-weight: 500;
        line-height: 1.2;
        text-decoration: none;
        display: block;
        text-align: left;
        margin-bottom: 20px;
    }

    /* --- Horizontal Category Filter for Mobile --- */
    @media (max-width: 767px) {
        .mobile-filter-scroll {
            display: flex;
            overflow-x: auto;
            white-space: nowrap;
            padding-bottom: 10px;
            margin-bottom: 20px;
            -webkit-overflow-scrolling: touch;
        }
        .mobile-filter-scroll::-webkit-scrollbar { display: none; }
        
        .filter-pill {
            background: #fff;
            padding: 8px 20px;
            border-radius: 50px;
            margin-right: 10px;
            font-size: 12px;
            color: #173e5f;
            border: 1px solid rgba(23, 62, 95, 0.1);
            text-decoration: none;
        }
    }

    /*blog page css ends here*/


    /*contact page css starts here*/

    /* --- 1. Main Section Styling --- */
    .contact-liquid-glass {
        padding: 100px 0;
        position: relative;
        overflow: hidden;
        background: #ffffff; 
        display: flex;
        align-items: center;
    }

    /* --- 2. Liquid Background Layer (Animated Blobs) --- */
    .liquid-bg-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f0f7ff 100%);
    }

    .moving-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        opacity: 0.35;
        animation: floatBlobs 22s infinite alternate ease-in-out;
        will-change: transform;
    }

    .blob-deep {
        width: 600px;
        height: 600px;
        background: #173e5f;
        top: -100px;
        left: -100px;
        animation-duration: 18s;
    }

    .blob-light {
        width: 500px;
        height: 500px;
        background: #5899d0;
        bottom: -150px;
        right: -100px;
        animation-duration: 25s;
        animation-delay: -4s;
    }

    .blob-accent {
        width: 400px;
        height: 400px;
        background: #a8d0f0;
        top: 20%;
        right: 15%;
        opacity: 0.5;
        animation-duration: 20s;
    }

    @keyframes floatBlobs {
        0% { transform: translate(0, 0) scale(1); }
        50% { transform: translate(80px, 60px) scale(1.1); }
        100% { transform: translate(-40px, 90px) scale(0.9); }
    }

    /* --- 3. The Full-Width Frost Layer --- */
    .liquid-glass-frost {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(40px) saturate(160%);
        -webkit-backdrop-filter: blur(40px) saturate(160%);
        z-index: 2;
    }

    /* --- 4. The Content Layer --- */
    .liquid-content-container {
        position: relative;
        z-index: 3;
    }

    .contact-main-card {
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 50px;
        box-shadow: 0 40px 100px rgba(23, 62, 95, 0.1);
        display: flex;
        flex-wrap: wrap;
        overflow: hidden;
    }

    /* --- Left Sidebar (High Contrast Deep Blue) --- */
    .contact-sidebar {
        background: #173e5f; /* Deeper blue for text readability */
        padding: 70px 60px;
        color: #ffffff;
        flex: 1 1 420px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    /* Subtle inner glow for depth */
    .contact-sidebar::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: radial-gradient(circle at top left, rgba(88, 153, 208, 0.15), transparent 70%);
        pointer-events: none;
    }

    .sidebar-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 6px;
        color: #5899d0;
        font-weight: 500;
        display: block;
        margin-bottom: 25px;
    }

    .sidebar-title {
        font-size: 3rem;
        font-weight: 500;
        color: #ffffff;
        line-height: 1.1;
        margin-bottom: 50px;
        text-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .info-item {
        margin-bottom: 40px;
        display: flex;
        align-items: center;
        transition: transform 0.3s ease;
    }

    .info-item:hover {
        transform: translateX(10px);
    }

    .info-icon {
        width: 55px;
        height: 55px;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        margin-right: 25px;
        color: #a8d0f0;
        font-size: 22px;
    }

    .info-text p {
        font-size: 17px;
        margin: 0;
        font-weight: 500;
        letter-spacing: 0.5px;
        color: rgba(255, 255, 255, 0.95);
    }

    /* --- Right Form Side --- */
    .contact-form-side {
        padding: 70px;
        flex: 1 1 500px;
        background: transparent;
    }

    .form-title {
        font-size: 2.2rem;
        color: #173e5f;
        font-weight: 500;
        margin-bottom: 45px;
    }

    /* Rounded Inputs */
    .sanctuary-input-group {
        margin-bottom: 25px;
    }

    .sanctuary-input {
        width: 100%;
        padding: 18px 25px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(23, 62, 95, 0.1);
        border-radius: 22px;
        color: #173e5f;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .sanctuary-input:focus {
        outline: none;
        background: #ffffff;
        border-color: #5899d0;
        box-shadow: 0 10px 30px rgba(88, 153, 208, 0.12);
    }

    /* Rounded Button */
    .theme-btn-submit {
        background: #173e5f;
        color: #fff;
        padding: 20px 40px;
        border: none;
        border-radius: 22px;
        text-transform: uppercase;
        letter-spacing: 3px;
        font-weight: 700;
        font-size: 13px;
        transition: all 0.4s ease;
        width: 100%;
        margin-top: 15px;
        box-shadow: 0 10px 20px rgba(23, 62, 95, 0.15);
    }

    .theme-btn-submit:hover {
        background: #5899d0;
        box-shadow: 0 15px 35px rgba(88, 153, 208, 0.3);
        transform: translateY(-5px);
    }

    /* Responsive Scaling */
    @media (max-width: 991px) {
        .contact-sidebar, .contact-form-side { padding: 50px 30px; }
        .sidebar-title { font-size: 2.5rem; }
    }

    /*contact page css ends here*/



    /*courses page css ends here*/

    /* --- Main Section Base --- */
    .courses-sanctuary-area {
        padding: 60px 0 100px;
        background: #eef8fd;
        position: relative;
    }

    /* --- Top Filter Bar (Glassmorphism) --- */
    .sanctuary-filter-bar {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 30px;
        padding: 25px 40px;
        margin-bottom: 50px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.03);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    .people-search-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #5a6e7f;
        font-weight: 500;
        margin-bottom: 8px;
    }

    .search-tag-pill {
        display: inline-block;
        padding: 6px 16px;
        background: #ffffff;
        border: 1px solid rgba(88, 153, 208, 0.2);
        border-radius: 50px;
        font-size: 12px;
        color: #173e5f;
        text-decoration: none;
        margin-right: 8px;
        transition: all 0.3s ease;
    }

    .search-tag-pill:hover {
        background: #173e5f;
        color: #fff;
        transform: translateY(-2px);
    }

    /* --- Course Card Editorial Styling --- */
    .course-editorial-card {
        background: #ffffff;
        border-radius: 35px;
        overflow: hidden;
        border: 1px solid rgba(23, 62, 95, 0.05);
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .course-editorial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(23, 62, 95, 0.08);
    }

    .course-thumb-wrap {
        height: 220px;
        position: relative;
        overflow: hidden;
    }

    .course-thumb-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

    .course-editorial-card:hover .course-thumb-wrap img {
        transform: scale(1.1);
    }

    .course-badge {
        position: absolute;
        top: 20px;
        left: 20px;
        background: rgba(23, 62, 95, 0.85);
        backdrop-filter: blur(10px);
        color: #fff;
        padding: 5px 15px;
        border-radius: 12px;
        font-size: 10px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 2px;
    }

    .course-details {
        padding: 30px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .course-instructor {
        font-size: 11px;
        color: #5899d0;
        text-transform: uppercase;
        letter-spacing: 2px;
        margin-bottom: 10px;
        display: block;
    }

    .course-title {
        font-size: 1.4rem;
        font-weight: 500;
        color: #173e5f;
        line-height: 1.3;
        margin-bottom: 15px;
        text-decoration: none;
    }

    .course-meta {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(23, 62, 95, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .course-price {
        font-size: 1.3rem;
        font-weight: 500;
        color: #173e5f;
    }

    /* --- Sidebar Adjustments --- */
    .filter-widget-area {
        position: sticky;
        top: 100px;
    }

    /* --- Responsive --- */
    @media (max-width: 991px) {
        .sanctuary-filter-bar { padding: 20px; border-radius: 20px; }
        .sidebar-order { order: -1; margin-bottom: 40px; }
    }

        /*course page css ends here*/





/* course detail start here */
 /* --- 1. Liquid Glass Header Area --- */
            .course-hero-sanctuary {
                padding: 160px 0 130px;
                position: relative;
                background: #173e5f;
                background: linear-gradient(-45deg, #173e5f, #1a3c5a, #2c527a);
                overflow: hidden;
            }

            .course-hero-sanctuary .moving-blob {
                position: absolute;
                width: 400px;
                height: 400px;
                background: #5899d0;
                filter: blur(80px);
                border-radius: 50%;
                opacity: 0.15;
                animation: floatBlobs 15s infinite alternate;
            }

            @keyframes floatBlobs {
                from {
                    transform: translate(-10%, -10%);
                }

                to {
                    transform: translate(20%, 20%);
                }
            }

            .hero-overlay {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                background: rgba(255, 255, 255, 0.03);
                backdrop-filter: blur(20px);
                -webkit-backdrop-filter: blur(20px);
                z-index: 1;
            }

            .hero-content {
                position: relative;
                z-index: 2;
            }

            .hero-label {
                font-size: 10px;
                text-transform: uppercase;
                letter-spacing: 3px;
                color: #5899d0;
                font-weight: 500;
                margin-bottom: 15px;
                display: block;
            }

            .hero-title {
                font-size: clamp(1.8rem, 4vw, 3rem);
                font-weight: 500;
                color: #ffffff;
                line-height: 1.2;
                margin-bottom: 20px;
            }

            .hero-subtitle {
                font-size: 1rem;
                color: rgba(255, 255, 255, 0.8);
                max-width: 650px;
                margin-bottom: 25px;
            }

            .hero-meta-strip {
                display: flex;
                flex-wrap: wrap;
                gap: 15px;
                color: #ffffff;
                font-size: 13px;
            }

            /* --- 2. Details Section & Responsive Navigation --- */
            .course-main-details {
                margin-top: -50px;
                /* Slight overlap for desktop */
                padding-bottom: 60px;
                position: relative;
                z-index: 5;
            }

            .detail-nav-glass-card {
                background: #ffffff;
                border-radius: 24px;
                box-shadow: 0 20px 50px rgba(23, 62, 95, 0.08);
                border: 1px solid rgba(23, 62, 95, 0.05);
                overflow: hidden;
            }

            /* Tab Scroll for Mobile */
            .sanctuary-tabs-container {
                background: #f8fbff;
                border-bottom: 1px solid #edf2f7;
            }

            .sanctuary-tabs {
                display: flex;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                /* Firefox */
                padding: 0 10px;
            }

            .sanctuary-tabs::-webkit-scrollbar {
                display: none;
            }

            .sanctuary-tabs .nav-link {
                white-space: nowrap;
                padding: 18px 20px;
                color: #5a6e7f;
                font-weight: 600;
                font-size: 14px;
                border: none !important;
                background: transparent !important;
                position: relative;
                transition: 0.3s;
            }

            .sanctuary-tabs .nav-link.active {
                color: #173e5f;
            }

            .sanctuary-tabs .nav-link.active::after {
                content: '';
                position: absolute;
                bottom: 0;
                left: 20%;
                right: 20%;
                height: 3px;
                background: #5899d0;
                border-radius: 10px 10px 0 0;
            }

            .tab-body-inner {
                padding: 30px 20px;
            }

            /* --- 3. Sidebar Actions --- */
            .course-sticky-sidebar {
                position: sticky;
                top: 20px;
            }

            .sidebar-action-card {
                background: #fff;
                border-radius: 24px;
                overflow: hidden;
                border: 1px solid rgba(23, 62, 95, 0.08);
                box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
            }

            .action-visual-header {
                height: 200px;
                position: relative;
            }

            .action-visual-header img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .action-play-btn {
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                width: 55px;
                height: 55px;
                background: rgba(255, 255, 255, 0.2);
                backdrop-filter: blur(8px);
                border: 2px solid #fff;
                border-radius: 50%;
                color: #fff;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            .action-pricing {
                padding: 20px 25px;
                display: flex;
                justify-content: space-between;
                align-items: center;
            }

            .price-main {
                font-size: 1.8rem;
                font-weight: 800;
                color: #173e5f;
            }

            .price-badge {
                background: #eef6ff;
                color: #5899d0;
                padding: 5px 12px;
                border-radius: 8px;
                font-size: 12px;
                font-weight: 500;
            }

            .action-meta-list {
                padding: 0 25px 15px;
                list-style: none;
                margin: 0;
            }

            .action-meta-list li {
                display: flex;
                justify-content: space-between;
                padding: 10px 0;
                border-bottom: 1px solid #f8fbff;
                font-size: 14px;
                color: #5a6e7f;
            }

            /* Buttons */
            .theme-btn-sanctuary {
                background: #173e5f;
                color: #fff;
                border: none;
                padding: 14px;
                border-radius: 12px;
                width: 100%;
                font-weight: 500;
                transition: 0.3s;
            }

            .theme-btn-sanctuary:hover {
                background: #5899d0;
            }

            /* --- Responsive Fixes --- */
            @media (max-width: 991px) {
                .course-hero-sanctuary {
                    padding: 50px 0 80px;
                    text-align: center;
                }

                .hero-meta-strip {
                    justify-content: center;
                }

                .hero-subtitle {
                    margin-left: auto;
                    margin-right: auto;
                }

                .course-main-details {
                    margin-top: 0;
                    padding-top: 30px;
                }

                .detail-nav-glass-card {
                    border-radius: 0;
                    margin: 0 -15px;
                    border-left: none;
                    border-right: none;
                }

                /* Edge to edge on mobile */

                .sidebar-action-card {
                    margin-top: 20px;
                }

                .course-sticky-sidebar {
                    position: static;
                }
            }

            @media (max-width: 576px) {
                .hero-title {
                    font-size: 1.6rem;
                }

                .tab-body-inner {
                    padding: 25px 15px;
                }

                .action-pricing {
                    padding: 15px 20px;
                }
            }

            /* Curriculum Item Styling */
            .curriculum-item {
                background: #ffffff;
                border: 1px solid #f1f4f8;
                border-radius: 18px;
                transition: all 0.3s ease;
            }

            .curriculum-item:hover {
                border-color: #5899d0;
                box-shadow: 0 10px 20px rgba(23, 62, 95, 0.05);
            }

            .curriculum-icon-box {
                width: 45px;
                height: 45px;
                background: #eef6ff;
                color: #5899d0;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 12px;
                font-size: 18px;
            }

            .curriculum-title {
                color: #173e5f;
                font-size: 14px;
                font-weight: 600;
            }

            .curriculum-preview-btn {
                background: #f0f4f8;
                color: #173e5f;
                font-weight: 500;
                font-size: 11px;
                text-transform: uppercase;
                letter-spacing: 0.5px;
                border-radius: 8px;
            }

            .curriculum-preview-btn:hover {
                background: #173e5f;
                color: #ffffff;
            }

            /* Modal Stacking Fix */
            .modal-backdrop {
                z-index: 1040 !important;
            }

            .modal {
                z-index: 1050 !important;
            }

            /* Review Cards */
            .review-card {
                background: #ffffff;
                border: 1px solid #f1f4f8;
                transition: 0.3s ease;
            }

            .review-card:hover {
                border-color: #5899d0;
                box-shadow: 0 15px 30px rgba(23, 62, 95, 0.05);
            }

            .user-avatar {
                width: 45px;
                height: 45px;
                background: #173e5f;
                color: #fff;
                border-radius: 12px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: 500;
                font-size: 14px;
            }

            .review-text {
                font-size: 14px;
                color: #5a6e7f;
                line-height: 1.7;
            }

            /* Progress Bars Customization */
            .progress {
                background-color: #f1f4f8;
                overflow: visible;
            }

            .progress-bar {
                border-radius: 10px;
            }

            /* Outline Button */
            .sanctuary-outline-btn {
                border: 2px solid #eef2f6;
                color: #173e5f;
                border-radius: 12px;
                font-weight: 500;
                font-size: 14px;
                transition: 0.3s;
            }

            .sanctuary-outline-btn:hover {
                background: #173e5f;
                color: #fff;
                border-color: #173e5f;
            }

            /* Responsive adjustments */
            @media (max-width: 768px) {
                .review-card {
                    padding: 20px !important;
                }
            }

            /* Star Rating Interaction */
            .star-rating-input {
                display: flex;
                flex-direction: row-reverse;
                justify-content: center;
                gap: 8px;
            }

            .star-rating-input input {
                display: none;
            }

            .star-rating-input label {
                font-size: 2rem;
                color: #eef2f6;
                cursor: pointer;
                transition: color 0.2s ease;
            }

            .star-rating-input label:hover,
            .star-rating-input label:hover~label,
            .star-rating-input input:checked~label {
                color: #ffc107;
            }

            /* Modal Input Focus */
            .modal-body textarea:focus {
                background: #ffffff !important;
                box-shadow: 0 0 0 3px rgba(88, 153, 208, 0.15) !important;
                border: 1px solid #5899d0 !important;
            }

            /* Instructor Tab Styling */
            .instructor-avatar-wrapper {
                width: 150px;
                height: 150px;
                border-radius: 20px;
                overflow: hidden;
                border: 4px solid #fff;
            }

            .instructor-img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }

            .instructor-stat {
                background: #fff;
                padding: 10px 15px;
                border-radius: 12px;
                min-width: 110px;
                text-align: center;
                border: 1px solid #f1f4f8;
            }

            .instructor-stat span {
                font-size: 16px;
            }

            .instructor-stat small {
                font-size: 11px;
            }

            /* Social Icon Styling */
            .instructor-social {
                width: 40px;
                height: 40px;
                background: #f8fbff;
                color: #173e5f;
                border-radius: 10px;
                display: flex;
                align-items: center;
                justify-content: center;
                text-decoration: none;
                transition: all 0.3s ease;
                border: 1px solid #eef2f6;
            }

            .instructor-social:hover {
                background: #173e5f;
                color: #fff;
                transform: translateY(-3px);
            }

            /* Responsive Fix */
            @media (max-width: 768px) {
                .instructor-avatar-wrapper {
                    width: 120px;
                    height: 120px;
                }
            }

            /* Similar Courses Layout */
.similar-courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.similar-course-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(23, 62, 95, 0.08);
    border-color: #5899d0;
}

.course-thumb {
    height: 160px;
    position: relative;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    color: #173e5f;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.text-truncate-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Mobile Responsiveness: Grid to Scroll */
@media (max-width: 991px) {
    .similar-courses-grid {
        display: flex;
        overflow-x: auto;
        padding: 10px 15px 30px;
        margin: 0 -15px;
        gap: 20px;
        scroll-snap-type: x mandatory;
        scrollbar-width: none; /* Hide scrollbar Firefox */
    }
    
    .similar-courses-grid::-webkit-scrollbar {
        display: none; /* Hide scrollbar Chrome/Safari */
    }

    .similar-course-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
}

/* course detail end here */


/* login page starts here */

/* --- Section & Layout --- */
    .login-split-sanctuary {
        min-height: 100vh;
        background: #f0f4f8;
        display: flex;
        align-items: center;
        padding: 70px 15px 70px;
    }

    .sanctuary-master-card {
        max-width: 950px;
        margin: 0 auto;
        background: #fff;
        border-radius: 30px;
        box-shadow: 0 40px 80px rgba(23, 62, 95, 0.12);
        border: 1px solid rgba(23, 62, 95, 0.05);
        overflow: hidden;
    }

    /* --- Left Visual Box --- */
    .login-visual-box {
        height: 100%;
        min-height: 500px;
        position: relative;
        background: #173e5f;
    }

    .visual-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
    }

    .visual-glass-overlay {
        position: absolute;
        bottom: 25px;
        left: 25px;
        right: 25px;
        background: rgba(23, 62, 95, 0.65);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 25px;
    }

    /* --- Typography & Inputs --- */
    .mini-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #5a6e7f;
        letter-spacing: 0.8px;
        margin-bottom: 8px;
        display: block;
    }

    .sanctuary-input-wrapper {
        position: relative;
    }

    .sanctuary-input-wrapper i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #5899d0;
        font-size: 14px;
    }

    .sanctuary-input-wrapper .form-control {
        padding: 12px 12px 12px 45px;
        background: #f8fbff;
        border: 1px solid #eef2f6;
        border-radius: 12px;
        font-size: 14px;
        transition: 0.3s;
    }

    .sanctuary-input-wrapper .form-control:focus {
        background: #fff;
        border-color: #5899d0;
        box-shadow: 0 0 0 4px rgba(88, 153, 208, 0.1);
    }

    /* --- Button Designs --- */
    .btn-healthfulness-primary {
        background: #173e5f;
        color: #ffffff;
        border: none;
        padding: 12px 30px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 14px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(23, 62, 95, 0.2);
    }

    .btn-healthfulness-primary:hover {
        background: #5899d0;
        color: #fff;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(88, 153, 208, 0.3);
    }

    .btn-social-outline {
        background: #fff;
        border: 1px solid #eef2f6;
        color: #173e5f;
        padding: 10px 20px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 10px;
        transition: 0.3s;
    }

    .btn-social-outline:hover {
        background: #f8fbff;
        border-color: #5899d0;
        color: #5899d0;
    }

    /* --- Responsive --- */
    @media (max-width: 991px) {
        .sanctuary-master-card { border-radius: 20px; }
        .login-form-box { padding: 40px 25px !important; }
    }

/*login page css endss here*/


/*blog detail page starts here */

 /* --- Section Base --- */
    .blog-details-sanctuary {
        padding: 60px 0 80px;
        background: #ebf4fb;
        position: relative;
    }

    @media (min-width: 992px) {
        .blog-details-sanctuary { padding: 100px 0 120px; }
    }

    /* --- Main Article Card --- */
    .article-glass-card {
        background: #ffffff;
        border-radius: 30px;
        overflow: hidden;
        box-shadow: 0 30px 70px rgba(23, 62, 95, 0.05);
        border: 1px solid rgba(23, 62, 95, 0.05);
        margin-bottom: 40px;
    }

    @media (min-width: 992px) {
        .article-glass-card { border-radius: 45px; margin-bottom: 60px; }
    }

    .details-img-wrap {
        height: 280px;
        width: 100%;
        overflow: hidden;
    }

    @media (min-width: 768px) { .details-img-wrap { height: 420px; } }
    @media (min-width: 992px) { .details-img-wrap { height: 550px; } }

    .details-img-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .details-body { padding: 30px; }
    @media (min-width: 992px) { .details-body { padding: 60px; } }

    .details-category-label {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 4px;
        color: #5899d0;
        font-weight: 500;
        margin-bottom: 20px;
        display: block;
    }

    .details-title {
        font-size: 1.8rem;
        font-weight: 500;
        color: #173e5f;
        line-height: 1.2;
        margin-bottom: 25px;
    }

    @media (min-width: 992px) { .details-title { font-size: 3.2rem; margin-bottom: 35px; } }

    .details-meta {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
        margin-bottom: 40px;
        padding-bottom: 25px;
        border-bottom: 1px solid rgba(23, 62, 95, 0.08);
        color: #5a6e7f;
        font-size: 13px;
    }

    .article-text {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #4a5568;
    }

    @media (min-width: 992px) { .article-text { font-size: 1.25rem; line-height: 2; } }

    .article-text blockquote {
        margin: 40px 0;
        padding: 30px;
        background: #f8fbff;
        border-left: 5px solid #5899d0;
        border-radius: 0 25px 25px 0;
        font-style: italic;
        font-size: 1.3rem;
        color: #173e5f;
    }

    /* --- Comments Section --- */
    .comments-glass-wrapper {
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-radius: 35px;
        padding: 30px;
        border: 1px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 20px 50px rgba(23, 62, 95, 0.03);
    }

    @media (min-width: 992px) { .comments-glass-wrapper { padding: 60px; border-radius: 45px; } }

    .comment-node {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-bottom: 40px;
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(23, 62, 95, 0.05);
    }

    @media (min-width: 576px) { .comment-node { flex-direction: row; gap: 30px; } }

    .comment-avatar {
        width: 60px;
        height: 60px;
        border-radius: 18px;
        object-fit: cover;
    }

    .reply-trigger {
        background: rgba(88, 153, 208, 0.12);
        color: #5899d0;
        border: none;
        padding: 8px 24px;
        border-radius: 12px;
        font-size: 13px;
        font-weight: 500;
        margin-top: 15px;
        transition: 0.3s;
    }

    .reply-trigger:hover { background: #5899d0; color: #fff; }

    /* --- Sidebar Widgets --- */
    @media (max-width: 991px) {
        .sidebar-area { margin-top: 60px; }
    }

    .sidebar-widget {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 30px;
        border-radius: 30px;
        margin-bottom: 30px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.03);
    }

    .widget-title {
        font-size: 1.1rem;
        font-weight: 500;
        color: #173e5f;
        margin-bottom: 25px;
        text-transform: uppercase;
        letter-spacing: 2px;
        display: flex;
        align-items: center;
    }

    .search-input-wrapper {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-input-wrapper input {
        width: 100%;
        padding: 15px 20px;
        padding-right: 50px;
        background: #ffffff;
        border: 1px solid rgba(23, 62, 95, 0.1);
        border-radius: 15px;
        font-size: 14px;
    }

    .search-input-wrapper button {
        position: absolute;
        right: 15px;
        background: transparent;
        border: none;
        color: #5899d0;
        font-size: 18px;
    }

    /* --- Sanctuary Form Elements --- */
    .sanctuary-input-group { margin-bottom: 25px; }

    .sanctuary-input {
        width: 100%;
        padding: 18px 25px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid rgba(23, 62, 95, 0.1);
        border-radius: 22px;
        color: #173e5f;
        font-size: 15px;
        transition: all 0.3s ease;
    }

    .sanctuary-input:focus {
        outline: none;
        background: #ffffff;
        border-color: #5899d0;
        box-shadow: 0 10px 30px rgba(88, 153, 208, 0.12);
    }

    .theme-btn-sanctuary {
        background: #173e5f;
        color: #fff;
        padding: 18px 45px;
        border: none;
        border-radius: 22px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 3px;
        transition: 0.4s;
        width: 100%;
    }

    .theme-btn-sanctuary:hover {
        background: #5899d0;
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(88, 153, 208, 0.3);
    }

    /* --- Share Icons --- */
    .share-social-btn {
        width: 45px;
        height: 45px;
        border-radius: 50%;
        background: #f4f7fa;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #173e5f;
        transition: 0.3s;
        border: none;
    }

    .share-social-btn:hover { background: #173e5f; color: #fff; transform: translateY(-3px); }

    /* --- Modal Styling --- */
    .glass-modal .modal-content {
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(30px);
        border-radius: 35px;
        border: 1px solid rgba(255, 255, 255, 0.9);
        padding: 20px;
    }
    .glass-modal .modal-header, .glass-modal .modal-footer { border: none; }

/* blog detail page ends here */

/*footer starts here */

.main-footer {
    background: #ffffff;
    border-top: 1px solid #edf2f7;
    position: relative;
    padding: 30px 0 0 0;
    overflow: hidden; /* Keeps blobs inside */
    z-index: 1;
}

/* --- Moving Background Blobs (Global to Footer) --- */
.footer-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.f-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: footerBlobMove 15s infinite alternate ease-in-out;
}

.f-blob-1 {
    background: radial-gradient(circle, #5899d0 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.f-blob-2 {
    background: radial-gradient(circle, #173e5f 0%, transparent 70%);
    bottom: 10%;
    right: -5%;
    animation-delay: -7s;
}

@keyframes footerBlobMove {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15%, 10%) scale(1.2); }
}

/* --- Integrated Newsletter Section --- */
.newsletter-section {
    margin-bottom: 60px;
}

.glass-newsletter-pane {
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(23, 62, 95, 0.05);
}

.glass-newsletter-pane h3 {
    color: #173e5f;
    font-weight: 800;
    font-size: 2rem;
}

.glass-newsletter-pane p {
    color: #5a6e7f;
    font-weight: 500;
}

/* --- Form Elements --- */
.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(88, 153, 208, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    color: #173e5f;
}

.btn-subscribe {
    background: #173e5f;
    color: white;
    border-radius: 15px;
    padding: 0 35px;
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-subscribe:hover {
    background: #5899d0;
    color: white;
    transform: translateY(-2px);
}

/* --- Link Widgets --- */
.footer-link-heading {
    color: #173e5f;
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.footer-nav {
    list-style: none;
    padding: 0;
}

.footer-nav li {
    margin-bottom: 12px;
}

.footer-nav li a {
    color: #5a6e7f;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
    display: inline-block;
}

.footer-nav li a:hover {
    color: #5899d0;
    transform: translateX(5px);
}

/* --- Bottom Bar --- */
.footer-bottom-bar {
    background: rgba(248, 251, 255, 0.5);
    padding: 20px 0;
    border-top: 1px solid rgba(237, 242, 247, 0.8);
    margin-top: 40px;
}

/* footer ends here */


/* faq starts here */

    /* --- Main FAQ Section --- */
    .faq-sanctuary {
        padding: 100px 0;
        background: #fbfdff;
        position: relative;
        overflow: hidden;
    }

    /* --- Left Side: Visual Grid & Glass Content --- */
    .faq-visual-container {
        position: relative;
        height: 100%;
        min-height: 500px;
    }

    /* Modern Image Grid */
    .faq-image-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        grid-template-rows: repeat(12, 1fr);
        gap: 15px;
        height: 100%;
        position: absolute;
        top: 0; left: 0;
        width: 100%;
        z-index: 1;
    }

    .faq-grid-item {
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.08);
    }

    .faq-grid-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Positioning the images in the grid */
    .faq-img-1 { grid-column: 1 / 8; grid-row: 1 / 7; }
    .faq-img-2 { grid-column: 8 / 13; grid-row: 2 / 6; }
    .faq-img-3 { grid-column: 2 / 7; grid-row: 7 / 12; }
    .faq-img-4 { grid-column: 7 / 13; grid-row: 6 / 13; }

    /* Floating Glass Box */
    .faq-glass-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 85%;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 30px;
        padding: 40px;
        z-index: 10;
        border: 1px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 40px 80px rgba(23, 62, 95, 0.15);
    }

    .faq-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #5899d0;
        font-weight: 500;
        margin-bottom: 15px;
        display: block;
    }

    /* --- Right Side: FAQs Accordion --- */
    .faq-accordion .accordion-item {
        background: #ffffff;
        border: 1px solid #f1f4f8;
        border-radius: 20px !important;
        margin-bottom: 15px;
        overflow: hidden;
        box-shadow: 0 10px 25px rgba(23, 62, 95, 0.04);
        transition: 0.3s ease;
    }

    .faq-accordion .accordion-item:hover {
        border-color: #eef6ff;
        box-shadow: 0 15px 35px rgba(88, 153, 208, 0.08);
        transform: translateY(-2px);
    }

    .faq-accordion .accordion-button {
        padding: 22px 25px;
        font-weight: 600;
        color: #173e5f;
        font-size: 16px;
        background-color: #ffffff;
        border: none;
        box-shadow: none !important;
    }

    /* FIX: Removing the double arrow by resetting the default ::after */
    .faq-accordion .accordion-button::after {
        content: "";
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23173e5f'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
        background-repeat: no-repeat;
        background-size: 1.2rem;
        transition: transform 0.3s ease;
    }

    .faq-accordion .accordion-button:not(.collapsed) {
        color: #5899d0;
        background-color: #f8fbff;
        border-bottom: 1px solid #eef2f6;
    }

    .faq-accordion .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235899d0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
        transform: rotate(-180deg);
    }

    .faq-accordion .accordion-body {
        padding: 25px;
        color: #5a6e7f;
        font-size: 15px;
        line-height: 1.8;
        background-color: #fcfdfe;
    }

    /* Button Styling */
    .theme-btn-sanctuary {
        background-color: #5899d0;
        color: white;
        transition: 0.3s;
    }
    .theme-btn-sanctuary:hover {
        background-color: #173e5f;
        color: white;
    }

    /* --- Responsive Tweaks --- */
    @media (max-width: 991px) {
        .faq-sanctuary { padding: 60px 0; }
        .faq-visual-container { min-height: auto; margin-bottom: 40px; }
        .faq-image-grid { position: relative; height: 350px; margin-bottom: -100px; }
        .faq-glass-content { position: relative; transform: none; top: auto; left: auto; width: 100%; padding: 30px; margin: 0 auto; }
        .faq-accordion .accordion-button { padding: 18px 20px; font-size: 15px; }
    }

    /* faq ends here */

    /*index page starts here */

    :root {
        /* Lighter theme accent */
        --theme-color: #5899d0; 
    }

    /* 1. Ultra-Light Gradient Background */
    .hero-area.premium-meditation {
        /* Very light, airy, pastel-inspired linear gradient */
        background: linear-gradient(
            135deg, 
            #fdfbfb 0%, /* Clean white start */
            #dff1fb 40%, /* Hint of sky blue */
            #fdf5f5 75%, /* Soft touch of peach/pink */
            #ecfafc 100% /* Crisp cool-toned finish */
        ) !important;
        min-height: 100vh;
        padding-top: 100px;
        padding-bottom: 80px;
        display: flex;
        align-items: center;
        overflow: hidden;
        position: relative;
    }

    /* Soft Liquid Background Elements - much more subtle now */
    .hero-area::before, .hero-area::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(120px); /* Even softer blur */
        z-index: 0;
        opacity: 0.25; /* Highly transparent for subtlety */
    }

    .hero-area::before {
        width: 700px;
        height: 700px;
        background: #cfeaff; /* Light baby blue */
        top: -15%;
        right: -10%;
        animation: moveLiquid 20s infinite alternate ease-in-out;
    }

    .hero-area::after {
        width: 600px;
        height: 600px;
        background: #fdf2f2; /* Light blush peach */
        bottom: -15%;
        left: -10%;
        animation: moveLiquid 15s infinite alternate-reverse ease-in-out;
    }

    @keyframes moveLiquid {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(80px, 120px) scale(1.1); }
    }

    /* 2. Light, Elegant Frosted Glass Content Card */
    .hero-glass-container {
        /* Slightly more 'frosted white' appearance */
        background: rgba(255, 255, 255, 0.25); /* Increase opacity for better text contrast on light BG */
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border: 2px solid rgba(255, 255, 255, 0.4); /* Thicker, more pronounced white border */
        border-radius: 35px; /* Slightly softer corners */
        padding: 50px;
        position: relative;
        z-index: 2;
        box-shadow: 0 30px 60px rgba(100, 100, 110, 0.1); /* Very subtle, light-colored shadow */
    }

    /* 3. Typography - dark text for contrast on light BG */
    .hero-badge {
        display: inline-block;
        padding: 8px 20px;
        background: rgba(100, 100, 110, 0.05); /* Light gray transparent background */
        border: 1px solid rgba(100, 100, 110, 0.1);
        border-radius: 50px;
        color: #555555; /* Mid-gray text */
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 2.5px;
        text-transform: uppercase;
        margin-bottom: 25px;
    }

    .hero-heading {
        font-size: 3.5rem;
        font-weight: 500;
        color: #1a3c5a; /* Rich, dark indigo for headings */
        line-height: 1.15;
        margin-bottom: 25px;
    }

    .hero-subtext {
        font-size: 1.05rem;
        font-weight: 400;
        color: #666666; /* Medium-dark gray subtext */
        line-height: 1.75;
        margin-bottom: 40px;
    }

    .btn-glass-action {
        background: #1a3c5a; /* Primary color background */
        color: #ffffff; /* White text */
        padding: 15px 40px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 15px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 12px;
        transition: all 0.4s ease;
        box-shadow: 0 10px 20px rgba(26, 60, 90, 0.2);
    }

    .btn-glass-action:hover {
        background: #0d1e2e; /* Darker indigo on hover */
        transform: translateY(-4px);
        box-shadow: 0 15px 30px rgba(26, 60, 90, 0.3);
    }

    /* 4. Reduced Size Four-Image Grid Layout */
    .meditation-img-wrap.floating-grid {
        max-width: 90%; /* Limits the overall size of the grid container */
        margin-left: auto;
        margin-right: auto;
    }

    .image-grid-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 18px; /* Slightly tighter gap */
        position: relative;
        z-index: 2;
    }

    .grid-img-item {
        width: 100%;
        aspect-ratio: 1/1; /* Keeps them perfect squares */
        object-fit: cover;
        border-radius: 18px; /* Slightly softer corners */
        border: 2px solid rgba(255, 255, 255, 0.5); /* Pronounced white border like the glass box */
        box-shadow: 0 15px 35px rgba(100, 100, 110, 0.15); /* Soft, light shadow */
        transition: transform 0.5s ease;
    }



    @keyframes softFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-18px); }
    }

    .glass-glow-accent-large {
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(255, 255, 255, 0.1);
        filter: blur(80px);
        z-index: -1;
        border-radius: 50%;
    }

    /* Section Base */
    .about-meditation {
        padding: 80px 0;
        background-color: #ffffff;
        position: relative;
        overflow: hidden;
    }

    /* Elegant Background Glow */
    .about-meditation::before {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(168, 208, 240, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
        top: 0;
        left: -150px;
        z-index: 0;
    }

    /* Content Styling */
    .about-label {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: var(--theme-color);
        font-weight: 500;
        display: inline-block;
        margin-bottom: 20px;
        padding-bottom: 5px;

    }

    .about-title {
        font-size: 3rem;
        color: #1a3c5a;
        font-weight: 500;
        line-height: 1.2;
        margin-bottom: 30px;
    }

    .about-description {
        font-size: 1.1rem;
        color: #5a6e7f;
        line-height: 1.8;
        margin-bottom: 45px;
    }

    /* Modern Feature Cards */
    .feature-card {
        padding: 35px;
        border-radius: 30px;
        background: #e9f3fe;
        border: 1px solid #f0f4f8;
        transition: all 0.4s ease;
        height: 100%;
    }

    .feature-icon-box {
        width: 55px;
        height: 55px;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 18px;
        margin-bottom: 25px;
        color: #1a3c5a;
        font-size: 22px;
        box-shadow: 0 10px 25px rgba(26, 60, 90, 0.06);
    }

    .feature-card h4 {
        font-size: 1.3rem;
        color: #1a3c5a;
        margin-bottom: 12px;
        font-weight: 600;
    }

    .feature-card p {
        font-size: 0.95rem;
        color: #7a8b9a;
        line-height: 1.6;
        margin: 0;
    }

    /* Image Polish */
    .about-img-container {
        position: relative;
        padding: 20px;
    }

    .about-img-main {
        width: 100%;
        border-radius: 45px;
        box-shadow: 0 40px 80px rgba(26, 60, 90, 0.07);
        display: block;
    }

    /* Floating Badge */
    .experience-badge {
        position: absolute;
        bottom: 0;
        right: 0;
        background: #1a3c5a;
        color: #ffffff;
        padding: 30px;
        border-radius: 30px;
        box-shadow: 0 25px 50px rgba(26, 60, 90, 0.2);
        min-width: 160px;
        text-align: center;
    }

    .exp-number {
        display: block;
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1;
        margin-bottom: 5px;
    }

    .exp-text {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        opacity: 0.8;
        font-weight: 500;
    }
    

    /* Section Base & Background Liquid */
        .courses-integrated-section {
            padding: 80px 0;
            position: relative;
            overflow: hidden;
            background: #dbeaf6;
        }

        .courses-integrated-section::before {
            content: "";
            position: absolute;
            width: 140%;
            height: 140%;
            top: -20%;
            left: -20%;
            background: radial-gradient(circle, var(--theme-color) 0%, transparent 65%);
            opacity: 0.1;
            z-index: 0;
            /* Smoother, slower liquid movement */
            animation: smoothLiquid 25s infinite alternate ease-in-out;
        }

        @keyframes smoothLiquid {
            0% {
                transform: translate(0, 0) scale(1) rotate(0deg);
            }

            50% {
                transform: translate(5%, 10%) scale(1.1) rotate(45deg);
            }

            100% {
                transform: translate(-5%, 5%) scale(1) rotate(90deg);
            }
        }

        /* Left Content: Frosted Glass with Morph Animation */
        .glass-intro-card {
            padding: 50px;
            border-radius: 30px;
            background: rgba(255, 255, 255, 0.45);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            z-index: 2;
            position: relative;
            /* Gentle entrance animation */
            animation: fadeInSlide 1.2s ease-out;
        }

        @keyframes fadeInSlide {
            from {
                opacity: 0;
                transform: translateX(-30px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        /* Typography - Strictly max font-weight 500 */
        .glass-intro-card h2 {
            font-size: 2.8rem;
            font-weight: 500;
            /* Max Weight */
            color: #1a1a1a;
            line-height: 1.2;
            margin-bottom: 20px;
        }

        .glass-intro-card p,
        .course-info p,
        .course-info h5,
        .btn-course {
            font-weight: 400;
            /* Regular weight */
            color: #555;
            line-height: 1.6;
        }

        .course-info h5 {
            font-weight: 500;
            /* Max Weight */
            font-size: 1.25rem;
            color: #222;
        }

        /* Right Side: Course Cards with Float Animation */
        .course-card-modern {
            background: #ffffff;
            border-radius: 20px;
            overflow: hidden;
            border: 1px solid rgba(0, 0, 0, 0.04);
            transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
            height: 100%;
            display: flex;
            flex-direction: column;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
        }

        /* Hover: Lift and Glow */
        .course-card-modern:hover {
            transform: translateY(-12px);
            border-color: var(--theme-color);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        }

        .course-image-wrapper {
            width: 100%;
            height: 180px;
            overflow: hidden;
            position: relative;
        }

        .course-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
        }

        .course-card-modern:hover .course-image-wrapper img {
            transform: scale(1.08);
            /* Subtle zoom */
        }

        .course-info {
            padding: 24px;
            flex-grow: 1;
        }

        .btn-course {
            font-size: 14px;
            color: var(--theme-color);
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 15px;
            transition: gap 0.3s ease;
        }

        .btn-course:hover {
            gap: 12px;
            /* Animated arrow nudge */
        }

        /* Staggered card appearance */
        .course-card-wrapper:nth-child(1) {
            animation: fadeInUp 0.6s ease-out forwards;
        }

        .course-card-wrapper:nth-child(2) {
            animation: fadeInUp 0.8s ease-out forwards;
        }

        .course-card-wrapper:nth-child(3) {
            animation: fadeInUp 1.0s ease-out forwards;
        }

        .course-card-wrapper:nth-child(4) {
            animation: fadeInUp 1.2s ease-out forwards;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }


          /* 1. Enhanced Section Base - Deep Navy */
.top-categories-area.custom-navy-bg {
    background: #173e5f !important;
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    z-index: 1;
}

/* Advanced Liquid Parallax Layer */
.top-categories-area.custom-navy-bg::before {
    content: "";
    position: absolute;
    width: 250%;
    height: 250%;
    top: -75%;
    left: -75%;
    background: radial-gradient(circle at 30% 30%, var(--theme-color) 0%, transparent 40%),
                radial-gradient(circle at 70% 70%, #2a5a82 0%, transparent 40%);
    opacity: 0.18; /* Subtle presence */
    z-index: 0;
    animation: advancedLiquid 30s infinite alternate ease-in-out;
}

@keyframes advancedLiquid {
    0% { transform: rotate(0deg) scale(1) translate(0, 0); }
    100% { transform: rotate(180deg) scale(1.3) translate(5%, 5%); }
}

/* 2. Advanced Image-Glass Cards */
.top-cat-item.advanced-glass {
    height: 240px; /* Taller for more immersive meditation imagery */
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 30px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Text at bottom */
}

/* Background Image Layer inside Card */
.cat-bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.25; /* Subtle presence against dark bg */
    transition: 0.6s ease;
    filter: grayscale(100%); /* Elegant Unified Look */
}

.top-cat-item.advanced-glass:hover .cat-bg-img {
    opacity: 0.6;
    filter: grayscale(0%); /* Brings peaceful color on hover */
    transform: scale(1.15); /* Immersive zoom */
}

/* Hover: Inner Glow & Lift */
.top-cat-item.advanced-glass:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 
                inset 0 0 20px rgba(255, 255, 255, 0.1);
}

/* Content Text */
.feature-content h6 {
    color: #ffffff;
    font-weight: 500; /* Strictly 500 */
    font-size: 1.3rem; /* Slightly larger for clarity */
    margin-bottom: 5px;
}

.feature-content p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400; /* Strictly 400 */
    font-size: 14px;
    margin: 0;
    line-height: 1.5;
}

/* Category Index Number (Elegant Detail) */
.cat-index {
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

/* Button Styling (Consistent) */
.btn-all-categories {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 500;
    transition: 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-all-categories:hover {
    background: var(--theme-color);
    border-color: var(--theme-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* 1. Section & Liquid Background - Reduced Padding */
    .custom-stories-section {
        padding: 60px 0; /* Reduced from 80px */
        background: #f3f3f3;
        position: relative;
        overflow: hidden;
    }

    .liquid-blob {
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        z-index: 1;
        opacity: 0.3;
    }
    .blob-top { width: 600px; height: 600px; background: #a8d0f0; top: -10%; right: -5%; animation: liquidMove 20s infinite alternate; }
    .blob-bottom { width: 500px; height: 500px; background: #fdf2f2; bottom: -10%; left: -5%; animation: liquidMove 15s infinite alternate-reverse; }

    @keyframes liquidMove {
        0% { transform: translate(0, 0) scale(1); }
        100% { transform: translate(50px, 100px) scale(1.1); }
    }

    /* 2. Header - Compact Spacing */
    .section-header {
        text-align: center;
        margin: 0 auto 10px; /* Reduced from 60px/10px to a balanced 30px */
        position: relative;
        z-index: 2;
    }

    .header-badge {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 3px;
        color: #8bbce4;
        font-weight: 600;
        display: inline-block;
        margin-bottom: 8px; /* Reduced margin */
        padding: 4px 12px;
        background: rgba(168, 208, 240, 0.1);
        border-radius: 50px;
    }

    .header-title {
        font-size: 2.8rem; /* Slightly smaller for compactness */
        color: #1a3c5a;
        font-weight: 500;
        line-height: 1.1;
    }

    /* 3. Slider Container - Optimized Height */
    .slider-viewport {
        position: relative;
        z-index: 2;
        max-width: 1000px;
        margin: 0 auto;
    }

    .stories-wrapper {
        position: relative;
        height: 480px; /* Reduced from 550px to pull controls up */
    }

    .story-slide {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        opacity: 0;
        visibility: hidden;
        transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        align-items: center;
    }

    .story-slide.active {
        opacity: 1;
        visibility: visible;
    }

    /* 4. Frosted Glass Card - Internal Padding Tightened */
    .glass-card {
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(30px) saturate(150%);
        -webkit-backdrop-filter: blur(30px) saturate(150%);
        border: 1px solid rgba(255, 255, 255, 0.6);
        border-radius: 40px; /* Slightly tighter radius */
        padding: 40px; /* Reduced from 50px */
        display: flex;
        width: 100%;
        box-shadow: 0 40px 100px rgba(0, 0, 0, 0.03);
    }

    .slide-content { flex: 1.2; padding-right: 30px; }
    .slide-video { flex: 1; }

    .video-inner {
        position: relative;
        border-radius: 25px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.1);
        aspect-ratio: 16/10;
        background: #000;
    }

    .video-inner img { width: 100%; height: 100%; object-fit: cover; }

    .custom-play-btn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60px; /* Slightly smaller */
        height: 60px;
        background: rgba(255,255,255,0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255,255,255,0.4);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        transition: 0.3s;
    }

    .custom-play-btn:hover { background: #fff; color: #1a3c5a; transform: translate(-50%, -50%) scale(1.1); }

    .meta-tag { font-size: 9px; letter-spacing: 2.5px; color: #8bbce4; text-transform: uppercase; font-weight: 700; margin-bottom: 12px; display: block; }
    .quote-text { font-size: 1.45rem; color: #1a3c5a; line-height: 1.4; font-weight: 500; margin-bottom: 20px; }
    .author-info h5 { margin: 0; color: #1a3c5a; font-weight: 700; font-size: 1.1rem; }
    .author-info span { font-size: 11px; color: #7a8b9a; }

    /* 5. Custom Glass Controls - Pulled In */
    .slider-controls {
        display: flex;
        justify-content: center;
        gap: 15px;
        margin-top: -10px; /* Negative margin to pull controls closer to the card */
        position: relative;
        z-index: 3;
    }

    .nav-btn {
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: #1a3c5a;
        font-size: 16px;
        transition: 0.3s;
    }

    .nav-btn:hover { background: #1a3c5a; color: #fff; transform: translateY(-2px); }

    @media (max-width: 991px) {
        .glass-card { flex-direction: column; padding: 25px; }
        .slide-content { padding-right: 0; margin-bottom: 20px; text-align: center; }
        .stories-wrapper { height: auto; min-height: 600px; }
        .story-slide { position: relative; } /* Fix for mobile auto-height */
        .slider-controls { margin-top: 20px; }
    }

    /* 1. Section Base - Deep Navy #173e5f */
    .zen-faq-section {
        padding: 60px 0;
        background: linear-gradient(135deg, #173e5f 0%, #0d253a 100%) !important;
        position: relative;
        overflow: hidden;
    }

    /* Soft Liquid Glass Blobs for depth */
    .zen-faq-section::before, .zen-faq-section::after {
        content: "";
        position: absolute;
        border-radius: 50%;
        filter: blur(100px);
        z-index: 0;
        opacity: 0.12;
    }

    .zen-faq-section::before {
        width: 450px; height: 450px; background: #a8d0f0;
        top: -10%; right: -5%;
    }

    /* 2. Left Aligned Header */
    .faq-header {
        margin-bottom: 40px;
        position: relative;
        z-index: 2;
    }

    .faq-badge {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 4px;
        color: #a8d0f0;
        font-weight: 700;
        display: block;
        margin-bottom: 12px;
    }

    .faq-title {
        font-size: 2.8rem;
        color: #ffffff;
        font-weight: 500;
        line-height: 1.2;
    }

    /* 3. SOLID WHITE Accordion Styling */
    .zen-accordion .accordion-item {
        background: #ffffff; /* Solid White as requested */
        border: none;
        border-radius: 25px !important;
        margin-bottom: 18px;
        overflow: hidden;
        transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        position: relative;
        z-index: 2;
    }

    .zen-accordion .accordion-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 45px rgba(0, 0, 0, 0.25);
    }

    .zen-accordion .accordion-button {
        background: #ffffff;
        color: #173e5f;
        font-weight: 600;
        padding: 24px 30px;
        box-shadow: none;
        font-size: 1.1rem;
    }

    /* Active State Button */
    .zen-accordion .accordion-button:not(.collapsed) {
        color: #173e5f;
        background: #ffffff;
        padding-bottom: 15px; /* Create space for body */
    }

    /* FontAwesome Icon Polish */
    .zen-accordion .accordion-button::after {
        background-image: none;
        content: '\f067';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 14px;
        color: #8bbce4;
        transition: 0.3s;
    }

    .zen-accordion .accordion-button:not(.collapsed)::after {
        content: '\f068';
        color: #173e5f;
        transform: rotate(180deg);
    }

    .zen-accordion .accordion-body {
        padding: 5px 30px 25px;
        color: #5a6e7f;
        line-height: 1.8;
        font-size: 0.95rem;
        background: #ffffff;
    }

    /* 4. Right Side Visuals */
    .faq-img-wrapper {
        position: relative;
        z-index: 2;
    }

    .faq-main-img {
        width: 100%;
        border-radius: 40px;
        box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
        display: block;
    }

    /* Contact Glass Float - Matches your "Good as Glass" requirement */
    .contact-glass-float {
        position: absolute;
        bottom: -20px;
        left: -15px;
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(25px) saturate(180%);
        -webkit-backdrop-filter: blur(25px) saturate(180%);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 30px;
        border-radius: 35px;
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
        max-width: 300px;
    }

    .contact-glass-float h6 { color: #ffffff; font-weight: 700; margin-bottom: 10px; }
    .contact-glass-float p { font-size: 0.9rem; color: rgba(255, 255, 255, 0.85); margin-bottom: 0; line-height: 1.6; }
    .contact-glass-float a { color: #a8d0f0; text-decoration: underline; font-weight: 700; }

    @media (max-width: 991px) {
        .faq-img-wrapper { margin-top: 60px; }
        .faq-title { font-size: 2.2rem; }
    }

     /* 1. Section Base & Liquid Background */
    .premium-partners-section {
        padding: 60px 0;
        background: #f1f7fd; /* Matches your Zen section */
        position: relative;
        overflow: hidden;
    }

    /* Subtle Liquid Blob for visual continuity */
    .premium-partners-section::after {
        content: "";
        position: absolute;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(168, 208, 240, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
        bottom: -20%;
        right: -10%;
        z-index: 0;
    }

    /* 2. Left-Aligned Heading (Modern Style) */
    .partners-header {
        text-align: left;
        max-width: 600px;
        margin-bottom: 40px;
        position: relative;
        z-index: 2;
    }

    .partners-badge {
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 4px;
        color: #8bbce4;
        font-weight: 700;
        display: inline-block;
        margin-bottom: 12px;
    }

    .partners-title {
        font-size: 2.6rem;
        color: #1a3c5a;
        font-weight: 500;
        line-height: 1.2;
    }

    /* 3. Frosted Logo Pods (Organic Pebble Shape) */
    .logo-grid-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        position: relative;
        z-index: 2;
    }

    .partner-glass-card {
        flex: 1;
        min-width: 180px;
        height: 100px;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 30px; /* Modern Pebble Shape */
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: 0 10px 30px rgba(168, 208, 240, 0.08);
    }

    .partner-glass-card:hover {
        transform: translateY(-8px);
        background: rgba(255, 255, 255, 0.7);
        border-color: #a8d0f0;
        box-shadow: 0 20px 40px rgba(168, 208, 240, 0.15);
    }

    /* Logo Image Polish */
    .partner-glass-card img {
        max-width: 80%;
        max-height: 50px;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: 0.5;
        transition: all 0.4s ease;
    }

    .partner-glass-card:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.05);
    }

    /* Mobile Logic */
    @media (max-width: 768px) {
        .partners-title { font-size: 1.8rem; }
        .partner-glass-card {
            min-width: 45%; /* Two columns on mobile */
            height: 90px;
        }
    }

       /* 1. Section Base */
        .zen-achievements {
            padding: 80px 0;
            /* Balanced padding */
            background: #f1f7fd;
            position: relative;
            overflow: hidden;
        }

        /* Soft Liquid Accents */
        .zen-achievements::before {
            content: "";
            position: absolute;
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, rgba(235, 248, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
            top: -20%;
            left: -10%;
            z-index: 0;
        }

        /* 2. Header - Left Aligned */
        .zen-header {
            text-align: left;
            /* Explicitly left-aligned */
            max-width: 600px;
            margin-bottom: 50px;
            position: relative;
            z-index: 2;
        }

        .header-badge {
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: 4px;
            color: #8bbce4;
            font-weight: 700;
            display: inline-block;
            margin-bottom: 12px;
            padding-left: 2px;
        }

        .zen-header h2 {
            font-size: 2.8rem;
            color: #1a3c5a;
            font-weight: 500;
            line-height: 1.2;
        }

        /* 3. Organic Glass Grid */
        .achieve-container {
            display: flex;
            justify-content: flex-start;
            /* Aligns items to start */
            align-items: stretch;
            flex-wrap: wrap;
            gap: 25px;
            position: relative;
            z-index: 2;
        }

        .zen-stat-box {
            flex: 1;
            min-width: 220px;
            padding: 45px 25px;
            background: rgba(255, 255, 255, 0.4);
            backdrop-filter: blur(20px) saturate(160%);
            -webkit-backdrop-filter: blur(20px) saturate(160%);
            border: 1px solid rgba(255, 255, 255, 0.8);
            border-radius: 50px;
            /* High-end rounded Pebble look */
            text-align: center;
            transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
            box-shadow: 0 15px 35px rgba(168, 208, 240, 0.1);
        }

        .zen-stat-box:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.7);
            border-color: #a8d0f0;
            box-shadow: 0 30px 60px rgba(168, 208, 240, 0.2);
        }

        /* 4. Icon Polish */
        .zen-icon-wrap {
            width: 65px;
            height: 65px;
            margin: 0 auto 25px;
            background: #ffffff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #1a3c5a;
            font-size: 22px;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
            position: relative;
        }

        .zen-icon-wrap::after {
            content: "";
            position: absolute;
            width: 100%;
            height: 100%;
            border-radius: 50%;
            border: 1px solid rgba(168, 208, 240, 0.5);
            animation: pulseZen 3s infinite;
        }

        @keyframes pulseZen {
            0% {
                transform: scale(1);
                opacity: 0.6;
            }

            100% {
                transform: scale(1.4);
                opacity: 0;
            }
        }

        .zen-number {
            display: block;
            font-size: 2.4rem;
            font-weight: 500;
            color: #1a3c5a;
            letter-spacing: -1px;
            margin-bottom: 5px;
        }

        .zen-label {
            font-size: 11px;
            text-transform: uppercase;
            letter-spacing: 2.5px;
            color: #7a8b9a;
            font-weight: 600;
        }

        /* 5. Mobile Responsiveness */
        @media (max-width: 991px) {
            .zen-header h2 {
                font-size: 2.2rem;
            }

            .zen-stat-box {
                min-width: calc(50% - 25px);
            }
        }

        @media (max-width: 576px) {
            .zen-header {
                text-align: center;
            }

            /* Optional: Center on mobile for better balance */
            .zen-header h2 {
                font-size: 1.8rem;
            }

            .zen-stat-box {
                min-width: 100%;
            }

            .zen-achievements {
                padding: 60px 15px;
            }
        }


/* regiter page css */

 /* --- Section & Layout --- */
    .register-split-sanctuary {
        min-height: 100vh;
        background: #f0f4f8;
        display: flex;
        align-items: center;
        padding: 70px 15px 70px;
    }

    .sanctuary-master-card {
        max-width: 1000px; /* Slightly wider for registration */
        margin: 0 auto;
        background: #fff;
        border-radius: 30px;
        box-shadow: 0 40px 80px rgba(23, 62, 95, 0.12);
        border: 1px solid rgba(23, 62, 95, 0.05);
        overflow: hidden;
    }

    /* --- Left Visual Box (Registration Focus) --- */
    .register-visual-box {
        height: 100%;
        min-height: 600px;
        position: relative;
        background: #173e5f;
    }

    .visual-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.75;
    }

    .visual-glass-overlay {
        position: absolute;
        bottom: 30px;
        left: 30px;
        right: 30px;
        background: rgba(23, 62, 95, 0.7);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border-radius: 24px;
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 30px;
    }

    /* --- Form Elements --- */
    .mini-label {
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        color: #5a6e7f;
        letter-spacing: 0.8px;
        margin-bottom: 6px;
        display: block;
    }

    .sanctuary-input-wrapper {
        position: relative;
        margin-bottom: 18px;
    }

    .sanctuary-input-wrapper i {
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #5899d0;
        font-size: 14px;
    }

    .sanctuary-input-wrapper .form-control {
        padding: 12px 12px 12px 45px;
        background: #f8fbff;
        border: 1px solid #eef2f6;
        border-radius: 12px;
        font-size: 14px;
        transition: 0.3s;
    }

    .sanctuary-input-wrapper .form-control:focus {
        background: #fff;
        border-color: #5899d0;
        box-shadow: 0 0 0 4px rgba(88, 153, 208, 0.1);
    }

    /* --- Custom Checkbox --- */
    .form-check-input:checked {
        background-color: #5899d0;
        border-color: #5899d0;
    }

    /* --- Buttons --- */
    .btn-healthfulness-primary {
        background: #173e5f;
        color: #ffffff;
        border: none;
        padding: 14px 35px;
        border-radius: 12px;
        font-weight: 700;
        font-size: 15px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(23, 62, 95, 0.2);
        width: 100%;
    }

    .btn-healthfulness-primary:hover {
        background: #5899d0;
        color: #fff;
        transform: translateY(-2px);
    }

    .btn-social-outline {
        background: #fff;
        border: 1px solid #eef2f6;
        color: #173e5f;
        padding: 10px;
        border-radius: 10px;
        font-size: 13px;
        font-weight: 600;
        transition: 0.3s;
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .btn-social-outline:hover {
        border-color: #5899d0;
        background: #f8fbff;
    }

    /* --- Responsive --- */
    @media (max-width: 991px) {
        .register-visual-box { min-height: 300px; }
        .login-form-box { padding: 35px 20px !important; }
    }

    /* register page css end */


      /* --- Page Container --- */
    .policy-sanctuary {
        padding: 100px 0;
        background: #fbfdff;
        /* Subtle background gradient to make glass pop */
        background: radial-gradient(circle at top right, #f0f7ff 0%, #fbfdff 100%);
    }

    /* --- Frosted Glass Card Style --- */
    .glass-policy-card {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 24px;
        padding: 40px;
        margin-bottom: 30px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.04);
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .glass-policy-card:hover {
        border-color: rgba(88, 153, 208, 0.3);
        transform: translateY(-2px);
    }

    .glass-policy-card h3 {
        color: #173e5f;
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .glass-policy-card h3 i {
        color: #5899d0;
        font-size: 1.1rem;
    }

    .glass-policy-card p, .glass-policy-card li {
        font-weight: 500;
        color: #5a6e7f;
        font-size: 15px;
        line-height: 1.7;
    }

    /* --- Sidebar Navigation --- */
    .glass-sidebar {
        position: sticky;
        top: 100px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 25px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    }

    .policy-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .policy-nav li a {
        display: block;
        padding: 12px 15px;
        color: #5a6e7f;
        font-weight: 500;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        border-radius: 10px;
        margin-bottom: 5px;
    }

    .policy-nav li a:hover, .policy-nav li a.active {
        background: #173e5f;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(23, 62, 95, 0.15);
    }

    /* --- Primary Action Button --- */
    .btn-primary-glass {
        background: #173e5f;
        color: #ffffff;
        border: none;
        padding: 12px 28px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        transition: 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .btn-primary-glass:hover {
        background: #5899d0;
        color: #ffffff;
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(88, 153, 208, 0.25);
    }

    /* Adjust scroll padding for nav links */
    html {
        scroll-behavior: smooth;
        scroll-padding-top: 120px;
    }

    @media (max-width: 991px) {
        .glass-sidebar { position: relative; top: 0; margin-bottom: 40px; }
    }




       /* --- Main Section Base (Matching your Course Page) --- */
    .courses-sanctuary-area {
        padding: 60px 0 100px;
        background: #eef8fd;
        position: relative;
    }

    .sanctuary-filter-bar {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        border-radius: 30px;
        padding: 25px 40px;
        margin-bottom: 50px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.03);
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    /* --- Category Card Styling --- */
    .category-editorial-card {
        display: block;
        text-decoration: none;
        border-radius: 40px;
        overflow: hidden;
        position: relative;
        height: 450px;
        transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }

    .category-thumb {
        width: 100%;
        height: 100%;
        position: relative;
    }

    .category-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    /* --- Glass Overlay Content --- */
    .category-glass-overlay {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        background: rgba(255, 255, 255, 0.75);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 30px;
        padding: 30px;
        transition: all 0.4s ease;
    }

    .category-name {
        color: #173e5f;
        font-weight: 700;
        font-size: 1.6rem;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .course-count {
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: #5899d0;
        font-weight: 700;
        margin-bottom: 8px;
        display: block;
    }

    .category-desc {
        font-size: 14px;
        color: #5a6e7f;
        font-weight: 500;
        margin-bottom: 20px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .explore-btn {
        font-size: 13px;
        font-weight: 700;
        color: #173e5f;
        display: flex;
        align-items: center;
        transition: 0.3s;
    }

    /* --- Hover Effects --- */
    .category-editorial-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 30px 60px rgba(23, 62, 95, 0.12);
    }

    .category-editorial-card:hover .category-thumb img {
        transform: scale(1.1);
    }

    .category-editorial-card:hover .category-glass-overlay {
        background: #173e5f;
        border-color: #173e5f;
    }

    .category-editorial-card:hover .category-name,
    .category-editorial-card:hover .category-desc,
    .category-editorial-card:hover .explore-btn {
        color: #ffffff;
    }

    .category-editorial-card:hover .course-count {
        color: #5899d0;
    }

    .category-editorial-card:hover .explore-btn i {
        transform: translateX(5px);
    }

    /* --- Filter Input --- */
    .sanctuary-input {
        background: #ffffff;
        border: 1px solid rgba(88, 153, 208, 0.2);
        border-radius: 15px;
        padding: 12px 20px;
        color: #173e5f;
        font-weight: 500;
    }

    @media (max-width: 768px) {
        .category-editorial-card { height: 400px; }
        .category-name { font-size: 1.3rem; }
    }





    /* --- Page Container --- */
    .refund-sanctuary {
        padding: 100px 0;
        background: radial-gradient(circle at top right, #f0f7ff 0%, #fbfdff 100%);
    }

    /* --- Frosted Glass Card Style --- */
    .glass-refund-card {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 24px;
        padding: 40px;
        margin-bottom: 30px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.04);
        transition: transform 0.3s ease, border-color 0.3s ease;
    }

    .glass-refund-card:hover {
        border-color: rgba(88, 153, 208, 0.3);
        transform: translateY(-2px);
    }

    .glass-refund-card h3 {
        color: #173e5f;
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .glass-refund-card h3 i {
        color: #5899d0;
        font-size: 1.1rem;
    }

    .glass-refund-card p, .glass-refund-card li {
        font-weight: 500;
        color: #5a6e7f;
        font-size: 15px;
        line-height: 1.7;
    }

    /* --- Sidebar Navigation --- */
    .glass-sidebar {
        position: sticky;
        top: 100px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 25px;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    }

    .refund-nav {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .refund-nav li a {
        display: block;
        padding: 12px 15px;
        color: #5a6e7f;
        font-weight: 500;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        border-radius: 10px;
        margin-bottom: 5px;
    }

    .refund-nav li a:hover, .refund-nav li a.active {
        background: #173e5f;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(23, 62, 95, 0.15);
    }

    /* --- Primary Action Button --- */
    .btn-primary-glass {
        background: #173e5f;
        color: #ffffff;
        border: none;
        padding: 12px 28px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 14px;
        transition: 0.3s;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
    }

    .btn-primary-glass:hover {
        background: #5899d0;
        color: #ffffff;
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(88, 153, 208, 0.25);
    }

    html {
        scroll-behavior: smooth;
        scroll-padding-top: 120px;
    }

    @media (max-width: 991px) {
        .glass-sidebar { position: relative; top: 0; margin-bottom: 40px; }
    }



     /* Reuse the same CSS from Privacy/Refund policies for consistency */
    .terms-sanctuary {
        padding: 100px 0;
        background: radial-gradient(circle at top right, #f0f7ff 0%, #fbfdff 100%);
    }

    .glass-terms-card {
        background: rgba(255, 255, 255, 0.45);
        backdrop-filter: blur(20px) saturate(160%);
        -webkit-backdrop-filter: blur(20px) saturate(160%);
        border: 1px solid rgba(255, 255, 255, 0.7);
        border-radius: 24px;
        padding: 40px;
        margin-bottom: 30px;
        box-shadow: 0 15px 35px rgba(23, 62, 95, 0.04);
        transition: transform 0.3s ease;
    }

    .glass-terms-card h3 {
        color: #173e5f;
        font-size: 1.35rem;
        font-weight: 700;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .glass-terms-card p, .glass-terms-card li {
        font-weight: 500; /* Medium weight as requested */
        color: #5a6e7f;
        font-size: 15px;
        line-height: 1.7;
    }

    .glass-sidebar {
        position: sticky;
        top: 100px;
        background: rgba(255, 255, 255, 0.6);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.8);
        padding: 25px;
        border-radius: 20px;
    }

    .terms-nav {
        list-style: none;
        padding: 0;
    }

    .terms-nav li a {
        display: block;
        padding: 12px 15px;
        color: #5a6e7f;
        font-weight: 500;
        text-decoration: none;
        font-size: 14px;
        transition: 0.3s;
        border-radius: 10px;
    }

    .terms-nav li a.active {
        background: #173e5f;
        color: #ffffff;
    }

    .btn-primary-glass {
        background: #173e5f;
        color: #ffffff;
        padding: 12px 28px;
        border-radius: 12px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        text-decoration: none;
        transition: 0.3s;
    }

    .btn-primary-glass:hover {
        background: #5899d0;
        color: #fff;
    }

    html { scroll-behavior: smooth; scroll-padding-top: 120px; }




    #mainNav {
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    height: 70px;
    display: flex;
    align-items: center;
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
}

/* ───── LOGO ───── */
.navbar-brand {
    font-weight: 700;
    font-size: 22px;
    color: #000 !important;
    flex-shrink: 0;
}
.navbar-brand span { color: var(--theme-color); }

/* ───── TOGGLER ───── */
.navbar-toggler {
    border: none;
    padding: 6px 8px;
    border-radius: 10px;
    background: var(--pill-bg);
}
.navbar-toggler:focus { box-shadow: none; outline: none; }
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%235899d0' stroke-width='2.5' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* ───── SEARCH BOX ───── */
.search-container {
    background: var(--pill-bg);
    border-radius: 50px;
    padding: 6px 15px;
    display: flex;
    align-items: center;
    width: 200px;
    border: 1.5px solid var(--theme-color);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.search-container:focus-within {
    border-color: var(--theme-color);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(88, 153, 208, 0.15);
    outline: none;
}
.search-container input {
    border: none;
    background: transparent;
    font-size: 14px;
    margin-left: 8px;
    width: 100%;
}
.search-container input:focus { outline: none; }

/* ───── COURSES BUTTON ───── */
.course-btn {
    background: white;
    color: #333 !important;
    border-radius: 50px;
    padding: 8px 20px !important;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.05);
    margin-left: 15px;
    white-space: nowrap;
}

/* ───── MEGA MENU ───── */
.mega-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px;
    background: rgba(255, 255, 255, 0.90) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.10);
    padding: 25px;
    transition: all 0.3s ease;
    transform: translateY(10px);
    z-index: 9999;
}
.nav-item.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-menu-title {
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    color: var(--theme-color);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}
.mega-menu a {
    display: block;
    padding: 8px 0;
    color: #555;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}
.mega-menu a:hover { color: var(--theme-color); }

/* ───── CENTER NAV LINKS ───── */
.center-nav .nav-link {
    color: #333 !important;
    font-weight: 500;
    font-size: 15px;
    margin: 0 10px;
}
.center-nav .nav-link:hover { color: var(--theme-color) !important; }

/* ───── RIGHT BUTTONS ───── */
.btn-login {
    color: #333 !important;
    font-weight: 600;
    margin-right: 15px;
    text-decoration: none;
    white-space: nowrap;
}
.btn-join {
    background: var(--theme-color) !important;
    color: white !important;
    border-radius: 50px !important;
    padding: 10px 25px !important;
    font-weight: 600;
    border: none;
    white-space: nowrap;
}

/* ───── MOBILE (max 991px) ───── */
@media (max-width: 991px) {
    #mainNav {
        height: auto;
        padding: 12px 0;
    }

    .navbar-collapse {
        background: rgba(255, 255, 255, 0.80) !important;
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        border-radius: 15px;
        padding: 20px;
        margin-top: 12px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    }

    /* Search full width on mobile */
    .search-container {
        width: 100%;
        margin-bottom: 12px;
    }

    /* Courses button full width */
    .course-btn {
        margin-left: 0;
        margin-bottom: 5px;
        width: 100%;
        text-align: left;
    }

    /* Mega menu: static, always visible when open */
    .mega-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        width: 100%;
        box-shadow: none;
        border-radius: 10px;
        background: var(--pill-bg) !important;
        padding: 15px;
        margin-top: 8px;
        display: none;
    }
    .nav-item.dropdown.open-mobile .mega-menu {
        display: block;
    }

    /* Center nav stacked */
    .center-nav { margin: 10px 0 !important; }
    .center-nav .nav-link {
        margin: 0;
        padding: 10px 0 !important;
        border-bottom: 1px solid rgba(0,0,0,0.05);
    }
    .center-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    /* Right buttons stacked */
    .d-flex.align-items-center:last-child {
        flex-direction: column;
        align-items: stretch !important;
        margin-top: 10px;
        gap: 10px;
    }
    .btn-login {
        margin-right: 0;
        text-align: center;
        padding: 10px;
        border: 1px solid rgba(0,0,0,0.08);
        border-radius: 50px;
    }
    .btn-join {
        text-align: center;
        padding: 12px 25px !important;
    }
}

/* ───── SMALL MOBILE (max 480px) ───── */
@media (max-width: 480px) {
    #mainNav .container-fluid { padding: 0 15px; }
    .navbar-brand { font-size: 18px; }
    .mega-menu .row > div { margin-bottom: 15px; }
}