/* Variables */
:root {
    --primary: #0EA5E9;
    --secondary: #14B8A6;
    --accent: #F59E0B;
    --purple: #A855F7;
    --pink: #EC4899;
    --dark: #0F172A;
    --text: #1E293B;
    --text-light: #64748B;
    --bg: #FFFFFF;
    --bg-alt: #F8FAFC;
    --border: #E2E8F0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
    --bg: #0F172A;
    --bg-alt: #1E293B;
    --text: #F8FAFC;
    --text-light: #CBD5E1;
    --border: #334155;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Animated Background Particles */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.6;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float 15s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-30px) translateX(30px) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50px) translateX(-20px) scale(0.9);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-20px) translateX(-40px) scale(1.05);
        opacity: 0.5;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Navbar with Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 100;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.85);
}

[data-theme="dark"] .navbar.scrolled {
    background: rgba(15, 23, 42, 0.85);
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 40px;
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.3));
}

.logo img:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-menu {
    display: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple));
    border-radius: 2px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--purple));
    filter: blur(4px);
    opacity: 0.6;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link:hover::after,
.nav-link.active::before,
.nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.nav-link.active {
    color: var(--primary);
}

.nav-right {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.theme-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(20, 184, 166, 0.1));
    border: 2px solid var(--border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.4s;
}

.theme-btn:hover::before {
    opacity: 1;
}

.theme-btn:hover {
    color: white;
    transform: rotate(360deg) scale(1.1);
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
}

.theme-btn svg {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

.theme-btn:hover svg {
    transform: scale(1.1);
}

[data-theme="dark"] .sun { display: block; }
[data-theme="dark"] .moon { display: none; }
[data-theme="light"] .sun { display: none; }
[data-theme="light"] .moon { display: block; }

.mobile-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-btn span {
    width: 26px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 3px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mobile-btn:hover span {
    background: linear-gradient(90deg, var(--secondary), var(--purple));
}

.mobile-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-btn.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(20px);
}

.mobile-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section with Advanced Animations */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.03) 0%,
        rgba(168, 85, 247, 0.03) 50%,
        rgba(236, 72, 153, 0.03) 100%
    );
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.15) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite;
    filter: blur(60px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.15) 0%, transparent 70%);
    animation: pulse-glow 8s ease-in-out infinite reverse;
    filter: blur(60px);
}

@keyframes pulse-glow {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 0.6;
    }
    50% { 
        transform: scale(1.2) rotate(45deg);
        opacity: 0.9;
    }
}

/* Floating Geometric Shapes */
.hero .floating-shape {
    position: absolute;
    opacity: 0.1;
    animation: float-shapes 20s infinite ease-in-out;
}

@keyframes float-shapes {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-40px) rotate(90deg);
    }
    50% {
        transform: translateY(-80px) rotate(180deg);
    }
    75% {
        transform: translateY(-40px) rotate(270deg);
    }
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.badge {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.badge:hover::before {
    width: 300px;
    height: 300px;
}

.badge:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(14, 165, 233, 0.5);
}

.hero h1 {
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.highlight {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--purple));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    animation: gradient-shift 5s ease infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--purple));
    opacity: 0.2;
    border-radius: 5px;
    animation: pulse-line 2s ease-in-out infinite;
}

@keyframes pulse-line {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.2;
    }
    50% {
        transform: scaleX(1.05);
        opacity: 0.35;
    }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

/* Advanced Button Styles */
.btn {
    padding: 1rem 2.5rem;
    border-radius: 14px;
    font-weight: 600;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35);
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.5);
}

.btn-primary:active {
    transform: translateY(-2px) scale(1.02);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border);
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 16px 40px rgba(14, 165, 233, 0.4);
}

/* Sections */
section {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .badge {
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: clamp(2.25rem, 5vw, 3rem);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section with 3D Effects */
.about {
    background: linear-gradient(180deg, 
        var(--bg) 0%,
        var(--bg-alt) 50%,
        var(--bg) 100%
    );
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary), 
        var(--secondary),
        var(--purple),
        transparent
    );
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.about-grid {
    display: grid;
    gap: 2.5rem;
}

.about-card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(135deg, 
        transparent, 
        rgba(14, 165, 233, 0.1), 
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.6s;
}

.about-card:hover::before {
    top: -100%;
    right: -100%;
}

.about-card:hover {
    transform: translateY(-12px) rotateX(5deg);
    box-shadow: 0 24px 48px rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

.about-card h3 {
    font-size: 1.75rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--text), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.75rem;
}

.info-box {
    display: grid;
    gap: 1rem;
}

.info-box div {
    padding: 1rem;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.05),
        rgba(20, 184, 166, 0.05)
    );
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-box div:hover {
    transform: translateX(8px);
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.1),
        rgba(20, 184, 166, 0.1)
    );
    box-shadow: 0 8px 16px rgba(14, 165, 233, 0.15);
}

