        /* Specific CSS for  layouts */
        .custom-header {
            z-index: 1111;
        }


        .sleek-cta {
            padding: 3rem !important;
            padding-top: 7rem !important;
            padding-bottom: 7rem !important;
            margin-top: -1rem !important;
            margin-bottom: -1rem !important;

        }



        .logo-text {
            font-size: 1.5rem;
        }

.footer-custom {
    background: linear-gradient(to bottom, #3a3a3a, #2e2e2e, #2e2e2e);
    font-size: 1.2rem;
    line-height: 2;
}

        .footer-custom h4,
        .footer-custom h5 {
            font-size: 1.55rem;
            letter-spacing: 0.5px;
        }

        .footer-custom ul li a {
            display: inline-block;
            transition: transform 0.2s ease, color 0.3s ease, text-decoration 0.3s ease;
            line-height: 2.6;
        }

        .footer-custom ul li a:hover {
            color: teal;
            text-decoration: underline !important;
            transform: scale(1.2);
        }

        .footer-custom i.fab {
            transition: transform 0.3s ease;
        }

        .footer-custom i.fab:hover {
            transform: scale(1.2);
            color: #d1f5e8;
        }

        .footer-custom a.text-white:hover {
            color: #aef1e2 !important;
            text-decoration: underline;
        }

        @media (max-width: 991.98px) {
            .footer-custom .border-end {
                border: none !important;
            }

            .footer-custom .text-center {
                font-size: 0.9rem;
            }

            .footer-custom ul, h5 {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
        }


        /* This is the base for our absolute positioning */
        .footer-container-relative {
            position: relative;
        }

        /* This is the final, hard-coded divider */
        .footer-divider-absolute {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 48%;
            /* A bit of trial-and-error to find the right center point */
            width: 0.4px!important;
            background-image: repeating-linear-gradient(to bottom, darkslategray, aliceblue 2px, transparent 2px, transparent 6px);
            background-size: 1px 8px;
            background-repeat: repeat-y;
            z-index: 1;
        }


            #email::placeholder {
                color: #888888;
                opacity: 1;
            }

            #emailInput::placeholder,
            #messageInput::placeholder {
                color: #888888;
                opacity: 1;
            }

            #subscribe button:hover {
                color: #00b3b3!important;
            }

            #contactForm button:hover {
                background-color: teal;
                color: black!important;
                transition: 0.8s ease 0.8s ease;
                border:none;
            }

        /* * This media query ensures these styles only apply on large screens (lg)
         * so the layout behaves normally on smaller devices.
         */
        @media (min-width: 992px) {

            /* Styles for the absolute divider */
            .footer-divider-absolute {
                left: 47%;
                margin-left: -1px;
                /* Centers the 1px divider precisely */
            }

            /* Adds a responsive margin to the right column */
            .responsive-margin {
                margin-left: 2rem;
            }

        }


        .footer-custom .footer-container-relative p,
        .footer-custom .footer-container-relative a {
            color: #d9d9d9 !important;
        }



        .cookie-notice {
            position: fixed;
            bottom: 0;
            width: 100%;
            background: #005a54;
            padding: 1rem 1.5rem;
            z-index: 1050;
            display: none;
            animation: slideInUp 0.5s ease-in-out;
            font-size: 0.95rem;
        }

        .cookie-notice a {
            color: #fff;
            text-decoration: underline;
        }

        .cookie-notice .btn {
            font-size: 0.85rem;
            transition: all 0.3s ease;
        }

        .cookie-notice .btn:hover {
            opacity: 0.9;
        }

        @keyframes slideInUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }

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







        /* CSS for Nav Dropdown */

        /* Hide default Bootstrap dropdown arrow */
        .navbar .dropdown-toggle::after {
            display: none;
        }

        /* Position dropdown perfectly without gap */
