:root {
  /* Updated palette inspired by the reference website */
  --primary-green: #7a8450; /* Olive green from screenshot */
  --light-green: #9db65a; /* Light sage green */
  --dark-green: #5a6b2f; /* Darker olive green */
  --accent-green: #8fbc3f; /* Yellow-green accent */
  --beige: #f7f5f0; /* Light beige background */
  --light-beige: #fdfcf9; /* Very light beige */
  --tan: #d4c4a8; /* Tan color */
  --ink: #2d3e2d; /* Dark forest green for text */
  --white: #fff;
  --shadow: 0 4px 20px rgba(0, 0, 0, .08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, .12);
  --radius: 12px;
  --background: var(--light-beige);
  --header-height: 80px;
  --text-back: #e3f0d0;
  --text-back-hover: #c9e2a9;
  --promo-red: #c41e3a; /* Christmas red */
  --promo-gold: #ffd700; /* Gold accent */
}

/* Reset + base */
* {
  box-sizing: border-box
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden; /* Prevent horizontal scroll */
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1; /* This pushes footer to the bottom */
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);

}

body {
  font-family: "Segoe UI", "Trebuchet MS", Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--background);
  line-height: 1.6;
  width: 100%;
  max-width: 100vw; /* Ensure body doesn't exceed viewport */
  font-weight: 400;
}

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

a:focus,
button:focus {
  outline: 2px solid var(--accent-green);
  outline-offset: 2px;
}

/* Layout */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%; /* Ensure container respects parent width */
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 245, 240, 0.95);
  border-bottom: 1px solid var(--tan);
  backdrop-filter: blur(10px);
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 10px 0;
  width: 100%;
  min-width: 0; /* Allow flex items to shrink */
}

.topbar .logo img {
  height: 65px;
  width: auto;
  display: block;
  object-fit: contain;
}

.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 700;
  letter-spacing: .3px;
  flex: 1; /* Make brand take available space */
  min-width: 0; /* Allow brand to shrink */
}

.brand .name {
  font-size: 2.2rem;
  font-weight: 800;
  text-shadow: none;
  white-space: nowrap; /* Prevent wrapping */
  min-width: 0; /* Allow text to shrink */
  color: var(--dark-green);
}

.brand .name .accent {
  color: var(--primary-green);
}

/* Language Button  */

.lang-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid var(--tan);
  background: var(--white);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.lang-switch:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-hover);
}

.lang-switch .lang-display {
  font-weight: 600;
  font-size: 0.9rem;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white);
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  min-width: 140px;
  overflow: hidden;
}

.lang-switch.active .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(4px);
}

.lang-option {
  padding: 12px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid rgba(212, 196, 168, 0.3);
}

.lang-option:last-child {
  border-bottom: none;
}

.lang-option:hover {
  background: var(--beige);
  color: var(--primary-green);
}

.lang-option.active {
  background: var(--light-green);
  color: var(--white);
  font-weight: 600;
}

/* Navigation Container */
.nav-container {
  border-bottom: 1px solid var(--tan);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Navigation Links */
.nav-links {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 15px 0;
  align-items: center;
  justify-content: center;
}

.nav-links a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: 1px solid transparent;
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-green);
  text-shadow: 0 2px 4px rgba(122, 132, 80, 0.3);
  text-decoration: underline;
}

/* Global */
.title {
  text-align: center;
  color: var(--dark-green); /* Use site dark green */
  font-size: 2.5em;
  margin-bottom: 30px;
}

/* Section Divider */
section:not(.promo-banner):not(.promo-banner-minimized)::after {
  content: '';
  display: block;
  width: 60%;
  max-width: 400px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--tan), transparent);
  margin: 40px auto 0 auto;
}

section:last-of-type::after {
  display: none; /* Remove divider after last section */
}

#contact-us::after {
  display: none; /* Remove divider after contact section */
}