.vision-mission {
    display: grid;
    gap: 2rem;
}

.vm-card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    inset: -100%;
    background: linear-gradient(135deg, 
        transparent,
        rgba(14, 165, 233, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.8s;
}

.vm-card:hover::before {
    inset: -50%;
}

.vm-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(14, 165, 233, 0.25);
    border-color: var(--primary);
}

.vm-icon {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    animation: bounce 2s infinite;
    display: inline-block;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.vm-card:hover .vm-icon {
    animation: spin 0.8s ease-in-out;
}

@keyframes spin {
    from {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.2);
    }
    to {
        transform: rotate(360deg) scale(1);
    }
}

.vm-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vm-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Services with Hover Effects */
.services {
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.05) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.services-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-card {
    background: var(--bg-alt);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(14, 165, 233, 0.1),
        transparent
    );
    transition: left 0.8s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 24px 48px rgba(14, 165, 233, 0.25);
    border-color: var(--primary);
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.05),
        rgba(168, 85, 247, 0.05)
    );
}

.service-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.3));
}

.service-card:hover .service-icon {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.5));
}

.service-card h3 {
    font-size: 1.375rem;
    margin-bottom: 1rem;
    transition: all 0.4s;
}

.service-card:hover h3 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Careers Section */
.careers {
    background: linear-gradient(180deg, 
        var(--bg) 0%,
        var(--bg-alt) 50%,
        var(--bg) 100%
    );
}

.values-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.value-card {
    background: var(--bg);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
    text-align: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--purple));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.6s;
}

.value-card:hover::after {
    opacity: 1;
}

.value-card:hover {
    transform: translateY(-12px) rotateY(5deg);
    box-shadow: 0 24px 48px rgba(14, 165, 233, 0.25);
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
    display: inline-block;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.value-card:hover .value-icon {
    transform: scale(1.3) rotate(-10deg);
    filter: drop-shadow(0 8px 16px rgba(14, 165, 233, 0.4));
}

.value-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: all 0.4s;
}

.value-card:hover h4 {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-card p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Contact Section */
.contact {
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--primary),
        var(--secondary),
        var(--purple),
        transparent
    );
}

.contact-grid {
    display: grid;
    gap: 3rem;
}

.contact-info {
    display: grid;
    gap: 1.75rem;
}

.info-card {
    display: flex;
    gap: 1.75rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.05),
        rgba(168, 85, 247, 0.05)
    );
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(14, 165, 233, 0.15),
        transparent
    );
    transition: left 0.8s;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateX(12px) scale(1.02);
    box-shadow: 0 16px 32px rgba(14, 165, 233, 0.2);
    border-color: var(--primary);
}

.info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.info-card:hover .info-icon {
    transform: scale(1.2) rotate(10deg);
}

.info-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.info-card a {
    color: var(--primary);
    transition: all 0.3s;
}

.info-card a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
    background: linear-gradient(135deg, 
        rgba(14, 165, 233, 0.03),
        rgba(168, 85, 247, 0.03)
    );
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.1);
    transform: translateY(-2px);
}

.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form button {
    width: 100%;
    margin-top: 0.5rem;
}

/* Footer with Gradient */
.footer {
    background: linear-gradient(135deg, #0F172A, #1E293B);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(14, 165, 233, 0.5),
        rgba(168, 85, 247, 0.5),
        transparent
    );
}

.footer-content {
    display: grid;
    gap: 3rem;
    margin-bottom: 2.5rem;
}

.footer-brand img {
    height: 40px;
    margin-bottom: 1.25rem;
    filter: drop-shadow(0 4px 8px rgba(14, 165, 233, 0.4));
    transition: all 0.4s;
}

.footer-brand img:hover {
    transform: scale(1.1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links {
    display: grid;
    gap: 2.5rem;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.footer-links h4 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, white, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    position: relative;
    padding-left: 0;
}

.footer-links a::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.4s;
}

.footer-links a:hover::before {
    width: 100%;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(8px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9375rem;
}

.footer-bottom p {
    margin: 0.5rem 0;
}

/* AOS Animations */
[data-aos] {
    opacity: 0;
    transition-property: transform, opacity;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

[data-aos].aos-animate {
    opacity: 1;
}

[data-aos="fade-up"] {
    transform: translateY(40px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* Responsive */
@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
    
    .mobile-btn {
        display: none;
    }
    
    .about-grid {
        grid-template-columns: 1.3fr 1fr;
    }
    
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1.3fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr;
    }
}

@media (max-width: 767px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 2rem 1.5rem;
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    [data-theme="dark"] .nav-menu {
        background: rgba(15, 23, 42, 0.95);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-alt);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-alt);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary), var(--purple));
}

::selection {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

/* Loading Animation */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        filter: drop-shadow(0 0 8px rgba(14, 165, 233, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(14, 165, 233, 0.8));
    }
}