* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #1c1f26;
}

/* Navbar */
.navbar {
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s ease;
}

.nav-links li a:hover {
  color: #00d4ff;
}

/* Subscribe Button in Navbar */
.subscribe-btn {
  background-color: #00d4ff;
  color: #1c1f26;
  border: none;
  padding: 8px 16px;
  margin-left: 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
  font-size: 16px;
}

.subscribe-btn:hover {
  background-color: #1c1f26;
  color: #00d4ff;
}

/* Hero Section (Homepage) */
.hero-section {
  position: relative;
  background: url('images/bg.png') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 20px;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #00d4ff;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.learn-more-btn {
  padding: 10px 20px;
  background-color: #00d4ff;
  color: #1c1f26;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  cursor: pointer;
}

.learn-more-btn:hover {
  background-color: #1c1f26;
  color: #00d4ff;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.4);
  position: relative;
}

.modal-content h2 {
  margin-bottom: 20px;
}

.modal-content input[type="email"] {
  padding: 10px;
  width: 90%;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.modal-content button {
  padding: 10px 20px;
  background-color: #00d4ff;
  color: #1c1f26;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content button:hover {
  background-color: #1c1f26;
  color: #00d4ff;
}

.modal-content .close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

#successMsg {
  margin-top: 15px;
  font-weight: 500;
}

/* Stylish Loader */
    #loader {
      position: fixed;
      width: 100%;
      height: 100%;
      background-color: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 2s ease;
    }

    .loader-wrapper {
      position: relative;
      width: 100px;
      height: 100px;
    }

    .loader-ring {
      position: absolute;
      top: 0;
      left: 0;
      width: 100px;
      height: 100px;
      border: 5px solid #ddd;
      border-top: 5px solid #00d4ff;
      border-radius: 50%;
      animation: spin 3s linear infinite;
    }

    .loader-logo {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      object-fit: cover;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Hide loader after load */
    body.loaded #loader {
      opacity: 0;
      pointer-events: none;
    }

/* About Us Section */
.about-section {
  padding: 60px 40px;
  max-width: 900px;
  margin: 60px auto;
  text-align: center;
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
  animation: fadeInUp 1s ease forwards;
}

.about-section h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  color: #007ea7;
  position: relative;
  display: inline-block;
}

.about-section h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #00d4ff;
  margin: 10px auto 0;
  border-radius: 3px;
}

.about-section p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #004d61;
  font-style: italic;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Fade-in animation for About section */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Feedback Section */
.feedback-section {
  padding: 60px 40px;
  background-color: #ffffff;
  text-align: center;
}

.feedback-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #2c5364;
}

.feedback-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: auto;
}

.feedback-card {
  background-color: #f0f4f8;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.feedback-card:hover {
  transform: translateY(-5px);
}

.feedback-card img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid #00d4ff;
}

.feedback-card h3 {
  margin-bottom: 10px;
  color: #1c1f26;
}

.feedback-card p {
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 10px;
}

.stars {
  color: #FFD700;
  font-size: 1.2rem;
}

/* Product Section (Headphones, Shoes, Caps) */
.product-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 40px;
  gap: 40px;
  flex-wrap: wrap;
}

.product-section:nth-child(even) {
  flex-direction: row-reverse;
}

.product-text {
  flex: 1;
  max-width: 500px;
}

.product-text h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.product-text p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #444;
}

.product-img {
  flex: 1;
  max-width: 500px;
  text-align: center;
}

.product-img img {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.product-img img:hover {
  transform: scale(1.05);
}

/* Category Section */
.category {
  padding: 40px 20px;
}

.category-title {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #2c5364;
  text-align: center;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.product-item {
  background: linear-gradient(145deg, #ffffff, #d0f0ff);
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.25);
  padding: 25px;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow: hidden;
  cursor: pointer;
}

.product-item:hover {
  transform: translateY(-5px);
}

.product-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 10px;
}

.product-item h3 {
  margin-bottom: 10px;
  color: #1c1f26;
}

.product-item p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.learn-more-btn {
  padding: 10px 20px;
  background-color: #00d4ff;
  color: #1c1f26;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
  cursor: pointer;
}

.learn-more-btn:hover {
  background-color: #1c1f26;
  color: #00d4ff;
}

/* Services Page Styling */
header h1 {
  font-size: 3rem;
  color: #007ea7;
  margin-top: 40px;
  
  text-align: center;
}

header p {
  font-size: 1.15rem;
  text-align: center;
  color: #004d61;
  margin: 10px auto 30px;
  max-width: 700px;
  font-style: italic;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  padding: 40px;
}

.service-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 2.5rem;
  color: #00d4ff;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #1c1f26;
  margin-bottom: 15px;
}

.service-card p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* Footer for Services Page */
footer {
  text-align: center;
  padding: 20px;
  background-color: #2c5364;
  color: white;
  font-size: 0.9rem;
}

/* Responsive Adjustment */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  header p {
    font-size: 1rem;
    padding: 0 20px;
  }

  .services-container {
    padding: 20px;
  }

  .service-card {
    padding: 20px;
  }
}

.contact-section {
  padding: 60px 40px;
  background: linear-gradient(135deg, #e0f7fa, #ffffff);
  color: #1c1f26;
  animation: fadeInUp 1s ease forwards;
}

.contact-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.contact-container h1 {
  font-size: 3rem;
  color: #007ea7;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.contact-container h1::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background-color: #00d4ff;
  margin: 10px auto 0;
  border-radius: 3px;
}

.contact-container p {
  font-size: 1.1rem;
  color: #444;
  margin-bottom: 40px;
}

.contact-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: flex-start;
}

.contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.map-container {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: 350px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-content {
    flex-direction: column;
    align-items: center;
  }
}