/* Hero Section */
.hero {
  align-items: center;
  padding: 20px 0;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--dark-green);
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: -1px;
  text-decoration: underline;
  text-decoration-color: var(--primary-green);
  text-underline-offset: 8px;
  text-decoration-thickness: 3px;
}

.hero h3 {
  text-align: center;
}

.hero-description {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  max-width: 950px;
  margin: 0 auto;
}

.hero-description strong {
  color: var(--dark-green);
  font-weight: 600;
}


/* Layout */
/* Services Section */
.services {
    padding: 20px 0;
    text-align: center;
}

.services-columns {
    display: flex;
    justify-content: center;
    gap: 30px; /* Space between columns */
    flex-wrap: wrap; /* Allow items to wrap on smaller screens */
}

.service-item {
    border-radius: 8px;
    overflow: hidden;
    width: 300px; /* Fixed width for each service item */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-item .service-image {
    width: 100%;
    height: 400px; /* Fixed height for images */
    object-fit: cover; /* Cover the area, cropping if necessary */
    border-radius: 8px 8px 8px 8px; /* Rounded top corners */
    margin-bottom: 15px; /* Reduced space below image */
}

.service-item h3 {
    color: var(--dark-green); /* Use site dark green for subtitles */
    font-size: 1.3em;
    margin-bottom: 10px;
    padding: 0 15px; /* Padding for text */
}

.service-item p {
    color: var(--ink); /* Use site ink color for descriptions */
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 20px;
    height: 60px; /* Fixed height for description to align buttons */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 15px; /* Padding for text */
}

.service-more-btn {
    background-color: var(--primary-green); /* Use site primary green for button */
    color: var(--white); /* White text */
    border: none;
    border-radius: 5px;
    padding: 12px 25px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Push button to the bottom */
    margin-bottom: 20px; /* Space below button */
}

.service-more-btn:hover {
    background-color: var(--dark-green); /* Use site dark green on hover */
}

/* Projects Section */
.projects {
    padding: 20px 0;
    text-align: center;
    margin-top: 20px;
}

.project-gallery-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.project-gallery {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 15px;
    padding: 20px 0;
    width: 100%;
    scrollbar-width: none; /* Hide scrollbar for Firefox */
    -ms-overflow-style: none; /* Hide scrollbar for IE and Edge */
}

/* Hide scrollbar for Webkit browsers */
.project-gallery::-webkit-scrollbar {
    display: none;
}

.project-item {
    flex: 0 0 300px;
    scroll-snap-align: start;
    border-radius: 8px;
    background: transparent;
    box-shadow: none;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.project-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
}

.scroll-btn {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-green);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    opacity: 0.9;
}

.scroll-btn:hover {
    background: var(--dark-green);
    opacity: 1;
    transform: scale(1.05);
}

.scroll-left {
    left: 10px;
}

.scroll-right {
    right: 10px;
}

/* Projects responsive styles */
@media (max-width: 768px) {
    .project-item {
        flex: 0 0 250px;
    }

    .project-image,
    .service-item .service-image {
        height: 200px; /* Consistent height for both image types */
    }

    .scroll-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .project-item {
        flex: 0 0 220px;
    }

    .project-image,
    .service-item .service-image {
        height: 180px; /* Consistent height for both image types */
    }
}

/* Additional mobile-specific image height */
@media (max-width: 375px) {
    .project-image,
    .service-item .service-image {
        height: 160px; /* Even smaller consistent height for very small screens */
    }
}

/* Footer styles */
footer {
  margin-top: auto;
  background: var(--primary-green);
  color: var(--white);
  padding: 24px 0;
  border-top: 1px solid var(--dark-green);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
  width: 100%;
}

footer .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 16px;
}

.footer-content {
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--beige);
}

footer strong {
  color: var(--white);
  font-weight: 600;
}

.social-links {
  display: flex;
  gap: 24px;
  align-items: center;
}

.social-links a {
  color: var(--beige);
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  color: var(--white);
  transform: translateY(-2px);
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}


