/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

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

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c3e50;
}

h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 3rem;
}

h3 {
  font-size: 1.5rem;
  color: #34495e;
}

p {
  margin-bottom: 1rem;
  color: #555;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: transparent;
  color: #667eea;
  border: 2px solid #667eea;
}

.btn-secondary:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
}

.nav-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

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

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #667eea;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #667eea;
  font-weight: 500;
  margin-bottom: 1rem;
}

.hero-description {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
  line-height: 1.7;
}

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

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.hero-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-placeholder p {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
}

/* Services Section */
.services {
  padding: 80px 0;
  background: white;
}

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

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #f0f0f0;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon i {
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.service-card p {
  color: #666;
  line-height: 1.6;
}

/* About Section */
.about {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 2rem;
}

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.feature i {
  color: #27ae60;
  font-size: 1.2rem;
}

.feature span {
  font-weight: 500;
  color: #333;
}

.about-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.about-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.about-placeholder p {
  font-size: 1.2rem;
  font-weight: 500;
  color: white;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: #f8f9fa;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.testimonial-author strong {
  color: #2c3e50;
  font-size: 1.1rem;
}

.testimonial-author span {
  color: #667eea;
  font-size: 0.9rem;
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.contact h2 {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 4rem;
  row-gap: 1.25rem;
}

.contact-info h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item i {
  color: #667eea;
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

/* Compact, icon-only contact buttons with hover text */
.contact-button-grid {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-btn,
.contact-button-grid a.contact-btn:link,
.contact-button-grid a.contact-btn:visited {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0;
  border-radius: 0;
  text-decoration: none !important;
  transition: color 0.2s ease;
  border: 0;
  line-height: 1.3;
  color: #1f2937;
  font-weight: 600;
}

.contact-btn i {
  font-size: 1.1rem;
  margin-right: 8px;
}
.contact-btn span {
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}
.contact-btn:hover span {
  transform: translateX(2px);
}
.contact-button-grid a.contact-btn:hover {
  text-decoration: none !important;
}

.email-btn {
  background: transparent;
  color: inherit;
}
.phone-btn {
  background: transparent;
  color: inherit;
}
.whatsapp-btn {
  background: transparent;
  color: inherit;
}
.sms-btn {
  background: transparent;
  color: inherit;
}

/* Brand colors on icons only (keep link text default color) */
.email-btn i {
  color: #1d4ed8;
}
.phone-btn i {
  color: #059669;
}
.whatsapp-btn i {
  color: #25d366;
}
.sms-btn i {
  color: #6c5ce7;
}

/* Icon hover darken (text color stays the same) */
.email-btn:hover i {
  color: #1b44bf;
}
.phone-btn:hover i {
  color: #047857;
}
.whatsapp-btn:hover i {
  color: #1fb35a;
}
.sms-btn:hover i {
  color: #5a4fe0;
}

/* Center the contact note across both columns */
.contact-note {
  grid-column: 1 / -1;
  text-align: center;
}
.contact-note p {
  margin: 0;
}

.contact-item strong {
  display: block;
  color: #2c3e50;
  margin-bottom: 0.5rem;
}

.contact-item p {
  color: #555;
  margin: 0;
}

.contact-form {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #667eea;
}

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

/* Footer */
.footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

/* Standalone/Legal pages: ensure content clears fixed navbar */
.legal-main {
  padding-top: 110px; /* clears fixed navbar */
  padding-bottom: 60px;
  min-height: calc(100vh - 240px); /* keeps footer anchored, reduces jump */
}

.legal-main h1 {
  margin-bottom: 1.25rem;
}

.legal-main p {
  max-width: 65ch;
}

/* Legal page polished layout to match site aesthetics */
.legal-hero {
  padding: 120px 0 40px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  text-align: center;
}

.legal-hero h1 {
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.legal-hero .lead {
  font-size: 1.1rem;
  color: #555;
}

.legal-sections {
  padding: 40px 0 80px;
  background: #fff;
}

.legal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.legal-card {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  border: 1px solid #f0f0f0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.legal-card h2 {
  color: #2c3e50;
  margin-bottom: 0.75rem;
}

.legal-card p,
.legal-card li {
  color: #555;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #667eea;
}

.footer-logo i {
  margin-right: 0.5rem;
  font-size: 1.8rem;
}

.footer p {
  color: #bdc3c7;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 1rem 0;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-text h2 {
    text-align: center;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

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

  .hero {
    padding: 100px 0 60px;
  }

  .services,
  .about,
  .testimonials,
  .contact {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h1 {
    font-size: 2rem;
  }

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

  .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .service-card,
  .testimonial-card,
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Focus styles for accessibility */
.btn:focus,
input:focus,
textarea:focus,
a:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    background: #000;
    color: #fff;
  }

  .btn-secondary {
    border-color: #000;
    color: #000;
  }
}

/* ---- Canonical footer link styles (single source of truth) ---- */
.footer-links a,
.footer-links a:link,
.footer-links a:visited {
  color: #c7d2fe !important; /* soft indigo to match home */
  text-decoration: none;
}

/* Layout and spacing for footer quick links */
.footer-links {
  display: inline-block;
  margin-top: 12px;
}

.footer-links a {
  margin: 0 8px;
  font-weight: 600;
  transition: color 0.2s ease, font-weight 0.2s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: none;
  color: #e0e7ff !important; /* brighter indigo */
  font-weight: 700;
}

/* Keep footer spacing consistent */
.footer {
  padding-top: 48px;
  padding-bottom: 48px;
}
.hero-placeholder {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-placeholder i {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.hero-placeholder p {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin: 0;
}
/* --- Consistent hero card (used on index & cape-town) --- */
.hero-placeholder{
  /* shared look */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color:#fff;
  border-radius:28px;
  box-shadow: 0 28px 60px rgba(102,126,234,.25);
  display:flex; flex-direction:column;
  justify-content:center; align-items:center;
  text-align:center;

  /* 🔒 size consistency across pages */
  /* (min, fluid, max) => matches index nicely */
  width: clamp(420px, 40vw, 560px);
  height: clamp(220px, 22vw, 320px);
  padding: 32px 40px;
}

.hero-placeholder i{ font-size: 64px; margin-bottom: 16px; }
.hero-placeholder p{
  margin:0;
  font-size: clamp(18px, 2vw, 24px);
  font-weight:700;
}

/* keep the two-column hero layout aligned the same on both pages */
.hero-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items:center;
}

/* mobile: stack and center the card */
@media (max-width: 768px){
  .hero-container{ grid-template-columns: 1fr; gap: 2rem; text-align:center; }
