html {
    scroll-behavior: smooth;
}

:root {
    --navy: #1d3557;
    --orange: #f4a261;
    --light-blue: #f0f4f8;
    --white: #ffffff;
    --text-gray: #4a5568;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
    background-color: var(--white);
    line-height: 1.6;
}

/* ===================================== Branding Overrides ====================================== */
.text-orange {
    color: var(--orange) !important;
}

.text-navy {
    color: var(--navy) !important;
}

.bg-navy {
    background-color: var(--navy) !important;
}

.bg-orange {
    background-color: var(--orange) !important;
}

.bg-light-blue {
    background-color: var(--light-blue) !important;
}

.badge-custom {
    color: var(--orange);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

/*========== Buttons ========== */
.btn-navy {
    background: var(--navy);
    color: white;
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background: #142a4a;
    color: white;
}

.btn-outline-navy {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-navy:hover {
    background: var(--navy);
    color: white;
}

/* =============================== Navbar Dropdown Hover (Desktop) ======================================= */
.logo {
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    color: var(--orange);
}

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

.border-bottom {
    border-bottom: none !important;
}

@media all and (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: none;
        margin-top: 0;
    }

    .navbar .nav-item:hover .nav-link {
        color: var(--orange) !important;
    }

    .navbar .nav-item:hover .dropdown-menu {
        display: block;
    }

}

@media (max-width: 991.98px) {
    .topic-divider {
        position: relative;
    }

    .topic-divider::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 1px;
        background-color: rgba(0, 0, 0, 0.1);
    }

}

/* =============================== UNIQUE MOBILE NAV ======================================= */
.navbar {
    z-index: 1050;
}

.custom-toggler {
    width: 45px;
    height: 45px;
    background: rgba(11, 26, 48, 0.05);
    border-radius: 50%;
    position: relative;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    transition: all 0.3s ease;
}

.custom-toggler:hover {
    background: rgba(244, 162, 97, 0.1);
}

.hamburger-lines {
    width: 22px;
    height: 14px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger-lines .line {
    display: block;
    height: 2px;
    background: var(--navy);
    border-radius: 10px;
    transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.line1 {
    width: 100%;
}

.line2 {
    width: 14px;
    margin-left: auto;
}

.line3 {
    width: 100%;
}

/* Animation for Toggle */
.custom-toggler[aria-expanded="true"] .line1 {
    transform: rotate(45deg) translate(4px, 4.5px);
}

.custom-toggler[aria-expanded="true"] .line2 {
    opacity: 0;
    transform: scale(0);
}

.custom-toggler[aria-expanded="true"] .line3 {
    transform: rotate(-45deg) translate(4px, -4.5px);
    width: 100% !important;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: all 0.35s cubic-bezier(0.77, 0, 0.175, 1);
        transform: translateY(-100%);
        z-index: 1100;
        opacity: 0;
        visibility: hidden;
        padding: 80px 20px;
        overflow-y: auto;
    }

    .navbar-collapse.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .navbar-nav {
        width: 100%;
        text-align: center;
    }

    .nav-item {
        margin: 10px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }

    .navbar-collapse.show .nav-item {
        opacity: 1;
        transform: translateY(0);
    }

    /* Snappier Staggered animation */
    .navbar-collapse.show .nav-item:nth-child(1) {
        transition-delay: 0.05s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) {
        transition-delay: 0.1s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) {
        transition-delay: 0.15s;
    }

    .navbar-collapse.show .nav-item:nth-child(4) {
        transition-delay: 0.2s;
    }

    .navbar-collapse.show .nav-item:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-link {
        font-size: 1.5rem !important;
        font-weight: 800;
        color: var(--navy) !important;
    }

    /* Fix Dropdowns on Mobile */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        background: rgba(0, 0, 0, 0.03);
        border: none;
        box-shadow: none;
        text-align: center;
        margin-top: 10px;
        display: none;
    }

    .navbar-nav .dropdown-menu.show {
        display: block;
    }

    .dropdown-item {
        font-size: 1.1rem;
        font-weight: 600;
        color: var(--navy);
        padding: 10px;
    }

    .navbar-collapse .btn-navy {
        margin-top: 20px;
        font-size: 1.1rem;
        padding: 12px 35px;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease 0.35s;
    }

    .navbar-collapse.show .btn-navy {
        opacity: 1;
        transform: translateY(0);
    }

}

