/* ============================================================
   COMPLEXSA — Medisch-Inspired Design System
   ============================================================ */

/* ── Google Fonts ───────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
    --navy:        #0f172a;
    --navy-dark:   #020617;
    --navy-light:  #1e293b;
    --cyan:        #0ea5e9;
    --cyan-dark:   #0284c7;
    --cyan-light:  #38bdf8;
    --teal:        #14b8a6;
    --white:       #ffffff;
    --off-white:   #f8fafc;
    --gray-100:    #f1f5f9;
    --gray-200:    #e2e8f0;
    --gray-300:    #cbd5e1;
    --gray-500:    #64748b;
    --gray-700:    #334155;
    --text-dark:   #0f172a;
    --text-body:   #475569;
    --success:     #10b981;
    --danger:      #ef4444;
    --warning:     #f59e0b;
    --info:        #3b82f6;

    --font-heading: 'Montserrat', sans-serif;
    --font-body:    'Open Sans', sans-serif;

    --shadow-sm:   0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md:   0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg:   0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
    --shadow-xl:   0 25px 50px -12px rgba(0, 0, 0, 0.15);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);

    --radius-sm:   8px;
    --radius-md:   12px;
    --radius-lg:   20px;
    --radius-xl:   32px;

    --transition:  all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-slow: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: var(--cyan);
    transition: var(--transition);
}

a:hover {
    color: var(--cyan-dark);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Top Bar ────────────────────────────────────────────────── */
.top-bar {
    background: var(--navy);
    color: var(--gray-300);
    font-size: 0.85rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--cyan);
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.top-bar-right a {
    color: var(--gray-300);
    font-size: 1rem;
    transition: var(--transition);
}

.top-bar-right a:hover {
    color: var(--cyan);
    transform: translateY(-1px);
}

/* ── Navbar ─────────────────────────────────────────────────── */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-slow);
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
    min-height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    height: 75px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.navbar-brand span {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--navy);
    letter-spacing: -0.3px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    display: block;
    padding: 24px 18px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--cyan);
    border-bottom-color: var(--cyan);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 14px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--teal) 0%, var(--cyan) 100%);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

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

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1rem;
}

.btn-danger {
    background: var(--danger);
    color: var(--white);
}

.btn-danger:hover {
    background: #c0392b;
    color: var(--white);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #219a52;
    color: var(--white);
}

/* Mobile menu toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── Hero Section ───────────────────────────────────────────── */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 120px 0 140px;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 40%, rgba(14,165,233,0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 70%, rgba(20,184,166,0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,195,218,0.15);
    color: var(--cyan);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(0,195,218,0.25);
}

.hero h1 {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--cyan);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.8;
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero floating icons */
.hero-icons {
    display: flex;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.hero-icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    min-width: 130px;
    text-align: center;
    box-shadow: var(--shadow-glass);
}

.hero-icon-card:hover {
    background: rgba(0,195,218,0.15);
    transform: translateY(-4px);
    border-color: var(--cyan);
}

.hero-icon-card i {
    font-size: 2rem;
    color: var(--cyan);
}

.hero-icon-card span {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ── Info Cards Row (below hero) ────────────────────────────── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: -70px;
    position: relative;
    z-index: 10;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.info-card {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-card:nth-child(1) { background: var(--cyan); color: var(--white); }
.info-card:nth-child(2) { background: var(--navy); color: var(--white); }
.info-card:nth-child(3) { background: var(--white); color: var(--navy); }
.info-card:nth-child(4) { background: var(--navy-dark); color: var(--white); }

.info-card i {
    font-size: 2.2rem;
    opacity: 0.85;
}

.info-card h4 {
    color: inherit;
    font-size: 1.05rem;
    font-weight: 700;
}

.info-card p {
    font-size: 0.85rem;
    opacity: 0.85;
    line-height: 1.6;
}

/* ── Section Common ─────────────────────────────────────────── */
.section {
    padding: 90px 0;
}

.section-gray {
    background: var(--off-white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: var(--cyan);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.3rem;
    margin-bottom: 16px;
    position: relative;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--cyan);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Qué Hacemos — Split Layout ─────────────────────────────── */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.split-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.split-text h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--cyan);
    margin-top: 16px;
    border-radius: 2px;
}

.split-text .lead {
    font-weight: 600;
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 16px;
}

.split-text p {
    margin-bottom: 16px;
    line-height: 1.8;
}

.checklist {
    list-style: none;
    margin: 24px 0;
}

.checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    font-weight: 500;
    color: var(--text-dark);
    border-bottom: 1px solid var(--gray-100);
}

