
* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
}

.about-hero {
    background: #007bff;
    color: white;
    padding: 70px 20px;
    text-align: center;
}

.about-hero h1 {
    font-size: 40px;
}

.about-section {
    padding: 60px 20px;
}

.about-container {
    max-width: 1100px;
    margin: auto;
    display: flex;
    gap: 40px;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    margin-bottom: 15px;
}

.about-text p {
    line-height: 1.7;
    color: #555;
    margin-bottom: 10px;
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
}

.mission-vision {
    background: #f4f6f8;
    padding: 50px 20px;
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.mv-box {
    background: white;
    padding: 25px;
    width: 320px;
    border-radius: 8px;
    text-align: center;
}

.why-choose {
    padding: 60px 20px;
    text-align: center;
}

.why-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 30px;
}

.why-card {
    background: #f4f6f8;
    padding: 25px;
    width: 250px;
    border-radius: 8px;
}

.why-card i {
    font-size: 30px;
    color: #007bff;
    margin-bottom: 10px;
}




/* HERO */
.product-hero {
    height: 50vh;
    background: linear-gradient(135deg, #020617, #1e3a8a);
    color: white;
    text-align: center;
    padding-top: 120px;
}

.product-hero h1 {
    font-size: 42px;
}

.product-hero p {
    font-size: 18px;
    opacity: 0.9;
}



/* PRODUCT GRID */
.product-grid {
    width: 90%;
    margin: 70px auto 80px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.product-box {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    position: relative;
    transition: transform 0.4s;
}

.product-box:hover {
    transform: translateY(-12px);
}

.product-box img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: 15px;
}

.product-box h3 {
    margin: 15px 0 5px;
}

.product-box p {
    font-size: 14px;
    color: #444;
}

.product-box ul {
    list-style: none;
    margin: 10px 0;
    font-size: 13px;
}

.product-box a {
    text-decoration: none;
    font-weight: bold;
    color: #2563eb;
}

/* BADGES */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: white;
    background: #2563eb;
}

.badge.green { background: #16a34a; }
.badge.red { background: #dc2626; }
.badge.purple { background: #7c3aed; }
.badge.dark { background: #020617; }

/* CTA */
.product-cta {
    background: linear-gradient(135deg, #2563eb, #38bdf8);
    color: white;
    text-align: center;
    padding: 60px 20px;
}

.product-cta a {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 30px;
    background: #020617;
    color: white;
    border-radius: 30px;
    text-decoration: none;
}




.product-compare {
    padding: 80px 10%;
    text-align: center;
}

.compare-table {
    max-width: 700px;
    margin: auto;
}

.compare-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.compare-row.header {
    font-weight: bold;
    background: #1e3a8a;
    color: white;
    border-radius: 10px 10px 0 0;
}






@media (max-width: 768px) {

  /* ABOUT PAGE */
  .about-hero h1 {
    font-size: 34px;
  }

  .about-container {
    flex-direction: column;
    gap: 30px;
  }

  .about-text,
  .about-image {
    width: 100%;
  }

  .mission-vision {
    gap: 20px;
  }

  .mv-box {
    width: 90%;
  }

  .why-card {
    width: 220px;
  }

  /* PRODUCT PAGE */
  .product-hero {
    height: auto;
    padding: 100px 20px;
  }

  .product-hero h1 {
    font-size: 36px;
  }

  .product-hero p {
    font-size: 16px;
  }

  .product-grid {
    gap: 25px;
  }

  .product-compare {
    padding: 60px 5%;
  }

  .compare-row {
    font-size: 14px;
  }
}




@media (max-width: 600px) {

  /* ABOUT PAGE */
  .about-hero h1 {
    font-size: 28px;
  }

  .about-section {
    padding: 40px 15px;
  }

  .about-text p {
    font-size: 14px;
  }

  .mv-box {
    width: 100%;
  }

  .why-grid {
    gap: 15px;
  }

  .why-card {
    width: 100%;
  }

  /* PRODUCT PAGE */
  .product-hero h1 {
    font-size: 30px;
  }

  .product-hero p {
    font-size: 15px;
  }

  .product-grid {
    width: 95%;
    grid-template-columns: 1fr;
  }

  .product-box img {
    height: 150px;
  }

  .product-box p,
  .product-box ul {
    font-size: 13px;
  }

  .product-cta {
    padding: 50px 15px;
  }

  /* COMPARE TABLE */
  .compare-row {
    grid-template-columns: 1.5fr 1fr 1fr;
    font-size: 13px;
    padding: 12px;
  }
}