/* ===================================== Hero ====================================== */
.hero {
    /* background: linear-gradient(135deg, #fff 60%, #fff5ee 100%); */
    background-image: url("../images/img.jpg");
    background-size: cover;
    background-position: center;
    height: auto;
    padding: 100px 0;
}

.bg-decoration {
    position: absolute;
    z-index: 0;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.3;
}


.deco-orange {
  bottom: 2px;
    left: 0px;
    width: 400px;
    height: 377px;
    background: var(--orange);
}


@media screen and (max-width: 1450px) {
    .display-1 {
        font-size: 4.5rem;
        font-weight: 700;
    }

    .col-lg-10 {
        width: 75%;
    }

}

@media screen and (max-width: 1300px) {
    .display-1 {
        font-size: 4rem;
    }

    .col-lg-10 {
        width: 70%;
    }

    .hero {
        padding: 85px 0 85px 0;
    }

}

@media screen and (max-width: 1260px) {
    .hero {
        padding: 75px 0 75px 0;
    }

    .display-1 {
        font-size: 3rem;
        font-weight: 700;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 58%;
    }

}

/* Hero Mobile Background */
@media (max-width: 991px) {
    .hero {
        background-image: url("../images/hero_bg_mobile.png");
        background-size: cover;
        background-position: center;
    }

    .display-1 {
        font-size: 2rem;
    }

    .col-lg-10 {
        flex: 0 0 auto;
        width: 80%;
    }

    .industry-visual {
        margin-bottom: 17px;
    }

    .pb-5 {
        padding-bottom: 0rem !important;
    }

    .stat-card {
        padding: 25px 8px !important;
    }

    .stat-number {
        font-size: 25px !important;
    }

    .live-head {
        font-size: 19px !important;
    }

    .live-sub {
        font-size: 14px !important;
        padding-bottom: 31px;
    }

    .display-2 {
        font-size: 30px !important;
        margin-bottom: 10px !important;
    }

    .difference-feature-card p {
        font-size: 14px !important;
    }

    .stats-section {
        padding: 50px 0 !important;
    }

}

/* Subtle Orange Background */
.bg-orange-light {
    background: linear-gradient(135deg, rgba(244, 162, 97, 0.15) 0%, rgba(244, 162, 97, 0.02) 100%);
}

@media screen and (max-width: 767px) {
    .stat-label {
        font-size: 10px !important;
    }

    /* Typography scaling for mobile */
    .display-1 {
        font-size: 2.5rem;
        font-weight: 700;
    }

    .display-4 {
        font-size: 2rem !important;
    }

    .display-5 {
        font-size: 1.75rem !important;
    }

    .display-6 {
        font-size: 1.5rem !important;
    }

    .lead {
        font-size: 1rem !important;
    }

    /* Reduce excessive padding on mobile */
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 20px !important;
    }

    /* Hero Section specific adjustments */
    .hero {
        padding: 60px 0 40px 0;
    }

    /* Ensure industry visual images aren't too tall on mobile */
    .industry-visual {
        height: 250px !important;
    }

    /* Stats grid padding adjustments */
    #stats-counter-section .col-6 {
        margin-bottom: 1rem;
    }

    /* Hide Custom Foundry arrows on mobile and expand description */
    .foundry-arrow {
        display: none !important;
    }

    .foundry-list-item .col-10 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-top: 0.5rem;
    }

    .foundry-list-item .col-12.d-flex {
        flex-direction: column;
        justify-content: center !important;
        text-align: center;
    }

    .foundry-list-item .foundry-icon-glow {
        margin-right: 0 !important;
        margin-bottom: 0.75rem;
    }

    .difference-feature-card .fw-bold {
        font-size: 15px !important;
        margin-bottom: 10px !important;
    }

    .difference-feature-card p {
        font-size: 13px !important;
    }

    .go-live-card {
        padding: 38px 19px;
    }

}

/* Tablet specific tweaks */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .industry-visual {
        height: 300px !important;
        margin-top: 2rem;
    }

}

/* ===================================== The Difference ====================================== */
.card-custom {
    padding: 40px;
    border-radius: 20px;
    background: var(--light-blue);
    transition: 0.3s;
    border: none;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.difference-graphic {
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.15) 0%, transparent 70%);
    z-index: 0;
}

.difference-badge-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 10px var(--orange);
}

