/* ------------------------------
   RESET & BASE
------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none !important;
}

:root {
  --primary: #81c784;
  --primary-light: #a5d6a7;
  --primary-dark: #66bb6a;
  --secondary: #4caf50;
  --accent: #ffc107;
  --light: #e8f5e9;
  --dark: #121212;
  --gray: #b0bec5;
  --light-gray: #263238;
  --white: #1e1e1e;
  --card-bg: #1e1e1e;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  --transition: all 0.3s ease;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--light);
  background-color: var(--dark);
  scroll-behavior: smooth;
  width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

section {
  width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  width: 100%;
  overflow: hidden;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--light);
  word-wrap: break-word;
}

.section-header h2 span {
  color: var(--primary);
  position: relative;
}

.section-header h2 span::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 4px;
  background: var(--accent);
  bottom: -5px;
  left: 0;
  border-radius: 2px;
}

.section-header p {
  color: var(--gray);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  word-wrap: break-word;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  gap: 10px;
  font-size: 1rem;
  max-width: 100%;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  box-shadow: 0 5px 15px rgba(129, 199, 132, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(129, 199, 132, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--dark);
}

.highlight {
  color: var(--primary);
  position: relative;
}

.highlight::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 6px;
  background: rgba(255, 193, 7, 0.3);
  bottom: 2px;
  left: 0;
  z-index: -1;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ========== HEADER - FIXED WITH WORKING MENU ========== */

/* ------------------------------
   HEADER
------------------------------- */
header {
  background: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
  /* Removed overflow: hidden to allow mobile menu to show */
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.logo p {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 500;
}
/* Desktop Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: var(--light);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  padding: 5px 0;
  font-size: 1rem;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent !important;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary);
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  background: var(--primary);
  bottom: 0;
  left: 0;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links li a:hover::after,
.nav-links li a.active::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--light);
  transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%; /* Adjusted for better look */
    height: 100vh;
    background: var(--card-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: 0.4s ease-in-out;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    margin: 15px 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* ========== HERO SECTION - FIXED SPACING ========== */
.hero {
  padding: 140px 20px 80px !important;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, #121212 100%);
  position: relative;
  overflow: hidden;
  margin-top: 0 !important;
  width: 100%;
  min-height: auto;
}

.hero::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(129, 199, 132, 0.1);
  border-radius: 50%;
  top: -150px;
  right: -100px;
}

.hero::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 193, 7, 0.1);
  border-radius: 50%;
  bottom: -100px;
  left: -50px;
}

.hero-tag {
  display: inline-block;
  background: var(--accent);
  color: var(--dark);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  max-width: 100%;
}

.hero-content h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--light);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.hero-content p {
  font-size: 1.1rem;
  color: var(--gray);
  margin-bottom: 30px;
  max-width: 90%;
  word-wrap: break-word;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.mini-stat {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 150%;
}

.mini-stat i {
  font-size: 2rem;
  color: var(--primary);
  background: var(--light-gray);
  width: 60px;
  height: 60px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-stat h3 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  word-wrap: break-word;
}

.mini-stat p {
  font-size: 0.9rem;
  color: var(--gray);
  margin: 0;
  white-space: nowrap; /* ← ADD: Prevent text wrapping */
  overflow: visible;
}

.hero-image-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  max-width: 100%;
}

.hero-image img:hover {
  transform: scale(1.02);
}

.floating-card {
  position: absolute;
  bottom: 30px;
  right: -20px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: 15px;
  box-shadow: var(--shadow);
  text-align: center;
  width: 180px;
  animation: float 3s ease-in-out infinite;
  max-width: calc(100% - 40px);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.floating-card i {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.floating-card h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--light);
  word-wrap: break-word;
}

.floating-card p {
  font-size: 0.9rem;
  color: var(--gray);
  word-wrap: break-word;
}

/* ========== MOBILE HERO FIXES ========== */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 120px 20px 60px !important;
  }

  .hero-content h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 15px 50px !important;
    gap: 30px;
  }

  .hero-content h2 {
    font-size: 1.8rem !important;
    line-height: 1.3;
  }

  .hero-content p {
    font-size: 1rem !important;
    max-width: 100% !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .floating-card {
    position: relative !important;
    width: 100% !important;
    max-width: 250px;
    margin: 20px auto 0 auto;
    right: auto !important;
    bottom: auto !important;
  }

  .hero::before,
  .hero::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 90px 15px 40px !important;
  }

  .hero-content h2 {
    font-size: 1.6rem !important;
  }

  .mini-stat h3 {
    font-size: 1.8rem !important;
  }
}

/* ========== ABOUT SECTION ========== */
.about {
  padding: 80px 20px;
  background: var(--dark);
  width: 100%;
  overflow: hidden;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.about-image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  max-width: 100%;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--primary);
  color: var(--dark);
  padding: 25px;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: calc(100% - 40px);
}

.experience-badge h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
  word-wrap: break-word;
}

.about-feature {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 15px;
  background: var(--card-bg);
  transition: var(--transition);
  width: 100%;
  overflow: hidden;
}

