* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* Using Bebas Neue as fallback since Mondo isn't available in Google Fonts */
body {
    font-family: "Monda", sans-serif;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 30px 60px 0px 60px;
    display: flex;
    align-items: center;
}

.header-wrapper {
    max-width: 1400px;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: flex;
}

.logo-container svg {
    height: 32px;
    width: auto;
}

.menu-button {
    background: white;
    color: #141414;
    border: 1px solid #fff;
    padding: 6px 25px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.menu-button:hover {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
}

#submit-btn {
    margin-top: 20px;
    background: #141414;
    color: #fff;
    border: 1px solid #141414;
    padding: 20px 55px;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.1em;
    font-size: 17px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#submit-btn:hover {
    background: transparent;
    color: #141414;
    border: 1px solid #141414;
}

.privacy-section {
    /* background: 
    url('/assets/lock.svg') center/contain no-repeat,
    #FEF991;  */
    /* width: calc(100% - 4rem); */
    /* max-width: 1400px; */
    padding-left: calc((100% - 1400px) / 2);
    padding-right: calc((100% - 1400px) / 2);
    padding-top: 2rem;
    padding-bottom: 2rem;
    /* margin: 0 auto; */

    background: #FEF991;
    /* padding: calc(15px + 2vw) calc(60px + 2vw); */
    display: flex;
    flex-direction: column;
}

.privacy-title {
    font-size: 2.5rem;
    font-family: "Archivo", sans-serif;
    color: #161616;
    font-weight: 400;
    padding-bottom: 20px;
    line-height: 3rem;
}

.privacy-text {
    font-size: 1rem;
    color: #141414;
    font-family: "Archivo", sans-serif;
    font-weight: 300;
    /* padding-bottom: 53px; */
    letter-spacing: -4%;
    line-height: 1.5rem;
}

.privacy-icon {
    height: 62px;
    width: 62px;
}

/* Mobile Styles */

