/* ===== CSS Variables ===== */
:root {
    --color-primary: #6B9DFC;
    --color-primary-dark: #4A7FE8;
    --color-primary-light: #8BB8FF;
    --color-primary-lighter: #A8C8FF;
    --color-white: #FFFFFF;
    --color-gray-50: #F8FAFC;
    --color-gray-100: #F1F5F9;
    --color-gray-200: #E2E8F0;
    --color-gray-300: #CBD5E1;
    --color-gray-400: #94A3B8;
    --color-gray-500: #64748B;
    --color-gray-600: #475569;
    --color-gray-700: #334155;
    --color-gray-800: #1E293B;
    --color-gray-900: #0F172A;

    --gradient-primary: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    --gradient-light: linear-gradient(135deg, var(--color-primary-lighter) 0%, var(--color-primary-light) 100%);
    --gradient-bg: linear-gradient(180deg, var(--color-gray-50) 0%, var(--color-white) 100%);

    --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 -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-primary: 0 10px 40px -10px rgba(107, 157, 252, 0.4);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.preloader-logo {
    position: relative;
}

.preloader-logo svg {
    width: 80px;
    height: 80px;
    animation: logo-float 2s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(107, 157, 252, 0.3));
}

@keyframes logo-float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.preloader-logo .pulse-ring {
    animation: pulse-ring 1.5s ease-out infinite;
    transform-origin: center;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.preloader-logo .pin {
    animation: pin-glow 1.2s ease-in-out infinite;
}

.preloader-logo .pin-top-1, .preloader-logo .pin-bottom-3 { animation-delay: 0s; }
.preloader-logo .pin-top-2, .preloader-logo .pin-left-2 { animation-delay: 0.1s; }
.preloader-logo .pin-top-3, .preloader-logo .pin-left-1 { animation-delay: 0.2s; }
.preloader-logo .pin-right-1, .preloader-logo .pin-bottom-1 { animation-delay: 0.3s; }
.preloader-logo .pin-right-2, .preloader-logo .pin-bottom-2 { animation-delay: 0.4s; }
.preloader-logo .pin-right-3, .preloader-logo .pin-left-3 { animation-delay: 0.5s; }

@keyframes pin-glow {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.preloader-text {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #1E293B;
    opacity: 0;
    animation: text-fade-in 0.8s ease forwards 0.3s;
}

@keyframes text-fade-in {
    to {
        opacity: 1;
    }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: rgba(107, 157, 252, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.preloader-bar-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #6B9DFC, #4A7FE8);
    border-radius: 3px;
    animation: bar-fill 2s ease-in-out forwards;
}

@keyframes bar-fill {
    0% {
        width: 0;
    }
    20% {
        width: 20%;
    }
    40% {
        width: 45%;
    }
    60% {
        width: 70%;
    }
    80% {
        width: 85%;
    }
    100% {
        width: 100%;
    }
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-gray-700);
    background-color: var(--color-white);
    overflow-x: hidden;
    width: 100%;
}

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

ul {
    list-style: none;
}

img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 500;
    font-size: 15px;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 44px -10px rgba(107, 157, 252, 0.5);
}

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

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--color-gray-900);
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: var(--color-gray-600);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    cursor: pointer;
}

.nav-links a.btn {
    color: var(--color-white);
}

.nav-links a:not(.btn):hover {
    color: var(--color-primary-dark);
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-gray-700);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(107, 157, 252, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse 60% 40% at 80% 50%, rgba(74, 127, 232, 0.1) 0%, transparent 50%);
}

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

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: float 15s infinite ease-in-out;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 80%; top: 30%; animation-delay: 2s; animation-duration: 12s; }
.particle:nth-child(3) { left: 30%; top: 70%; animation-delay: 4s; animation-duration: 18s; }
.particle:nth-child(4) { left: 70%; top: 80%; animation-delay: 1s; animation-duration: 14s; }
.particle:nth-child(5) { left: 50%; top: 40%; animation-delay: 3s; animation-duration: 16s; }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.5;
    }
    50% {
        transform: translate(-10px, 20px) scale(0.8);
        opacity: 0.2;
    }
    75% {
        transform: translate(30px, 10px) scale(1.1);
        opacity: 0.4;
    }
}

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

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-gray-900);
    margin-bottom: 24px;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-gray-500);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

