:root {
    --bg-light: #f8fbff;
    --white: #ffffff;
    --blue-primary: #007bff;
    --blue-soft: #e7f1ff;
    --text-black: #1a1a1a;
    --text-gray: #555555;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-black);
    line-height: 1.6;
    overflow-x: hidden;
}



.back-arrow {
  position: absolute;
  top: 20px;
  left: 20px;
}

.back-arrow a {
  margin-top: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #007BFF;
  color: #fff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 20px;
  transition: 0.3s ease;
}

.back-arrow a:hover {
  background: #0056b3;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    padding: 8rem 0 5rem;
    text-align: center;
}

.badge {
    background: var(--blue-soft);
    color: var(--blue-primary);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
}

h1 {
    font-size: 3.5rem;
    margin: 1.5rem 0;
    letter-spacing: -1px;
}

.text-blue { color: var(--blue-primary); }

.hero p {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Grid Layouts */
.overview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 5rem 0;
}

.image-placeholder img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Stats */
.stats-grid {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item h3 {
    font-size: 2rem;
    color: var(--blue-primary);
}

/* Services Section */
.services {
    background-color: var(--white);
    padding: 6rem 0;
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--blue-primary);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta {
    padding: 6rem 0;
}

.cta-box {
    background: var(--text-black);
    color: var(--white);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
}

.btn-primary {
    display: inline-block;
    margin-top: 2rem;
    padding: 1rem 2.5rem;
    background: var(--blue-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #0056b3;
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    .overview-grid { grid-template-columns: 1fr; text-align: center; }
    .stats-grid { justify-content: center; }
}

/* ===== COMPREHENSIVE RESPONSIVE DESIGN ===== */

/* Mobile Menu Toggle Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== TABLET (768px and below) ===== */
@media (max-width: 768px) {
  .back-arrow a {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .container {
    padding: 0 20px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0 30px;
  }

  h1 {
    font-size: 2rem;
  }

  .badge {
    font-size: 0.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Overview Grid */
  .overview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 0;
  }

  .image-placeholder img {
    border-radius: 15px;
  }

  /* Stats */
  .stats-grid {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .stat-item h3 {
    font-size: 1.5rem;
  }

  /* Services Section */
  .services {
    padding: 40px 0;
  }

  .services h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 2rem;
  }

  /* CTA Section */
  .cta {
    padding: 40px 0;
  }

  .cta-box {
    padding: 2rem;
  }

  .btn-primary {
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
  }
}

/* ===== MOBILE (480px and below) ===== */
@media (max-width: 480px) {
  .back-arrow a {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-top: 60px;
  }

  .container {
    padding: 0 15px;
  }

  /* Hero Section */
  .hero {
    padding: 30px 0 20px;
  }

  h1 {
    font-size: 1.4rem;
    margin: 1rem 0;
  }

  .badge {
    font-size: 0.75rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  /* Overview Grid */
  .overview-grid {
    padding: 20px 0;
    gap: 20px;
  }

  .image-placeholder img {
    border-radius: 12px;
  }

  /* Stats */
  .stats-grid {
    gap: 15px;
  }

  .stat-item h3 {
    font-size: 1.2rem;
  }

  /* Services Section */
  .services {
    padding: 30px 0;
  }

  .services h2 {
    font-size: 1.3rem;
  }

  .services-grid {
    gap: 15px;
  }

  .service-card {
    padding: 1.5rem;
  }

  /* CTA Section */
  .cta {
    padding: 30px 0;
  }

  .cta-box {
    padding: 1.5rem;
  }

  .btn-primary {
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }
}

/* ===== EXTRA SMALL (under 360px) ===== */
@media (max-width: 360px) {
  .back-arrow a {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .container {
    padding: 0 10px;
  }

  h1 {
    font-size: 1.2rem;
  }

  .hero p {
    font-size: 0.85rem;
  }

  .services h2 {
    font-size: 1.1rem;
  }

  .service-card {
    padding: 1rem;
  }

  .cta-box {
    padding: 1rem;
  }

  .btn-primary {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}