.nav-tabs-custom.dropdown.position-relative > .dropdown-menu {
    top: 100%;
    margin-top: 0;
    padding: 0.75rem 0;
    border: none;
    border-radius: 0.5rem;
/*    background-color: rgba(255, 255, 255, 0.2) !important;*/
    background: linear-gradient( to right, rgba(255, 255, 255, 0.55), rgba(0, 180, 216, 0.35) ) !important;
    /*            backdrop-filter: blur(5px) !important;*/
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
    transition: opacity 0.2s ease;
    left: 50% !important;
    /* move dropdown menu to 50% */
    transform: translateX(-50%) !important;
    /* shift left by half its width */
    min-width: 150px;
    /* or adjust as needed */
    margin-top: 0.25rem;
    /* a little space below the nav */
    z-index: 1000;
}


        /* Show dropdown on hover */
        .nav-tabs-custom.dropdown:hover>.dropdown-menu {
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }


        /* Dropdown items match nav style */
        .nav-tabs-custom .dropdown-menu .dropdown-item {
            position: relative;
            color: black;
            font-weight: 500;
            padding: 0.5rem 1rem;
            line-height: 1.8;
            /* consistent line height */
            background: transparent !important;
            border: none;
            transition: color 0.5s ease;
        }

        /* .nav-tabs-custom .dropdown-menu .dropdown-item:hover {
                    color:darkslategray!important;
                } */

        /* Base for bar above dropdown items */
        .nav-tabs-custom .dropdown-menu .dropdown-item::before {
            content: "";
            position: absolute;
            top: -2.2px;
            /* Adjust vertical position */
            left: 50%;
            /* Center horizontally */
            transform: translateX(-50%);
            width: 60%;
            /* Bar width less than 100% */
            height: 3px !important;
            /* Fixed thickness */
            background: transparent;
            border-radius: 2px;
            /* Rounded edges */
            transition: background 0.5s ease;
        }

        .nav-tabs-custom .dropdown-menu .dropdown-item:hover::before {
            background: rgba(255, 255, 255, 0.3);
        }

        .nav-tabs-custom .dropdown-menu .dropdown-item.active-nav::before {
            background: #000;
            content: "";
            position: absolute;
            top: -2px;
            /* Adjust vertical position */
            left: 50%;
            /* Center horizontally */
            transform: translateX(-50%);
            width: 60%;
            /* Bar width less than 100% */
            height: 3px !important;
            /* Fixed thickness */
        }

        /* When you hover over an active menu item, change black bar to gray */
        .nav-tabs-custom .dropdown-menu .dropdown-item.active-nav:hover::before {
            background: rgba(255, 255, 255, 0.3);
        }

        .navbar-nav .dropdown-menu {
            position: absolute;
        }

        /* Make specific dropdown wider */
        .dropdown-education .dropdown-menu {
            min-width: 200px !important;
            /* adjust as needed */
        }

        .navbar-toggler-icon {
            background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='darkslategray' %3e%3cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h16'/%3e%3c/svg%3e") !important;
        }




        /* Desktop: Enable hover dropdowns */
        @media (min-width: 992px) {
            .navbar-nav .dropdown:hover .dropdown-menu {
                display: block;
            }
        }

        @media (max-width: 991.98px) {

            /* Make each nav item full width with no side margin */
            .navbar-nav .nav-item {
                margin: 0 !important;
            }

            /* For dropdown toggles (Work), remove extra right padding/margin */
            .navbar-nav .nav-item.dropdown>.nav-link {
                padding-right: 1rem !important;
                /* adjust as needed */
            }

            /* Dropdown menu full width under the toggle */
            .navbar-nav .dropdown-menu {
                left: 0 !important;
                right: 0 !important;
                margin-bottom: -13.5rem !important;
                box-shadow: none !important;
            }



            .nav-tabs-custom .nav-link.active-nav::before {
                width: 70px !important;
                left: 50% !important;
                /* Start centering */
                transform: translateX(-50%);
            }

            .nav-tabs-custom.dropdown.position-relative>.dropdown-menu {
                backdrop-filter: blur(40px) !important;
                background-color: rgba(255, 255, 255, 0.8) !important;
                -webkit-backdrop-filter: blur(25px) !important;
            }

            .nav-tabs-custom .dropdown-menu .dropdown-item {
                color: rgba(0, 0, 0, 0.8) !important;
            }
        }




        @media (max-width: 991px) {
            #videoTitle {
                font-size: 1.25rem;
            }

            #videoDescription {
                font-size: 0.95rem;
            }

            .video-info-scrollable {
                padding: 2rem !important;
                padding-top: 2rem !important;
                margin: 0 !important;
                display: flex !important;
                flex-direction: column;
                align-items: center !important;
                justify-content: flex-start !important;
                /* or center if you want vertical centering */
                width: 100%;
                max-width: 100%;
                box-sizing: border-box;
            }

            .modal-body iframe {
                top: 2rem !important;
                padding-bottom: 2rem !important;
            }

            .btn-close {

                z-index: 10000;
                margin-right: 0 !important;
            }
        }

        .btn-close {
            z-index: 10000 !important;
            padding-right: 2rem;
        }

        /* Fix for YouTube iframe buttons (pause/share/etc.) not working in modal on mobile */

        .modal,
        .modal-content,
        .modal-body {
            pointer-events: auto !important;
            z-index: 9999;
        }

        iframe {
            pointer-events: auto !important;
        }




