/* Jossy Academy Custom Styles */

:root {
  --primary-color: #111111;
  --secondary-color: #000000;
  --accent-color: #6b7280;
  --light-gray: #e5e5e5;
  --header-bg: #d4d4d4;
  --text-dark: #111111;
  --text-light: #4b5563;
  --white: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--light-gray);
}

/* Header/Navigation */
.main-header {
  background: var(--header-bg);
  padding: 0.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid #b0b0b0;
}


.main-header .logo a {
  color: var(--text-dark);
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
}

.main-header .logo img {
  height: 70px;
  max-height: 70px;
  width: auto;
}

.main-header .logo a em {
  color: var(--text-dark);
  font-style: normal;
}


.main-nav .main-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav .main-menu a {
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav .main-menu a:hover {
  color: var(--accent-color);
}

/* Hero Section */
.hero-section {
  background: var(--light-gray);
  color: var(--text-dark);
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid #b0b0b0;
}


.hero-section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  line-height: 1.2;
  color: var(--text-dark);
}

.hero-section h1 em {
  color: var(--text-dark);
  font-style: normal;
}

.hero-section .tagline {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  border: 2px solid var(--primary-color);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border: 2px solid var(--text-dark);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* Section Styling */
section {
  padding: 50px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 30px;
}

.section-heading h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.section-heading p {
  font-size: 0.95rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  padding: 30px;
  border: 1px solid #c4c4c4;
  border-radius: 12px;
  box-shadow: none;
  transition: all 0.3s ease;
}


.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.service-card h4 {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  margin-top: 1rem;
  font-weight: 700;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card i {
  font-size: 2.5rem;
  color: var(--primary-color);
}

/* Why Choose Us */
.why-choose-us {
  background: var(--light-gray);
}

.benefits-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.benefit-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--white);
  border: 1px solid #c4c4c4;
  border-radius: 8px;
}

.benefit-item i {
  font-size: 1.5rem;
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 5px;
}

.benefit-item h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.benefit-item p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 40px;
}

.about-text h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1.2rem;
  font-weight: 700;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.value-card {
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #c4c4c4;
}

.value-card h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  background: var(--light-gray);
  color: var(--text-dark);
  border-top: 1px solid #b0b0b0;
  border-bottom: 1px solid #b0b0b0;
}

.testimonials .section-heading h2 {
  color: var(--primary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #c4c4c4;
}


.stars {
  color: var(--text-dark);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.testimonial-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #c4c4c4;
  border-radius: 12px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
}

.pricing-card.featured {
  border-color: #888888;
  border-width: 2px;
  transform: scale(1.05);
}


.pricing-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.pricing-card h3 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.price {
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.pricing-features {
  list-style: none;
  margin: 30px 0;
  text-align: left;
}

.pricing-features li {
  padding: 10px 0;
  color: var(--text-light);
  border-bottom: 1px solid var(--light-gray);
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #cccccc;
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.info-card {
  background: var(--white);
  padding: 30px;
  border-radius: 8px;
  border: 1px solid #c4c4c4;
}

.info-card h4 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.info-card p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

/* FAQ - more compact */
.faq-item {
  margin-bottom: 0.75rem;
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
}

.faq-question {
  padding: 12px 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faq-question h4 {
  color: var(--primary-color);
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.faq-answer {
  padding: 0 16px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-light);
  font-size: 0.9rem;
}

.faq-item.active .faq-answer {
  padding: 12px 16px;
  max-height: 500px;
}
/* Footer */
footer {
  background: var(--header-bg);
  color: var(--text-dark);
  padding: 30px 0 15px;
  margin-top: 40px;
  border-top: 1px solid #b0b0b0;
}

footer .footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-bottom: 20px;
}

footer h4 {
  color: var(--primary-color);
  margin-bottom: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
}

footer ul {
  list-style: none;
}

footer ul li {
  margin-bottom: 0.4rem;
}

footer ul li a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

footer ul li a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

footer p {
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
  color: var(--text-light);
}

footer .social-links {
  display: flex;
  gap: 0.6rem;
}

footer .social-links a {
  display: inline-flex;
  width: 32px;
  height: 32px;
  background: var(--white);
  border: 1px solid var(--primary-color);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

footer .social-links a:hover {
  background: var(--primary-color);
  color: var(--white);
}

footer .copyright {
  text-align: center;
  border-top: 1px solid #bbbbbb;
  padding-top: 12px;
  color: var(--text-light);
  font-size: 0.85rem;
}


/* ============================================================
   BURGER MENU
   ============================================================ */

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  z-index: 1100;
}

.burger-menu span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.burger-menu.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.open span:nth-child(2) {
  opacity: 0;
}

.burger-menu.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}

.mobile-nav-overlay.active {
  display: block;
}

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  right: -280px;
  width: 270px;
  height: 100%;
  background: var(--header-bg);
  border-left: 1px solid #b0b0b0;
  z-index: 1050;
  padding: 80px 0 30px;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0,0,0,0.15);
}

