/* HARD RESET HERO (REMOVE OLD SYSTEM) */
.hero {
  all: unset !important;
}
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: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* 🔥 BLUE TOP STRIP */
.top-bar {
  font-size: 13px;
  padding: 5px 0;
  background: #0b1f3a;
  color: 0b1f3a;
}

.contact-info {
  display: flex;
  justify-content: space-between;
}

.contact-info div {
  color: #ffffff;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 08px 0;
}

/* NAV LINKS */
nav a {
  color: #004aad;
  text-decoration: none;
  margin-left: 25px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
}

nav a:hover {
  color: #007bff;
}

/* UNDERLINE EFFECT */
nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #004aad;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}

/* ===============================
   HERO
================================ */

.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: 14px 30px;
  background: #004aad;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  margin-top: 20px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.btn:hover {
  background: #002f6c;
}

/* BUTTON SHINE EFFECT */
.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%;
}

/* ===============================
   SECTIONS
================================ */

.section {
  padding: 100px 0;
  background: #fff;
}

.section-gray {
  padding: 100px 0;
  background: #eef2f7;
}

/* ===============================
   GRID
================================ */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
}

/* ===============================
   PREMIUM CARD DESIGN
================================ */

.card {
  text-align: center;
  padding: 30px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid #e6ecf2;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: all 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 
    0 20px 50px rgba(0,0,0,0.15),
    0 0 20px rgba(0,74,173,0.35);
}

.card img {
  display: block;
  margin: 0 auto 15px;
  width: 80px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.2) rotate(6deg);
}

.card h3 {
  margin-bottom: 10px;
  color: #0b2c5f;
}

.card p {
  color: #555;
  font-size: 15px;
}

/* ===============================
   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-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;
  }

  .grid {
    display: block;
  }

  .card {
    margin-bottom: 20px;
  }

  .btn {
    display: block;
    width: 100%;
    text-align: center;
  }
  
/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: #004aad;
}

/* NAV LINKS */
.nav-links {
  display: flex;
}

/* MOBILE */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 70px;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    display: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 20px 0;
  }

  .nav-links a {
    margin: 15px 0;
    color: #004aad;
    font-size: 18px;
  }

  .nav-links.active {
    display: flex;
  }
/* NAV RIGHT ALIGN */
.nav-right {
  display: flex;
  align-items: center;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  width: 30px;
  height: 22px;
  cursor: pointer;
  position: relative;
}

/* LINES */
.menu-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background: #004aad;
  left: 0;
  transition: 0.3s;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 9px; }
.menu-toggle span:nth-child(3) { top: 18px; }

/* TRANSFORM TO X */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg);
  top: 9px;
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg);
  top: 9px;
}

/* NAV LINKS DEFAULT */
.nav-links {
  display: flex;
}

/* MOBILE */
@media (max-width: 768px) {

  nav {
    flex-direction: row;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 25px 0;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);

    /* ANIMATION */
    transform: translateY(-20px);
    opacity: 0;
    transition: 0.3s ease;
  }

  .nav-links a {
    margin: 12px 0;
    font-size: 18px;
    color: #004aad;
  }

  .nav-links.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
  }
  /* OVERLAY */
#menuOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 998;
}

/* SHOW OVERLAY */
#menuOverlay.active {
  opacity: 1;
  visibility: visible;
}

/* MENU ABOVE OVERLAY */
.nav-links {
  z-index: 999;
}
/* ===============================
   ULTRA PREMIUM HERO
================================ */

.hero-premium {
  position: relative;
  height: 95vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

/* BACKGROUND IMAGE */
.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(rgba(5,20,40,0.75), rgba(5,20,40,0.85)),
    url('/images/bpo-team.jpg') center/cover no-repeat;
  z-index: 1;
}

/* CONTENT */
.hero-content {
  position: relative;
  z-index: 2;
}

.hero-left {
  max-width: 650px;
}

/* HEADING */
.hero-left h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 20px;
}

/* TEXT */
.hero-left p {
  font-size: 18px;
  margin-bottom: 30px;
  color: rgba(255,255,255,0.9);
}

/* BUTTON GROUP */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* PRIMARY BUTTON */
.btn.primary {
  background: linear-gradient(135deg, #004aad, #007bff);
}

/* SECONDARY BUTTON */
.btn.secondary {
  background: transparent;
  border: 2px solid #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: #004aad;
}

/* ===============================
   MOBILE HERO
================================ */

@media (max-width: 768px) {

  .hero-left h1 {
    font-size: 32px;
  }

  .hero-left p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

}


/* ===============================
   HERO FIXED (FINAL WORKING)
================================ */

.hero-premium {
  position: relative;
  height: 95vh;
  overflow: hidden;
}

/* IMAGE */
.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* OVERLAY */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5,20,40,0.7);
  z-index: 2;
}

/* CONTENT */
.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  z-index: 3;
  color: #fff;
}

/* TEXT ALIGN */
.hero-content .container {
  max-width: 1200px;
  margin: auto;
}

/* HEADING */
.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

/* TEXT */
.hero-content p {
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 25px;
}

/* BUTTONS */
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }
  /* FORCE HERO FIX (DESKTOP OVERRIDE) */

.hero-premium {
  position: relative !important;
  height: 95vh !important;
  overflow: hidden !important;
}

.hero-premium img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 1 !important;
}

.hero-premium::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: rgba(5,20,40,0.7) !important;
  z-index: 2 !important;
}

.hero-content {
  position: absolute !important;
  top: 50% !important;
  left: 0 !important;
  width: 100% !important;
  transform: translateY(-50%) !important;
  z-index: 3 !important;
  color: #fff !important;
}
/* SIMPLE HERO TEXT OVER IMAGE */

.hero {
  position: relative;
}

/* TEXT OVER IMAGE */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  width: 90%;
  max-width: 800px;
}

/* TEXT STYLING */
.hero-text h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 20px;
}
/* HERO BUTTON FIX */

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center; /* center buttons */
  flex-wrap: wrap;
  margin-top: 20px;
}

/* SECOND BUTTON STYLE */
.btn.secondary {
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}

.btn.secondary:hover {
  background: #fff;
  color: #004aad;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  /* ===== FINAL HERO FIX (SAFE PATCH) ===== */

.hero-premium {
  position: relative;
}

/* FORCE IMAGE */
.hero-premium img {
  display: block;
  width: 100%;
}

/* FORCE TEXT ON IMAGE */
.hero-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 10 !important;
  text-align: center;
  width: 90%;
  max-width: 800px;
  color: #fff;
}

/* BUTTON ALIGN */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}
/* ===============================
   STICKY CONTACT BUTTON
================================ */

.sticky-contact {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #004aad, #007bff);
  color: #fff;
  padding: 14px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: 0.3s;
}

/* HOVER */
.sticky-contact:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.3);
}

/* MOBILE */
@media (max-width: 768px) {
  .sticky-contact {
    padding: 12px 16px;
    font-size: 14px;
  }
}



