@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');

:root {
  /* Kisan Mitra Green Theme */
  --background: hsl(45, 30%, 97%);
  --foreground: hsl(150, 30%, 15%);
  --card: hsl(45, 25%, 95%);
  --card-foreground: hsl(150, 30%, 15%);
  --primary: hsl(150, 45%, 23%);
  --primary-foreground: hsl(45, 30%, 97%);
  --secondary: hsl(140, 25%, 88%);
  --secondary-foreground: hsl(150, 45%, 23%);
  --muted: hsl(45, 20%, 92%);
  --muted-foreground: hsl(150, 20%, 40%);
  --accent: hsl(38, 90%, 50%);
  --accent-foreground: hsl(150, 30%, 15%);
  --border: hsl(140, 20%, 85%);
  --green-light: hsl(140, 35%, 85%);
  --radius: 0.75rem;
  --shadow-sm: 0 2px 8px -2px hsl(150 45% 23% / 0.1);
  --shadow-md: 0 8px 24px -8px hsl(150 45% 23% / 0.15);
  --shadow-lg: 0 16px 48px -16px hsl(150 45% 23% / 0.2);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background-color: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1023px) {
  .navbar {
    background-color: rgba(255, 255, 255, 1);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  }
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
  position: relative;
}

@media (max-width: 767px) {
  .nav-content {
    height: 70px;
  }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

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

@media (max-width: 767px) {
  .logo img {
    height: 50px;
  }
}

.logo-icon {
  width: 40px;
  height: 40px;
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  transition: transform 0.3s;
}

.logo:hover .logo-icon {
  transform: scale(1.1);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  letter-spacing: 0.05em;
}

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

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--foreground);
  transition: all 0.3s;
}

.nav-link:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.nav-link.active {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  z-index: 101;
  pointer-events: auto;
}

.dropdown-icon {
  font-size: 0.75rem;
  transition: transform 0.3s;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  padding: 0.5rem 0;
  pointer-events: none;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--foreground);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
  border-left: 3px solid transparent;
}

.dropdown-item:hover {
  background-color: var(--secondary);
  color: var(--primary);
  border-left-color: var(--primary);
}

.dropdown-item:first-child {
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

/* Custom scrollbar for dropdown menu */
.dropdown-menu::-webkit-scrollbar {
  width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
  background: var(--secondary);
  border-radius: 0.5rem;
}

.dropdown-menu::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 0.5rem;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Firefox scrollbar */
.dropdown-menu {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--secondary);
}

/* Mobile Dropdown Styles */
@media (max-width: 1023px) {
  .nav-dropdown {
    width: 100%;
  }
  
  .nav-link-dropdown {
    width: 100%;
    justify-content: space-between;
  }
  
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    margin-top: 0;
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.3s ease;
    padding: 0;
  }
  
  .nav-dropdown.active .dropdown-menu {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
  }
  
  .dropdown-item {
    padding: 0.875rem 1.5rem;
    border-left: none;
    padding-left: 2rem;
  }
  
  .dropdown-item:hover {
    border-left: none;
    background-color: var(--secondary);
  }
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--foreground);
  transition: background-color 0.3s;
  min-width: 44px;
  min-height: 44px;
  z-index: 51;
  position: relative;
}

.mobile-menu-btn:hover {
  background-color: var(--secondary);
}

.mobile-menu-btn:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.mobile-menu-btn svg,
.mobile-menu-btn i {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

@media (max-width: 1023px) {
  .mobile-menu-btn {
    display: flex !important;
  }
}

.desktop-only {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-only {
    display: block;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background-color: hsl(150, 45%, 20%);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hero {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

.btn-hero:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-hero-outline {
  background-color: transparent;
  color: var(--primary-foreground);
  border: 2px solid var(--primary-foreground);
}

.btn-hero-outline:hover {
  background-color: var(--primary-foreground);
  color: var(--primary);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 20vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, hsl(150, 50%, 18%) 0%, hsl(150, 45%, 30%) 100%);
  overflow: hidden;
  padding-top: 90px;
  padding-bottom: 2rem;
  margin-top: 90px;
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 20vh;
    padding-top: 100px;
    padding-bottom: 1.5rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-section {
    min-height: 22vh;
    padding-bottom: 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 25vh;
    padding-bottom: 3rem;
  }
}

.hero-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 2;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
  }
}

/* Centered Hero Content */
.hero-content-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 10;
  max-width: 48rem;
  margin: 0 auto;
  padding: 1rem 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
  .hero-content-centered {
    padding: 1.5rem 2rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-centered {
    padding: 2rem 0;
  }
}

.hero-badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .hero-badge-new {
    padding: 0.625rem 1.25rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
  }
}

