:root {
    --primary: #0A2540; 
    --accent: #E2A02B;  
    --accent-hover: #C68A22;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #F8F9FA;
    --white: #FFFFFF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Inter', sans-serif; color: var(--text-main); }
body { background-color: var(--white); line-height: 1.6; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary); color: var(--white); }

h1, h2, h3 { font-weight: 800; line-height: 1.2; }
.section-title { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.subtitle { font-size: 1.1rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }
.badge { display: inline-block; padding: 4px 12px; background: rgba(226, 160, 43, 0.15); color: var(--accent-hover); font-size: 0.85rem; font-weight: 600; border-radius: 50px; margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 1px; }

header { position: fixed; width: 100%; top: 0; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; transition: var(--transition); border-bottom: 1px solid #eee; }
header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.05); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 80px; }
.logo { text-decoration: none; }
.logo h1 { font-size: 1.8rem; color: var(--primary); letter-spacing: -0.5px; margin: 0; }
.logo span { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; display: block; }

.nav-links { list-style: none; display: flex; gap: 30px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-main); font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.nav-links a:hover { color: var(--accent); }
.mobile-menu-toggle { display: none; font-size: 1.5rem; cursor: pointer; color: var(--primary); }

.btn { display: inline-block; padding: 14px 32px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-size: 1rem;}
.btn-primary { background: var(--accent); color: var(--white); border: 2px solid var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(226, 160, 43, 0.3); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }
.btn-small { background: var(--primary); color: var(--white) !important; padding: 10px 24px; border-radius: 4px; }
.btn-small:hover { background: #081d33; transform: translateY(-2px); }

.hero { position: relative; height: 100vh; min-height: 600px; display: flex; align-items: center; background: url('https://images.unsplash.com/photo-1586528116311-ad8ed7c1590f?q=80&w=2070&auto=format&fit=crop') center/cover no-repeat; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(10,37,64,0.95) 0%, rgba(10,37,64,0.8) 100%); }
.hero-content { position: relative; z-index: 1; color: var(--white); max-width: 800px; }
.hero h2 { font-size: 4rem; margin-bottom: 1.5rem; letter-spacing: -1px; }
.highlight { color: var(--accent); }
.hero p { font-size: 1.25rem; font-weight: 300; margin-bottom: 2.5rem; opacity: 0.9; }
.hero-buttons { display: flex; gap: 1rem; }

.section { padding: 100px 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.card { background: var(--white); padding: 40px; border-radius: 12px; border: 1px solid #eaeaea; transition: var(--transition); }
.hover-up:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); border-color: transparent; }
.card-icon { width: 60px; height: 60px; background: rgba(10,37,64,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; color: var(--primary); margin-bottom: 1.5rem; }
.card h3 { color: var(--primary); margin-bottom: 1rem; font-size: 1.4rem; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.stat-box { background: var(--bg-light); padding: 30px; border-radius: 12px; text-align: center; border: 1px solid #eee; }
.stat-box i { font-size: 2rem; color: var(--accent); margin-bottom: 10px; }
.stat-box h3 { font-size: 1.2rem; color: var(--primary); }
.stat-box p { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; margin-top: 5px; }

.compliance-grid { display: flex; flex-wrap: wrap; gap: 15px; justify-content: center; }
.compliance-item { background: var(--white); border: 1px solid #ddd; padding: 15px 25px; border-radius: 50px; font-weight: 600; color: var(--primary); font-size: 1.1rem; box-shadow: 0 4px 6px rgba(0,0,0,0.02); }
.compliance-item span { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; display: block; line-height: 1; margin-bottom: 4px; }

.clean-list { list-style: none; margin-top: 15px;}
.clean-list li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; gap: 15px; }
.clean-list i { color: var(--accent); font-size: 1.2rem; width: 20px; text-align: center; }
.clean-list a { color: var(--white); text-decoration: none; transition: color 0.3s; }
.clean-list a:hover { color: var(--accent); }

/* Form Styles */
.contact-form-container { background: rgba(255,255,255,0.05); padding: 40px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.contact-form-container h3 { margin-bottom: 20px; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; padding: 15px; margin-bottom: 15px; border: 1px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.05); color: var(--white); border-radius: 6px; font-family: inherit; font-size: 1rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form option { color: var(--text-main); }

.footer { background: #051424; color: #888; padding: 40px 0; font-size: 0.9rem; border-top: 1px solid rgba(255,255,255,0.05); }

.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease-out, transform 0.8s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- TABLET RESPONSIVENESS --- */
@media (max-width: 992px) {
    .grid-2 { grid-template-columns: 1fr; gap: 40px; }
    .hero h2 { font-size: 3rem; }
    .hero { min-height: 700px; }
}

/* --- MOBILE RESPONSIVENESS (SMARTPHONES) --- */
@media (max-width: 768px) {
    /* 1. Mobile Menu Fixes */
    .mobile-menu-toggle { display: block; }
    .nav-links { position: absolute; top: 80px; left: 0; width: 100%; background: var(--white); flex-direction: column; padding: 20px 0; box-shadow: 0 10px 15px rgba(0,0,0,0.1); clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out; }
    .nav-links.active { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links li { width: 100%; text-align: center; margin: 10px 0; }
    
    /* 2. Fix Hero Section Scaling */
    .hero { text-align: center; padding-top: 60px; min-height: 80vh; }
    .hero h2 { font-size: 2.2rem; } /* Scaled down for smaller screens */
    .hero p { font-size: 1.05rem; margin-bottom: 2rem; }
    .hero-buttons { flex-direction: column; width: 100%; gap: 15px; padding: 0 10px; }
    .btn { width: 100%; text-align: center; padding: 14px 20px; } /* Full width buttons on mobile */

    /* 3. Fix Section Spacing & Text */
    .section { padding: 60px 0; } /* Reduced from 100px so it doesn't feel empty */
    .section-title { font-size: 2rem; }
    .subtitle { font-size: 1rem; }

    /* 4. Prevent Horizontal Scrolling (The 320px bug) */
    .grid-3 { grid-template-columns: 1fr; gap: 20px; } 
    .about-stats { grid-template-columns: 1fr 1fr; gap: 15px; }
    
    /* 5. Optimize Cards & Forms */
    .card { padding: 25px 20px; }
    .contact-form-container { padding: 25px 20px; margin-top: 20px; }
    
    /* 6. Make Compliance Tags Stack Nicely */
    .compliance-grid { flex-direction: column; width: 100%; }
    .compliance-item { font-size: 0.95rem; padding: 15px 20px; width: 100%; text-align: center; }
}

/* --- EXTRA SMALL PHONES (e.g. iPhone SE) --- */
@media (max-width: 400px) {
    .about-stats { grid-template-columns: 1fr; } /* Stack stats vertically on tiny screens */
    .hero h2 { font-size: 1.8rem; }
}