:root {
  --primary-green: #2e8b57;
  --dark-green: #1a5c3a;
  --light-green: #7fcf7d;
  --mint-green: #bfe6cb;
  --pastel-green: #b7e8b1;
  --accent-green: #3cb371;
  --gold: #d4af37;
  --cream: #f5f9f6;
  --text-dark: #1a331a;
  --text-medium: #2d4a2d;
  --text-light: #3d5c3d;
}

* {
  box-sizing: border-box;
  /*animation: none !important;*/
}

body {
  font-family: 'Quicksand', system-ui, -apple-system, Segoe UI, Roboto, 'Helvetica Neue', Arial;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--pastel-green) 0%, var(--light-green) 50%, var(--primary-green) 100%);
  background-attachment: fixed;
  overflow-x: hidden;
  font-size: 18px;
  line-height: 1.6;
}

/* Animated background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: linear-gradient(135deg, var(--pastel-green) 0%, var(--light-green) 50%, var(--primary-green) 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Floating elements */
.floating-elements {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  animation: float 15s infinite ease-in-out;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* Enhanced Navbar - Green Theme */
.glass-nav {
  background: rgba(46, 139, 87, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(16, 24, 16, 0.2);
  transition: all 0.3s ease;
}

.glass-nav.scrolled {
  background: rgba(26, 92, 58, 0.95);
}

.navbar-brand .logo-circle {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.navbar-brand:hover .logo-circle {
  transform: rotate(15deg) scale(1.05);
  animation: none;
}

.brand-title {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  color: white;
  font-size: 1.4rem;
}

.brand-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  font-size: 1.1rem;
}

.nav-link:hover {
  color: white !important;
  transform: translateY(-2px);
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}

.nav-link:hover:after {
  width: 100%;
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
  color: white;
  border-radius: 14px;
  padding: 12px 22px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  animation: buttonGlow 2s infinite alternate;
  font-size: 1.1rem;
  font-weight: 600;
}

@keyframes buttonGlow {
  0% { box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); }
  100% { box-shadow: 0 4px 20px rgba(60, 179, 113, 0.5); }
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  color: white;
  animation: none;
}

.btn-cta:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.btn-cta:hover:before {
  left: 100%;
}

/* Enhanced Hero Section */
.hero-section {
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 24px;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  animation: titleEntrance 1.2s ease-out;
  font-weight: 700;
}

@keyframes titleEntrance {
  0% { 
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.hero-title:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--accent-green));
  border-radius: 2px;
  animation: lineExpand 1s ease-out 0.5s both;
}

@keyframes lineExpand {
  0% { width: 0; }
  100% { width: 80px; }
}

.lead {
  font-size: 1.4rem;
  color: var(--text-medium);
  animation: fadeInUp 1s ease-out 0.3s both;
  font-weight: 500;
  line-height: 1.6;
}

@keyframes fadeInUp {
  0% { 
    opacity: 0;
    transform: translateY(20px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-visual {
  position: relative;
}

.floating-card {
  display: inline-block;
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 60px rgba(20, 40, 20, 0.2);
  backdrop-filter: blur(10px);
  transform: translateY(0);
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

.floating-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
}

.hero-visual .main-illus {
  max-width: 420px;
  border-radius: 16px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  animation: imageGlow 3s infinite alternate;
}

@keyframes imageGlow {
  0% { box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); }
  100% { box-shadow: 0 15px 40px rgba(60, 179, 113, 0.3); }
}

.quick-features .feature {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-dark);
  animation: featureEntrance 1s ease-out 0.8s both;
}

.quick-features .feature:nth-child(2) {
  animation-delay: 1s;
}

.quick-features .feature:nth-child(3) {
  animation-delay: 1.2s;
}

.quick-features .feature:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  animation: featureHover 0.5s ease-out forwards;
}

@keyframes featureHover {
  0% { transform: translateY(-5px) scale(1.02); }
  50% { transform: translateY(-7px) scale(1.03); }
  100% { transform: translateY(-5px) scale(1.02); }
}