.difference-title {
    line-height: 1.2;
}

.difference-desc {
    line-height: 1.7;
}

.difference-feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.difference-feature-card:hover {
    transform: translateX(15px);
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.06);
}

.difference-feature-card h3 {
    font-size: 22px !important;
}

.difference-feature-card p {
    font-size: 15px !important;
}

.lead {
    font-size: 18px !important;
}

.difference-number-badge {
    width: 50px;
    height: 50px;
    font-size: 28px;
}

/* ===================================== Go Live ====================================== */
.go-live-section {
    background-image: url("../assets/images/Go-Live.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: auto;
}

.live-sub {
    font-size: 19px;
    font-weight: 500;
    color: #000;
    line-height: 1.5;
    margin: 0 auto;
    max-width: 360px;
}

.live-head {
    font-size: 33px;
    font-weight: 600;
}

/* ===================================== Industry Verticals (The Perspective Matrix - Light Mode) ====================================== */
.display-2 {
    font-size: 45px;
}

.perspective-section {
    padding-top: 55px;
    padding-bottom: 25px;
    background: #f8fafc;
    color: var(--navy);
    overflow: hidden;
    position: relative;
}

.perspective-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.perspective-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.perspective-item {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    align-items: center;
    gap: 80px;
    opacity: 0.95;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.perspective-item:nth-child(even) {
    grid-template-columns: 1.2fr 1fr;
}

.perspective-visual {
    position: relative;
    transform: perspective(1200px) rotateY(12deg);
    transition: all 1s ease;
}

.perspective-item:nth-child(even) .perspective-visual {
    transform: perspective(1200px) rotateY(-12deg);
}

.perspective-img-mask {
    width: 100%;
    height: 455px;
    border-radius: 64px 24px 64px 24px;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: #ffffff;
}

.perspective-img-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.5s ease;
}

.perspective-content {
    padding-right: 40px;
}

.perspective-item:nth-child(even) .perspective-content {
    padding-right: 0;
    padding-left: 40px;
    order: 2;
}

.perspective-badge {
    display: inline-block;
    padding: 8px 24px;
    background: rgba(244, 162, 97, 0.12);
    color: var(--orange);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-bottom: 30px;
    border: 1px solid rgba(244, 162, 97, 0.15);
}

.perspective-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 25px;
    letter-spacing: -2px;
}

.perspective-desc {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 520px;
}

.perspective-list {
    list-style: none;
    padding: 0;
    margin: 0 0 45px 0;
    text-align: left;
}

.perspective-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

.perspective-list li strong {
    color: var(--navy);
    font-weight: 700;
}

.perspective-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(244, 162, 97, 0.4);
}

.perspective-item:hover .perspective-list li {
    transform: translateX(5px);
}

.perspective-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    font-weight: 800;
    text-decoration: none;
    color: var(--navy);
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
}

.perspective-btn::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--orange);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.perspective-btn:hover {
    color: var(--orange);
}

.perspective-btn:hover::after {
    width: 100%;
}

/* Hover Interaction */
.perspective-item:hover {
    opacity: 1;
}

.perspective-item:hover .perspective-visual {
    transform: perspective(1200px) rotateY(0deg) translateY(-10px);
    box-shadow: 0 50px 120px rgba(15, 23, 42, 0.15);
}

.perspective-item:hover .perspective-img-mask img {
    transform: scale(1.08);
}

/* ===================== GOVERNANCE SECTION ===================== */
.gov-section {
    position: relative;
    overflow: hidden;
    /* padding: 90px 0;
    padding-bottom: 46px; */
    background: linear-gradient(135deg, var(--navy) 0%, #10284b 100%);
}

.gov-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.gov-tag {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--orange);
    font-size: 15px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 30px;
}

.gov-tag span {
    width: 10px;
    height: 10px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--orange);
}

.gov-left h2 {
    color: white;
    font-size: 51px;
    line-height: 1.05;
    margin-bottom: 25px;
    font-weight: 800;
}

.gov-line {
    border-left: 3px solid var(--orange);
    padding-left: 24px;
    color: white;
    font-size: 17px;
    line-height: 1.5;
    max-width: 650px;
    margin-bottom: 8px;
}

.gov-left p {
    color: #aeb9cc;
    font-size: 14px;
    line-height: 1.9;
    max-width: 650px;
}

