/* homepage.css - Light, elegant, animated homepage styles */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');
:root {
  --primary: #03a9f4;
  --green: #00e676;
  --purple: #b388ff;
  --bg: #f8fbff;
  --white: #fff;
  --shadow: 0 8px 32px 0 rgba(44,62,80,0.10);
  --glass: rgba(255,255,255,0.7);
  --border: rgba(3,169,244,0.08);
  --radius: 1.5rem;
  --transition: 0.35s cubic-bezier(.4,2,.3,1);
}
body {
  font-family: 'Poppins', 'Inter', Arial, sans-serif;
  background: var(--bg);
  color: #222;
  overflow-x: hidden;
}

html {
  overflow-x: hidden;
}

/* --- Hero Section --- */

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  padding: 60px 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
}

.hero-content {
  max-width: 800px;
  width: 100%;
}

.hero-text h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-text .highlight {
  color: #007bff;
}

.subtitle {
  font-size: 1rem;
  color: #495057;
  margin-bottom: 30px;
  padding: 0 10px;
}

.btn-primary {
  background-color: #007bff;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  display: inline-block;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Responsive Typography & Layout */
@media (min-width: 576px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .subtitle {
    font-size: 1.1rem;
  }
}

@media (min-width: 768px) {
  .hero-section {
    padding: 80px 40px;
  }

  .hero-text h1 {
    font-size: 3.2rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}

@media (min-width: 992px) {
  .hero-section {
    padding: 100px 60px;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }
}

.primary-btn {
  background: #fff;
  color: #03a9f4;
  box-shadow: 0 2px 8px #03a9f422;
}

.primary-btn:hover {
  background: #b388ff;
  color: #fff;
  box-shadow: 0 4px 16px #b388ff55;
}

.secondary-btn {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px #03a9f422;
}

.secondary-btn:hover {
  background: #fff;
  color: #03a9f4;
  box-shadow: 0 4px 16px #03a9f455;
}

/* Features Section */
.features {
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
}

.features h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c1857;
  margin-bottom: 3rem;
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 24px #03a9f422;
  transition: transform 0.3s ease;
  border: 1.5px solid #e0e7ff;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px #03a9f455;
}

.feature-icon {
  font-size: 2.5rem;
  color: #03a9f4;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  color: #2c1857;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: #64748b;
  line-height: 1.6;
}

/* Products Section */
.products {
  padding: 5rem 2rem;
  background: #f8fafc;
}

.products h2 {
  text-align: center;
  font-size: 2.5rem;
  color: #2c1857;
  margin-bottom: 3rem;
  font-weight: 800;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.product-card {
  background: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 24px #03a9f422;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1.5px solid #e0e7ff;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 32px #03a9f455;
  text-decoration: none;
  color: inherit;
}

.product-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.product-info {
  padding: 1.5rem;
}

.product-info h3 {
  color: #2c1857;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-align: center;
}

.product-info p {
  color: #64748b;
  margin-bottom: 1rem;
  text-align: center;
  padding: 0 1rem;
}

.view-more {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(90deg, #03a9f4 0%, #b388ff 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px #03a9f422;
}

.view-more:hover {
  box-shadow: 0 4px 16px #b388ff55;
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .features h2,
  .products h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .feature-card,
  .product-card {
    padding: 1.5rem;
  }
}

/* --- Modern About Us Section with Images --- */
  .about-section {
    padding: 80px 20px;
    background-color: #ffffff;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }

  .about-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 40px;
  }

  .about-text {
    flex: 1 1 55%;
  }

  .about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #1a1a1a;
  }

  .about-text h3 {
    font-size: 1.4rem;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #03a4ed;
  }

  .about-text p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
  }

  .about-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 20px;
  }

  .about-list li {
    font-size: 0.97rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
  }

  .about-list i {
    color: #03a4ed;
    font-size: 1rem;
  }

  .about-images {
    flex: 1 1 40%;
  }

  .about-img-grid {
    display: grid;
    grid-template-areas:
      "main main"
      "side1 side2";
    gap: 15px;
  }

  .about-img-main {
    grid-area: main;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
  }

  .about-img-side {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
  }

  @media (max-width: 768px) {
    .about-container {
      flex-direction: column;
    }

    .about-text, .about-images {
      flex: 1 1 100%;
    }

    .about-img-grid {
      grid-template-areas:
        "main"
        "side1"
        "side2";
    }
  }
