/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f9f9f9;
    color: #333;
    scroll-behavior: smooth;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
button {
    cursor: pointer;
}

/* Navbar */
.navbar {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: bold;
    font-size: 1.3rem;
    color: #2b2b2b;
}
.nav-logo i {
    color: #007BFF;
}
.nav-menu {
    display: flex;
    gap: 1.5rem;
}
.nav-menu li a {
    font-weight: 500;
    color: #444;
    transition: color 0.3s;
}
.nav-menu li a:hover {
    color: #007BFF;
}
.nav-cta .btn-primary {
    padding: 0.5rem 1rem;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    transition: background-color 0.3s;
}
.nav-cta .btn-primary:hover {
    background-color: #0056b3;
}

/* Hamburger (Mobile) */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.hamburger span {
    height: 3px;
    width: 25px;
    background: #333;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        align-items: center;
        display: none;
        padding: 1rem 0;
        box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        display: flex;
    }
    .hamburger {
        display: flex;
    }
}

/* Hero Section */
.hero {
    padding-top: 90px;
    position: relative;
    color: #fff;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('../img/hero.jpg') center/cover no-repeat;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.hero-content {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: auto;
}
.hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.title-line {
    display: block;
}
.highlight {
    color: #ffc107;
}
.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    padding: 0.7rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    border: none;
}
.btn-primary {
    background-color: #007BFF;
    color: white;
}
.btn-primary:hover {
    background-color: #0056b3;
}
.btn-secondary {
    background-color: #f8f9fa;
    color: #333;
    border: 1px solid #ccc;
}
.btn-secondary:hover {
    background-color: #e2e6ea;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}
.hero-feature i {
    color: #ffc107;
    font-size: 1.2rem;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 1rem;
    background: #fff;
    color: #333;
    flex-wrap: wrap;
}
.stat-card {
    text-align: center;
}
.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #007BFF;
}
.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}


/* Services Section */
.services {
    padding: 5rem 1.5rem;
    background-color: #f5f5f5;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    color: #333;
}
.section-header p {
    color: #666;
    margin-top: 0.5rem;
}

/* Grid Layout */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Service Card */
.service-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Featured Card */
.service-card.featured {
    border: 2px solid #007BFF;
}

/* Icon */
.service-icon {
    font-size: 2rem;
    color: #007BFF;
    margin-bottom: 1rem;
}

/* Title & Text */
.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #222;
}
.service-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 1rem;
}

/* Features List */
.service-features {
    margin-bottom: 1rem;
}
.service-features li {
    font-size: 0.9rem;
    color: #444;
    margin-left: 1rem;
    list-style-type: disc;
    margin-bottom: 0.3rem;
}

/* Price */
.service-price {
    font-weight: bold;
    margin: 0.8rem 0 1rem;
    color: #007BFF;
}

/* Button */
.btn-outline {
    padding: 0.5rem 1rem;
    border: 2px solid #007BFF;
    background-color: transparent;
    color: #007BFF;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
}
.btn-outline:hover {
    background-color: #007BFF;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .services {
        padding: 3rem 1rem;
    }
    .service-card {
        padding: 1.5rem 1rem;
    }
}


/* Products Section */
.products {
    padding: 5rem 1.5rem;
    background-color: #ffffff;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}
.section-header h2 {
    font-size: 2rem;
    color: #222;
}
.section-header p {
    color: #555;
    margin-top: 0.5rem;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
}

/* Image & Badge */
.product-image {
    position: relative;
    overflow: hidden;
}
.product-image img {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Product Badge */
.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: #007BFF;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

/* Overlay */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 123, 255, 0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
    opacity: 1;
}

/* Content */
.product-content {
    padding: 1.5rem;
}
.product-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #333;
}
.product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}
.stars {
    color: #f5c518;
    margin-right: 0.5rem;
}
.product-rating span {
    font-size: 0.85rem;
    color: #777;
}

/* Features */
.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1rem;
    font-size: 0.85rem;
    color: #444;
    margin-bottom: 1rem;
}
.product-features span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Price */
.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.current-price {
    color: #007BFF;
}
.original-price {
    text-decoration: line-through;
    font-size: 0.9rem;
    color: #999;
}
.price-unit {
    font-size: 0.9rem;
    font-weight: normal;
    color: #666;
}

/* Button */
.btn {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-primary {
    background-color: #007BFF;
    color: #fff;
}
.btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .product-features {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Home Warranty Section */
.warranty {
    padding: 5rem 1.5rem;
    background-color: #f9f9f9;
}

.warranty-content {
    max-width: 1200px;
    margin: auto;
}

.warranty-text h2 {
    font-size: 2rem;
    color: #222;
    margin-bottom: 1rem;
    text-align: center;
}

.warranty-text > p {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 2rem;
    color: #555;
    font-size: 1rem;
}

/* Features */
.warranty-features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 3rem;
}

.warranty-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 300px;
    color: #444;
}

.warranty-feature i {
    font-size: 2rem;
    color: #007BFF;
    flex-shrink: 0;
}

.warranty-feature h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.warranty-feature p {
    font-size: 0.9rem;
    color: #666;
}

