/* ===== RedCliffe Labs Lucknow - Authorized Partner Website ===== */
/* Modern, Responsive, Mobile-First Design */

:root {
  --primary: #C00000;
  --primary-dark: #8B0000;
  --primary-light: #FFE5E5;
  --secondary: #1F4E79;
  --secondary-light: #E8F1F8;
  --accent: #10B981;
  --accent-light: #D1FAE5;
  --whatsapp: #25D366;
  --text-dark: #1F2937;
  --text-medium: #4B5563;
  --text-light: #9CA3AF;
  --bg-light: #F9FAFB;
  --bg-white: #FFFFFF;
  --border: #E5E7EB;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 4px 6px rgba(0,0,0,0.07);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
  --radius: 12px;
  --radius-lg: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--bg-white);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; }

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

/* ===== TOP BAR ===== */
.topbar {
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 8px 0;
  font-size: 13px;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar a { display: inline-flex; align-items: center; gap: 5px; }
.topbar a:hover { opacity: 0.85; }

/* ===== HEADER ===== */
.header {
  background: white;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 12px 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  color: var(--primary);
}
.logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 22px;
}
.logo-tagline {
  font-size: 10px;
  color: var(--text-medium);
  font-weight: 500;
  display: block;
  margin-top: -2px;
}

.nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.nav a {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 14px;
  transition: color 0.2s;
}
.nav a:hover { color: var(--primary); }

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.location-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: var(--secondary-light);
  border-radius: 20px;
  color: var(--secondary);
  font-size: 13px;
  font-weight: 600;
}

.btn-cart {
  background: var(--bg-light);
  padding: 10px 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  font-weight: 500;
}
.cart-count {
  background: var(--primary);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.btn-primary {
  background: var(--primary);
  color: white;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }

.btn-whatsapp {
  background: var(--whatsapp);
  color: white;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-whatsapp:hover { background: #1ea952; transform: translateY(-1px); }

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid var(--primary);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}
.btn-secondary:hover { background: var(--primary-light); }

.btn-outline {
  background: transparent;
  color: var(--secondary);
  border: 2px solid var(--secondary);
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  padding: 8px;
  font-size: 24px;
  color: var(--text-dark);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, #FFE5E5 0%, #FFF5F5 50%, #FFE8F0 100%);
  padding: 60px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(192,0,0,0.1), transparent);
  border-radius: 50%;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-content h1 {
  font-size: 42px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero-content h1 .highlight {
  color: var(--primary);
  position: relative;
}
.hero-content h1 .highlight::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(192,0,0,0.2);
  z-index: -1;
}
.hero-content p {
  font-size: 17px;
  color: var(--text-medium);
  margin-bottom: 28px;
  max-width: 540px;
}
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 16px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-feature .icon { color: var(--accent); font-size: 18px; }
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
}
.hero-card-big {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-offer-badge {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 16px 20px;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 16px;
}
.hero-offer-badge .label {
  font-size: 12px;
  letter-spacing: 2px;
  opacity: 0.9;
  margin-bottom: 4px;
}
.hero-offer-badge .title {
  font-size: 24px;
  font-weight: 800;
}
.hero-offer-badge .sub {
  font-size: 14px;
  margin-top: 4px;
  opacity: 0.95;
}
.hero-card-list { list-style: none; }
.hero-card-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-medium);
}
.hero-card-list li:last-child { border: none; }
.hero-card-list .check {
  background: var(--accent);
  color: white;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

/* ===== SEARCH BAR ===== */
.search-wrapper {
  background: white;
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin: -50px auto 60px;
  max-width: 800px;
  position: relative;
  z-index: 10;
}
.search-wrapper h3 {
  font-size: 18px;
  margin-bottom: 12px;
  text-align: center;
  color: var(--text-dark);
}
.search-bar {
  display: flex;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  transition: border-color 0.2s;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
}
.search-bar button {
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
}

/* ===== SECTION ===== */
.section { padding: 60px 0; }
.section-light { background: var(--bg-light); }
.section-title {
  text-align: center;
  margin-bottom: 40px;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.section-title p {
  font-size: 16px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== CATEGORIES GRID ===== */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}
.category-card {
  background: white;
  padding: 20px 12px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.category-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 10px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.category-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-dark);
}
.category-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: var(--accent);
  color: white;
  font-size: 9px;
  padding: 3px 8px;
  border-radius: 100px;
  font-weight: 700;
}

/* ===== PACKAGES GRID ===== */
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.package-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s;
}
.package-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.package-header {
  padding: 20px;
  background: linear-gradient(135deg, var(--secondary-light), white);
  border-bottom: 1px solid var(--border);
}
.package-badge {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.package-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.package-meta {
  font-size: 13px;
  color: var(--text-medium);
}
.package-body { padding: 20px; }
.package-features {
  list-style: none;
  margin-bottom: 16px;
}
.package-features li {
  padding: 6px 0;
  font-size: 13px;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 8px;
}
.package-features li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 700;
  font-size: 16px;
}
.package-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  margin-bottom: 16px;
}
.package-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
}
.package-mrp {
  font-size: 14px;
  color: var(--text-light);
  text-decoration: line-through;
  margin-right: 6px;
}
.package-discount {
  background: var(--accent-light);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}
