@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600;700&display=swap");



/* General Styles */

.section-head {
    font-weight: 600;
    font-size: 60px;
    color: #fff !important;
    text-align: center !important;
}

.bg-primary-navy {
    background-color: #0e253d;
}

.bg-primary-white {
    background-color: #fff;
}

.bg-primary-orange {
    background-color: #ee7f1a;
}

.bg-primary-gradient {
    /* background-color: #ee7f1a; */
    background: linear-gradient(to right, #0e253d, #ee7f1a);

}

.para1 {
    color: #fff !important;
    font-weight: 500;
    font-size: 20px;
}



/* Our Process */
.process-card p {
    font-size: 20px;
    font-weight: 500;
    color: #fff !important;
}

.wrap-process-card {
    margin-bottom: 40px !important;
}


/* Home Cta Section */
/* Add overlay to CTA section background */
/* Center content in CTA section */
.cta_section .container {
      position: relative;
    z-index: 2;
    width: 100%;
}

.cta_section .row {
     display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.cta_section .col-12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
     text-align: center;
    padding: 2rem 0;
}
.cta_section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.cta_section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent black overlay */
    z-index: 1;
}

.cta_section > .container {
    position: relative;
    z-index: 2;
}
.cta_section h4, .works-section p {
    color: #fff !important;
    font-weight: 500;
}

.works-section .button {
    margin-top: 100px;
    display: flex;
    justify-content: center;
}



/* Founder Section */
.founder-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    min-height: auto !important; 
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.founder-image {
    position: relative;
    overflow: hidden;
    height: 400px; /* Increased image height */
    flex-shrink: 0;
}

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

.founder-card:hover .founder-image img {
    transform: scale(1.03);
}

.founder-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    gap: 15px; /* Consistent spacing between elements */
}

.founder-content h4 {
    color: white;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 24px;
}

.founder-title {
    color: #ee7f1a;
    font-weight: 500;
    margin-bottom: 20px;
    font-size: 16px;
    position: relative;
    padding-bottom: 15px;
}

.founder-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #ee7f1a;
}

