/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background-color: #f8f9fb;
  color: #333;
  line-height: 1.6;
  padding-top: 70px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color 0.4s ease, color 0.4s ease;
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
}

main {
  flex: 1;
}

/* NAVBAR */
.navbar {
  background-color: #2b6777;
  padding: 15px 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: background-color 0.3s ease;
}

/* MAKE NAV ITEMS WHITE */
.navbar-logo {
  color: #90EE90;
  font-size: 26px;           /* Was ~24px → now slightly larger */
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}
.navbar-menu li a {
  color: #ffffff !important;
  font-weight: bold;
}

.navbar-menu li a i {
  color: #ffffff !important;
}

body.dark-mode .navbar {
  background-color: #1a4d5a;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; 
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* ==================== 1. TRUST BADGES ==================== */
.trust-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.trust-badges img {
  height: 24px;
}

/* DROPDOWN MENU */
.dropdown { position: relative; display: inline-block; }
.dropdown-toggle {
  background: none; border: none; color: white; font-size: 20px;
  cursor: pointer; padding: 8px; border-radius: 50%; transition: 0.3s;
}
.dropdown-toggle:hover { background: rgba(255,255,255,0.2); }
.dropdown-menu {
  display: none; position: absolute; top: 100%; right: 0;
  background-color: #2b6777; min-width: 180px; border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2); z-index: 1001; overflow: hidden;
  opacity: 0; transform: translateY(-10px); transition: all 0.3s ease;
}
body.dark-mode .dropdown-menu { background-color: #1a4d5a; }
.dropdown-menu.show { display: block; opacity: 1; transform: translateY(0); }
.dropdown-item {
  display: flex; align-items: center; gap: 10px; padding: 12px 16px;
  color: white; text-decoration: none; font-size: 15px; transition: 0.3s;
  width: 100%; text-align: left; border: none; background: none; cursor: pointer;
}
.dropdown-item:hover { background-color: #52ab98; }
.dropdown-item i { width: 18px; text-align: center; }
.theme-toggle-item i { font-size: 16px; }

/* Mobile Menu */
.navbar-toggle { display: none; flex-direction: column; cursor: pointer; }
.bar { width: 25px; height: 3px; background-color: white; margin: 4px 0; transition: 0.3s; }

@media (max-width: 768px) {
  .navbar-menu {
    position: fixed; top: 70px; left: -100%; width: 100%;
    background-color: #2b6777; flex-direction: column; padding: 20px 0;
  }
  body.dark-mode .navbar-menu { background-color: #1a4d5a; }
  .navbar-menu.active { left: 0 !important; }
  .navbar-menu li a { padding: 15px 20px; font-size: 18px; justify-content: center; }
  .navbar-toggle { display: flex; }
  .navbar-toggle.active .bar:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); }
  .navbar-toggle.active .bar:nth-child(2) { opacity: 0; }
  .navbar-toggle.active .bar:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); }
  body.menu-open { overflow: hidden; }
  .dropdown-menu { right: auto; left: 50%; transform: translateX(-50%) translateY(-10px); }
  .dropdown-menu.show { transform: translateX(-50%) translateY(0); }
}

/* Hero */
.hero {
  background: url("images/stats-bg.jpg") no-repeat center center/cover;
  height: 80vh; display: flex; align-items: center; justify-content: center;
  text-align: center; color: white;
}
.hero-content { background: rgba(0,0,0,0.5); padding: 40px; border-radius: 10px; }
.hero h1 { font-size: 48px; margin-bottom: 15px; }
.hero p { font-size: 20px; margin-bottom: 25px; }

/* ==================== 4. URGENCY BANNER ==================== */
.urgency-banner {
  background: #ff4444; color: white; padding: 8px 16px; border-radius: 6px;
  font-size: 14px; display: inline-flex; align-items: center; gap: 8px;
  animation: pulse 2s infinite; margin: 15px 0;
}

