/* 
* Groleaf Organic - Main Stylesheet
* Colors:
* - Primary Green: #7AB55C
* - Secondary Brown: #8B5A2B
* - Light Cream: #FFF8E1
* - Dark Green: #2E5D1C
* - Light Gray: #F5F5F5
*/

/* ===== Base Styles ===== */
:root {
  --primary: #7ab55c;
  --primary-dark: #5a9a3d;
  --secondary: #8b5a2b;
  --secondary-light: #a67c52;
  --cream: #fff8e1;
  --dark-green: #2e5d1c;
  --light-gray: #f5f5f5;
  --text-dark: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}
@media (max-width: 768px) {
  .d-none-mobile {
    display: none !important;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "SF Pro Display", system-ui, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 60px 0; /* Reduced from 80px to 60px */
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 20px;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

h2:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary);
}

h3 {
  font-size: 1.75rem;
}

p {
  margin-bottom: 20px;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}
.nav-item a:hover {
  color: var(--secondary) !important;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 12px 27px;
  border-radius: 30px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.btn-small {
  padding: 8px 20px;
  font-size: 0.9rem;
}

.btn-whatsapp {
  background-color: #7ab55c;
  color: var(--white);
  border: 2px solid #7ab55c;
}

.btn-whatsapp:hover {
  background-color: #5a9a3d;
  border-color: #5a9a3d;
  color: var(--white);
}

/* Dropdown Menu Styles */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  position: relative;
  padding-right: 20px;
}

.dropdown-toggle:after {
  content: "\f107";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 180px;
  border-radius: 5px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 8px 20px;
  color: var(--text-dark);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-item:hover {
  background-color: rgba(122, 181, 92, 0.1);
  color: var(--primary);
  padding-left: 25px;
}

/* ===== Brand Story Section ===== */
.brand-story {
  background-color: var(--white);
  padding-top: 30px; /* Reduced top padding */
}

.story-content {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-top: 0; /* Ensure no top margin */
}

.story-image {
  flex: 1;
}

.story-image img {
  border-radius: 220px;
  box-shadow: var(--shadow);
}

.story-text {
  flex: 1;
}

.story-text h3 {
  color: var(--secondary);
}

/* ===== Why Organic Section ===== */
.why-organic {
  background-color: var(--light-gray);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-10px);
}

.benefit-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

/* ===== Featured Products Section ===== */
.featured-products {
  background-color: var(--white);
  padding-bottom: 10px; /* Reduced bottom padding */
}

