/* ================================================================
   NexSoft Hub - Main Stylesheet
   Colors: Primary #0B1F3B | Secondary #0EA5A4 | Background #fff
   Font: Montserrat 300/400/500/600/700
================================================================ */

/* ---- CSS Variables ---- */
:root {
    --primary: #0B1F3B;
    --primary-light: #132d54;
    --secondary: #0EA5A4;
    --secondary-dark: #0a8f8e;
    --accent: #F59E0B;
    --white: #ffffff;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #040d1a;
    --text: #1a202c;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --border: rgba(14, 165, 164, 0.15);
    --shadow: 0 4px 24px rgba(11, 31, 59, 0.08);
    --shadow-lg: 0 16px 48px rgba(11, 31, 59, 0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font: 'Montserrat', sans-serif;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    font-weight: 400;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Cursor */
.cursor-outer {
    width: 40px;
    height: 40px;
    border: 1px dashed var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background-color 0.3s, border 0.3s, box-shadow 0.3s;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(14, 165, 164, 0.4), 0 0 40px rgba(14, 165, 164, 0.1);
    /* Doubled the glow layers */
}

.cursor-inner {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, box-shadow 0.2s;
    box-shadow: 0 0 15px var(--secondary), 0 0 30px rgba(14, 165, 164, 0.6);
    /* More intense core glow */
}

/* Hover States */
.cursor-outer.cursor-hover {
    width: 60px;
    height: 60px;
    background-color: rgba(14, 165, 164, 0.15);
    border: 1px solid var(--secondary);
    box-shadow: 0 0 35px rgba(14, 165, 164, 0.7), 0 0 70px rgba(14, 165, 164, 0.3);
    /* Ultra glow on hover */
    animation: cursorPulse 1.2s infinite;
}

.cursor-inner.cursor-hover {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 25px var(--secondary), 0 0 50px rgba(14, 165, 164, 0.8);
}

@keyframes cursorPulse {
    0% {
        box-shadow: 0 0 20px rgba(14, 165, 164, 0.5), 0 0 40px rgba(14, 165, 164, 0.2);
    }

    50% {
        box-shadow: 0 0 45px rgba(14, 165, 164, 0.8), 0 0 90px rgba(14, 165, 164, 0.4);
    }

    100% {
        box-shadow: 0 0 20px rgba(14, 165, 164, 0.5), 0 0 40px rgba(14, 165, 164, 0.2);
    }
}

/* Ensure links and buttons don't show default cursor */
a,
button,
.btn,
.service-card,
.footer-links a,
.social-link {
    cursor: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================================================================
   NAVBAR — Glassmorphism
================================================================ */
.nexsoft-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
    background: transparent;
}

.nexsoft-navbar.scrolled {
    background: rgba(11, 31, 59, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14, 165, 164, 0.2);
    padding: 0.7rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--white) !important;
}

.brand-icon {
    color: var(--secondary);
    font-size: 1.6rem;
    line-height: 1;
}

.brand-text {
    color: var(--white);
}

.brand-accent {
    color: var(--secondary);
}

/* Nav Links */
.nexsoft-navbar .nav-link {
    font-family: var(--font);
    font-weight: 500;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 0.5rem 0.9rem !important;
    border-radius: var(--radius-sm);
    position: relative;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nexsoft-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    right: 50%;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
    transition: var(--transition);
}

.nexsoft-navbar .nav-link:hover,
.nexsoft-navbar .nav-link.active {
    color: var(--white) !important;
}

.nexsoft-navbar .nav-link:hover::after,
.nexsoft-navbar .nav-link.active::after {
    left: 0.9rem;
    right: 0.9rem;
}

/* Nav CTA Button */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white) !important;
    border: none;
    border-radius: 50px;
    padding: 0.55rem 1.4rem !important;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(14, 165, 164, 0.35);
    letter-spacing: 0.3px;
}

.btn-primary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 164, 0.5);
    color: var(--white) !important;
}

/* Mobile Toggler */
.toggler-icon {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 22px;
    cursor: pointer;
}