/* Hero SVG Animations */
.chip {
    animation: chip-float 4s ease-in-out infinite;
}

.chip-1 { animation-delay: 0s; }
.chip-2 { animation-delay: 1s; }

@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.capacitor {
    animation: capacitor-pulse 3s ease-in-out infinite;
}

@keyframes capacitor-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.node {
    animation: node-pulse 2s ease-in-out infinite;
}

@keyframes node-pulse {
    0%, 100% { r: 6; opacity: 1; }
    50% { r: 8; opacity: 0.7; }
}

.floating circle {
    animation: floating-bubble 6s ease-in-out infinite;
}

.floating circle:nth-child(2) { animation-delay: 2s; }
.floating circle:nth-child(3) { animation-delay: 4s; }

@keyframes floating-bubble {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.1); }
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
    overflow: hidden;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(107, 157, 252, 0.1);
    color: var(--color-primary-dark);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--color-gray-900);
    line-height: 1.2;
}

/* ===== About Section ===== */
.about {
    background: var(--gradient-bg);
}

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

.about-text p {
    margin-bottom: 20px;
    font-size: 17px;
    color: var(--color-gray-600);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 24px 16px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-number::after {
    content: '+';
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray-500);
    font-weight: 500;
}

.about-photo-wrapper {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
}

.about-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
    transition: transform var(--transition-base);
}

.about-photo-wrapper:hover .about-photo {
    transform: translateY(-8px);
}

.about-photo-decoration {
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.15;
    z-index: 1;
    transition: all var(--transition-base);
}

.about-photo-wrapper:hover .about-photo-decoration {
    top: 24px;
    right: -24px;
    opacity: 0.2;
}

/* Photo shine effect */
.about-photo-wrapper::after,
.mission-photo-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    z-index: 3;
    transform: skewX(-25deg);
    animation: shine 4s ease-in-out infinite;
    pointer-events: none;
    border-radius: var(--radius-xl);
}

@keyframes shine {
    0% {
        left: -100%;
    }
    20%, 100% {
        left: 150%;
    }
}

/* ===== Mission Section ===== */
.mission {
    background: var(--color-white);
    position: relative;
    overflow: hidden;
}

.mission::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(107, 157, 252, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1000px;
    margin: 0 auto;
}

.mission-image {
    flex-shrink: 0;
}

.mission-photo-wrapper {
    position: relative;
    width: 320px;
    overflow: visible;
    border-radius: var(--radius-xl);
}

.mission-photo {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform var(--transition-base);
    position: relative;
    z-index: 2;
}

.mission-photo-wrapper:hover .mission-photo {
    transform: translateY(-8px);
}

.mission-photo-shine {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 50%, rgba(107, 157, 252, 0.1) 100%);
    pointer-events: none;
    border-radius: var(--radius-xl);
}

.mission-photo-decoration {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl);
    opacity: 0.15;
    z-index: 1;
    transition: all var(--transition-base);
}

.mission-photo-wrapper:hover .mission-photo-decoration {
    top: 24px;
    left: -24px;
    opacity: 0.2;
}

.mission-text .section-tag,
.mission-text .section-title {
    text-align: left;
}

.mission-description {
    font-size: 18px;
    color: var(--color-gray-600);
    line-height: 1.8;
    margin-top: 16px;
}

/* ===== Values Section ===== */
.values {
    background: var(--gradient-bg);
}

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

.value-card {
    background: var(--color-white);
    padding: 40px 32px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    margin-bottom: 24px;
}

.value-icon svg {
    width: 64px;
    height: 64px;
    margin: 0 auto;
}

.value-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

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

/* ===== Partners Section ===== */
.partners {
    background: var(--color-white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.partner-card {
    padding: 48px 40px;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-white) 100%);
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-xl);
    text-align: center;
    transition: all var(--transition-base);
}

