/*
Theme Name: PeP General Maintenance
Theme URI: https://pep-gm.co.uk
Description: Custom theme for PeP General Maintenance — commercial maintenance and construction services in London.
Version: 2.0
Author: Bruce
Text Domain: pep-theme
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pep-green-dark: #1a5c2e;
  --pep-green: #2f944b;
  --pep-green-light: #5cb85c;
  --pep-green-bright: #7ed957;
  --pep-navy: #0f1a2e;
  --pep-navy-light: #1a2d4a;
  --pep-blue: #3a7bd5;
  --pep-footer-dark: #0a1420;
  --pep-footer-mid: #0f1f35;
  --pep-white: #ffffff;
  --pep-off-white: #f7faf8;
  --pep-light-bg: #eef5fa;
  --pep-text: #1a2340;
  --pep-text-light: #5a6a7a;
  --pep-shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --pep-shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --pep-shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --pep-radius: 16px;
  --pep-radius-sm: 10px;

  /* Glass card tokens */
  --glass-bg: rgba(255, 255, 255, 0.6);
  --glass-border: rgba(255, 255, 255, 0.5);
  --glass-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04), inset 0 1px 0 rgba(255,255,255,0.7);
  --glass-shadow-hover: 0 2px 4px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8);
  --glass-blur: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--pep-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered children */
.stagger-children .fade-up:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-up:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-up:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-up:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-up:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-up:nth-child(6) { transition-delay: 0.5s; }

/* ===== HEADER / NAV ===== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  padding: 15px 0;
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-contact {
  text-align: right;
  color: var(--pep-white);
}

.header-contact .label {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.header-contact .numbers {
  font-size: 0.8rem;
  margin-top: 3px;
  opacity: 0.85;
}

/* Top bar — emergency strip above nav */
.top-bar {
  background: var(--pep-navy);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-left a,
.top-bar-right a {
  color: rgba(255,255,255,0.85);
  transition: color 0.3s;
}

.top-bar-left a:hover,
.top-bar-right a:hover {
  color: var(--pep-green-bright);
}

.top-bar-left i {
  color: var(--pep-green-bright);
  margin-right: 5px;
}

.top-bar-right {
  display: flex;
  gap: 14px;
  align-items: center;
}

.top-bar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.2);
}

/* Main Navigation */
.main-nav {
  background: var(--pep-white);
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 99;
  transition: box-shadow 0.3s, background 0.3s;
}

.main-nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
  height: 70px;
}

.nav-logo img,
.nav-logo .custom-logo {
  height: 46px;
  width: auto;
}

.nav-menu {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 100%;
}

.nav-menu a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--pep-text-light);
  transition: color 0.2s, background 0.2s;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
  letter-spacing: 0.01em;
}

.nav-menu a::after {
  display: none;
}

.nav-menu a:hover {
  color: var(--pep-green);
  background: rgba(47, 148, 75, 0.06);
}

.nav-menu a.active {
  color: var(--pep-green);
  font-weight: 600;
  background: rgba(47, 148, 75, 0.08);
}

.nav-menu .btn-nav {
  background: var(--pep-green);
  color: var(--pep-white);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
  margin-left: 8px;
  letter-spacing: 0.01em;
}

.nav-menu .btn-nav:hover {
  background: var(--pep-green-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(47, 148, 75, 0.3);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(0,0,0,0.04);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--pep-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--pep-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 26, 46, 0.7) 0%,
    rgba(44, 138, 78, 0.75) 30%,
    rgba(47, 148, 75, 0.65) 50%,
    rgba(58, 123, 213, 0.6) 75%,
    rgba(15, 26, 46, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero h1 {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.2);
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 35px;
  opacity: 0.92;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--pep-white);
  color: var(--pep-navy);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.25s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-primary i {
  font-size: 0.85rem;
}

.btn-green {
  background: var(--pep-green);
  color: var(--pep-white);
}

.btn-green:hover {
  background: var(--pep-green-dark);
  box-shadow: 0 8px 24px rgba(47, 148, 75, 0.35);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  color: var(--pep-white);
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: all 0.25s;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.01em;
}

.btn-hero-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--pep-navy);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1.5px solid var(--pep-navy);
  transition: all 0.25s;
  cursor: pointer;
  letter-spacing: 0.01em;
}

.btn-outline:hover {
  background: var(--pep-navy);
  color: var(--pep-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 26, 46, 0.2);
}

.btn-outline-green {
  border-color: var(--pep-green);
  color: var(--pep-green);
}

.btn-outline-green:hover {
  background: var(--pep-green);
  color: var(--pep-white);
  box-shadow: 0 6px 20px rgba(47, 148, 75, 0.25);
}

/* ===== SECTIONS (general) ===== */
.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 48px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--pep-green);
  margin-bottom: 10px;
}

