/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #0a4fa6;
  --primary-dark: #063580;
  --primary-light: #1a6fd4;
  --accent: #00b4d8;
  --dark: #1a1f2e;
  --dark2: #2d3348;
  --gray: #6b7280;
  --light-gray: #f3f4f6;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 4px 24px rgba(10,79,166,0.10);
  --shadow-lg: 0 8px 40px rgba(10,79,166,0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --transition: 0.25s ease;
  --font: 'Inter', 'Segoe UI', Arial, sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.7; font-size: 16px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.25; color: var(--dark); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }
p { color: var(--gray); }
.section-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; display: block; }
.section-title { margin-bottom: 1rem; }
.section-subtitle { font-size: 1.05rem; color: var(--gray); max-width: 600px; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 90px 0; }
.section-alt { background: var(--light-gray); }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3, .section-dark .section-label { color: var(--white); }
.section-dark p { color: #9ca3af; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-2 { margin-bottom: 2rem; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 6px; font-weight: 600; font-size: 0.95rem; cursor: pointer; border: 2px solid transparent; transition: var(--transition); white-space: nowrap; }
.btn-primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: #0096b7; border-color: #0096b7; transform: translateY(-1px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ===== NAVBAR ===== */
.navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(90deg, #0b1a2f, #0f2b4a); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.07); transition: var(--transition); overflow: visible; }
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; padding: 0 2rem; }
.nav-logo { display: flex; align-items: center; gap: 1rem; padding-left: 0.5rem; overflow: visible; }
.nav-logo-img { height: 200px; width: auto; max-width: none; display: block; object-fit: contain; flex-shrink: 0; }
.nav-logo-icon { width: 38px; height: 38px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 22px; height: 22px; fill: white; }
.nav-logo-text { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; }
.nav-logo-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a { color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500; padding: 0.5rem 0.85rem; border-radius: 6px; transition: var(--transition); }
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,0.08); }
.nav-cta { margin-left: 1rem; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

/* ===== HERO ===== */
.hero { min-height: 100vh; background: linear-gradient(135deg, #0a1628 0%, #0d2550 50%, #0a3a6e 100%); display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 80px; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; opacity: 0.35; }
.hero-video-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,22,40,0.85) 0%, rgba(13,37,80,0.75) 50%, rgba(10,58,110,0.7) 100%); z-index: 0; }
.hero::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(0,180,216,0.15); border: 1px solid rgba(0,180,216,0.3); color: var(--accent); font-size: 0.8rem; font-weight: 600; padding: 0.4rem 1rem; border-radius: 50px; margin-bottom: 1.5rem; letter-spacing: 0.05em; }
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero h1 span { color: var(--accent); }
.hero-desc { color: rgba(255,255,255,0.7); font-size: 1.1rem; margin-bottom: 2rem; max-width: 520px; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); }
.hero-stat-num { font-size: 2rem; font-weight: 800; color: var(--white); line-height: 1; }
.hero-stat-num span { color: var(--accent); }
.hero-stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.hero-visual { position: relative; }
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius-lg); padding: 2rem; backdrop-filter: blur(10px); }
.hero-card-title { color: var(--white); font-size: 0.85rem; font-weight: 600; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-card-title::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; display: inline-block; animation: pulse 2s infinite; }
.service-list-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; border-radius: 8px; margin-bottom: 0.5rem; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.06); transition: var(--transition); }
.service-list-item:hover { background: rgba(0,180,216,0.1); border-color: rgba(0,180,216,0.2); }
.service-list-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.service-list-icon svg { width: 18px; height: 18px; fill: white; }
.service-list-text { color: rgba(255,255,255,0.85); font-size: 0.9rem; font-weight: 500; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }

