@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Sans:wght@400;500;700&display=swap');

:root {
  --navy: #1B2A4A;
  --navy-dark: #111D35;
  --navy-light: #243755;
  --accent: #E67E22;
  --accent-hover: #D35400;
  --accent-light: #FDF2E9;
  --white: #FFFFFF;
  --off-white: #F8F9FA;
  --gray-50: #F1F3F5;
  --gray-100: #E9ECEF;
  --gray-200: #DEE2E6;
  --gray-400: #ADB5BD;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --text: #2D2D2D;
  --text-light: #555555;
  --green: #27AE60;
  --green-light: #E8F8F0;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

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

/* ═══ HEADER ═══ */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.header-top {
  background: var(--navy-dark);
  padding: 6px 0;
  font-size: 13px;
  color: var(--gray-400);
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-top a { color: var(--accent); font-weight: 600; }

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.logo-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1.1;
}

.logo-sub {
  font-size: 10px;
  color: var(--gray-400);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 500;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}

.nav-links a {
  color: var(--gray-200);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
}

.nav-links a:hover { color: var(--accent); }

.nav-links .nav-cta {
  background: var(--accent);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.2s;
}

.nav-links .nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

.phone-header {
  color: var(--white);
  font-size: 15px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.phone-header a { color: var(--white); }

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.mobile-menu-btn:hover { background: rgba(255,255,255,0.1); }

/* Mobile nav open state */
.nav-links.nav-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--navy);
  padding: 16px 24px 24px;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
  z-index: 999;
}

.nav-links.nav-open li { padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.nav-links.nav-open li:last-child { border-bottom: none; padding-top: 14px; }
.nav-links.nav-open a { font-size: 16px; }
.nav-links.nav-open .nav-cta { display: block; text-align: center; }

/* ═══ HERO ═══ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162544 40%, #0D1B2A 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(230,126,34,0.1) 0%, transparent 65%);
  border-radius: 50%;
  animation: heroPulse 8s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(39,174,96,0.06) 0%, transparent 65%);
  border-radius: 50%;
}

@keyframes heroPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  background: rgba(230,126,34,0.15);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 20px;
  border: 1px solid rgba(230,126,34,0.3);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 16px;
  font-weight: 800;
}

.hero h1 span { color: var(--accent); }

.hero-sub {
  color: var(--gray-400);
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.6;
}

.hero-services {
  color: var(--gray-200);
  font-size: 14px;
  letter-spacing: 0.5px;
  margin-bottom: 32px;
  font-weight: 500;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(230,126,34,0.35);
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230,126,34,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

/* ═══ SECTIONS ═══ */
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.section-dark { background: var(--navy); color: var(--white); }

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

.section-header p {
  color: var(--text-light);
  font-size: 17px;
  margin-top: 12px;
}

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

/* ═══ SERVICE CARDS ═══ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-hover));
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(230,126,34,0.3);
  box-shadow: 0 12px 40px rgba(27,42,74,0.12);
  transform: translateY(-6px);
  color: inherit;
}

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

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}

.service-card h3 { margin-bottom: 10px; font-size: 18px; }

.service-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 14px;
}

.service-card .learn-more {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ═══ FEATURES ═══ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-item {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.feature-item:hover {
  background: var(--white);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-4px);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--accent-light), #FEF0E0);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  margin: 0 auto 18px;
  box-shadow: 0 4px 15px rgba(230,126,34,0.15);
  transition: transform 0.3s;
}

.feature-item:hover .feature-icon { transform: scale(1.1); }

.feature-item h3 { font-size: 16px; margin-bottom: 8px; }
.feature-item p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ═══ AREAS ═══ */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.area-tag {
  background: var(--white);
  border: 1px solid var(--gray-200);
  padding: 10px 20px;
  border-radius: 100px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 600;
  transition: all 0.25s;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.area-tag:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(27,42,74,0.2);
}

/* ═══ CTA BANNER ═══ */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, #C0392B 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.cta-banner h2 { color: var(--white); margin-bottom: 12px; position: relative; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 24px; position: relative; }
.cta-banner .btn {
  background: var(--white);
  color: var(--accent-hover);
  font-size: 15px;
  position: relative;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.cta-banner .btn:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.cta-banner .phone-big { color: var(--white); font-size: 32px; font-weight: 800; margin-bottom: 16px; display: block; position: relative; }
.cta-banner .phone-big a { color: var(--white); transition: opacity 0.2s; }
.cta-banner .phone-big a:hover { opacity: 0.85; }

/* ═══ TESTIMONIALS ═══ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  transition: all 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 64px;
  color: rgba(230,126,34,0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-card .stars { color: var(--accent); font-size: 18px; margin-bottom: 14px; letter-spacing: 2px; }
.testimonial-card p { font-size: 15px; color: var(--text-light); font-style: italic; line-height: 1.7; margin-bottom: 18px; }
.testimonial-card .author { font-size: 14px; font-weight: 700; color: var(--navy); }
.testimonial-card .role { font-size: 12px; color: var(--gray-600); margin-top: 2px; }

/* ═══ FOOTER ═══ */
.site-footer {
  background: var(--navy-dark);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

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

.footer-col h4 {
  color: var(--white);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 8px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: var(--gray-400); font-size: 14px; }
.footer-col ul a:hover { color: var(--accent); }

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

/* ═══ PAGE CONTENT ═══ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #162544 50%, #0D1B2A 100%);
  padding: 70px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230,126,34,0.08) 0%, transparent 60%);
  border-radius: 50%;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: var(--gray-400); font-size: 17px; max-width: 600px; margin: 0 auto; }

.content-section { padding: 60px 0; }
.content-section h2 { margin-bottom: 16px; }
.content-section h3 { margin: 28px 0 12px; }
.content-section p { margin-bottom: 14px; color: var(--text-light); }
.content-section ul { margin: 12px 0 20px 24px; }
.content-section ul li { margin-bottom: 6px; color: var(--text-light); }

.content-two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.sidebar-cta {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
}

.sidebar-cta h3 { font-size: 18px; margin-bottom: 12px; }
.sidebar-cta p { font-size: 14px; color: var(--text-light); margin-bottom: 16px; }
.sidebar-cta .btn { width: 100%; justify-content: center; margin-bottom: 10px; }

/* ═══ CONTACT FORM ═══ */
.contact-form { max-width: 600px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-group textarea { min-height: 120px; resize: vertical; }

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
  .services-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-two-col { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .services-grid, .testimonials-grid, .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .hero { padding: 50px 0 60px; }
  .section { padding: 50px 0; }
  .header-main { padding: 10px 16px; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }
  .phone-header { display: none; }
  .header-main { position: relative; }
}

/* ═══ SCROLL FADE-IN ANIMATIONS ═══ */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* Stagger children */
.stagger > .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger > .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger > .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger > .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger > .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger > .fade-in:nth-child(6) { transition-delay: 0.5s; }

/* Smooth scroll indicator for hero */
.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  font-size: 13px;
  text-align: center;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}