.section-title {
  text-align: center;
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--pep-navy);
  margin-bottom: 14px;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.section-subtitle {
  text-align: center;
  font-size: 0.95rem;
  color: var(--pep-text-light);
  line-height: 1.65;
}

/* Section backgrounds — subtle texture instead of gradients */
.section-gradient {
  background-color: #f0f4f3;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(47, 148, 75, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(58, 123, 213, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 60% 80%, rgba(47, 148, 75, 0.03) 0%, transparent 40%);
}

.section-gradient-vivid {
  background-color: #edf2ef;
  background-image:
    radial-gradient(ellipse at 10% 40%, rgba(47, 148, 75, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 90% 60%, rgba(58, 123, 213, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 50% 90%, rgba(126, 217, 87, 0.04) 0%, transparent 45%);
}

.section-dark {
  background: var(--pep-navy);
  color: var(--pep-white);
}

.section-dark .section-label {
  color: var(--pep-green-bright);
}

.section-dark .section-title {
  color: var(--pep-white);
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.7);
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--pep-navy);
  padding: 0;
  position: relative;
  z-index: 10;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pep-green-bright);
  line-height: 1;
  margin-bottom: 6px;
}

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

/* ===== SECTORS SECTION ===== */
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.sector-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--pep-radius);
  padding: 35px 24px;
  text-align: center;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid var(--glass-border);
}

.sector-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
}

.sector-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--pep-green), var(--pep-green-bright));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--pep-white);
}

.sector-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--pep-navy);
}

.sector-card p {
  font-size: 0.88rem;
  color: var(--pep-text-light);
  line-height: 1.5;
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--pep-radius);
  padding: 35px 28px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.4s, box-shadow 0.4s;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pep-green), var(--pep-blue));
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--glass-shadow-hover);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 50px;
  height: 50px;
  background: rgba(47, 148, 75, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--pep-green);
  margin-bottom: 18px;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--pep-navy);
}

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

/* ===== ABOUT / SPLIT SECTION ===== */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.split-image {
  border-radius: var(--pep-radius);
  overflow: hidden;
  box-shadow: var(--pep-shadow-lg);
  position: relative;
}

.split-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.split-image-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--pep-green);
  color: var(--pep-white);
  padding: 10px 18px;
  border-radius: var(--pep-radius-sm);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: var(--pep-shadow-md);
}

.split-content .section-label {
  text-align: left;
}

.split-content .section-title {
  text-align: left;
  font-size: 2rem;
}

.split-content p {
  color: var(--pep-text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.split-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin: 25px 0;
}

.split-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--pep-navy);
}

.split-feature i {
  color: var(--pep-green);
  font-size: 1rem;
}

/* ===== CTA / URGENT SECTION ===== */
.cta-section {
  text-align: center;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--pep-navy);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(47, 148, 75, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(58, 123, 213, 0.15) 0%, transparent 60%);
  color: var(--pep-white);
}

.cta-section h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--pep-white);
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.cta-section .btn-primary {
  background: var(--pep-white);
  color: var(--pep-navy);
}

.cta-phone {
  margin-top: 20px;
  font-size: 1rem;
  opacity: 0.85;
}

.cta-phone a {
  color: var(--pep-white);
  font-weight: 700;
  text-decoration: underline;
}

/* ===== WHY PEP SECTION ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.why-item {
  padding: 35px 25px;
  border-radius: var(--pep-radius);
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.why-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--glass-shadow-hover);
}

.why-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: rgba(47, 148, 75, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--pep-green);
}

.why-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--pep-navy);
}

.why-item p {
  font-size: 0.9rem;
  color: var(--pep-text-light);
  line-height: 1.6;
}

/* ===== ACCREDITATIONS ===== */
.accreditations {
  padding: 50px 0;
  background: var(--pep-white);
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.accreditations-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
}

.accreditation-logo {
  height: 55px;
  width: auto;
  opacity: 0.7;
  filter: grayscale(30%);
  transition: opacity 0.3s, filter 0.3s;
}

.accreditation-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--pep-radius);
  padding: 35px 28px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  position: relative;
}

.testimonial-card .quote-mark {
  font-size: 3rem;
  color: var(--pep-green);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 10px;
  font-family: Georgia, serif;
}

