/* ---------------------------------------------------
   GLOBAL & VARIABLES (same modern glassmorphism style)
---------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: rgba(58, 55, 208, 1);
  --secondary: rgba(99, 102, 241, 0.85);
  --dark: #1e1e2f;
  --light: #f9fafc;
  --gray: #6c757d;
  --glass-bg: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.4);
  --shadow-sm: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-md: 0 20px 25px -12px rgba(0, 0, 0, 0.1);
  --radius: 20px;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(145deg, #f5f7ff 0%, #eef2ff 100%);
  color: #1f2937;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

h1, h2, h3, h4, .logo {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

/* Glassmorphism & Cards */
.glassmorph, .service-card, .step, .feature, .stat-item, .contact-form, .testimonial-item {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 10px 15px -3px rgba(58, 55, 208, 0.3);
}
.btn-primary:hover {
  background: rgba(58, 55, 208, 0.85);
  transform: translateY(-3px);
  box-shadow: 0 20px 25px -12px rgba(58, 55, 208, 0.4);
}
.btn-outline {
  background: transparent;
  border: 1.5px solid white;
  color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  padding: 16px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo h2 span { color: var(--primary); }
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-link {
  text-decoration: none;
  font-weight: 500;
  color: #1e293b;
  transition: 0.2s;
}
.nav-link:hover { color: var(--primary); }
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero (updated background to packaging relevant) */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, rgba(58,55,208,0.1), rgba(99,102,241,0.2)), url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover no-repeat;
  background-blend: overlay;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  backdrop-filter: brightness(0.98);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}
.hero-subtitle {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}
.service-card {
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.card-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}
.step {
  flex: 1;
  min-width: 180px;
  text-align: center;
  padding: 30px 20px;
}
.step-number {
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 12px;
}
.step i { font-size: 2.5rem; color: var(--secondary); margin-bottom: 16px; }

/* Features / Why Choose Us */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.feature {
  padding: 24px;
  text-align: center;
}
.feature i { font-size: 2.5rem; color: var(--primary); margin-bottom: 16px; }

/* Stats */
.stats {
  background: linear-gradient(120deg, rgba(58,55,208,0.05), rgba(99,102,241,0.03));
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-item {
  padding: 28px;
}
.stat-item i { font-size: 2.8rem; color: var(--primary); margin-bottom: 12px; }
.stat-item h3 { font-size: 2.5rem; font-weight: 800; color: var(--dark); }

/* Testimonials Carousel */
.testimonial-carousel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.testimonial-container {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 100%;
  gap: 28px;
  padding: 16px 8px;
}
.testimonial-item {
  min-width: calc(33.333% - 20px);
  background: white;
  padding: 28px;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}
@media (max-width: 900px) { .testimonial-item { min-width: calc(50% - 20px); } }
@media (max-width: 600px) { .testimonial-item { min-width: 100%; } }
.testimonial-item p { font-style: italic; margin: 15px 0; }
.testimonial-item h4 { color: var(--primary); margin-top: 8px; }
.carousel-btn {
  background: var(--primary);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 60px;
  cursor: pointer;
  transition: 0.2s;
}
.carousel-dots { display: flex; justify-content: center; gap: 12px; margin-top: 24px; }
.dot { width: 12px; height: 12px; background: #cbd5e1; border-radius: 50%; cursor: pointer; }
.dot.active { background: var(--primary); width: 28px; border-radius: 20px; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-form, .contact-info {
  padding: 32px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 18px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 20px;
  background: rgba(255,255,255,0.8);
  font-family: inherit;
}
.social-links a {
  display: inline-flex;
  background: var(--primary);
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.map-wrapper { margin-top: 24px; border-radius: 20px; overflow: hidden; }

/* Footer */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
}
.footer-col h4 { margin-bottom: 16px; color: white; }
.footer-col ul { list-style: none; }
.footer-col a, .footer-col li { color: #cbd5e1; text-decoration: none; }
.footer-bottom { text-align: center; padding: 24px 0; border-top: 1px solid #334155; margin-top: 32px; }

/* Floating Elements */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 99;
}
.back-to-top {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: var(--primary);
  color: white;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
  z-index: 99;
}
.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.7s cubic-bezier(0.2, 0.9, 0.4, 1.1), transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px);}
  to { opacity: 1; transform: translateY(0);}
}
/* Responsive */
@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 75px;
    flex-direction: column;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
    padding: 30px 0;
    gap: 20px;
    transition: 0.3s;
  }
  .nav-menu.active { left: 0; }
  .hero-title { font-size: 2rem; }
  .contact-grid { grid-template-columns: 1fr; }
}