.founder-qualifications {
    margin: 0;
    padding: 15px 0;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(238, 127, 26, 0.5) transparent;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-qualifications::-webkit-scrollbar {
    width: 4px;
}

.founder-qualifications::-webkit-scrollbar-track {
    background: transparent;
}

.founder-qualifications::-webkit-scrollbar-thumb {
    background-color: rgba(238, 127, 26, 0.5);
    border-radius: 4px;
}

.qualification-item {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 10px;
    color: white;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.qualification-item i {
    color: #ee7f1a;
    margin-top: 3px;
    min-width: 18px;
    text-align: center;
}

.founder-experience {
    background: rgba(238, 127, 26, 0.05);
    border-left: 3px solid #ee7f1a;
    padding: 12px 15px;
    border-radius: 0 8px 8px 0;
    margin: 15px 0;
    font-size: 14px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.founder-experience i {
    color: #ee7f1a;
    font-size: 18px;
}

.founder-expertise h5, 
.founder-training h5 {
    color: white;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.founder-expertise h5 i,
.founder-training h5 i {
    color: #ee7f1a;
    font-size: 14px;
}

.founder-expertise ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
    scrollbar-width: thin;
    scrollbar-color: rgba(238, 127, 26, 0.5) transparent;
}

.founder-expertise ul::-webkit-scrollbar {
    width: 4px;
}

.founder-expertise ul::-webkit-scrollbar-track {
    background: transparent;
}

.founder-expertise ul::-webkit-scrollbar-thumb {
    background-color: rgba(238, 127, 26, 0.5);
    border-radius: 4px;
}

.founder-expertise li {
    background: rgba(238, 127, 26, 0.1);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.founder-expertise li i {
    color: #ee7f1a;
    font-size: 12px;
}

.founder-expertise li:hover {
    background: rgba(238, 127, 26, 0.2);
    transform: translateY(-1px);
}

.founder-training p {
    font-size: 14px;
    color: white;
    margin: 0;
    line-height: 1.6;
    padding-left: 5px;
}

.founder-social {
    margin-top: auto;
    padding-top: 20px;
    display: flex;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
}

.founder-social .social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.founder-social .social-icon:hover {
    background: #ee7f1a;
    color: #fff;
    transform: translateY(-2px);
    border-color: #ee7f1a;
}

/* The Science of Section */
@media(max-width: 1400px) {
    .icon-card {
        min-height: 350px;
    }
}

.icon-card {
    padding: 50px 30px;
    border-radius: 24px;
    transition: all 0.35s ease;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: none;
}

.icon-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.icon-circle {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #000;
    font-size: 32px;
}

.icon-card h5 {
    font-weight: 600;
    margin-top: 25px;
    color: #0e253d;
    font-size: 22px;
    text-align: center;
}

.icon-card p {
    color: #666 !important;
    font-size: 16px;
    opacity: 1;
    font-weight: 400;
    line-height: 1.6;
    margin-top: 15px;
    text-align: center;
}

/* Contact Icons */
.contact-icons-card {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9996 !important;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 32px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(14, 37, 61, 0.1);
    box-shadow: 0 8px 28px rgba(14, 37, 61, 0.12);
    transition: box-shadow 0.3s ease;
}

.contact-icon {
    color: #0e253d;
    font-size: 18px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.contact-icon:hover {
    color: #fff !important;
    transform: scale(1.08);
}

.contact-icon--email:hover,
.contact-icon--phone:hover {
    background-color: #ee7f1a !important;
}

.contact-icon--whatsapp:hover {
    background-color: #25D366 !important;
}

.contact-icon--instagram:hover {
    background-color: #E4405F !important;
}

.contact-icon--linkedin:hover {
    background-color: #0A66C2 !important;
}

.contact-icon--facebook:hover {
    background-color: #1877F2 !important;
}

@media (max-width: 1199px) {
    .contact-icons-card {
        right: 16px;
        padding: 12px 8px;
        gap: 8px;
    }

    .contact-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .contact-icons-card {
        top: auto;
        bottom: 88px;
        right: 12px;
        transform: none;
        padding: 10px 7px;
        gap: 7px;
        border-radius: 28px;
    }

    .contact-icon {
        width: 34px;
        height: 34px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .contact-icons-card {
        bottom: 60px;
        right: 1px;
        padding: 3px 2px;
        gap: 1px;
        border-radius: 24px;
    }
}

/* Philosophy Section */
.philosophy-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    background: rgba(14, 37, 61, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(30px);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.philosophy-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ee7f1a, #ffb74d);
    animation: borderGrow 1.2s ease-out forwards;
}

@keyframes borderGrow {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

.philosophy-text h5 {
    font-size: 24px;
    color: #fff !important;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    font-weight: 500;
}

.philosophy-text h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #ee7f1a;
    border-radius: 2px;
    animation: lineGrow 0.8s 0.3s ease-out forwards;
    transform-origin: left;
    transform: scaleX(0);
}

@keyframes lineGrow {
    to {
        transform: scaleX(1);
    }
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    counter-reset: item;
}

.philosophy-list li {
    position: relative;
    padding: 15px 0 15px 55px;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
    animation: slideIn 0.5s ease-out forwards;
}

.philosophy-list li:nth-child(1) {
    animation-delay: 0.4s;
}

.philosophy-list li:nth-child(2) {
    animation-delay: 0.5s;
}

.philosophy-list li:nth-child(3) {
    animation-delay: 0.6s;
}

.philosophy-list li:nth-child(4) {
    animation-delay: 0.7s;
}

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

.philosophy-list li::before {
    counter-increment: item;
    content: counter(item);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    background: rgba(238, 127, 26, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ee7f1a;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.philosophy-list li:hover {
    padding-left: 60px;
}

.philosophy-list li:hover::before {
    background: #ee7f1a;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.promise-box {
    background: linear-gradient(135deg, rgba(14, 37, 61, 0.9), rgba(14, 37, 61, 0.7));
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s 0.8s ease-out forwards;
}

.promise-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #ee7f1a, #ffb74d);
}

.promise-title {
    color: #ee7f1a !important;
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-left: 15px;
}

.promise-title::before {
    content: '✓';
    position: absolute;
    left: -10px;
    color: #ee7f1a;
    font-weight: bold;
}

.promise-text {
    color: #fff !important;
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
    position: relative;
    z-index: 1;
}

.promise-text span {
    display: block;
    margin-top: 12px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .philosophy-content {
        padding: 30px 20px;
    }

    .philosophy-text h5 {
        font-size: 20px;
    }

    .philosophy-list li {
        font-size: 16px;
        padding: 12px 0 12px 45px;
    }

    .promise-box {
        padding: 25px 20px;
    }

    .promise-title {
        font-size: 20px;
    }

    .promise-text {
        font-size: 16px;
    }
}

.philosophy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.philosophy-list li {
    position: relative;
    padding-left: 50px;
    margin-bottom: 15px;
    font-size: 18px;
    line-height: 1.6;
    color: #fff;
}

.philosophy-list li:before {
    content: '•';
    color: #ee7f1a;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: 26px;
}

.promise-box {
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #ee7f1a;
    padding: 25px;
    margin-top: 40px;
    border-radius: 0 8px 8px 0;
}

.promise-title {
    color: #ee7f1a !important;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.promise-text {
    color: #fff !important;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0px !important;
}




/* Banner Section */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    /* background-image: url('../img/frontup.png'); */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section video {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 55vw;
    /* initially small */
    height: 60vh;
    border-radius: 10px;
    /* initially small */
    object-fit: cover;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    z-index: -1;
    transition: width 0.2s linear, height 0.2s linear;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    /* slight dark overlay */
    pointer-events: none;
    z-index: 2;
    /* above video, below text */
}

/* TEXT stays centered */
.hero-overlay-content {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);
    transform-origin: center center;
    z-index: 10;
    color: #fff;
    text-align: center;
    /* pointer-events: none; */
    transition: opacity 0.2s linear;
}

.hero-services-tags {
    margin-top: 20px;
}

.service-tag {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px; /* Rectangular box */
    padding: 12px 24px; /* Internal spacing */
    margin: 6px; /* Space between buttons */
    font-size: 15px;
    font-weight: 500;
    color: #ffffff; /* White text */
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.service-tag:hover {
    background: #ee7f1a; /* Orange background change on hover */
    border-color: #ee7f1a;
    color: #ffffff;
}

.hero-overlay-content h1 {
    font-weight: 600;
    font-size: 42px !important;
    color: #7fffd4;
}




.banner-cta-section {
    margin-top: 30px;
}

.banner-cta-section .button {
    cursor: pointer;
}

@media(max-width:1440px){
    .hero-overlay-content h1{
        font-size: 40px !important;
    }
}

@media(max-width: 1400px) {
    .banner-cta-section .button {
        padding: 0px 20px !important;
    }
}

@media(max-width: 1300px) {
    .banner-cta-section .button {
        padding: 0px 12px !important;
    }

    .full-nav-links a {
        font-size: 16px !important;
        line-height: 35px !important;
    }
}




/* Header Logo Styling */
.main-nav {
    padding: 20px 40px;
    position: relative;
    z-index: 2000 !important;
}

.logo-container {
    position: fixed;
    top: 32px;
    z-index: 5;
    width: 160px;
    overflow: hidden;
    cursor: pointer;
}

.logo-container:hover {
    transform: scale(1.05);
}

.header-logo {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Adjust menu icon position */
.wrap-nav {
    display: flex !important;
    vertical-align: middle;
}


@media(max-width: 1400px) {
    .hero-overlay-content h1 {
        font-size: 45px !important;
    }
}

@media(max-width: 1024px) {
    .hero-overlay-content h1 {
        font-size: 28px !important;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-container {
        max-width: 120px;
    }

    .main-nav {
        padding: 15px 20px;
    }
}

/* Header H1 Styling */
.header-full .head-img h1 {
    font-size: 40px !important;
    line-height: 1.2 !important;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    text-transform: capitalize;
    color: #fff !important;
}

/* Video Hero Container */
.head-img.video-hero {
    --scroll-progress: 0;
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    overflow: visible;
    box-sizing: border-box;
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
    z-index: 2;
}

/* Card container for video */
.video-card-container {
    position: absolute;
    width: 90%;
    max-width: 1200px;
    height: 80vh;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1);
    transform-origin: center center;
    will-change: transform, width, height, border-radius, box-shadow;
    z-index: 1;
}

/* Smooth transition for scrolling state */
.head-img.video-hero.scrolling .video-card-container {
    width: calc(90% + (10% * var(--scroll-progress, 0)));
    max-width: calc(1200px + (100% - 1200px) * var(--scroll-progress, 0));
    height: calc(80vh + (20vh * var(--scroll-progress, 0)));
    border-radius: calc(20px * (1 - var(--scroll-progress, 0)));
    box-shadow: 0 calc(10px * (1 - var(--scroll-progress, 0))) calc(30px * (1 - var(--scroll-progress, 0))) rgba(0, 0, 0, calc(0.2 * (1 - var(--scroll-progress, 0))));
}

/* When fully expanded */
.head-img.video-hero.fully-expanded .video-card-container,
.head-img.video-hero.scrolled .video-card-container {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
    box-shadow: none;
    z-index: 10;
}

/* Expanded state when scrolled */
.head-img.video-hero.scrolled .video-card-container {
    width: 100%;
    max-width: 100%;
    height: 100vh;
    border-radius: 0;
    margin: 0;
}

/* Video styles */
.head-img.video-hero .video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: all 0.8s cubic-bezier(0.2, 0.6, 0.2, 1) !important;
    will-change: transform;
}

/* Content wrapper */
.wrap-head-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px;
    color: #fff;
    text-align: center;
    transition: all 0.6s cubic-bezier(0.2, 0.6, 0.2, 1);
    pointer-events: none;
    opacity: 1;
    transform: translateY(0);
}

/* Adjust content during scroll */
.head-img.video-hero.scrolling .wrap-head-content {
    opacity: calc(1 - (var(--scroll-progress, 0) * 0.5));
    transform: translateY(calc(20px * var(--scroll-progress, 0)));
}

/* When fully scrolled, hide the content */
.head-img.video-hero.fully-expanded .wrap-head-content,
.head-img.video-hero.scrolled .wrap-head-content {
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* Center content in card mode */
.head-img.video-hero:not(.scrolled) .wrap-head-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    padding: 0 20px;
}

/* Make buttons clickable */
.wrap-head-content .button {
    pointer-events: auto;
}

/* Debug styles - can be removed after testing */
.head-img.video-hero::after {
    content: '';
    position: fixed;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    z-index: 9999;
    pointer-events: none;
    display: none;
    /* Disable by default, enable when debugging */
}

.head-img.video-hero.scrolled::after {
    content: 'State: Scrolled' !important;
    display: block !important;
}

.head-img.video-hero.fully-expanded::after {
    content: 'State: Fully Expanded' !important;
    display: block !important;
    background: #4CAF50 !important;
}

.head-img.video-hero .bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
}

/* Content wrapper above the video */
.head-img.video-hero .wrap-head-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 40px;
    text-align: center;
    color: #fff;
    /* adjust to match your styles */
}

@media (max-width: 1200px) {
    .header-full .head-img h1 {
        font-size: 2rem !important;
    }
}

@media (max-width: 992px) {
    .header-full .head-img h1 {
        font-size: 1.8rem !important;
    }
}

@media (max-width: 768px) {
    .header-full .head-img h1 {
        font-size: 1.5rem !important;
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
    }

    .tagline-marquee-2 {
        font-size: 24px !important;
        line-height: 1.3 !important;
    }

    .tagline-marquee-2 .img-tagline {
        width: 40px !important;
        height: 40px !important;
        margin: 0 10px !important;
        vertical-align: middle;
    }

    h1 {
        font-size: 40px !important;
    }
}

@media (max-width: 576px) {
    .header-full .head-img h1 {
        font-size: 1.3rem !important;
    }
}

/* Quote block */
.big-quote-wrapper {
    position: relative;
    display: block;
    padding: 8px 0 0 0;
    margin: 70px 0;
    box-sizing: border-box;
    background-image: url('../img/icon/quote.png');
    background-size: contain;
    background-position: right;
    background-repeat: no-repeat;
    min-height: 200px;
}

/* Quote icon */
.big-quote-wrapper .quote-icon {
    position: absolute;
    top: -6px;
    left: 0;
    font-size: 64px;
    line-height: 1;
    font-weight: 800;
    color: #27b1be;
    display: block;
    pointer-events: none;
    transform: translateY(0);
}

/* Quote content */
.big-quote-wrapper .big-quote-content {
    margin-left: 0;
    padding-left: 70px;
    box-sizing: border-box;
}

/* Main quote text */
.big-quote-wrapper .big-quote-text {
    font-size: 45px;
    font-weight: 800;
    line-height: 1.05;
    margin: 0;
    color: #7fffd4;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 0;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .big-quote-wrapper .quote-icon {
        font-size: 56px;
        top: -2px;
    }

    .big-quote-wrapper .big-quote-text {
        font-size: 46px;
    }

    .big-quote-wrapper .big-quote-content {
        padding-left: 64px;
    }
}

@media (max-width: 480px) {
    .big-quote-wrapper .quote-icon {
        font-size: 44px;
        top: 0;
        left: 6px;
    }

    .big-quote-wrapper .big-quote-content {
        padding-left: 56px;
    }

    .big-quote-wrapper .big-quote-text {
        font-size: 24px;
        line-height: 1.1;
    }
}

/* Fade-in Animation */
.fade-in-scroll {
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .highlight-quote blockquote {
        font-size: 1.2rem;
        padding: 15px 20px;
    }

    .highlight-quote blockquote:before,
    .highlight-quote blockquote:after {
        font-size: 3rem;
    }
}

/* Dual Button Container Styling */
.dual-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.dual-button-container .button {
    flex: 0 1 auto;
    /* min-width: 150px; */
}

/* Diagnostics Blend Styles */
.diagnostics-blend {
    margin: 30px 0;
}

.diagnostics-blend h4 {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.diagnostics-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.diagnostics-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    line-height: 1.6;
    padding-left: 25px;
    position: relative;
}

.diagnostics-list li:before {
    content: "•";
    color: #d4af37;
    /* Gold color for bullets */
    font-size: 1.5rem;
    position: absolute;
    left: 0;
    top: -2px;
}

@media (max-width: 768px) {
    .diagnostics-list li {
        font-size: 1rem;
        padding-left: 20px;
    }

    .diagnostics-blend h4 {
        font-size: 1.2rem;
    }
}

.our-services{
  padding: 170px 0 !important;
   position: relative;
    z-index: 2; /* Higher than parallax z-index */
}

/* Why Vytal You? Section */
#why-vytal {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.feature-card {
    background: linear-gradient(145deg, rgba(14, 37, 61, 0.9), rgba(14, 37, 61, 0.7));
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 40px 25px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ee7f1a, #0e253d);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, rgba(14, 37, 61, 1), rgba(14, 37, 61, 0.9));
    border-color: rgba(238, 127, 26, 0.3);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(238, 127, 26, 0.15), rgba(14, 37, 61, 0.3));
    border-radius: 20px;
    font-size: 32px;
    color: #ee7f1a;
    transition: all 0.4s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #ee7f1a, #0e253d);
    color: white;
    transform: rotateY(180deg);
}

.feature-card h4 {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

.feature-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ee7f1a, transparent);
    transition: all 0.3s ease;
}

