/* ==========================================================================
   Global Variables & Base Reset
   ========================================================================== */
:root {
  --primary-green: #486A43;
  --hover-green: #385334;
  --dark-text: #222525;
  --body-bg: #FFFFFF; /* Matched exactly to your image background */
  --card-bg: #FFFFFF;
  --border-color: #555A55;
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--body-bg);
  color: var(--dark-text);
  font-family: var(--font-body);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  flex: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  background-color: var(--body-bg);
  z-index: 1000;
  text-align: center;
  padding: 15px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar a {
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.navbar a:hover {
  color: var(--primary-green);
}

.navbar .divider {
  margin: 0 10px;
  color: #888;
  font-weight: 400;
}

/* ==========================================================================
   Brand Header & Hero Section
   ========================================================================== */
.brand-header {
  text-align: center;
  margin-top: 1px;
  margin-bottom: 0px;
}

.main-logo {
  max-width: 260px;
  height: auto;
  margin-bottom: 1px;
}

.brand-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark-text);
  letter-spacing: -0.5px;
}

.logo-link {
  text-decoration: none;
  color: inherit;
  display: inline-block;
}

/* ==========================================================================
   Page Sections & Spacing
   ========================================================================== */
section {
  scroll-margin-top: 80px; /* Offset so sticky header doesn't cover section title */
  padding: 10px 0;         /* Creates top and bottom space inside each section */
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

.section-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 40px 0;           /* Creates breathing room around dividing lines */
}

.info-section {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.info-section h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.info-section p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.contact-details {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.contact-details a {
  color: var(--primary-green);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.feedback-box {
  margin-top: 30px;
  padding: 30px;
  background-color: #f0f4ef;
  border-left: 4px solid var(--primary-green);
  font-style: italic;
  border-radius: 4px;
}

/* ==========================================================================
   Plans Grid & Cards
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr); 
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 20px;
}

.card {
  background-color: var(--card-bg);
  border: 1.5px solid var(--border-color); /* Updated to use declared variable */
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-header {
  background-color: var(--primary-green);
  color: #FaFaFa;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
  padding: 12px 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-body {
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-grow: 1;
}

/* ==========================================================================
   Icon Container & Card Borders (Replaces old versions)
   ========================================================================= */

/* 1. Simplify Icon Container (Removes the background circles) */
.icon-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  /* Removed background circles and padding */
}

.icon-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* 2. Distinct Plan Card Borders (Replaces generic `.card` border) */
.card {
  /* ... keep background-color, border-radius, display: flex, etc. from previous code ... */
  background-color: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Soft shadow for depth */
}

/* Specific 3px Border Colors for Instant ID */
.card-free-vend {
  border: 3px solid #D9534F; /* Brand Green - High Visibility */
}

.card-partial-subsidy {
  border: 3px solid #007BFF; /* Vibrant Blue - High Visibility */
}

.card-commission {
  border: 3px solid #E8A217; /* Strong Gold - High Visibility */
}

.card-rent-lease {
  border: 3px solid #6C4F8D; /* Deep Purple - High Visibility */
}

.icon-container {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.icon-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.highlight-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.35;
  margin-bottom: 15px;
  color: var(--dark-text);
}

.description {
  font-size: 0.88rem;
  line-height: 1.4;
  color: #333;
  margin-bottom: 25px;
}

/* ==========================================================================
   Buttons (Interactive Setup)
   ========================================================================== */
.quote-btn {
  margin-top: auto; /* Push button to bottom of card */
  width: 100%;
  padding: 10px 0;
  background-color: var(--primary-green);
  color: #fafafa;
  border: none;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.quote-btn:hover {
  background-color: var(--hover-green);
}

.quote-btn:active {
  transform: scale(0.98);
}

/* ==========================================================================
   Footer (Sticky Bottom Bar)
   ========================================================================== */
.footer {
  position: sticky;
  bottom: 0;
  z-index: 1000;
  background-color: var(--body-bg);
  width: 100%;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--dark-text);
  line-height: 1.3;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.03);
}

.footer a {
  color: var(--dark-text);
  text-decoration: none;
}

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

.footer-right {
  text-align: right;
}

/* ==========================================================================
   Responsive Adjustments (Tablets & Mobile)
   ========================================================================== */
/* Tablet adjustment (Prevents 4 narrow cards squeezing on 601px - 900px screens) */
@media (max-width: 900px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Mobile Adjustments (Phones) */
@media (max-width: 600px) {

  /* 1. Stacks cards into 1 column on phones */
  .plans-grid {
    grid-template-columns: 1fr;
  }

  /* 2. Mobile 3-Line Footer */
  .footer {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 6px 12px;
    font-size: 0.75rem;
    line-height: 1.4;
  }

  .footer-left, 
  .footer-right {
    text-align: center;
  }

  .footer-left br {
    display: inline;
  }

  .footer-right br {
    display: none;
  }

  .footer-left {
    margin-bottom: 2px;
  }

  .footer-right a {
    display: block; 
    margin-bottom: 2px;
  }
}

/* ==========================================================================
   Contact Form & Feedback Styling
   ========================================================================== */
.contact-form {
  max-width: 500px;
  margin: 25px auto 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 15px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--card-bg);
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
}

.g-recaptcha {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
}

.submit-btn {
  font-size: 1rem;
  padding: 12px 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background-color: var(--card-bg);
  color: var(--dark-text);
  outline: none;
  transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-green);
}

/* Feedback Styling */
.feedback-box {
  margin-top: 20px;
  padding: 18px 20px;
  background-color: #f0f4ef;
  border: 2px solid var(--primary-green); /* Full green border around all sides */
  border-radius: 6px;
  text-align: center;
}

.feedback-link {
  display: inline-block;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.feedback-link:hover {
  color: var(--hover-green);
  text-decoration: underline;
}

.testimonial-quote {
  margin-top: 20px;
  font-style: italic;
  color: #555;
  font-size: 0.95rem;
  border-left: 3px solid var(--primary-green);
  padding-left: 15px;
  text-align: left;
}