.toggler-icon span {
    display: block;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-toggler {
    border: none;
    padding: 4px;
    background: transparent !important;
    box-shadow: none !important;
}

@media (max-width: 991px) {
    .nexsoft-navbar .navbar-collapse {
        background: rgba(11, 31, 59, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        margin-top: 1rem;
        padding: 1rem;
        border: 1px solid rgba(14, 165, 164, 0.15);
    }

    .nexsoft-navbar .nav-link {
        padding: 0.7rem 1rem !important;
    }

    .nexsoft-navbar .nav-link::after {
        display: none;
    }

    .btn-primary-custom {
        display: inline-block;
        margin-top: 0.5rem;
    }
}

/* ================================================================
   SHARED SECTION STYLES
================================================================ */
section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    background: rgba(14, 165, 164, 0.1);
    color: var(--secondary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(14, 165, 164, 0.25);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
    line-height: 1.15;
}

.section-title span {
    color: var(--secondary);
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 0;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   HERO SECTION
================================================================ */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, #162d4f 50%, #0a2040 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-particles::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.12) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-particles::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.08) 0%, transparent 70%);
    bottom: -80px;
    left: 10%;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-30px) scale(1.05);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 165, 164, 0.15);
    border: 1px solid rgba(14, 165, 164, 0.3);
    color: var(--secondary);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease;
}

.hero-badge i {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.hero-headline {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.9s ease 0.1s both;
}

.hero-headline .text-accent {
    color: var(--secondary);
}

.hero-headline .text-outline {
    -webkit-text-stroke: 2px var(--secondary);
    color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
    max-width: 560px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s ease 0.2s both;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.3s both;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.2rem;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgba(14, 165, 164, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(14, 165, 164, 0.55);
    color: var(--white);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 1rem 2.2rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-outline:hover {
    border-color: var(--secondary);
    color: var(--secondary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 3.5rem;
    animation: fadeInUp 0.9s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
}

.hero-stat .stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
    position: relative;
    animation: fadeInRight 1s ease 0.3s both;
}

.hero-card-stack {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-card {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 360px;
    width: 100%;
    animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.hero-card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
}

.hero-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.hero-card-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 300;
}

.hero-floating-badge {
    position: absolute;
    background: var(--secondary);
    color: white;
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 8px 24px rgba(14, 165, 164, 0.4);
}

.hero-badge-1 {
    top: 20px;
    right: -20px;
    animation: badge1 4s ease-in-out infinite;
}

.hero-badge-2 {
    bottom: 30px;
    left: -20px;
    animation: badge2 5s ease-in-out infinite;
}

@keyframes badge1 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes badge2 {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

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

/* ================================================================
   SERVICES SECTION
================================================================ */
.services-section {
    background: var(--bg-alt);
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem 2rem;
    height: 100%;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    opacity: 1;
}

.service-card>* {
    position: relative;
    z-index: 1;
}

.service-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, rgba(14, 165, 164, 0.12), rgba(14, 165, 164, 0.06));
    border: 1px solid rgba(14, 165, 164, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: rgba(14, 165, 164, 0.2);
    border-color: rgba(14, 165, 164, 0.4);
    color: var(--secondary);
}

.service-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-title {
    color: var(--white);
}

.service-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.7;
    transition: var(--transition);
}

.service-card:hover .service-desc {
    color: rgba(255, 255, 255, 0.75);
}

.service-arrow {
    margin-top: 1.5rem;
    width: 36px;
    height: 36px;
    background: rgba(14, 165, 164, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 0.9rem;
    transition: var(--transition);
}

.service-card:hover .service-arrow {
    background: var(--secondary);
    color: white;
    transform: translateX(5px);
}

/* ================================================================
   WHY CHOOSE US
================================================================ */
.why-us-section {
    background: var(--bg);
}

.feature-block {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.feature-block:hover {
    background: var(--bg-alt);
    border-color: var(--border);
}

.feature-icon-wrap {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: var(--primary);
}

.feature-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.why-us-image-wrap {
    position: relative;
    padding: 1.5rem;
}

.why-us-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.why-us-image img {
    width: 100%;
    display: block;
}

.why-us-badge {
    position: absolute;
    bottom: 2rem;
    right: 0;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-radius: var(--radius);
    padding: 1.2rem 1.5rem;
    box-shadow: 0 8px 30px rgba(14, 165, 164, 0.35);
    text-align: center;
}

.why-badge-number {
    font-size: 2rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.why-badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0.85;
    white-space: nowrap;
}

/* ================================================================
   PROJECTS SECTION
================================================================ */
.projects-section {
    background: var(--bg-alt);
}

.project-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary) 0%, #1a3a5f 100%);
}

.project-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    font-size: 3rem;
    gap: 0.5rem;
}

.project-img-placeholder span {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.project-card:hover .project-img-wrap img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 59, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-overlay a {
    background: var(--secondary);
    color: white;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
}

.project-overlay a:hover {
    background: white;
    color: var(--primary);
}

.project-body {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.project-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
}

.project-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-tag {
    background: rgba(14, 165, 164, 0.1);
    color: var(--secondary);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
}

.project-link {
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.project-link:hover {
    gap: 8px;
    color: var(--primary);
}

/* ================================================================
   TESTIMONIALS SECTION
================================================================ */
.testimonials-section {
    background: linear-gradient(135deg, var(--primary) 0%, #162d4f 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials-section .section-title {
    color: white;
}

.testimonials-section .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.testimonials-section .section-tag {
    background: rgba(14, 165, 164, 0.15);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    border-color: rgba(14, 165, 164, 0.3);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 1.2rem;
    font-size: 1rem;
}

.testimonial-quote {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    padding-top: 1rem;
}

.testimonial-quote::before {
    content: '\201C';
    font-size: 4rem;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
    top: -1rem;
    left: -0.5rem;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.testimonial-role {
    font-size: 0.78rem;
    color: var(--secondary);
    font-weight: 500;
}

/* ================================================================
   PRICING PREVIEW SECTION
================================================================ */
.pricing-section {
    background: var(--bg);
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 2.5rem;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.pricing-card.featured {
    border-color: var(--secondary);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    transform: scale(1.03);
}

.pricing-card:not(.featured):hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary);
}

.pricing-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-plan-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.pricing-card.featured .pricing-price {
    color: white;
}

.pricing-price sup {
    font-size: 1.3rem;
    font-weight: 700;
    vertical-align: super;
}

.pricing-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.pricing-card.featured .pricing-period {
    color: rgba(255, 255, 255, 0.6);
}

.pricing-divider {
    border-color: var(--border);
    margin-bottom: 1.5rem;
}

.pricing-card.featured .pricing-divider {
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 400;
}

.pricing-card.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.75);
}

.pricing-features li i {
    color: var(--secondary);
    font-size: 1rem;
    flex-shrink: 0;
}

.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0.9rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 2px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-pricing:hover,
.pricing-card.featured .btn-pricing {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 164, 0.4);
}

.pricing-card.featured .btn-pricing:hover {
    background: white;
    color: var(--primary);
    border-color: white;
}

/* ================================================================
   BLOG SECTION
================================================================ */
.blog-section {
    background: var(--bg-alt);
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.blog-img-wrap {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), #1a3a5f);
    position: relative;
}

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

.blog-card:hover .blog-img-wrap img {
    transform: scale(1.07);
}

.blog-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.2);
}