.package-actions {
  display: flex;
  gap: 8px;
}
.package-actions .btn {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-align: center;
}

/* ===== WHY US ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}
.why-card {
  text-align: center;
  padding: 24px 16px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.why-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}
.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}
.why-card p {
  font-size: 13px;
  color: var(--text-medium);
}

/* ===== STEPS ===== */
.steps-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  position: relative;
}
.step-card {
  text-align: center;
  padding: 24px 12px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
}
.step-card h4 {
  font-size: 15px;
  margin-bottom: 6px;
}
.step-card p {
  font-size: 12px;
  color: var(--text-medium);
}

/* ===== STATS ===== */
.stats-bar {
  background: linear-gradient(135deg, var(--secondary), #2c5e8a);
  color: white;
  padding: 50px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  text-align: center;
}
.stat-number {
  font-size: 40px;
  font-weight: 800;
  display: block;
  background: linear-gradient(135deg, #fff, #FFE5E5);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stat-label {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 4px;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.testimonial-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
}
.testimonial-card::before {
  content: "\201C";
  font-size: 60px;
  color: var(--primary-light);
  position: absolute;
  top: 0;
  left: 16px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial-text {
  font-size: 14px;
  color: var(--text-medium);
  line-height: 1.7;
  margin-bottom: 16px;
  margin-top: 30px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}
.testimonial-name {
  font-weight: 700;
  font-size: 14px;
}
.testimonial-city {
  font-size: 12px;
  color: var(--text-light);
}
.testimonial-stars {
  color: #F59E0B;
  font-size: 14px;
  margin-bottom: 8px;
}

/* ===== CALCULATORS ===== */
.calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.calc-card {
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
  border: 2px solid var(--border);
  cursor: pointer;
  transition: all 0.3s;
}
.calc-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.calc-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--accent-light), var(--secondary-light));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.calc-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
}
.calc-card p {
  font-size: 13px;
  color: var(--text-medium);
  margin-bottom: 12px;
}
.calc-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}

/* ===== APP DOWNLOAD ===== */
.app-section {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 60px 0;
}
.app-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.app-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
}
.app-content p {
  font-size: 16px;
  opacity: 0.95;
  margin-bottom: 24px;
}
.app-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.app-btn {
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.app-visual {
  text-align: center;
  font-size: 200px;
  opacity: 0.5;
}

/* ===== FOOTER ===== */
.footer {
  background: #111827;
  color: #D1D5DB;
  padding: 60px 0 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand .logo { color: white; margin-bottom: 16px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  color: #9CA3AF;
  margin-bottom: 16px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.footer-social a:hover { background: var(--primary); }
.footer h4 {
  color: white;
  margin-bottom: 16px;
  font-size: 15px;
}
.footer ul {
  list-style: none;
}
.footer ul li {
  padding: 6px 0;
  font-size: 14px;
}
.footer ul li a:hover { color: var(--primary); }
.footer-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  align-items: flex-start;
}
.footer-contact-item .icon {
  color: var(--primary);
  flex-shrink: 0;
  font-size: 16px;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #6B7280;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--whatsapp);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 50;
  animation: pulse 2s infinite;
  transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ===== PAGE HEADER (Inner Pages) ===== */
.page-header {
  background: linear-gradient(135deg, var(--secondary), #2c5e8a);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.page-header h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
}
.page-header .breadcrumb {
  font-size: 14px;
  opacity: 0.9;
}
.page-header .breadcrumb a { color: white; }

/* ===== FORM ===== */
.form-container {
  background: white;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  margin: 40px auto;
}
.form-container h2 {
  font-size: 24px;
  margin-bottom: 8px;
}
.form-container .form-subtitle {
  color: var(--text-medium);
  margin-bottom: 24px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 968px) {
  .nav { display: none; }
  .mobile-menu-btn { display: block; }
  .nav.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content h1 { font-size: 32px; }
  .app-inner { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-container { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .topbar { display: none; }
  .hero { padding: 30px 0 50px; }
  .hero-content h1 { font-size: 26px; }
  .hero-content p { font-size: 15px; }
  .section { padding: 40px 0; }
  .section-title h2 { font-size: 24px; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .category-icon { width: 50px; height: 50px; font-size: 24px; }
  .category-name { font-size: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .header-actions .location-chip,
  .header-actions .btn-cart span { display: none; }
  .steps-container { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-container { padding: 24px 20px; }
  .stat-number { font-size: 32px; }
  .app-content h2 { font-size: 24px; }
  .whatsapp-float { width: 54px; height: 54px; font-size: 28px; bottom: 16px; right: 16px; }
}
