/* --- VARIABLES & GLOBAL STYLES --- */
:root {
    --primary-color: #00A9E0; /* Lighter Blue for Glows & Accents */
    --secondary-color: #1D3557; /* Dark Navy for Cards */
    --bg-dark: #0A192F; /* Very Dark Navy background */
    --text-headings: #E6F1FF;
    --text-body: #CCD6F6;
    --text-muted: #8892B0;
    --border-color: rgba(0, 169, 224, 0.2);
    --font-family: 'Lexend', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-body);
    line-height: 1.7;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
h1, h2, h3, h4 { color: var(--text-headings); font-weight: 600; line-height: 1.3; }
h1 { font-size: clamp(2.8rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.4rem; }
section { padding: 120px 0; position: relative; overflow: hidden; }
.section-header { text-align: center; margin-bottom: 60px; max-width: 700px; margin-left: auto; margin-right: auto;}
.section-subtitle { display: block; color: var(--primary-color); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* --- HEADER --- */
.header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; padding: 20px 0; transition: all 0.3s ease-in-out; }
.header.scrolled { background-color: rgba(10, 25, 47, 0.85); backdrop-filter: blur(10px); padding: 15px 0; box-shadow: 0 10px 30px -10px rgba(2,12,27,0.7); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 50px; filter: brightness(0) invert(1); }
.nav-list { list-style: none; display: flex; gap: 40px; }
.nav-link { color: var(--text-headings); font-weight: 400; transition: color 0.3s; }
.nav-link:hover { color: var(--primary-color); }
.btn-primary { background-color: var(--primary-color); color: var(--bg-dark); font-weight: 700; border: none; padding: 16px 40px; border-radius: 8px; text-decoration: none; display: inline-block; }
.btn-primary:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 10px 20px rgba(0, 169, 224, 0.2); color: var(--bg-dark); }
.mobile-menu-toggle { display: none; background: none; border: none; cursor: pointer; z-index: 1001; }
.mobile-menu-toggle span { display: block; width: 25px; height: 3px; background: var(--text-headings); margin: 5px 0; transition: all 0.3s ease; }

/* --- MOBILE MENU --- */
.mobile-menu { display: flex; flex-direction: column; justify-content: center; align-items: center; position: fixed; top: 0; right: -100%; width: 100%; height: 100%; background: var(--bg-dark); z-index: 1000; transition: right 0.4s ease-in-out; }
.mobile-menu.active { right: 0; }
.mobile-nav-list { list-style: none; text-align: center; }
.mobile-nav-link { display: block; padding: 20px; font-size: 1.8rem; color: var(--text-headings); font-weight: 600; text-decoration: none; }

/* --- HERO SECTION --- */
.hero-section { height: 100vh; padding: 0; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
#heroVideo { position: absolute; top: 50%; left: 50%; min-width: 100%; min-height: 100%; width: auto; height: auto; z-index: -2; transform: translateX(-50%) translateY(-50%); }
.video-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, var(--bg-dark) 0%, rgba(10, 25, 47, 0.7) 100%); z-index: -1; }
.hero-content { z-index: 1; max-width: 900px; }
.hero-content h1 { font-weight: 700; margin-bottom: 20px; text-shadow: 0px 4px 15px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.25rem; margin: 0 auto 40px; max-width: 700px; color: var(--text-body); }

/* --- SERVICES SECTION --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card {
    background: rgba(23, 42, 69, 0.4); backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 40px 30px; border-radius: 12px; text-align: center; transition: all 0.3s ease;
}
.service-card:hover { transform: translateY(-10px); border-color: var(--primary-color); box-shadow: 0 0 25px rgba(0, 169, 224, 0.15); }
.card-icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 20px; }
.service-card h3 { margin-bottom: 15px; }

/* --- ABOUT SECTION --- */
.about-section { background-color: var(--bg-surface); }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text .section-header { text-align: left; margin: 0 0 30px 0; }
.about-text p { margin-bottom: 20px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.stat-item h4 { font-size: 2.5rem; color: var(--primary-color); font-weight: 700; }
.stat-item p { margin: 0; color: var(--text-muted); }
.about-image img { width: 100%; border-radius: 12px; }

/* --- PROCESS SECTION --- */
.process-timeline { position: relative; max-width: 800px; margin: 0 auto; }
.process-timeline::after { content: ''; position: absolute; width: 3px; background-color: var(--border-color); top: 0; bottom: 0; left: 50%; margin-left: -1.5px; }
.timeline-container { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
.timeline-container.left { left: 0; }
.timeline-container.right { left: 50%; }
.timeline-container::after { content: ''; position: absolute; width: 25px; height: 25px; right: -14px; background-color: var(--bg-dark); border: 4px solid var(--primary-color); top: 15px; border-radius: 50%; z-index: 1; }
.timeline-container.right::after { left: -11px; }
.timeline-content { padding: 20px 30px; background: var(--bg-surface); position: relative; border-radius: 8px; }

/* --- TESTIMONIALS --- */
.testimonials-section { background: var(--bg-surface); }
.testimonial-card { max-width: 800px; margin: auto; text-align: center; background: linear-gradient(145deg, var(--secondary-color), #112240); padding: 50px; border-radius: 12px; }
.testimonial-text { font-size: 1.3rem; font-style: italic; margin-bottom: 30px; color: var(--text-headings); }
.testimonial-author { font-weight: 600; color: var(--primary-color); font-size: 1.1rem; }
.author-title { color: var(--text-muted); }

/* --- CTA SECTION --- */
.cta-section { text-align: center; }
.cta-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.cta-content p { max-width: 600px; margin: 0 auto 30px; }

/* --- FOOTER --- */
.footer { background-color: #020c1b; padding: 80px 0 30px 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1.5fr; gap: 50px; margin-bottom: 50px; }
.footer-col h3 { color: var(--text-headings); margin-bottom: 25px; font-size: 1.3rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { color: var(--text-muted); text-decoration: none; }
.footer-logo img { height: 50px; margin-bottom: 20px; filter: brightness(0) invert(1); }
.footer-col p { margin-bottom: 25px; color: var(--text-muted); }
.footer-contact li { display: flex; align-items: flex-start; gap: 15px; color: var(--text-muted); }
.footer-contact li i { color: var(--primary-color); margin-top: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border-color); color: var(--text-muted); font-size: 0.9rem; }
.footer-legal-links a { margin-left: 20px; color: var(--text-muted); text-decoration: none; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 992px) {
    .nav-list, .header .btn-primary { display: none; }
    .mobile-menu-toggle { display: block; }
    .about-content { grid-template-columns: 1fr; }
    .about-image { order: -1; margin-bottom: 40px; }
    .footer-top { grid-template-columns: 1fr; text-align: center; }
    .footer-col, .footer-contact li { justify-content: center; }
}
@media (max-width: 768px) {
    .process-timeline::after { left: 15px; }
    .timeline-container { width: 100%; padding-left: 50px; padding-right: 10px; }
    .timeline-container.right { left: 0%; }
    .timeline-container::after { left: 2px; }
    .footer-bottom { flex-direction: column; gap: 15px; }
}