.feature-card:hover h4::after {
    width: 80px;
    background: linear-gradient(90deg, #ee7f1a, #0e253d);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 300;
}

.feature-card:hover p {
    color: rgba(255, 255, 255, 0.95);
}

/* Animation for cards on scroll */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* #our-services{
    min-height: 130vh;
} */
/* 19.1 FOUNDERS SECTION */

@media(max-width: 1024px) {
    .founder-flex-section {
        flex-wrap: wrap !important;
    }
}

h1 {
    font-size: 80px;
}

.founder-section {
    padding: 80px 0;
    background-color: #0e253d;
}

.founder-section .s-title {
    color: #fff;
    margin-bottom: 50px;
    text-align: center;
}

.founder-card {
    border-radius: 10px;
    overflow: hidden;
    margin: 45px;
    transition: all 0.3s ease;
    /* height: 100%; */
    display: flex;
    flex-direction: column;
}

@media(min-width: 1025px) {
    .founder-flex-section {
        flex-wrap: nowrap !important;
    }
     .button-pos {
        padding: 8px 20px !important;
    }
}

@media(max-width: 992px) {
    .para1 {
        font-size: 14px;
    }

    .hero-overlay-content h1 {
        font-size: 21px ! important;
    }

    .founder-image {
        height: 280px !important;
    }

    .founder-card {
        margin: 20px;
    }

    .founder-title {
        font-size: 12px;
        line-height: 1.6;
    }

    .section-head {
        font-size: 40px;
    }

    .founder-flex-section {
        flex-wrap: nowrap !important;
    }

    .button-pos {
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .hero-overlay-content h1 {
        font-size: 11px ! important;
    }

    .para1 {
        line-height: 15px !important;
    }

    .founder-image {
        height: 400px !important;
    }

    .founder-card {
        margin: 0px;
        margin-top: 20px;
    }

    .founder-flex-section {
        flex-wrap: wrap !important;
    }

    .founder-content h4 {
        text-align: center;
    }

    .section-head {
        font-size: 21px !important;
    }

    .process-card p {
        font-size: 14px;
    }

    .process-card h4, .cta_section h4 {
        font-size: 25px !important;
    }

    .process-card {
        margin-bottom: 15px;
    }

    .banner-cta-section {
        /* flex-direction: column; */
    }

    .tagline-marquee-2 .img-tagline {
        width: 40px !important;
        height: 40px !important;
    }

    .tagline-marquee-1 {
        font-size: 25px;
    }

    .full-nav-links {
        /* align-items: baseline !important; */
    }

    .full-nav .section-scrollbar-demo-menu {
        right: 0% !important;
    }
}

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

.founder-image {
    height: 650px;
    overflow: hidden;
    border-radius: 20px;
}

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

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    display: flex;
    justify-content: center;
    /* align-items: center; */
}

