/* =====================================================
   RANDHIR ENTERPRISES — Clean Light Theme (Solarsmiths-inspired)
   Font: Manrope | Palette: White + Amber + Navy
   ===================================================== */

:root {
  --amber:       #F5A623;
  --amber-dark:  #D4871A;
  --amber-light: #FFF3DC;
  --navy:        #0A1628;
  --navy-mid:    #162440;
  --navy-soft:   #1E3256;
  --white:       #ffffff;
  --offwhite:    #F8F9FB;
  --gray-light:  #F1F3F6;
  --gray-mid:    #E2E6ED;
  --text-dark:   #0A1628;
  --text-mid:    #3D4F6B;
  --text-muted:  #7A8CA8;
  --border:      #E2E6ED;
  --font:        'Manrope', system-ui, sans-serif;
  --nav-h:       72px;
  --max-w:       1160px;
  --radius:      10px;
  --radius-lg:   18px;
  --shadow-sm:   0 2px 12px rgba(10,22,40,0.07);
  --shadow-md:   0 8px 32px rgba(10,22,40,0.12);
  --shadow-lg:   0 20px 60px rgba(10,22,40,0.16);
  --transition:  0.28s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
  padding: 6px 16px; background: var(--amber-light); border-radius: 20px;
}
.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.75rem);
  font-weight: 800; line-height: 1.15; color: var(--text-dark);
  margin-bottom: 16px;
}
.section-desc { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; font-weight: 400; }

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--amber); color: var(--white);
  font-family: var(--font); font-size: 14px; font-weight: 700;
  letter-spacing: 0.02em; padding: 15px 32px;
  border: none; border-radius: 50px; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px rgba(245,166,35,0.35);
}
.btn-primary:hover {
  background: var(--amber-dark); transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245,166,35,0.45);
}
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text-dark);
  font-size: 14px; font-weight: 600;
  border: 2px solid rgba(10,22,40,0.2); padding: 13px 28px;
  border-radius: 50px; transition: all var(--transition);
}
.btn-outline:hover { border-color: var(--amber); color: var(--amber); }
.btn-full { width: 100%; justify-content: center; }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--navy); color: rgba(255,255,255,0.8);
  font-size: 12px; font-weight: 500;
}
.topbar-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 9px 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.topbar-phone { color: var(--amber); font-weight: 600; transition: opacity var(--transition); }
.topbar-phone:hover { opacity: 0.8; }

/* ---- NAV ---- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: var(--nav-h); display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: var(--amber); color: var(--white);
  font-size: 14px; font-weight: 800; letter-spacing: 0.05em;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-icon-sm { width: 36px; height: 36px; font-size: 12px; border-radius: 8px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 16px; font-weight: 800; color: var(--text-dark); letter-spacing: -0.01em; }
.logo-sub { font-size: 10px; font-weight: 500; color: var(--text-muted); letter-spacing: 0.05em; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 13px; font-weight: 600; color: var(--text-mid); transition: color var(--transition); }
.nav-links a:hover { color: var(--amber); }
.nav-phone { color: var(--amber) !important; }
.nav-links .nav-cta {
  background: var(--amber); color: var(--white) !important;
  padding: 10px 22px; border-radius: 50px;
  box-shadow: 0 4px 14px rgba(245,166,35,0.3);
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-links .nav-cta:hover { background: var(--amber-dark); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text-dark); border-radius: 2px; transition: var(--transition); }
.nav-mobile {
  display: none; flex-direction: column;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 8px 24px 20px;
}
.nav-mobile a {
  font-size: 14px; font-weight: 600; color: var(--text-mid);
  padding: 13px 0; border-bottom: 1px solid var(--gray-light);
  display: block; transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--amber); }
.nav-mobile .mobile-phone { color: var(--amber); }
.nav-mobile .mobile-cta {
  margin-top: 12px; background: var(--amber); color: var(--white) !important;
  text-align: center; border-radius: 50px; padding: 14px !important; border: none;
}
.nav-mobile.open { display: flex; }

/* ---- HERO ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: #e8ecf2;
}
/* Real solar rooftop photo as background */
.hero-bg-img {
  position: absolute; inset: 0;
  background-image: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&q=80');
  background-size: cover; background-position: center 40%;
  transform: scale(1.04);
  animation: hero-zoom 18s ease-in-out infinite alternate;
}
@keyframes hero-zoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.10); }
}
/* Light overlay so text reads clearly */
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    105deg,
    rgba(255,255,255,0.94) 0%,
    rgba(255,255,255,0.82) 38%,
    rgba(255,255,255,0.35) 62%,
    rgba(255,255,255,0.05) 100%
  );
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--max-w); margin: 0 auto;
  padding: calc(var(--nav-h) + 40px) 24px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