/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 30px 0;
    min-height: 60vh;
  }

  .hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 40px;
  }

  .hero h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  /* Services Section on Tablets */
  .services {
    padding: 15px 0;
  }

  .services-columns {
    flex-direction: column;
    align-items: center;
    gap: 20px; /* Reduced gap between service items */
  }

  .service-item {
    width: 80%;
    max-width: 400px;
    margin-bottom: 0; /* Remove extra bottom margin */
  }

  .title {
    margin-bottom: 20px;
  }

  footer {
    padding: 20px 0;
  }

  .footer-content {
    font-size: 0.85rem;
  }
}

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

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero-subtitle,
  .hero-description {
    font-size: 0.9rem;
  }

  /* Services Section Title on Small Mobile */
  .services .title {
      font-size: 2rem;
      margin-bottom: 20px;
  }

  .service-item .service-image {
    margin-bottom: 10px; /* Smaller margin on mobile */
  }

  .service-item h3 {
    margin-bottom: 5px; /* Reduced margin */
  }

  .service-item p {
    margin-bottom: 10px; /* Reduced margin */
  }

  .service-more-btn {
    padding: 10px 20px; /* Slightly smaller button */
    margin-bottom: 10px; /* Reduced margin */
  }

  footer {
    padding: 16px 0;
  }

  .footer-content {
    font-size: 0.8rem;
    padding: 0 8px;
  }
}

/* Mobile */
@media (max-width: 560px) {
  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 20px;
    max-width: 100%;
  }

  .topbar {
    padding: 14px 0;
    position: relative;
    height: var(--header-height);
    justify-content: space-between;
    gap: 16px;
    flex-wrap: nowrap;
  }

  /* Hide specific nav links on mobile, keep language switcher */
  .nav-links li:not(:last-child) {
    display: none;
  }

  .topbar .nav-links {
    display: flex;
    position: static;
    width: auto;
    background: transparent;
    box-shadow: none;
    flex-direction: row;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
  }

  .lang-switch .lang-display {
    display: none;
  }

  .lang-switch {
    padding: 10px;
    min-width: auto;
    flex-shrink: 0;
  }

  .lang-dropdown {
    right: 0;
    left: auto;
    min-width: 120px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    justify-content: flex-start;
    gap: 12px;
  }

  .brand .name {
    font-size: 1.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
  }

  .topbar .logo img {
    height: 50px;
    flex-shrink: 0;
  }

  /* Services Section on Mobile */
  .services .title {
      font-size: 2.2rem;
      margin-bottom: 20px; /* Reduced from 40px */
  }

  .service-item {
      width: 95%;
      margin-bottom: 15px; /* Added small margin between items */
  }

  .service-item p {
      height: auto; /* Allow description height to adjust to content */
      min-height: 40px; /* Reduced from 50px */
      padding-bottom: 10px; /* Reduced from 15px */
      margin-bottom: 5px; /* Added smaller margin */
  }

  .services-columns {
    gap: 15px; /* Further reduced gap on mobile */
  }
}

/* Extra small devices */
@media (max-width: 375px) {
  .container {
    padding: 0 16px;
  }

  .brand .name {
    font-size: 1.1rem;
  }

  .topbar .logo img {
    height: 45px;
  }

  .topbar {
    gap: 12px;
  }

  .services-columns {
    gap: 10px; /* Minimal gap for very small screens */
  }

  .service-item {
    margin-bottom: 10px; /* Smaller margin for very small screens */
  }

  .service-item .service-image {
    margin-bottom: 8px; /* Even smaller margin */
  }

  .service-item h3 {
    margin-bottom: 3px; /* Minimal margin */
    font-size: 1.2em; /* Slightly smaller text */
  }

  .services .title {
    margin-bottom: 15px; /* Consistent smaller title spacing */
  }

  .service-more-btn {
    margin-bottom: 5px; /* Minimal margin */
    padding: 8px 16px; /* Smaller button */
  }
}