.founder-content h4 {
    color: #fff;
    font-size: 25px;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-title {
    color: white;
    font-size: 16px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.founder-bio {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.founder-bio p {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    font-style: italic;
    opacity: 0.9;
}

.founder-location {
    color: white;
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.founder-location:before {
    font-weight: 900;
    margin-right: 8px;
    font-size: 12px;
}

.founder-social {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2a2a2a;
    color: #fff;
    margin: 0 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
}

.founder-button {
    display: inline-block;
    margin-top: auto;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-align: center;
    color: #fff;
    border: 1px solid #fff;
    background: transparent;
}

.founder-button:hover {
    background: #fff;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.tagline-marquee-2 {
    font-size: 30px;
    line-height: 1.3;
}


/* SECTION: ensure stacking order and clipping */
.section.plx-tagline {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  /* give a fallback background color while video loads */
  background-color: #082632; /* deep teal fallback */
  color: #ffffff;
}

/* VIDEO container covers the full section */
.parallax {
    padding-bottom: 0 !important;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    overflow: hidden;
}
.parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* 40% black overlay */
    /* z-index: 1; */
}

.parallax-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 2rem;
}

.parallax-description{
    font-weight: 500;
}
.parallax-content .section-head {
    font-size: 3.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.parallax-content p {
    font-size: 24px !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    text-align: center;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .parallax-content .section-head {
        font-size: 2.5rem;
    }
    
    .parallax-content p {
        font-size: 1.2rem;
    }
}
.parallax-video {
  /* position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;  
  display: block;
  object-fit: cover;
    transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform-style: preserve-3d; */

      position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    object-fit: cover;
}

.prlx-video {
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform-style: preserve-3d;
  position: absolute;
  top: 0;
  left: 0;
}

/* the video itself scales to cover */
.parallax-video .prlx-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  /* will-change: transform, opacity; */
}

/* OVERLAY - gradient + subtle center light to keep cinematic look but readable */
/* .parallax-video .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;

   background-image:
    radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 40%),
    linear-gradient(180deg, rgba(2,12,18,0.5) 0%, rgba(2,12,18,0.25) 40%, rgba(2,12,18,0.55) 100%);
  mix-blend-mode: normal;
  backdrop-filter: blur(4px) saturate(110%);
  -webkit-backdrop-filter: blur(4px) saturate(110%);
} */

/* ensure the container text sits above video + overlay */
.section.plx-tagline .container,
.section.plx-tagline .s-title,
.section.plx-tagline p {
  position: relative;
  z-index: 2;
}

/* stronger text styles for visibility */
.section.plx-tagline .s-title {
  color: #ffffff;
  font-weight: 800;
  font-size: clamp(28px, 4.6vw, 64px); /* responsive large headline */
  letter-spacing: 4px;
  text-align: center;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-shadow: 0 6px 18px rgba(3,10,14,0.55);
}

.section.plx-tagline p {
  color: rgba(235,250,255,0.88);
  font-size: clamp(14px, 1.25vw, 18px);
  text-align: center;
  margin-top: 6px;
  text-shadow: 0 4px 12px rgba(3,10,14,0.45);
}

/* mobile: heavier overlay and less motion */
@media (max-width: 900px) {
  /* .parallax-video .video-overlay {
      background-image:
      linear-gradient(180deg, rgba(2,12,18,0.65) 0%, rgba(2,12,18,0.65) 100%);
    backdrop-filter: blur(6px) saturate(105%);
  } */
  .section.plx-tagline .s-title { font-size: clamp(20px, 7vw, 40px); letter-spacing: 2px; }
}

/* tiny screens: reduce text shadows, increase contrast */
@media (max-width: 420px) {
  .section.plx-tagline .s-title { font-size: 20px; letter-spacing:1.5px; }
  .section.plx-tagline p { font-size: 14px; color: rgba(230,240,245,0.96); }
}

/* About section responsive styles for small screens */
@media (max-width: 560px) {
  .head-page-text h2 {
    font-size: 35px !important;
    line-height: 1.2;
    letter-spacing: -1px !important;
    margin-bottom: 15px;
  }
  
  .head-page-text p {
    font-size: 23px !important;
    line-height: 1.5;
  }
  
  .mission-about-2 {
    font-size: 23px !important;
    line-height: 1.5;
  }
}

/* Respect user preference for reduced motion: stop autoplay animations on supported UA */
@media (prefers-reduced-motion: reduce) {
  .parallax-video .prlx-video {
    animation: none;
    transition: none;
    /* pause video if browser honors reduced-motion */
  }
}


@media(max-width: 1600px) {
    .full-nav-links a {
        font-size: 25px;
        line-height: 50px;
    }

    .tagline-marquee-2 {
        font-size: 40px;
        line-height: 1.2;
    }

    .mission-about {
        font-size: 30px !important;
    }
}

@media(max-width: 1440px) {
    .full-nav-links a {
        font-size: 20px;
        line-height: 45px;
    }
}

.works-section .stack-section a, .works-section .stack-section img {
    cursor: none !important;
}

.tagline-marquee-2 {
    line-height: 1.5 !important;
    padding: 20px 0;
}

/* Faq Section */
.accordion-item {
    opacity: unset !important;
}

/* .faq-section {
    background: #0c304b;
    color: #fff;
} */

.custom-faq .faq-title {
    color: #ffffff;
    font-weight: 700;
}

.custom-faq .accordion-item {
    background: transparent;
    border: 1px solid #7fffd4;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    /* ensures border radius applies inside */
}

.custom-faq .accordion-button {
    background: transparent !important;
    color: #ffffff;
    border: none;
    box-shadow: none;
    padding: 18px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 10px !important;
}

.custom-faq .accordion-button:not(.collapsed) {
    background: rgba(78, 234, 255, 0.10);
    /* aqua tint */
    color: #7fffd4;
}

.custom-faq .accordion-button::after {
    filter: brightness(0) invert(1);
}

.custom-faq .accordion-body {
    background: transparent;
    border-top: 1px solid #7fffd4;
    border-radius: 0 0 10px 10px;
    padding: 18px 20px;
    color: #fff;
}


/* Packages Section */

/* ---------- Founding Modal: theme-matching styles ---------- */
/* Overlay (covers viewport and blurs backdrop) */
.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;              /* toggled via JS */
  align-items: center;
  justify-content: center;
  z-index: 9999;

  background: rgba(4,10,18,0.52); /* dim the page */
  backdrop-filter: blur(6px) saturate(120%);
  -webkit-backdrop-filter: blur(6px) saturate(120%);
  transition: opacity .28s ease;
  opacity: 0;
}

/* When shown (JS toggles .is-open) */
.modal-overlay.is-open {
  display: flex;
  opacity: 1;
}

/* Modal panel (not full-screen) */
.modal-panel {
  width: min(940px, 92vw);
  max-width: 940px;
  background: linear-gradient(to right, #232d37, #e17a1d);
  border-radius: 14px;
  box-shadow: 0 40px 120px rgba(1,6,12,0.72);
  border: 1px solid rgba(255,255,255,0.04);
  padding: 28px 28px 22px;
  transform-origin: center;
  transform: translateY(8px) scale(.98);
  transition: transform .26s cubic-bezier(.2,.9,.2,1), opacity .26s ease;
  color: #eef9fb;
  position: relative;
  overflow: hidden;
}

/* When overlay open, nudge the panel into view */
.modal-overlay.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

/* Close button top-right */
.modal-close {
  position: absolute;
  right: 14px;
  top: 12px;
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: #fff;
  border-radius: 10px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s ease, transform .12s ease;
}
.modal-close:hover { transform: scale(1.03); background: rgba(255,255,255,0.02); }

/* Header */
.modal-header { text-align: left; margin-bottom: 8px; display:flex; align-items:center; gap:18px; }
.modal-header h3 { margin: 0; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: .6px; font-weight:800; color:#f7fbfd; }
.modal-accent { flex: 1 0 auto; height: 4px; width: 86px; border-radius: 4px;  opacity: .95; box-shadow:0 8px 20px rgba(10,170,210,0.08); }

/* Body */
.modal-body { margin-top: 6px; }
.modal-body .lead { margin: 0 0 14px 0; color: rgba(235,250,255,0.92); font-size: 15px; }
.founding-features { list-style: none; padding: 0; margin: 15px 0 0; display: grid; gap: 4px; }
.founding-features li { font-size: 14px; line-height: 1.; color: rgba(225,241,246,0.95); padding: 0; margin: 12px 0; }

/* Feature bold title */
.founding-features li strong { display: inline; font-weight: 700; color: #fff; margin-right: 4px; font-size: 14px; }

/* Footer with CTAs */
.modal-footer {
  margin-top: 18px;
  display:flex;
  gap: 12px;
  justify-content:flex-end;
  align-items:center;
}

/* Primary button (cyan like your site) */
.btn-primary.modal-cta {
  background: linear-gradient(180deg,#4ce7ff, #33d2f0);
  color: #053036;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 40px rgba(16,122,140,0.14);
}
.btn-primary.modal-cta:hover { transform: translateY(-2px); }

/* Ghost button */
.btn-ghost.modal-cancel {
  background: transparent;
  color: rgba(235,250,255,0.9);
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  cursor: pointer;
}

/* Small screens */
@media (max-width: 640px) {
  .modal-panel { padding: 18px 16px; width: 92vw; border-radius: 12px; }
  .modal-footer { justify-content:center; gap:10px; flex-direction:column-reverse; }
  .modal-accent { display:none; }
}

/* SECTION BACKGROUND */
.longevity-section {
    background: #0c304b;
    color: #fff;
}
/* Update the benefits message box */
.benefits-message {
  position: fixed;
  top: -18px;
  left: -330px;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(12, 48, 75, 0.9);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
  margin: 0;
  box-sizing: border-box;
  pointer-events: none;
  overflow: hidden;
  backdrop-filter: blur(5px);
}

.benefits-message.active {
  opacity: 1;
  visibility: visible;
  /* pointer-events: auto; */
}

.benefits-content {
  position: relative;
  background: #0c304b;
  border: 2px solid #4dd6ff;
  padding: 2.5rem 2.5rem 2rem;
  border-radius: 16px;
  max-width: 650px;
  width: 90%;
  max-height: 90vh;
  overflow: visible;
  z-index: 100001;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  opacity: 1;
  color: #fff;
  box-sizing: border-box;
  pointer-events: auto;
}

.benefits-message::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(5px);
  z-index: -1;
  pointer-events: none;
}

.benefits-message.active {
  z-index: 1000;
  pointer-events: auto;
}

.benefits-message.active .benefits-content {
  transform: translateY(0);
  opacity: 1;
}

/* Style the heading */
.benefits-content h4 {
  color: #b6ff00;
  margin: 0 0 25px 0;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 15px;
  border-bottom: 2px solid rgba(77, 214, 255, 0.3);
}

/* Style the list */
.founding-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.founding-benefits-list li {
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(77, 214, 255, 0.15);
  font-size: 1.05rem;
  line-height: 1.7;
  color: #e6f7ff;
  position: relative;
  padding-left: 25px;
}

.founding-benefits-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.founding-benefits-list li::before {
  content: '•';
  color: #b6ff00;
  font-size: 1.5em;
  position: absolute;
  left: 0;
  top: -2px;
}

.founding-benefits-list li strong {
  color: #b6ff00;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

/* Close button */
.btn-close-benefits {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(182, 255, 0, 0.9);
  border: 2px solid #0c304b;
  color: #0c304b;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10002;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transform: rotate(90deg);
}

/* Package card styles */
.package-1-container {
  position: relative;
  z-index: 1; /* Ensure package cards stay below the modal */
}

.package-1-container .package-card {
  transition: filter 0.3s ease;
  position: relative;
  z-index: 1;
}

/* Add blur effect to package cards when modal is open */
.benefits-message.active ~ .package-1-container .package-card {
  filter: blur(3px);
  transition: filter 0.3s ease;
}

/* Ensure the package cards are visible but blurred */
.benefits-message.active {
  background: rgba(12, 48, 75, 0.85);
}

/* Ensure the button is visible */
.btn-founding-access {
  margin-top: 25px;
  background: linear-gradient(135deg, #f5a623, #f76b1c) !important;
  border: none !important;
  color: white !important;
  padding: 10px 15px !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  text-transform: none !important;
  letter-spacing: 0.5px !important;
  display: block;
  line-height: 1.2;
  width: 100%;
  text-align: center;
}

.btn-founding-access:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(247, 107, 28, 0.3) !important;
}

/* TITLE */
.section-title {
    margin-bottom: 25px;
    font-size: 38px;
    font-weight: 700;
}

.divider {
    width: 80px;
    height: 3px;
    margin: 0 auto;
    background: #4dd6ff;
}

/* PACKAGE CARD */
.package-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #4dd6ff;
    padding: 28px;
    border-radius: 18px;
    transition: 0.35s;
    height: 100%;
    min-height: 500px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: visible;
}

/* ----- PACKAGE BADGE: top-left pill with ribbon ----- */



/* allow badge to overflow card corner */
.package-card {
  position: relative;    /* ensure absolute badge positions relative to card */
  overflow: visible;     /* important so badge isn't clipped */
}

/* Diagonal ribbon badge placed outside bottom-left corner */
.package-badge {
  position: absolute;
  bottom: 53px;
  left: 0px;                /* pushes the ribbon outside the card border */
  z-index: 120;
  align-items: center;
  gap: 10px;
width: 100%;
  /* ribbon geometry & rotation */
  padding: 2px 37px;         /* long pill to read while diagonal */
  /* transform: rotate(-45deg); */
  transform-origin: left center;

  /* color / depth */
  background: linear-gradient(90deg, #E53935 0%, #FF6B6B 100%);
  color: #fff;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
 
  box-shadow:
    0 18px 42px rgba(5, 10, 18, 0.6),
    inset 0 1px 0 rgba(255,255,255,0.15);

  border: 1px solid rgba(255,255,255,0.12);


  /* small smoothing and transition for hover/focus */
  transition: transform .18s ease, box-shadow .18s ease;
  pointer-events: auto;
}

/* small icon square at left of text */
.package-badge .badge-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: #fff;
  font-size: 14px;
  flex: 0 0 auto;
}

/* text */
.package-badge .badge-text {
  display: inline-block;
  padding-left: 2px;
  white-space: nowrap;
}

/* subtle hover/focus lift */
.package-badge:hover,
.package-badge:focus {
  transform: rotate(-45deg) translateY(-4px);
  box-shadow: 0 28px 60px rgba(3,10,18,0.60);
  outline: none;
}

/* responsive: smaller card width devices */
@media (max-width: 992px) {
  .package-badge {
    left: -44px;
    bottom: 14px;
    padding: 7px 46px;
    font-size: 12px;
    border-radius: 8px;
  }
  .package-badge .badge-icon { width: 24px; height: 24px; font-size: 12px; }
}

/* on small phones hide/convert to a compact badge inside the card so it won't overlap layout */
@media (max-width: 420px) {
  .package-badge {
    /* convert to a small inline chip inside the card instead of diagonal ribbon */
    position: absolute;
    left: 12px;
    bottom: 12px;
    transform: none;
    padding: 6px 10px;
    border-radius: 8px;
    background: linear-gradient(90deg,#FF8B3F,#FFB36A);
    font-size: 12px;
    box-shadow: 0 12px 30px rgba(3,10,18,0.45);
  }
  .package-badge .badge-icon { display: none; } /* hide icon to save space */
}


/* small screens: smaller badge to avoid overlap */
@media (max-width: 768px) {
  .package-badge {
    top: 10px;
    left: 10px;
    padding: 6px 10px;
    font-size: 12px;
    transform: translate(-4px, -4px);
    border-radius: 10px;
  }
  .package-badge .badge-icon { width: 24px; height: 24px; font-size: 12px; border-radius: 6px; }
  .package-badge::after { right: -8px; bottom: -6px; width: 14px; height: 14px; }
}

/* optional: hide badge on very small mobile if it clashes */
@media (max-width: 420px) {
  .package-badge { display: none; }
}

/* Hover effect */
.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.2);
}

/* RANK STYLES */
.package-rank {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
}

.gold {
    color: #ffd700;
}

.silver {
    color: #c0c0c0;
}

.bronze {
    color: #cd7f32;
}

/* Price */
.price {
    font-size: 32px;
    font-weight: 700;
    color: #4dd6ff;
}

.optional {
    font-size: 14px;
    opacity: 0.8;
}

/* Duration */
.duration {
    font-size: 16px;
    font-weight: 500;
    margin: 15px 0;
}

/* LIST */
.package-list {
    padding-left: 0;
    list-style: none;
    margin-bottom: 20px;
    flex-grow: 1;
}

.package-list li::before {
    content: "• ";
    color: #4dd6ff;
}

/* CTA Button */
.package-card .btn-package {
    margin-top: auto;
    display: block;
    width: 100%;
    text-align: center;
}

.btn-package{
    display: inline-block;
    background: #4dd6ff;
    color: #0c304b;
    padding: 12px 22px;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    margin-bottom: 15px;
    width: 100%;
    text-align: center;
}

.btn-package:hover {
    background: #33c8ff;
}

/* Footer CTA */
.package-footer {
    text-align: center;
}

.footer-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.btn-footer {
    background: transparent;
    border: 1px solid #4dd6ff;
    padding: 10px 22px;
    border-radius: 8px;
    color: #4dd6ff;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}

/* .btn-footer:hover {
    background: #4dd6ff;
    color: #0c304b;
} */

/* ANIMATIONS */

/* ============================
   PACKAGE CARD STYLING
============================ */

/* 2 cards per row for screens below 1044px */
@media (max-width: 1440px) and (min-width: 768px) {
    #longetivity-packages .col-lg-3.col-md-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .package-card {
        min-height: 500px;
    }
}

.package-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #4dd6ff;
    border-radius: 50px 0px;
    padding: 28px;
    min-height: 450px;
    transition: transform 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
    backdrop-filter: blur(6px);
}

/* Hover Zoom + Glow */
.package-card:hover {
    cursor: pointer;
    transform: scale(1.06) !important;
    /* Zoom-in */
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
    border-color: #7ff0ff;
}

/* ============================
   SCROLL ANIMATIONS DISABLED
   Animations have been removed.
============================ */

/* Delay Classes */
.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Footer */
.package-footer {
    margin-top: 40px;
}

.btn-footer {
    color: #4dd6ff;
    font-weight: 600;
    border-bottom: 1px solid #4dd6ff;
}

.btn-footer:hover {
    color: #7ff0ff;
    border-color: #7ff0ff;
}





/* Footer Section */

.footer {
    background-color: #0f0f0f;
    /* Dark luxury background */
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
}

.footer canvas {
    /* display: none !important; */
    left: 40% !important;
}

.footer-logo {
    width: 160px;
    max-width: 100%;
}

.footer-title {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-text {
    opacity: 0.7;
    line-height: 1.6;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 0.5rem;
}

.footer-links a,
.footer-contact a {
    color: #ffffff;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    opacity: 1;
    color: #ffffff;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}


/* ===== Card-scroll ring styles ===== */
.card-scroll-ring-section {
    width: 100%;
    position: relative;
    overflow: visible;
    /* min-height reserved by JS dynamically: fallback:
     keep at least 100vh so something visible before script runs */
    min-height: 100vh;
    z-index: 1000 !important;
}

.card-scroll-ring {
    position: relative;
    width: 100%;
    height: 100vh;
    /* visual area for the pinned stage */
    box-sizing: border-box;
    display: block;
    overflow: visible;
}

/* The stage becomes fixed (pinned) via JS by adding .pinned */
.card-scroll-ring .stage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: auto;
    will-change: transform;
    z-index: 2;
}

/* pinned: make the stage fixed & centered while user scrolls through cards */
.card-scroll-ring .stage.pinned {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999;
    pointer-events: auto;
}

/* container that holds the cards absolutely */
.card-scroll-ring .cards {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* each card - centered vertically, but we will translate them horizontally with JS */
.card-scroll-ring .card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* base centering; JS appends translateX */
    max-width: 92vw;
    height: auto;
    min-height: 160px;
    padding: 70px 25px;
    border-radius: 12px;
    /* border: 4px solid rgba(255, 255, 255, 0.15); */
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    transition: transform 300ms cubic-bezier(.2, .9, .2, 1), opacity 240ms ease, filter 240ms ease;
    will-change: transform, opacity, filter;
    opacity: 0;
    pointer-events: auto;
      background: rgba(14, 37, 61, 0.95) !important; /* Increased opacity to 0.95 */
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(238, 127, 26, 0.3) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
}

/* title + description */
.card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.05;
    color: #101010;
    font-weight: 700;
}

.card p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* card visible state (JS toggles .is-visible when a card is near center) */
.card.is-visible {
    opacity: 1;
        z-index: 10;

}

/* Slightly different style when not centered */
.card.dimmed {
   background: rgba(14, 37, 61, 0.8) !important; /* Increased from 0.45 */
    opacity: 0.7 !important; /* Increased from 0.45 */
        filter: blur(0.5px) !important;

}



/* .card {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(420px, 86vw);
  max-width: 92vw;
  height: auto;
  min-height: 220px;
  padding: 28px 30px;
  border-radius: 18px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-direction: column;
  gap: 14px;
  transition: transform 260ms cubic-bezier(.2,.9,.2,1), opacity 200ms ease, box-shadow 260ms ease;
  will-change: transform, opacity;
  opacity: 0;
  pointer-events: auto;

  background: linear-gradient(180deg, #061a2b 0%, #0b2a3f 100%);
  color: #e9f3fb;

  border: 1px solid rgba(255,140,30,0.04);
  box-shadow:
    0 18px 50px rgba(2,6,12,0.62),
    inset 0 1px 0 rgba(255,255,255,0.02);
} */


/* card center content */
.card .card-inner {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 4px 6px 2px 6px;
}

/* Icon tile (rounded square with orange gradient) */
.card .icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f69c42 0%, #c76a1f 100%);
    box-shadow:
        0 10px 18px rgba(199, 106, 31, 0.26),
        inset 0 2px 6px rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

/* Icon SVG color */
.card .icon-wrap svg {
    width: 34px;
    height: 34px;
    fill: #fff;
    opacity: 0.98;
}

/* Title */
.card .card-title {
    color: white;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

/* small accent divider under title */
.card .card-divider {
    width: 115px;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ee7f1a, transparent);
    ;
    box-shadow: 0 2px 8px rgba(246, 156, 66, 0.12);
    margin-top: 6px;
}

/* description */
.card .card-desc {
    color: white;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 300;
}

/* lifted/hover */
.card.is-visible {
    opacity: 1;
}

.card:hover {
    transform: translate(-50%, -56%) scale(1.018);
    box-shadow: 0 30px 80px rgba(6, 10, 18, 0.6);
}

/* dimmed state */
.card.dimmed {
    opacity: 0.45;
    filter: blur(0.2px);
}

/* responsive tweaks */
@media (max-width: 1024px) {
    .card {
        width: min(360px, 86vw);
        padding: 22px;
        border-radius: 14px;
    }

    .card .icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .card .card-title {
        font-size: 18px;
    }

    .card .card-desc {
        font-size: 13px;
    }

    .card .card-divider {
        width: 36px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .card {
        width: 90vw;
        padding: 18px;
        min-height: 160px;
    }

    .card .icon-wrap {
        width: 56px;
        height: 56px;
    }

    .card .card-title {
        font-size: 16px;
    }

    .card .card-desc {
        font-size: 13px;
        max-width: 92%;
    }
}


/* small-screen adjustments */
@media (max-width: 900px) {
    .card {
        padding: 20px;
        min-height: 150px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }
}

/* Mobile: ensure stage doesn't interfere with page flow before JS kicks in */
@media (max-width: 480px) {
    .card-scroll-ring {
        height: 56vh;
        min-height: 220px;
    }

    .card {
        width: 92vw;
        padding: 16px;
    }
}



/* Card Scroller Video Background */
#why-vytalyou {
    position: relative;
    width: 100%;
    min-height: 100vh;
    overflow: visible;
    z-index: 1;
    padding-top: 120px;
    /* Add padding to account for fixed header */
}

/* Fixed Section Header */
#why-vytalyou .section-header-fixed {
    position: fixed;
    top:-240px !important;
    left: 50%;
    width: 100%;
    text-align: center;
    z-index: 10;
    pointer-events: none;
    transform: translateX(-50%);
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

/* Show header when section is in view */
#why-vytalyou.is-in-view .section-header-fixed {
    opacity: 1;
    transform: translateX(-50%);
}

/* Hide header when section is not in view */
#why-vytalyou:not(.is-in-view) .section-header-fixed {
    opacity: 0;
    transform: translate(-50%, -20px);
}