.testimonial-card .quote-text {
  font-size: 0.95rem;
  color: var(--pep-text-light);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-card .author {
  font-style: normal;
  font-weight: 700;
  color: var(--pep-navy);
  font-size: 0.9rem;
}

.testimonial-card .author-role {
  font-size: 0.8rem;
  color: var(--pep-text-light);
  margin-top: 2px;
}

.testimonial-stars {
  color: #f5a623;
  font-size: 0.85rem;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

/* ===== PROJECT GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  border-radius: var(--pep-radius);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,26,46,0.8) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--pep-white);
  font-weight: 600;
  font-size: 0.9rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--pep-navy);
  color: var(--pep-white);
  padding: 55px 0 25px;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--pep-green), var(--pep-green-bright), var(--pep-blue));
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.footer-brand .footer-logo img {
  height: 48px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand .address {
  font-size: 0.85rem;
  opacity: 0.6;
  line-height: 1.6;
}

.footer-contacts h4,
.footer-social h4 {
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  opacity: 0.5;
}

.footer-contacts h4::after,
.footer-social h4::after {
  display: none;
}

.footer-contacts p {
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 2;
}

.footer-contacts a,
.footer-social a {
  color: var(--pep-white);
  opacity: 0.75;
  transition: opacity 0.2s, color 0.2s;
}

.footer-contacts a:hover,
.footer-social a:hover {
  opacity: 1;
  color: var(--pep-green-bright);
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  font-size: 0.85rem;
  transition: background 0.2s, transform 0.2s;
}

.social-links a:hover {
  background: var(--pep-green);
  opacity: 1;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 0.78rem;
  opacity: 0.4;
}

/* ===== INNER PAGE HERO ===== */
.page-hero {
  position: relative;
  padding: 140px 0 70px;
  text-align: center;
  color: var(--pep-white);
  overflow: hidden;
}

.page-hero .hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 26, 46, 0.75) 0%,
    rgba(44, 138, 78, 0.8) 40%,
    rgba(58, 123, 213, 0.7) 80%,
    rgba(15, 26, 46, 0.8) 100%
  );
  z-index: 1;
}

.page-hero .hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.page-hero p {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
  margin-top: 12px;
  opacity: 0.85;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Inner page content area with alive background */
.page-content {
  background-color: #f0f4f3;
  background-image:
    radial-gradient(ellipse at 15% 30%, rgba(47, 148, 75, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 70%, rgba(58, 123, 213, 0.04) 0%, transparent 50%),
    radial-gradient(circle at 50% 10%, rgba(126, 217, 87, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 70% 90%, rgba(47, 148, 75, 0.03) 0%, transparent 40%);
  padding: 70px 0;
}

.page-content .content-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.page-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pep-navy);
  margin: 35px 0 15px;
}

.page-content p {
  color: var(--pep-text-light);
  margin-bottom: 15px;
  line-height: 1.75;
}

.page-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
}

.page-content li {
  color: var(--pep-text-light);
  margin-bottom: 10px;
  line-height: 1.6;
  padding-left: 26px;
  position: relative;
}

.page-content li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--pep-green);
  font-size: 0.8rem;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 15px 18px;
  border: 1px solid #dde3ea;
  border-radius: var(--pep-radius-sm);
  font-size: 0.95rem;
  font-family: inherit;
  margin-bottom: 16px;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--pep-white);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--pep-green);
  box-shadow: 0 0 0 4px rgba(47, 148, 75, 0.1);
}

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

.contact-form button {
  width: 100%;
}

.contact-info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--pep-radius);
  padding: 35px;
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
}

.contact-info-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--pep-navy);
  margin-bottom: 24px;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 22px;
  align-items: start;
}

.contact-info-item .info-icon {
  width: 42px;
  height: 42px;
  background: rgba(47, 148, 75, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--pep-green);
  flex-shrink: 0;
}

.contact-info-item .info-text strong {
  display: block;
  color: var(--pep-navy);
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.contact-info-item .info-text span,
.contact-info-item .info-text a {
  color: var(--pep-text-light);
  font-size: 0.9rem;
}

.contact-info-item .info-text a:hover {
  color: var(--pep-green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .top-bar-right {
    display: none;
  }

  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .split-section {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }

  .hero {
    min-height: 80vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 55px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-image img {
    height: 280px;
  }

  .split-content .section-title,
  .split-content .section-label {
    text-align: center;
  }

  .split-features {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }

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

  /* Mobile nav */
  .nav-toggle {
    display: block;
  }

  .main-nav .container {
    height: 60px;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--pep-white);
    padding: 12px 16px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    gap: 2px;
    border-top: 1px solid rgba(0,0,0,0.04);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 12px 14px;
    border-bottom: none;
    border-radius: 8px;
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    background: rgba(47, 148, 75, 0.06);
  }

  .nav-menu .btn-nav {
    text-align: center;
    margin-top: 8px;
    margin-left: 0;
  }

  .page-hero {
    padding: 100px 0 45px;
  }

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

  .accreditations-inner {
    gap: 25px;
  }

  .accreditation-logo {
    height: 38px;
  }

  .cta-section {
    padding: 50px 0;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}

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

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-hero-outline {
    justify-content: center;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
