/*
 * ORG Foundation - Main Stylesheet
 * Version: 1.0.0
 * Last Updated: 2024
 * 
 * ===========================================
 * QUICK EDIT GUIDE - CSS VARIABLES
 * ===========================================
 * Change these values to update site branding:
 * --primary: Main light blue color
 * --primary-dark: Darker blue for CTAs
 * --accent: Accent color for highlights
 * --text: Main text color
 * --text-light: Secondary text color
 * ===========================================
 */

/* ===== CSS VARIABLES ===== */
:root {
    /* Primary Colors */
    --primary: #90D5FE;
    --primary-light: #E6F7FF;
    --primary-dark: #0077B6;
    --primary-darker: #005A8A;
    
    /* Accent Colors */
    --accent: #00B4D8;
    --accent-dark: #0096C7;
    --accent-gradient: linear-gradient(135deg, #0077B6 0%, #00B4D8 100%);
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --black: #0A1628;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-300: #CBD5E1;
    --gray-400: #94A3B8;
    --gray-500: #64748B;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1E293B;
    --gray-900: #0F172A;
    
    /* Text Colors */
    --text: #1E293B;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    
    /* Semantic Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-glow: 0 0 40px rgba(144, 213, 254, 0.3);
    --shadow-card: 0 4px 20px rgba(0, 119, 182, 0.08);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;
    --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Typography */
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Container */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Header Height */
    --header-height: 80px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

p {
    margin-bottom: var(--space-md);
}

a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--accent);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ===== UTILITIES ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-3xl) 0;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.875rem 2rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 119, 182, 0.4);
    color: var(--white);
}

.btn-secondary {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-secondary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: var(--radius-lg);
}

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    box-shadow: var(--shadow-md);
    border-bottom-color: var(--gray-100);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    z-index: 1001;
}

.logo img {
    height: 48px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.logo-text span {
    color: var(--accent);
}

/* Main Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-dark);
    background: var(--primary-light);
}

.nav-link svg {
    width: 16px;
    height: 16px;
    transition: transform var(--transition-fast);
}

.nav-item:hover .nav-link svg {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: var(--space-sm);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 100;
    border: 1px solid var(--gray-100);
}

.dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--white);
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.75rem 1rem;
    color: var(--text);
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    transform: translateX(4px);
}

.dropdown-link svg {
    width: 18px;
    height: 18px;
    color: var(--primary-dark);
}

.nav-cta {
    margin-left: var(--space-lg);
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.mobile-toggle span:nth-child(1) {
    margin-bottom: 6px;
}

.mobile-toggle span:nth-child(2) {
    margin-bottom: 6px;
}

.mobile-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 50%, var(--primary-light) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 80%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(144, 213, 254, 0.3) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(0, 180, 216, 0.15) 0%, transparent 70%);
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(20px, -20px) rotate(2deg); }
    50% { transform: translate(-10px, 20px) rotate(-1deg); }
    75% { transform: translate(-20px, -10px) rotate(1deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    animation: fadeInDown 0.8s ease-out 0.2s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--gray-900);
}

.hero-title .highlight {
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    right: 0;
    height: 0.3em;
    background: var(--primary);
    opacity: 0.4;
    z-index: -1;
    border-radius: 2px;
}

.hero-slogan {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: var(--space-lg);
    font-family: var(--font-heading);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    animation: fadeInUp 1s ease-out 0.4s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--gray-200);
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1;
}

.hero-stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: var(--space-xs);
}

.hero-image {
    position: relative;
    animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.hero-image-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(0, 119, 182, 0.1), transparent);
    z-index: 1;
}

.hero-image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero-floating-card {
    position: absolute;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-md) var(--space-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    animation: floatCard 3s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-floating-card.card-1 {
    top: 20%;
    left: -40px;
    animation-delay: 0s;
}

.hero-floating-card.card-2 {
    bottom: 20%;
    right: -40px;
    animation-delay: 1.5s;
}

.floating-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-lg);
    color: var(--primary-dark);
}

.floating-card-icon svg {
    width: 24px;
    height: 24px;
}

.floating-card-text h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.floating-card-text p {
    font-size: 0.75rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-3xl);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.375rem 1rem;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-md);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* ===== ABOUT SECTION ===== */
.about-section {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image-main {
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.about-image:hover .about-image-main img {
    transform: scale(1.05);
}

.about-image-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    height: 200px;
    background: var(--accent-gradient);
    border-radius: var(--radius-2xl);
    z-index: -1;
}

.about-content h2 {
    margin-bottom: var(--space-lg);
}

.about-content p {
    color: var(--text-light);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.about-feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.about-feature:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.about-feature svg {
    width: 20px;
    height: 20px;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.about-feature span {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
}

/* ===== MISSION/VISION CARDS ===== */
.mv-section {
    background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.mv-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
    overflow: hidden;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.mv-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.mv-card:hover::before {
    transform: scaleX(1);
}

.mv-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    margin-bottom: var(--space-lg);
    color: var(--primary-dark);
    transition: all var(--transition-base);
}

.mv-card:hover .mv-icon {
    background: var(--accent-gradient);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.mv-icon svg {
    width: 32px;
    height: 32px;
}

.mv-card h3 {
    margin-bottom: var(--space-md);
}

.mv-card p {
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.mv-card .btn {
    padding: 0.625rem 1.5rem;
}

/* ===== PROJECTS SECTION ===== */
.projects-section {
    background: var(--white);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
}

.project-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.project-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-tag {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.375rem 0.875rem;
    background: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    text-transform: uppercase;
}

.project-content {
    padding: var(--space-xl);
}

.project-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

.project-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin-bottom: var(--space-lg);
}

.project-meta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--gray-100);
}

.project-meta-item {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.875rem;
    color: var(--text-light);
}

.project-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--primary-dark);
}

/* ===== TEAM SECTION ===== */
.team-section {
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-base);
    text-align: center;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
}