@media (min-width: 1200px) and (max-width: 1420px) {
    .privacy-section {
        padding-left: 2.7rem;
        padding-right: 2.7rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

@media screen and (max-width: 1200px) {
    .privacy-section {
        padding-left: 3rem;
        padding-right: 3rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
}

/* Tablet Styles (iPad) */
@media screen and (max-width: 1024px) {
    .privacy-section {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .privacy-title {
        font-size: 1.8rem;
        padding-bottom: 20px;
        line-height: 2.1rem;
    }

    .privacy-text {
        font-size: 1rem;
        /* padding-bottom: 45px; */
        letter-spacing: -4%;
        line-height: 1.3rem;
    }

    .privacy-icon {
        height: 52px;
        width: 52px;
    }
}

@media screen and (max-width: 768px) {
    .privacy-section {
        padding-left: 2rem;
        padding-right: 2rem;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .privacy-title {
        font-size: 1.8rem;
        padding-bottom: 20px;
        line-height: 2.1rem;
    }

    .privacy-text {
        font-size: 1rem;
        /* padding-bottom: 40px; */
        letter-spacing: -4%;
        line-height: 1.3rem;
    }

    .privacy-icon {
        height: 42px;
        width: 42px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .privacy-section {
        padding: calc(40px + 2vw) 20px;
    }

    .privacy-title {
        font-size: 1.8rem;
        padding-bottom: 20px;
        line-height: 2.1rem;
    }

    .privacy-text {
        font-size: 1rem;
        /* padding-bottom: 40px; */
        letter-spacing: -4%;
        line-height: 1.2rem;
    }

    .privacy-icon {
        height: 42px;
        width: 42px;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {}

/* ---------- Sidebar + Overlay ---------- */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 30;
}

.overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(100vw, 440px);
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateX(100%);
    transition: transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 40;
    display: flex;
    flex-direction: column;
    padding: 40px 20px 0px 20px;
}

.sidebar::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: min(100vw, 420px);
    height: 160px;
    background-image: url("assets/hero-icon.svg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.sidebar.is-open {
    transform: translateX(0%);
}

.sidebar-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
}

/* Random icon (top-left) â€” simple decorative SVG */
.sphaera-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    user-select: none;
}

.sphaera-icon svg {
    width: 35px;
    height: 35px;
}

/* Close (top-right) */
.sidebar-close {
    appearance: none;
    background-color: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    font-size: 34px;
    line-height: 10px;
    transition: transform 0.2s ease;
}

.sidebar-close:hover {
    transform: rotate(90deg);
}

/* Menu items */
.sidebar-menu {
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.sidebar-menu a {
    font-family: "Archivo", sans-serif;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    padding: 5px 0px;
    display: inline-block;
    position: relative;
    width: fit-content;
}

/* Hover underline */
.sidebar-menu a::after {
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0;
    height: 2px;
    background: rgb(254, 249, 145);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.sidebar-menu a:hover::after {
    transform: scaleX(1);
}

/* Small helper: prevent body scroll when sidebar is open */
.no-scroll {
    overflow: hidden;
}

.sidebar-footer {
    margin-top: auto;
    /* pushes it to the bottom */
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 0;
    font-size: 14px;
    z-index: 989989999;
}

.sidebar-footer a {
    text-decoration: none;
    color: #bbb;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sidebar-footer a:hover {
    color: #fff;
}

/* Hero Section Styles */
.hero-section {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    position: relative;
    background-image: url("assets/hero_image_plain.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* .hero-video-wrapper{
    background-color: #0d0e10;
    inset: 0;
    position: fixed;
    z-index: 1;
} */

.hero-video {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: right bottom;
    object-position: right bottom;
    width: 100%;
}

.hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 700px;
    height: 300px;
    background-image: url("assets/hero-icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
    gap: 40px;
}

.hero-title {
    color: white;
    font-weight: 400;
    font-size: 4rem;
    line-height: 72px;
    z-index: 1;
}

.hero-subtitle {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: white;
    font-size: 2rem;
    font-weight: 400;
    padding-top: 12px;
    letter-spacing: -4%;
    line-height: 42px;
}

.hero-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 110px;
    height: 6px;
    background-color: #fff;
}

.hero-title,
.hero-subtitle {
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.7);
}


.hero-buttons {
    display: flex;
    gap: 0;
    margin-top: 20px;
    align-items: stretch;
    max-width: 800px;
    z-index: 1;
}

.btn-modules {
    background: white;
    color: black;
    border: 1px solid #fff;
    text-align: center;
    padding: 20px 30px;
    font-family: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-modules:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid #fff;
}

.btn-loi {
    background: #FEF991;
    color: black;
    border: 1px solid #FEF991;
    text-align: center;
    padding: 10px 15px;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-loi:hover {
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid #fff;
}

.btn-arrow-loi {
    transform: translate(0px, -0px);
        transition: all 0.3s ease; 
}

.btn-loi:hover .btn-arrow-loi {
    transform: translate(3px, -3px);
}

.btn-loi:hover .btn-arrow-loi path{
    fill: #fff !important;
}

.btn-loi{
    display: flex;
    flex-direction: row;
    gap: 10px;
        align-items: center;
    justify-content: center;
}

.loi_button{
    display: flex;
    flex-direction: row;
    flex: 1;
}

.btn-founders {
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    color: white;
    border: 1px solid #fff;
    padding: 20px 30px;
    font-family: inherit;
    font-size: 1.2rem;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.btn-founders:hover {
    background: #FEF991;
    border-color: #FEF991;
    color: #000;
}

.btn-founders svg {
    width: 20px;
    height: 20px;
    margin-left: 15px;
}

/* Tablet Styles (iPad) */
@media screen and (max-width: 1024px) {
    .header {
        padding: 25px 40px;
    }

    .hero-section {
        padding: 0 40px;
    }

    .hero-title {
        font-size: 4.125rem;
        margin-bottom: 30px;
        line-height: 4.8rem;
    }

    .hero-subtitle {
        font-size: 2rem;
        margin-bottom: 50px;
    }

    /* .hero-buttons {
                flex-direction: column;
                max-width: 400px;
            } */

    .btn-modules,
    .btn-founders {
        width: 100%;
        text-align: center;
        padding: 18px 35px;
        font-size: 15px;
    }

    .btn-founders {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {

    .hero-section::after {
        width: 400px;
        height: 100px;
    }

    .header {
        padding: 20px;
    }

    .logo-container svg {
        height: 35px;
    }

    .menu-button {
        padding: 10px 25px;
        font-size: 12px;
    }

    .hero-section {
        padding: 0 20px;
        min-height: 100vh;
    }

    .hero-title {
        font-size: 3.2rem;
        margin-bottom: 25px;
        line-height: 3.9rem;
    }

    .hero-subtitle {
        font-size: 2rem;
        margin-bottom: 40px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0;
        max-width: 100%;
    }

    .btn-modules,
    .btn-founders {
        width: 100%;
        padding: 16px 30px;
        font-size: 14px;
    }
}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {
    .header {
        padding: 15px;
    }

    .logo-container svg {
        height: 30px;
    }

    .menu-button {
        padding: 8px 20px;
        font-size: 11px;
    }

    .hero-title {
        font-size: 2.7rem;
        margin-bottom: 20px;
        line-height: 3.6rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 0px;
        line-height: 1.4;
    }

    .btn-modules,
    .btn-founders {
        padding: 15px 25px;
        font-size: 13px;
    }

    .btn-founders svg {
        width: 16px;
        height: 16px;
        margin-left: 12px;
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-title {
        font-size: 2.19rem;
    }

    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: row;
        max-width: 500px;
    }

    .btn-modules,
    .btn-founders {
        padding: 14px 25px;
        font-size: 13px;
    }
}

.modules-container {
    width: calc(100% - 4rem);
    max-width: 1400px;
    padding-top: 4rem;
    padding-bottom: 4rem;
    margin: 0 auto;
}

.modules-header {
    font-size: 2.5rem;
    font-family: "Archivo", sans-serif;
    font-weight: 500;
    margin-bottom: 25px;
    color: #1B1B1B;
}

.module-item {
    position: relative;
    padding: 2.2rem 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    height: 200px;
    justify-content: flex-start;
    /* Changed from center */
}
.module-item:hover a {
    gap: 08px;
}

/* Grey background animation */
.module-item:before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 0;
    /* background-color: rgba(211, 211, 211, 0.45); */
        background-color: #fefcc1;
    transform: translateX(-50%);
    z-index: -1;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-item:hover:before {
    width: 99vw;
}

/* Animated bottom divider */
.module-item:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.06);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transition-delay: 0.2s;
}

.module-item:hover:after {
    width: 100%;
}

.module-item a {
    gap: 20px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    height: 100%;
    justify-content: flex-start;
    /* Changed from center */
    padding: 20px 0;
    /* Increased padding */
}

.module-header {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 20px;
    text-align: center;
    width: 100%;
}

.module-title {
    font-size: 5.0rem;
    font-family: "Monda", sans-serif;
    font-weight: 450;
    letter-spacing: -0.02em;
    line-height: 1;
    color: #1B1B1B;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
}


/* Remove arrow styles - commented out */

.module-arrow {
    position: relative;
    top: 50%;
    right: 30px;
    transform: translateY(-100%);
    width: 32px;
    height: 32px;
    opacity: 0.8;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.module-item:hover .module-arrow {
    opacity: 1;

    /* transform:  translate(3px, -3px) rotate(45deg); */
    /* transform:  rotate(45deg); */
}


.module-subtitle {
    font-family: "Archivo", sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.3;
    color: #141414;
    opacity: 1;
    position: absolute;
    text-align: center;
    display: block;
    width: 100%;
    z-index: 1;
    margin-top: 5px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.module-item:hover .module-subtitle {
    opacity: 0;
    /* Fades out on hover */
    transition-delay: 0s;
    /* display: none; */
}


.module-subtitle-inner {
    font-family: "Archivo", sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.3;
    color: #141414;
    max-width: 55%;
    opacity: 0;
    /* display: none; */
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    bottom: 15px;
    z-index: 1;
}

.module-item:hover .module-subtitle-inner {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.4s;
    /* display: block; */
}

.module-description {
    font-family: "Archivo", sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #3a3a3a;
    text-align: center;
}

/* Additional smooth animations */
.module-item {
    will-change: transform;
}

.module-title,
.module-subtitle,
.description-curtain,
.description-content {
    will-change: transform, opacity;
}

/* Responsive adjustments */
@media (min-width: 769px) {
    .description-curtain {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 60%;
        max-width: 600px;
        overflow: hidden;
        height: 0;
        opacity: 0;
        transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1;
    }

    .description-content {
        position: relative;
        transform: translateY(-100%);
        transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        transition-delay: 0.1s;
    }

    /* Hover states */
    .module-item:hover .description-curtain {
        height: auto;
        min-height: 80px;
        opacity: 1;
        transition-delay: 0.5s;
    }

    .module-item:hover .description-content {
        transform: translateY(0);
        transition-delay: 0.6s;
    }

    .module-item:hover {
        transform: translateZ(0);
    }

    .module-item:hover .module-title {
        font-size: 2.5rem;
        /* Keeping your original hover size */
        transform: translateY(-6px);
        opacity: 0.95;
    }
}

@media (max-width: 768px) {
    .module-item {
        padding: 16px 10px;
        overflow: visible;
        transition: none !important;
        min-height: auto !important;
        height: auto !important;
    }
    
    .module-subtitle-inner{
        display: none !important;
    }

    .module-item a {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
        transition: none !important;
        height: auto !important;
    }

    .module-subtitle {
        max-width: 90% !important;
        position: relative !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        text-align: left !important;
    }

    .module-title,
    .module-subtitle,
    .module-description {
        transform: none !important;
        opacity: 1 !important;
        max-height: none !important;
        transition: none !important;
    }

    .module-title {
        font-size: 2.2rem;
        line-height: 1.3;
        margin: 6px 0;
        white-space: normal;
        word-break: break-word;
    }

    .module-subtitle {
        font-size: 1.4rem;
        line-height: 1.4;
    }

    .module-description {
        font-size: 1.2rem;
        line-height: 1.6;
        max-width: 100%;
        padding-right: 20px;
        /* Reduced since no arrow */
        text-align: left;
    }

    .description-curtain,
    .description-content {
        position: relative !important;
        transform: none !important;
        opacity: 1 !important;
        height: auto !important;
        transition: none !important;
    }

    /* Remove all hover effects on mobile */
    .module-item:before,
    .module-item:after,
    .module-item:hover:before,
    .module-item:hover:after {
        display: none !important;
    }

    /* Hide arrows on mobile */
    .module-arrow {
        display: none !important;
    }
}

/* Extra small phones */
@media (max-width: 480px) {
    .modules-container {
        width: calc(100% - 2.5rem);
    }

    .module-item {
        height: auto !important;
    }

    .module-title {
        font-size: 2rem;
    }

    .module-subtitle {
        font-size: 1.3rem;
    }

    .module-description {
        font-size: 1.1rem;
        line-height: 1.5;
    }

    /* Ensure arrow is hidden */
    .module-arrow {
        display: none !important;
    }
}


/* Prevent layout shifts */


.btn-arrow-msg {
    transform: translate(0px, -0px);
        transition: all 0.3s ease;
}
.linkedin-visit{
    transition: all 0.3s ease;
}
.linkedin-visit:hover .btn-arrow-msg {
    transform: translate(3px, -3px);
}
    

.btn-founders:hover .btn-arrow {
    transform: translate(3px, -3px);
}

.btn-founders:hover .btn-arrow path {
    fill: #000;
}



.btn-founders:hover .btn-arrow {
    transform: translate(3px, -3px);
}

.btn-founders:hover .btn-arrow path {
    fill: #000;
}

.section-title {
    font-family: "Archivo", sans-serif;
    font-size: 3rem;
    color: #fff;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 3rem;
    letter-spacing: -3%;
    max-width: 60%;
    padding-right: calc(60px + 2vw);
}

/* Carousel Wrapper - maintains left padding */
.carousel-wrapper {
    margin-left: 0;
    /* Keep aligned with left padding */
    margin-right: calc(-60px - 2vw);
    /* Negative margin to extend beyond container */
    padding-right: 0;
    overflow: hidden;
}

/* Owl Carousel Container */
.testimonials-flex {
    position: relative;
}

/* Owl Carousel Overrides */
.owl-carousel {
    display: block !important;
}

.owl-carousel .owl-stage-outer {
    overflow: hidden !important;
    height: 100%;
    padding-left: 0;
    /* No left padding */
}

.owl-carousel .owl-stage {
    display: flex !important;
    align-items: stretch !important;
    height: 100%;
    padding-left: 0;
    /* Ensure no left padding on stage */
}

.owl-carousel .owl-item {
    /* padding-right: 3rem; */
    display: flex !important;
    align-items: stretch !important;
    height: auto !important;
}

.owl-carousel .owl-item .item {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.testimonials-section {
    /* width: calc(100% - 4rem); */
    /* max-width: 1400px; */
    /* margin: 0 auto; */
    width: 100%;
    padding-left: calc((100% - 1400px) / 2);
    padding-right: 0;
    /* No right padding for edge-to-edge on right */
    padding-top: 4rem;
    padding-bottom: 4rem;
    background-color: #141414;
    overflow: hidden;
    /* Prevent horizontal scroll */
}

/* Responsive height testimonial card */
.testimonial-card {
    background-color: #D3D3D3;
    border-radius: 0px;
    padding: 40px 28px;
    color: #000000;
    display: flex;
    flex-direction: column;
    width: 100%;
    flex-grow: 1;
    min-height: 500px;
    position: relative;
    transition: 0.4s ease;
    /* Minimum height for consistency */
    clip-path: polygon(
                0 0,
                calc(100% - 60px) 0, 
                100% 60px,
                100% 100%,
                0 100%
            ); 
}

.testimonial-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 180px;
    background-image: url("assets/union_1_black.svg");
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
    transition: 0.4s ease;
}

.testimonial-card:hover {
    background-color: #2A2A2A;
}

.testimonial-card:hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 180px;
    background-image: url("assets/union_1_white.svg");
    background-size: contain;
    background-position: left;
    background-repeat: no-repeat;
}


/* Variant 1 */
.item.bgv-1 .testimonial-card::after {
    background-image: url("assets/union_1_black.svg");
}

.item.bgv-1 .testimonial-card:hover::after {
    background-image: url("assets/union_1_white.svg");
}

/* Variant 2 */
.item.bgv-2 .testimonial-card::after {
    background-image: url("assets/union_2_black.svg");
    background-position: right;
}

.item.bgv-2 .testimonial-card:hover::after {
    background-image: url("assets/union_2_white.svg");
    background-position: right;
}

/* Variant 3 */
.item.bgv-3 .testimonial-card::after {
    background-image: url("assets/union_3_black.svg");
}

.item.bgv-3 .testimonial-card:hover::after {
    background-image: url("assets/union_3_white.svg");
}

/* Variant 4 */
.item.bgv-4 .testimonial-card::after {
    background-image: url("assets/union_4_black.svg");
    background-position: right;

}

.item.bgv-4 .testimonial-card:hover::after {
    background-image: url("assets/union_4_white.svg");
    background-position: right;

}

.testimonial-card:hover .testimonial-name,
.testimonial-card:hover .testimonial-text,
.testimonial-card:hover .testimonial-designation {
    color: #fff;
}

.testimonial-card:hover .testimonial-header {
    border-bottom: 1px solid #fff;
}

/* .testimonial-card:hover .testimonial-designation {
    border-top: 1px solid #fff;
} */


/* ODD cards (1, 3, 5 ...) */
.testimonials-flex .owl-item:nth-child(odd) .testimonial-card {
    background-color: #2a2a2a;
    color: #D3D3D3;
}

.testimonials-flex .owl-item:nth-child(odd) .testimonial-card .testimonial-name,
.testimonials-flex .owl-item:nth-child(odd) .testimonial-card .testimonial-text,
.testimonials-flex .owl-item:nth-child(odd) .testimonial-card .testimonial-designation {
    color: #D3D3D3;
}

.testimonials-flex .owl-item:nth-child(odd) .testimonial-card .testimonial-header {
    border-bottom: 2px solid #D3D3D3;
}

.testimonials-flex .owl-item:nth-child(odd) .testimonial-card::after {
    filter: invert(1);
}

.testimonials-flex .owl-item:nth-child(odd) .testimonial-card:hover {
    background-color: #D3D3D3;
}

.testimonials-flex .owl-item:nth-child(odd) .testimonial-card:hover .testimonial-name,
.testimonials-flex .owl-item:nth-child(odd) .testimonial-card:hover .testimonial-text,
.testimonials-flex .owl-item:nth-child(odd) .testimonial-card:hover .testimonial-designation {
    color: #2a2a2a;
}

.testimonials-flex .owl-item:nth-child(odd) .testimonial-card:hover .testimonial-header {
    border-bottom: 2px solid #2a2a2a;
}

/* EVEN cards (2, 4, 6 ...) */
.testimonials-flex .owl-item:nth-child(even) .testimonial-card {
    background-color: #D3D3D3;
    color: #2a2a2a;
}

.testimonials-flex .owl-item:nth-child(even) .testimonial-card .testimonial-name,
.testimonials-flex .owl-item:nth-child(even) .testimonial-card .testimonial-text,
.testimonials-flex .owl-item:nth-child(even) .testimonial-card .testimonial-designation {
    color: #2a2a2a;
}

.testimonials-flex .owl-item:nth-child(even) .testimonial-card .testimonial-header {
    border-bottom: 2px solid #2a2a2a;
}

.testimonials-flex .owl-item:nth-child(even) .testimonial-card:hover {
    background-color: #2a2a2a;
}

.testimonials-flex .owl-item:nth-child(even) .testimonial-card:hover .testimonial-name,
.testimonials-flex .owl-item:nth-child(even) .testimonial-card:hover .testimonial-text,
.testimonials-flex .owl-item:nth-child(even) .testimonial-card:hover .testimonial-designation {
    color: #D3D3D3;
}

.testimonials-flex .owl-item:nth-child(even) .testimonial-card:hover .testimonial-header {
    border-bottom: 2px solid #D3D3D3;
}


.testimonial-header {
    border-bottom: 2px solid #000000;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: row;
    gap: 20px;
    flex-shrink: 0;
    /* Prevent header from shrinking */
    position: relative;
    padding-bottom: 20px;
    align-items: center;
}

.name-container {
    flex: 1;
    /* padding-bottom: 20px; */
}

.name-empty {
    flex: 1;
}

.testimonial-name {
    font-size: 1.6rem;
    line-height: 2rem;
    font-weight: 700;
    letter-spacing: -5%;
    text-transform: uppercase;
    /* padding: 15px; */
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* padding: 1.8rem 2.2rem; */
    overflow: hidden;
}

.testimonial-text {
    font-family: "Archivo", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    line-height: 1.3rem;
    letter-spacing: -5%;
    text-transform: uppercase;
    margin-bottom: 2rem;
    flex-grow: 1;
    overflow: hidden;
}

.testimonial-designation {
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: right;
    letter-spacing: -3%;
    padding-top: 1rem;
    /* border-top: 2px solid #000000; */
    text-transform: uppercase;
    flex-shrink: 0;
    /* Keep designation at bottom */
}

@media (min-width: 1200px) and (max-width: 1420px) {
    .testimonials-section {
        padding-left: 2.7rem;
        padding-right: 0;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }
}

/* Large Tablet / Small Laptop (1200px and below) */
@media screen and (max-width: 1200px) {
    .testimonials-section {
        padding-left: 3rem;
        padding-right: 0;
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .section-title {
        font-size: 4rem;
        max-width: 80%;
        margin-bottom: 3rem;
        padding-right: 3rem;
    }

    .carousel-wrapper {
        margin-right: -3rem;
    }

    /* .owl-carousel .owl-item {
        padding-right: 2rem;
    } */

    .testimonial-card {
        min-height: 320px;
    }

    .testimonial-name {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .testimonial-text {
        font-size: 1.2rem;
        line-height: 1.4rem;
    }

    .testimonial-designation {
        font-size: 1rem;
    }

    /* .testimonial-content {
        padding: 1.5rem 1.8rem;
    } */
}

@media screen and (max-width: 1024px) {
    .testimonial-card {
        min-height: 500px;
    }
}

/* Tablet (768px and below) */
@media screen and (max-width: 768px) {
    .testimonials-section {
        padding-left: 2rem;
        padding-right: 0;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-title {
        font-size: 3rem;
        max-width: 90%;
        margin-bottom: 2.5rem;
        padding-right: 2rem;
    }

    .carousel-wrapper {
        margin-right: -2rem;
    }

    /* .owl-carousel .owl-item {
        padding-right: 1.5rem;
    } */

    .testimonial-card {
        padding: 30px 20px;
        border-radius: 0px;
        min-height: 400px;
    }

    .testimonial-name {
        font-size: 1.1rem;
        line-height: 1.3rem;
        padding: 12px;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.3rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-designation {
        font-size: 0.95rem;
    }

    /* .testimonial-content {
        padding: 1.2rem 1.5rem;
    } */
}

/* Large Mobile (600px and below) */
@media screen and (max-width: 600px) {
    .testimonials-section {
        padding-left: 2rem;
        padding-right: 3rem;
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
        max-width: 95%;
        margin-bottom: 2rem;
        padding-right: 1.5rem;
    }

    .carousel-wrapper {
        margin-right: -1.5rem;
    }

    /* .owl-carousel .owl-item {
        padding-right: 2.7rem;
    } */

    .testimonial-card {
        min-height: 490px;
        padding: 25px 18px;
    }

    .testimonial-text {
        flex-grow: 1;
        overflow: visible;
    }
}

/* Mobile (480px and below) */
@media screen and (max-width: 480px) {
    .testimonials-section {
        padding-left: 1rem;
        padding-right: 0;
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
        padding-right: 1rem;
    }

    .carousel-wrapper {
        margin-right: -1rem;
    }

    .owl-carousel .owl-item {
        padding-right: 1.7rem;
    }

    .testimonial-card {
        border-radius: 0px;
        padding: 20px 15px;
        min-height: 450px;
    }

    .testimonial-header {
        margin-bottom: 1rem;
    }

    .testimonial-name {
        font-size: 1.15rem;
        line-height: 1.2rem;
        padding: 10px;
    }

    /* .testimonial-content {
        padding: 1rem 1.2rem;
    } */

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.2rem;
        margin-bottom: 1.2rem;
    }

    .testimonial-designation {
        font-size: 0.9rem;
        padding-top: 0.75rem;
    }
}

/* Small Mobile (360px and below) */
@media screen and (max-width: 360px) {
    .testimonials-section {
        padding-left: 1.2rem;
        padding-right: 0;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
        padding-right: 0.75rem;
    }

    .carousel-wrapper {
        margin-right: -0.75rem;
    }

    .testimonial-card {
        border-radius: 0px;
        padding: 20px 15px;
        min-height: 380px;
    }

    .testimonial-name {
        font-size: 0.95rem;
        line-height: 1.1rem;
        padding: 8px;
    }

    /* .testimonial-content {
        padding: 0.9rem 1rem;
    } */

    .testimonial-text {
        font-size: 0.95rem;
        line-height: 1.15rem;
    }

    .testimonial-designation {
        font-size: 0.85rem;
    }
}

footer {
    background: #111;
    padding: 50px 60px;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.footer-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto;
}

/* Left Section */
.footer-left {
    /* flex: 1; */
    min-width: 300px;
}

.footer-center {
    flex: 1;
    min-width: 250px;
}

.footer-section {
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 0.8rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
    color: #D0D0C8;

}

.footer-sub-heading {
    display: flex;
    align-items: center;
    font-size: .5rem !important;
    color: #D0D0C8;
}

.footer-sub-heading span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #E05846;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-about-heading {
    display: flex;
    align-items: center;
    font-size: .5rem !important;
    color: #D0D0C8;
}

.footer-about-heading span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #fef991;
    border-radius: 50%;
    margin-right: 8px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li a {
    text-decoration: none;
    color: #D0D0C8;
    font-size: .85rem;
    transition: color 0.3s;
    display: inline-block;
    position: relative;
    width: fit-content;
}

.footer-section ul li a::after {
    content: "";
    position: absolute;
    left: 0px;
    right: 0px;
    bottom: 0;
    height: 2px;
    background: #EFEFEF;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.25s ease;
}

.footer-section ul li a:hover::after {
    transform: scaleX(1);
}


/* .footer-section ul li a:hover {
      color: #ff4c4c;
    } */
.footer-section .footer-catalog li {
    margin-bottom: 0;
}

.footer-section .footer-catalog li a {
    font-size: 1.5rem;

}

/* Right Section */
.footer-right {
    flex: 1;
    min-width: 280px;
}

.divider {
    width: 100%;
    height: 8px;
    background: #D0D0C8;
    margin-bottom: 40px;
}

.contact-info {
    margin-bottom: 40px;
}

.contact-info h4 {
    font-size: 0.8rem;
    color: #D0D0C8;
    margin-bottom: 8px;
}

.contact-info p,
.contact-info a {
    font-size: 1rem;
    color: #D0D0C8;
    text-decoration: none;
}

.social-icons {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: flex-end;
}

.social-icons .wrap-1,
.social-icons .wrap-2 {
    display: flex;
    gap: 8px;
}

.social-icons .wrap-1 a {
    display: flex;
    /* background-color: #D0D0C8; */
    border: 1px solid #D0D0C8;
    border-radius: 50%;
}

.social-icons .wrap-2 a {
    display: flex;
    border: 1px solid #D0D0C8;
    border-radius: 50%;

}

.social-icons .wrap-1 a:hover {
    background-color: rgba(208, 208, 200, 0.2);

}

.social-icons .wrap-2 a:hover {
    background-color: rgba(208, 208, 200, 0.2);

}

.social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background: #141414;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: background 0.3s;
}

/* .social-icons a:hover {
      background: #ff4c4c;
    } */

.location h4 {
    font-size: 0.8rem;
    color: #D0D0C8;
    margin-bottom: 8px;
}

.article-item span a{
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 1.2rem;
    color: #D0D0C8;
    display: inline-block;
    position: relative;
    width: fit-content;
    text-decoration: none;
    transition: 0.4s ease;
    cursor: pointer;
}

.article-item span a:hover {
    color: rgba(208, 208, 200, 0.7);
}

.article-wrapper{
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.article-info{
    display: flex;
    flex-direction: row;
    gap: 20px; 
    margin-top: 10px;
}

.article-info p{
        font-family: "Poppins", sans-serif;
    color: #D0D0C8;
    font-size: 0.9rem;
    line-height: 1.2rem;
}

.location p {
    color: #D0D0C8;
    font-size: 1rem;
    margin: 3px 0;
    opacity: 0.75;
}

.location-everyday-text {
    color: #D0D0C8;
    font-size: 1rem;
    margin: 3px 0;
    opacity: 0.5;
}

.location span {
    font-weight: bold;
    font-size: 1.2rem;
    color: #D0D0C8;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 0.75rem;
    /* small like useful links */
    color: #D0D0C8;
}

.footer-bottom a {
    color: #D0D0C8;
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
    /* optional hover effect */
}

.contact-info-social-icons-wrappper {
    display: flex;
    justify-content: space-between;
}

/* Hero Section Styles */
.contact-hero-section {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 60px;
    position: relative;
    background-image: url("assets/hero_image_plain.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.contact-hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 700px;
    height: 300px;
    background-image: url("assets/hero-icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.contact-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 145px;
    /* gap: 40px; */
}

.contact-hero-title {
    color: white;
    font-weight: 400;
    margin-bottom: 30px;
    font-size: 6rem;
    line-height: 6.8rem;
}

.contact-hero-subtitle {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: white;
    font-size: 2.1rem;
    font-weight: 400;
    /* padding-top: 12px; */
    letter-spacing: -4%;
    line-height: 3rem;
}

.contact-hero-subtitle::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 110px;
    height: 6px;
    background-color: #fff;
}

.contact-hero-description {
    color: white;
    max-width: 608px;
    font-size: 1.2rem;
    margin-top: 23px;
}

.contact-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    gap: 30px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 80px 0px 80px 0px;
    box-sizing: border-box;
}

.key-contact-wrapper {
    max-width: 1400px;
    gap: 55px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding: 120px 0px 80px 0px;
    box-sizing: border-box;
}

/* Left section */
.contact-content {
    flex: 1;
    min-width: 280px;
}

.key-contact-content.contact-content {
    flex: 1;
    min-width: 50%;
}

.contact-content h1 {
    font-size: 3.5rem;
    margin-bottom: 12px;
}

.contact-content p {
    font-size: 1rem;
    word-wrap: break-word;
}

/* Form section - now takes full width */
.contact-form-section {
    margin-top: 30px;
    width: 100%;
}

.contact-form.key-contact-form {
    flex: 1;
    min-width: 300px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Two column layout for form fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* Single column for certain fields */
.form-row-single {
    display: grid;
    grid-template-columns: 1fr;
}

.form-field {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 0.9rem;
    color: #333;
    display: block;
    margin-bottom: 6px;
    text-transform: uppercase;
}

input {
    width: 100%;
    padding: 12px;
    border: none;
    border-bottom: 1px solid #ccc;
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
}

input:focus {
    border-color: #000;
}

.chip-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.chip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.chip input[type="radio"] {
    display: none;
}

.chip span {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #ccc;
    border-radius: 50px;
    background: #f9f9f9;
    font-size: 0.95rem;
    transition: all 0.2s ease-in-out;
}

.chip span:hover {
    background: #eee;
}

.chip input[type="radio"]:checked+span {
    background: #333;
    color: #fff;
    border-color: #333;
}

.agreement {
    margin: 10px 0;
}

.agreement input[type="checkbox"] {
    display: none;
}

.agreement label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 28px;
    text-transform: none;
    font-size: 0.95rem;
}

/* Custom checkbox */
.agreement label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 2px solid #333;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
}

.agreement input[type="checkbox"]:checked+label::before {
    background: #333;
    border-color: #333;
}

.agreement input[type="checkbox"]:checked+label::after {
    content: "✔";
    position: absolute;
    left: 5px;
    top: 45%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #fff;
}

/* Submit button */
/* #submit-btn {
    background: #333;
    color: #fff;
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
}

#submit-btn:hover {
    background: #555;
} */

/* Responsive adjustments */

@media screen and (min-width: 1400px) and (max-width: 1450px) {
        .contact-wrapper {
        padding: 80px 45px 80px 45px;
    }
}

@media screen and (max-width: 1400px) {
    .contact-wrapper {
        padding: 60px 60px;
    }
}

@media screen and (max-width: 1024px) {
    .contact-wrapper {
        padding: 40px;
    }

    .contact-content h1 {
        font-size: 2.5rem;
        margin-bottom: 0;
    }

    .contact-content p {
        font-size: 1rem;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    .contact-wrapper {
        padding: 60px 20px 60px 20px;
    }

    .contact-content h1 {
        font-size: 2rem;
        margin-bottom: 0;
    }

    /* Stack form fields on mobile */
    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .chip-group {
        gap: 8px;
    }

    .chip span {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 480px) {
    .contact-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .contact-content p {
        font-size: 0.95rem;
    }

    .chip span {
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* Form message styling */
#form-message {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

#form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Tablet Styles (iPad) */
@media screen and (max-width: 1024px) {

    .contact-hero-section {
        padding: 0 40px;
    }
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .contact-hero-section {
        padding: 0 20px;
        min-height: 100vh; 
    }
}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .contact-hero-section {
        min-height: 100vh; 
        padding-top: 80px;
    }

    .contact-hero-title {
        margin-bottom: 30px;
        font-size: 2.19rem;
    }

    .contact-hero-subtitle {
        font-size: 1.25rem;
    }
}


/* Hero Section Styles */
.apex-hero-section {
    min-height: 100vh;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 60px;
    position: relative;
    background-image: url("assets/hero_image_plain.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.apex-hero-section.key-hero-section {
    background-image: url("assets/Modules.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.apex-hero-section.apex-hero {
    background-image: url("assets/Apex.jpg");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.apex-hero-section.onyx-hero {
    background-image: url("assets/Onyx.png");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.apex-hero-section.janus-hero {
    background-image: url("assets/Janus.png");
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.apex-hero-section.concierge-hero {
    background-image: url("assets/Concierge.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}


.apex-hero-section::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 700px;
    height: 300px;
    background-image: url("assets/hero-icon.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.apex-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    /* gap: 40px; */
}

.onyx-hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 100px;
    border-radius: 8px;
    /* optional, remove if you donâ€™t need rounded edges */
}

.onyx-hero-title,
.onyx-hero-subtitle {
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.7);
}

/* Description: cranked up even more */
.onyx-hero-description {
    text-shadow:
        0 0 4px rgba(0, 0, 0, 1),
        0 0 8px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(0, 0, 0, 0.85),
        0 0 32px rgba(0, 0, 0, 0.8);
}

.apex-hero-title,
.apex-hero-subtitle {
    text-shadow:
        0 0 4px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.7);
}

/* Description: cranked up even more */
.apex-hero-description {
    text-shadow:
        0 0 4px rgba(0, 0, 0, 1),
        0 0 8px rgba(0, 0, 0, 0.95),
        0 0 16px rgba(0, 0, 0, 0.9),
        0 0 24px rgba(0, 0, 0, 0.85),
        0 0 32px rgba(0, 0, 0, 0.8);
}

.onyx-hero-title {
    color: white;
    font-weight: 400;
    font-size: 6rem;
    line-height: 6.8rem;
}

.apex-hero-title {
    color: white;
    font-weight: 400;
    font-size: 6rem;
    line-height: 6.8rem;
}

.onyx-hero-subtitle {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: white;
    font-size: 2.1rem;
    font-weight: 400;
    /* padding-top: 12px; */
    letter-spacing: -4%;
    line-height: 3rem;
}

.apex-hero-subtitle {
    position: relative;
    font-family: "Poppins", sans-serif;
    color: white;
    font-size: 2.1rem;
    font-weight: 400;
    /* padding-top: 12px; */
    letter-spacing: -4%;
    line-height: 3rem;
}

.onyx-hero-description {
    position: relative;
    /* anchor for ::before */
    display: inline-block;
    /* so the line hugs text width */
    color: white;
    max-width: 608px;
    font-size: 1rem;
    margin-top: 30px;
}

.onyx-hero-description::before {
    content: "";
    position: absolute;
    top: -12px;
    /* gap above text */
    left: 0;
    /* line aligns to left of text */
    width: 110px;
    /* exact length from contact */
    height: 6px;
    /* exact thickness from contact */
    background: white;
    /* line color */
    display: block;
}

.apex-hero-description {
    position: relative;
    /* anchor for ::before */
    display: inline-block;
    /* so the line hugs text width */
    color: white;
    max-width: 608px;
    font-size: 1rem;
    margin-top: 30px;
}

.apex-hero-description::before {
    content: "";
    position: absolute;
    top: -12px;
    /* gap above text */
    left: 0;
    /* line aligns to left of text */
    width: 110px;
    /* exact length from contact */
    height: 6px;
    /* exact thickness from contact */
    background: white;
    /* line color */
    display: block;
}

/* Apex-content */
.apex-content-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    padding: 80px 0px;
}

.content-wrapper {
    margin-bottom: 30px;
}

.content-wrapper .heading {
    font-size: 1.2rem;
    font-family: "Archivo", sans-serif;
    font-weight: bold;
    color: #1B1B1B;
    line-height: auto;
    letter-spacing: -3%;
}

.content-wrapper .description {
    font-size: 1rem;
    font-family: "Archivo", sans-serif;
    font-weight: 400;
    color: #1B1B1B;
    line-height: 1.6rem;
    letter-spacing: -3%;
    margin-top: 6px
}

/* Responsive adjustments */
/* Laptop Styles */
@media screen and (max-width: 1440px) {
    .apex-content-container {
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding: 80px 50px;
    }
}
@media screen and (max-width: 1400px) {
    .apex-content-container {
        max-width: 1400px;
        width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        padding: 80px 60px;
    }
}

/* Tablet Styles (iPad) */
@media screen and (max-width: 1024px) {

    .apex-hero-section {
        padding: 0 40px;
    }

    .apex-hero-title {
        font-size: 6.25rem;
        line-height: 90px;
        margin-bottom: 15px;
    } 

    .apex-hero-subtitle {
        font-size: 1.75rem;
        line-height: 50px;

    }

    .apex-content-container {
        padding-left: 40px;
        padding-right: 40px;
    }

    .content-wrapper .heading {
        font-size: 1.2rem;
    }

    .content-wrapper .description {
        font-size: 1rem;
    }

        .loi_button{
    clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 24px, 100% 100%, 0 100%);
    margin-right: 12px;
    }

    .apex-hero-section.janus-hero {
        background-position: 70% 50%;
    }
        .apex-hero-section.concierge-hero {
    background-position: 20% 50%;
}
.apex-hero-section.key-hero-section {
    background-position: 30% 50%;
}
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .logo-container svg {
        height: 28px;
    }

    .menu-button {
        padding: 8px 12.5px;
        font-size: 12px;
    }

    .apex-hero-section {
        padding: 0 20px;
        min-height: 100vh;
    }

    .apex-hero-title {
        font-size: 4.375rem;
        line-height: 60px;
        margin-bottom: 20px;
    }

    .apex-hero-subtitle {
        font-size: 1.375rem;
        line-height: 40px;
    }

    .apex-hero-description {
        margin-top: 15px;
        font-size: 1.125rem;

    }

    .apex-content-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .content-wrapper .heading {
        font-size: 1.1rem;
    }

    .content-wrapper .description {
        font-size: 1rem;
    }
        .apex-hero-section.apex-hero {
    background-position: 70% 50%;
    }
    .apex-hero-section.janus-hero {
    background-position: 80% 50%;
    }

        .apex-hero-section.concierge-hero {
    background-position: 20% 50%;
}
.apex-hero-section.key-hero-section {
    background-position: 20% 50%;
}

}

/* Small Mobile Styles */
@media screen and (max-width: 480px) {

    .apex-hero-title {
        font-size: 2.75rem;
        margin-bottom: 20px;
    }

    .apex-hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 20px;
        line-height: 1.4;
    }

    .apex-hero-description {
        margin-top: 8px;
        font-size: 1rem;

    }

    .apex-content-container {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .content-wrapper .heading {
        font-size: 1rem;
    }

    .content-wrapper .description {
        font-size: 1rem;
    }

    .name-container {
    flex: 1;
    max-width: 42%;
    }

    .loi_button{
    clip-path: polygon(0 0, calc(100% - 27px) 0, 100% 24px, 100% 100%, 0 100%);
    margin-right: 12px;
    }
    .apex-hero-section.apex-hero {
    background-position: 70% 50%;
}
    .apex-hero-section.janus-hero {
    background-position: 80% 50%;
    }
    .apex-hero-section.concierge-hero {
    background-position: 20% 50%;
}

.apex-hero-section.key-hero-section {
    background-position: 20% 50%;
}


}

/* Landscape Mobile */
@media screen and (max-width: 768px) and (orientation: landscape) {
    .apex-hero-section {
        min-height: 100vh;
        padding-top: 80px;
    }

    .apex-hero-title {
        font-size: 3.75rem;
    }

    .apex-hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 30px;
    }
}

/* Modal overlay */
.modal-overlay {
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    display: flex;
}

/* Modal container with glass morphism */
.modal-container {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1400px;
    width: 100%;
    height: 80vh;
    /* Fixed height */
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.modal-container.opening {
    animation: modalFadeIn 0.3s ease forwards;
}

.modal-container.closing {
    animation: modalFadeOut 0.3s ease forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
        transform: translateY(0px);
    }

    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* Close button */
.modal-close {
    appearance: none;
    background: rgb(0, 0, 0);
    border: 0;
    cursor: pointer;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.modal-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.2);
}

.modal-close svg {
    width: 1.25rem;
    height: 1.25rem;
    stroke: #fff;
    stroke-width: 2;
}

.modal-close:hover svg {
    stroke: #2c0404;
}

/* Modal content wrapper - reversed layout */
.modal-content {
    display: flex;
    flex-direction: row-reverse;
    /* This reverses the order */
    height: 100%;
}

/* Image section (now on the right) */
.modal-image-section {
    flex: 0 0 32%;
    position: relative;
    overflow: hidden;
}

.modal-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Text section (now on the left) */


.modal-title {
    font-size: 2.8rem;
    position: relative;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 500;
    margin-top: 0;
    /* reset wrong spacing */
}
.modal-title::after{
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 110px;
    height: 6px;
    background-color: #fff;
}

.modal-desc{
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.modal-description {
    font-family: "Archivo", sans-serif;
    font-size: 0.8rem;
    line-height: 1rem;
    font-weight: 400;
    width: 100%;
    color: rgba(255, 255, 255, 0.9);
}

.modal-description strong {
    font-weight: 600;
}


.modal-text-section {
    flex: 1;
    padding: 2rem 3rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    color: #fff;
    overflow-y: auto;
    /* max-height: 100%; */
    scrollbar-width: thin;
    /* Firefox */
    scrollbar-color: rgba(255, 255, 255, 0.6) transparent;
}

/* Chrome, Edge, Safari */
.modal-text-section::-webkit-scrollbar {
    width: 6px;
    /* slim bar */
    height: 6px;
    /* slim for horizontal if ever */
}

.modal-text-section::-webkit-scrollbar-track {
    background: transparent;
    /* no track */
}

.modal-text-section::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: none;
    /* remove any inset spacing */
}

.modal-text-section::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Remove scrollbar arrows (WebKit browsers) */
.modal-text-section::-webkit-scrollbar-button {
    display: none;
}

@media (max-width: 1024px) {
    .modal-content {
        flex-direction: column;
        height: auto;
    }

    .modal-container {
        height: auto;
        max-height: 90vh;
    }

    .modal-image-section {
        flex: none;
        height: auto;
        /* allow natural image height */
        max-height: 40vh;
        /* show more image, but keep space for text */
    }

    .modal-image-section img {
        width: 100%;
        height: 40vh;
        /* keep aspect ratio */
        object-fit: contain;
        /* donâ€™t crop */
    }

    .modal-text-section {
        padding: 2rem;
        overflow-y: auto;
        /* keep scrolling enabled */
        max-height: 50vh;
        /* balance with image */
    }

    .modal-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .modal-content {
        flex-direction: column;
        height: auto;
    }

    .modal-container {
        height: auto;
        max-height: 90vh;
    }

    .modal-image-section {
        flex: none;
        height: auto;
        /* allow natural image height */
        max-height: 40vh;
        /* show more image, but keep space for text */
    }

    .modal-image-section img {
        width: 100%;
        height: 40vh;
        /* keep aspect ratio */
        object-fit: contain;
    }

    .modal-text-section {
        padding: 2rem;
        overflow-y: auto;
        /* keep scrolling enabled */
        max-height: 50vh;
        /* balance with image */
    }

    .modal-title {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .modal-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .modal-desc{
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .modal-description{
        width: 100%;
    }
        .modal-container {
        height: auto;
        max-height: 80vh;
    }
    #founderModalContainer > div > div.modal-text-section > div.modal-desc-end > p:nth-child(3){
        display: flex;
        flex-direction: column !important;
    }
    .modal-title {
        font-size: 1.75rem;
    }

    .modal-description {
        font-size: 0.9375rem;
    }

    .modal-text-section {
        padding: 1.5rem;
        max-height: 45vh;
        /* ensure text scrolls properly */
    }

    .modal-image-section {
        max-height: 35vh;
        /* keep more of the image visible */
    }
}

@media screen and (min-width: 1400px) and (max-width: 1450px) {
  .modal-description {
    font-family: "Archivo", sans-serif;
    font-size: 0.875rem !important; 
}
}

@media (min-width: 1400px) {
  .modal-title{
    font-size: 2.9rem;
    position: relative;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 500;
    margin-top: 0;
}
.modal-description {
    font-family: "Archivo", sans-serif;
    font-size: 1.05rem;
    line-height: 1.1;
    font-weight: 400;
    width: 100%;
    color: rgba(255, 255, 255, 0.9); 
}
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 0rem 6rem 0rem;
}

.white-bg {
    background-color: #ffffff;
}

.features-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-item {
    flex: 1;
    display: flex;
    gap: 3rem;
}

.features-row {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    padding-top: 40px;
}

.feature-left {
    display: flex;
    flex-direction: column;
    min-width: 50%;
}

.feature-number {
    font-size: 1rem;
    /* 20px */
    color: #000000;
    font-weight: 300;
    line-height: 1;
    margin-bottom: 10px;
}

.feature-title {
    font-size: 2rem;
    /* 32px */
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    position: relative;
    padding-left: 45px;
}

.feature-title::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 33px;
    height: 15px;
    background-image: url("assets/arrow-icon-features.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.feature-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-list {
    list-style: none;
    margin-bottom: 1rem;
}

.feature-right p {
    font-size: 1.25rem;
    /* 20px */
    color: #000;
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.feature-list li {
    font-size: 1.25rem;
    /* 20px */
    color: #000;
    line-height: 1.8;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 300;
}

.feature-list li::before {
    content: "â€¢";
    position: absolute;
    left: 0;
    color: #000;
}

.read-more:hover {
    gap: 1rem;
}

.read-more::after {
    content: "â†’";
    display: inline-block;
}

/* Content Sections */
.core-features-container {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    padding: 0 3.75rem;
}


.core-features-row {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-top: 40px;
}

.core-feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e5e5e5;
}

.core-feature-item:last-child {
    border-bottom: none;
}

.core-feature-left {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.core-feature-title {
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.core-feature-right {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.core-feature-right p {
    font-size: 1.25rem;
    color: #000;
    line-height: 1.8;
    position: relative;
    /* padding-left: 1.5rem; */
    font-weight: 300;
    margin-bottom: 1rem;
}

/* Feature Lists */
.core-feature-list {
    list-style: none;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    margin-left: 1.5rem;
}

.core-feature-list li {
    font-size: 1.25rem;
    color: #000;
    line-height: 1.8;
    position: relative;
    padding-left: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.4rem;
}

.core-feature-list li::before {
    content: "•"; 
    position: absolute;
    left: 0;
    color: #000;
}

/* Product Links */
.product-link {
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #1a1a1a;
    transition: all 0.3s ease;
}

.product-link:hover {
    color: #666;
    border-bottom-color: #666;
}

/* Ecosystem Section */
.ecosystem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
    padding: 1rem;
    background: #fefcc1;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.ecosystem-item {
    padding: 0;
}

.ecosystem-item h3 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ecosystem-item p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #000;
    font-weight: 300;
    padding-left: 1.5rem;
    position: relative;
}

.ecosystem-item {
    padding: 0;
}

.ecosystem-item h3 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.ecosystem-item p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #000;
    font-weight: 300;
    padding-left: 1.5rem;
    position: relative;
}

/* Special Hero Divider */
.core-hero-divider {
    width: 100%;
    height: 2px;
    background: #1a1a1a;
    margin: 4rem 0;
}

/* Call to Action Section */
.cta-section {
    background: #fefcc1;
    padding: 4rem 3.75rem;
    border-radius: 8px;
    text-align: left;
    margin: 4rem 3.75rem 0 3.75rem;
}

.cta-title {
    font-size: 2rem;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 2rem;
    line-height: 1.2;
}

.cta-description p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #000;
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.cta-description p:last-child {
    font-weight: 500;
}


@media (max-width: 1450px) {
    .container {
        padding: 5rem 3.15rem;
    }

    .core-hero-section {
        padding: 0 3.75rem;
    }

    .core-features-container {
        padding: 0 0rem;
    }

    .cta-section {
        margin: 4rem 3.75rem 0 3.75rem;
        padding: 4rem 3.75rem;
    }

    .core-features-row,
    .features-row {
        gap: 4rem;
    }

    .core-feature-item,
    .feature-item {
        gap: 2rem;
    }
}

/* Tablet styles */
@media (max-width: 1024px) {
    .container {
        padding: 5rem 2.5rem 8rem 2.5rem;
    }

    .hero-section {
        padding: 0 2.5rem;
    }

    .key-features-title {
        font-size: 3.5rem;
    }

    .feature-item.apex-feature-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .features-container {
        gap: 3rem;
    }

    .core-features-container {
        padding: 0 0rem; 
    }

    .features-row {
        flex-direction: column;
        gap: 3rem;
    }

    .cta-section {
        margin: 4rem 2.5rem 0 2.5rem;
        padding: 3rem 2.5rem;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .features-container {
        gap: 3rem;
    }

    .features-row,
    .core-features-row {
        flex-direction: column;
        gap: 3rem;
    }

    .feature-left {
        min-width: 50%;
    }

    .feature-left.apex-desc-list {
        min-width: unset;
    }


    .core-feature-left {
        width: 100%;
    }

    .core-feature-title {
        font-size: 1.75rem;
    }

    .core-feature-list {
        margin-left: 0rem;
    }

    .core-feature-list li,
    .core-feature-right p,
    .ecosystem-item p,
    .cta-description p {
        font-size: 1.125rem;
        line-height: 1.975rem;
    }

    .ecosystem-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 2.5rem;
    }

    .ecosystem-item h3 {
        font-size: 1.5rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .feature-title {
        font-size: 1.75rem;
    }

    .feature-list li {
        font-size: 1.125rem;
    }

    .read-more {
        font-size: 1.25rem;
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .container {
        padding: 5rem 1rem 7rem 1rem;
    }

    .key-features-title {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    /* .hero-section {
        padding: 0 1rem;
        margin-bottom: 2rem;
    } */

    .features-container {
        padding: 0 1rem;
    }

    .cta-section {
        margin: 4rem 1rem 0 1rem;
        padding: 2.5rem 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 0rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .core-features-container {
        gap: 2.5rem;
        padding: 0 0rem;
    }

    .core-feature-item {
        flex-direction: column;
        gap: 1.5rem;
        padding-bottom: 2rem;
    }

    .core-feature-left {
        width: 100%;
    }

    .core-feature-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .core-feature-list {
        margin-left: 0rem;
    }

    .core-feature-list li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
        padding-left: 0.75rem;
    }

    .ecosystem-item p,
    .cta-description p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
        padding-left: 1.25rem;
    }

    .core-feature-right p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.8rem;
    }

    .ecosystem-grid {
        gap: 2rem;
        padding: 2rem;
    }

    .ecosystem-item h3 {
        font-size: 1.25rem;
        line-height: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .globe-image {
        margin-bottom: 1.5rem;
    }

    .features-container {
        gap: 2.5rem;
    }

    .feature-item {
        flex-direction: column;
        gap: 1.5rem;
    }

    .feature-left {
        min-width: unset;
    }

    .feature-number {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .feature-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .feature-list li {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0.4rem;
    }

    .read-more {
        font-size: 1.125rem;
    }
}

/* Small mobile styles */
@media (max-width: 480px) {
    .container {
        padding: 5rem 1.25rem 4rem 1.25rem;
    }

    .hero-section {
        padding: 0 1.25rem;
    }

    .core-features-container {
        padding: 0 0rem;
    }

    .cta-section {
        margin: 4rem 0rem 0 0rem;
        padding: 2rem 1.25rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .core-feature-title {
        font-size: 1.25rem;
    }

    .core-feature-list {
        margin-left: 0rem;
    }

    .core-feature-list li,
    .core-feature-right p,
    .ecosystem-item p,
    .cta-description p {
        font-size: 0.9375rem;
        line-height: 1.975rem;
    }

    .cta-title {
        font-size: 1.25rem;
    }

    .key-features-title {
        font-size: 2rem;
    }

    .feature-number {
        font-size: 1rem;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-list li {
        font-size: 0.9375rem;
        padding-left: 1.25rem;
    }

    .read-more {
        font-size: 1rem;
    }
}

#privacy ul {
    padding-left: 20px;
}

.mil-table-container table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid #0E0F28;
    margin: 20px 0px;
}

.mil-table-container th {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid #0E0F28;
    color: #0E0F28;
}

.mil-table-container td {
    padding: 20px;
    border-bottom: 1px solid #0E0F28;
    color: #0E0F28;
}


.footer-bottom {

    max-width: 1400px;
    width: 100%;
    flex-wrap: wrap;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 25px;
    margin-top: 25px;
    border-top: 1px solid #d0d0c8;
    /* adjust for dark/light themes */
    font-size: 0.95rem;
}

.footer-bottom-left {
    color: #d0d0c8;
    /* match your footer text color */
}

.footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-bottom-right a {
    color: #d0d0c8;
    /* match your link color */
}

.footer-bottom-right a:hover {
    text-decoration: underline;
}

.footer-bottom-right .dot {
    opacity: 0.5;
    color: #d0d0c8;
}

/* Responsive: stack on small screens */
@media (max-width: 640px) {
    footer {
        padding: 40px 25px;
    }

    .footer-bottom-left {
        margin: 0 auto;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-bottom-right {
        justify-content: center;
        margin: 0 auto;
        gap: 8px;
    }
}

.sidebar-footer .social-icons {
    z-index: 999;
}

.split {
    opacity: 0;
}


/* prevent FOUC */
.word {
    display: inline-block;
    will-change: transform, opacity;
}

.fadeup {
    opacity: 0;
    will-change: transform, opacity;
}

/* .testimonials-flex .testimonial-card {
    opacity: 0;
} */