/* FAQ Section Styles */
.faq-section {
  border-radius: 8px;
  margin: 20px auto 0 auto;
  padding: 20px 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-item {
  background: var(--primary-green);
  border-radius: 4px;
  margin-bottom: 4px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  border: 1px solid #7a8450;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.2em;
  font-weight: 500;
  text-align: left;
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  outline: none;
  transition: background 0.2s;
}

.faq-question:hover {
  background: var(--dark-green);
}

.faq-icon {
  font-size: 1.3em;
  margin-left: 12px;
  transition: transform 0.2s;
}

.faq-answer {
  background: #e3f0d0;
  color: var(--primary-green);
  font-size: 1.1em;
  padding: 18px 24px;
  border-top: 1px solid #7a8450;
  animation: fadeIn 0.3s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.faq-item:not(.open) .faq-answer {
  display: none;
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

/* Responsive FAQ */
@media (max-width: 600px) {
  .faq-section {
    padding: 18px 0;
    max-width: 100%;
  }
  .faq-title {
    font-size: 1.3em;
    margin-bottom: 16px;
  }
  .faq-question, .faq-answer {
    padding: 12px 12px;
    font-size: 1em;
  }
}

/* Contact Section Styles */
#contact-us {
  padding: 30px 0;
  background: var(--beige);
  margin-top: 20px;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 25px;
  height: 100%;
}

.contact-info {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.contact-info h2 {
  color: var(--dark-green);
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1;
  justify-content: space-between;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 25px;
  background: var(--text-back);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--tan);
}

.contact-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  background: var(--text-back-hover);
}

.contact-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-green);
  color: var(--white);
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-details h3 {
  color: var(--dark-green);
  font-size: 1.2rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.contact-link {
  color: var(--primary-green);
  font-weight: 600;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

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

.contact-details p {
  color: var(--ink);
  line-height: 1.6;
  margin: 0;
}

/* Areas We Serve Styles */
.areas-we-serve h2 {
  color: var(--dark-green);
  font-size: 1.8rem;
  margin-bottom: 30px;
  font-weight: 600;
  text-align: center;
}

.map-container {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 25px;
  border: 1px solid var(--tan);
}

.map-container iframe {
  display: block;
  width: 100%;
}

.location-info {
  background: var(--text-back);
  padding: 25px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid var(--tan);
}

.location-info h3 {
  color: var(--dark-green);
  font-size: 1.3rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.location-details p {
  color: var(--ink);
  margin: 8px 0;
  line-height: 1.6;
}

.location-details p:first-child {
  font-size: 1.1rem;
  color: var(--primary-green);
  font-weight: 600;
}

/* Contact Section Responsive Design */
@media (max-width: 968px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-methods {
    gap: 20px;
  }

  .contact-item {
    padding: 20px;
  }
}

@media (max-width: 768px) {
  #contact-us {
    padding: 40px 0;
  }

  .contact-info-title{
    text-align: center;
  }

  .contact-container {
    gap: 30px;
    margin-top: 30px;
  }

  .contact-info h2,
  .areas-we-serve h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .contact-item {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    align-items: center;
  }

  .contact-icon {
    align-self: center;
  }

  .contact-details {
    text-align: center;
  }

  .contact-details h3 {
    text-align: center;
  }

  .map-container iframe {
    height: 250px;
  }
}

@media (max-width: 480px) {
  .contact-item {
    padding: 15px;
    text-align: center;
    align-items: center;
  }

  .contact-info-title{
    text-align: center;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .contact-details {
    text-align: center;
    width: 100%;
  }

  .contact-details h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .contact-link {
    text-align: center;
    display: block;
  }

  .location-info {
    padding: 20px;
  }

  .map-container iframe {
    height: 200px;
  }
}

/* Promotional Banner Styles */
.promo-banner {
  background: linear-gradient(135deg, var(--promo-red) 0%, #a01729 100%);
  color: var(--white);
  padding: 24px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-bottom: 3px solid var(--promo-gold);
  position: relative;
  overflow: hidden;
  animation: slideDown 0.5s ease-out;
  transition: all 0.3s ease;
  cursor: pointer;
}

.promo-banner.minimized {
  display: none;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.promo-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-20px) translateX(10px);
  }
}

.promo-banner .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.promo-content {
  flex: 1;
  text-align: center;
}

.promo-badge {
  display: inline-block;
  background: var(--promo-gold);
  color: var(--promo-red);
  padding: 8px 20px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.promo-title {
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 15px 0;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.promo-description {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 0 12px 0;
  color: rgba(255, 255, 255, 0.95);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.promo-features {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--promo-gold);
  margin: 0 0 20px 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.promo-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.promo-cta {
  display: inline-block;
  background: var(--promo-gold);
  color: var(--promo-red);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  border: 3px solid var(--white);
  cursor: pointer;
}

.promo-cta:hover {
  background: var(--white);
  color: var(--promo-red);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Minimized Promotional Banner */
.promo-banner-minimized {
  display: none;
  background: linear-gradient(135deg, var(--promo-red) 0%, #a01729 100%);
  color: var(--white);
  padding: 12px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-bottom: 2px solid var(--promo-gold);
  position: relative;
  animation: slideDown 0.3s ease-out;
  cursor: pointer;
}

.promo-banner-minimized.visible {
  display: block;
}

.promo-banner-minimized .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.promo-mini-content {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  flex: 1;
}

.promo-mini-badge {
  font-size: 1.3rem;
  animation: pulse 2s ease-in-out infinite;
}

.promo-mini-text {
  font-size: 1rem;
  color: var(--white);
}

.promo-mini-text strong {
  font-weight: 700;
}

.promo-mini-cta {
  display: inline-block;
  background: var(--promo-gold);
  color: var(--promo-red);
  padding: 10px 24px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  border: 2px solid var(--white);
  cursor: pointer;
  animation: pulse 2s ease-in-out infinite;
}

.promo-mini-cta:hover {
  background: var(--white);
  color: var(--promo-red);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
  animation: none;
}

/* Promotional Banner Responsive Design */
@media (max-width: 768px) {
  .promo-banner {
    padding: 20px 0;
  }

  .promo-banner .container {
    padding: 0 20px;
  }

  .promo-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
  }

  .promo-description {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  .promo-features {
    font-size: 0.95rem;
    margin-bottom: 15px;
  }

  .promo-cta {
    padding: 14px 30px;
    font-size: 1.05rem;
  }

  .promo-badge {
    font-size: 0.9rem;
    padding: 6px 16px;
    margin-bottom: 12px;
  }

  .promo-minimize {
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    top: 10px;
    right: 10px;
  }

  .promo-banner-minimized .container {
    padding: 0 20px;
  }

  .promo-mini-content {
    gap: 8px;
    font-size: 0.85rem;
    flex-wrap: nowrap;
  }

  .promo-mini-badge {
    flex-shrink: 0;
  }

  .promo-mini-text {
    flex-shrink: 1;
    min-width: 0;
  }

  .promo-mini-cta {
    padding: 8px 16px;
    font-size: 0.8rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .promo-banner {
    padding: 16px 0;
  }

  .promo-banner .container {
    padding: 0 15px;
  }

  .promo-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
  }

  .promo-description {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }

  .promo-features {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .promo-cta {
    padding: 12px 24px;
    font-size: 1rem;
    border-width: 2px;
  }

  .promo-badge {
    font-size: 0.85rem;
    padding: 5px 14px;
    margin-bottom: 10px;
  }

  .promo-expires {
    font-size: 0.85rem;
  }

  .promo-minimize {
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
  }

  .promo-banner-minimized {
    padding: 8px 0;
  }

  .promo-banner-minimized .container {
    padding: 0 10px;
  }

  .promo-mini-content {
    gap: 6px;
    font-size: 0.75rem;
    flex-wrap: nowrap;
  }

  .promo-mini-badge {
    font-size: 1.1rem;
  }

  .promo-mini-text {
    font-size: 0.75rem;
    line-height: 1.2;
  }

  .promo-mini-text strong {
    display: inline;
  }

  .promo-mini-cta {
    padding: 6px 12px;
    font-size: 0.7rem;
    white-space: nowrap;
  }

  .promo-expand {
    width: 28px;
    height: 28px;
    font-size: 1.3rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: var(--white);
  margin: 5% auto;
  padding: 0;
  border: 1px solid var(--tan);
  border-radius: var(--radius);
  width: 90%;
  max-width: 700px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: slideDown 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-close {
  position: absolute;
  right: 20px;
  top: 20px;
  color: var(--white);
  font-size: 32px;
  font-weight: 700;
  cursor: pointer;
  z-index: 10;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
  background: var(--promo-red);
  transform: rotate(90deg);
}

.modal-body {
  padding: 0;
}

.modal-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
}

.modal-title {
  font-size: 2rem;
  color: var(--dark-green);
  margin: 30px 30px 15px 30px;
  font-weight: 700;
}

.modal-description {
  font-size: 1.1rem;
  color: var(--ink);
  line-height: 1.8;
  margin: 0 30px 25px 30px;
}

.modal-features {
  background: var(--text-back);
  padding: 25px 30px;
  margin: 0 0 25px 0;
}

.modal-features h3 {
  font-size: 1.3rem;
  color: var(--primary-green);
  margin: 0 0 15px 0;
  font-weight: 600;
}

.modal-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-features li {
  font-size: 1rem;
  color: var(--ink);
  padding: 8px 0;
  padding-left: 30px;
  position: relative;
  line-height: 1.6;
}

.modal-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: 700;
  font-size: 1.2rem;
}

.modal-contact {
  padding: 0 30px 30px 30px;
  text-align: center;
}

.modal-contact h3 {
  font-size: 1.5rem;
  color: var(--dark-green);
  margin: 0 0 10px 0;
  font-weight: 600;
}

.modal-contact p {
  font-size: 1rem;
  color: var(--ink);
  margin: 0 0 20px 0;
}

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

.modal-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.modal-btn-primary {
  background: var(--primary-green);
  color: var(--white);
  border: 2px solid var(--primary-green);
}

.modal-btn-primary:hover {
  background: var(--dark-green);
  border-color: var(--dark-green);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.modal-btn-secondary {
  background: var(--white);
  color: var(--primary-green);
  border: 2px solid var(--primary-green);
}

.modal-btn-secondary:hover {
  background: var(--primary-green);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.modal-btn-icon {
  font-size: 1.2rem;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .modal-image {
    height: 200px;
  }

  .modal-title {
    font-size: 1.6rem;
    margin: 20px 20px 12px 20px;
  }

  .modal-description {
    font-size: 1rem;
    margin: 0 20px 20px 20px;
  }

  .modal-features {
    padding: 20px;
  }

  .modal-features h3 {
    font-size: 1.2rem;
  }

  .modal-contact {
    padding: 0 20px 20px 20px;
  }

  .modal-contact h3 {
    font-size: 1.3rem;
  }

  .modal-btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .modal-content {
    margin: 5% auto;
  }

  .modal-close {
    right: 10px;
    top: 10px;
    font-size: 28px;
    width: 36px;
    height: 36px;
  }

  .modal-image {
    height: 180px;
  }

  .modal-title {
    font-size: 1.4rem;
    margin: 15px 15px 10px 15px;
  }

  .modal-description {
    font-size: 0.95rem;
    margin: 0 15px 15px 15px;
  }

  .modal-features {
    padding: 15px;
  }

  .modal-features h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
  }

  .modal-features li {
    font-size: 0.9rem;
    padding: 6px 0;
    padding-left: 25px;
  }

  .modal-contact {
    padding: 0 15px 15px 15px;
  }

  .modal-contact h3 {
    font-size: 1.2rem;
  }

  .modal-contact p {
    font-size: 0.9rem;
  }

  .modal-contact-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .modal-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 20px;
    font-size: 0.9rem;
  }
}