/* Sample Submission Modal Styles */
#sampleSubmission * {
    margin: 2px;
    padding: 3px;
    box-sizing: border-box;
}

#sampleSubmission {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: flex-start;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}


@media(max-width:767px) {

    #sampleSubmission {
        align-items: center;
    }
}

@media (max-width: 991px) {
    #sampleSubmission {
        align-items: center;
        padding-top: 11rem;
        margin-top: 0; /* reset any large margin */
    }
}



#sampleSubmission.ss-active {
    display: flex;
    animation: ss-fadeIn 0.3s ease;
}

@keyframes ss-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.ss-modal-container {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 650px;
    width: calc(100% - 40px);
    overflow: visible;
    animation: ss-slideUp 0.5s ease-out;
    position: relative;
    min-height: min-content;
    margin: 40px auto;
}

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

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

.ss-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 24px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

    .ss-close-btn:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: rotate(90deg);
    }

.ss-header {
    background: linear-gradient( 120deg, #1fb7ae 0%, /* Teal */
    #3ac7c1 35%, /* Light Teal */
    #5a6fe8 75%, /* Soft Indigo */
    #7446b2 100% /* Purple Accent */
    );
    padding: 48px 40px;
    text-align: center;
    color: white;
    position: relative;
    border-radius: 15px !important;
    padding: 1rem !important;
    margin-top: 5px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
}

.ss-header-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.ss-header-subtitle {
    font-size: 14px;
    color: lightcyan !important;
}

.ss-form-content {
    padding: 48px 40px;
}

.ss-form-group {
    margin-bottom: 28px;
}

.ss-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.ss-input,
.ss-select,
.ss-textarea {
    width: 100%;
    padding: 14px 16px;
    padding-left: 1rem !important;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: white;
    color: #1f2937;
    font-family: inherit;
}

    .ss-input:focus,
    .ss-select:focus,
    .ss-textarea:focus {
        outline: none;
        border-color: #667eea;
        box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    }

.ss-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.ss-textarea {
    resize: vertical;
    min-height: 100px;
}

.ss-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ss-btn {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.ss-btn-primary {
    background: #1fb7ae; /* teal */

    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

    .ss-btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
        background: #199c93; /* slightly darker teal */
    }

    .ss-btn-primary:active {
        transform: translateY(0);
    }

    .ss-btn-primary:disabled {
        opacity: 0.6;
        cursor: not-allowed;
        transform: none;
    }

.ss-verification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: ss-fadeIn 0.3s ease;
}

    .ss-verification-modal.ss-active {
        display: flex;
    }

.ss-verification-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    animation: ss-scaleIn 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

@keyframes ss-scaleIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ss-modal-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.ss-modal-title {
    font-size: 24px;
    color: #1f2937;
    margin-bottom: 12px;
}

.ss-modal-text {
    color: #6b7280;
    margin-bottom: 24px;
}

.ss-verification-email {
    background: #f3f4f6;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    color: #667eea;
    margin-bottom: 24px;
}

.ss-code-input {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    letter-spacing: 8px;
    max-width: 200px;
    margin: 0 auto 24px;
}

.ss-error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

    .ss-error-message.ss-active {
        display: block;
    }

.ss-success-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) scale(0.9); /* Starts slightly above and smaller */
    background: white;
    color: #1f2937;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #e5e7eb;
}

    .ss-success-toast.ss-active {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%) scale(1);
    }

.ss-toast-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    color: white;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 15px;
}

.ss-toast-body h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.ss-toast-body p {
    font-size: 14px;
    color: #6b7280;
    margin-top: 5px;
}

/* Add a dimming effect when the toast is active */
body:has(.ss-success-toast.ss-active)::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10000;
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

@keyframes ss-slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }

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

.ss-spinner {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: ss-spin 0.8s linear infinite;
}

@keyframes ss-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 640px) {
    .ss-row {
        grid-template-columns: 1fr;
    }

    .ss-form-content {
        padding: 32px 24px;
    }

    .ss-header {
        padding: 32px 24px;
    }
}


/*Static Blogs Category highlight*/
.active-filter {
    color: #007f72;
    border-bottom: 0.5px solid #007f72;
    opacity: 1 !important;
    display: inline-block; /* Ensures the border shows up */
}