.team-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.team-card:hover .team-social {
    transform: translateY(0);
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-full);
    color: var(--primary-dark);
    transition: all var(--transition-fast);
}

.team-social a:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.team-social svg {
    width: 18px;
    height: 18px;
}

.team-content {
    padding: var(--space-xl);
}

.team-content h3 {
    font-size: 1.25rem;
    margin-bottom: var(--space-xs);
}

.team-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: var(--space-md);
}

.team-content p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* ===== OBJECTIVES SECTION ===== */
.objectives-section {
    background: var(--gray-50);
}

.objectives-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-lg);
}

.objective-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-xl);
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-base);
}

.objective-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.objective-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    flex-shrink: 0;
}

.objective-content h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
    color: var(--text);
}

.objective-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== CTA SECTION ===== */
.cta-section {
    position: relative;
    padding: var(--space-4xl) 0;
    background: var(--accent-gradient);
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 50%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -25%;
    width: 60%;
    height: 200%;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info h2 {
    margin-bottom: var(--space-md);
}

.contact-info > p {
    color: var(--text-light);
    font-size: 1.0625rem;
    margin-bottom: var(--space-xl);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.contact-method:hover {
    background: var(--primary-light);
    transform: translateX(5px);
}

.contact-method-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    color: var(--primary-dark);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-method-icon svg {
    width: 24px;
    height: 24px;
}

.contact-method-text h4 {
    font-size: 1rem;
    margin-bottom: var(--space-xs);
}

.contact-method-text p {
    color: var(--text-light);
    font-size: 0.9375rem;
    margin: 0;
}

.contact-method-text a {
    color: var(--primary-dark);
    font-weight: 500;
}

.contact-social {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.contact-social a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    color: var(--text);
    transition: all var(--transition-base);
}

.contact-social a:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-social svg {
    width: 22px;
    height: 22px;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-50);
    border-radius: var(--radius-2xl);
    padding: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: var(--space-sm);
}

.form-label .required {
    color: var(--error);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 4px rgba(0, 119, 182, 0.1);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--gray-400);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 3rem;
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-dark);
    cursor: pointer;
}

.form-checkbox label {
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
}

.form-error {
    color: var(--error);
    font-size: 0.8125rem;
    margin-top: var(--space-xs);
    display: none;
}

.form-group.error .form-input,
.form-group.error .form-select,
.form-group.error .form-textarea {
    border-color: var(--error);
}

.form-group.error .form-error {
    display: block;
}

.form-submit {
    width: 100%;
    padding: 1rem;
    margin-top: var(--space-md);
}

.form-message {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    margin-top: var(--space-lg);
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid var(--success);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    border: 1px solid var(--error);
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--gray-700);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.footer-logo img {
    height: 40px;
    filter: brightness(0) invert(1);
}

.footer-logo span {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--gray-400);
    margin-bottom: var(--space-lg);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    border-radius: var(--radius-md);
    color: var(--gray-300);
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: var(--space-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    color: var(--gray-400);
    font-size: 0.9375rem;
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 0.9375rem;
    color: var(--gray-400);
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) 0;
}

.footer-copyright {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ===== PAGE HERO ===== */
.page-hero {
    position: relative;
    padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--white) 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -25%;
    width: 70%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(144, 213, 254, 0.3) 0%, transparent 70%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    margin-bottom: var(--space-md);
}

.page-hero p {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: var(--text-light);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb span {
    color: var(--gray-400);
}

.breadcrumb .current {
    color: var(--primary-dark);
    font-weight: 500;
}

/* ===== CONTENT PAGES ===== */
.content-section {
    padding: var(--space-4xl) 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrapper h2 {
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--primary-light);
}

.content-wrapper p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: var(--space-lg);
}

.content-wrapper ul {
    margin: var(--space-xl) 0;
}

.content-wrapper li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: 1.0625rem;
    color: var(--text-light);
}

.content-wrapper li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--accent-gradient);
    border-radius: 50%;
}

/* ===== ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Stagger animations for grid items */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-item.animated {
    animation: staggerIn 0.6s ease forwards;
}

@keyframes staggerIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    :root {
        --header-height: 70px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image-wrapper img {
        height: 350px;
    }
    
    .hero-floating-card {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .mv-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 350px;
        height: 100vh;
        background: var(--white);
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        transition: right var(--transition-base);
        box-shadow: var(--shadow-2xl);
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    
    .nav-item {
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-link {
        padding: var(--space-md) 0;
        font-size: 1rem;
    }
    
    .dropdown {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border: none;
        padding: 0 0 var(--space-md) var(--space-md);
        display: none;
        background: transparent;
    }
    
    .dropdown::before {
        display: none;
    }
    
    .nav-item.dropdown-open .dropdown {
        display: block;
    }
    
    .dropdown-link {
        padding: var(--space-sm) 0;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: var(--space-lg);
    }
    
    .nav-cta .btn {
        width: 100%;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        z-index: 999;
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        min-height: auto;
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }
    
    .hero-stats {
        gap: var(--space-lg);
    }
    
    .hero-stat-number {
        font-size: 1.75rem;
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    :root {
        --container-padding: 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .cta-buttons .btn {
        width: 100%;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .objective-item {
        flex-direction: column;
        text-align: center;
    }
    
    .objective-number {
        margin: 0 auto;
    }
}

/* ===== LOADING ANIMATION ===== */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-dark);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    color: var(--white);
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
    z-index: 100;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
}