"html {
  scroll-behavior: smooth;
}
/* ===============================
   GLOBAL STYLES
================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f4f6f9;
  color: #222;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

h1, h2, h3 {
  font-weight: 700;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 34px;
}

/* ===============================
   HEADER
================================ */

header {
  background: #0b1f3a;
  color: #fff;
}

.top-bar {
  background: #061529;
  padding: 8px 0;
  font-size: 14px;
}

.contact-info {
  display: flex;
  justify-content: space-between;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #4da6ff;
}
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #4da6ff;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}
/* ===============================
   HERO SECTION
================================ */

.hero {
  height: 95vh;
  background: linear-gradient(rgba(5,20,40,0.75), rgba(5,20,40,0.75)),
              url('/images/bpo-team.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 20px;
  max-width: 800px;
  margin: auto;
}

/* ===============================
   BUTTON
================================ */

.btn {
  display: inline-block;
  padding: 16px 36px;
  background: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 30px;
  transition: 0.3s;
}

.btn:hover {
  background: #002f6c;
}

/* ===============================
   SECTIONS
================================ */

.section {
  padding: 100px 0;
  background: #fff;
}

.section-gray {
  padding: 100px 0;
  background: #eef2f7;
}

.image-section img {
  width: 100%;
  border-radius: 10px;
}

/* ===============================
   SERVICES GRID
================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

.card {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e6ecf2;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  border-color: #004aad;
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 74, 173, 0.15);
}

/* ===============================
   COUNTER SECTION
================================ */

.counter-section {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

.counter-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
}

.counter {
  font-size: 48px;
  font-weight: bold;
}

/* ===============================
   TRUST SECTION
================================ */

.trust-grid {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

/* ===============================
   CASE STUDIES
================================ */

.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.case-box {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.06);
}

/* ===============================
   FOOTER
================================ */

footer {
  background: #0b1f3a;
  color: #fff;
  padding: 80px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-column {
  flex: 1;
  min-width: 250px;
}

.footer-column h4 {
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  opacity: 0.7;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 768px) {

  nav {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .counter-grid {
    flex-direction: column;
  }

  .footer-grid {
    flex-direction: column;
  }

}
/* ===============================
   PREMIUM DESIGN UPGRADE
================================ */

/* Section Divider Accent */
.section h2::after,
.section-gray h2::after {
  content: "";
  width: 80px;
  height: 4px;
  margin: 15px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #004aad, #00c6ff);
  animation: dividerGlow 3s infinite linear;
}

@keyframes dividerGlow {
  0% { background-position: 0%; }
  100% { background-position: 200%; }
}
/* CTA Upgrade */
.section-gray .btn {
  box-shadow: 0 10px 25px rgba(0, 74, 173, 0.25);
}

.section-gray .btn:hover {
  transform: translateY(-3px);
}

/* FAQ Styling */
.section h3 {
  margin-top: 25px;
  color: #004aad;
}

/* Counter Animation Enhancement */
.counter {
  transition: 0.3s;
}

.counter:hover {
  transform: scale(1.05);
}

/* ===============================
   PREMIUM SCROLL ANIMATION
================================ */

.fade-in {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger effect for child elements */
.stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.stagger.show > * {
  opacity: 1;
  transform: translateY(0);
}

.stagger.show > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.show > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.show > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.show > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.show > *:nth-child(5) { transition-delay: 0.5s; }
/* ===============================
   HERO PARALLAX ENHANCEMENT
================================ */

.hero {
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.05), transparent 60%);
  pointer-events: none;
}
/* Premium Button Effect */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.4), transparent);
  transition: 0.6s;
}

.btn:hover::after {
  left: 100%;
}" 
/* TESTIMONIAL SLIDER */
.testimonial-slider {
  position: relative;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.testimonial {
  display: none;
  font-style: italic;
}

.testimonial.active {
  display: block;
}
.card {
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

.btn {
  background:#004aad;
  color:#fff;
  padding:10px 20px;
  border-radius:6px;
  text-decoration:none;
}
/* MOBILE RESPONSIVENESS */

@media (max-width: 768px) {

  h1 {
    font-size: 28px !important;
  }

  h2 {
    font-size: 24px !important;
  }

  p {
    font-size: 15px !important;
  }

  .container {
    padding: 0 15px;
  }

  .grid {
    display: block !important;
  }

  .card {
    margin-bottom: 20px;
  }

  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

}