.blog-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

.blog-body {
    padding: 1.5rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.blog-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.6rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover .blog-title {
    color: var(--secondary);
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.65;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 1rem;
}

.blog-read-more {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.blog-read-more:hover {
    gap: 8px;
    color: var(--primary);
}

/* ================================================================
   CTA SECTION
================================================================ */
.cta-section {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-section .section-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.1rem;
    font-weight: 300;
}

.btn-cta-white {
    background: white;
    color: var(--secondary);
    border: none;
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    color: var(--primary);
}

.btn-cta-outline-white {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    padding: 1rem 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cta-outline-white:hover {
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

/* ================================================================
   PAGE HEADER (Inner pages)
================================================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #162d4f 100%);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(14, 165, 164, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: white;
    margin-bottom: 1rem;
}

.page-header-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
    max-width: 500px;
    margin: 0 auto;
}

.page-breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.page-breadcrumb a {
    color: var(--secondary);
}

.page-breadcrumb span {
    color: rgba(255, 255, 255, 0.4);
}

.page-breadcrumb .active {
    color: rgba(255, 255, 255, 0.7);
}

/* ================================================================
   CONTACT & FORMS
================================================================ */
.form-section {
    background: var(--bg-alt);
}

.nexsoft-form .form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.nexsoft-form .form-control,
.nexsoft-form .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem 1.1rem;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 400;
    transition: var(--transition);
    background: var(--white);
    color: var(--text);
}

.nexsoft-form .form-control:focus,
.nexsoft-form .form-select:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.1);
    outline: none;
}

.nexsoft-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.9rem 2.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 164, 0.4);
}

.contact-info-block {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    height: 100%;
    color: white;
}

.contact-info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(14, 165, 164, 0.15);
    border: 1px solid rgba(14, 165, 164, 0.25);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    font-weight: 600;
}

.contact-info-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-top: 2px;
}