.hero-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); background: var(--amber-light);
  padding: 8px 18px; border-radius: 50px; margin-bottom: 22px;
}
.hero-headline {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.1;
  color: var(--text-dark); margin-bottom: 20px; letter-spacing: -0.02em;
}
.hero-accent { color: var(--amber); }
.hero-sub {
  font-size: 1.05rem; color: #000000; font-weight: 400;
  line-height: 1.75; margin-bottom: 32px; max-width: 480px;
}

/* Trust badges */
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px;
}
.badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.9); border: 1.5px solid var(--gray-mid);
  color: var(--text-dark); font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: 50px;
  backdrop-filter: blur(8px);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.badge:hover { border-color: var(--amber); box-shadow: var(--shadow-sm); }
.badge-icon { font-size: 14px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right: panel image */
.hero-img-wrap {
  position: relative; display: flex;
  align-items: center; justify-content: center;
}
.hero-panel-img {
  width: 100%; max-width: 560px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  animation: float-panel 5s ease-in-out infinite;
}
@keyframes float-panel {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
/* Floating stat cards */
.stat-card {
  position: absolute; background: var(--white);
  border-radius: var(--radius); box-shadow: var(--shadow-md);
  padding: 14px 20px; display: flex; flex-direction: column; align-items: center;
  animation: float-panel 5s ease-in-out infinite;
}
.stat-card-1 { bottom: 12%; left: -10%; animation-delay: 0.5s; }
.stat-card-2 { top: 10%; right: -8%; animation-delay: 1.2s; }
.stat-num { font-size: 22px; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-label { font-size: 11px; font-weight: 600; color: var(--text-muted); margin-top: 2px; }

/* Scroll hint */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-dot {
  width: 6px; height: 6px; background: var(--amber); border-radius: 50%;
  animation: bounce-dot 1.8s ease-in-out infinite;
}
@keyframes bounce-dot {
  0%,100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(8px); opacity: 0.4; }
}

/* ---- TRUST STRIP ---- */
.trust-strip {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.trust-grid {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius);
  transition: background var(--transition), box-shadow var(--transition);
}
.trust-item:hover { background: var(--amber-light); box-shadow: var(--shadow-sm); }
.trust-icon { font-size: 32px; flex-shrink: 0; }
.trust-num { font-size: 17px; font-weight: 800; color: var(--text-dark); line-height: 1.2; }
.trust-label { font-size: 12px; font-weight: 500; color: var(--text-muted); margin-top: 2px; }

/* ---- SERVICES ---- */
.services { background: var(--offwhite); }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-img-wrap { height: 180px; overflow: hidden; }
.service-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img-wrap img { transform: scale(1.06); }
.service-body { padding: 24px 28px; }
.service-icon { font-size: 24px; margin-bottom: 10px; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text-dark); }
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.service-link {
  font-size: 13px; font-weight: 700; color: var(--amber);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--transition);
}
.service-link:hover { gap: 8px; }

