/* =============================
   NEW 2-COLUMN POPUP STYLES (PREFIXED)
   ============================= */
.global-popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Darker backdrop */
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.global-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* The Main Box */
.global-popup-box {
  background: white;
  width: 95%;
  max-width: 900px; /* Wider for 2 columns */
  border-radius: 16px;
  overflow: hidden; /* Clips the image corners */
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.global-popup-overlay.active .global-popup-box {
  transform: translateY(0);
}

.global-popup-close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #333;
  z-index: 10;
  cursor: pointer;
  line-height: 0.8;
}

/* --- LEFT COLUMN (Dark Green) --- */
.global-popup-left {
  height: 100%;
  background-size: cover;
  background-position: center;
  position: relative;
}

.global-popup-left-overlay {
  background: rgba(22, 58, 48, 0.92); /* Dark Green Overlay */
  width: 100%;
  height: 100%;
  padding: 40px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.global-popup-badge {
  background: rgba(255, 255, 255, 0.2);
  display: inline-block;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
  width: fit-content;
}

.global-popup-heading {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 15px;
}

.global-popup-text-highlight {
  color: #ff6b35; /* Orange text */
}

.global-popup-subtext {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.6;
}

.global-popup-stats-row {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.global-popup-stat strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
}
.global-popup-stat span {
  font-size: 0.8rem;
  opacity: 0.8;
}

/* --- RIGHT COLUMN (Form) --- */
.global-popup-right {
  padding: 40px;
}

.global-popup-label {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: #1a1a1a;
}

/* Custom Input Styling with Icons */
/* Maps to HTML class: global-popup-input-wrapper */
.global-popup-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.global-popup-input-wrapper svg,
.global-popup-input-wrapper i {
  position: absolute;
  left: 12px;
  width: 18px;
  height: 18px;
  color: #999;
}

.global-popup-input-wrapper .form-control,
.global-popup-input-wrapper .form-select {
  padding-left: 40px; /* Space for icon */
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  background-color: #f9f9f9;
  font-size: 0.95rem;
  height: 45px;
}

.global-popup-input-wrapper .form-control:focus,
.global-popup-input-wrapper .form-select:focus {
  background-color: white;
  box-shadow: none;
  border-color: #ff6b35;
}

/* Submit Button */
.global-popup-btn-submit {
  background-color: #ff4500; /* Bright Orange */
  color: white;
  font-weight: 700;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3s;
  text-transform: uppercase;
}
.global-popup-btn-submit:hover {
  background-color: #e03e00;
  color: white;
}

.global-popup-footer-text {
  font-size: 0.75rem;
  color: #999;
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .global-popup-box {
    max-width: 95%;
    margin: 20px auto;
    overflow-y: auto;
    max-height: 90vh; /* Allow scrolling inside popup on mobile */
  }
  .global-popup-right {
    padding: 25px;
  }
  /* The left image column is hidden via Bootstrap classes (d-none d-md-block) */
}

/* =============================
   CTA SECTION
   ============================= */
.cta-section {
  background-color: var(--color-primary);
  color: white;
  padding: 80px 20px;
  text-align: center;
  border-radius: 0; /* Ensures full width look */
}

.cta-section h2 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 2.5rem;
  color: white; /* Force white on green bg */
}

.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
  font-weight: 300;
  color: white;
}

.btn-custom-orange {
  background-color: var(--color-accent);
  color: white;
  padding: 12px 35px;
  border-radius: 6px;
  font-weight: 500;
  border: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  display: inline-block;
}

.btn-custom-orange:hover {
  background-color: #e62e00; /* Slightly darker orange manually */
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* =============================
   MAIN FOOTER
   ============================= */
.main-footer {
  background-color: var(--color-bg-cream);
  color: var(--color-primary);
  padding: 80px 0 60px 0;
  border-top: 1px solid var(--color-border);
}

.footer-logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-logo img {
  max-width: 160px;
  height: auto;
}

.footer-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 300px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon-box {
  width: 35px;
  height: 35px;
  background-color: rgba(0, 53, 43, 0.1); /* Light tint of primary green */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  color: var(--color-primary);
  transition: 0.3s;
  text-decoration: none;
}

.social-icon-box:hover {
  background-color: var(--color-accent);
  color: white;
}

.footer-column h5 {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-primary);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400; /* Poppins Regular */
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--color-accent);
  padding-left: 5px; /* Slight movement effect */
}

/* Contact Specifics */
.contact-info li {
  display: flex;
  align-items: flex-start; /* Aligns icon with top line of text */
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: var(--color-primary);
  font-weight: 400;
}

.contact-info i {
  color: var(--color-accent); /* Orange for better accent pop */
  margin-top: 4px; /* Optical alignment with text */
  width: 16px; /* Fixed width for alignment */
}

/* =============================
   COPYRIGHT BAR
   ============================= */
.copyright-bar {
  background-color: var(--color-primary);
  color: white;
  padding: 20px 0;
  font-size: 0.85rem;
  font-weight: 300;
}

.copyright-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: opacity 0.2s;
}

.copyright-links a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

/* =============================
   RESPONSIVE TWEAKS
   ============================= */
@media (max-width: 991px) {
  .footer-column {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 1.8rem;
  }

  .copyright-bar .row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .copyright-links a {
    margin: 0 10px;
  }

  .main-footer {
    text-align: left; /* Keep left align on mobile for readability */
  }
}

.wa-float-btn {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366; /* Official WhatsApp Green */
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10000; /* Stays on top */
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover State - Slightly darker and grows */
.wa-float-btn:hover {
  background-color: #1da851;
  color: white;
  transform: scale(1.05);
}

/* Ensure icon is centered nicely */
.my-float-icon {
  margin-top: 2px; /* Subtle optical adjustment */
}

/* --- The "Subtle Squirls" Ripple Animation --- */
@keyframes pulse-ripple {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* Creating the ripple layer behind the button */
.wa-float-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #25d366; /* Same green color */
  border-radius: 50%;
  z-index: -1; /* Behind the icon */
  /* Animation params: name duration timing-function loop */
  /* 2.5s is slow enough to be subtle, cubic-bezier makes it smooth */
  animation: pulse-ripple 2.5s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Mobile Adjustments (Slightly smaller & closer to edge) --- */
@media (max-width: 768px) {
  .wa-float-btn {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
    font-size: 28px;
  }
}
