/* --- Global Styles & Variables --- */
:root {
  --primary: #8B4513; /* Saddle Brown */
  --primary-dark: #5D2906;
  --primary-light: #A5672F;
  --secondary: #6B8E23; /* Olive Drab */
  --accent: #D2B48C; /* Tan */
  --text-dark: #362C22;
  --text-medium: #5A4A3A;
  --text-light: #F8F4E3;
  --bg-light: #F8F4E3;
  --bg-dark: #362C22;
  --white: #FFFFFF;
  --gray-light: #F5F5F5;
  --gray-medium: #E0E0E0;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary);
}

.section-dark .section-title::after {
  background: var(--accent);
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-medium);
}

.section-dark .section-subtitle {
  color: rgba(255,255,255,0.8);
}

.section-footer {
  text-align: center;
  margin-top: 3rem;
}

/* --- Buttons --- */
.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
}

.cta-button i {
  margin-left: 8px;
}

.cta-button.primary {
  background: var(--primary);
  color: var(--white);
}

.cta-button.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.secondary {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.cta-button.secondary:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.cta-button.outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.cta-button.outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --- Header & Navigation --- */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

nav {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0.5rem 1rem; /* Reduced horizontal padding */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav .logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.nav-logo {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

nav ul li a {
  color: var(--text-dark);
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a:focus {
  background: rgba(139, 69, 19, 0.1);
  color: var(--primary);
}

/* Mobile Navigation */
.nav-toggle {
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-right: 0.5rem; /* Add small margin from right edge */
    padding: 0; /* Remove any padding */
}

.nav-toggle .bar {
  width: 28px;
  height: 3px;
  background: var(--primary);
  margin: 4px 0;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

.nav-overlay {
  position: fixed;
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(5px);  
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
  left: 30px;
}

.slider-btn.next {
  right: 30px;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: var(--white);
  transform: scale(1.2);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  animation: fadeInUp 1s ease;
}

.hero-highlight {
  display: block;
  font-size: 1.5rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
  color: var(--accent);
}

.hero-brand {
  font-size: clamp(2.5rem, 6vw, 4rem);
  display: block;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
  color: var(--white);
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  animation: fadeInUp 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- Services Section --- */
.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

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

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

.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: rgba(139, 69, 19, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-card p {
  color: var(--text-medium);
  margin-bottom: 1.5rem;
}

.service-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  transition: var(--transition);
}

.service-link i {
  margin-left: 8px;
  transition: var(--transition);
}

.service-link:hover {
  color: var(--primary-dark);
}

.service-link:hover i {
  transform: translateX(4px);
}

/* --- Product Categories --- */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.category-image {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(139, 69, 19, 0.1);
  transition: var(--transition);
}

.category-card:hover .category-image {
  border-color: var(--primary);
  transform: scale(1.05);
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.category-card:hover .category-image img {
  transform: scale(1.1);
}

.category-card span {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary);
  margin-top: 0.5rem;
  transition: var(--transition);
}

.category-card:hover span {
  color: var(--primary-dark);
}

.category-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(139, 69, 19, 0.9);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
  padding: 1.5rem;
}

.category-card:hover .category-overlay {
  opacity: 1;
}

.category-overlay p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* --- Featured Products --- */
.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.featured-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.section-dark .featured-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.featured-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--primary);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  padding: 15px;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  transition: var(--transition);
  z-index: 2;
}

.featured-card:hover .product-actions {
  bottom: 0;
}

.quick-view {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}

.quick-view:hover {
  background: var(--primary-dark);
}

.featured-content {
  padding: 1.5rem;
}

.featured-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.section-dark .featured-content h3 {
  color: var(--accent);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0.5rem;
}

.product-rating i {
  color: #FFC107;
  font-size: 0.9rem;
}

.product-rating span {
  font-size: 0.8rem;
  color: var(--text-medium);
}

.section-dark .product-rating span {
  color: rgba(255, 255, 255, 0.7);
}

.product-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
}

.section-dark .product-price {
  color: var(--accent);
}

/* --- About Section --- */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.about-story,
.about-history {
  margin-bottom: 1.5rem;
  color: var(--text-medium);
  line-height: 1.7;
}

.about-story strong,
.about-history strong {
  color: var(--primary);
}

.about-usp {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.about-usp li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 500;
  color: var(--primary);
}

.about-usp i {
  color: var(--secondary);
  font-size: 1.2rem;
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

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

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.about-image {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.section-dark .testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 5rem;
  font-family: serif;
  color: rgba(139, 69, 19, 0.1);
  line-height: 1;
}

.testimonial-rating {
  color: #FFC107;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-name {
  font-weight: 600;
  display: block;
  color: var(--primary);
}

.section-dark .author-name {
  color: var(--accent);
}

.author-title {
  font-size: 0.9rem;
  color: var(--text-medium);
}

.section-dark .author-title {
  color: rgba(255, 255, 255, 0.7);
}

.trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border-radius: 14px;
  padding: 1.5rem;
  min-width: 160px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.section-dark .trust-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.trust-badge span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-dark);
}

.section-dark .trust-badge span {
  color: var(--white);
}

.trust-badge:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

/* --- Newsletter --- */
.newsletter-content {
  background: var(--primary);
  border-radius: 16px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.newsletter-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.newsletter-text p {
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  gap: 1rem;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
  min-width: 0;
}

.newsletter-form input:focus {
  outline: 2px solid var(--accent);
}

/* --- Contact Section --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-item i {
  font-size: 1.3rem;
  color: var(--accent);
  min-width: 24px;
}

.contact-info-item a,
.contact-info-item span {
  color: var(--white);
  transition: var(--transition);
}

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

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.section-dark .contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-medium);
  font-size: 1rem;
  transition: var(--transition);
}

.section-dark .form-group input,
.section-dark .form-group textarea {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
}

.section-dark .form-group input:focus,
.section-dark .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(210, 180, 140, 0.3);
}

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

/* --- Footer --- */
footer {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 4rem 0 0;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about {
  max-width: 300px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo img {
  height: 40px;
  margin-right: 12px;
}

.footer-about p {
  opacity: 0.8;
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-contact h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--white);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  opacity: 0.8;
}

.footer-contact i {
  color: var(--accent);
  min-width: 20px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  margin-bottom: 1rem;
  opacity: 0.7;
  font-size: 0.9rem;
}

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

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
}

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

/* --- Back to Top Button --- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .hero-slider {
    height: 70vh;
    min-height: 500px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  
  nav ul {
    position: fixed;
    top: 80px;
    right: 0;
    width: 280px;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    padding: 2rem 0;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.open {
    transform: translateX(0);
  }
  
  nav ul li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
  }
  
  nav ul.open li {
    opacity: 1;
    transform: translateX(0);
  }
  
  nav ul li:nth-child(1) { transition-delay: 0.1s; }
  nav ul li:nth-child(2) { transition-delay: 0.15s; }
  nav ul li:nth-child(3) { transition-delay: 0.2s; }
  nav ul li:nth-child(4) { transition-delay: 0.25s; }
  
  nav ul li a {
    width: 100%;
    display: block;
    padding: 15px 30px;
    font-size: 1.1rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
  }
  
  nav ul li a:hover {
    background: rgba(139, 69, 19, 0.1);
    border-left: 4px solid var(--primary);
    padding-left: 26px;
  }
  
  .nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
  
  .hero-slider {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-content {
    padding-top: 80px;
  }
  
  .about-usp {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-slider {
    height: 70vh;
  }
  
  .hero-content {
    padding-top: 60px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  
  .services-container,
  .categories-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
  }
  
  .footer-about {
    max-width: 100%;
  }
  
  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    bottom: 20px;
    right: 20px;
  }
}

/* Contact Section Styles */
#contact .contact-wrapper {
  display: flex;
  gap: 2rem; /* Increased gap for better spacing */
}

#contact .contact-info {
  flex: 1;
}