/* ---- WHY US ---- */
.why-us { background: var(--white); }
.why-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.why-img-col { position: relative; }
.why-img {
  width: 100%; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover;
}
.why-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--amber); color: var(--white);
  border-radius: var(--radius); padding: 18px 22px;
  text-align: center; box-shadow: var(--shadow-md);
}
.why-badge-num { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.why-badge-text { display: block; font-size: 11px; font-weight: 600; margin-top: 4px; opacity: 0.9; }
.why-content-col { padding-left: 12px; }
.why-list { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--amber); color: var(--white);
  font-size: 14px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 2px;
}
.why-item h3 { font-size: 1rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.why-item p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ---- AREAS ---- */
.areas { background: var(--offwhite); }
.hq-wrap { display: flex; justify-content: center; margin-bottom: 28px; }
.hq-card {
  display: flex; align-items: center; gap: 24px;
  background: var(--white); border: 2px solid var(--amber-light);
  border-radius: var(--radius-lg); padding: 32px 44px;
  box-shadow: var(--shadow-md);
  max-width: 640px; width: 100%;
  transition: box-shadow var(--transition), transform var(--transition);
}
.hq-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.hq-map-icon { font-size: 36px; animation: pin-bounce 2.5s ease-in-out infinite; }
@keyframes pin-bounce {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hq-label { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 4px; }
.hq-city { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 6px; }
.hq-note { font-size: 0.85rem; color: var(--text-muted); max-width: 320px; }
.hq-badge {
  background: var(--amber); color: var(--white);
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
  padding: 6px 14px; border-radius: 20px; flex-shrink: 0; margin-left: auto;
}
.areas-note { text-align: center; font-size: 0.9rem; color: var(--text-muted); margin-top: 24px; }
.areas-note a { color: var(--amber); font-weight: 600; border-bottom: 1px solid transparent; transition: border-color var(--transition); }
.areas-note a:hover { border-color: var(--amber); }

/* ---- CONTACT ---- */
.contact { background: var(--navy); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.contact-left .section-eyebrow { text-align: left; background: rgba(245,166,35,0.15); color: var(--amber); }
.contact-promise { font-size: 0.9rem; color: rgba(255,255,255,0.5); font-weight: 400; line-height: 1.85; margin-top: 20px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-phone-link, .contact-loc {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); padding: 16px 20px;
  transition: background var(--transition);
}
.contact-phone-link:hover { background: rgba(245,166,35,0.12); border-color: var(--amber); }
.contact-phone-icon {
  width: 44px; height: 44px; background: var(--amber);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 20px; flex-shrink: 0; color: var(--white);
}
.contact-phone-label { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.45); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 2px; }
.contact-phone-num { font-size: 1rem; font-weight: 700; color: var(--white); }

/* Form card */
.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 44px 40px; box-shadow: var(--shadow-lg);
}
.form-title { font-size: 1.4rem; font-weight: 800; color: var(--text-dark); margin-bottom: 4px; }
.form-sub { font-size: 0.875rem; color: var(--text-muted); margin-bottom: 28px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label { font-size: 12px; font-weight: 700; color: var(--text-mid); letter-spacing: 0.05em; text-transform: uppercase; }
.form-group input {
  background: var(--offwhite); border: 1.5px solid var(--border);
  color: var(--text-dark); font-family: var(--font);
  font-size: 15px; font-weight: 500;
  padding: 14px 18px; border-radius: var(--radius); outline: none; width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input::placeholder { color: var(--text-muted); font-weight: 400; }
.form-group input:focus { border-color: var(--amber); box-shadow: 0 0 0 3px rgba(245,166,35,0.12); background: var(--white); }
.thank-you { text-align: center; padding: 40px 20px; }
.ty-icon {
  width: 64px; height: 64px; background: var(--amber);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; margin: 0 auto 20px;
  font-size: 28px; color: var(--white);
  animation: pop-in 0.5s ease-out both;
}
@keyframes pop-in { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.thank-you h3 { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 8px; }
.thank-you p { font-size: 0.9rem; color: var(--text-muted); }

/* ---- FOOTER ---- */
.footer { background: var(--navy-mid); border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto; gap: 60px;
  align-items: start; padding-top: 56px; padding-bottom: 40px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-desc { font-size: 0.875rem; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 360px; }
.footer-contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.footer-phone { display: block; font-size: 1.2rem; font-weight: 700; color: var(--white); margin-bottom: 6px; transition: color var(--transition); }
.footer-phone:hover { color: var(--amber); }
.footer-addr { font-size: 0.875rem; color: rgba(255,255,255,0.4); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06); padding: 16px 24px;
  text-align: center; font-size: 12px; color: rgba(255,255,255,0.25);
  max-width: var(--max-w); margin: 0 auto;
}

/* ---- FLOATING CALL BUTTON (mobile) ---- */
.float-call {
  display: none; position: fixed; bottom: 24px; right: 24px; z-index: 200;
  width: 56px; height: 56px; background: var(--amber); color: var(--white);
  border-radius: 50%; font-size: 24px; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(245,166,35,0.5);
  animation: pulse-float 2s ease-in-out infinite;
}
@keyframes pulse-float {
  0%,100% { box-shadow: 0 4px 20px rgba(245,166,35,0.5); }
  50%      { box-shadow: 0 4px 36px rgba(245,166,35,0.8); }
}

/* ---- SCROLL REVEAL ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .nav-links { gap: 18px; }
  .hero-panel-img { max-width: 460px; }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 40px; padding-bottom: 60px; }
  .hero-sub { max-width: 100%; }
  .trust-badges { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-img-wrap { order: -1; }
  .hero-panel-img { max-width: 380px; margin: 0 auto; }
  .stat-card-1 { left: 0; }
  .stat-card-2 { right: 0; }
  .why-inner { grid-template-columns: 1fr; }
  .why-img-badge { right: 12px; bottom: 12px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-left .section-eyebrow { display: inline-block; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .topbar { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .hero-headline { font-size: 2.2rem; }
  .hq-card { flex-direction: column; text-align: center; padding: 28px 24px; }
  .hq-badge { margin-left: 0; }
  .contact-form-card { padding: 28px 20px; }
  .float-call { display: flex; }
  .section { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