.checklist li:last-child {
    border-bottom: none;
}

.checklist li i {
    color: var(--cyan);
    font-size: 1rem;
    flex-shrink: 0;
}

.split-image {
    position: relative;
}

.split-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.split-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: var(--cyan);
    opacity: 0.15;
    z-index: -1;
}

.split-buttons {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    flex-wrap: wrap;
}

/* ── Service Area Cards (3-column) ──────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-100);
}

.service-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--cyan-light);
}

.service-card-icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--off-white) 100%);
    font-size: 5rem;
    color: var(--cyan);
    transition: var(--transition-slow);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    color: var(--white);
}

.service-card-body {
    padding: 28px;
}

.service-card-body h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.service-card-body p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: var(--gray-500);
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--cyan);
    font-weight: 500;
    border-bottom: 1px solid var(--gray-100);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    font-size: 0.75rem;
}

.service-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    padding: 8px 0;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--navy);
    border-bottom: 2px solid var(--navy);
}

.service-card .read-more:hover {
    color: var(--cyan);
    border-color: var(--cyan);
}

/* ── Dark Band (Mission/Vision + Year) ──────────────────────── */
.dark-band {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.dark-band::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 10% 50%, rgba(0,195,218,0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0,195,218,0.06) 0%, transparent 30%);
    pointer-events: none;
}

.dark-band .container {
    position: relative;
    z-index: 2;
}

.dark-band-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.dark-band-year {
    font-size: 8rem;
    font-weight: 800;
    font-family: var(--font-heading);
    color: rgba(255,255,255,0.08);
    line-height: 1;
    position: relative;
}

.dark-band-year-label {
    color: var(--cyan);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    display: block;
}

.dark-band-content h3 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.dark-band-content p {
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 20px;
}

.dark-band-content .quote-author {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.dark-band-content .quote-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--cyan);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.2rem;
}

.dark-band-content .quote-author .author-info strong {
    display: block;
    color: var(--white);
    font-size: 1rem;
}

.dark-band-content .quote-author .author-info span {
    color: var(--cyan);
    font-size: 0.85rem;
}

/* Mission and vision in dark band */
.mission-vision-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 60px;
}

.mv-box {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-xl);
    padding: 40px;
    transition: var(--transition);
    box-shadow: var(--shadow-glass);
}

.mv-box:hover {
    background: rgba(14,165,233,0.08);
    border-color: rgba(14,165,233,0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.mv-box i {
    font-size: 2rem;
    color: var(--cyan);
    margin-bottom: 16px;
    display: block;
}

.mv-box h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 12px;
}

.mv-box p {
    color: rgba(255,255,255,0.7);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ── Values Icons Row ───────────────────────────────────────── */
.values-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.value-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.value-card:hover {
    border-color: var(--cyan-light);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--cyan);
    margin-bottom: 16px;
    display: block;
}

.value-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.value-card p {
    font-size: 0.85rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ── Objectives ─────────────────────────────────────────────── */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.objective-card {
    display: flex;
    gap: 28px;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-xl);
    border: 1px solid transparent;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
}

.objective-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--cyan-light);
    transform: translateY(-8px);
}

.objective-card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(14,165,233,0.1) 0%, rgba(20,184,166,0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--cyan);
    border: 1px solid rgba(14,165,233,0.15);
    transition: var(--transition-slow);
}

.objective-card:hover .objective-card-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    color: var(--white);
    transform: rotate(10deg);
}

.objective-card h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.objective-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── Team Section ───────────────────────────────────────────── */
.team-section {
    background: var(--off-white);
}

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

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-align: center;
}

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

.team-card-photo {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-card-photo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
}

.team-card-photo i {
    font-size: 6rem;
    color: rgba(255,255,255,0.1);
    z-index: 1;
}

.team-card-photo .initials {
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.25);
    font-family: var(--font-heading);
    z-index: 1;
}

.team-card-body {
    padding: 24px 20px;
}