/* Adjust header text style */
#why-vytalyou .section-header-fixed .section-head {
    color: #fff;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    white-space: nowrap;
}

/* Style for the Why Vytal You subheading */
#why-vytalyou .section-header-fixed h6:last-child {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-transform: none;
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    display: inline-block;
    padding: 0 20px;
}

/* Optional: Add a subtle underline effect on hover */
#why-vytalyou .section-header-fixed h6:last-child::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ee7f1a, #0e253d);
    transition: width 0.3s ease;
}

#why-vytalyou .section-header-fixed h6:last-child:hover::after {
    width: 80%;
}

/* Video background container */
#why-vytalyou {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-image: url('../img/whyvytalyou.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Responsive video background for card section */
#why-vytalyou .video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

#why-vytalyou .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

@media(max-width: 1440px){
    #why-vytalyou .section-header-fixed{
    }
    .section-head {
        font-size: 42px;
    }
    .card-scroll-ring .card{
        top: 61% !important;
    }
}

/* Mobile optimization for card section */
@media (max-width: 768px) {
    #why-vytalyou {
        min-height: 90vh;
    }

    #why-vytalyou .section-header-fixed {
        left: 50%;
        top: 100px !important;
        transform: translateX(-50%) !important;
        text-align: center;
        width: 100%;
        padding: 0 20px;
    }
    .section-header-fixed h6:last-child{
        font-size: 14px !important;
    }
}