.about-feature:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.about-feature h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--light);
  word-wrap: break-word;
}

.about-feature p {
  color: var(--gray);
  word-wrap: break-word;
}

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 60px 15px !important;
  }

  .experience-badge {
    position: relative !important;
    margin: 20px auto 0 auto !important;
    width: 140px;
    right: auto !important;
    bottom: auto !important;
    left: 0 !important;
  }

  .about-feature {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ========== SERVICES SECTION ========== */
.services {
  padding: 80px 20px;
  background: var(--light-gray);
  width: 100%;
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  width: 100%;
}

.service-card {
  background: var(--card-bg);
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  width: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--dark);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 25px;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--light);
  word-wrap: break-word;
}

.service-card p {
  color: var(--gray);
  margin-bottom: 20px;
  word-wrap: break-word;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  max-width: 100%;
}

.service-link:hover {
  gap: 15px;
  color: var(--accent);
}

.service-corner {
  position: absolute;
  bottom: 20px;
  right: 20px;
  color: rgba(255, 255, 255, 0.05);
  font-size: 3rem;
}

@media (max-width: 768px) {
  .services {
    padding: 60px 15px !important;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* ========== PRODUCTS SECTION ========== */
.products {
  padding: 80px 20px;
  background: var(--light-gray);
  width: 100%;
  overflow: hidden;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
  width: 100%;
}

.product-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.product-image {
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  width: 100%;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  max-width: 100%;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(129, 199, 132, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-overlay h4 {
  color: var(--dark);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 10px 20px;
  background: var(--light);
  border-radius: 30px;
  word-wrap: break-word;
  max-width: 90%;
  text-align: center;
}

.product-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-content h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--light);
  font-weight: 600;
  word-wrap: break-word;
}

.product-content p {
  color: var(--gray);
  margin-bottom: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  flex-grow: 1;
  word-wrap: break-word;
}

.products-view-more {
  text-align: center;
  margin-top: 40px;
  width: 100%;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products {
    padding: 60px 15px !important;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 15px;
    width: 100%;
  }

  .product-image {
    height: 180px;
  }

  .product-content {
    padding: 15px;
  }

  .product-content h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
  }

  .product-image {
    height: 200px;
  }
}

/* ========== COMPLETE REVIEW SECTION FIX - NO BLACK SPACE ========== */
.reviews {
  padding: 60px 20px !important;
  background: #1a1a1a;
  width: 100%;
  overflow: hidden !important;
  position: relative;
  min-height: 400px;
}

.reviews-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  width: 100%;
}

.review-carousel {
  position: relative;
  width: 100%;
  height: auto !important;
  min-height: 320px !important;
  overflow: hidden !important;
  margin: 0 auto 30px;
}

/* FIX: Review Cards Positioning */
.review-card {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  background: var(--card-bg);
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: all 0.5s ease-in-out !important;
  box-sizing: border-box;
  margin: 0 !important;
  height: auto !important;
  max-height: none !important;
  z-index: 1;
}

.review-card.active {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateX(0) !important;
  position: relative !important;
  left: 0 !important;
  z-index: 2;
}

/* Review content fixes */
.review-header {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.reviewer-info h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--light);
  word-wrap: break-word;
}

.reviewer-info p {
  color: var(--gray);
  font-size: 0.85rem;
  word-wrap: break-word;
}

.review-rating {
  color: var(--accent);
  font-size: 1.1rem;
  display: flex;
  gap: 3px;
}

.review-body {
  margin-bottom: 15px;
  width: 100%;
}

.review-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--light);
  word-wrap: break-word;
}

.review-quote {
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.05);
  font-size: 2.5rem;
  opacity: 0.3;
}

/* Review controls - NO BLUE TAP HIGHLIGHT */
.review-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 30px;
  width: 100%;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}

.control-btn:hover {
  background: var(--primary);
  color: var(--dark);
}

.control-btn:active,
.control-btn:focus {
  background: var(--primary) !important;
  color: var(--dark) !important;
  transform: scale(0.95);
  box-shadow: none !important;
}

/* Dots */
.review-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent !important;
}

.dot.active {
  background: var(--primary);
  transform: scale(1.2);
}

/* Mobile specific fixes for Reviews */
@media (max-width: 768px) {
  .reviews {
    padding: 40px 15px !important;
    min-height: 350px;
  }

  .review-carousel {
    min-height: 280px !important;
    margin-bottom: 20px;
  }

  .review-card {
    padding: 20px;
    border-radius: 12px;
  }

  .review-controls {
    margin-top: 20px;
    gap: 15px;
  }

  .control-btn {
    width: 35px;
    height: 35px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .reviews {
    padding: 30px 10px !important;
  }

  .review-carousel {
    min-height: 300px !important;
  }
}

/* ========== CONTACT SECTION ========== */
.contact {
  padding: 80px 20px;
  background: var(--dark);
  width: 100%;
  overflow: hidden;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  width: 100%;
}

.contact-details {
  margin: 40px 0;
  width: 100%;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  border-radius: 15px;
  background: var(--card-bg);
  transition: var(--transition);
  width: 100%;
}

.contact-item:hover {
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: var(--dark);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--light);
  word-wrap: break-word;
}