.quick-features .feature strong {
  font-size: 1.2rem;
  color: var(--text-dark);
  font-weight: 600;
}

.quick-features .feature p {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 0;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-green), var(--dark-green));
  border: none;
  border-radius: 12px;
  padding: 14px 28px;
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: 600;
}

@keyframes buttonEntrance {
  0% { 
    opacity: 0;
    transform: translateY(20px) scale(0.9);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
  color: white;
  
}

@keyframes buttonHover {
  0% { transform: translateY(-2px) scale(1.05); }
  50% { transform: translateY(-4px) scale(1.06); }
  100% { transform: translateY(-2px) scale(1.05); }
}

.btn-outline-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 14px 28px;
  color: white;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  font-weight: 600;
}

.btn-outline-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
  color: white;
  transform: translateY(-2px) scale(1.05);
   
}

/* Enhanced Cards - Green Theme */
.glass-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(30, 40, 20, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
  color: var(--text-dark);
  transition: all 0.4s ease;
}

.glass-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
}

.glass-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(30, 40, 20, 0.25);
}

.glass-card h2 {
  color: var(--text-dark);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.glass-card p {
  font-size: 1.2rem;
  color: var(--text-medium);
  line-height: 1.6;
}

.glass-card ul li {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 0.5rem;
}

.bg-soft {
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  backdrop-filter: blur(5px);
}

/* Fix for product cards and links */
.product-card {
  position: relative;
   
  height: 100%;
  cursor: pointer;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  color: var(--text-dark);
   
}

@keyframes cardEntrance {
  0% { 
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }

.product-card:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  z-index: -1;
}

.product-card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(30, 40, 20, 0.3);
  animation: cardHover 0.5s ease-out forwards;
}

@keyframes cardHover {
  0% { transform: translateY(-15px) scale(1.05); }
  50% { transform: translateY(-18px) scale(1.06); }
  100% { transform: translateY(-15px) scale(1.05); }
}

.product-card .icon {
  font-size: 40px;
  background: rgba(255, 255, 255, 0.2);
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
   
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-5px) rotate(5deg); }
}

.product-card:hover .icon {
  transform: scale(1.2) rotate(10deg);
   
}

@keyframes iconHover {
  0% { transform: scale(1.2) rotate(10deg); }
  50% { transform: scale(1.25) rotate(12deg); }
  100% { transform: scale(1.2) rotate(10deg); }
}

.product-card h5 {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 600;
  margin-top: 1rem;
}