/* --- Modern Services Section with Three.js Background --- */
.services-section {
  position: relative;
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

#services-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.05;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

.services-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.service-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-icon {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 15px;
}

.service-card h3 {
  font-size: 1.2rem;
  color: #212529;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.95rem;
  color: #495057;
}

/* Responsive Layouts */
@media (min-width: 576px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .section-title {
    font-size: 2.4rem;
  }

  .service-card h3 {
    font-size: 1.4rem;
  }

  .service-card p {
    font-size: 1rem;
  }
}




/* --- Bold, Dark Our Products Section --- */
.products-section {
  background: linear-gradient(145deg, #f4f6f9, #ffffff);
  padding: 80px 20px;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  color: #1a1a1a;
  font-weight: 700;
  margin-bottom: 50px;
  position: relative;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 30px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  text-align: left;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  background: linear-gradient(to bottom right, #ffffff, #f0f4ff);
}

.product-content h3 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 10px;
}

.product-content p {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

/* Responsive Layouts */
@media (min-width: 576px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .section-title {
    font-size: 3rem;
  }
}

.product-features {
  list-style: none;
  padding-left: 0;
  margin-top: 15px;
}

.product-features li {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.product-features i {
  color: #28a745; /* green tick */
  margin-right: 10px;
  font-size: 0.9rem;
}

/* --- Contact Section --- */
    .contact-section {
      background: #f9f9f9;
      color: #333;
      padding: 80px 20px;
      text-align: center;
    }

    .contact-section h2 {
      font-size: 2.6rem;
      font-weight: 700;
      margin-bottom: 40px;
    }

    .contact-form {
      max-width: 700px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 25px;
    }

    .form-group {
      position: relative;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 14px 12px;
      border: 1px solid #ccc;
      border-radius: 8px;
      background: #fff;
      color: #333;
      font-size: 1rem;
      outline: none;
    }

    .form-group textarea {
      resize: vertical;
    }

    .form-group label {
      position: absolute;
      left: 14px;
      top: 12px;
      font-size: 0.95rem;
      color: #999;
      pointer-events: none;
      transition: all 0.2s ease;
      background: #fff;
      padding: 0 5px;
    }

    .form-group input:focus + label,
    .form-group input:not(:placeholder-shown) + label,
    .form-group textarea:focus + label,
    .form-group textarea:not(:placeholder-shown) + label {
      top: -10px;
      left: 10px;
      font-size: 0.75rem;
      color: #03a4ed;
    }

    .focus-line {
      display: block;
      height: 2px;
      width: 0%;
      background-color: #03a4ed;
      transition: width 0.3s ease;
      position: absolute;
      bottom: 0;
      left: 0;
    }

    .form-group input:focus ~ .focus-line,
    .form-group textarea:focus ~ .focus-line {
      width: 100%;
    }

    .cta-btn {
      background: #03a4ed;
      color: #fff;
      padding: 14px 28px;
      border: none;
      border-radius: 50px;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 0 10px rgba(3, 164, 237, 0.4);
    }

    .cta-btn:hover {
      background: #0394d8;
      box-shadow: 0 0 15px rgba(3, 164, 237, 0.6);
    }

    #form-status {
      margin-top: 15px;
      font-size: 0.95rem;
      color: #555;
    }

    @media (max-width: 768px) {
      .contact-section h2 {
        font-size: 2rem;
      }
    }

    .mission-vision-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f7fafd, #ffffff);
  font-family: 'Segoe UI', sans-serif;
}

.mission-vision-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}

.mv-box {
  flex: 1 1 45%;
  background: #fff;
  padding: 30px 25px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.mv-box h2 {
  font-size: 2rem;
  color: #007bff;
  margin-bottom: 15px;
}

.mv-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 20px;
}

.mv-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.mv-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mv-list li {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 10px;
}

.mv-list i {
  color: #28a745;
  margin-right: 10px;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .mission-vision-container {
    flex-direction: column;
  }

  .mv-box {
    flex: 1 1 100%;
  }

  .mv-box h2 {
    font-size: 1.8rem;
  }
}