.gov-right {
    position: relative;
    min-height: 700px;
}

.center-core-gov {
    position: relative;
    width: 100%;
    height: 700px;
}

.core-gov {
    position: absolute;
    top: 50%;
    left: 47%;
    transform: translate(-50%, -50%);
    width: 185px;
    height: 185px;
    border-radius: 50%;
    background: radial-gradient(circle at top, #355f95, #10284b);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 50px rgba(244, 162, 97, 0.25), inset 0 0 40px rgba(255, 255, 255, 0.08);
}

.core-inner-gov {
    width: 130px;
    height: 130px;
    border-radius: 50%;
    border: 1px solid rgba(244, 162, 97, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.core-gov h3 {
    color: white;
    font-size: 35px;
    margin-bottom: 2px;
    margin-top: 0;
}

.core-gov span {
    color: #aeb9cc;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.core-ring-gov {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px dashed rgb(244 162 97 / 87%);
}

/* Satellite dots for rotation visibility */
.core-ring-gov::before,
.core-ring-gov::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--orange);
}

.core-ring-gov::before {
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.core-ring-gov::after {
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-gov-1 {
    width: 480px;
    height: 480px;
    animation: rotate 30s linear infinite;
}

.ring-gov-2 {
    width: 550px;
    height: 550px;
    animation: rotateReverse 40s linear infinite;
}

.ring-gov-2::before,
.ring-gov-2::after {
    background: #fff;
    box-shadow: 0 0 10px #fff;
}

.ring-gov-2::before {
    top: 50%;
    left: -3px;
    transform: translateY(-50%);
}

.ring-gov-2::after {
    top: 50%;
    right: -3px;
    transform: translateY(-50%);
}

@keyframes rotateReverse {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }

}

.orbit-card {
    position: absolute;
    width: 246px;
    height: 200px;
    padding: 15px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(244, 162, 97, 0.2);
    backdrop-filter: blur(18px);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    z-index: 6;
}

.orbit-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--orange);
    background: rgba(255, 255, 255, 0.08);
}

.orbit-card .icon {
    color: white;
    font-size: 30px;
    margin-bottom: 15px;
}

.orbit-card h4 {
    color: white;
    font-size: 19px;
    margin-bottom: 8px;
    font-weight: 700;
}

.orbit-card p {
    color: #aeb9cc;
    line-height: 1.3;
    font-size: 13px;
    margin-bottom: 0;
}

/* POSITIONS */
.card-1 {
    top: 56px;
    left: 29%;
    /* transform: translateX(-50%); */
}

.card-2 {
    top: 35%;
    right: 14px;
    /* transform: translateY(-50%); */
}

.card-3 {
    bottom: 67px;
    left: 29%;
    /* transform: translateX(-50%); */
}

.card-4 {
    top: 35%;
    left: -35px;
    /* transform: translateY(-50%); */
}

@media(max-width:1200px) {
    .gov-container {
        grid-template-columns: 1fr;
    }

    .gov-right {
        min-height: 800px;
    }

}

@media(max-width:768px) {
    .gov-section {
        padding: 80px 0;
    }

    .gov-left h2 {
        font-size: 42px;
    }

    .center-core-gov {
        height: auto;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .core-gov,
    .core-ring-gov {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin-bottom: 30px;
    }

    .ring-gov-1,
    .ring-gov-2 {
        display: none;
    }

    .orbit-card {
        position: relative !important;
        transform: none !important;
        width: 100%;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
    }

}

@media (max-width: 1200px) {

    .perspective-item,
    .perspective-item:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .perspective-visual {
        transform: none !important;
    }

    .perspective-content {
        padding: 0 !important;
        order: 1 !important;
    }

    .perspective-img-mask {
        height: 380px;
        order: 2;
    }

    .perspective-title {
        font-size: 2.8rem;
    }

    .perspective-desc {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .perspective-btn {
        justify-content: center;
    }

}

@media (max-width: 991px) {
    .perspective-title {
        font-size: 26px;
        margin-bottom: 12px;
    }

    .perspective-desc {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .perspective-list li {
        margin-bottom: 7px;
    }

    .perspective-btn {
        display: none;
    }

    .perspective-grid {
        gap: 4px;
    }

    .perspective-content {
        border-bottom: 1px solid;
    }

    .perspective-item,
    .perspective-item:nth-child(even) {
        gap: 7px;
    }

}

/*========================= Custom Foundry ========================== */
.foundry-bg-element {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
}

.foundry-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: 40px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.foundry-card:hover {
    transform: translateY(-10px);
    border-color: var(--orange);
    box-shadow: 0 20px 50px rgba(244, 162, 97, 0.15);
}

.foundry-card-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 162, 97, 0.1);
    color: var(--orange);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all 0.4s ease;
}

.foundry-card:hover .foundry-card-icon {
    background: var(--orange);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.foundry-card h3 {
    letter-spacing: -0.5px;
}

.foundry-card-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--orange);
    transition: width 0.4s ease;
}