.product-card p {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* Ensure stretched links work properly */
.card-body {
  position: relative;
}

.product-item {
  border-radius: 20px;
  overflow: hidden;
   
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
  height: 400px;
  animation: productItemEntrance 0.8s ease-out both;
}

@keyframes productItemEntrance {
  0% { 
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  100% { 
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.product-item:nth-child(1) { animation-delay: 0.1s; }
.product-item:nth-child(2) { animation-delay: 0.2s; }
.product-item:nth-child(3) { animation-delay: 0.3s; }

.product-item:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 40px rgba(30, 40, 20, 0.3);
  animation: productItemHover 0.5s ease-out forwards;
}

@keyframes productItemHover {
  0% { transform: translateY(-10px) scale(1.03); }
  50% { transform: translateY(-12px) scale(1.04); }
  100% { transform: translateY(-10px) scale(1.03); }
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.product-item:hover .card-img-top {
  transform: scale(1.1);
}

.product-item .card-title {
  font-size: 1.4rem;
  color: var(--text-dark);
  font-weight: 600;
}

.product-item .card-text {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.product-item .btn {
  font-size: 1rem;
  font-weight: 600;
}

/* Enhanced Contact Form */
#quoteForm .form-control {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 14px 18px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
  color: var(--text-dark);
  animation: formFieldEntrance 0.8s ease-out both;
  font-size: 1.1rem;
}

@keyframes formFieldEntrance {
  0% { 
    opacity: 0;
    transform: translateX(-20px);
  }
  100% { 
    opacity: 1;
    transform: translateX(0);
  }
}

#quoteForm .form-control:nth-child(1) { animation-delay: 0.1s; }
#quoteForm .form-control:nth-child(2) { animation-delay: 0.2s; }
#quoteForm .form-control:nth-child(3) { animation-delay: 0.3s; }

#quoteForm .form-control:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-dark);
  transform: scale(1.02);
  animation: formFieldFocus 0.3s ease-out forwards;
}

@keyframes formFieldFocus {
  0% { transform: scale(1.02); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1.02); }
}

#quoteForm .form-control::placeholder {
  color: var(--text-light);
  opacity: 0.8;
}

#quoteForm label {
  color: var(--text-dark);
  animation: labelEntrance 0.8s ease-out both;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

@keyframes labelEntrance {
  0% { 
    opacity: 0;
    transform: translateY(10px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Headings */
h2, h3, h4, h5 {
  color: var(--text-dark);
}

h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.text-muted {
  color: var(--text-medium) !important;
  font-size: 1.2rem;
}

/* Enhanced Footer */
footer {
  background: rgba(26, 92, 58, 0.9);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  animation: footerEntrance 1s ease-out both;
  font-size: 1.1rem;
}

@keyframes footerEntrance {
  0% { 
    opacity: 0;
    transform: translateY(20px);
  }
  100% { 
    opacity: 1;
    transform: translateY(0);
  }
}

footer strong {
  font-size: 1.3rem;
}

footer .small {
  font-size: 1rem;
}

/* Custom Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Success Message Animation */
#formMsg {
  animation: messagePop 0.5s ease-out;
  font-size: 1.1rem;
  font-weight: 600;
}

@keyframes messagePop {
  0% { 
    opacity: 0;
    transform: scale(0.8);
  }
  70% { 
    opacity: 1;
    transform: scale(1.1);
  }
  100% { 
    opacity: 1;
    transform: scale(1);
  }
}

/* YouTube-style Hamburger Menu */
.navbar-toggler {
  border: none;
  background: transparent;
  padding: 0;
  width: 24px;
  height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: white;
  border-radius: 1px;
  transition: all 0.3s ease;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(11px) rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-11px) rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 92, 58, 0.98);
    backdrop-filter: blur(10px);
    padding: 80px 20px 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
  }
  
  .navbar-collapse.show {
    transform: translateX(0);
  }
  
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-item {
    width: 100%;
    margin-bottom: 10px;
  }
  
  .nav-link {
    display: block;
    padding: 12px 15px;
    font-size: 1.2rem;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .btn-cta {
    width: 100%;
    text-align: center;
    margin-top: 20px;
  }
  
  /* Close button for mobile menu */
  .navbar-collapse .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
  }
}

/* Add this to the END of your styles.css file */

/* ========================================
   MOBILE RESPONSIVENESS FIXES
   ======================================== */

