﻿/* --- VARIABLES & BASE --- */
:root {
    --bg-dark: #0a0f1c;
    --bg-light: #f8fafc;
    --bg-dark-blue: #0f172a;
    --primary: #FF6B35;
    --secondary: #004E98;
    --text-main: #334155;
    --text-light: #ffffff;
    --text-muted: #64748b;
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #F7C59F 100%);
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; font-family: 'Poppins', sans-serif; }
body { background-color: #ffffff; color: var(--text-main); overflow-x: hidden; line-height: 1.6; }
.bg-light { background-color: var(--bg-light); }
.bg-dark-blue { background-color: var(--bg-dark-blue); }

/* --- UTILITIES --- */
.section-container { padding: 80px 8%; }
.text-center { text-align: center; margin-bottom: 50px; }
.text-gradient { background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 800; }
.subtitle { color: var(--text-muted); font-size: 1.1rem; margin-top: 10px; }
.divider { height: 4px; width: 60px; background: var(--primary); margin: 15px 0 25px 0; border-radius: 2px; }

/* --- ANIMATION CLASSES --- */
.hidden-el { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.5, 0, 0, 1); }
.show-el { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeIn 0.5s ease-in; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

/* --- OFFICIAL LOGO STYLES --- */
.brand-logo {
    width: 280px; 
    height: auto;
    display: block;
    transition: transform 0.3s ease;
    mix-blend-mode: multiply; 
}
.brand-logo:hover { transform: scale(1.05); }

.brand-logo-footer {
    width: 280px; 
    height: auto;
    margin-bottom: 15px;
    background: #ffffff; 
    padding: 15px;
    border-radius: 10px; 
}

/* --- SLIM NAVBAR --- */
.navbar { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 8px 8%; position: fixed; width: 100%; top: 0; z-index: 1000; 
    transition: 0.4s; background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); 
}
.navbar.scrolled { padding: 5px 8%; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }
.nav-links a { color: var(--text-main); text-decoration: none; font-weight: 600; transition: 0.3s; }
.nav-links a:hover { color: var(--primary); }
.btn-nav { background: var(--secondary); color: #fff !important; padding: 10px 20px; border-radius: 8px; }

/* --- HERO SECTION --- */
.hero { height: 100vh; background: linear-gradient(rgba(10, 15, 28, 0.85), rgba(10, 15, 28, 0.9)), url('https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1920&q=80') center/cover; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--text-light); padding: 0 8%; }
.badge { display: inline-block; padding: 8px 20px; background: rgba(255,255,255,0.1); border-radius: 50px; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 20px; font-size: 0.9rem; letter-spacing: 1px; }
.hero h1 { font-size: 4rem; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 1.1rem; color: #cbd5e1; margin-bottom: 40px; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }
.btn-primary, .btn-secondary { padding: 15px 35px; border-radius: 8px; text-decoration: none; font-weight: 600; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-secondary { background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.bounce-hover:hover { transform: translateY(-5px); }

/* --- ABOUT SECTION --- */
.about-wrapper { display: flex; gap: 50px; align-items: center; }
.about-text { flex: 1; }
.about-text h2 { font-size: 2.5rem; color: var(--secondary); }
.about-image { flex: 1; }
.about-image img { width: 100%; border-radius: 15px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }

/* --- MISSION & VISION --- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.glass-card { background: #fff; border: 1px solid rgba(0,0,0,0.05); padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.4s; }
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.icon-box { width: 60px; height: 60px; background: rgba(0, 78, 152, 0.1); color: var(--secondary); border-radius: 12px; display: flex; justify-content: center; align-items: center; font-size: 1.8rem; margin-bottom: 20px; }

/* --- ROADMAP TIMELINE --- */
.timeline { position: relative; max-width: 900px; margin: 0 auto; padding: 40px 0; }
.timeline::before { content: ''; position: absolute; top: 0; left: 40px; height: 100%; width: 4px; background: linear-gradient(to bottom, var(--secondary) 0%, var(--primary) 100%); border-radius: 5px; }
.timeline-item { position: relative; margin-bottom: 60px; padding-left: 100px; }
.timeline-icon { position: absolute; left: 12px; top: 0; width: 60px; height: 60px; border-radius: 50%; display: flex; justify-content: center; align-items: center; color: white; font-size: 1.5rem; z-index: 2; border: 4px solid var(--bg-light); }
.phase-1-bg { background: var(--secondary); }
.phase-2-bg { background: var(--primary); }
.border-left-blue { border-left: 5px solid var(--secondary); }
.border-left-orange { border-left: 5px solid var(--primary); }
.phase-tag { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 15px; }
.text-blue { color: var(--secondary); }
.text-orange { color: var(--primary); }
.phase-list { list-style: none; margin-top: 15px; }
.phase-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 500; }

/* --- MULTI-ITEM DYNAMIC GALLERY --- */
.badge-small { display: inline-block; padding: 5px 15px; border-radius: 50px; font-size: 0.8rem; letter-spacing: 1px; color: white; margin-bottom: 10px; text-transform: uppercase;}
.multi-slider-wrapper { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px;} 
.slider-view { width: 100%; overflow: hidden; position: relative; border-radius: 15px;}
.gallery-track { display: flex; transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55); will-change: transform; white-space: nowrap; }

.slide { flex: 0 0 calc(100% / 3.2); position: relative; margin-right: 15px; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 10px 25px rgba(0,0,0,0.08); transition: transform 0.3s, box-shadow 0.3s; margin-bottom: 20px; opacity: 1 !important; /* Forces images to show */}
.slide:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.slide img { width: 100%; height: 280px; object-fit: cover; display: block; border-bottom: 5px solid transparent;}
.slide:hover img { border-bottom-color: var(--primary); } 
.slider-view .slide { height: 550px; }
.slider-view .slide img { width: 100%; height: 100%; object-fit: cover; }

.slide-caption { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(255, 255, 255, 0.95); color: var(--navy); padding: 15px; font-size: 0.9rem; font-weight: 600; text-align: center; border-radius: 0 0 10px 10px; transform: translateY(100%); transition: transform 0.4s ease; border-top: 2px solid transparent; }
.slide:hover .slide-caption { transform: translateY(0); border-top-color: rgba(0, 78, 152, 0.1); }

.slider-control { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; background: white; color: var(--navy); border: none; border-radius: 50%; font-size: 1.5rem; cursor: pointer; z-index: 10; display: flex; justify-content: center; align-items: center; box-shadow: 0 5px 15px rgba(0,0,0,0.15); transition: 0.3s, transform 0.3s, background 0.3s; }
.slider-control:hover { background: var(--gradient-primary); color: white; transform: translateY(-50%) scale(1.1); box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3); }
.slider-control:active { transform: translateY(-50%) scale(0.95); }
.prev { left: -10px; }
.next { right: -10px; }