.foundry-card:hover .foundry-card-accent {
    width: 100%;
}

@media (max-width: 991px) {
    .foundry-card {
        padding: 30px;
    }

}

/* ================================= Secure by Design ================================= */
.secure-section {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.border-orange {
    border-color: var(--orange) !important;
}

.secure-bg-glow {
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.mesh-gradient-bg {
    background:
        radial-gradient(circle at 20% 30%, rgba(244, 162, 97, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(29, 53, 87, 0.4) 0%, transparent 50%);
    filter: blur(80px);
    opacity: 0.6;
    z-index: 0;
}

.modern-grid-lines {
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.4;
}

.badge-modern {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--orange);
    background: rgba(244, 162, 97, 0.1);
    border: 1px solid rgba(244, 162, 97, 0.3);
    border-radius: 50px;
}

.text-gradient-orange {
    background: linear-gradient(135deg, #f4a261 0%, #ee6c4d 100%);
    /* -webkit-background-clip: text; */
    -webkit-text-fill-color: transparent;
}

.modern-security-matrix {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.01);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    overflow: hidden;
}

.modern-matrix-item {
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1;
}

.modern-matrix-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.hub-icon-modern {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--orange);
    transition: all 0.4s ease;
    margin-bottom: 25px;
}

.modern-matrix-item:hover .hub-icon-modern {
    background: var(--orange);
    color: #fff;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(244, 162, 97, 0.3);
}

.modern-matrix-item h3 {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.matrix-spotlight {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(244, 162, 97, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-matrix-item:hover .matrix-spotlight {
    opacity: 1;
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

@media (max-width: 767px) {
    .modern-matrix-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

}

/* =============================== PREMIUM FOOTER ======================================= */
.footer-premium {
    background-color: var(--navy);
    padding-top: 80px !important;
    padding-bottom: 0rem !important;
    position: relative;
}

.footer-mesh-bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(244, 162, 97, 0.05), transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(29, 53, 87, 0.1), transparent 40%);
    pointer-events: none;
}

.bx {
    padding: 5px 15px;
    display: flex;
    align-items: center;
    border-radius: 11px;
    background-color: white;
}


.f-logo {
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
    color: var(--orange);
}

.f-logo span {
    color: var(--navy);
}

.cta-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(244, 162, 97, 0.2);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
    margin-top: -60px;
    /* Overlap effect */
}

.cta-glass::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(244, 162, 97, 0.08), transparent 60%);
    animation: rotate 20s linear infinite;
}

.btn-glow-orange {
    background: var(--orange);
    color: #1d3557;
    border: none;
    box-shadow: 0 0 20px rgba(244, 162, 97, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-glow-orange:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 10px 30px rgba(244, 162, 97, 0.5);
    background: #ffb47a;
    color: #000;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--orange);
    transform: translateX(8px);
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--orange);
    color: #1d3557;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(244, 162, 97, 0.2);
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--orange);
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
}

.stats-section {
    background: #ffffff;
    padding: 60px 0;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgb(255 132 0 / 30%);
    border-radius: 24px;
    padding: 50px 20px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-12px);
    border-color: var(--orange);
    box-shadow: 0 20px 40px rgba(244, 162, 97, 0.12);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--orange);
    margin-bottom: 12px;
    display: block;
    line-height: 1;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
}

/* =============================== TESTIMONIALS (Chat Style) ======================================= */

.testimonial-section {
    position: relative;
    overflow: hidden;
    background-color: #f7f7f7;
    /* Matching the DNA section background for consistency with glows */
    padding: 50px 0;
}

.testimonial-chat {
    margin-bottom: 2rem;
}