/* Prevent horizontal scroll on all devices */
html, body {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

* {
  max-width: 100%;
}

/* Fix container overflow */
.container {
  padding-left: 15px;
  padding-right: 15px;
}

/* Mobile Navigation Improvements */
@media (max-width: 991.98px) {
  .navbar-toggler {
    z-index: 1001;
  }
  
  .navbar-collapse {
    max-height: 100vh;
  }
  
  .glass-nav {
    padding: 0.8rem 0;
  }
  
  .logo-circle {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  
  .brand-title {
    font-size: 1.1rem;
  }
  
  .brand-sub {
    font-size: 0.7rem;
  }
}

/* Hero Section - Mobile Fixes */
@media (max-width: 991.98px) {
  .hero {
    padding: 120px 5% 3rem;
    min-height: auto;
    flex-direction: column;
    gap: 2rem;
  }
  
  .hero-left,
  .hero-center,
  .hero-right {
    max-width: 100%;
    width: 100%;
  }
  
  .hero h1 {
    font-size: 2.2rem;
    text-align: center;
  }
  
  .tagline {
    font-size: 1.1rem;
    text-align: center;
  }
  
  .hero p {
    font-size: 1rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  
  .btn-main {
    display: block;
    width: fit-content;
    margin: 0 auto;
  }
  
  .product-img {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }
  
  .floating-text {
    font-size: 0.9rem;
    display: none; /* Hide on mobile for cleaner look */
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 100px 4% 2rem;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  
  .tagline {
    font-size: 0.95rem;
  }
  
  .hero p {
    font-size: 0.9rem;
  }
  
  .product-img {
    width: 240px;
    height: 240px;
  }
}

/* Product Cards - Mobile Fixes */
@media (max-width: 767.98px) {
  .product-card {
    padding: 24px 16px;
  }
  
  .product-card h5 {
    font-size: 1.1rem;
  }
  
  .product-card p {
    font-size: 0.9rem;
  }
  
  .product-card .icon {
    width: 60px;
    height: 60px;
    font-size: 32px;
  }
}

@media (max-width: 575.98px) {
  .product-card {
    padding: 20px 12px;
  }
  
  .product-card h5 {
    font-size: 1rem;
  }
  
  .product-card p {
    font-size: 0.85rem;
  }
}

/* Product Items - Mobile Fixes */
@media (max-width: 767.98px) {
  .product-item {
    height: auto;
    min-height: 350px;
  }
  
  .card-img-top {
    height: 180px;
  }
  
  .product-item .card-title {
    font-size: 1.1rem;
  }
  
  .product-item .card-text {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .product-item {
    min-height: 320px;
  }
  
  .card-img-top {
    height: 160px;
  }
  
  .product-item .card-title {
    font-size: 1rem;
  }
  
  .product-item .card-text {
    font-size: 0.85rem;
  }
}

/* Glass Cards - Mobile Fixes */
@media (max-width: 767.98px) {
  .glass-card {
    padding: 1.5rem !important;
  }
  
  .glass-card h2 {
    font-size: 1.8rem;
  }
  
  .glass-card p {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .glass-card {
    padding: 1rem !important;
  }
  
  .glass-card h2 {
    font-size: 1.5rem;
  }
  
  .glass-card p {
    font-size: 0.9rem;
  }
}

/* Typography - Mobile Fixes */
@media (max-width: 767.98px) {
  body {
    font-size: 16px;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  h3 {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .lead {
    font-size: 1.2rem;
  }
  
  .text-muted {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  body {
    font-size: 14px;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  h3 {
    font-size: 1.3rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .text-muted {
    font-size: 0.9rem;
  }
}

/* Buttons - Mobile Fixes */
@media (max-width: 767.98px) {
  .btn-primary,
  .btn-cta {
    font-size: 1rem;
    padding: 12px 20px;
  }
  
  .btn-outline-secondary {
    font-size: 1rem;
    padding: 12px 20px;
  }
  
  .btn-main {
    font-size: 0.95rem;
    padding: 0.7rem 2rem;
  }
}

@media (max-width: 575.98px) {
  .btn-primary,
  .btn-cta {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
  
  .btn-outline-secondary {
    font-size: 0.9rem;
    padding: 10px 18px;
  }
  
  .btn-main {
    font-size: 0.85rem;
    padding: 0.6rem 1.5rem;
  }
}

/* Form - Mobile Fixes */
@media (max-width: 767.98px) {
  #quoteForm .form-control {
    font-size: 1rem;
    padding: 12px 14px;
  }
  
  #quoteForm label {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  #quoteForm .form-control {
    font-size: 0.9rem;
    padding: 10px 12px;
  }
  
  #quoteForm label {
    font-size: 0.9rem;
  }
}

/* Sections - Mobile Padding */
@media (max-width: 767.98px) {
  section {
    padding-left: 4%;
    padding-right: 4%;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

@media (max-width: 575.98px) {
  section {
    padding-left: 3%;
    padding-right: 3%;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}

/* Quick Features - Mobile */
@media (max-width: 767.98px) {
  .quick-features .feature {
    padding: 15px;
    margin-bottom: 1rem;
  }
  
  .quick-features .feature strong {
    font-size: 1rem;
  }
  
  .quick-features .feature p {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  .quick-features .feature strong {
    font-size: 0.95rem;
  }
  
  .quick-features .feature p {
    font-size: 0.85rem;
  }
}

/* Hero Visual - Mobile */
@media (max-width: 767.98px) {
  .hero-visual .main-illus {
    max-width: 280px;
  }
  
  .floating-card {
    padding: 16px;
  }
}

@media (max-width: 575.98px) {
  .hero-visual .main-illus {
    max-width: 240px;
  }
  
  .floating-card {
    padding: 12px;
  }
}

/* Footer - Mobile */
@media (max-width: 767.98px) {
  footer {
    font-size: 1rem;
    padding: 1.5rem 1rem !important;
  }
  
  footer strong {
    font-size: 1.1rem;
  }
  
  footer .small {
    font-size: 0.9rem;
  }
}

@media (max-width: 575.98px) {
  footer {
    font-size: 0.9rem;
    text-align: center;
  }
  
  footer strong {
    font-size: 1rem;
  }
  
  footer .small {
    font-size: 0.85rem;
  }
  
  footer .text-md-end {
    text-align: center !important;
    margin-top: 1rem;
  }
}

/* Map - Mobile */
@media (max-width: 767.98px) {
  iframe {
    min-height: 250px !important;
  }
}

@media (max-width: 575.98px) {
  iframe {
    min-height: 200px !important;
  }
}

/* Floating Elements - Mobile */
@media (max-width: 767.98px) {
  .floating-element {
    opacity: 0.5;
  }
}

/* Grid Spacing - Mobile */
@media (max-width: 767.98px) {
  .g-4 {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
  }
}

@media (max-width: 575.98px) {
  .g-4 {
    --bs-gutter-x: 0.75rem;
    --bs-gutter-y: 0.75rem;
  }
}

/* Contact Section - Mobile */
@media (max-width: 991.98px) {
  #contact .col-lg-6:first-child {
    margin-bottom: 2rem;
  }
}

/* Products Section - Mobile */
@media (max-width: 767.98px) {
  #products {
    padding-left: 3%;
    padding-right: 3%;
  }
  
  #products .container {
    padding-left: 0;
    padding-right: 0;
  }
}

/* About Section - Mobile */
@media (max-width: 767.98px) {
  #about {
    padding-top: 100px !important;
  }
}

@media (max-width: 575.98px) {
  #about {
    padding-top: 90px !important;
  }
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p, span, div {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Image responsiveness */
img {
  max-width: 100%;
  height: auto;
}

/* Small Phone Specific (iPhone SE, Galaxy Fold, etc.) */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 1.5rem;
  }
  
  .tagline {
    font-size: 0.85rem;
  }
  
  .product-img {
    width: 200px;
    height: 200px;
  }
  
  .product-card h5 {
    font-size: 0.95rem;
  }
  
  .btn-primary,
  .btn-cta,
  .btn-main {
    font-size: 0.8rem;
    padding: 8px 16px;
  }
  
  h2 {
    font-size: 1.4rem;
  }
  
  h3 {
    font-size: 1.2rem;
  }
}

/* Very Small Phones */
@media (max-width: 320px) {
  .hero h1 {
    font-size: 1.3rem;
  }
  
  .logo-circle {
    width: 35px;
    height: 35px;
    font-size: 0.8rem;
  }
  
  .brand-title {
    font-size: 1rem;
  }
  
  .product-img {
    width: 180px;
    height: 180px;
  }
}
