/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #1a3a5c;
  --navy-light: #2c5f8a;
  --navy-dark: #0f2a44;
  --orange: #f9a826;
  --orange-dark: #e07b00;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e6ea;
  --gray-300: #d0d5db;
  --gray-400: #a8b0bb;
  --gray-500: #6c757d;
  --gray-600: #545b62;
  --gray-700: #3a3f47;
  --gray-800: #262a30;
  --gray-900: #1a1d22;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent { color: var(--orange); }

.section-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--orange-dark);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}

.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }
.section-header p { font-size: 1.1rem; color: var(--gray-500); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(249, 168, 38, 0.4);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 168, 38, 0.5);
}

.btn-secondary {
  background: rgba(255,255,255,0.1);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(10px);
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.5);
}

.btn-lg { padding: 18px 44px; font-size: 17px; }
.btn-block { width: 100%; }

/* ===== HEADER ===== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 58, 92, 0.95);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

#header.scrolled {
  background: rgba(26, 58, 92, 0.98);
  box-shadow: var(--shadow-md);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 44px; width: auto; }

#nav ul {
  display: flex;
  gap: 32px;
  align-items: center;
}

#nav a {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

#nav a:hover { color: var(--orange); }

#nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}

#nav a:hover::after { width: 100%; }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-weight: 600;
}
.nav-cta:hover { background: var(--orange-dark) !important; }
.nav-cta::after { display: none; }

.nav-phone {
  color: var(--orange) !important;
  font-weight: 700;
  font-size: 14px;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--white) !important; }

#menuToggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

#menuToggle span {
  width: 26px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

#menuToggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
#menuToggle.active span:nth-child(2) { opacity: 0; }
#menuToggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26,58,92,0.85) 0%, rgba(26,58,92,0.5) 50%, rgba(15,42,68,0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-top: 72px;
}

.hero-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--orange);
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.2rem;
  max-width: 580px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat { text-align: left; }

.stat-num {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 4px;
}

/* ===== ABOUT ===== */
.about { padding: 100px 0; background: var(--gray-50); }

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

.about-text h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-text p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 16px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.about-feature h4 { font-size: 1rem; margin-bottom: 4px; }
.about-feature p { font-size: 0.9rem; color: var(--gray-500); margin: 0; }

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-card {
  background: var(--navy);
  color: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  background: var(--orange);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(30px, -30px);
}

.about-card-2 { background: var(--orange); }
.about-card-2::before { background: var(--navy); opacity: 0.1; }
.about-card-3 { background: var(--navy-light); }

.about-card-num {
  font-family: 'Poppins', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--orange);
}

.about-card-2 .about-card-num { color: var(--navy); }

.about-card-label {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin-top: 4px;
}

/* ===== SERVICES ===== */
.services { padding: 100px 0; background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: transparent;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card img { margin-bottom: 24px; }

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--orange-dark);
  transition: var(--transition);
}

.service-link:hover { color: var(--orange); }

/* ===== PROJECTS ===== */
.projects { padding: 100px 0; background: var(--gray-50); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--navy);
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.project-card:hover .project-img { transform: scale(1.08); }

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 28px 24px 24px;
  background: linear-gradient(transparent, rgba(15,42,68,0.9));
  color: var(--white);
  transition: var(--transition);
}

.project-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.project-overlay p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* ===== PROCESS ===== */
.process { padding: 100px 0; background: var(--white); }

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--gray-200);
}

.process-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--navy);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.process-step h3 { font-size: 1.2rem; margin-bottom: 12px; }
.process-step p { font-size: 0.95rem; color: var(--gray-500); }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--gray-50); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.testimonial-card:hover { box-shadow: var(--shadow-md); }

.stars {
  color: var(--orange);
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 1rem;
  color: var(--gray-600);
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: 14px; }

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

.testimonial-author h4 { font-size: 0.95rem; color: var(--navy); }
.testimonial-author span { font-size: 0.85rem; color: var(--gray-500); }

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 80px 0;
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(249,168,38,0.1) 0%, transparent 50%);
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 16px;
  position: relative;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 32px;
  position: relative;
}

.cta-banner .btn { position: relative; }

/* ===== CONTACT ===== */
.contact { padding: 100px 0; background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h2 { font-size: 2.5rem; margin-bottom: 16px; }
.contact-info > p { font-size: 1.05rem; color: var(--gray-500); margin-bottom: 40px; }

.contact-details { display: flex; flex-direction: column; gap: 28px; }

.contact-item { display: flex; gap: 16px; align-items: flex-start; }

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item h4 { font-size: 1rem; margin-bottom: 4px; color: var(--navy); }
.contact-item p { font-size: 0.95rem; color: var(--gray-500); }

.contact-form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--navy);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group textarea { resize: vertical; }

.form-success {
  display: none;
  margin-top: 16px;
  padding: 16px;
  background: #e8f5e9;
  border-radius: var(--radius);
  color: #2e7d32;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-success.show { display: block; }

/* ===== EMERGENCY BANNER ===== */
.emergency-banner {
  padding: 32px 0;
  background: var(--orange);
}

.emergency-content {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.emergency-icon { font-size: 2rem; }

.emergency-content h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.emergency-content p {
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  margin: 0;
}

.emergency-content .btn {
  margin-left: auto;
  background: var(--navy);
}

.emergency-content .btn:hover {
  background: var(--navy-dark);
}

@media (max-width: 768px) {
  .emergency-content .btn { margin-left: 0; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-logo { margin-bottom: 16px; filter: brightness(1.1); }

.footer-col > p {
  font-size: 0.9rem;
  margin-bottom: 24px;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul li a, .footer-col ul li {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--orange); }

.social-links { display: flex; gap: 12px; }

.social-links a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a { color: var(--orange); }
.footer-bottom a:hover { text-decoration: underline; }

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

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
.services-grid-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

.service-card-large {
  padding: 48px 40px;
}

@media (max-width: 1024px) {
  .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .process-step:nth-child(2)::after { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 3rem; }
  .section-header h2 { font-size: 2rem; }
}

@media (max-width: 768px) {
  #nav { display: none; }
  #nav.active {
    display: flex;
    position: fixed;
    top: 72px;
    left: 0;
    width: 100%;
    height: calc(100vh - 72px);
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px 24px;
    gap: 24px;
  }
  #nav.active ul {
    flex-direction: column;
    gap: 24px;
  }
  #menuToggle { display: flex; }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .services-grid, .projects-grid, .testimonials-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step::after { display: none !important; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  .section-header h2, .about-text h2, .contact-info h2 { font-size: 1.8rem; }
  .cta-banner h2 { font-size: 1.8rem; }

  .hero-stats { margin-top: 40px; padding-top: 28px; }
  .stat-num { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
}