.chat-bubble {
    background: #ffffff;
    border-radius: 30px 30px 30px 5px;
    border: 1px solid rgb(231 116 25 / 17%);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
}

.testimonial-chat:hover .chat-bubble {
    transform: translateY(-5px);
    border-color: var(--orange);
    box-shadow: 0 20px 45px rgba(244, 162, 97, 0.1);
}

.chat-tail {
    position: absolute;
    bottom: -15px;
    left: 30px;
    width: 30px;
    height: 30px;
    background: #ffffff;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: rotate(45deg);
    z-index: -1;
}

.testimonial-chat:hover .chat-tail {
    border-color: var(--orange);
}

.avatar-circle {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@keyframes floatStat {
    0% {
        transform: translateY(0);
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    50% {
        transform: translateY(-10px);
        text-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
    }

    100% {
        transform: translateY(0);
        text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

}

.floating-stat {
    display: inline-block;
    animation: floatStat 3.5s ease-in-out infinite;
}

/* Stagger the animations so they don't move in sync */
.floating-stat-1 {
    animation-delay: 0s;
}

.floating-stat-2 {
    animation-delay: 0.7s;
}

.floating-stat-3 {
    animation-delay: 1.4s;
}

.floating-stat-4 {
    animation-delay: 2.1s;
}

/* ===================================================================================================================================================================================================== 
                ============================================================================ END AKSHUNA.CSS =========================================================================
=====================================================================================================================================================================================================*/


/* ===================================== Go Live Section ====================================== */
.go-live-section {
    background: #f8fafc;
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.go-live-card {
    background: #fff;
    padding: 50px 40px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
}

.go-live-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(244, 162, 97, 0.15);
    border-color: rgba(244, 162, 97, 0.3);
}

.step-badge {
    position: absolute;
    top: -20px;
    left: 40px;
    background: var(--navy);
    color: #fff;
    width: 45px;
    height: 45px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 10px 20px rgba(29, 53, 87, 0.3);
}

.go-live-icon {
    width: 70px;
    height: 70px;
    background: rgba(244, 162, 97, 0.1);
    color: var(--orange);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    font-size: 2rem;
    transition: 0.3s;
}

.go-live-card:hover .go-live-icon {
    background: var(--orange);
    color: #fff;
    transform: rotate(5deg) scale(1.1);
}

.go-live-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--navy);
}

.go-live-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0;
}

/* =============================================================================== */

:root {
    --navy: #1d3557;
    --orange: #f4a261;
    --light: #f8f8f8;
    --text: #6b7280;
}

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

body {
    font-family: Inter, sans-serif;
    background: #f7f7f7;
}

.dna-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(244, 162, 97, 0.08), transparent 30%),
        radial-gradient(circle at bottom right, rgba(29, 53, 87, 0.08), transparent 30%),
        #f7f7f7;
}

.container {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* TOP */

.dna-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 5px;
}

.left-content h2 {
    font-size: 56px;
    line-height: 1;
    color: var(--navy);
    font-weight: 800;
    letter-spacing: -3px;
    margin-top: 20px;
}

.left-content h2 span {
    color: var(--orange);
}

.right-content {
    max-width: 430px;
}

.right-content p {
    color: #5f6673;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 500;
}

.dna-badge {
    background: rgba(244, 162, 97, 0.14);
    color: var(--orange);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 13px;
    letter-spacing: 3px;
    font-weight: 700;
}

/* CORE WRAPPER */

.dna-core-wrapper {
    position: relative;
    min-height: 750px;
}

/* SVG LINES */