/* Buttons */
.btn {
  background-color: #52ab98; color: white; padding: 10px 20px; border-radius: 6px;
  text-decoration: none; border: none; cursor: pointer; display: inline-block;
  font-weight: 500; transition: 0.3s;
}
.btn:hover { background-color: #3c8c7a; }
.btn.secondary { background-color: #1e4e5f; }
.btn.secondary:hover { background-color: #163b46; }
body.dark-mode .btn { background-color: #3a9d8a; }
body.dark-mode .btn:hover { background-color: #2e7d6e; }

/* Sections */
section { padding: 60px 20px; max-width: 900px; margin: auto; }
h2 { color: #2b6777; text-align: center; margin-bottom: 20px; }
body.dark-mode h2 { color: #6bc4b3; }

/* Why Choose Us */
.whyus-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; align-items: center; margin-top: 30px; }
.whyus-image, .whyus-video {
  width: 100%; max-width: 350px; border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15); border: 5px solid #52ab98;
}
@media (max-width: 992px) { .whyus-grid { grid-template-columns: 1fr; text-align: center; } .whyus-list { order: -1; } }

/* TESTIMONIALS */
.testimonials { padding: 80px 20px; background: #f0f8f8; }
body.dark-mode .testimonials { background: #1e1e1e; }
.carousel-container { position: relative; max-width: 700px; margin: 40px auto; overflow: hidden; border-radius: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.carousel-track { display: flex; transition: transform 0.5s ease; }
.testimonial { min-width: 100%; padding: 40px; background: white; text-align: center; font-style: italic; }
body.dark-mode .testimonial { background: #2d2d2d; color: #ddd; }
.testimonial p { font-size: 18px; margin-bottom: 15px; }
.testimonial strong { color: #2b6777; }
body.dark-mode .testimonial strong { color: #6bc4b3; }
.carousel-prev, .carousel-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(43,103,119,0.8); color: white; border: none;
  width: 40px; height: 40px; border-radius: 50%; font-size: 18px; cursor: pointer; transition: 0.3s;
}
.carousel-prev { left: 10px; } .carousel-next { right: 10px; }
.carousel-prev:hover, .carousel-next:hover { background: #52ab98; }

/* ==================== 5. FAQ ACCORDION ==================== */
.faq { background: #f9f9f9; padding: 60px 20px; }
body.dark-mode .faq { background: #1a1a1a; }
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item { border-bottom: 1px solid #ddd; }
body.dark-mode .accordion-item { border-color: #444; }
.accordion-header {
  width: 100%; text-align: left; padding: 15px 20px;
  background: transparent; border: none; font-size: 16px;
  font-weight: 600; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
}
.accordion-header::after {
  content: "\f078"; font-family: "Font Awesome 6 Free"; font-weight: 900;
}
.accordion-header[aria-expanded="true"]::after { content: "\f077"; }
.accordion-content {
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease;
  padding: 0 20px; background: white;
}
body.dark-mode .accordion-content { background: #222; }
.accordion-content p { padding: 15px 0; }

/* Pricing & Order */
.pricing-table { margin-top: 30px; text-align: center; }
.pricing-table table { width: 100%; border-collapse: collapse; background: white; box-shadow: 0 2px 8px rgba(0,0,0,0.1); margin: 20px 0; }
body.dark-mode .pricing-table table { background: #2d2d2d; color: #eee; }
.pricing-table th, .pricing-table td { padding: 12px; border: 1px solid #ddd; }
body.dark-mode .pricing-table th, body.dark-mode .pricing-table td { border-color: #444; }
.pricing-table th { background-color: #2b6777; color: white; }
body.dark-mode .pricing-table th { background-color: #1a4d5a; }
.hidden { display: none !important; }
.order-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; margin: 20px 0; }
#paymentForm { background: #f8f9fb; padding: 30px; border-radius: 12px; border: 2px solid #52ab98; margin-top: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
body.dark-mode #paymentForm { background: #1e1e1e; border-color: #6bc4b3; }
.form-note { text-align: center; color: #2b6777; font-size: 15px; margin-bottom: 20px; }
body.dark-mode .form-note { color: #6bc4b3; }
.btn.submit-assignment { width: 100%; background: #25D366; font-size: 18px; padding: 15px; margin: 10px 0; }
.btn.submit-assignment:hover { background: #1ebe57; }

/* CONTACT INFO */
.contact-info { text-align: center; margin-top: 25px; font-size: 16px; }
.contact-info p { margin: 12px 0; }
.contact-info a { color: #2b6777; text-decoration: none; font-weight: 500; }
.contact-info a:hover { text-decoration: underline; color: #52ab98; }
body.dark-mode .contact-info a { color: #6bc4b3; }
body.dark-mode .contact-info a:hover { color: #8dd9cc; }

/* ==================== 3. LIVE COUNTER ==================== */
.live-counter {
  position: fixed; bottom: 90px; right: 25px; background: #52ab98;
  color: white; padding: 10px 16px; border-radius: 30px; font-size: 14px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2); z-index: 999;
  display: flex; align-items: center; gap: 8px;
}

/* WhatsApp */
.whatsapp-button {
  position: fixed; bottom: 25px; right: 25px; background-color: #25D366;
  color: white; font-weight: bold; padding: 14px 20px; border-radius: 50px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); z-index: 9999; text-decoration: none;
  font-size: 16px; display: flex; align-items: center; gap: 10px;
  animation: pulse 2s infinite;
}
.whatsapp-button:hover { background-color: #1ebe57; transform: scale(1.08); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.7); }
  70% { box-shadow: 0 0 0 10px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* Footer */
footer {
  background-color: #111; color: #fff; text-align: center; padding: 40px 20px;
  font-size: 14px; margin-top: auto; width: 100%;
}
body.dark-mode footer { background-color: #0a0a0a; color: #ccc; }
.social-row { margin-bottom: 20px; }
.social-row a { color: #fff; margin: 0 20px; font-size: 28px; transition: all 0.3s ease; text-decoration: none; }
.social-row a:hover { transform: scale(1.3) translateY(-3px); color: #52ab98 !important; }
body.dark-mode .social-row a { color: #aaa; }
body.dark-mode .social-row a:hover { color: #6bc4b3 !important; }

/* Typing */
.typing {
  overflow: hidden; border-right: 3px solid #52ab98; white-space: nowrap;
  animation: typing 4s steps(50, end), blink-caret 0.75s step-end infinite;
  display: inline-block; font-weight: 500;
}
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: #52ab98; } }