/* Request / alert messages */
.alert-success-custom {
    background: rgba(14, 165, 164, 0.1);
    border: 1px solid rgba(14, 165, 164, 0.3);
    color: var(--secondary-dark);
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.alert-error-custom {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #dc2626;
    border-radius: var(--radius-sm);
    padding: 1rem 1.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

/* ================================================================
   BLOG LISTING
================================================================ */
.pagination-nexsoft .page-link {
    border: 1.5px solid var(--border);
    color: var(--primary);
    font-weight: 600;
    padding: 0.6rem 1rem;
    border-radius: var(--radius-sm) !important;
    margin: 0 3px;
    font-family: var(--font);
    transition: var(--transition);
    font-size: 0.88rem;
}

.pagination-nexsoft .page-link:hover,
.pagination-nexsoft .page-item.active .page-link {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
}

/* ================================================================
   BLOG SINGLE POST
================================================================ */
.blog-single-content {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.9;
    color: var(--text);
}

.blog-single-content h2 {
    font-size: 1.6rem;
    margin: 2.5rem 0 1rem;
    color: var(--primary);
}

.blog-single-content h3 {
    font-size: 1.3rem;
    margin: 2rem 0 0.75rem;
    color: var(--primary);
}

.blog-single-content p {
    margin-bottom: 1.5rem;
}

.blog-single-content ul,
.blog-single-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.blog-single-content li {
    margin-bottom: 0.5rem;
}

.blog-sidebar-card {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1.5rem;
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.blog-sidebar-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--secondary);
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
}

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

.recent-post-item .rp-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.4;
    transition: var(--transition);
}

.recent-post-item .rp-title:hover {
    color: var(--secondary);
}

.recent-post-item .rp-date {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 3px;
}

.recent-post-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: white;
    flex-shrink: 0;
}

/* ================================================================
   PRICING PAGE
================================================================ */
.pricing-page-section {
    background: var(--bg-alt);
}

/* ================================================================
   ABOUT PAGE
================================================================ */
.about-mission-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 2.5rem;
    color: white;
    height: 100%;
}

.about-mission-card h4 {
    color: var(--secondary);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.75rem;
}

.about-mission-card h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-mission-card p {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 300;
    line-height: 1.8;
}

.about-value-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    background: var(--white);
}

.about-value-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.about-value-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    display: block;
}

.about-value-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.about-value-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ================================================================
   SERVICES PAGE
================================================================ */
.services-page-section {
    background: var(--bg-alt);
}

.service-page-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-page-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.service-page-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(14, 165, 164, 0.2);
}

.service-page-card:hover::after {
    transform: scaleX(1);
}

.service-page-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(14, 165, 164, 0.1), rgba(14, 165, 164, 0.05));
    border: 1px solid rgba(14, 165, 164, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-page-card:hover .service-page-icon {
    background: var(--secondary);
    color: white;
    border-color: var(--secondary);
}

.service-page-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.service-page-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.service-page-features {
    list-style: none;
    padding: 0;
}

.service-page-features li {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-page-features li i {
    color: var(--secondary);
    font-size: 0.8rem;
}

/* ================================================================
   REGISTER SECTION
================================================================ */
.register-section {
    background: var(--bg-alt);
}

.register-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 3rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.register-info {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    color: white;
    height: 100%;
}

.register-info h3 {
    color: white;
    margin-bottom: 1rem;
}

.register-info p {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
    line-height: 1.8;
}

.register-perk {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.register-perk:last-child {
    border-bottom: none;
}

.register-perk i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.register-perk span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ================================================================
   FOOTER
================================================================ */
.nexsoft-footer {
    background: var(--bg-dark);
}

.footer-top {
    padding: 80px 0 60px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font);
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}

.footer-brand .brand-icon {
    color: var(--secondary);
    font-size: 1.6rem;
}

.footer-brand .brand-text {
    color: white;
}

.footer-brand .brand-accent {
    color: var(--secondary);
}

.footer-tagline {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--secondary);
    border-color: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: white;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 400;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary);
    transform: translateX(4px);
    display: inline-block;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-contact li i {
    color: var(--secondary);
    margin-top: 2px;
    flex-shrink: 0;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: white;
    padding: 0.7rem 1rem;
    font-family: var(--font);
    font-size: 0.85rem;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--secondary);
}

.newsletter-btn {
    background: var(--secondary);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    padding: 0 1rem;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--secondary-dark);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 1.5rem 0;
    font-size: 0.83rem;
    color: var(--text-muted);
}

.footer-bottom-links a {
    color: var(--text-muted);
    transition: var(--transition);
    margin: 0 6px;
}

.footer-bottom-links a:hover {
    color: var(--secondary);
}