.partner-card:hover {
    border-color: var(--color-primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.partner-icon {
    margin-bottom: 24px;
}

.partner-icon svg {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.partner-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

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

/* ===== Contact Section ===== */
.contact {
    background: var(--gradient-bg);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, transparent 0%, rgba(107, 157, 252, 0.03) 100%);
    pointer-events: none;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info .section-tag,
.contact-info .section-title {
    text-align: left;
}

.contact-info > p {
    font-size: 17px;
    color: var(--color-gray-600);
    margin-top: 16px;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(107, 157, 252, 0.1);
    border-radius: var(--radius-md);
    color: var(--color-primary-dark);
}

.contact-icon svg {
    width: 22px;
    height: 22px;
}

.contact-item h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 15px;
    color: var(--color-gray-600);
    line-height: 1.6;
}

.contact-item a {
    color: var(--color-primary-dark);
}

.contact-item a:hover {
    text-decoration: underline;
}

/* ===== Contact Form ===== */
.contact-form-wrapper {
    background: var(--color-white);
    padding: 48px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    position: relative;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 1px solid var(--color-gray-200);
    border-radius: var(--radius-md);
    background: var(--color-gray-50);
    color: var(--color-gray-900);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-gray-400);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: var(--color-white);
    box-shadow: 0 0 0 4px rgba(107, 157, 252, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

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

.btn-submit {
    margin-top: 8px;
    width: 100%;
    position: relative;
}

.btn-submit .btn-loading {
    display: none;
    align-items: center;
    gap: 8px;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-arrow {
    display: none;
}

.btn-submit.loading .btn-loading {
    display: flex;
}

.spinner {
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success.hidden {
    display: none;
}

.success-icon {
    margin-bottom: 24px;
}

.success-icon svg {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    animation: success-appear 0.6s ease-out;
}

@keyframes success-appear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.form-success h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-gray-900);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 16px;
    color: var(--color-gray-600);
}

/* Form Error */
.form-error {
    margin-top: 16px;
    padding: 16px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: #DC2626;
    font-size: 14px;
}

.form-error.hidden {
    display: none;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-gray-900);
    color: var(--color-gray-300);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo {
    color: var(--color-white);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 15px;
    color: var(--color-gray-400);
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--color-gray-400);
    font-size: 15px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--color-primary-light);
}

.footer-contact p {
    font-size: 15px;
    color: var(--color-gray-400);
    line-height: 1.7;
    margin-bottom: 12px;
}

.footer-contact a {
    color: var(--color-primary-light);
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--color-gray-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: var(--color-gray-500);
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image {
        order: -1;
    }

    .hero-svg {
        max-width: 400px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .mission-content {
        flex-direction: column;
        text-align: center;
    }

    .mission-photo-wrapper {
        width: 100%;
        max-width: 400px;
    }

    .mission-text .section-tag,
    .mission-text .section-title {
        text-align: center;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        text-align: center;
    }

    .contact-info .section-tag,
    .contact-info .section-title {
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }

    .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-brand .logo {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--color-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 32px;
        gap: 24px;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 18px;
    }

    .nav-links .btn-nav {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        margin-top: 16px;
    }

    .hero {
        min-height: auto;
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section {
        padding: 60px 0;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .stat-item {
        padding: 20px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        padding: 32px 24px;
    }

    .partners-grid {
        grid-template-columns: 1fr;
    }

    .partner-card {
        padding: 32px 24px;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 32px;
    }

    .footer-links ul {
        align-items: center;
    }

    /* Hide decorations on mobile to prevent horizontal scroll */
    .about-photo-decoration,
    .mission-photo-decoration {
        display: none;
    }

    /* Disable shine animation on mobile to prevent corner clipping */
    .about-photo-wrapper::after,
    .mission-photo-wrapper::after {
        display: none;
    }

    /* Disable hover lift effect on mobile */
    .about-photo-wrapper:hover .about-photo,
    .mission-photo-wrapper:hover .mission-photo {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .mission-icon svg {
        width: 80px;
        height: 80px;
    }

    .btn-lg {
        padding: 14px 24px;
        font-size: 15px;
    }
}
