/* =========================================
   PUNNAMI SMART BUSINESS SERVICES LLP
   Main Stylesheet
   ========================================= */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f4f7fb;
  color: #1a1a2e;
  font-size: 15px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   HEADER
   ========================================= */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e9f0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  min-width: 200px;
}

.logo-brand {
  font-size: 20px;
  font-weight: 800;
  color: #e53935;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 8.5px;
  font-weight: 700;
  color: #1a237e;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.main-nav {
  flex: 1;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

.main-nav ul li a {
  display: block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c54;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
}

.main-nav ul li a:hover {
  background: #e8f0fe;
  color: #1a237e;
}

.header-cta {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.btn-posp {
  background: #e53935;
  color: #fff;
}

.btn-provider {
  background: #1a237e;
  color: #fff;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #1a237e;
  margin-left: auto;
}

/* =========================================
   INSURERS BAR
   ========================================= */
.insurers-bar {
  background: #ffffff;
  border-bottom: 1px solid #e5e9f0;
  padding: 10px 0;
}

.insurers-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.insurers-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #444;
  white-space: nowrap;
  padding-right: 16px;
  border-right: 2px solid #e0e0e0;
}

.insurers-list {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.insurer-item {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border: 1px solid #e0e4ef;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #333;
  background: #fafbff;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  white-space: nowrap;
}

.insurer-item:hover {
  border-color: #1a237e;
  background: #e8f0fe;
}

.insurer-icon {
  font-size: 14px;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  background: linear-gradient(135deg, #dce9f8 0%, #eaf3fd 50%, #f0f7ff 100%);
  padding: 56px 0 40px;
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(200, 220, 255, 0.35);
  pointer-events: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
  max-width: 520px;
}

.hero-text h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  color: #1a1a2e;
  margin-bottom: 12px;
}

.hero-text h1 .highlight {
  color: #e53935;
  font-style: italic;
}

.hero-sub {
  font-size: 17px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 14px;
  color: #546e7a;
  line-height: 1.75;
}

/* Hero Illustration – CSS art */
.hero-illustration {
  flex: 0 0 450px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  min-height: 340px;
}

.hero-figure {
  position: relative;
  width: 200px;
  height: 280px;
  transform-origin: center bottom;
  transform: scale(1.2); /* Scale up for better resolution fit on desktop */
}

/* CSS Art removed in favor of image */

/* Floating icons */
.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.float-icon {
  position: absolute;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  animation: float 3s ease-in-out infinite;
}

.fi-shield  { top: 10px;  right: 20px; color: #1565c0; animation-delay: 0s;    }
.fi-family  { top: 20px;  left: 20px;  color: #6a1b9a; animation-delay: 0.8s;  }
.fi-health  { bottom: 90px; left: 10px; color: #c62828; animation-delay: 1.4s;  }
.fi-travel  { top: 80px;  right: 10px; color: #00838f; animation-delay: 0.4s;  }

@keyframes float {
  0%, 100% { transform: translateY(0);   }
  50%       { transform: translateY(-8px); }
}

/* =========================================
   PRODUCTS GRID
   ========================================= */
.products {
  padding: 20px 0 10px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  background: #fff;
  border: 1px solid #dce1ea;
  border-radius: 12px;
  overflow: hidden;
  padding: 8px;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 22px 10px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid transparent;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, transform 0.18s;
  text-align: center;
  gap: 10px;
}

.product-card:hover {
  border-color: #90caf9;
  background: #f0f7ff;
  transform: translateY(-3px);
}

.product-icon {
  font-size: 40px;
  line-height: 1;
}

.product-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #2c3e50;
  line-height: 1.3;
}

/* =========================================
   FEATURES STRIP
   ========================================= */
.features {
  padding: 10px 0 18px;
}

.features-inner {
  display: flex;
  align-items: stretch;
  background: #fff;
  border: 1px solid #dce1ea;
  border-radius: 12px;
  overflow: hidden;
}

.feature-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
}

.feature-divider {
  width: 1px;
  background: #e0e4ef;
  margin: 16px 0;
}

.feature-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.feature-text h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 12.5px;
  color: #607d8b;
  line-height: 1.55;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #fff;
  border-top: 1px solid #e5e9f0;
  padding: 14px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #78909c;
  font-size: 12px;
}

.footer-shield {
  font-size: 16px;
  color: #90a4ae;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 880px) {
  .header-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 20px;
  }
  .main-nav { display: none; }
  .main-nav.open { display: flex; width: 100%; order: 3; }
  .main-nav.open ul { flex-direction: column; width: 100%; }
  /*.header-cta { display: none; }*/
  .mobile-menu-toggle { display: block; }
  .header-cta.open { 
    display: flex; 
    width: 100%; 
    justify-content: center; 
    padding-top: 12px; 
    border-top: 1px solid #e5e9f0; 
    order: 4; 
    margin-top: 10px; 
  }

  .hero-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-illustration { 
    display: flex; 
    width: 100%; 
    flex: none; 
    margin-top: 30px; 
    min-height: 240px;
    align-items: flex-start;
  }
  .hero-figure {
    transform: scale(0.85);
    transform-origin: top center;
  }
  .hero-text h1 { font-size: 34px; }

  .features-inner {
    flex-direction: column;
  }
  .feature-divider {
    width: 100%;
    height: 1px;
    margin: 0 16px;
  }
}

@media (max-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .insurers-list {
    gap: 4px;
  }
  .insurer-item {
    padding: 4px 8px;
    font-size: 11px;
  }
}

@media (max-width: 420px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