.team-card-body h4 {
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.team-card-body .role {
    color: var(--cyan);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
    display: block;
}

.team-card-body p {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.team-card-social {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 16px 20px;
    border-top: 1px solid var(--gray-100);
}

.team-card-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 0.85rem;
    transition: var(--transition);
}

.team-card-social a:hover {
    background: var(--cyan);
    color: var(--white);
}

.team-divider {
    text-align: center;
    margin: 50px 0 40px;
}

.team-divider h3 {
    font-size: 1.6rem;
    position: relative;
    display: inline-block;
}

.team-divider h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--cyan);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* ── Partners ───────────────────────────────────────────────── */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.partner-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 32px;
    background: var(--white);
    border: 1px solid transparent;
    border-radius: var(--radius-xl);
    transition: var(--transition-slow);
    box-shadow: var(--shadow-sm);
}

.partner-card:hover {
    border-color: var(--cyan-light);
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.partner-card-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1.8rem;
    transition: var(--transition-slow);
}

.partner-card:hover .partner-card-icon {
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    color: var(--white);
}

.partner-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.partner-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ── Contact Section ────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,195,218,0.1);
}

.contact-form textarea {
    resize: vertical;
    min-height: 130px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--off-white);
    border-radius: var(--radius-md);
    align-items: flex-start;
}

.contact-info-card i {
    font-size: 1.6rem;
    color: var(--cyan);
    margin-top: 4px;
    flex-shrink: 0;
}

.contact-info-card h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.contact-info-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--cyan);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-about .brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-about .brand img {
    height: 44px;
}

.footer-about .brand span {
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

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

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--cyan);
    transform: translateY(-2px);
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '›';
    color: var(--cyan);
    font-weight: 700;
}

.footer-links a:hover {
    color: var(--cyan);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.footer-contact i {
    color: var(--cyan);
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
}

/* ── Auth Pages ─────────────────────────────────────────────── */
.auth-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: var(--off-white);
}

.auth-card {
    width: 100%;
    max-width: 460px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.auth-card-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    padding: 36px 40px;
    text-align: center;
    color: var(--white);
}

.auth-card-header h2 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.auth-card-header p {
    font-size: 0.9rem;
    opacity: 0.7;
}

.auth-card-body {
    padding: 36px 40px;
}

.auth-card-body .form-group {
    margin-bottom: 20px;
}

.auth-card-body label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.auth-card-body input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition);
}

.auth-card-body input:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,195,218,0.1);
}

.auth-card-body .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.auth-card-body .form-check input {
    width: auto;
}

.auth-card-body .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
}