.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav ul li {
  border-bottom: 1px solid #c8c8c8;
}

.mobile-nav ul li a {
  display: block;
  padding: 14px 24px;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.mobile-nav ul li a:hover {
  background: rgba(0,0,0,0.06);
  color: var(--primary-color);
}

.mobile-nav .close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--text-dark);
  line-height: 1;
}

/* ============================================================
   VACANCIES PAGE
   ============================================================ */

.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.vacancy-card {
  background: var(--white);
  border: 1px solid #c4c4c4;
  border-radius: 12px;
  padding: 30px;
  transition: all 0.3s ease;
}

.vacancy-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.vacancy-card .vacancy-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.vacancy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.vacancy-badge {
  display: inline-block;
  background: var(--light-gray);
  color: var(--text-dark);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid #b0b0b0;
}

.vacancy-card h5 {
  color: var(--primary-color);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1rem 0 0.4rem;
}

.vacancy-card p,
.vacancy-card ul {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.vacancy-card ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.vacancy-card ul li {
  margin-bottom: 0.2rem;
}

.vacancy-card .vacancy-closing {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-style: italic;
}

.vacancy-card .vacancy-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--light-gray);
}

.no-vacancies-box {
  background: var(--white);
  border: 1px solid #c4c4c4;
  border-radius: 12px;
  padding: 60px 40px;
  text-align: center;
  max-width: 600px;
  margin: 40px auto 0;
}

.no-vacancies-box i {
  font-size: 3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
  display: block;
}

.no-vacancies-box h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.no-vacancies-box p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

/* ============================================================
   RESEARCH TRAINING SECTION (highlighted band)
   ============================================================ */

.research-training-band {
  background: var(--white);
  border-top: 1px solid #b0b0b0;
  border-bottom: 1px solid #b0b0b0;
}

.training-topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 30px;
}

.training-topic-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  background: var(--light-gray);
  border: 1px solid #c4c4c4;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 500;
}

.training-topic-item i {
  color: var(--primary-color);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ============================================================
   PROOFREADING SPLIT SECTION
   ============================================================ */

.proofreading-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

.proofreading-panel {
  background: var(--white);
  border: 1px solid #c4c4c4;
  border-radius: 12px;
  padding: 30px;
}

.proofreading-panel h3 {
  color: var(--primary-color);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.proofreading-panel h3 i {
  font-size: 1.3rem;
}

.proofreading-panel p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.proofreading-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.proofreading-panel ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  color: var(--text-light);
  font-size: 0.9rem;
  border-bottom: 1px solid var(--light-gray);
}

.proofreading-panel ul li:last-child {
  border-bottom: none;
}

.proofreading-panel ul li i {
  color: var(--primary-color);
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ============================================================
   MOBILE RESPONSIVENESS
   ============================================================ */

/* Tighten nav gap on larger tablets / small laptops before burger kicks in */
@media (max-width: 1200px) {
  .main-nav .main-menu {
    gap: 1.1rem;
  }

  .main-nav .main-menu a {
    font-size: 0.9rem;
  }
}

@media (max-width: 991px) {
  /* Show burger, hide desktop nav */
  .burger-menu {
    display: flex;
  }

  .main-nav {
    display: none !important;
  }

  .mobile-nav {
    display: block;
  }

  /* Header row layout on tablet */
  .main-header .row {
    flex-wrap: nowrap;
    align-items: center;
  }

  .main-header .col-md-3 {
    flex: 0 0 auto;
    width: auto;
  }

  .main-header .col-md-9 {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }

  /* Pricing card — remove the scaled featured card on smaller screens */
  .pricing-card.featured {
    transform: scale(1.0);
  }

  /* Two-column splits to single column */
  .proofreading-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
  }

  /* Hero */
  .hero-section {
    padding: 30px 0;
    text-align: left;
  }

  .hero-section h1 {
    font-size: 1.7rem;
    line-height: 1.25;
  }

  .hero-section .tagline {
    font-size: 0.9rem;
  }

  /* Hero two-column → stack */
  .hero-section .row .col-md-6 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .hero-section .col-md-6 img {
    width: 100% !important;
    margin-top: 20px;
  }

  /* General text sizing */
  .section-heading h2 {
    font-size: 1.5rem;
  }

  /* Services / benefits grids — single column on small screens */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list {
    grid-template-columns: 1fr;
  }

  .training-topics-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Why choose us image+text → stack */
  .why-choose-us .row .col-md-5,
  .why-choose-us .row .col-md-7 {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Pricing */
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

  /* Contact form — stack columns */
  .contact-form {
    max-width: 100%;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }

  /* About mission/vision → stack */
  .about-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* About mission/vision row */
  .col-md-6 {
    width: 100%;
    max-width: 100%;
  }

  /* Buttons */
  .btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* Footer grid → single column */
  footer .footer-content {
    grid-template-columns: 1fr 1fr;
  }

  /* Values grid → single column */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Proofreading split */
  .proofreading-split {
    grid-template-columns: 1fr;
  }

  /* Vacancies grid */
  .vacancies-grid {
    grid-template-columns: 1fr;
  }

  /* No-vacancies box */
  .no-vacancies-box {
    padding: 40px 20px;
  }
}

@media (max-width: 480px) {
  .hero-section h1 {
    font-size: 1.45rem;
  }

  .section-heading h2 {
    font-size: 1.3rem;
  }

  .price {
    font-size: 2rem;
  }

  .pricing-card {
    padding: 25px 18px;
  }

  .service-card {
    padding: 20px;
  }

  .benefit-item {
    flex-direction: column;
    gap: 8px;
  }

  footer .footer-content {
    grid-template-columns: 1fr;
  }

  .training-topics-grid {
    grid-template-columns: 1fr;
  }

  /* Images should never overflow */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Ensure select elements don't overflow */
  select.form-control {
    width: 100%;
    max-width: 100%;
  }

  /* Form inputs full width */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 0.95rem;
  }
}

/* ============================================================
   HERO SLIDESHOW
   ============================================================ */

.hero-slideshow {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
  max-height: 480px;
}

.slide {
  display: none;
  position: relative;
  width: 100%;
}

.slide.active {
  display: block;
}

.slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: brightness(0.52);
}

