/* ================= THEME VARIABLES (MATCHING LAYOUT) ================= */
:root {
  --primary-blue: #29499C;
  --secondary-blue: #2A4A9D;
  --blue-accent: #3b82f6;
  
  --bg-white: #FFFFFF;
  --bg-light: #F8FAFC;
  --bg-dark: #0F172A;
  
  --text-main: #1e293b;
  --text-muted: #64748b;
  --text-light: #ffffff;
}

/* ================= GENERAL ================= */
.home {
  overflow-x: hidden;
}

.section-spacing {
  padding: 100px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.sub-heading {
  color: var(--primary-blue);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.section-header { margin-bottom: 60px; }
.section-header.center { text-align: center; }
.section-header h2 { font-size: 2.5rem; color: var(--text-main); line-height: 1.2; margin-bottom: 15px; }
.section-header p { font-size: 1.1rem; color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ================= HERO SECTION ================= */
.hero {
  height: 90vh; /* Not full 100vh so user sees content peeking */
  min-height: 600px;
  position: relative;
  background: url('../images/hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  margin-top: 80px; /* Offset fixed navbar */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Professional Dark Overlay */
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  color: white;
}

.badge {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #93c5fd;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero .gradient-text {
  background: linear-gradient(90deg, #60a5fa, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 600px;
  margin-bottom: 40px;
}

/* Hero Buttons */
.hero-btns { display: flex; gap: 20px; }

.btn {
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.btn.primary {
  background: var(--primary-blue);
  color: white;
  border: 2px solid var(--primary-blue);
}
.btn.primary:hover { background: var(--secondary-blue); border-color: var(--secondary-blue); transform: translateY(-3px); }

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

/* Scroll Mouse Animation */
.scroll-down {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.6);
  border-radius: 20px;
  position: relative;
}
.mouse::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: white;
  border-radius: 50%;
  animation: scrollWheel 2s infinite;
}
@keyframes scrollWheel { 0% { top: 6px; opacity: 1; } 100% { top: 20px; opacity: 0; } }

/* ================= ABOUT SECTION ================= */
.about { background: var(--bg-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text h2 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; color: var(--text-main); }
.about-text p { font-size: 1.05rem; color: var(--text-muted); margin-bottom: 20px; }

.stats-row { display: flex; gap: 40px; margin-top: 30px; border-top: 1px solid #e2e8f0; padding-top: 30px; }
.stat-mini strong { font-size: 2rem; color: var(--primary-blue); display: block; line-height: 1; }
.stat-mini span { color: var(--text-muted); font-size: 0.9rem; }

.about-image-wrapper { position: relative; }
.image-bg {
  position: absolute;
  top: 20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background: var(--bg-light);
  border: 2px solid var(--primary-blue);
  border-radius: 12px;
  z-index: 0;
}
.about-img {
  width: 100%;
  border-radius: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* ================= SERVICES SECTION ================= */
.services { background: var(--bg-light); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: white;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(41, 73, 156, 0.1);
  border-color: var(--primary-blue);
}

.card-icon img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}
.card-content h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--text-main); }
.card-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; flex-grow: 1; }
.learn-more { color: var(--primary-blue); font-weight: 600; text-decoration: none; }

/* ================= PROCESS SECTION ================= */
.process { background: white; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}
.step-item { text-align: center; position: relative; }
.step-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(41, 73, 156, 0.05); /* Very subtle background number */
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
}
.step-img {
  position: relative;
  z-index: 1;
  margin-bottom: 20px;
}
.step-img img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--bg-light);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.step-item h4 { font-size: 1.2rem; color: var(--primary-blue); margin-bottom: 8px; position: relative; z-index: 1; }
.step-item p { font-size: 0.9rem; color: var(--text-muted); position: relative; z-index: 1; }

/* ================= STATS BANNER ================= */
.stats-banner {
  background: var(--bg-dark);
  padding: 60px 0;
  color: white;
}
.stats-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.stat-box { text-align: center; }
.stat-box h3 { font-size: 3rem; font-weight: 800; color: #60a5fa; margin-bottom: 5px; }
.stat-box p { color: #94a3b8; font-size: 1.1rem; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,0.1); }

/* ================= CTA SECTION ================= */
.cta { background: var(--bg-light); text-align: center; }
.cta-box {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #1e40af 100%);
  padding: 80px;
  border-radius: 20px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(41, 73, 156, 0.3);
}
.cta-box h2 { font-size: 2.5rem; margin-bottom: 20px; color: white; }
.cta-box p { font-size: 1.2rem; color: #e0f2fe; margin-bottom: 40px; }
.btn.white-btn { background: white; color: var(--primary-blue); padding: 16px 40px; border-radius: 5px; }
.btn.white-btn:hover { background: #f8fafc; transform: translateY(-3px); }

/* ================= RESPONSIVE ================= */

/* Large Tablets (1024px) */
@media (max-width: 1024px) {
  .hero h1 { font-size: 3.5rem; }
  .about-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .cta-box { padding: 60px; }
}

/* Tablets (768px) */
@media (max-width: 992px) {
  .hero { padding: 120px 0 80px; }
  .hero h1 { font-size: 3rem; }
  .hero p { font-size: 1.1rem; }
  
  .about-grid, .service-grid, .process-steps { 
    grid-template-columns: 1fr; 
    gap: 30px; 
  }
  
  .stats-flex { 
    flex-wrap: wrap; 
    gap: 40px; 
    justify-content: center; 
  }
  
  .stat-divider { display: none; }
  .step-num { display: none; }
  
  .cta-box {
    padding: 50px 30px;
  }
  
  .cta-box h2 { font-size: 2rem; }
}

/* Mobile Landscape (600px) */
@media (max-width: 768px) {
  .hero { padding: 100px 0 60px; }
  .hero h1 { font-size: 2.5rem; }
  .hero p { font-size: 1rem; }
  
  .section { padding: 60px 0; }
  
  .section-header h2 { font-size: 2rem; }
  
  .stat-box h3 { font-size: 2.5rem; }
  .stat-box p { font-size: 1rem; }
  
  .cta-box h2 { font-size: 1.8rem; }
  .cta-box p { font-size: 1rem; }
}

/* Mobile Portrait (480px) */
@media (max-width: 600px) {
  .hero { padding: 80px 0 50px; }
  .hero h1 { font-size: 2rem; line-height: 1.2; }
  .hero p { font-size: 0.95rem; }
  
  .section { padding: 50px 0; }
  
  .section-header h2 { font-size: 1.8rem; }
  .section-header p { font-size: 1rem; }
  
  .about-card, .service-card {
    padding: 30px 20px;
  }
  
  .stats-banner { padding: 40px 0; }
  .stat-box h3 { font-size: 2rem; }
  
  .cta-box {
    padding: 40px 20px;
    border-radius: 12px;
  }
  
  .cta-box h2 { font-size: 1.5rem; }
  .cta-box p { font-size: 0.95rem; margin-bottom: 30px; }
  
  .btn, .btn.white-btn {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
}

/* Extra Small Mobile (360px) */
@media (max-width: 480px) {
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 0.9rem; }
  
  .section-header h2 { font-size: 1.5rem; }
  
  .cta-box { padding: 30px 16px; }
  .cta-box h2 { font-size: 1.3rem; }
}

/* Large Screens (1440px+) */
@media (min-width: 1440px) {
  .hero h1 { font-size: 5rem; }
  .section-header h2 { font-size: 3rem; }
  .cta-box { padding: 100px; }
}

/* TV/4K Screens (1920px+) */
@media (min-width: 1920px) {
  .hero { padding: 200px 0 120px; }
  .hero h1 { font-size: 6rem; }
  .hero p { font-size: 1.5rem; }
  .section { padding: 120px 0; }
  .cta-box h2 { font-size: 3.5rem; }
}