.products-slider {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  background-color: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-image {
  overflow: hidden;
}

.product-image img {
  width: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-card h3 {
  padding: 20px 20px 10px;
  font-size: 1.3rem;
}

.product-card p {
  padding: 0 20px 20px;
  color: var(--text-light);
}

.product-card .btn {
  margin: 0 20px 20px;
}

.view-all-products {
  text-align: center;
  margin-top: 20px; /* Already set to 20px, but making it explicit */
  margin-bottom: 0; /* Ensure no bottom margin */
}

/* ===== Certifications Section ===== */
.certifications {
  background-color: var(--light-gray);
  padding: 80px 0;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.certification-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  height: 100%;
}

.certification-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.certificate-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.certificate-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.certification-card:hover .certificate-image-wrapper img {
  transform: scale(1.05);
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  backdrop-filter: blur(50px);
}

.certification-card:hover .certificate-overlay {
  opacity: 0.5;
}

.certificate-name {
    color: var(--secondary);
    font-size: 2.4rem;
    font-weight: 1000;
    text-align: center;
    padding: 20px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.certification-card:hover .certificate-name {
  transform: translateY(0);
}

/* Add a subtle border effect */
.certification-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 2px solid transparent;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: exclude;
  mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.certification-card:hover::before {
  opacity: 1;
}

/* ===== Blog Preview Section ===== */
.blog-preview {
  background-color: var(--white);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.blog-card {
  background-color: var(--light-gray);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-image {
  height: 200px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 20px;
}

.blog-date {
  display: block;
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  font-weight: 600;
  margin-top: 10px;
  position: relative;
}

.read-more:after {
  content: "→";
  margin-left: 5px;
  transition: var(--transition);
}

.read-more:hover:after {
  margin-left: 10px;
}

.view-all-blog {
  text-align: center;
}

/* ===== Call to Action Section ===== */
.cta {
  background-color: var(--dark-green);
  color: var(--white);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta h2 {
  color: var(--white);
}

.cta h2:after {
  background-color: var(--white);
  left: 50%;
  transform: translateX(-50%);
}

.cta p {
  margin-bottom: 30px;
  font-size: 1.2rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding: 80px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 20px;
  color: #ccc;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.footer-links h3,
.footer-contact h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h3:after,
.footer-contact h3:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  color: #ccc;
  display: flex;
  align-items: center;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--primary);
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  background-color: #7ab55c;
  color: var(--white);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
}

.whatsapp-btn i {
  color: white;
  margin-right: 10px;
  font-size: 1.2rem;
}

.whatsapp-btn:hover {
  background-color: #5a9a3d;
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin-bottom: 0;
  color: #999;
}

.footer-bottom-links a {
  color: #999;
  margin-left: 20px;
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ===== Responsive Styles ===== */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .story-content {
    flex-direction: column;
  }

  .story-image,
  .story-text {
    max-width: 100%;
  }

  .story-image {
    margin-top: 40px;
  }

  .certifications-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }

  .certification-card {
    height: 100% !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 30px 0;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom-links {
    margin-top: 15px;
  }

  .footer-bottom-links a {
    margin: 0 10px;
  }

  .certifications {
    padding: 60px 0;
  }

  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .certification-card {
    height: 280px;
    margin: 0 10px;
  }

  .certificate-name {
    font-size: 1.2rem;
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .certifications-grid {
    gap: 20px;
  }

  .certification-card {
    height: 250px;
    margin: 0 5px;
  }

  .certificate-name {
    font-size: 1.1rem;
    padding: 12px;
  }
}

/* Contact Information Section */
.contact-info {
  background-color: var(--white);
  padding: 10px 0;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.contact-card {
  background-color: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-10px);
}

.contact-icon {
  width: 70px;
  height: 70px;
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.contact-card h3 {
  color: var(--secondary);
  margin-bottom: 15px;
}

.contact-card p {
  margin-bottom: 5px;
}

.contact-card a {
  color: var(--text-dark);
  transition: var(--transition);
}

.contact-card a:hover {
  color: var(--primary);
}

/* Map Section - Fixed for Kraft Paper Background */
.map-section {
  background-color: transparent !important;
  position: relative;
  z-index: 1;
  padding: 30px 0;
}

.map-container {
  position: relative;
  z-index: 2;
  margin-top: 40px;
  box-shadow: var(--shadow);
  border-radius: 10px;
  overflow: hidden;
}

/* Apply kraft paper background to map section */
.map-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.map-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Noise texture */
  background-size: 200px 200px, 20px 20px, 15px 15px, 25px 25px, 10px 10px,
    6px 6px, 6px 6px, 10px 10px;
  mix-blend-mode: multiply;
  opacity: 0.7;
  z-index: 0;
  pointer-events: none;
}

/* Section header in map section needs to be above the background */
.map-section .section-header {
  position: relative;
  z-index: 2;
}

/* Contact Form Section */
.contact-form-section {
  background-color: var(--white);
  padding: 10px 0;
}

.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--light-gray);
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group .required {
  color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(122, 181, 92, 0.2);
}

.form-submit {
  margin-top: 10px;
}

/* Connect Section */
.connect-section {
  background-color: var(--light-gray);
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.social-connect {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.social-connect-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--text-dark);
  transition: var(--transition);
}

.social-connect-item i {
  width: 70px;
  height: 70px;
  background-color: var(--white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 15px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}

.social-connect-item:hover {
  color: var(--primary);
}

.social-connect-item:hover i {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-5px);
}

.social-connect-item.whatsapp:hover {
  color: #7ab55c;
}

.social-connect-item.whatsapp:hover i {
  background-color: #5a9a3d;
}

/* Form validation styles */
.form-group input:invalid:focus,
.form-group select:invalid:focus,
.form-group textarea:invalid:focus {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* Success message styles */
.form-success-message {
  background-color: rgba(122, 181, 92, 0.1);
  border: 1px solid var(--primary);
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
  color: var(--primary-dark);
  display: none; /* Hidden by default, shown via JavaScript when form is successfully submitted */
}

/* Error message styles */
.form-error-message {
  background-color: rgba(231, 76, 60, 0.1);
  border: 1px solid #e74c3c;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
  color: #e74c3c;
  display: none; /* Hidden by default, shown via JavaScript when form submission fails */
}

/* Responsive styles for Contact page */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 20px;
  }

  .form-container {
    padding: 30px 20px;
  }

  .social-connect {
    gap: 20px;
  }

  .social-connect-item i {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Additional responsive adjustments for smaller screens */
@media (max-width: 576px) {
  .contact-cards {
    gap: 20px;
  }

  .contact-card {
    padding: 20px;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

:root {
  --primary: #7ab55c;
  --primary-dark: #5a9a3d;
  --secondary: #8b5a2b;
  --text-dark: #333333;
  --text-light: #666666;
}

.why-premium {
  padding: 80px 0;
  background-color: #ffffff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}

.section-header p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.benefits-showcase {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

/* Add these styles to create the white box around benefit items */
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  background-color: #ffffff;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(139, 69, 19, 0.1) !important;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: #d0d0d0 !important; /* Darker border on hover with !important */
}

.icon-container {
  flex-shrink: 0;
}

.icon-wrapper {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: #f0f8ea;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 6px 15px rgba(122, 181, 92, 0.2);
}

.benefit-content {
  flex: 1;
  padding-top: 5px;
}

.benefit-content h3 {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.benefit-content p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
  .why-premium {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .benefits-showcase {
    gap: 40px;
  }

  .benefit-item {
    align-items: center;
  }
}

@media (max-width: 576px) {
  .benefit-item {
    padding: 20px;
  }

  .icon-container {
    margin-bottom: 20px;
  }

  .benefit-content {
    padding-top: 0;
  }
}
/* Hero Section with <img> and overlay content */
  /* Hero Section */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-top: 100px; /* Reserve space for navbar on desktop */
}

.hero img.hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.hero.no-image {
  min-height: 79vh; /* or 500px for fixed size */
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-dark);
}

/* ✅ Fix text position */
.hero-content {
  position: absolute;
  top: calc(50% + 40px); /* Push down by half navbar height */
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 2;
  width: 90%;
  max-width: 800px;
}

/* Hero text */
.hero-content h1 {
  font-family: 'Anton', sans-serif;
  font-size: 55px;
  font-weight: 400;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 1px;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
  margin-bottom: 15px;
}

.hero-content p {
  font-family: 'Inter', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

/* Buttons */
.button-group {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.half-colored-btn {
  color: #fff;
  background: linear-gradient(to right, var(--primary) 10%, var(--secondary) 50%);
  padding: 10px 30px;
  border-radius: 999px;
  text-decoration: none;
}

.half-colored-btn:hover {
  color: var(--white);
}

.hero-contact-a {
  background-color: var(--secondary);
  color: #fff;
  padding: 10px 30px;
  border-radius: 999px;
  text-decoration: none;
}
.hero-contact-a:hover {
  background-color: var(--secondary);
  color: var(--white);
}

/* ✅ Mobile Fix */
@media (max-width: 768px) {
  .hero {
    padding-top: 100px; /* Taller navbar */
  }

  .hero-content {
    top: calc(50% + 50px); /* Adjust for taller navbar */
  }

  .hero-content h1 {
    font-size: 22px;
  }

  .hero-content p {
    font-size: 12px;
  }

  .button-group {
    display: none;
  }
    .hero.no-image {
    min-height: 25vh; /* or 500px depending on your preference */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 18px;
  }
  .hero-content p {
    font-size: 12px;
  }
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