.contact-item p {
  color: var(--gray);
  word-wrap: break-word;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--light-gray);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
  font-size: 1.2rem;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent !important;
}

.social-links a:hover {
  background: var(--primary);
  color: var(--dark);
  transform: translateY(-5px);
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  width: 100%;
}

.form-group {
  margin-bottom: 25px;
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background: var(--light-gray);
  color: var(--light);
  box-sizing: border-box;
  max-width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(129, 199, 132, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
}

.contact-form button {
  width: 100%;
}

@media (max-width: 992px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .contact {
    padding: 60px 15px !important;
  }

  .contact-form {
    padding: 25px !important;
  }

  .contact-item {
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* ========== FOOTER - FIXED TEXT CUTTING ========== */
footer {
  background: linear-gradient(135deg, #1a1a1a, var(--dark));
  color: var(--light);
  padding: 60px 20px 30px;
  width: 100%;
  overflow: hidden;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  width: 100%;
  text-align: left;
}

.footer-logo {
  text-align: left;
}

.footer-logo .logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  justify-content: flex-start;
}

.footer-logo .logo-icon {
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
}

.footer-logo h1,
.footer-logo p {
  color: var(--light);
}

.footer-description {
  margin-top: 20px;
  opacity: 0.8;
  line-height: 1.7;
  word-wrap: break-word;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.footer-links,
.footer-services,
.footer-newsletter {
  text-align: left;
  width: 100%;
  overflow: hidden;
}

.footer-links h4,
.footer-services h4,
.footer-newsletter h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  color: var(--light);
  word-wrap: break-word;
  text-align: left;
  width: 100%;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-newsletter h4::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: var(--accent);
  bottom: 0;
  left: 0;
  border-radius: 2px;
}

.footer-links ul,
.footer-services ul {
  list-style: none;
  width: 100%;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-services li {
  margin-bottom: 15px;
  text-align: left;
  width: 100%;
}

.footer-links a,
.footer-services a {
  color: rgba(232, 245, 233, 0.8);
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
  word-wrap: break-word;
  max-width: 100%;
}

.footer-links a:hover,
.footer-services a:hover {
  color: var(--light);
  padding-left: 5px;
}

.footer-newsletter p {
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.7;
  word-wrap: break-word;
  text-align: left;
  width: 100%;
}

.newsletter-form {
  display: flex;
  border-radius: 50px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
  width: 100%;
  max-width: 100%;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  background: transparent;
  color: var(--light);
  font-family: "Poppins", sans-serif;
  min-width: 0;
  width: 100%;
}

.newsletter-form input::placeholder {
  color: rgba(232, 245, 233, 0.6);
}

.newsletter-form button {
  background: var(--accent);
  color: var(--dark);
  border: none;
  padding: 0 25px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent !important;
  outline: none !important;
}

.newsletter-form button:hover {
  background: #ffb300;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  opacity: 0.8;
  word-wrap: break-word;
  width: 100%;
}

.footer-policies {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.footer-policies a {
  color: rgba(232, 245, 233, 0.8);
  text-decoration: none;
  transition: var(--transition);
  word-wrap: break-word;
  white-space: nowrap;
}

.footer-policies a:hover {
  color: var(--light);
}

/* Mobile Footer Fixes */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr !important;
    /*text-align: center !important;*/
    gap: 30px;
  }

  .footer-logo,
  .footer-links,
  .footer-services,
  .footer-newsletter {
    text-align: left !important;
  }

  .footer-links h4::after,
  .footer-services h4::after,
  .footer-newsletter h4::after {
    left: 0 !important;
    transform: none !important;
  }

  .footer-links ul,
  .footer-services ul {
    text-align: left;
  }

  .footer-links li,
  .footer-services li {
    text-align: left;
  }

  .footer-links a:hover,
  .footer-services a:hover {
    padding-left: 5px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start; /* ← CHANGED from center to flex-start */
    text-align: left;
    gap: 15px;
  }

  .footer-policies {
    flex-direction: row;
    justify-content: flex-start;
    gap: 20px;
  }

  footer {
    padding: 40px 15px 20px !important;
  }
}

/* ========== GLOBAL RESPONSIVE FIXES ========== */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem !important;
  }

  .section-header p {
    font-size: 1rem !important;
    padding: 0 10px;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.6rem !important;
  }

  .section-header p {
    font-size: 0.9rem !important;
  }

  .btn {
    padding: 12px 24px !important;
    font-size: 0.9rem !important;
  }
}

/* ========== REMOVE ALL BLUE TAP HIGHLIGHTS ========== */
button:active,
button:focus,
.btn:active,
.btn:focus,
.control-btn:active,
.control-btn:focus,
.hamburger:active,
.hamburger:focus,
a:active,
a:focus {
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Fix for iOS Safari blue tap */
@supports (-webkit-touch-callout: none) {
  button,
  .btn,
  .control-btn,
  .hamburger {
    -webkit-tap-highlight-color: transparent !important;
  }
}
