:root {
    --primary-color: var(--primary);
    --secondary-color: var(--secondary);
    /* --primary: #6366F1; */
    --primary-dark: #4F46E5;
    /* --secondary: #8B5CF6; */
    --accent: #14B8A6;
    --dark: #0F172A;
    --dark-color: #1e293b;
    --dark-light: #1E293B;
    --light: #F8FAFC;
    --text: #334155;
    --text-light: #1568dc;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

    --capsule-color : var(--capsule);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.7;
    background: var(--white);
}


.HW {
    color: #4F46E5;
}

/* Navigation */
.navbar {
    padding: 1rem 0;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* .logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
} */

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* .logo-subtext {
    font-size: 0.9rem;
    color: var(--text-color);
} */

.nav-link {
    color: var(--dark-color) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2.5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Products dropdown */
.custom-dropdown {
    position: relative;
    cursor: pointer;
}

/* Arrow icon */
.arrow-icon {
    display: inline-block;
    margin-left: 6px;
    margin-bottom: 3px;
    width: 6px;
    height: 6px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

/* Rotate arrow on hover */
.custom-dropdown:hover .arrow-icon {
    transform: rotate(-135deg);
}

/* Dropdown container */
.dropdown-menu-custom {
    position: absolute;
    top: 120%;
    left: 0;
    list-style-type: none;
    min-width: 200px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s ease;
    padding: 10px 0;
    z-index: 999;
}

/* Show dropdown on hover */
.custom-dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-item-custom {
    display: block;
    padding: 10px 20px;
    color: var(--dark-color);
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease, padding-left 0.3s ease;
}

/* Hover effect for dropdown items */
.dropdown-item-custom:hover {
    background: rgba(0, 0, 0, 0.04);
    padding-left: 26px;
    color: var(--primary-color);
}

/* Active state for dropdown items */
.dropdown-menu-custom li.active .dropdown-item-custom {
    background: rgba(0, 0, 0, 0.08);
    color: var(--primary-color);
    font-weight: 600;
}

/* Badge styling */
.badge-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

.badge-link:hover {
    transform: scale(1.1);
    opacity: 1;
}

.hero-modern {
    position: relative;
    overflow: hidden;

    background: radial-gradient(circle at top,
            #1e3a8a 0%,
            #0f172a 80%,
            #020617 100%);
}

/* grid boxes */
.hero-modern::before {
    content: "";
    position: absolute;
    inset: 0;

    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: 70px 70px;
}

.hero-modern::after {
    content: "";
    position: absolute;
    inset: 0;

    background-image:
        radial-gradient(rgba(0, 0, 0, 0.25) 1px, transparent 1px);

    background-size: 120px 120px;
    opacity: 0.35;
}

/* .hero-bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
} */

/* .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float-shapes 20s infinite ease-in-out;
} */

/* .shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    top: -200px;
    right: -100px;
} */

/* .shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -10s;
}

.shape-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation-delay: -5s;
} */

/* @keyframes float-shapes {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    75% {
        transform: translate(40px, 10px) scale(1.05);
    }
} */

/* .hero-content-modern {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
} */

/* @keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
} */

/* .badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 8px 20px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 50px;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    animation: fadeInUp 1s ease 0.2s backwards;
} */

/* .hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease 0.3s backwards;
} */

/* .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

/* .hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s backwards;
} */

/* .hero-actions {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.5s backwards;
} */

/* .btn-hero-primary,
.btn-hero-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
} */

/* .btn-hero-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    background: linear-gradient(135deg, var(--accent1) 0%, var(--accent2) 100%);
    color: white;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
} */

/* .btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
    color: white;
} */

/* .btn-hero-secondary {
    background: white;
    color: var(--primary);
    border: 2px solid rgba(99, 102, 241, 0.2);
} */

/* .btn-hero-secondary:hover {
    background: rgba(99, 102, 241, 0.05);
    border-color: var(--primary);
    transform: translateY(-3px);
    color: var(--primary);
} */

/* .hero-stats {
    display: flex;
    gap: 3rem;
    animation: fadeInUp 1s ease 0.6s backwards;
} */

/* .stat-item {
    text-align: left;
} */

/* .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
} */

/* .stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
} */

/* .hero-image-container {
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease 0.7s backwards;
} */

/* .hero-main-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
} */

/* .hero-main-image img {
    width: 100%;
    height: auto;
    display: block;
} */

/* @keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
} */

/* .floating-card {
    position: absolute;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 4s ease-in-out infinite;
    z-index: 3;
} */

/* .floating-card i {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
} */

/* .card-1 {
    top: 10%;
    left: -50px;
    animation-delay: 0s;
} */

/* .card-1 i {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
} */

/* .card-2 {
    top: 50%;
    right: -50px;
    animation-delay: -1s;
}

.card-2 i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.card-3 {
    bottom: 10%;
    left: -30px;
    animation-delay: -2s;
}

.card-3 i {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.card-title {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
} */

/* .card-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
} */

/* Features Banner */
/* .features-banner {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid #E2E8F0;
    overflow: hidden;
} */

/* .features-scroll {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
} */

/* @keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
} */

/* .feature-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    white-space: nowrap;
    font-weight: 600;
    color: var(--text);
} */

/* .feature-badge i {
    color: var(--primary);
    font-size: 1.2rem;
} */

/* Analytics Modern */
.analytics-modern {
    background: #F4F4FF;
}

.modules-modern {
    padding: 50px 0;
    /* background: var(--light); */
}

.crm-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    /* background: linear-gradient(135deg, #ebf4f5, #c7d6ec); */
    background: #F4F4FF;
    border-radius: 30px;
    padding: 20px 10px;
}

/* ── Parent Node ── */
.crm-parent {
    background: linear-gradient(135deg, #0F4CC0, #00d4ff);
    color: #fff;
    padding: 10px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
    position: relative;
}

.crm-parent i {
    font-size: 20px;
}

/* ── Vertical trunk from parent ── */
/* .trunk-line {
    width: 2px;
    height: 50px;
    background: linear-gradient(135deg, #0F4CC0, #00d4ff);
} */

.trunk-line {
    width: 1px;
    height: 50px;
    background: repeating-linear-gradient(
        to bottom,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 2px 12px;
    animation: flowDown 0.8s linear infinite;
}

@keyframes flowDown {
    from { background-position: 0 0; }
    to   { background-position: 0 12px; }
}

/* ── Horizontal connector bar ── */
.h-bar-wrap {
    position: relative;
    width: 1112px;
    display: flex;
    justify-content: center;
}

.h-bar {
    position: absolute;
    top: 0;
    left: 12.5%;
    width: 75%;
    height: 2px;
    display: flex;
}

/* Left half — flows from center to left */
.h-bar-left {
    width: 50%;
    height: 1px;
    background: repeating-linear-gradient(
        to left,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 12px 2px;
    animation: flowLeft 0.8s linear infinite;
}

/* Right half — flows from center to right */
.h-bar-right {
    width: 50%;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 12px 2px;
    animation: flowRight 0.8s linear infinite;
}

@keyframes flowLeft {
    from { background-position: 0 0; }
    to   { background-position: -12px 0; }
}

@keyframes flowRight {
    from { background-position: 0 0; }
    to   { background-position: 12px 0; }
}

/* ── Branch drops (vertical lines down to each card) ── */
.branches-row {
    display: flex;
    justify-content: space-between;
    /* width: 780px; */
    position: relative;
    gap: 20px;
}

.branch-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* width: 180px;/ */
}

.branch-drop-top {
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 2px 12px;
    animation: flowDown 0.8s linear infinite;
}

@keyframes flowDown {
    from { background-position: 0 0; }
    to   { background-position: 0 12px; }
}

/* ── Child Cards ── */
.child-card {
    width: 260px;
    height: 70px;
    border-radius: 14px;
    padding: 5px 16px;
    /* cursor: pointer; */
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: row;       /* ← icon + text side by side */
    align-items: center;       /* ← vertically centered */
    justify-content: center;
    border: none;
}

.child-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.25);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 14px;
}

.child-card:hover::before {
    opacity: 1;
}

.child-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* Individual colors */
.card-re {
    background: linear-gradient(135deg, #dbeafe, #9ccaff);
}

.card-hc {
    background: linear-gradient(135deg, #d1fae5, #9dffde);
}

.card-md {
    background: linear-gradient(135deg, #ede9fe, #c2a8ff);
}

.card-lf {
    background: linear-gradient(135deg, #fef3c7, #ffe0aa);
}

.card-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 3px;
}

.card-re .card-icon {
    color: white;
}

.card-hc .card-icon {
    color: white;
}

.card-md .card-icon {
    color: white;
}

.card-lf .card-icon {
    color: white;
}

.child-card h4 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.3;
    margin-left: 10px;
    padding-top: 8px;
}

.child-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ── Connector drop ── */
.branch-drop-down-re {
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 2px 12px;
    animation: flowDown 0.8s linear infinite;
}

.branch-drop-down-hc{
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 2px 12px;
    animation: flowDown 0.8s linear infinite;
}

.branch-drop-down-md{
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 2px 12px;
    animation: flowDown 0.8s linear infinite;
}

.branch-drop-down-lf{
    width: 1px;
    height: 40px;
    background: repeating-linear-gradient(
        to bottom,
        gray 0px,
        gray 6px,
        transparent 6px,
        transparent 12px
    );
    background-size: 2px 12px;
    animation: flowDown 0.8s linear infinite;
}

/* ── Info card ── */
.info-card {
    position: relative;
    width: 255px;
    height: 340px;
    border-radius: 14px;
    /* overflow-y: auto; */
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
}

.info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

/* .info-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    position: sticky;
    top: 0px;    
} */

.info-card img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 2;
}

/* .info-text {
    padding: 10px 0px;
    overflow-y: auto;
} */

.info-text {
    padding: 10px 0px;
    overflow-y: auto;
}

/* ── Scrollbar width ── */
.info-text::-webkit-scrollbar {
    width: 4px;
}

/* ── Track (background) ── */
.info-text::-webkit-scrollbar-track {
    background: transparent;
}

/* ── Thumb (draggable part) ── */
.info-text::-webkit-scrollbar-thumb {
    /* background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color)); */
    background: lightgray;
    border-radius: 10px;
}

/* ── Thumb on hover ── */
.info-text::-webkit-scrollbar-thumb:hover {
    /* background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color)); */
    background: lightgray;
}

.info-card h5 {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px;
    text-align: center;
    position: sticky;
    top: 110px;
    z-index: 1;
    background: inherit;
    padding: 6px 0;
    
    /* ← prevents collapse blending */
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.feature-list{
    overflow-y: auto;
}

.info-text p {
    font-size: 11.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
    text-align: center;
}

/* << --- Featuring symbols-- >> */
.feature-item {
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.3;
    padding-top: 8px;
    display: flex;
    align-items: flex-start;  /* ← icon stays at top */
    gap: 5px;
}

.feature-item i {
    color: var(--primary-color);
}

/* ── Color per card ── */
.card-re-info { background: linear-gradient(180deg, #dbeafe, #f0f8ff); border: 1.5px solid #93c5fd; }
.card-hc-info { background: linear-gradient(180deg, #d1fae5, #f0fffe); border: 1.5px solid #6ee7b7; }
.card-md-info { background: linear-gradient(180deg, #ede9fe, #f5f0ff); border: 1.5px solid #a78bfa; }
.card-lf-info { background: linear-gradient(180deg, #fef3c7, #fffdf0); border: 1.5px solid #fcd34d; }

.section-header-modern {
    margin-bottom: 80px;
    animation: fadeInUp 1s ease;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: var(--capsule-color);
}

.section-badge h6 {
    margin: 0;
    display: inline;
    color: inherit;     /* ← takes color from parent .section-badge */
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
}

.section-title {
    /* font-size: 3rem; */
    position: relative;
    display: inline-block;

    /* font-weight: 700; */
    /* color: var(--text-dark); */
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

/* container for animated lines */
.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    height: 1px;
    width: 0;
    background: white;
    transform: translateX(-50%);
    animation: lineExpand 2s ease forwards, lineRepeat 2s ease 2s infinite;
}

/* first line expansion */
@keyframes lineExpand {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/* repeating new lines from middle */
@keyframes lineRepeat {
    0% {
        width: 0;
        bottom: -16px;
    }

    100% {
        width: 100%;
        bottom: -16px;
    }
}

.section-subtitle {
    /* font-size: 1.2rem; */
    /* color: var(--text-light); */
    /* background: linear-gradient(135deg, var(--accent1), var(--accent2)); */
    /* -webkit-background-clip: text; */
    /* -webkit-text-fill-color: transparent; */
    /* font-size: 1.2rem; */
    color: var(--text);
}

/* .module-modern {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
    background-color: #edf2fb;
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.module-modern.visible {
    opacity: 1;
    transform: translateY(0);
}

.module-content-modern {
    position: relative;
} */

/* .module-number {
    position: absolute;
    top: -20px;
    left: -20px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(99, 102, 241, 0.05);
    line-height: 1;
    z-index: 0;
} */

/* .module-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
} */

/* .module-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
} */

/* .module-modern:hover .module-icon-modern {
    transform: rotate(360deg) scale(1.1);
} */

/* .module-header h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin: 0;
} */

/* .module-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
} */

/* .feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
} */

/* .feature-item-modern {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.03), rgba(139, 92, 246, 0.03));
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
} */

/* .feature-item-modern:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.1);
} */

/* .feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
} */

/* .feature-icon i {
    color: var(--primary);
    font-size: 1.5rem;
} */

/* .feature-content h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.feature-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
} */

/* .module-visual {
    position: relative;
    border-radius: 24px;
    border: 6px double #000;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
} */

/* .visual-bg {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
} */

/* .module-visual img {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.5s ease;
} */

/* .module-modern:hover .module-visual img {
    transform: scale(1.05);
} */

/* .visual-overlay {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 2;
} */

/* .metric-card {
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: float 3s ease-in-out infinite;
} */

/* .metric-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #10B981, #059669);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
} */

/* .metric-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
} */

/* CTA Section */
/* .cta-modern {
    padding: 120px 0;
    background: linear-gradient(135deg, #F8FAFC 0%, #EEF2FF 100%);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 32px;
    padding: 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
} */

/* .cta-content {
    position: relative;
    z-index: 2;
}

.cta-card h2 {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
} */

/* .cta-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
} */

/* .btn-cta-primary,
.btn-cta-secondary {
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
} */

/* .btn-cta-primary {
    background: white;
    color: var(--primary);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    color: var(--primary);
} */

/* .btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
} */

/* .btn-cta-secondary:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
} */

/* .cta-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float-circle 20s infinite ease-in-out;
} */

/* .circle-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: -50px;
} */

/* .circle-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 10%;
    animation-delay: -5s;
}

.circle-3 {
    width: 150px;
    height: 150px;
    top: 50%;
    left: -50px;
    animation-delay: -10s;
} */

/* @keyframes float-circle {

    0%,
    100% {
        transform: translate(0, 0);
    }

    25% {
        transform: translate(20px, -20px);
    }

    50% {
        transform: translate(-10px, 10px);
    }

    75% {
        transform: translate(15px, 5px);
    }
} */

/* *,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */

/* :root {
    --primary-color : var(--primary);
    --secondary-color : var(--secondary)
    --bg: #0a0f1e;
    --surface: #1c2d51;
    --border: rgba(255, 255, 255, 0.07);
    --accent1: #00d4ff;
    --accent2: #7c3aed;
    --accent3: #10b981;
    --accent4: #f59e0b;
    --text: #f1f5f9;
    --muted: #58616f;
    --whiteSmoke: whitesmoke;
} */


.dropdown-item .di-label {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.dropdown-item .di-label span {
    font-size: 0.72rem;
    color: #4b5e78;
    font-weight: 400;
}

/* ── HERO ── */
.hero {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 100px 48px 60px;
}

.hero-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    color: lightgray;
    border: solid 0.1px gray;
    /* color: var(--capsule); */
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 28px;
    z-index: 1;
}

/* background */
/* .hero-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: rgba(0, 212, 255, 0.08);
    z-index: -2;
} */

/* animated border */
/* .hero-badge::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1px;
    border-radius: 999px;

    background: linear-gradient(90deg,
            transparent,
            transparent,
            #00d4ff,
            transparent,
            transparent);

    background-size: 300% 100%;
    animation: flowBorder 4s linear infinite;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    z-index: -1;
} */

@keyframes flowBorder {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 300% 0;
    }
}

.hero h1 {
    /* font-family: 'Syne', sans-serif; */
    /* font-weight: 800; */
    /* font-size: clamp(2.8rem, 6vw, 5rem); */
    line-height: 1.05;
    letter-spacing: -0.03em;
}

/* first line */
.hero .line1 {
    /* font-family: 'Syne', sans-serif; */
    display: inline-block;
    /* font-weight: 800; */
    line-height: 1.05;
    letter-spacing: -0.03em;
    transform: scale(0.8) translateY(20px);
    animation: popReveal 1s ease forwards;

    /* font-family: 'Syne', sans-serif; */
    /* font-size: clamp(2.5rem, 6vw, 5rem); */
    /* font-weight: 700; */
    line-height: 1.1;
    color: var(--light);
}

/* second line */
.hero .line2 {
    display: inline-block;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    animation: popReveal 1s ease forwards;
    animation-delay: 0.35s;
}

.hero .line2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* paragraph */
.hero-desc {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.8s;

    /* font-size: clamp(1.1rem, 2vw, 1.4rem); */
    color: rgba(255, 255, 255, 0.8);
    max-width: 700px;
    margin: 30px auto 50px;
    line-height: 1.7;
}

/* animations */

@keyframes popReveal {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(30px);
    }

    60% {
        transform: scale(1.05) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── STATS BAR ── */
.stats-bar {
    position: relative;
    z-index: 1;
    /* background: var(--text); */
    /* border-top: 1px solid var(--border); */
    /* border-bottom: 1px solid var(--border); */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat {
    padding: 30px 56px;
    text-align: center;
    border-right: 1px solid var(--border);
    height: 8rem;
}

.stat:last-child {
    border-right: none;
}

.stat-num {
    /* font-family: 'Syne', sans-serif; */
    /* font-weight: 800; */
    /* font-size: 2rem; */
    background: var(--dark-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    /* font-size: 0.9rem; */
    letter-spacing: 0.06em;

    text-transform: uppercase;
    color: var(--surface);
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.7;
    /* font-weight: 600; */
}

/* horizontal divider */
.horizontal-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    border-radius: 2px;
    margin: 56px auto 0;
    animation: fadeDown 0.6s 0.3s ease both;
}

/* vertical divider */
.vertical-divider {
    width: 3px;
    height: 70px;
    background: linear-gradient(90deg, var(--accent1), var(--accent2));
    border-radius: 2px;
    margin: 30px 0 0;
    animation: fadeDown 0.6s 0.3s ease both;
}

/* ── CARDS GRID ── */
/* .cards-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 24px 48px 100px;
    max-width: 1300px;
    margin: 0 auto;
} */

/* .card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    animation: fadeUp 0.6s ease both;
} */

/* .card:nth-child(1) {
    animation-delay: 0.1s;
    --card-accent: var(--accent1);
}

.card:nth-child(2) {
    animation-delay: 0.2s;
    --card-accent: var(--accent3);
}

.card:nth-child(3) {
    animation-delay: 0.3s;
    --card-accent: var(--accent2);
}

.card:nth-child(4) {
    animation-delay: 0.4s;
    --card-accent: var(--accent4);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    border-radius: 20px 20px 0 0;
}

.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, color-mix(in srgb, var(--card-accent) 8%, transparent), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card:hover {
    transform: translateY(-6px);
    border-color: color-mix(in srgb, var(--card-accent) 35%, transparent);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover::after {
    opacity: 1;
} */

.card-icon {
    /* border-radius: 14px; */
    /* font-size: 1rem; */
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
    /* background: var(--gradient-primary); */


    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
}

.card:hover .card-icon {
    transform: scale(1.1);
}

/* .card-number {
    position: absolute;
    top: 32px;
    right: 32px;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    color: var(--card-accent);
    opacity: 0.06;
    line-height: 1;
    z-index: 0;
    transition: opacity 0.3s;
} */

/* .card:hover .card-number {
    opacity: 0.12;
} */

/* .card h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    color: var(--card-accent);
}

.card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
} */

/* .card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    position: relative;
    z-index: 1;
} */

/* .tag {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--card-accent) 10%, transparent);
    color: color-mix(in srgb, var(--card-accent) 90%, white);
    border: 1px solid color-mix(in srgb, var(--card-accent) 20%, transparent);
} */

/* .card-arrow {
    position: absolute;
    bottom: 32px;
    right: 32px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--card-accent) 12%, transparent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--card-accent);
    font-size: 1rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1;
}

.card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
} */


.mt-10 {
    margin-top: 10px;
}

.pt-10 {
    padding-top: 10px;
}

.mb-10 {
    margin-bottom: 10px;
}



/* ── WRAPPER ── */
/* .wrapper {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr auto 1fr;
    align-items: center;
    justify-items: center;
    gap: 20px;
} */

/* ── CENTER CIRCLE ── */
.hub {
    position: relative;
    grid-column: 2;
    grid-row: 2;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F4CC0, #00d4ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    box-shadow: 0 10px 40px rgba(15, 76, 192, 0.5),
        0 0 60px rgba(0, 212, 255, 0.3),
        0 0 20px rgba(0, 212, 255, 0.2);;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(30, 41, 59, 0.22);
    }

    50% {
        box-shadow: 0 8px 48px rgba(30, 41, 59, 0.38);
    }
}

.hub-icon {
    font-size: 1.9rem;
}

.hub-title {
    position: absolute;
    bottom: 20px;
    left: 26.8%;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 0.50rem;
    color: var(--whiteSmoke);
    text-align: center;
    line-height: 1.3;
}

.hub-sub {
    font-size: 0.6rem;
    color: #94a3b8;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hub-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ── CARDS ── */
/* .boxCard {
    width: 150x;
    height: auto;
    background: #fff;
    border-radius: 16px;
    border: 2px solid var(--bg);
    padding: 5px 15px;
    text-align: center;
    transition: transform 0.25s, box-shadow 0.25s;
    animation: fadeIn 0.5s ease both;
} */

/* grid positions */
/* .boxCard.tl {
    grid-column: 1;
    grid-row: 1;
    --ca: #3b82f6;
    animation-delay: 0.1s;
}

.boxCard.tr {
    grid-column: 3;
    grid-row: 1;
    --ca: #10b981;
    animation-delay: 0.2s;
}

.boxCard.bl {
    grid-column: 1;
    grid-row: 3;
    --ca: #8b5cf6;
    animation-delay: 0.3s;
}

.boxCard.br {
    grid-column: 3;
    grid-row: 3;
    --ca: #f59e0b;
    animation-delay: 0.4s;
}

.boxCard:hover {
    transform: translateY(-5px);
} */

/* each card gets its own colored shadow on hover */
/* .boxCard.tl:hover {
    box-shadow: 0 10px 28px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
} */

/* .boxCard.tr:hover {
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.3);
    border-color: rgba(16, 185, 129, 0.3);
}

.boxCard.bl:hover {
    box-shadow: 0 10px 28px rgba(139, 92, 246, 0.3);
    border-color: rgba(139, 92, 246, 0.3);
}

.boxCard.br:hover {
    box-shadow: 0 10px 28px rgba(245, 158, 11, 0.3);
    border-color: rgba(245, 158, 11, 0.3);
} */

/* icon moves up on hover */
/* .boxCard-icon {
    display: inline-block;
    transition: transform 0.25s ease;
}

.boxCard:hover .boxCard-icon {
    transform: translateY(-5px);
} */

/* icon color matches card accent on hover */
/* .boxCard.tl:hover .boxCard-icon {
    color: #3b82f6;
}

.boxCard.tr:hover .boxCard-icon {
    color: #10b981;
}

.boxCard.bl:hover .boxCard-icon {
    color: #8b5cf6;
}

.boxCard.br:hover .boxCard-icon {
    color: #f59e0b;
}

.boxCard h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.boxCard p {
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.6;
} */


/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

.footer-title {
    /* font-size: 1.25rem; */
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    /* background: linear-gradient(90deg, var(--primary-color), var(--secondary-color)); */
    background: linear-gradient(90deg, #6c757d, #fff);
}

.footer-links {
    list-style: none;
    padding: 0;
    font-size: 14px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.7);
    padding-left: 5px;
}

.footer-links i {
    /* color: var(--primary-color); */
    font-size: 1.1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-card {
        display: none;
    }

    .module-number {
        font-size: 5rem;
    }

    .cta-card {
        padding: 60px 40px;
    }

    .cta-card h2 {
        font-size: 2rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .module-header h3 {
        font-size: 1.5rem;
    }

    .module-number {
        font-size: 4rem;
        top: -10px;
        left: -10px;
    }

    .cta-card {
        padding: 40px 30px;
    }

    .cta-card h2 {
        font-size: 1.75rem;
    }

    .cta-actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        margin-bottom: 1rem;
        flex-wrap: wrap;
        animation: fadeInUp 1s ease 0.5s backwards;
    }

    .logo-container {
        margin-left: -100px;
    }
}


/* ── Large tablets / small laptops (max 1024px) ── */
@media (max-width: 1198px) {

    /* ── Reduce card widths ── */
    .child-card {
        width: 90%;
        max-width: 300px;
        padding: 14px;
    }

    .info-card {
        width: 90%;
        max-width: 300px;
        padding: 14px;
    }

    /* ── Reduce gaps between branches ── */
    .branches-row {
        gap: 12px;
    }

    .branch-col {
        gap: 8px;
    }

    .h-bar-wrap {
        position: relative;
        width: 930px;
        display: flex;
        justify-content: center;
    }

    /* ── Slightly smaller fonts ── */
    .child-card h4,
    .child-card h5,
    .child-card h6 {
        font-size: 14px;
    }

    .child-card p,
    .info-card p {
        font-size: 13px;
    }

    /* ── Shorter connector lines ── */
    .trunk-line {
        height: 35px;
    }

    .branch-drop {
        height: 35px;
    }
}

@media (max-width: 1024px) {

    /* ── Reduce card widths ── */
    .child-card {
        width: 90%;
        max-width: 300px;
        padding: 14px;
    }

    .info-card {
        width: 90%;
        max-width: 300px;
        padding: 14px;
    }

    .h-bar-wrap {
        position: relative;
        width: 930px;
        display: flex;
        justify-content: center;
    }

    /* ── Reduce gaps between branches ── */
    .branches-row {
        gap: 12px;
    }

    .branch-col {
        gap: 8px;
    }

    /* ── Slightly smaller fonts ── */
    .child-card h4,
    .child-card h5,
    .child-card h6 {
        font-size: 14px;
    }

    .child-card p,
    .info-card p {
        font-size: 13px;
    }

    /* ── Shorter connector lines ── */
    .trunk-line {
        height: 35px;
    }

    .branch-drop {
        height: 35px;
    }
}

/* ── Tablets (max 992px) ── */
@media (max-width: 992px) {

    /* ── Switch to 2 column layout ── */
    .branches-row {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .branch-col {
        width: 45%;
        align-items: center;
    }

    /* ── Hide horizontal bar ── */
    .h-bar-wrap {
        position: relative;
        width: 425px;
        display: flex;
        justify-content: center;
    }

    /* ── Adjust card sizes ── */
    .child-card {
        width: 100%;
        max-width: 280px;
    }

    .info-card {
        width: 100%;
        max-width: 280px;
    }

    /* ── Trunk line ── */
    .trunk-line {
        height: 32px;
    }

    .branch-drop {
        height: 32px;
    }
}

@media (max-width: 768px) {

    /* ── Scene: vertical flow ── */
    .crm-tree {
        flex-direction: column;
        align-items: center;
    }

    /* ── Hide horizontal bar ── */
    .h-bar-wrap,
    .h-bar {
        display: none;
    }

    /* ── Stack branches vertically ── */
    .branches-row {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 0;
    }

    /* ── Each branch column centered ── */
    .branch-col {
        width: 100%;
        align-items: center;
    }

    /* ── Vertical connector between cards ── */
    .branch-drop {
        width: 2px;
        height: 40px;
        background: #c7d2fe;
    }

    /* ── Widen cards for mobile ── */
    .child-card {
        width: 85%;
        max-width: 340px;
    }

    /* ── Widen info cards too ── */
    .info-card {
        width: 85%;
        max-width: 340px;
    }

    /* ── Trunk line stays same ── */
    .trunk-line {
        height: 40px;
    }
}

.logo-wrapper svg {
    width: 100%;
    max-width: 400px;
    height: auto;
}