.slide-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #ffffff;
  width: 80%;
  max-width: 700px;
  padding: 0 20px;
}

.slide-caption h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: #ffffff;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.slide-caption p {
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.4rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.slide-caption .btn-primary {
  background: #ffffff;
  color: #111111;
  border-color: #ffffff;
  font-size: 0.95rem;
  padding: 10px 28px;
}

.slide-caption .btn-primary:hover {
  background: transparent;
  color: #ffffff;
}

/* Slideshow nav dots */
.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s;
}

.slide-dot.active {
  background: #ffffff;
}

/* Prev/Next arrows */
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.18);
  border: none;
  color: #ffffff;
  font-size: 1.4rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.slide-arrow:hover {
  background: rgba(255,255,255,0.35);
}

.slide-arrow.prev { left: 16px; }
.slide-arrow.next { right: 16px; }

/* ============================================================
   STATS STRIP
   ============================================================ */

.stats-strip {
  background: var(--primary-color);
  color: #ffffff;
  padding: 28px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  padding: 10px 0;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-number {
    font-size: 1.8rem;
  }

  .hero-slideshow,
  .slide img {
    height: 320px;
    max-height: 320px;
  }

  .slide-caption h2 {
    font-size: 1.3rem;
  }

  .slide-caption p {
    font-size: 0.85rem;
  }

  .slide-arrow {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-slideshow,
  .slide img {
    height: 260px;
    max-height: 260px;
  }

  .slide-caption h2 {
    font-size: 1.1rem;
  }

  .slide-caption p {
    display: none;
  }
}

/* ============================================================
   PAGE HERO BANNER (inner pages — single image, no slideshow)
   ============================================================ */

.page-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1a1a1a;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.45);
  display: block;
}

.page-hero-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
  max-width: 720px;
}

.page-hero-caption h1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.page-hero-caption h1 em {
  color: #ffffff;
  font-style: normal;
}

.page-hero-caption p {
  font-size: 1rem;
  color: rgba(255,255,255,0.88);
  margin: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.35);
}

@media (max-width: 767px) {
  .page-hero {
    height: 200px;
  }

  .page-hero-caption h1 {
    font-size: 1.5rem;
  }

  .page-hero-caption p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .page-hero {
    height: 160px;
  }

  .page-hero-caption h1 {
    font-size: 1.25rem;
  }

  .page-hero-caption p {
    display: none;
  }
}

/* ============================================================
   SERVICE CARD — icon and title on same line
   ============================================================ */

.service-card .card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.75rem;
}

.service-card .card-header i {
  font-size: 1.6rem;
  color: var(--primary-color);
  flex-shrink: 0;
}

.service-card .card-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

/* Override old icon-only styles when card-header is used */
.service-card .card-header + p {
  margin-top: 0;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Proofreading certificate icon — gold */
.benefit-item i.fa-certificate {
  color: #b8860b;
}