.dna-lines {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.dna-lines path {
    fill: none;
    stroke: rgba(244, 162, 97, 0.25);
    stroke-width: 2;
    stroke-dasharray: 12;
    animation: lineFlow 10s linear infinite;
}

@keyframes lineFlow {
    to {
        stroke-dashoffset: -1000;
    }

}

/* CORE */

.core-node {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-content {
    width: 170px;
    height: 170px;
    background: linear-gradient(135deg, var(--navy), #294a79);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow:
        0 0 50px rgba(29, 53, 87, 0.25),
        0 0 100px rgba(244, 162, 97, 0.15);
    z-index: 5;
}

.core-content span {
    font-size: 14px;
    letter-spacing: 5px;
    opacity: 0.7;
}

.core-content h3 {
    font-size: 21px;
    margin-top: 2px;
}

.core-ring {
    position: absolute;
    inset: 0;
    border: 1px solid rgb(244 162 97 / 74%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

/* Satellite dots for rotation visibility */
.core-ring::before,
.core-ring::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--orange);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--orange), 0 0 4px var(--orange);
}

.core-ring::before {
    top: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.core-ring::after {
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
}

.ring-2 {
    inset: -25px;
    animation-direction: reverse;
    animation-duration: 25s;
}

.ring-2::before,
.ring-2::after {
    background: #fff;
    box-shadow: 0 0 12px #fff;
}

.ring-2::before {
    top: 50%;
    left: -3px;
    transform: translateY(-50%);
}

.ring-2::after {
    top: 50%;
    right: -3px;
    transform: translateY(-50%);
}

.ring-3 {
    inset: -50px;
    animation-duration: 30s;
}

.ring-3::before {
    top: 20%;
    left: 10%;
}

.ring-3::after {
    bottom: 20%;
    right: 10%;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}

/* NODES */

.dna-node {
    position: absolute;
    width: 280px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    transition: 0.5s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}

.dna-node:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow:
        0 20px 60px rgba(29, 53, 87, 0.12),
        0 0 40px rgba(244, 162, 97, 0.18);
    border-color: rgba(244, 162, 97, 0.4);
}

.node-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: rgba(244, 162, 97, 0.12);
    color: var(--orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.dna-node h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 10px;
}

.dna-node p {
    font-size: 14px;
    line-height: 1.7;
    color: #6c7481;
}

/* NODE POSITIONS */

.sales {
    left: 12%;
    top: 1%;
}

.servicing {
    left: 4%;
    top: 35%;
}

.analytics {
    left: 12%;
    bottom: -18px;
}

.training {
    right: 12%;
    top: 1%;
}

.research {
    right: 4%;
    top: 35%;
}

.automation {
    right: 12%;
    bottom: 5px;
}

/* GLOW */

.dna-bg-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--orange);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 450px;
    height: 450px;
    background: var(--navy);
    bottom: -150px;
    right: -100px;
}

/* RESPONSIVE */

@media(max-width:1200px) {
    .dna-core-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
        justify-content: center;
        min-height: auto;
    }

    .dna-node,
    .core-node {
        position: relative;
        left: unset;
        right: unset;
        top: unset;
        bottom: unset;
        transform: none;
    }

    .core-node {
        order: -1;
        margin-bottom: 80px;
    }

    .dna-lines {
        display: none;
    }

}

