/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;600;800&display=swap');

:root {
    --primary: #0a192f;
    --primary-light: #172a45;
    --secondary: #0044b3;
    --secondary-light: #0066ff;
    --accent: #00d2ff;
    --text-main: #334155;
    --text-muted: #64748b;
    --bg-dark: #020c1b;
    --white: #ffffff;
    --light-grey: #f8fafc;
    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --shadow-premium: 0 25px 50px -12px rgba(0,0,0,0.08);
    --shadow-hover: 0 30px 60px -10px rgba(0,102,255,0.15);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; background-color: var(--light-grey); color: var(--text-main); overflow-x: hidden; scroll-behavior: smooth; }
h1, h2, h3, h4, h5, h6 { font-family: 'Outfit', sans-serif; color: var(--primary); font-weight: 800; letter-spacing: -0.5px; }
a { text-decoration: none; color: inherit; transition: var(--transition-smooth); }
p { line-height: 1.7; color: var(--text-muted); }

/* --- PREMIUM ANIMATIONS --- */
@keyframes planeFly { 0% { transform: translateX(-100vw) translateY(20px) scale(0.8); opacity: 0; } 20% { opacity: 1; } 80% { opacity: 1; } 100% { transform: translateX(100vw) translateY(-50px) scale(1); opacity: 0; } }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }
@keyframes drift { 0% { background-position: 0% 50%; } 100% { background-position: 100% 50%; } }
@keyframes shimmer { 0% { transform: translateX(-150%); } 100% { transform: translateX(150%); } }
@keyframes borderGlow { 0%, 100% { border-color: rgba(0,102,255,0.2); } 50% { border-color: var(--accent); } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); filter: blur(5px); } to { opacity: 1; transform: translateY(0); filter: blur(0); } }

/* Scroll Reveal Classes */
.reveal-up { opacity: 0; transform: translateY(50px); filter: blur(10px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-left { opacity: 0; transform: translateX(-50px); filter: blur(10px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-right { opacity: 0; transform: translateX(50px); filter: blur(10px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal-zoom { opacity: 0; transform: scale(0.9); filter: blur(10px); transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.active.reveal-up, .active.reveal-left, .active.reveal-right, .active.reveal-zoom { opacity: 1; transform: translate(0) scale(1); filter: blur(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; }

/* --- NAVBAR --- */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 25px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; transition: var(--transition-smooth); background: transparent; }
.navbar.scrolled { background: rgba(255,255,255,0.95); backdrop-filter: blur(15px); box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05); padding: 15px 5%; }
.navbar .logo { font-size: 26px; font-weight: 800; color: var(--white); font-family: 'Outfit'; transition: var(--transition-smooth); }
.navbar.scrolled .logo { color: var(--primary); }
.nav-links { display: flex; list-style: none; gap: 35px; align-items: center; }
.nav-links li { position: relative; }
.nav-links li a { color: var(--white); font-weight: 600; font-size: 15px; padding: 10px 0; display: inline-block; }
.navbar.scrolled .nav-links li a { color: var(--primary); }
.nav-links li a::after { content: ''; position: absolute; width: 0; height: 2px; bottom: 5px; left: 0; background: var(--accent); transition: var(--transition-smooth); }
.nav-links li a:hover::after, .nav-links li a.active::after { width: 100%; }
.nav-actions { display: flex; gap: 15px; align-items: center; }
.mobile-toggle { display: none; cursor: pointer; background:none; border:none; color:var(--white); font-size:24px; }
.navbar.scrolled .mobile-toggle { color:var(--primary); }

/* --- BUTTONS --- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 50px; font-weight: 700; cursor: pointer; border: none; transition: var(--transition-smooth); position: relative; overflow: hidden; z-index: 1; font-family: 'Outfit'; }
.btn-primary { background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary) 100%); color: var(--white) !important; box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3); }
.btn-primary::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, var(--accent) 0%, var(--secondary-light) 100%); opacity: 0; transition: var(--transition-smooth); z-index: -1; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 30px rgba(0, 102, 255, 0.4); }
.btn-primary:hover::before { opacity: 1; }
.btn-outline { background: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary) !important; }
.navbar.scrolled .btn-outline { border-color: var(--primary); color: var(--primary); }
.navbar.scrolled .btn-outline:hover { background: var(--primary); color: var(--white) !important; }

/* Ripple Effect */
.ripple { position: absolute; border-radius: 50%; transform: scale(0); animation: rippleEffect 0.6s linear; background-color: rgba(255, 255, 255, 0.4); pointer-events: none; }
@keyframes rippleEffect { to { transform: scale(4); opacity: 0; } }

/* --- HERO SECTIONS --- */
.hero { min-height: 100vh; position: relative; display: flex; align-items: center; padding: 0 5%; overflow: hidden; justify-content: center; text-align: center; }
.hero-bg { position: absolute; top: 0; left: 0; width: 100%; height: 120%; background-size: cover; background-position: center; background-attachment: fixed; z-index: -3; }
.hero-clouds { position: absolute; top: 0; left: 0; width: 200%; height: 100%; background: url('../images/clouds.png') repeat-x; background-size: contain; opacity: 0.4; z-index: -2; animation: drift 40s linear infinite; }
.hero-plane { position: absolute; top: 30%; left: -20%; width: 300px; z-index: -1; opacity: 0.8; animation: planeFly 20s linear infinite; filter: drop-shadow(0 20px 10px rgba(0,0,0,0.3)); }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(10,25,47,0.8) 0%, rgba(10,25,47,0.4) 100%); z-index: 0; }
.hero-content { max-width: 900px; color: var(--white); z-index: 1; position: relative; }
.hero-content h1 { font-size: 72px; line-height: 1.1; margin-bottom: 25px; color: var(--white); }
.hero-content p { font-size: 20px; color: #e2e8f0; margin-bottom: 40px; font-weight: 300; }
.hero-inner { min-height: 60vh; align-items: flex-end; padding-bottom: 100px; }

/* Typing Effect */
.typewriter { overflow: hidden; white-space: nowrap; margin: 0 auto; letter-spacing: -0.5px; border-right: .15em solid var(--accent); animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite; }
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: var(--accent); } }

/* --- CARDS & GLASSMORPHISM --- */
.glass-card { background: var(--glass-bg); backdrop-filter: blur(20px); border: 1px solid var(--glass-border); border-radius: 24px; padding: 40px; box-shadow: var(--shadow-premium); position: relative; overflow: hidden; transition: var(--transition-smooth); }
.glass-card::before { content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); transform: skewX(-25deg); animation: shimmer 6s infinite; }
.glass-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); border-color: rgba(0,102,255,0.3); }