#why-vytalyou .video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    opacity: 1;
    background: #000;
    /* Match video background color */
}

/* Video element styling */
#why-vytalyou .bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* Show video when section is in view */
#why-vytalyou.is-in-view .video-background {
    opacity: 1;
    visibility: visible;
}

/* Hide video when not in view */
#why-vytalyou:not(.is-in-view) .video-background {
    opacity: 0;
    visibility: hidden;
}

/* Hide the video when section is out of view */
#why-vytalyou:not(.is-in-view) .video-background {
    opacity: 0;
    pointer-events: none;
}

/* Ensure founder section starts right after the card scroller */
#founder-section {
    position: relative;
    z-index: 2;
    background: #fff;
    margin: 0;
    padding-top: 1px;
    /* Prevents margin collapse */
}


/* Hide home banner video when in founder section */
#founder-section.in-view~#hero-section #bgVideo {
    display: none !important;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-overlay-two {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     background: transparent !important;
    z-index: 1;
}

.card-scroll-ring-section .container {
    position: relative;
    z-index: 2;
    height: 100%;
    overflow-y: auto;
    /* Enable vertical scrolling */
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

#cardScrollRing {
    min-height: 100vh;
    position: relative;
    z-index: 2;
    padding: 100px 0;
    width: 100%;
}