/* Plans */
.warranty-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.plan-card {
    background-color: #fff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.plan-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.1);
}

.plan-card h3 {
    font-size: 1.2rem;
    color: #222;
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 1.8rem;
    color: #007BFF;
    font-weight: bold;
    margin-bottom: 1rem;
}
.plan-price span {
    font-size: 0.9rem;
    color: #777;
}

.plan-card ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.plan-card ul li {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: #444;
}

/* Featured Plan */
.plan-card.featured {
    border: 2px solid #007BFF;
    transform: scale(1.05);
}

/* Buttons */
.btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: bold;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}
.btn-outline {
    background: transparent;
    border: 2px solid #007BFF;
    color: #007BFF;
}
.btn-outline:hover {
    background-color: #007BFF;
    color: #fff;
}

.btn-primary {
    background-color: #007BFF;
    color: #fff;
}
.btn-primary:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .warranty-features {
        flex-direction: column;
        align-items: center;
    }
    .warranty-feature {
        max-width: 100%;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    .warranty-feature div {
        text-align: center;
    }
}


/* Testimonials Section */
.testimonials {
  padding: 5rem 1rem;
  background-color: #f4f7fb;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 3rem;
}

/* Slider */
.testimonial-slider {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.testimonial-card {
  display: none;
  background: #fff;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.testimonial-card.active {
  display: block;
}

.testimonial-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #444;
  margin-bottom: 1rem;
}

.testimonial-rating i {
  color: #ffc107;
}

/* Author */
.testimonial-author {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1rem;
  color: #222;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: #777;
}

/* Navigation */
.testimonial-nav {
  margin-top: 2rem;
}

.testimonial-nav button {
  background: #007BFF;
  border: none;
  color: #fff;
  padding: 0.6rem 1rem;
  margin: 0 0.5rem;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.testimonial-nav button:hover {
  background: #0056b3;
}

/* Responsive */
@media (max-width: 600px) {
  .testimonial-content p {
    font-size: 1rem;
  }
  .testimonial-author {
    flex-direction: column;
  }
}

/* About Section */
.about {
  padding: 4rem 1rem;
  background: #f8f9fa;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about p {
  max-width: 800px;
  margin: 1rem auto;
  color: #444;
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  background-color: #fff;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.contact-info {
  flex: 1 1 40%;
}

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.contact-info p {
  margin-bottom: 1.5rem;
  color: #555;
}

.contact-details {
  list-style: none;
  padding: 0;
  color: #333;
}

.contact-details li {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.contact-details i {
  margin-right: 0.6rem;
  color: #007bff;
}

/* Form Styles */
.contact-form {
  flex: 1 1 50%;
  background-color: #f4f6f9;
  padding: 2rem;
  border-radius: 8px;
}

.contact-form h3 {
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border-radius: 4px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

button.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.75rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

button.btn-primary:hover {
  background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}

/* Footer Styles */
.footer {
  background-color: #1a1a1a;
  color: #ddd;
  padding: 3rem 1rem 1rem;
  font-size: 0.95rem;
}

.footer .footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-about p {
  max-width: 300px;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
}

.footer-contact i {
  margin-right: 0.6rem;
  color: #007bff;
}

.footer-newsletter form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-newsletter input {
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
}

.footer-newsletter button {
  background-color: #007bff;
  color: #fff;
  padding: 0.6rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
}

.footer-newsletter button:hover {
  background-color: #0056b3;
}

/* Social Icons */
.social-icons {
  margin-top: 1rem;
}

.social-icons a {
  color: #ccc;
  margin-right: 0.6rem;
  font-size: 1.1rem;
  display: inline-block;
}

.social-icons a:hover {
  color: #fff;
}

/* Bottom bar */
.footer-bottom {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid #444;
  margin-top: 2rem;
  font-size: 0.85rem;
  color: #999;
}

/* Responsive */
@media (max-width: 768px) {
  .footer .footer-grid {
    flex-direction: column;
  }

  .footer-newsletter form {
    flex-direction: column;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.modal-content h2 {
  margin-top: 0;
}

.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="date"] {
  width: 100%;
  padding: 10px;
  margin: 8px 0 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-content input[type="checkbox"] {
  margin-right: 8px;
}

.modal-content button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  border: none;
  color: white;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}

.modal-content button[type="submit"]:hover {
  background-color: #218838;
}

.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 1.5rem;
  color: #aaa;
  cursor: pointer;
}

.close:hover {
  color: #000;
}

/* Scrollable content for policy/terms */
.scrollable {
  max-height: 70vh;
  overflow-y: auto;
  text-align: left;
  padding-right: 1rem;
}

.scrollable p {
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
  .modal-content {
    width: 95%;
  }
}

 form {
      display: flex;
      flex-direction: column;
    }

    input, select {
      padding: 10px;
      margin: 8px 0 16px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
    }
     textarea {
      padding: 10px;
      margin: 8px 0 16px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
      font-size: 14px;
    }

    .confirmation {
      display: none;
      background-color: #fff;
      padding: 30px;
      margin-top: 30px;
      border-radius: 10px;
      box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    }

    .confirmation h3 {
      color: #28a745;
    }

    .confirmation p {
      font-size: 16px;
    }