:root {
    --primary: #2E3F5C;
    --primary-light: #3D5280;
    --primary-dark: #1A2E4A;
    --accent: #F5A623;
    --accent-light: #F7BC52;
    --white: #FFFFFF;
    --off-white: #F8F9FB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-400: #9CA3AF;
    --text-dark: #2E3F5C;
    --text-light: #FFFFFF;
    --text-muted: #6B7280;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark); line-height: 1.7; overflow-x: hidden; background: var(--white);
}

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(46, 63, 92, 0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.1); transition: var(--transition);
}
.navbar.scrolled { background: rgba(26, 46, 74, 0.98); box-shadow: var(--shadow-lg); }
.nav-container { max-width: 1280px; margin: 0 auto; padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logos { display: flex; align-items: center; }
.logo { height: 52px; width: auto; max-width: 200px; object-fit: contain; }
.logo-ecw { background: var(--white); padding: 8px 16px; border-radius: var(--radius-sm); }
.nav-links { display: flex; list-style: none; gap: 1.5rem; align-items: center; }
.nav-links a { color: var(--text-light); text-decoration: none; font-weight: 500; font-size: 0.9rem; letter-spacing: 0.3px; transition: var(--transition); position: relative; white-space: nowrap; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--accent); transition: var(--transition); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { background: var(--accent) !important; color: var(--primary-dark) !important; padding: 10px 20px !important; border-radius: 50px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--accent-light) !important; transform: translateY(-1px); box-shadow: 0 4px 15px rgba(245, 166, 35, 0.4); }
.nav-cta::after { display: none !important; }
.nav-track { color: var(--accent) !important; font-weight: 600 !important; border: 1px solid rgba(245,166,35,0.4); padding: 8px 18px !important; border-radius: 50px !important; }
.nav-track:hover { background: rgba(245,166,35,0.1) !important; border-color: var(--accent) !important; }
.nav-track::after { display: none !important; }
.mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 5px; }
.mobile-toggle span { width: 28px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* Hero */
.hero { position: relative; min-height: 100vh; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); display: flex; align-items: center; overflow: hidden; }
.hero-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.3; z-index: 0; }
.hero-bg-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(26,46,74,0.85) 0%, rgba(46,63,92,0.7) 100%); z-index: 1; }
.hero-container { max-width: 1280px; margin: 0 auto; padding: 120px 2rem 80px; position: relative; z-index: 2; }
.hero-content { max-width: 650px; }
.hero-tag { display: inline-block; background: rgba(245, 166, 35, 0.15); color: var(--accent); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1.5rem; border: 1px solid rgba(245, 166, 35, 0.25); }
.hero-headline { font-size: 3.5rem; font-weight: 800; line-height: 1.15; color: var(--text-light); margin-bottom: 0.5rem; letter-spacing: -0.5px; }
.hero-subtitle { font-size: 1.4rem; color: rgba(255,255,255,0.9); font-weight: 400; margin-bottom: 1.5rem; }
.text-amber { color: var(--accent); }
.hero-subtext { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 2.5rem; max-width: 540px; line-height: 1.7; }
.hero-ctas { display: flex; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: var(--transition); letter-spacing: 0.3px; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-amber { background: var(--accent); color: var(--primary-dark); border-color: var(--accent); }
.btn-amber:hover { background: var(--accent-light); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(245, 166, 35, 0.35); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-full { width: 100%; }
.hero-stats { display: flex; gap: 2.5rem; }
.stat-item { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-top: 4px; }
.hero-arc { position: absolute; bottom: -2px; left: 0; right: 0; height: 80px; background: var(--white); border-radius: 50% 50% 0 0 / 100% 100% 0 0; z-index: 3; }

/* Sections */
.section-container { max-width: 1200px; margin: 0 auto; padding: 6rem 2rem; }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-tag { display: inline-block; color: var(--accent); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 1rem; }
.section-header h2 { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* Why Us */
.why-us-section { background: var(--off-white); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.why-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; text-align: center; transition: var(--transition); }
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(245, 166, 35, 0.3); }
.why-icon-wrap { width: 64px; height: 64px; margin: 0 auto 1.25rem; background: rgba(245, 166, 35, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.why-icon { width: 32px; height: 32px; }
.why-card h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 0.75rem; }
.why-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

/* About */
.about-section { position: relative; background: linear-gradient(180deg, var(--primary-dark) 0%, var(--primary) 100%); color: var(--text-light); overflow: hidden; }
.about-bg-image { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.08; }
.about-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; text-align: center; }
.about-content h2 { color: var(--text-light); font-size: 2.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.about-intro { font-size: 1.2rem; font-weight: 500; margin-bottom: 1.5rem; color: rgba(255,255,255,0.95); }
.about-content p { font-size: 1rem; color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; line-height: 1.7; }
.certifications { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.cert-label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 1.5rem; }
.cert-badges { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.cert-logo-img { height: 50px; width: auto; object-fit: contain; opacity: 0.9; transition: var(--transition); margin: 0 12px; }
.cert-logo-img:hover { opacity: 1; }

/* Mission & Values */
.mission-section { background: var(--off-white); }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.mission-card, .values-card { background: var(--white); padding: 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow); border: 1px solid var(--gray-200); }
.mission-card p { font-size: 1.1rem; color: var(--text-dark); line-height: 1.8; margin-top: 1rem; }
.values-list { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 1.25rem; }
.value-item strong { display: block; color: var(--accent); font-size: 1rem; margin-bottom: 0.25rem; }
.value-item p { color: var(--text-muted); font-size: 0.9rem; }

/* Services */
.services-section { background: var(--white); }
.service-block { margin-bottom: 5rem; }
.service-block:last-child { margin-bottom: 0; }
.service-block-content { display: grid; grid-template-columns: 1fr 1.3fr; gap: 4rem; align-items: center; }
.service-block.reverse .service-block-content { direction: rtl; }
.service-block.reverse .service-block-text { direction: ltr; }
.service-block-image { position: relative; border-radius: var(--radius-xl); overflow: hidden; background: var(--gray-100); min-height: 350px; display: flex; align-items: center; justify-content: center; }
.service-block-image img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.service-block-image img[src=""], .service-block-image img:not([src]) { display: none; }
.service-image-fallback { font-size: 5rem; opacity: 0.3; }
.service-block-image img[src]:not([src=""]) ~ .service-image-fallback { display: none; }
.service-block-text h3 { font-size: 2rem; font-weight: 700; color: var(--primary); margin-bottom: 1.25rem; }
.service-intro { font-size: 1.1rem; font-weight: 500; color: var(--text-dark); margin-bottom: 1rem; }
.service-block-text p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }
.service-feature-list { list-style: none; margin-top: 1.5rem; display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.service-feature-list li { font-size: 0.9rem; color: var(--text-dark); padding-left: 24px; position: relative; }
.service-feature-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Journey */
.journey-section { background: var(--off-white); }
.journey-subtitle { color: var(--accent); font-weight: 500; }
.journey-intro { text-align: center; max-width: 700px; margin: 0 auto 3rem; color: var(--text-muted); font-size: 1.05rem; }
.journey-steps { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.journey-step { text-align: center; padding: 1.5rem; min-width: 140px; }
.step-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); font-family: 'Poppins', sans-serif; line-height: 1; }
.journey-step h4 { font-size: 1rem; font-weight: 600; color: var(--primary); margin: 0.5rem 0; }
.journey-step p { font-size: 0.85rem; color: var(--text-muted); }
.journey-arrow { font-size: 1.5rem; color: var(--accent); font-weight: 300; padding: 0 0.5rem; }

/* Contact / Quote Form */
.contact-section { background: var(--white); }
.contact-wrapper { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; }
.contact-form-wrap { background: var(--white); padding: 2.5rem; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; color: var(--text-dark); transition: var(--transition); background: var(--off-white); }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1); background: var(--white); }
.form-group select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--gray-200); border-radius: var(--radius); font-family: inherit; font-size: 0.95rem; color: var(--text-dark); transition: var(--transition); background: var(--off-white); cursor: pointer; appearance: none; background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236B7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.form-group select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1); background-color: var(--white); }
.offices-wrap { display: flex; flex-direction: column; gap: 1.5rem; }
.office-card { background: var(--off-white); padding: 1.5rem; border-radius: var(--radius-lg); border-left: 4px solid var(--accent); }
.office-card h4 { font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.office-address { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.6; }
.office-contact { display: flex; flex-direction: column; gap: 0.25rem; }
.office-contact span { font-size: 0.85rem; color: var(--text-dark); }
.office-email { margin-top: 0.5rem; padding: 1rem; background: var(--accent); color: var(--primary-dark); border-radius: var(--radius); font-size: 0.9rem; text-align: center; }

/* Footer */
.footer { background: var(--primary-dark); color: var(--text-light); }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 4rem 2rem 2rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logos { display: flex; gap: 16px; align-items: center; margin-bottom: 1.25rem; }
.footer-logo { height: 36px; width: auto; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.95rem; max-width: 350px; }
.footer-links h4 { color: var(--accent); font-size: 0.9rem; font-weight: 600; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a, .footer-links li { color: rgba(255,255,255,0.7); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 5px; }
.footer-bottom { text-align: center; }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 0.5rem; }
.footer-address { font-size: 0.8rem !important; }
.footer-legal { margin-top: 1rem; display: flex; gap: 1rem; justify-content: center; }
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.8rem; }
.footer-legal a:hover { color: var(--accent); }
.footer-legal span { color: rgba(255,255,255,0.3); }

/* Responsive */
@media (max-width: 1024px) {
    .hero-headline { font-size: 2.5rem; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .service-block-content { grid-template-columns: 1fr; gap: 2rem; }
    .service-block.reverse .service-block-content { direction: ltr; }
    .service-block-image { min-height: 250px; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .mission-grid { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 80px; left: 0; right: 0; background: var(--primary-dark); flex-direction: column; padding: 2rem; gap: 1.25rem; }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: flex; }
    .logo { height: 40px; }
    .why-grid { grid-template-columns: 1fr; }
    .hero-headline { font-size: 2rem; }
    .section-header h2 { font-size: 1.8rem; }
    .journey-steps { flex-direction: column; }
    .journey-arrow { transform: rotate(90deg); padding: 0.5rem 0; }
    .contact-form .form-row { grid-template-columns: 1fr; }
    .service-feature-list { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .cert-logo-img { height: 35px; }
}