#why-vytalyou .container {
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 120px);
    /* Adjust for fixed header */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    /* Add some space below fixed header */
}

.card-scroll-ring {
    position: absolute;
    width: 100%;
    height: 100vh;
    box-sizing: border-box;
    display: block;
    overflow: visible;
}

/* The stage becomes fixed (pinned) via JS by adding .pinned */
.card-scroll-ring .stage {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    pointer-events: auto;
    will-change: transform;
    z-index: 2;
}

/* pinned: make the stage fixed & centered while user scrolls through cards */
.card-scroll-ring .stage.pinned {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 9999;
    pointer-events: auto;
}


/* container that holds the cards absolutely */
.card-scroll-ring .cards {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
}


/* each card - centered vertically, but we will translate them horizontally with JS */
.card-scroll-ring .card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* base centering; JS appends translateX */
    max-width: 92vw;
    height: auto;
    min-height: 160px;
    padding: 70px 25px;
    border-radius: 12px;
    border: 4px solid rgba(255, 255, 255, 0.15);
    box-sizing: border-box;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    transition: transform 300ms cubic-bezier(.2, .9, .2, 1), opacity 240ms ease, filter 240ms ease;
    will-change: transform, opacity, filter;
    opacity: 0;
    pointer-events: auto;
}

/* title + description */
.card h3 {
    margin: 0;
    font-size: 22px;
    line-height: 1.05;
    color: #101010;
    font-weight: 700;
}

.card p {
    margin: 0;
    font-size: 15px;
    color: #333;
    line-height: 1.5;
}

/* card visible state (JS toggles .is-visible when a card is near center) */
.card.is-visible {
    opacity: 1;
}

/* Slightly different style when not centered */
.card.dimmed {
    opacity: 0.45;
    filter: blur(0.3px);
}

/* ===== Updated card visual (navy + orange icon tile) ===== */

.card {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(420px, 86vw);
    max-width: 92vw;
    height: auto;
    min-height: 220px;
    padding: 28px 30px;
    border-radius: 18px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: column;
    gap: 14px;
    transition: transform 260ms cubic-bezier(.2, .9, .2, 1), opacity 200ms ease, box-shadow 260ms ease;
    will-change: transform, opacity;
    opacity: 0;
    pointer-events: auto;

    background: linear-gradient(180deg, rgba(8, 18, 28, 0.64), rgba(6, 14, 22, 0.56));
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);

    color: #e9f3fb;

    border: 1px solid rgba(255, 140, 30, 0.04);
    box-shadow: 0 15px 40px rgba(0, 255, 255, 0.3);
}

/* card center content */
.card .card-inner {
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    padding: 4px 6px 2px 6px;
}

/* Icon tile (rounded square with orange gradient) */
.card .icon-wrap {
    width: 80px;
    height: 80px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #f69c42 0%, #c76a1f 100%);
    box-shadow:
        0 10px 18px rgba(199, 106, 31, 0.26),
        inset 0 2px 6px rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
}

.card .card-title {
    color: white;
    font-size: 26px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 10px;
}

/* small accent divider under title */
.card .card-divider {
    width: 115px;
    height: 2px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ee7f1a, transparent);
    ;
    box-shadow: 0 2px 8px rgba(246, 156, 66, 0.12);
    margin-top: 6px;
}

/* description */
.card .card-desc {
    color: white;
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 0;
    text-align: center;
    transition: all 0.3s ease;
    font-weight: 300;
}

/* lifted/hover */
.card.is-visible {
    opacity: 1;
}

.card:hover {
    transform: translate(-50%, -56%) scale(1.018);
}

/* dimmed state */
.card.dimmed {
    opacity: 0.45;
    filter: blur(0.2px);
}

/* responsive tweaks */
@media (max-width: 1024px) {
    .card {
        width: min(360px, 86vw);
        padding: 22px;
        border-radius: 14px;
    }

    .card .icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: 12px;
    }

    .card .card-title {
        font-size: 18px;
    }

    .card .card-desc {
        font-size: 13px;
    }

    .card .card-divider {
        width: 36px;
        height: 3px;
    }

    #why-vytalyou .section-header-fixed {
        left: 50%;
        top: 100px !important;
        transform: translateX(-50%) !important;
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: auto;
        min-height: 100svh;
        overflow: visible;
    }

    .hero-overlay-content {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        width: 100%;
        height: auto;
    }

    .hero-overlay-content h1 {
        font-size: 2.5rem;
        /* Smaller heading on mobile */
        line-height: 1.2;
    }

    .hero-overlay-content p.para1 {
        font-size: 1rem;
        /* Slightly smaller text on mobile */
    }

    #why-vytalyou .section-header-fixed {
        left: 50%;
        top: 100px !important;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {

    /* Adjust hero section for mobile */
    .hero-section {
        position: relative;
        height: auto;
        min-height: 100svh;
        overflow: visible;
    }

    /* Adjust card section styling */
    #why-vytalyou {
        background: linear-gradient(180deg, rgba(8, 18, 28, 0.95), rgba(6, 14, 22, 0.9));
        position: relative;
        z-index: 3;
        min-height: auto;
        padding: 40px 0;
    }

    /* Ensure content is scrollable */
    .barba-container {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .card {
        width: 90vw;
        padding: 18px;
        min-height: 160px;
        background: rgba(14, 25, 37, 0.85) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    #why-vytalyou .section-header-fixed {
        left: 50%;
        top: 100px !important;
        transform: translateX(-50%);
    }

    .card-scroll-ring .card {
        top: 58%;
    }

    .card .icon-wrap {
        width: 56px;
        height: 56px;
    }

    .card .card-title {
        font-size: 16px;
    }

    .card .card-desc {
        font-size: 13px;
        max-width: 92%;
    }
}

@media (max-width: 375px) {

    #why-vytalyou .section-header-fixed {
        left: 50%;
        top: 100px !important;
        transform: translateX(-50%);
    }

    .section-head {
        font-size: 14px;
    }
}

/* small-screen adjustments */
@media (max-width: 900px) {
    .card {
        padding: 20px;
        min-height: 150px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }
}

/* Mobile: ensure stage doesn't interfere with page flow before JS kicks in */
@media (max-width: 480px) {
    .card-scroll-ring {
        height: auto;
        min-height: 220px;
        padding: 20px 0;
    }

    .card {
        width: 92vw;
        padding: 20px;
        margin: 10px auto;
    }

    /* Ensure smooth scrolling */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Fix for fixed elements */
    .hero-section {
        position: relative;
        height: auto;
        min-height: 100svh;
        overflow: visible;
    }

    /* Ensure content is properly spaced */
    .barba-container {
        position: relative;
        z-index: 2;
    }
}


.card-scroll-ring-section {
    padding-top: 20vh;
}




/* New About Our Promise Section Css */
/* ============================
   PRECISION WELLNESS SECTION
============================ */

.precision-section {
    background: linear-gradient(180deg, #0c304b 0%, #081f33 100%);
    padding: 90px 0;
    color: #e9f6fb;
    display: flex;
    height: 120vh;
    justify-content: center;
    align-items: center;
}

/* Headings */
.precision-section .section-title {
    font-size: 3rem;
    /* ⬆ bigger */
    font-weight: 600;
    color: #ffffff;
}

/* Intro text */
.section-subtext {
    font-size: 1.15rem;
    /* ⬆ more readable */
    line-height: 1.7;
    color: #d3ecf5;
    /* brighter */
    max-width: 560px;
}

/* Promise title */
.promise-title {
    font-size: 1.85rem;
    /* ⬆ stronger impact */
    font-weight: 500;
    line-height: 1.45;
    margin-bottom: 18px;
}

/* Promise body */
.promise-text {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #e6f6fb;
}

/* List */
.precision-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.precision-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 16px;
    font-size: 20px;
    line-height: 1.6;
    color: #f1fbff;
    /* cursor: pointer !important; */

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        background 0.35s ease;

    border-radius: 10px;
}

