/* Havilah Image Developments Ltd - Custom Styles */

:root {
  --green-dark: #1B5E20;
  --green-main: #2E7D32;
  --green-light: #4CAF50;
  --green-pale: #E8F5E9;
  --gold: #F9A825;
  --white: #ffffff;
  --gray-light: #f5f5f5;
  --gray-text: #555555;
  --dark: #1a1a1a;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(27, 94, 32, 0.97);
  backdrop-filter: blur(6px);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.navbar-brand img {
  height: 44px;
}

.navbar-brand span {
  color: white;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.2;
}

.navbar-brand span small {
  display: block;
  font-weight: 400;
  font-size: 0.7rem;
  color: #a5d6a7;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: #c8e6c9;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--green-light);
  color: white;
}

.nav-cta {
  background: var(--gold) !important;
  color: #1a1a1a !important;
  font-weight: 700 !important;
  padding: 0.5rem 1.2rem !important;
}

.nav-cta:hover {
  background: #f57f17 !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: 0.3s;
}

/* ── PAGE HEADER BANNER ── */
.page-header {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-main) 60%, var(--green-light) 100%);
  padding: 7rem 2rem 3.5rem;
  text-align: center;
  color: white;
}

.page-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  font-size: 1.05rem;
  color: #c8e6c9;
  max-width: 600px;
  margin: 0 auto;
}

/* ── SECTIONS ── */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-main);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-title span {
  color: var(--green-main);
}

.section-subtitle {
  color: var(--gray-text);
  max-width: 620px;
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.75rem 1.8rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

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

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46,125,50,0.3);
}

.btn-gold {
  background: var(--gold);
  color: #1a1a1a;
}

.btn-gold:hover {
  background: #f57f17;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,168,37,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--green-main);
  border: 2px solid var(--green-main);
}

.btn-outline:hover {
  background: var(--green-main);
  color: white;
}

/* ── CARDS ── */
.card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  padding: 2rem;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

/* ── GRID UTILITIES ── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

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

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

/* ── TABLES ── */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.styled-table th {
  background: var(--green-main);
  color: white;
  padding: 0.9rem 1rem;
  text-align: left;
  font-weight: 600;
}

.styled-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e0e0e0;
  vertical-align: top;
}

.styled-table tr:nth-child(even) td {
  background: var(--green-pale);
}

.styled-table tr:last-child td {
  border-bottom: none;
}

/* ── FOOTER ── */
.footer {
  background: var(--green-dark);
  color: #c8e6c9;
  padding: 3.5rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--green-light);
  display: inline-block;
}

.footer p, .footer a {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #a5d6a7;
  text-decoration: none;
}

.footer a:hover {
  color: white;
}

.footer ul {
  list-style: none;
}

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

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: #81c784;
}

/* ── HIGHLIGHT BOX ── */
.highlight-box {
  background: var(--green-pale);
  border-left: 4px solid var(--green-main);
  padding: 1.25rem 1.5rem;
  border-radius: 0 8px 8px 0;
  margin: 1.5rem 0;
}

/* ── STAT BOX ── */
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-box .number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--green-main);
  line-height: 1;
}

.stat-box .label {
  font-size: 0.85rem;
  color: var(--gray-text);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  background: var(--gold);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
}

/* ── ICON CIRCLE ── */
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-circle svg {
  width: 28px;
  height: 28px;
  stroke: var(--green-main);
}

/* ── FORM STYLES ── */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color 0.2s;
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(46,125,50,0.1);
}

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  color: white;
  padding: 5rem 2rem;
  text-align: center;
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-band p {
  color: #c8e6c9;
  max-width: 540px;
  margin: 0 auto 2rem;
  font-size: 1rem;
}

.cta-band .btn-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

  .nav-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
  }

  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

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

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  /* Tables scroll horizontally on small screens */
  .table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .styled-table {
    min-width: 520px;
  }

  /* Cards reduce padding */
  .card { padding: 1.25rem; }

  /* Plan cards stack */
  .plan-card { padding: 1.75rem 1.25rem; }

  /* Dividers hide on mobile */
  .divider-line { display: none; }

  /* Section padding tighter */
  section { padding: 3.5rem 1rem; }
}

@media (max-width: 480px) {
  section { padding: 2.5rem 1rem; }

  .navbar { padding: 0 1rem; }

  .navbar-brand span { font-size: 0.9rem; }

  .page-header { padding: 6rem 1rem 2.5rem; }

  /* Prevent any element exceeding viewport */
  * { max-width: 100%; }

  img { height: auto; }

  .btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
  }

  /* Hero card full width */
  .hero-card { padding: 1.25rem; }

  /* Stats grid 2-col on tiny screens */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Section label smaller */
  .section-label { font-size: 0.72rem; }

  /* Footer tighter */
  .footer { padding: 2.5rem 1rem 1.5rem; }
}