/* --- TIMELINE --- */
.timeline-vertical { position: relative; padding-left: 40px; margin-top: 40px; }
.timeline-vertical::before { content: ''; position: absolute; left: 0; top: 0; width: 4px; height: 100%; background: linear-gradient(to bottom, var(--secondary-light), transparent); border-radius: 4px; }
.timeline-step { position: relative; margin-bottom: 50px; }
.timeline-step::before { content: ''; position: absolute; left: -46px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--accent); border: 4px solid var(--white); box-shadow: 0 0 10px rgba(0,210,255,0.5); }
.timeline-year { font-size: 24px; font-weight: 800; color: var(--secondary); font-family: 'Outfit'; margin-bottom: 5px; }

/* --- TEAM CARDS --- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.team-card { border-radius: 20px; overflow: hidden; background: var(--white); box-shadow: var(--shadow-premium); transition: var(--transition-smooth); text-align: center; }
.team-card:hover { transform: translateY(-10px); }
.team-img-wrapper { height: 300px; overflow: hidden; position: relative; }
.team-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.team-card:hover .team-img { transform: scale(1.1); }
.team-info { padding: 30px 20px; position: relative; z-index: 2; background: var(--white); }
.team-info h3 { font-size: 22px; margin-bottom: 5px; }
.team-info .role { color: var(--secondary-light); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.social-icons { display: flex; justify-content: center; gap: 10px; margin-top: 15px; }
.social-icons a { width: 35px; height: 35px; border-radius: 50%; background: var(--light-grey); display: flex; align-items: center; justify-content: center; color: var(--primary); transition: 0.3s; }
.social-icons a:hover { background: var(--secondary); color: white; transform: translateY(-3px); }

/* --- MASONRY GALLERY --- */
.gallery { columns: 3 300px; column-gap: 20px; padding: 20px 0; }
.gallery-item { margin-bottom: 20px; break-inside: avoid; border-radius: 16px; overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; display: block; transition: 0.5s; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(10,25,47,0.7); display: flex; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: white; font-size: 30px; font-weight: 300; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 2000; display: none; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.lightbox.active { display: flex; opacity: 1; }
.lightbox img { max-width: 90%; max-height: 90vh; border-radius: 8px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: white; font-size: 40px; cursor: pointer; }

/* --- MODALS --- */
.modal-overlay { position: fixed; inset: 0; background: rgba(10,25,47,0.8); backdrop-filter: blur(5px); z-index: 1500; display: none; align-items: center; justify-content: center; opacity: 0; transition: 0.3s; }
.modal-overlay.active { display: flex; opacity: 1; }
.modal-content { background: var(--white); width: 90%; max-width: 800px; border-radius: 24px; padding: 50px; position: relative; transform: translateY(50px); opacity: 0; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1); max-height: 90vh; overflow-y: auto; }
.modal-overlay.active .modal-content { transform: translateY(0); opacity: 1; }
.modal-close { position: absolute; top: 25px; right: 30px; background: var(--light-grey); border: none; width: 40px; height: 40px; border-radius: 50%; font-size: 24px; cursor: pointer; transition: 0.3s; }
.modal-close:hover { background: #ff4757; color: white; transform: rotate(90deg); }

/* --- PROCESS LINE --- */
.process-wrapper { display: flex; justify-content: space-between; position: relative; margin: 60px 0; overflow-x: auto; padding-bottom: 20px; }
.process-wrapper::before { content: ''; position: absolute; top: 30px; left: 0; width: 100%; height: 3px; background: #e2e8f0; z-index: 0; }
.process-step { position: relative; z-index: 1; text-align: center; flex: 1; min-width: 150px; }
.process-icon { width: 64px; height: 64px; background: var(--white); border: 3px solid var(--secondary); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-weight: 800; font-size: 20px; color: var(--secondary); box-shadow: 0 10px 20px rgba(0,0,0,0.1); transition: 0.3s; }
.process-step:hover .process-icon { background: var(--secondary); color: white; transform: scale(1.1); }
.process-step h4 { font-size: 16px; font-family: 'Inter'; font-weight: 700; }

/* --- ACCORDION FAQ --- */
.accordion-item { background: var(--white); border-radius: 12px; margin-bottom: 15px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; }
.accordion-header { padding: 20px 30px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 18px; color: var(--primary); transition: 0.3s; }
.accordion-header:hover { color: var(--secondary); background: #f8fafc; }
.accordion-content { padding: 0 30px; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; color: var(--text-muted); }
.accordion-item.active .accordion-content { padding: 0 30px 20px; max-height: 500px; }
.accordion-icon { font-size: 24px; transition: 0.3s; }
.accordion-item.active .accordion-icon { transform: rotate(45deg); color: var(--secondary); }

/* --- FOOTER MEGA --- */
.footer-mega { background: var(--primary); color: #94a3b8; padding: 80px 5% 20px; font-family: 'Inter'; position: relative; overflow: hidden; }
.footer-mega::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, var(--secondary), var(--accent)); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 50px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 50px; margin-bottom: 30px; }
.footer-brand h2 { color: var(--white); font-size: 32px; margin-bottom: 20px; font-family: 'Outfit'; }
.footer-col h3 { color: var(--white); font-size: 18px; margin-bottom: 25px; text-transform: uppercase; letter-spacing: 1px; font-family: 'Inter'; font-weight: 700; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #94a3b8; transition: 0.3s; position: relative; padding-left: 0; }
.footer-links a:hover { color: var(--accent); padding-left: 10px; }
.footer-links a::before { content: '→'; position: absolute; left: -15px; opacity: 0; transition: 0.3s; color: var(--accent); }
.footer-links a:hover::before { left: -5px; opacity: 1; }
.newsletter-form { display: flex; margin-top: 20px; }
.newsletter-form input { flex: 1; padding: 12px 15px; border: none; border-radius: 4px 0 0 4px; outline: none; background: rgba(255,255,255,0.1); color: white; }
.newsletter-form button { padding: 12px 20px; border: none; background: var(--secondary-light); color: white; border-radius: 0 4px 4px 0; cursor: pointer; font-weight: 600; transition: 0.3s; }
.newsletter-form button:hover { background: var(--accent); color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px; font-size: 14px; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a:hover { color: white; }
.dev-credit { background: rgba(0,0,0,0.3); padding: 8px 16px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.1); transition: 0.3s; }
.dev-credit:hover { border-color: var(--accent); background: rgba(255,255,255,0.05); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,210,255,0.2); }
.dev-credit span { color: var(--accent); font-weight: 700; }

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1200px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 992px) {
    .hero-content h1 { font-size: 50px; }
    .nav-links { position: fixed; top: 0; right: -100%; height: 100vh; width: 300px; background: var(--primary); flex-direction: column; padding-top: 100px; transition: 0.5s; box-shadow: -10px 0 30px rgba(0,0,0,0.2); }
    .nav-links.active { right: 0; }
    .nav-actions { display: none; }
    .mobile-toggle { display: block; }
}
@media (max-width: 768px) {
    .hero-content h1 { font-size: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .gallery { columns: 2; }
    .timeline-step::before { left: -36px; width: 12px; height: 12px; border-width: 3px; }
    .timeline-vertical { padding-left: 30px; }
}
@media (max-width: 480px) { .gallery { columns: 1; } }