@media(max-width:768px) {
    .dna-section {
        padding: 80px 0;
    }

    .dna-top {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .right-content p {
        font-size: 18px;
    }

    .dna-node {
        width: 100%;
    }

    .core-node {
        width: 220px;
        height: 220px;
    }

    .core-content {
        width: 140px;
        height: 140px;
    }

    .dna-node h4 {
        font-size: 28px;
    }

    .chat-bubble p {
        font-size: 15px !important;
    }

    .col-lg-7 {
        padding-right: 5px;
        padding-left: 5px;
    }

    .col-lg-5 {
        padding-right: 13px;
        padding-left: 20px;
        font-size: 18px !important;
    }

    .captcha-box {
        background: #f1f4f8;
        padding: 10px 9px !important;
        font-size: 19px !important;
    }

}

/* ===================================== Verticals Animated Tabs (Perspective Matrix) ====================================== */
.animated-tabs-section {
    background-color: var(--navy);
    /* Deep navy/black for premium feel */
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

/* .animated-tabs-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(244, 162, 97, 0.05) 0%, transparent 70%);
    z-index: 0;
} */

.animated-tabs-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    z-index: 1;
}

.tabs-nav-container {
    display: flex;
    gap: px;
    flex-wrap: wrap;
    background: rgb(0 0 0 / 16%);
    backdrop-filter: blur(12px);
    padding: 8px;
    border-radius: 18px;
    position: relative;
    width: fit-content;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-nav-btn {
    position: relative;
    padding: 10px 27px;
    font-size: 15px;
    font-weight: 600;
    color: #a0aec0;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    outline: none;
}

.tab-nav-btn.active {
    color: var(--orange);
}

/* Sliding active background */
.tab-nav-active-bg {
    position: absolute;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border-bottom: 2px solid var(--orange);
    z-index: 1;
}

.tabs-content-wrapper {
    margin-top: 20px;
    padding: 40px;
    background: rgb(0 0 0 / 15%);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: #ffffff;
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 2px solid var(--orange);
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.tab-content-pane {
    display: none;
    opacity: 0;
    transform: scale(0.98) translateY(10px);
    filter: blur(8px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content-pane.active {
    display: block;
    opacity: 1;
    transform: scale(1) translateY(0);
    filter: blur(0px);
}

.tab-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: center;
}

.tab-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.tab-visual img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.tab-visual:hover img {
    transform: scale(1.05);
}

.tab-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(to right, #ffffff, #f4a261);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tab-info p {
    font-size: 1.1rem;
    color: #cbd5e0;
    line-height: 1.7;
    margin-bottom: 25px;
}

.tab-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tab-features-list li {
    /* display: flex; */
    align-items: center;
    /* gap: 12px; */
    margin-bottom: 12px;
    color: #e2e8f0;
    font-size: 0.95rem;
}

.tab-features-list li i {
    color: var(--orange);
    font-size: 1rem;
    margin-right: 4px;

}

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

    .tab-visual img {
        height: 250px;
    }

    .tab-info h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 767px) {
    .tabs-content-wrapper {
        padding: 9px;
    }
}

/* =========================================================
AGENT SECTION
========================================================= */

.agent-list {
    margin-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.agent-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 320px 1fr 350px;
    align-items: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, .05);
}

.agent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.agent-content {
    padding: 40px;
}

.agent-content h2 {
    font-size: 40px;
    margin-bottom: 10px;
}

.agent-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

.agent-features {
    padding: 40px;
}

.agent-features li {
    list-style: none;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-gray);
    font-weight: 500;
}

.agent-card.full-width {
    grid-template-columns: 1fr;
}

.agent-content.centered {
    text-align: center;
}

/* =========================================================
FOUNDRY GRID
========================================================= */

.foundry-section {
    padding: 60px 0;
    background: #f8fafc;
    position: relative;
}

.foundry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.foundry-card {
    background: white;
    padding: 12px 40px;
    border-radius: 30px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.2, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.foundry-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(29, 53, 87, 0.1);
    border-color: var(--orange);
}

.foundry-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--orange);
    transition: height 0.4s ease;
}

.foundry-card:hover::before {
    height: 100%;
}

.foundry-card h4 {
    font-size: 24px;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 15px;
}

.foundry-card p {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.7;
}

.foundry-icon {
    width: 60px;
    height: 60px;
    background: rgba(244, 162, 97, 0.1);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange);
    font-size: 24px;
    margin-bottom: 25px;
}

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

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

    .foundry-section {
        padding: 80px 0;
    }

    .animated-tabs-section {
        padding: 22px 0;
    }

    .go-live-section {
        padding: 60px 0;
    }
}

/* ===================================== 
   MOBILE PERSPECTIVE (Image Match) 
   ===================================== */

.mobile-perspective-container {
    padding-top: 20px;
}

.mobile-vertical-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mobile-vertical-card h4 {
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 0;
}

.mv-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

/* Icon Backgrounds */
.bg-blue-soft {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

.bg-orange-soft {
    background: rgba(244, 162, 97, 0.1);
    color: var(--orange);
}

.bg-green-soft {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
}

.bg-purple-soft {
    background: rgba(111, 66, 193, 0.1);
    color: #6f42c1;
}

/* Accordion */
.perspective-accordion {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 10px;
}

.pa-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pa-item:last-child {
    border-bottom: none;
}

.pa-header {
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: white;
    transition: background 0.3s;
}

.pa-header:not(.collapsed) {
    background: rgba(255, 255, 255, 0.05);
}

.pa-num {
    font-size: 14px;
    font-weight: 700;
    color: #a0aec0;
    margin-right: 20px;
    width: 25px;
}

.pa-title {
    font-size: 16px;
    font-weight: 600;
}

.pa-header i {
    font-size: 14px;
    color: var(--orange);
    transition: transform 0.3s;
}

.pa-header:not(.collapsed) i {
    transform: rotate(180deg);
}

.pa-body {
    padding: 14px 14px 15px 16px;
    color: #cbd5e0;
    font-size: 14px;
    line-height: 1.6;
}

.pa-body h3 {
    margin-bottom: .5rem;
    font-weight: 600;
    line-height: 1.2;
    color: #ffff;
}