.auth-card-footer {
    text-align: center;
    padding: 20px 40px 28px;
    border-top: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

/* ── Flash Messages ─────────────────────────────────────────── */
.flash-messages {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.flash-msg {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-md);
    animation: flashIn 0.3s ease-out;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-msg.success { background: #d4edda; color: #155724; border-left: 4px solid var(--success); }
.flash-msg.danger  { background: #f8d7da; color: #721c24; border-left: 4px solid var(--danger); }
.flash-msg.info    { background: #d1ecf1; color: #0c5460; border-left: 4px solid var(--info); }
.flash-msg.warning { background: #fff3cd; color: #856404; border-left: 4px solid var(--warning); }

@keyframes flashIn {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── Private Area ───────────────────────────────────────────── */
.private-area {
    padding: 40px 0 80px;
    min-height: calc(100vh - 200px);
}

.private-header {
    margin-bottom: 40px;
}

.private-header h1 {
    font-size: 2rem;
    margin-bottom: 8px;
}

.private-header p {
    color: var(--gray-500);
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.dash-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.dash-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dash-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(0,195,218,0.12) 0%, rgba(0,195,218,0.06) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.dash-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.dash-card p {
    font-size: 0.88rem;
    color: var(--gray-500);
}

/* ── Admin Panel ────────────────────────────────────────────── */
.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: calc(100vh - 72px);
}

.admin-sidebar {
    background: var(--navy-dark);
    padding: 32px 0;
    color: var(--white);
}

.admin-sidebar h3 {
    color: var(--white);
    padding: 0 24px;
    margin-bottom: 24px;
    font-size: 1.1rem;
}

.admin-sidebar h3 i {
    color: var(--cyan);
    margin-right: 8px;
}

.admin-nav {
    list-style: none;
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: rgba(255,255,255,0.05);
    color: var(--white);
    border-left-color: var(--cyan);
}

.admin-nav li a i {
    width: 20px;
    text-align: center;
    color: var(--cyan);
}

.admin-content {
    padding: 32px 40px;
    background: var(--off-white);
}

.admin-content h1 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.admin-content .subtitle {
    color: var(--gray-500);
    margin-bottom: 32px;
}

/* Admin stats grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 16px;
}

.stat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
}

.stat-card-icon.blue  { background: var(--cyan); }
.stat-card-icon.navy  { background: var(--navy); }
.stat-card-icon.green { background: var(--success); }
.stat-card-icon.amber { background: var(--warning); }

.stat-card .number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--navy);
    font-family: var(--font-heading);
    line-height: 1;
}

.stat-card .label {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-top: 2px;
}

/* Admin tables */
.admin-table-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.admin-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-100);
}

.admin-table-header h3 {
    font-size: 1.1rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    background: var(--off-white);
    padding: 12px 20px;
    text-align: left;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-200);
}

.admin-table td {
    padding: 14px 20px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.9rem;
}

.admin-table tr:hover {
    background: var(--off-white);
}

.admin-table .actions {
    display: flex;
    gap: 8px;
}

/* Admin forms */
.admin-form-wrap {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-sm);
    max-width: 700px;
}

.admin-form-wrap .form-group {
    margin-bottom: 20px;
}

.admin-form-wrap label {
    display: block;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.admin-form-wrap input,
.admin-form-wrap textarea,
.admin-form-wrap select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.admin-form-wrap input:focus,
.admin-form-wrap textarea:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,195,218,0.1);
}

.admin-form-wrap textarea {
    resize: vertical;
    min-height: 120px;
}

.admin-form-wrap .form-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-form-wrap .form-check input {
    width: auto;
}

.admin-form-wrap .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.badge-admin  { background: rgba(0,195,218,0.12); color: var(--cyan-dark); }
.badge-member { background: rgba(39,174,96,0.12); color: var(--success); }
.badge-founder { background: rgba(243,156,18,0.12); color: var(--warning); }

/* ── Scroll Animations ──────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ── Back to Top ────────────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    border: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--cyan);
    transform: translateY(-3px);
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .info-cards          { grid-template-columns: repeat(2, 1fr); }
    .services-grid       { grid-template-columns: repeat(2, 1fr); }
    .values-grid         { grid-template-columns: repeat(3, 1fr); }
    .team-grid           { grid-template-columns: repeat(2, 1fr); }
    .footer-grid         { grid-template-columns: repeat(2, 1fr); }
    .stats-grid          { grid-template-columns: repeat(2, 1fr); }
    .admin-layout        { grid-template-columns: 220px 1fr; }
    .partners-grid       { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .top-bar             { display: none; }

    .nav-toggle          { display: flex; }

    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-lg);
        padding: 10px 0;
    }

    .nav-links.open      { display: flex; }

    .nav-links a {
        padding: 14px 24px;
        border-bottom: none;
    }

    .hero h1             { font-size: 2rem; }
    .hero                { padding: 60px 0 80px; min-height: auto; }
    .hero-icons          { gap: 12px; }
    .hero-icon-card      { padding: 14px 16px; min-width: 90px; }

    .info-cards          { grid-template-columns: 1fr; margin-top: -30px; }
    .split-section       { grid-template-columns: 1fr; gap: 30px; }
    .services-grid       { grid-template-columns: 1fr; }
    .dark-band-grid      { grid-template-columns: 1fr; gap: 30px; }
    .dark-band-year      { font-size: 5rem; }
    .mission-vision-boxes { grid-template-columns: 1fr; }
    .values-grid         { grid-template-columns: repeat(2, 1fr); }
    .objectives-grid     { grid-template-columns: 1fr; }
    .team-grid           { grid-template-columns: 1fr; }
    .partners-grid       { grid-template-columns: 1fr; }
    .contact-grid        { grid-template-columns: 1fr; }
    .footer-grid         { grid-template-columns: 1fr; }
    .dashboard-cards     { grid-template-columns: 1fr; }
    .stats-grid          { grid-template-columns: 1fr; }

    .admin-layout        { grid-template-columns: 1fr; }
    .admin-sidebar       {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        width: 260px;
        z-index: 1100;
        transition: var(--transition);
    }
    .admin-sidebar.open  { left: 0; }
    .admin-content       { padding: 20px; }

    .section             { padding: 60px 0; }
    .section-header h2   { font-size: 1.8rem; }
}

/* ── Utility ────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-cyan   { color: var(--cyan); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