/* Check icon */
.precision-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    color: #4dd6ff;
    font-weight: 700;
}

/* Hover effect */
.precision-list li:hover {
    transform: scale(1.06) translateX(6px);
    color: #7fffd4;
    /* background: rgba(77, 214, 255, 0.08); */
    /* box-shadow: 0 10px 30px rgba(77, 214, 255, 0.35); */
    cursor: default;
}

/* ============================
   PROMISE BOX
============================ */

.promise-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid #4dd6ff;
    border-radius: 22px;
    padding: 45px;
    backdrop-filter: blur(8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Hover luxury lift */
.promise-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 35px 80px rgba(0, 255, 255, 0.25);
}

/* Badge */
.promise-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    background: rgba(77, 214, 255, 0.15);
    color: #4dd6ff;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 18px;
}



/* Responsive */
@media (max-width: 768px) {
    .precision-section {
        padding: 70px 0;
    }

    .promise-box {
        padding: 35px;
    }
}



/* Map Section */
.map-section iframe{
    width: 100%;
    height: 500px;
    border-radius: 20px;
}

.testimonials-section .testimonials-swiper {
    padding: 8px 0 0;
        min-height: max-content;

}

.testimonial-head {
    margin-bottom: 40px;
}
.testimonials-section .swiper-wrapper {
    padding-top: 54px;
}

/* Testimonials Grid Layout */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

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

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

.testimonials-section .testimonial-card {
    position: relative;
    height: 100%;
    min-height: 280px;
    padding: 0;
    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    color: #333333;
    isolation: isolate;
    transform: translateY(0);
    transition: all 0.3s ease;
    overflow: hidden;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonials-section .testimonial-card::before {
    content: '';
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(14, 37, 61, 0.15), rgba(14, 37, 61, 0.05));
    border: 8px solid #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    z-index: 2;
    display:none;
}

.testimonials-section .testimonial-card::after {
    content: '';
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 88px;
    height: 88px;
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230e253d'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E"); */
    background-size: 40px;
    background-position: center;
    background-repeat: no-repeat;                    
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
}

.testimonials-section .testimonial-quote {
    display: none;
}

.testimonials-section .testimonial-text {
    position: relative;
    margin: 0;
    color: #333333 !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    flex: 0 0 auto;
    z-index: 1;
    padding: 25px 25px 15px;
    overflow: hidden;
    max-height: 7.2em; /* Show 3 lines of text (1.6 line-height * 3) */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
}

.testimonials-section .testimonial-text.collapsed {
    max-height: 7.2em; /* Keep 3 lines when collapsed */
    -webkit-line-clamp: 3;
}

/* When expanded, remove the line clamp */
.testimonials-section .testimonial-text:not(.collapsed) {
    -webkit-line-clamp: unset;
    max-height: 1000px; /* Arbitrary large number to accommodate all content */
}

.testimonial-read-more {
    display: block;
    text-align: center;
    color: #ee7f1a;
    font-weight: 600;
    font-size: 13px;
    margin: 10px 25px auto; /* auto pushes meta down */
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    border: none;
    padding: 5px 0;
}

.testimonial-read-more:hover {
    color: #d67012;
    transform: translateY(-1px);
}

.testimonial-read-more i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.testimonial-read-more.collapsed i {
    transform: rotate(0deg);
}

.testimonial-read-more:not(.collapsed) i {
    transform: rotate(180deg);
}

.testimonials-section .testimonial-text.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #ffffff 100%);
    z-index: -1;
}

.testimonials-section .testimonial-meta {
    position: relative;
    margin: 0;
    padding: 15px 25px;
    background: #ee7f1a;
    color: white !important;
    font-weight: 600;
    letter-spacing: 0.15px;
    z-index: 1;
    font-size: 14px;
}

.testimonial-read-more {
    display: block;
    text-align: center;
    color: #ee7f1a;
    font-weight: 600;
    font-size: 13px;
    margin: 10px 25px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: none;
    border: none;
    padding: 5px 0;
}

.testimonial-read-more:hover {
    color: #d67012;
    transform: translateY(-1px);
}

.testimonial-read-more i {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.testimonial-read-more.collapsed i {
    transform: rotate(180deg);
}

.testimonials-section .swiper-slide {
    height: auto;
    background: transparent !important;
}

.testimonials-section .swiper-slide .testimonial-card {
    animation: none;
}

.testimonials-section .swiper-slide-active .testimonial-card {
    border-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-6px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 0, 0, 0.14);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.testimonials-section .testimonials-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 40px;
}

.testimonials-section .testimonials-pagination {
    position: static;
    width: auto;
}

.testimonials-section .testimonials-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    width: 8px;
    height: 8px;
    transition: transform 250ms ease, background-color 250ms ease;
}

.testimonials-section .testimonials-pagination .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.25);
}

.testimonials-section .testimonials-prev,
.testimonials-section .testimonials-next {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.06);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 250ms ease, border-color 250ms ease, background-color 250ms ease;
    user-select: none;
}

.testimonials-section .testimonials-prev:hover,
.testimonials-section .testimonials-next:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.09);
}

.testimonials-section .testimonials-prev::before,
.testimonials-section .testimonials-next::before {
    content: '';
    width: 10px;
    height: 10px;
    border-top: 2px solid rgba(255, 255, 255, 0.9);
    border-right: 2px solid rgba(255, 255, 255, 0.9);
    display: block;
}

.testimonials-section .testimonials-prev::before {
    transform: rotate(-135deg);
    margin-left: 2px;
}

.testimonials-section .testimonials-next::before {
    transform: rotate(45deg);
    margin-right: 2px;
}

@media (max-width: 575.98px) {
    .testimonials-section .testimonial-card {
        min-height: auto;
        padding: 40px 20px 0px;
        border-radius: 16px;
    }

    .testimonials-section .testimonial-card::before {
        width: 80px;
        height: 80px;
        top: -40px;
        border-width: 7px;
    }
}

/* IV Drip Feature Cards */
.iv-feature-card {
    background: rgba(14, 25, 37, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    height: 100%;
    transition: all 0.4s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.iv-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border-color: rgba(238, 127, 26, 0.5);
}

.iv-card-img-wrapper {
    width: 100%;
    height: 180px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(238, 127, 26, 0.05) 0%, rgba(14, 25, 37, 0.6) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.iv-card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.iv-feature-card:hover .iv-card-img-top {
    transform: scale(1.08);
}

.iv-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.iv-feature-card h5 {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
}

.iv-feature-card h6 {
    color: #ee7f1a;
    font-size: 0.95rem;
    font-weight: 500;
}

.iv-feature-card p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
}

.iv-feature-card .btn-know-more {
    display: block;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    margin-top: 25px !important;
    background: rgba(255, 255, 255, 0.03);
}

.iv-feature-card .btn-know-more:hover {
    background: #ee7f1a;
    border-color: #ee7f1a;
    color: #fff;
    box-shadow: 0 4px 15px rgba(238, 127, 26, 0.3);
}

/* SEO Tags Section */
/* Brand: Vytal + small y + ou */
.vy-y {
    font-size: 0.62em;
    font-weight: inherit;
    vertical-align: baseline;
    line-height: 1;
    display: inline-block;
    position: relative;
    top: 0.04em;
}

.seo-tags-section {
    display: none !important;
    color: #333;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.seo-tags-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #b18c57; 
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-bottom: 0.5rem;
    display: inline-block;
}
.seo-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.seo-tag {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.85rem;
    color: #111;
    font-weight: 600;
    background-color: transparent;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.seo-tag:hover {
    background-color: #b18c57;
    color: #fff;
    border-color: #b18c57;
}

/* Service / sub-service page hero section (fixed nav offset) */
.vytal-page-top-section,
section.section.position-relative.z-index-2.pb-5[style*="padding-top: 150px"] {
    padding-top: 150px;
    min-height: 100vh;
}

@media (max-width: 991px) {
    .vytal-page-top-section,
    section.section.position-relative.z-index-2.pb-5[style*="padding-top: 150px"] {
        padding-top: 30px !important;
        min-height: auto;
    }
}