/* ================================================================
   404 PAGE
================================================================ */
.page-404 {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), #162d4f);
    text-align: center;
    color: white;
    padding: 2rem;
}

.page-404 .error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--secondary);
    line-height: 1;
    opacity: 0.3;
    margin-bottom: -1rem;
}

.page-404 h1 {
    font-size: 2.5rem;
    color: white;
    margin-bottom: 1rem;
}

.page-404 p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2rem;
}

/* ================================================================
   UTILITIES
================================================================ */
.text-secondary-custom {
    color: var(--secondary) !important;
}

.bg-primary-custom {
    background: var(--primary) !important;
}

.bg-secondary-custom {
    background: var(--secondary) !important;
}

.divider-line {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
    border-radius: 3px;
    margin: 0 auto 1rem;
}

/* Success popup */
.success-popup {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: 0 8px 30px rgba(14, 165, 164, 0.4);
    z-index: 9999;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
}

.success-popup.show {
    transform: translateY(0);
    opacity: 1;
}

/* ================================================================
   TEAM ORG TREE (About Us)
================================================================ */
.team-tree-section {
    padding: 100px 0;
    background: var(--bg-alt);
    overflow: hidden;
}

/* ── Org tree wrapper ── */
.org-tree {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* ── Each row ── */
.org-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

/* ── Vertical connector (between rows) ── */
.org-connector-v {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--secondary), rgba(14, 165, 164, 0.25));
    border-radius: 2px;
}

/* ── Horizontal connector spanning nodes ── */
.org-connector-h {
    position: relative;
    height: 2px;
    background: linear-gradient(to right, rgba(14, 165, 164, 0), var(--secondary) 20%, var(--secondary) 80%, rgba(14, 165, 164, 0));
    margin-bottom: 0;
    width: calc((var(--cols) - 1) * 152px);
    max-width: 90vw;
    border-radius: 2px;
}

/* ── Single node ── */
.org-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
    cursor: default;
}

/* ── Avatar wrapper (circle) ── */
.org-avatar-wrap {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Root node is bigger */
.org-root .org-avatar-wrap {
    width: 130px;
    height: 130px;
}

/* Photo inside circle */
.org-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 6px 24px rgba(11, 31, 59, 0.18);
    display: block;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.org-avatar-wrap:hover .org-avatar-img {
    transform: scale(1.07);
    box-shadow: 0 12px 36px rgba(14, 165, 164, 0.35);
}

/* Initials fallback inside circle */
.org-avatar-initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border: 3px solid white;
    box-shadow: 0 6px 24px rgba(11, 31, 59, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -1px;
    transition: transform 0.4s ease;
}

.org-root .org-avatar-initials {
    font-size: 2.5rem;
}

.org-avatar-wrap:hover .org-avatar-initials {
    transform: scale(1.07);
}

/* ── Pulsing teal ring on root node ── */
.org-root-ring {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    opacity: 0.5;
    animation: rootPulse 2.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes rootPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.12);
        opacity: 0.15;
    }
}

/* ── Teal top border indicator on root avatar ── */
.org-root .org-avatar-img,
.org-root .org-avatar-initials {
    border-color: var(--secondary);
    box-shadow: 0 8px 32px rgba(14, 165, 164, 0.3);
}

/* ── Bio tooltip ── */
.org-tooltip {
    position: absolute;
    bottom: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--primary);
    color: white;
    font-size: 0.78rem;
    font-weight: 300;
    line-height: 1.6;
    padding: 10px 14px;
    border-radius: 10px;
    width: 210px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 10;
    box-shadow: 0 8px 24px rgba(11, 31, 59, 0.22);
}

.org-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--primary);
}

.org-avatar-wrap:hover .org-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ── Labels below circle ── */
.org-node-label {
    text-align: center;
    line-height: 1.3;
}

.org-node-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.org-root .org-node-name {
    font-size: 1.05rem;
}

.org-node-role {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--secondary);
    background: rgba(14, 165, 164, 0.08);
    border: 1px solid rgba(14, 165, 164, 0.2);
    border-radius: 50px;
    padding: 3px 12px;
}

/* ── Responsive ── */
@media (max-width: 640px) {
    .org-row {
        gap: 1.5rem;
    }

    .org-avatar-wrap {
        width: 80px;
        height: 80px;
    }

    .org-root .org-avatar-wrap {
        width: 105px;
        height: 105px;
    }

    .org-connector-h {
        width: calc((var(--cols) - 1) * 100px);
    }

    .org-tooltip {
        display: none;
    }
}