/* About section refinements */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.mission-vision {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.mission, .vision {
  flex: 1;
  background: rgba(255, 255, 255, 0.5);
  padding: 20px;
  border-radius: 20px;
  transition: 0.2s;
}
.mission i, .vision i {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 12px;
}

/* Right side glass card with internal stats layout */
.about-image .glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 30px 24px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
}

.stats-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.stat-block {
  text-align: center;
  padding: 16px;
}

.stat-block i {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 12px;
  display: inline-block;
}

.stat-block h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #0f172a;
}

.stat-block p {
  color: #334155;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .mission-vision {
    flex-direction: column;
  }
}

/* Logo image styling */
.logo-img {
  height: 50px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

/* For mobile responsiveness */
@media (max-width: 768px) {
  .logo-img {
    height: 42px;
  }
}

/* ========== CONTACT SECTION ENHANCEMENTS ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-form, .contact-info {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border-radius: 28px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s;
  border: 1px solid var(--glass-border);
}

.contact-form:hover, .contact-info:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.contact-form h3, .contact-info h3 {
  font-size: 1.7rem;
  margin-bottom: 25px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  border-left: 4px solid var(--primary);
  padding-left: 16px;
}

/* Input groups with icons */
.input-group {
  position: relative;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  border-radius: 60px;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all 0.2s;
}

.input-group:focus-within {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(58,55,208,0.1);
}

.input-group i {
  width: 50px;
  text-align: center;
  color: var(--primary);
  font-size: 1.2rem;
}

.input-group input, .input-group textarea {
  flex: 1;
  padding: 14px 16px 14px 0;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
}

.textarea-group {
  align-items: flex-start;
  border-radius: 24px;
  padding-top: 12px;
}

.textarea-group i {
  margin-top: 14px;
}

.textarea-group textarea {
  resize: vertical;
  min-height: 110px;
}

/* Contact Info details */
.info-details {
  margin-bottom: 28px;
}

.info-details p {
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1rem;
  color: #1e293b;
}

.info-details i {
  width: 32px;
  color: var(--primary);
  font-size: 1.3rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin: 28px 0 24px;
}

.social-links a {
  background: var(--primary);
  color: white;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.2s;
  font-size: 1.3rem;
}

.social-links a:hover {
  transform: translateY(-4px);
  background: rgba(58,55,208,0.8);
  box-shadow: 0 8px 14px rgba(58,55,208,0.3);
}

.map-wrapper {
  margin-top: 20px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: 0.2s;
}

.map-wrapper:hover {
  transform: scale(0.98);
}

/* Responsive */
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .input-group i {
    width: 40px;
  }
  .contact-form h3, .contact-info h3 {
    font-size: 1.5rem;
  }
}

/* ========== FOOTER IMPROVEMENTS ========== */
.footer {
  background: #0f172a;
  color: #e2e8f0;
  padding-top: 60px;
  position: relative;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3, .footer-col h4 {
  margin-bottom: 20px;
  font-weight: 600;
  letter-spacing: -0.3px;
}

.footer-col h3 {
  font-size: 1.5rem;
  color: white;
}

.footer-col h4 {
  font-size: 1.2rem;
  color: #cbd5e1;
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer-col p, .footer-col li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  transition: transform 0.2s;
}
.footer-col ul li:hover {
  transform: translateX(5px);
  color: white;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--primary);
}

/* Product list - multi-column on larger screens */
.product-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}
.product-list li {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

/* Footer contact info */
.footer-contact {
  margin-top: 20px;
}
.footer-contact p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact i {
  width: 24px;
  color: var(--primary);
}

/* Social icons */
.footer-social {
  display: flex;
  gap: 16px;
  margin: 20px 0 24px;
}
.footer-social a {
  background: rgba(255,255,255,0.1);
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
  font-size: 1.2rem;
}
.footer-social a:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: white;
}

/* Newsletter input */
.newsletter p {
  margin-bottom: 12px;
  font-size: 0.85rem;
}
.input-group-footer {
  display: flex;
  background: rgba(255,255,255,0.05);
  border-radius: 60px;
  border: 1px solid #334155;
  overflow: hidden;
}
.input-group-footer input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 10px 16px;
  color: white;
  outline: none;
  font-family: inherit;
}
.input-group-footer button {
  background: var(--primary);
  border: none;
  padding: 0 18px;
  color: white;
  cursor: pointer;
  transition: 0.2s;
}
.input-group-footer button:hover {
  background: rgba(58,55,208,0.8);
}

/* Footer bottom */
.footer-bottom {
  text-align: center;
  padding: 24px 0;
  border-top: 1px solid #334155;
  margin-top: 20px;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-grid {
    gap: 32px;
  }
  .product-list {
    grid-template-columns: 1fr;
  }
  .footer-col h4::after {
    width: 30px;
  }
}