/* Responsive header/footer and grid for mobile */
@media (max-width: 900px) {
  .site-header .container.header-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 1rem 0.5rem;
  }
  .nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.5rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .site-footer .container {
    width: 98vw;
    padding: 0 0.5rem;
  }
}
@media (max-width: 700px) {
  .container {
    width: 98vw;
    padding: 0 0.5rem;
  }
  .grid.two {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  main.container {
    padding: 0.5rem 0;
  }
  .site-header .logo {
    font-size: 1.3rem;
  }
}
@media (max-width: 500px) {
  .site-header .logo {
    font-size: 1.1rem;
  }
  .site-header img {
    height: 32px !important;
    width: 32px !important;
  }
  .site-footer {
    padding: 1.2rem 0.2rem;
  }
  .footer-grid {
    gap: 0.3rem;
  }
  .container {
    padding: 0 0.2rem;
  }
}
/* Image Slider */

/* Image Slider - Full Width */
.slider-section {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: #f0f4ff;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1.5rem;
}
.slider-container {
  position: relative;
  width: 100vw;
  max-width: 100vw;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 4px 24px rgba(0,74,173,0.09);
  background: #fff;
}
.slider-track {
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
/* Prevent slider images from stretching, center them, and keep aspect ratio */
.slider-image {
  display: none;
  width: 100vw;
  max-width: 100vw;
  height: 340px;
  max-height: 340px;
  object-fit: contain;
  background: #f0f4ff;
  border-radius: 0;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}
.slider-image.active {
  display: block;
  opacity: 1;
  z-index: 2;
}
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,74,173,0.85);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0,74,173,0.13);
  transition: background 0.2s, transform 0.2s;
}
.slider-arrow:hover {
  background: #e63946;
  transform: translateY(-50%) scale(1.08);
}
.slider-arrow-left {
  left: 18px;
}
.slider-arrow-right {
  right: 18px;
}
@media (max-width: 900px) {
  .slider-container {
    height: 200px;
  }
  .slider-image {
    height: 200px;
    max-height: 200px;
  }
  .slider-track, .slider-image {
    width: 100vw;
  }
}
@media (max-width: 600px) {
  .slider-container {
    height: 120px;
  }
  .slider-image {
    height: 120px;
    max-height: 120px;
  }
  .slider-track, .slider-image {
    width: 100vw;
  }
}