#contact .contact-map {
  flex: 1;
  border-radius: 10px; /* Rounded corners for a softer look */
  overflow: hidden; /* Ensure the iframe doesn't overflow the rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

#contact .contact-map iframe {
  width: 100%;
  height: 450px; /* Fixed height for a consistent look */
  border: 0;
}

/* Media Query for Responsiveness */
@media (max-width: 768px) {
  #contact .contact-wrapper {
    flex-direction: column; /* Stack the contact info and map on smaller screens */
  }

  #contact .contact-map iframe {
    height: 300px; /* Adjust height for smaller screens */
  }
}

.fade-in { animation: fadeIn 0.6s forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.ripple-effect {
  position: absolute;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  border-radius: 50%;
  pointer-events: none;
  animation: ripple 0.6s linear;
}

@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}

.enquiry-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  padding: 15px;
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  animation: slideIn 0.3s forwards;
}

@keyframes slideIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

input.valid { border-color: #4CAF50 !important; }
input.invalid { border-color: #F44336 !important; }

/* Update Hero Section Responsive Styles */
@media (max-width: 768px) {
  .hero-slider {
    height: 100vh; /* Full viewport height on mobile */
    min-height: 400px;
  }

  .slide img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-content {
    padding: 0 20px;
    width: 90%;
  }

  .hero-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
  }

  .hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
  }

  .hero-desc {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
  }

  /* Adjust slider navigation for better mobile experience */
  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .slider-dots {
    bottom: 20px;
  }
}

/* Improve section spacing and alignment */
.section-container {
  padding: 4rem 20px;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

@media (max-width: 576px) {
  .section-container {
    padding: 3rem 15px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  /* Improve grid layouts for mobile */
  .services-container,
  .categories-grid,
  .featured-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 10px;
  }

  /* Adjust cards for better mobile display */
  .service-card,
  .category-card,
  .featured-card {
    margin: 0 auto;
    max-width: 100%;
  }

  /* Improve About section layout */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .stat-item {
    flex: 0 0 calc(50% - 1rem);
  }
}

/* Add smooth transitions for responsive changes */
.hero-content,
.section-container,
.service-card,
.category-card,
.featured-card {
  transition: all 0.3s ease-in-out;
}

/* Improve navigation responsiveness */
@media (max-width: 768px) {
  nav {
    padding: 0.8rem 15px;
  }

  .nav-logo {
    height: 35px;
  }

  nav .logo span {
    font-size: 1.2rem;
  }

  /* Enhance mobile menu */
  nav ul {
    width: 100%;
    max-width: 300px;
    background: var(--white);
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  }

  nav ul li a {
    padding: 12px 20px;
  }
}

/* Improve testimonials section responsiveness */
@media (max-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .testimonial-card {
    padding: 1.5rem;
  }

  .trust-badges {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .trust-badge {
    flex: 0 0 calc(50% - 1rem);
    min-width: 140px;
    padding: 1rem;
  }
}

/* Improve contact section responsiveness */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-info,
  .contact-map {
    width: 100%;
  }

  .contact-map iframe {
    height: 300px;
  }

  .social-links {
    justify-content: center;
  }
}