@media (min-width: 1024px) {
  .hero-badge-new {
    margin-bottom: 2rem;
  }
}

.hero-title-centered {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1rem;
  color: var(--primary-foreground);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.hero-title-centered span {
  display: block;
  margin-bottom: -0.3em;
  line-height: 0.9;
}

@media (min-width: 480px) {
  .hero-title-centered {
    font-size: 2.5rem;
  }
}

@media (min-width: 768px) {
  .hero-title-centered {
    font-size: 3.5rem;
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title-centered {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
  }
}

.hero-description-centered {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 42rem;
  color: rgba(255, 255, 255, 0.95);
  padding: 0 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

@media (min-width: 480px) {
  .hero-description-centered {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-description-centered {
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .hero-description-centered {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
  }
}

.hero-buttons-centered {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  width: 100%;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .hero-buttons-centered {
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0;
  }
}

@media (min-width: 1024px) {
  .hero-buttons-centered {
    margin-bottom: 3rem;
  }
}

.btn-explore {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 0.95);
  color: var(--foreground);
  border: 1px solid rgba(0, 0, 0, 0.15);
  transition: all 0.3s;
  font-family: inherit;
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .btn-explore {
    width: auto;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

.btn-explore:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.2);
}

.btn-explore svg {
  color: var(--foreground);
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  background-color: var(--primary);
  color: var(--primary-foreground);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
  font-family: inherit;
  width: 100%;
  justify-content: center;
}

@media (min-width: 480px) {
  .btn-learn-more {
    width: auto;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

.btn-learn-more:hover {
  background-color: hsl(150, 45%, 20%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px -4px rgba(0, 0, 0, 0.3);
}

/* Stats Section Below Hero */
.hero-stats-section {
  padding: 2rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .hero-stats-section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-stats-section {
    padding: 4rem 0;
  }
}

/* Features Section Below Hero */
.hero-features-section {
  padding: 2rem 0;
  background-color: var(--background);
}

@media (min-width: 768px) {
  .hero-features-section {
    padding: 3rem 0;
  }
}

@media (min-width: 1024px) {
  .hero-features-section {
    padding: 4rem 0;
  }
}

.hero-features-section .hero-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-features-section .hero-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-features-section .hero-features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 0;
  }
}

.hero-features-section .hero-feature-card {
  background-color: var(--card);
  border: 1px solid var(--border);
  color: var(--foreground);
}

.hero-features-section .hero-feature-card h3 {
  color: var(--foreground);
}

.hero-features-section .hero-feature-card p {
  color: var(--muted-foreground);
}

.hero-text {
  color: var(--primary-foreground);
  animation: slideUp 0.6s ease-out;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-badge svg {
  color: var(--accent);
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.text-accent {
  color: var(--accent);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.75;
  margin-bottom: 2rem;
  max-width: 36rem;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .hero-description {
    font-size: 1.25rem;
  }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .hero-stats {
    gap: 1.5rem;
    padding: 0;
  }
}

.hero-stats-section .hero-stats {
  padding-top: 0;
  border-top: none;
}

.stat-item {
  text-align: center;
  padding: 1rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s;
}

.stat-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.3);
}

.hero-stats-section .stat-item {
  background-color: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.hero-stats-section .stat-item:hover {
  background-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.hero-stats-section .stat-item svg,
.hero-stats-section .stat-item i {
  color: var(--primary);
}

.hero-stats-section .stat-value {
  color: var(--foreground);
}

.hero-stats-section .stat-label {
  color: var(--muted-foreground);
}

.stat-item svg {
  color: var(--accent);
  margin: 0 auto 0.75rem;
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--primary-foreground);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
  .stat-value {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.95;
  color: var(--primary-foreground);
  font-weight: 500;
}

@media (min-width: 768px) {
  .stat-label {
    font-size: 1rem;
  }
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.hero-image-placeholder {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  overflow: hidden;
}

.hero-image-placeholder svg {
  width: 96px;
  height: 96px;
  color: var(--accent);
  margin-bottom: 1rem;
  animation: float 3s ease-in-out infinite;
}

.hero-image-placeholder p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.hero-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
  height: 100%;
  align-content: center;
}

.hero-feature-card {
  background-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
  color: var(--primary-foreground);
  box-shadow: 0 4px 16px -4px rgba(0, 0, 0, 0.2);
}

.hero-feature-card:hover {
  background-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px -8px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero-feature-icon {
  width: 4.5rem;
  height: 4.5rem;
  background-color: var(--accent);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: var(--accent-foreground);
  transition: all 0.3s;
  box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.3);
}

.hero-feature-icon svg,
.hero-feature-icon i {
  width: 40px;
  height: 40px;
  font-size: 2rem;
  display: block;
}

.hero-feature-card:hover .hero-feature-icon {
  transform: scale(1.1) rotate(5deg);
  background-color: var(--primary-foreground);
  color: var(--accent);
}

.hero-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--primary-foreground);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-feature-card p {
  font-size: 0.9375rem;
  opacity: 0.95;
  line-height: 1.6;
  color: var(--primary-foreground);
  font-weight: 500;
}

@media (max-width: 1023px) {
  .hero-features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .hero-feature-card {
    padding: 1.25rem;
  }
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.hero-wave svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 4rem;
}

.section-badge {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.section-description {
  color: var(--muted-foreground);
  font-size: 1.125rem;
}

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

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background-color: var(--card);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: var(--secondary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: all 0.3s;
}

.feature-card:hover .feature-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
  transform: scale(1.1);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Products Preview Section */
.products-preview-section {
  padding: 3rem 0;
  background-color: var(--secondary);
  width: 100%;
}

@media (min-width: 768px) {
  .products-preview-section {
    padding: 4rem 0;
  }
}

@media (min-width: 1024px) {
  .products-preview-section {
    padding: 6rem 0;
  }
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 480px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1400px) {
  .products-grid {
    gap: 3rem;
  }
}

.product-card {
  background-color: var(--background);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
  border: 2px solid var(--primary);
  border-top: 4px solid var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.product-card:hover::before {
  transform: scaleX(1);
}

@media (min-width: 480px) {
  .product-card {
    padding: 1.75rem;
    min-height: 280px;
  }
}

@media (min-width: 768px) {
  .product-card {
    padding: 2rem;
    min-height: 320px;
  }
}

@media (min-width: 1024px) {
  .product-card {
    padding: 2.5rem;
    min-height: 420px;
  }
}

.product-card:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateY(-8px);
  border-color: var(--accent);
  border-top-color: var(--accent);
}

.product-icon {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--green-light);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: var(--primary);
  transition: all 0.3s;
  font-size: 1.125rem;
}

@media (min-width: 480px) {
  .product-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-icon {
    width: 3.5rem;
    height: 3.5rem;
    font-size: 1.5rem;
  }
}

.product-card:hover .product-icon {
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.product-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  transition: color 0.3s;
}

@media (min-width: 480px) {
  .product-card h3 {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-card h3 {
    font-size: 1.375rem;
  }
}

.product-card:hover h3 {
  color: var(--primary);
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-card img {
  transition: transform 0.3s ease;
}

.product-card p {
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  line-height: 1.6;
  flex-grow: 1;
}

@media (min-width: 480px) {
  .product-card p {
    font-size: 0.875rem;
    line-height: 1.75;
  }
}

@media (min-width: 1024px) {
  .product-card p {
    font-size: 0.9375rem;
  }
}

.mt-12 {
  margin-top: 3rem;
}

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

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, hsl(150, 50%, 18%) 0%, hsl(150, 45%, 30%) 100%);
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  color: var(--primary-foreground);
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

.cta-content p {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

@media (min-width: 768px) {
  .cta-content p {
    font-size: 1.25rem;
  }
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 640px) {
  .cta-buttons {
    flex-direction: row;
  }
}

.cta-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-footer p {
  font-size: 0.875rem;
  opacity: 0.7;
  margin-bottom: 0;
}

.cta-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.cta-footer a:hover {
  text-decoration: underline;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, hsl(150, 50%, 18%) 0%, hsl(150, 45%, 25%) 100%);
  color: var(--primary-foreground);
  padding: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.3;
  pointer-events: none;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: auto;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-logo-icon img {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-icon i {
  font-size: 1.5rem;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-foreground);
}

.footer-logo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.8);
}

.footer-col h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-foreground);
  text-decoration: none;
  transition: all 0.3s;
  flex-shrink: 0;
  position: relative;
}

.social-link i {
  font-size: 1.125rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.social-link:hover {
  background-color: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-2px);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.contact-list svg,
.contact-list i {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.125rem;
  width: 20px;
  font-size: 1rem;
  text-align: center;
}

.contact-list span,
.contact-list a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.contact-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom div {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* Animations */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Mobile Menu */
@media (max-width: 1023px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 0;
    max-height: 0;
    overflow-y: hidden;
    transition: max-height 0.3s ease-in-out;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 49;
    display: flex !important;
  }

  .nav-links.active {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    padding: 0.5rem;
  }
  
  @media (max-width: 767px) {
    .nav-links.active {
      max-height: calc(100vh - 70px);
    }
  }

  .nav-links.active .nav-link {
    padding: 0.875rem 1rem;
    width: 100%;
    display: block;
    text-align: left;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
  }
  
  .nav-link {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  
  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Custom scrollbar for mobile navbar */
  .nav-links.active::-webkit-scrollbar {
    width: 6px;
  }
  
  .nav-links.active::-webkit-scrollbar-track {
    background: var(--secondary);
  }
  
  .nav-links.active::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
  }
  
  .nav-links.active::-webkit-scrollbar-thumb:hover {
    background: var(--accent);
  }
  
  /* Firefox scrollbar for mobile navbar */
  .nav-links.active {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--secondary);
  }
}

/* Page Sections */
.page-hero {
  padding: 7rem 0;
  background-color: var(--secondary);
  margin-top: 90px;
  min-height: 50vh;
}

/* Products Page Hero with Background Image */
.products-hero {
  background-attachment: fixed;
  padding: 12rem 0 !important;
  min-height: 85vh !important;
}

@media (max-width: 1023px) {
  .products-hero {
    background-attachment: scroll;
    padding: 8rem 0 !important;
    min-height: 75vh !important;
  }
}

@media (max-width: 767px) {
  .products-hero {
    padding: 6rem 0 !important;
    min-height: 65vh !important;
  }
}

.page-hero-content {
  max-width: 48rem;
  margin: 0 auto;
  text-align: center;
  animation: slideUp 0.6s ease-out;
}

.page-hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .page-hero h1 {
    font-size: 3rem;
  }
}

.page-hero p {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  line-height: 1.75;
}

/* Content Sections */
.content-section {
  padding: 6rem 0;
  background-color: var(--background);
}

.content-section-alt {
  background-color: var(--secondary);
  padding: 6rem 0;
}

/* Product Sections */
.product-section {
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.product-section:last-child {
  border-bottom: none;
}

/* Product Items */
.product-item {
  background-color: var(--card);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}

.product-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.product-item h4 {
  color: var(--foreground);
  margin-bottom: 0.75rem;
}

.product-image {
  transition: transform 0.3s;
}

.product-item:hover .product-image {
  transform: scale(1.02);
}

@media (max-width: 767px) {
  .product-section .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  
  .product-section h2 {
    font-size: 1.75rem !important;
  }
  
  .product-section h3 {
    font-size: 1.25rem !important;
  }
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background-color: var(--background);
  color: var(--foreground);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(150, 45%, 23%, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Utility Classes */
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* Products Page Full Width Responsive Styles */
.product-section {
  width: 100% !important;
}

.product-section .container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Mobile Styles */
@media (max-width: 767px) {
  .product-section {
    padding: 2rem 0.5rem !important;
  }
  
  .product-section .container {
    padding: 0 0.75rem;
  }
  
  .product-section h2 {
    font-size: 1.5rem !important;
    margin-bottom: 0.75rem !important;
  }
  
  .product-section p {
    font-size: 1rem !important;
    margin-bottom: 1.5rem !important;
  }
  
  .product-section .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    margin-bottom: 2rem !important;
  }
  
  .product-section .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
  }
  
  .product-item h4 {
    font-size: 0.875rem !important;
  }
  
  .product-section h3 {
    font-size: 1.125rem !important;
    margin-bottom: 1rem !important;
  }
  
  .product-section ul {
    gap: 0.75rem !important;
  }
  
  .product-section ul li span {
    font-size: 0.9375rem !important;
  }
  
  .product-section span[style*="padding: 0.625rem"] {
    padding: 0.5rem 0.875rem !important;
    font-size: 0.875rem !important;
  }
}

/* Tablet Styles */
@media (min-width: 768px) and (max-width: 1023px) {
  .product-section {
    padding: 3rem 1rem !important;
  }
  
  .product-section .container {
    padding: 0 1.5rem;
  }
  
  .product-section h2 {
    font-size: 2rem !important;
  }
  
  .product-section .products-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 1.25rem !important;
  }
  
  .product-section .grid-2 {
    gap: 2rem !important;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .product-section {
    padding: 4rem 1rem !important;
  }
  
  .product-section .container {
    padding: 0 2rem;
  }
  
  .product-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
    gap: 1.5rem !important;
  }
}

/* Large Desktop Styles */
@media (min-width: 1400px) {
  .product-section .container {
    max-width: 1600px;
    padding: 0 3rem;
  }
  
  .product-section .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 2rem !important;
  }
}

/* ============================================
   COMPREHENSIVE RESPONSIVE STYLES FOR ALL PAGES
   ============================================ */

/* Base Container Responsive Improvements */
@media (max-width: 767px) {
  .container {
    padding: 0 1rem !important;
  }
  
  /* Typography Scaling */
  h1 {
    font-size: 1.75rem !important;
    line-height: 1.3 !important;
  }
  
  h2 {
    font-size: 1.5rem !important;
  }
  
  h3 {
    font-size: 1.25rem !important;
  }
  
  h4 {
    font-size: 1.125rem !important;
  }
  
  p {
    font-size: 0.9375rem !important;
  }
  
  /* Navbar Improvements */
  .nav-content {
    height: 70px !important;
  }
  
  .logo {
    display: flex !important;
    align-items: center !important;
    z-index: 51;
    position: relative;
  }
  
  .logo img {
    height: 50px !important;
    display: block !important;
    visibility: visible !important;
  }
  
  .mobile-menu-btn {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 51;
    position: relative;
  }
  
  .navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Page Hero Responsive */
  .page-hero {
    padding: 4rem 0 !important;
    min-height: 40vh !important;
  }
  
  .page-hero h1 {
    font-size: 1.75rem !important;
    margin-bottom: 1rem !important;
  }
  
  .page-hero p {
    font-size: 1rem !important;
  }
  
  /* Content Sections */
  .content-section,
  .content-section-alt {
    padding: 3rem 0 !important;
  }
  
  /* Hero Title Centered */
  .hero-title-centered {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  
  .hero-description-centered {
    font-size: 1rem !important;
    padding: 0 0.5rem !important;
  }
  
  .hero-buttons-centered {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.75rem !important;
  }
  
  .hero-buttons-centered .btn {
    width: 100% !important;
    justify-content: center !important;
  }
  
  /* Hero Stats */
  .hero-stats {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .hero-stats-section {
    padding: 2rem 0 !important;
  }
  
  /* Hero Features */
  .hero-features-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  .hero-features-section {
    padding: 2rem 0 !important;
  }
  
  .hero-feature-card {
    padding: 1.25rem !important;
  }
  
  /* Section Headers */
  .section-header {
    text-align: center !important;
    margin-bottom: 2rem !important;
  }
  
  .section-title {
    font-size: 1.75rem !important;
  }
  
  .section-description {
    font-size: 1rem !important;
  }
  
  /* Feature Cards */
  .feature-card {
    padding: 1.25rem !important;
  }
  
  /* Grid Layouts */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  
  /* Contact Page */
  .grid-3 > div[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
  
  /* Forms */
  .form-group {
    margin-bottom: 1.25rem !important;
  }
  
  .form-input,
  .form-textarea {
    font-size: 16px !important; /* Prevents zoom on iOS */
    padding: 0.875rem !important;
  }
  
  /* Buttons */
  .btn {
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9375rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .btn-sm {
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  /* Gallery */
  .gallery-filter {
    padding: 0.5rem 1rem !important;
    font-size: 0.8125rem !important;
  }
  
  section[style*="position: sticky"] {
    position: relative !important;
    top: auto !important;
  }
  
  .gallery-item {
    aspect-ratio: 1 !important;
  }
  
  .gallery-item .overlay h3 {
    font-size: 1rem !important;
  }
  
  .gallery-item .overlay span {
    font-size: 0.8125rem !important;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column !important;
    gap: 2rem !important;
    text-align: center !important;
  }
  
  .footer-links {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  /* Stats Box */
  .story-stats {
    position: relative !important;
    margin-top: 2rem !important;
  }
  
  /* CTA Section */
  .cta-section {
    padding: 3rem 1rem !important;
  }
  
  .cta-content h2 {
    font-size: 1.5rem !important;
  }
  
  .cta-content p {
    font-size: 1rem !important;
  }
}

/* Tablet Styles (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 1.5rem !important;
  }
  
  /* Typography */
  h1 {
    font-size: 2.25rem !important;
  }
  
  h2 {
    font-size: 1.875rem !important;
  }
  
  /* Page Hero */
  .page-hero {
    padding: 5rem 0 !important;
    min-height: 45vh !important;
  }
  
  .page-hero h1 {
    font-size: 2.5rem !important;
  }
  
  /* Content Sections */
  .content-section,
  .content-section-alt {
    padding: 4rem 0 !important;
  }
  
  /* Hero Title */
  .hero-title-centered {
    font-size: 2.5rem !important;
  }
  
  .hero-description-centered {
    font-size: 1.125rem !important;
  }
  
  /* Grid Layouts */
  .grid-2 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Hero Features */
  .hero-features-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* Hero Stats */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  /* Contact Page Grid */
  .grid-3 > div[style*="grid-column: span 2"] {
    grid-column: span 2 !important;
  }
}

/* Desktop Styles (1024px - 1399px) */
@media (min-width: 1024px) and (max-width: 1399px) {
  .container {
    padding: 0 2rem !important;
  }
  
  /* Grid Layouts */
  .grid-3 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
  
  .grid-4 {
    grid-template-columns: repeat(4, 1fr) !important;
  }
  
  /* Hero Features */
  .hero-features-grid {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

/* Large Desktop Styles (1400px+) */
@media (min-width: 1400px) {
  .container {
    max-width: 1600px !important;
    padding: 0 3rem !important;
  }
  
  /* Content Sections */
  .content-section,
  .content-section-alt {
    padding: 7rem 0 !important;
  }
  
  /* Page Hero */
  .page-hero {
    padding: 8rem 0 !important;
  }
}

/* Extra Small Devices (320px - 479px) */
@media (max-width: 479px) {
  .container {
    padding: 0 0.75rem !important;
  }
  
  h1 {
    font-size: 1.5rem !important;
  }
  
  h2 {
    font-size: 1.25rem !important;
  }
  
  .page-hero {
    padding: 3rem 0 !important;
    min-height: 35vh !important;
  }
  
  .page-hero h1 {
    font-size: 1.5rem !important;
  }
  
  .content-section,
  .content-section-alt {
    padding: 2rem 0 !important;
  }
  
  .hero-title-centered {
    font-size: 1.75rem !important;
  }
  
  .hero-description-centered {
    font-size: 0.9375rem !important;
  }
  
  .btn {
    padding: 0.625rem 1rem !important;
    font-size: 0.875rem !important;
  }
  
  .feature-card {
    padding: 1rem !important;
  }
  
  .hero-feature-card {
    padding: 1rem !important;
  }
}

/* Landscape Orientation for Mobile */
@media (max-width: 767px) and (orientation: landscape) {
  .hero-section {
    min-height: auto !important;
    padding: 2rem 0 !important;
  }
  
  .page-hero {
    min-height: auto !important;
    padding: 3rem 0 !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .mobile-menu-btn,
  .btn,
  .footer {
    display: none !important;
  }
}

/* Ensure navbar is always visible on screens */
@media screen {
  .navbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  @media (max-width: 1023px) {
    .mobile-menu-btn {
      display: flex !important;
      visibility: visible !important;
      opacity: 1 !important;
    }
    
    .logo {
      display: flex !important;
      visibility: visible !important;
    }
  }
}
  
  .page-hero,
  .content-section,
  .content-section-alt {
    padding: 1rem 0 !important;
  }
  
  body {
    font-size: 12pt !important;
    line-height: 1.5 !important;
  }
}

/* Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  z-index: 1000;
}

.fab {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
  font-size: 1.5rem;
}

.fab:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-whatsapp:hover {
  background-color: #20BA5A;
}

.fab-phone {
  background-color: var(--primary);
}

.fab-phone:hover {
  background-color: hsl(150, 50%, 15%);
}

.fab-tooltip {
  position: absolute;
  right: 4.5rem;
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.fab-tooltip::after {
  content: '';
  position: absolute;
  right: -0.375rem;
  top: 50%;
  transform: translateY(-50%);
  border: 0.375rem solid transparent;
  border-left-color: rgba(0, 0, 0, 0.85);
}

.fab:hover .fab-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Responsive Floating Actions */
@media (max-width: 767px) {
  .floating-actions {
    bottom: 1.5rem;
    right: 1.5rem;
    gap: 0.75rem;
  }

  .fab {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
  }

  .fab-tooltip {
    right: 3.75rem;
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
  }
}

@media (max-width: 480px) {
  .floating-actions {
    bottom: 1rem;
    right: 1rem;
  }

  .fab {
    width: 2.75rem;
    height: 2.75rem;
    font-size: 1.125rem;
  }

  .fab-tooltip {
    display: none;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.75rem;
}

.whatsapp-float:hover {
  background-color: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Responsive WhatsApp Button */
@media (max-width: 767px) {
  .whatsapp-float {
    width: 3rem;
    height: 3rem;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 2.75rem;
    height: 2.75rem;
    bottom: 1rem;
    right: 1rem;
    font-size: 1.375rem;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
  /* Can be implemented later if dark mode is needed */
}

/* Gallery Page Specific Responsive Styles */
@media (max-width: 767px) {
  section[style*="position: sticky"] {
    padding: 1rem 0 !important;
  }
  
  .gallery-filter {
    flex: 1 1 auto !important;
    min-width: calc(50% - 0.25rem) !important;
  }
  
  div[style*="display: flex"][style*="flex-wrap"] {
    gap: 0.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .gallery-item .overlay h3 {
    font-size: 1.125rem !important;
  }
}

/* About Page Stats Box Responsive */
@media (max-width: 767px) {
  .story-stats {
    position: relative !important;
    margin-top: 2rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  
  .story-stats .stat-item {
    padding: 1rem !important;
  }
}

/* Franchise Page Responsive */
@media (max-width: 767px) {
  .hero-section[style*="min-height: auto"] {
    padding: 3rem 0 !important;
  }
  
  .hero-section[style*="min-height: auto"] h1 {
    font-size: 1.75rem !important;
  }
}

/* Contact Page Form Responsive */
@media (max-width: 767px) {
  .grid-2[style*="gap: 1.5rem"] {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }
  
  div[style*="grid-column: span 2"] {
    grid-column: span 1 !important;
  }
  
  div[style*="background-color: var(--card)"][style*="padding: 2rem"] {
    padding: 1.5rem !important;
  }
}

/* Image Responsive */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent horizontal scroll */
body {
  overflow-x: hidden;
}

* {
  max-width: 100%;
}

/* Ensure all sections are responsive */
section {
  width: 100%;
  box-sizing: border-box;
}