/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
  line-height: 1.7;
  color: #232946;
  background: linear-gradient(135deg, #eaf3ff 0%, #f8f9fa 100%);
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

a {
  color: #004aad;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #e63946;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: #004aad;
  letter-spacing: 0.5px;
}

.container {
  width: 92%;
  max-width: 1200px;
  margin: auto;
}

/* Header */
.site-header {
  background: linear-gradient(90deg, #004aad 60%, #0a58ca 100%);
  color: #fff;
  padding: 1.2rem 2rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .logo {
  font-size: 2.3rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  background: linear-gradient(90deg, #fff 30%, #ffe066 60%, #004aad 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 3px 12px rgba(0,74,173,0.13), 0 1px 0 #fff;
  padding-left: 2px;
}

.nav a {
  margin-left: 1.5rem;
  color: #fff;
  font-weight: 500;
  font-size: 1.08rem;
  position: relative;
  padding-bottom: 2px;
}
.nav a::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #e63946;
  transition: width 0.3s;
  position: absolute;
  left: 0;
  bottom: -2px;
}
.nav a:hover::after {
  width: 100%;
}

.badge {
  background: #e63946;
  color: #fff;
  border-radius: 50%;
  padding: 0.22rem 0.55rem;
  font-size: 0.85rem;
  vertical-align: middle;
  margin-left: 2px;
  box-shadow: 0 1px 4px rgba(230,57,70,0.13);
}

/* Hero section */
.hero {
  background: linear-gradient(120deg, #eaf3ff 60%, #f0f4ff 100%);
  padding: 4rem 1rem 3rem 1rem;
  text-align: center;
  border-radius: 0 0 32px 32px;
  box-shadow: 0 4px 24px rgba(0,74,173,0.07);
  margin-bottom: 2rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.7rem;
  color: #004aad;
  text-shadow: 0 2px 8px rgba(0,74,173,0.07);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 1.3rem;
  color: #232946;
}

.btn {
  display: inline-block;
  background: linear-gradient(90deg, #004aad 60%, #0a58ca 100%);
  color: #fff;
  padding: 0.7rem 1.5rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1.08rem;
  box-shadow: 0 2px 8px rgba(0,74,173,0.08);
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  margin-top: 0.5rem;
}
.btn.primary {
  background: linear-gradient(90deg, white 60%, #0a58ca 100%);
      font-size: larger;
}
.btn.secondary {
  background: linear-gradient(90deg, #e63946 60%, #ff6f61 100%);
}
.btn:hover {
  background: linear-gradient(90deg, #00337a 60%, #004aad 100%);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 4px 16px rgba(0,74,173,0.13);
}
.btn.secondary:hover {
  background: linear-gradient(90deg, #c82333 60%, #e63946 100%);
}
.btn.outline {
  background: transparent;
  border: 2px solid #004aad;
  color: #004aad;
}
.btn.outline:hover {
  background: #004aad;
  color: #fff;
}

/* Trust list */
.trust {
  background: #fff;
  padding: 2rem 1rem 1.5rem 1rem;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,74,173,0.06);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
}
.trust-item {
  flex: 1 1 0;
  background: linear-gradient(120deg, #f0f4ff 60%, #eaf3ff 100%);
  border-radius: 12px;
  padding: 1.2rem 1rem;
  margin: 0 0.5rem;
  box-shadow: 0 1px 6px rgba(0,74,173,0.04);
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.trust-item:hover {
  box-shadow: 0 4px 16px rgba(0,74,173,0.13);
  transform: translateY(-2px) scale(1.03);
}

/* Categories & Featured */
.categories, .featured {
  padding: 2.5rem 1rem 2rem 1rem;
}

.categories h2, .featured h2 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
  color: #004aad;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
  margin-top: 1.2rem;
}

.card, .product-card {
  background: #fff;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(0,74,173,0.07);
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative;
}
.card:hover, .product-card:hover {
  box-shadow: 0 8px 32px rgba(0,74,173,0.13);
  transform: translateY(-4px) scale(1.03);
}
.card h3, .product-card h3 {
  margin: 0.7rem 0 0.3rem 0;
  font-size: 1.18rem;
}
.product-card img {
  border-radius: 14px 14px 0 0;
  margin-bottom: 0.5rem;
}
.price {
  color: #e63946;
  font-weight: bold;
  font-size: 1.15rem;
}
.mrp {
  text-decoration: line-through;
  color: #777;
  font-size: 0.95rem;
  margin-left: 0.4rem;
}
.badge-rx {
  display: inline-block;
  background: #ff9800;
  color: #fff;
  padding: 0.22rem 0.5rem;
  font-size: 0.8rem;
  border-radius: 4px;
  margin-top: 0.3rem;
}

/* CTA section */
.cta {
  background: linear-gradient(120deg, #f0f4ff 60%, #eaf3ff 100%);
  text-align: center;
  padding: 2.5rem 1rem 2.2rem 1rem;
  border-radius: 18px;
  margin: 2rem auto 2.5rem auto;
  box-shadow: 0 2px 12px rgba(0,74,173,0.06);
  max-width: 700px;
}
.cta h2 {
  margin-bottom: 0.7rem;
  font-size: 1.5rem;
}

/* Footer */
.site-footer {
  background: linear-gradient(90deg, #004aad 60%, #0a58ca 100%);
  color: #fff;
  padding: 2.5rem 1rem 1.2rem 1rem;
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -2px 12px rgba(0,74,173,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1.2rem;
}

.footer-grid h4 {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  color: #fff;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  color: #fff;
  font-size: 1rem;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.footer-grid a:hover {
  opacity: 1;
  text-decoration: underline;
}

.copy {
  text-align: center;
  font-size: 0.95rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 0.7rem;
  opacity: 0.85;
}
.my-2 {
    margin-top: 0px !important; 
    margin-bottom: 0px !important;
}
/* Responsive tweaks */
@media (max-width: 900px) {
  .trust {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .trust-item {
    margin: 0;
  }
}
@media (max-width: 700px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1rem;
  }
  .nav {
    margin-top: 0.7rem;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }
  .hero {
    padding: 2.5rem 0.5rem 2rem 0.5rem;
  }
  .categories, .featured {
    padding: 1.2rem 0.5rem 1rem 0.5rem;
  }
  .cta {
    padding: 1.2rem 0.5rem 1.2rem 0.5rem;
  }
}
@media (max-width: 500px) {
  .hero-content h1 {
    font-size: 1.4rem;
  }
  .categories h2, .featured h2 {
    font-size: 1.2rem;
  }
  .btn {
    font-size: 0.98rem;
    padding: 0.5rem 1rem;
  }
}