/* --- POPUP MODAL (Portal Forms) --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 15, 28, 0.85); backdrop-filter: blur(8px); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: 0.3s ease-in-out; }
.modal-overlay.active { opacity: 1; pointer-events: auto; }
.modal-content { background: var(--bg-dark-blue); width: 90%; max-width: 550px; padding: 30px; border-radius: 20px; position: relative; transform: translateY(-50px); transition: 0.4s ease-in-out; border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 25px 50px rgba(0,0,0,0.5); }
.modal-overlay.active .modal-content { transform: translateY(0); }
.close-btn { position: absolute; top: 20px; right: 25px; font-size: 1.5rem; color: #94a3b8; cursor: pointer; transition: 0.3s; }
.close-btn:hover { color: var(--primary); }

.form-scroll-area { max-height: 60vh; overflow-y: auto; padding-right: 10px; margin-bottom: 20px; }
.form-scroll-area::-webkit-scrollbar { width: 6px; }
.form-scroll-area::-webkit-scrollbar-thumb { background: var(--secondary); border-radius: 10px; }

.tabs { display: flex; gap: 10px; margin-bottom: 20px; background: rgba(0,0,0,0.3); padding: 5px; border-radius: 10px; }
.tabs button { flex: 1; padding: 12px; background: transparent; border: none; color: #cbd5e1; font-weight: 600; border-radius: 8px; cursor: pointer; transition: 0.3s; }
.tabs button.active { background: var(--secondary); color: #fff; }

.input-group { position: relative; margin-bottom: 15px; }
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #94a3b8; z-index: 2;}
.input-group input, .input-group select, .input-group textarea { width: 100%; padding: 15px 15px 15px 45px; background: #fff; border: 1px solid #e2e8f0; border-radius: 8px; color: var(--text-main); font-size: 0.95rem; font-family: inherit; }
.input-group textarea { resize: vertical; min-height: 100px; }

.btn-submit { width: 100%; background: var(--secondary); color: #fff; padding: 15px; border: none; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; transition: 0.3s; }
.hidden { display: none; }

/* --- FOOTER --- */
.footer { background: #050810; padding: 60px 8% 30px; color: #94a3b8; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.footer h3 { color: #fff; margin-bottom: 20px; }
.footer-about span { color: var(--primary); }
address { font-style: normal; line-height: 1.8; }
address i { margin-right: 10px; color: var(--primary); }
.footer-legal ul { list-style: none; }
.footer-legal a { color: #94a3b8; text-decoration: none; transition: 0.3s; display: block; margin-bottom: 10px;}
.footer-legal a:hover { color: var(--primary); }
.footer-bottom { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; font-size: 0.9rem; }

/* --- RESPONSIVE MOBILE & NAVIGATION --- */
.hamburger { display: none; font-size: 1.8rem; color: var(--secondary); cursor: pointer; }

@media (max-width: 900px) {
    .brand-logo { width: 180px; }
    .hamburger { display: block; }
    .nav-links { display: flex; flex-direction: column; position: absolute; top: 60px; left: -100%; width: 100%; background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(10px); box-shadow: 0 10px 15px rgba(0,0,0,0.1); padding: 20px 0; transition: 0.4s ease-in-out; }
    .nav-links.active { left: 0; }
    .nav-links li { margin: 15px 0; text-align: center; }
    
    .about-wrapper, .portal-wrapper { flex-direction: column; }
    .hero h1 { font-size: 2.8rem; }
    
    .hero-btns { flex-direction: column; width: 100%; padding: 0 20px;}
    .hero-btns a { width: 100%; justify-content: center; }

    .timeline::before { left: 20px; }
    .timeline-item { padding-left: 60px; }
    .timeline-icon { left: -8px; width: 50px; height: 50px; font-size: 1.2rem; }

    .slide { flex: 0 0 calc(100% / 1.3); }
    .slider-view .slide { height: 350px; } 
    .slider-view .slide img { height: 100%; object-fit: cover; }
    .multi-slider-wrapper { padding: 0 20px;}
    .slider-control { width: 40px; height: 40px; font-size: 1.2rem; }
    .prev { left: -5px; }
    .next { right: -5px; }
}

@media (max-width: 600px) {
    .modal-content { width: 95%; padding: 25px 15px 20px 15px; border-radius: 15px; }
    .modal-content .text-center h2 { font-size: 1.6rem !important; margin-bottom: 5px; }
    .modal-content .text-center p { font-size: 0.85rem !important; margin-bottom: 15px; }
    .close-btn { top: 15px; right: 15px; font-size: 1.3rem; }
    .form-scroll-area { max-height: 50vh; padding-right: 5px; margin-bottom: 15px; }
    .input-group { margin-bottom: 12px; }
    .input-group input, .input-group select, .input-group textarea { padding: 12px 12px 12px 38px; font-size: 0.9rem; }
    .input-group i { left: 12px; font-size: 0.9rem; }
    .tabs { margin-bottom: 15px; }
    .tabs button { padding: 10px; font-size: 0.85rem; }
    .btn-submit { padding: 12px; font-size: 1rem; }
}

@media (max-height: 650px) {
    .form-scroll-area { max-height: 40vh; }
    .modal-content { transform: translateY(-10px); }
}