:root {
    --primary: #002045;
    --accent: #ff8928;
    --bg: #f7f8fa;
    --text: #333;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text); line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.header { background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.08); position: sticky; top: 0; z-index: 1000; }
.header-wrap { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; }
.logo a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { width: 48px; height: 48px; object-fit: contain; border-radius: 12px; background: #fff; }
.logo-icon { width: 48px; height: 48px; background: var(--primary); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 800; flex-shrink: 0; }
.nav-overlay { display: none; }
.nav-overlay.active { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 998; }
body.nav-open { overflow: hidden; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-grid { grid-template-columns: 1.5fr 1fr; }
.form-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.req-star, .required-star, .text-danger { color: #ef4444 !important; font-weight: bold; margin-left: 2px; }
.form-select, select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 15px 15px;
    padding-right: 42px !important;
    cursor: pointer;
}
.logo-text h1 { font-size: 20px; color: var(--primary); font-weight: 800; margin: 0; }
.logo-text span { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: .5px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--accent); }
.btn-quote { background: var(--accent); color: #fff; padding: 10px 24px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 14px; transition: background .2s; }
.btn-quote:hover { background: #e07820; }
.mobile-toggle { display: none; background: none; border: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* Hero Slider */
.hero, .hero-slider { background: linear-gradient(135deg, var(--primary) 0%, #003570 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.hero { padding: 80px 0; }
.hero::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at 60% 40%, rgba(255,137,40,.15) 0%, transparent 60%); }
.hero-slider { min-height: 420px; }
.hero-slide { display: none; padding: 90px 0 100px; min-height: 420px; background-size: cover; background-position: center; position: relative; }
.hero-slide.active { display: block; }
.hero-icon { font-size: 48px; display: block; margin-bottom: 12px; }
.hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: none; border-radius: 50%; background: rgba(255,255,255,.18); color: #fff; cursor: pointer; z-index: 3; }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }
.hero-dots { position: absolute; bottom: 18px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: none; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--accent); }
.hero-content { position: relative; z-index: 1; }
.hero h1, .hero-slide h1 { font-size: 48px; font-weight: 900; margin-bottom: 16px; }
.hero h2, .hero-slide h2 { font-size: 36px; font-weight: 700; margin-bottom: 20px; }
.hero p, .hero-slide p { font-size: 18px; max-width: 700px; margin: 0 auto 32px; opacity: .95; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-buttons a { padding: 14px 32px; border-radius: 10px; text-decoration: none; font-weight: 700; font-size: 16px; transition: all .3s; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #e07820; transform: translateY(-2px); }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: var(--primary); }
.hero-badges { display: flex; gap: 20px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.badge { background: rgba(255,255,255,.15); padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; backdrop-filter: blur(10px); }

/* Stats Section */
.stats { background: #fff; padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.stat-card h3 { font-size: 48px; color: var(--accent); font-weight: 900; margin-bottom: 8px; }
.stat-card p { color: #666; font-size: 16px; font-weight: 600; }

/* Section */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header span { color: var(--accent); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: 1.2px; }
.section-header h2 { font-size: 38px; color: var(--primary); font-weight: 800; margin-top: 8px; }
.section-header p { color: #666; font-size: 16px; margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* Cards Grid */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: transform .3s, box-shadow .3s; text-decoration: none; display: block; color: inherit; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0,0,0,.12); }
.card img { width: 100%; height: 200px; object-fit: cover; border-radius: 12px; margin-bottom: 20px; }
.card h3 { font-size: 22px; color: var(--primary); font-weight: 700; margin-bottom: 12px; }
.card p { color: #666; font-size: 15px; line-height: 1.6; }
.card .btn-link { color: var(--accent); font-weight: 700; margin-top: 16px; display: inline-flex; align-items: center; gap: 6px; }

/* Certificates */
.certificates { background: #fff; }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.cert-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 14px; padding: 28px; text-align: center; transition: all .3s; }
.cert-card:hover { border-color: var(--accent); box-shadow: 0 6px 24px rgba(255,137,40,.15); }
.cert-card img { max-width: 80px; height: 80px; object-fit: contain; margin-bottom: 16px; }
.cert-card h4 { font-size: 16px; color: var(--primary); font-weight: 700; margin-bottom: 8px; }
.cert-card p { font-size: 13px; color: #666; }

/* CTA Section */
.cta { background: linear-gradient(135deg, var(--primary) 0%, #003570 100%); color: #fff; text-align: center; padding: 80px 20px; }
.cta h2 { font-size: 36px; font-weight: 800; margin-bottom: 20px; }
.cta p { font-size: 18px; margin-bottom: 32px; opacity: .95; }
.cta .hero-buttons { display: flex; gap: 16px; justify-content: center; }

/* Footer */
.footer { background: #001530; color: rgba(255,255,255,.8); padding: 60px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h3 { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
.footer-col p { margin-bottom: 12px; font-size: 14px; line-height: 1.8; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,.7); text-decoration: none; transition: color .2s; font-size: 14px; }
.footer-col ul li a:hover { color: var(--accent); }
.social-links { display: flex; gap: 12px; margin-top: 20px; }
.social-links a { width: 38px; height: 38px; background: rgba(255,255,255,.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; transition: all .3s; }
.social-links a:hover { background: var(--accent); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; }
.footer-bottom p { font-size: 14px; color: rgba(255,255,255,.6); }

/* Responsive */
@media (max-width: 1024px) {
    .container { padding: 0 16px; }
    .hero h1, .hero-slide h1 { font-size: 40px; }
    .hero h2, .hero-slide h2 { font-size: 28px; }
    .split-grid { gap: 36px; }
    .section-header h2 { font-size: 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
    .nav { display: none; position: fixed; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 20px; box-shadow: 0 4px 10px rgba(0,0,0,.1); gap: 12px; z-index: 1001; }
    .nav.active { display: flex; }
    .nav-overlay.active { display: block; z-index: 1000; }
    .nav a { padding: 12px 16px; border-radius: 8px; transition: background .2s; }
    .nav a:hover { background: var(--bg); }
    .mobile-toggle { display: block; }
    .btn-quote { padding: 8px 16px; font-size: 13px; }
    .hero, .hero-slide { padding: 50px 0; min-height: 0; }
    .hero h1, .hero-slide h1 { font-size: 32px; line-height: 1.2; }
    .hero h2, .hero-slide h2 { font-size: 24px; }
    .hero p, .hero-slide p { font-size: 16px; }
    .hero-nav { display: none; }
    .split-grid, .contact-grid, .form-two-col { grid-template-columns: 1fr !important; gap: 30px !important; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons a { width: 100%; justify-content: center; display: flex; }
    .hero-badges { flex-direction: column; align-items: center; }
    .section { padding: 50px 0; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 28px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .stat-card h3 { font-size: 36px; }
    .cards-grid { grid-template-columns: 1fr; gap: 20px; }
    .cert-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer { padding: 40px 0 20px; }
    .cta h2 { font-size: 28px; }
    .cta p { font-size: 16px; }
    /* Login page responsive */
    .login-box { padding: 32px 24px; }
    .login-brand h1 { font-size: 20px; }
}

@media (max-width: 480px) {
    .logo-text h1 { font-size: 16px; }
    .logo-text span { font-size: 9px; }
    .logo-icon { width: 40px; height: 40px; font-size: 20px; }
    .hero h1, .hero-slide h1 { font-size: 26px; }
    .hero h2, .hero-slide h2 { font-size: 20px; }
    .hero p, .hero-slide p { font-size: 14px; }
    .logo-img { width: 40px; height: 40px; }
    .section-header h2 { font-size: 24px; }
    .stats-grid { grid-template-columns: 1fr; }
    .cert-grid { grid-template-columns: 1fr; }
    .card h3 { font-size: 20px; }
    .cta h2 { font-size: 24px; }
}