/* ===== CARDS ===== */
.card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; border: 1px solid var(--border); transition: var(--transition); }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: rgba(10,79,166,0.15); }
.card-icon { width: 56px; height: 56px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.card-icon svg { width: 28px; height: 28px; fill: white; }
.card h3 { margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; }
.card-dark { background: var(--dark2); border-color: rgba(255,255,255,0.08); }
.card-dark h3 { color: var(--white); }
.card-dark p { color: #9ca3af; }
.card-dark:hover { border-color: var(--accent); }

/* ===== FEATURES / TRUST ===== */
.trust-bar { background: var(--primary); padding: 1.5rem 0; }
.trust-items { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.trust-item { display: flex; align-items: center; gap: 0.75rem; color: rgba(255,255,255,0.9); font-size: 0.9rem; font-weight: 500; }
.trust-item svg { width: 22px; height: 22px; fill: var(--accent); flex-shrink: 0; }

/* ===== CERT BADGES ===== */
.cert-badge { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; padding: 1.5rem; background: var(--white); border-radius: var(--radius); border: 2px solid var(--border); text-align: center; transition: var(--transition); }
.cert-badge:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cert-badge-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.cert-badge-icon svg { width: 30px; height: 30px; fill: white; }
.cert-badge-name { font-weight: 700; font-size: 0.9rem; color: var(--dark); }
.cert-badge-desc { font-size: 0.78rem; color: var(--gray); }

/* ===== PROCESS STEPS ===== */
.steps { counter-reset: step; }
.step { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; position: relative; }
.step:not(:last-child)::after { content: ''; position: absolute; left: 23px; top: 52px; bottom: -2.5rem; width: 2px; background: linear-gradient(to bottom, var(--primary), transparent); }
.step-num { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.step-content h3 { margin-bottom: 0.4rem; }
.step-content p { font-size: 0.95rem; }

/* ===== PROJECT CARDS ===== */
.project-card { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); background: var(--white); }
.project-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.project-img { height: 200px; background: linear-gradient(135deg, var(--primary-dark), var(--dark2)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.project-img svg { width: 80px; height: 80px; fill: rgba(255,255,255,0.15); }
.project-img-label { position: absolute; top: 1rem; left: 1rem; background: var(--accent); color: white; font-size: 0.75rem; font-weight: 700; padding: 0.3rem 0.75rem; border-radius: 50px; }
.project-body { padding: 1.5rem; }
.project-body h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.project-body p { font-size: 0.9rem; }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag { font-size: 0.75rem; font-weight: 600; padding: 0.25rem 0.65rem; border-radius: 50px; background: var(--light-gray); color: var(--primary); }

/* ===== CONTACT FORM ===== */
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--dark); margin-bottom: 0.4rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid var(--border); border-radius: 8px; font-size: 0.95rem; font-family: var(--font); color: var(--dark); background: var(--white); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,79,166,0.1); }
.form-group textarea { resize: vertical; min-height: 130px; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; }
.contact-info-icon { width: 44px; height: 44px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-info-icon svg { width: 20px; height: 20px; fill: white; }
.contact-info-label { font-size: 0.8rem; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-info-value { font-weight: 600; color: var(--dark); margin-top: 0.15rem; }
.map-placeholder { width: 100%; height: 300px; background: linear-gradient(135deg, var(--light-gray), #e0e7ef); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); overflow: hidden; }
.map-placeholder iframe { width: 100%; height: 100%; border: none; }

/* ===== PAGE HERO ===== */
.page-hero { background: linear-gradient(135deg, #0a1628 0%, #0d2550 100%); padding: 110px 0 70px; text-align: center; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.breadcrumb a { color: var(--accent); }
.breadcrumb span { color: rgba(255,255,255,0.3); }

/* ===== FOOTER ===== */
.footer { background: #0a0f1e; color: rgba(255,255,255,0.6); padding: 60px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-brand p { font-size: 0.9rem; margin-top: 1rem; line-height: 1.8; }
.footer-brand .nav-logo-img { height: 160px; max-width: none; }
.footer-col h4 { color: var(--white); font-size: 0.9rem; font-weight: 700; margin-bottom: 1.25rem; text-transform: uppercase; letter-spacing: 0.08em; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { font-size: 0.875rem; color: rgba(255,255,255,0.55); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 1.5rem 0; font-size: 0.82rem; flex-wrap: wrap; gap: 0.5rem; }
.footer-bottom a { color: var(--accent); }
.social-links { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.07); border-radius: 8px; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.social-link:hover { background: var(--primary); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }

/* ===== ABOUT PAGE ===== */
.team-card { text-align: center; }
.team-avatar { width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.team-avatar svg { width: 40px; height: 40px; fill: white; }
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-icon { width: 44px; height: 44px; background: rgba(10,79,166,0.1); border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-icon svg { width: 22px; height: 22px; fill: var(--primary); }

/* ===== SERVICES PAGE ===== */
.service-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border); }
.service-detail:last-child { border-bottom: none; }
.service-detail.reverse { direction: rtl; }
.service-detail.reverse > * { direction: ltr; }
.service-detail-icon { width: 72px; height: 72px; background: linear-gradient(135deg, var(--primary), var(--accent)); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.service-detail-icon svg { width: 36px; height: 36px; fill: white; }
.service-feature-list { margin-top: 1.5rem; }
.service-feature-list li { display: flex; align-items: center; gap: 0.75rem; padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.95rem; color: var(--dark); }
.service-feature-list li::before { content: ''; width: 8px; height: 8px; background: var(--accent); border-radius: 50%; flex-shrink: 0; }
.service-visual { border-radius: var(--radius-lg); height: 320px; overflow: hidden; }
.service-visual img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-lg); transition: transform 0.4s ease; }
.service-visual img:hover { transform: scale(1.03); }

/* ===== STATS ===== */
.stat-card { text-align: center; padding: 2rem; }
.stat-num { font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-top: 0.5rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { gap: 2.5rem; }
}
@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .hero-grid, .service-detail { grid-template-columns: 1fr; }
  .service-detail.reverse { direction: ltr; }
  .hero-visual { display: none; }
  .hero-stats { gap: 1.25rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: flex; flex-direction: column; gap: 0.25rem; padding: 1rem 1.5rem; background: rgba(10,20,40,0.98); border-top: 1px solid rgba(255,255,255,0.07); }
  .nav-mobile a { color: rgba(255,255,255,0.8); padding: 0.75rem 0; font-size: 0.95rem; border-bottom: 1px solid rgba(255,255,255,0.05); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-items { justify-content: flex-start; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 1rem; }
}
