/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif; color: #1e293b; line-height: 1.7; background: #fff; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; font-weight: 700; line-height: 1.2; color: #1a365d; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); margin-bottom: 16px; }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); margin-bottom: 12px; }
p { margin-bottom: 16px; color: #475569; }

/* ===== HEADER & NAV ===== */
.site-header { background: #0f172a; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: 1200px; margin: 0 auto; height: 72px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo img { height: 150px; width: auto; }
.logo-text { font-size: 1.15rem; font-weight: 700; color: #fff; letter-spacing: 0.5px; }
.logo-text span { color: #60a5fa; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a { color: #cbd5e1; font-size: 0.88rem; font-weight: 500; padding: 8px 14px; border-radius: 6px; transition: all 0.3s; letter-spacing: 0.3px; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(96,165,250,0.15); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; z-index: 1001; }
.hamburger span { width: 24px; height: 2px; background: #fff; transition: all 0.3s; border-radius: 2px; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero { position: relative; min-height: 540px; display: flex; align-items: center; overflow: hidden; background: #0f172a; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,58,138,0.75) 50%, rgba(15,23,42,0.85) 100%); }
.hero-content { position: relative; z-index: 2; padding: 80px 0; }
.hero-badge { display: inline-block; background: rgba(96,165,250,0.15); color: #60a5fa; padding: 6px 16px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 20px; border: 1px solid rgba(96,165,250,0.25); }
.hero h1 { color: #fff; margin-bottom: 20px; max-width: 700px; }
.hero p { color: #94a3b8; font-size: 1.15rem; max-width: 600px; margin-bottom: 32px; line-height: 1.8; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 28px; border-radius: 8px; font-size: 0.92rem; font-weight: 600; transition: all 0.3s; cursor: pointer; border: none; letter-spacing: 0.3px; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 25px rgba(37,99,235,0.35); }
.btn-outline { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }
.btn-secondary { background: #1e293b; color: #fff; }
.btn-secondary:hover { background: #334155; }

/* ===== SECTIONS ===== */
.section { padding: 80px 0; }
.section-light { background: #f8fafc; }
.section-dark { background: #0f172a; color: #fff; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #94a3b8; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-header .label { display: inline-block; color: #2563eb; font-size: 0.82rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 12px; }
.section-header p { color: #64748b; font-size: 1.05rem; }

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
.card { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: all 0.35s; border: 1px solid #e2e8f0; }
.card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }
.card-img { height: 220px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 28px; }
.card-body h3 { color: #1a365d; }
.card-body p { color: #64748b; font-size: 0.95rem; }

/* ===== SERVICE DETAIL ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid #e2e8f0; }
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.service-img img { width: 100%; height: 320px; object-fit: cover; }
.service-text h3 { font-size: 1.5rem; margin-bottom: 16px; }
.service-text p { font-size: 1rem; line-height: 1.8; }
.service-text ul { margin: 16px 0; }
.service-text ul li { padding: 6px 0 6px 28px; position: relative; color: #475569; }
.service-text ul li::before { content: '✓'; position: absolute; left: 0; color: #2563eb; font-weight: 700; }

/* ===== INDUSTRY GRID ===== */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.industry-card { background: #fff; border-radius: 10px; padding: 28px; border: 1px solid #e2e8f0; transition: all 0.3s; }
.industry-card:hover { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,0.1); transform: translateY(-4px); }
.industry-icon { width: 48px; height: 48px; background: linear-gradient(135deg, #1e40af, #2563eb); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; font-size: 1.4rem; }
.industry-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.industry-card p { font-size: 0.9rem; color: #64748b; margin-bottom: 0; }

/* ===== PRODUCT GRID ===== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; }
.product-card { background: linear-gradient(135deg, #f8fafc, #fff); border-radius: 12px; padding: 32px; border: 1px solid #e2e8f0; transition: all 0.3s; }
.product-card:hover { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,0.08); }
.product-card h3 { color: #1a365d; font-size: 1.2rem; margin-bottom: 12px; }
.product-card p { color: #64748b; font-size: 0.92rem; }
.product-tag { display: inline-block; background: #eff6ff; color: #2563eb; padding: 4px 12px; border-radius: 4px; font-size: 0.78rem; font-weight: 600; margin-bottom: 12px; }

/* ===== TRAINING ===== */
.training-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.training-card { background: #fff; border-radius: 12px; padding: 32px; border: 1px solid #e2e8f0; transition: all 0.3s; }
.training-card:hover { border-color: #2563eb; box-shadow: 0 8px 30px rgba(37,99,235,0.1); transform: translateY(-4px); }
.training-card h3 { margin-bottom: 8px; }
.training-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.training-meta span { font-size: 0.85rem; color: #64748b; display: flex; align-items: center; gap: 4px; }
.location-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.location-tag { background: #f1f5f9; color: #1e293b; padding: 10px 16px; border-radius: 8px; font-size: 0.88rem; font-weight: 500; text-align: center; border: 1px solid #e2e8f0; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-block { margin-bottom: 32px; }
.contact-info-block h3 { font-size: 1.1rem; margin-bottom: 8px; color: #1a365d; }
.contact-info-block p { color: #64748b; font-size: 0.95rem; margin-bottom: 4px; }
.office-card { background: #f8fafc; border-radius: 12px; overflow: hidden; border: 1px solid #e2e8f0; margin-bottom: 24px; }
.office-card img { width: 100%; height: 180px; object-fit: cover; }
.office-card-body { padding: 20px; }
.office-card-body h4 { color: #1a365d; margin-bottom: 6px; font-size: 1rem; }
.office-card-body p { margin-bottom: 4px; font-size: 0.9rem; }
.contact-form { background: #f8fafc; border-radius: 12px; padding: 36px; border: 1px solid #e2e8f0; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; color: #1e293b; margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.3s; background: #fff; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: #2563eb; box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ===== ABOUT TIMELINE ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-img { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.strength-list { display: grid; gap: 16px; margin-top: 24px; }
.strength-item { display: flex; gap: 16px; align-items: flex-start; }
.strength-icon { flex-shrink: 0; width: 40px; height: 40px; background: #eff6ff; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #2563eb; font-weight: 700; font-size: 1.1rem; }
.strength-item h4 { font-size: 1rem; color: #1a365d; margin-bottom: 4px; }
.strength-item p { font-size: 0.9rem; margin-bottom: 0; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%); padding: 60px 0 50px; text-align: center; }
.page-hero h1 { color: #fff; margin-bottom: 12px; }
.page-hero p { color: #94a3b8; max-width: 600px; margin: 0 auto; font-size: 1.05rem; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; margin-bottom: 16px; font-size: 0.85rem; }
.breadcrumb a { color: #60a5fa; }
.breadcrumb span { color: #64748b; }

/* ===== FOOTER ===== */
.site-footer { background: #0f172a; color: #94a3b8; padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { font-size: 0.9rem; margin-top: 16px; }
.footer-col h4 { color: #fff; font-size: 0.95rem; margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-col a { display: block; color: #94a3b8; font-size: 0.88rem; padding: 4px 0; transition: color 0.3s; }
.footer-col a:hover { color: #60a5fa; }
.footer-bottom { border-top: 1px solid #1e293b; padding: 20px 0; text-align: center; font-size: 0.85rem; }

/* ===== CTA BANNER ===== */
.cta-banner { background: linear-gradient(135deg, #1e40af, #2563eb, #3b82f6); padding: 60px 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: #dbeafe; max-width: 600px; margin: 0 auto 28px; }

/* ===== ANIMATIONS ===== */
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav-links { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: #0f172a; flex-direction: column; align-items: center; justify-content: center; gap: 8px; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.1rem; padding: 12px 24px; }
  .hamburger { display: flex; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .service-detail.reverse { direction: ltr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero { min-height: 440px; }
}
@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .card-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .hero { min-height: 380px; }
  .product-grid { grid-template-columns: 1fr; }
}
