@font-face {
  font-family: "Birthlong";
  src: url("../Fonts/Birthlong.otf") format("opentype");
  font-weight: normal;
}
@font-face {
  font-family: "Poppins";
  src: url("../Fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: normal;
}
@font-face {
  font-family: "Poppins-Medium";
  src: url("../Fonts/Poppins-Medium.ttf") format("truetype");
  font-weight: 500;
}
@font-face {
  font-family: "Poppins-Bold";
  src: url("../Fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: bold;
}
@font-face {
  font-family: "Delight";
  src: url("../Fonts/delight-regular.otf") format("opentype");
  font-weight: normal;
}
@font-face {
  font-family: "Delight_Medium";
  src: url("../Fonts/delight-medium.otf") format("opentype");
  font-weight: 500;
}
@font-face {
  font-family: "Delight_Bold";
  src: url("../Fonts/delight-bold.otf") format("opentype");
  font-weight: bold;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: #000000;
  color: #ffffff;
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

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

/* ───────────── TOKENS ───────────── */
:root {
  --black: #000000;
  --dark: #111111;
  --card: #181818;
  --border: #2a2a2a;
  --yellow: #ffd84d;
  --yellow2: #e6b800;
  --white: #ffffff;
  --muted: #999999;
  --radius: 14px;
  --px: 8%;
}

/* ═══════════════ NAVBAR ═══════════════ */
nav {
  position: absolute;
  width: 100%;
  padding: 20px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  gap: 20px;
}

.script-heading {
  color: var(--yellow);
  font-family: "Birthlong", cursive;
  font-size: 40px;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  color: #fff;
  font-size: 16px;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--yellow);
}

.nav-cta {
      font-family: 'Poppins';
    background: var(--yellow);
    color: #000;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
    border: var(--yellow2);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.nav-cta:hover {
  background: var(--yellow2);
}

.dot {
  color: #000;
  font-size: 10px;
}

/* Hamburger — hidden on desktop */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ═══════════════ HERO ═══════════════ */
.hero {
  min-height: 100vh;
  background: url("../Images/Service main Image.png") no-repeat center / cover;
  position: relative;
  display: flex;
  align-items: center;
  padding: 120px var(--px) 200px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.18));
}

.hero-content {
  position: relative;
  max-width: 820px;
}

.hero h1 {
  font-size: clamp(32px, 5vw, 45px);
  line-height: 1.1;
  margin-bottom: 22px;
  font-family: "Delight", serif;
  letter-spacing: 0.5px;
}

.hero .script {
  color: var(--yellow);
  font-family: "Birthlong", cursive;
}

.hero p {
  font-size: clamp(15px, 2vw, 18px);
  color: #ddd;
  margin-bottom: 30px;
  max-width: 580px;
}

/* ═══════════════ STATS BAR ═══════════════ */
.stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px var(--px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  gap: 50px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-item .num {
  font-size: 22px;
  font-weight: 700;
  color: var(--yellow);
}

.stat-item .label {
  font-size: 12px;
  color: #bbb;
  margin-top: 2px;
}

.star-rating {
  width: auto;
  height: 28px;
  display: block;
  margin: 0 auto 4px;
}

/* ═══════════════ GLOBAL BUTTON ═══════════════ */
.btn-primary {
  font-family: 'Poppins';
  display: inline-block;
  background: var(--yellow);
  color: #000;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  text-decoration: none;
}

.btn-primary:hover {
  background: var(--yellow2);
  transform: translateY(-2px);
}

/* ═══════════════ SCRIPT GLOBAL ═══════════════ */
.script {
  color: var(--yellow);
  font-family: "Birthlong", cursive;
}

/* ═══════════════ SECTION SHARED ═══════════════ */
.section-tag {
  display: block;
  color: var(--yellow);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  font-family: "Delight", serif;
  line-height: 1.15;
}

.section-sub {
  max-width: 420px;
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
}

/* ═══════════════ SERVICES SECTION ═══════════════ */
#services {
  background: #000;
  color: #fff;
  padding: 90px var(--px);
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 50px;
  gap: 20px;
  flex-wrap: wrap;
}

/* GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* CARD */
.service-card {
  background: #151515;
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(255, 216, 77, 0.08);
}

.img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .img-wrap img {
  transform: scale(1.07);
}

.icon-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #151515;
  border-radius: 50%;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-badge img {
  width: 22px;
  height: 22px;
  display: block;
}

.service-card .body {
  padding: 20px;
}

.service-card h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.service-card p {
  font-size: 13px;
  color: #a0a0a0;
  line-height: 1.6;
}

/* ═══════════════ BENEFITS SECTION ═══════════════ */
#benefits {
  padding: 90px var(--px);
  background: #000;
  color: #fff;
}

.benefits-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.benefit-card {
  background: #111;
  padding: 28px 22px;
  border-radius: 14px;
  transition: transform 0.3s, background 0.3s;
  border: 1px solid #1e1e1e;
}

.benefit-card:hover {
  transform: translateY(-8px);
  background: #1a1a1a;
}

.benefit-icon {
  background: rgba(255, 216, 77, 0.08);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.leaf        { width: 20px; height: auto; }
.rupee       { width: 26px; height: auto; }
.energy      { width: 30px; height: auto; }
.performance { width: 28px; height: auto; }

.benefit-card h4 {
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 600;
}

.benefit-card p {
  font-size: 13px;
  color: #bbb;
  line-height: 1.6;
}

/* ═══════════════ CTA BANNER ═══════════════ */
.cta-banner {
  margin: 60px var(--px);
  height: 260px;
  border-radius: 20px;
  background: url("../Images/contact-sub-img.jpg") no-repeat center / cover;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 50px;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.15));
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content span {
  color: #ccc;
  font-size: 13px;
  letter-spacing: 1px;
}

.cta-content h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin: 10px 0 22px;
  font-family: "Delight", serif;
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
    background: var(--yellow);
    padding: 60px var(--px) 20px;
    color: #000;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer .logo {
  font-size: 38px;
  font-family: "Brush Script MT", cursive;
  color: #000;
}

.footer-brand p {
  margin: 18px 0;
  line-height: 1.7;
  max-width: 300px;
  font-size: 14px;
}

.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  background: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 0.75;
}

.footer-socials img {
  width: 18px;
  height: 18px;
}

.footer-col h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #000;
  font-size: 14px;
  transition: opacity 0.3s;
}

.footer-col ul li a:hover {
  opacity: 0.6;
}

.footer-col p {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 28px;
}

.footer-links a {
  color: #000;
  font-size: 13px;
  transition: opacity 0.3s;
}

.footer-links a:hover {
  opacity: 0.6;
}

/* ═══════════════ REVEAL ANIMATIONS ═══════════════ */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left  { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }

.reveal-left.active,
.reveal-right.active {
  transform: translateX(0);
}

/* Hero & Nav load animations */
.hero-content {
  opacity: 0;
  transform: translateY(40px);
  animation: heroFade 1s ease 0.3s forwards;
}

@keyframes heroFade {
  to { opacity: 1; transform: translateY(0); }
}

nav {
  opacity: 0;
  transform: translateY(-20px);
  animation: navFade 0.8s ease forwards;
}

@keyframes navFade {
  to { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
═══════════════════════════════════════════════ */

/* ── LARGE DESKTOP (1400px+) ── */
@media (min-width: 1400px) {
  :root { --px: 10%; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 30px; }
  .benefits-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; }
}

/* ── TABLET LANDSCAPE / SMALL DESKTOP (992px – 1199px) ── */
@media (max-width: 1199px) {
  :root { --px: 5%; }

  .nav-links { gap: 28px; }
  .nav-links a { font-size: 15px; }

  .hero h1 { font-size: 44px; }

  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }

  #services { padding: 70px var(--px); }

  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-container { grid-template-columns: 1.5fr 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── TABLET PORTRAIT (768px – 991px) ── */
@media (max-width: 991px) {
  :root { --px: 5%; }

  /* Nav */
  .nav-links { gap: 22px; }
  .nav-links a { font-size: 14px; }
  .nav-cta { font-size: 13px; padding: 8px 18px; right: auto; position: relative; }

  /* Hero */
  .hero { padding: 140px var(--px) 220px; min-height: 100vh; }
  .hero h1 { font-size: 38px; }
  .hero p { font-size: 16px; }

  /* Stats */
  .stats-bar { justify-content: center; gap: 30px; }

  /* Services – 2 cols */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }

  /* Benefits – 2 cols */
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }

  /* CTA */
  .cta-banner { height: auto; min-height: 200px; padding: 40px 30px; }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ── MOBILE LARGE (576px – 767px) ── */
@media (max-width: 767px) {
  :root { --px: 5%; }

  /* Nav: hamburger mode */
  .hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(0, 0, 0, 0.97);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 150;
  }

  .nav-links.open { display: flex; }
  .nav-links a { font-size: 22px; }

  .nav-cta {
    position: static;
    font-size: 13px;
    padding: 8px 16px;
  }

  /* Hero */
  .hero { padding: 130px var(--px) 240px; }
  .hero h1 { font-size: clamp(26px, 7vw, 36px); }
  .hero p { font-size: 14px; }
  .btn-primary { font-size: 14px; padding: 12px 26px; }

  /* Stats */
  .stats-bar {
    flex-direction: column;
    gap: 18px;
    padding: 24px var(--px);
    justify-content: center;
    text-align: center;
  }

  /* Services header stack */
  .services-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .section-sub { max-width: 100%; }

  /* Services – 1 col */
  .services-grid { grid-template-columns: 1fr; }

  /* Benefits header */
  .benefits-header { flex-direction: column; align-items: flex-start; }

  /* Benefits – 1 col */
  .benefits-grid { grid-template-columns: 1fr; }

  /* CTA */
  .cta-banner {
    margin: 40px var(--px);
    height: auto;
    min-height: 200px;
    padding: 36px 24px;
    border-radius: 16px;
  }

  /* Footer */
  .footer { padding: 50px var(--px) 20px; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-brand { grid-column: auto; }
  .footer .logo { font-size: 32px; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* ── MOBILE SMALL (up to 575px) ── */
@media (max-width: 575px) {
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 11px; }

  .section-tag { font-size: 11px; letter-spacing: 2px; }
  .section-title { font-size: clamp(24px, 7vw, 32px); }

  .services-grid { gap: 14px; }
  .img-wrap { height: 180px; }

  .benefits-grid { gap: 14px; }
  .benefit-card { padding: 22px 18px; }

  .cta-banner { padding: 30px 20px; }
  .cta-content h2 { font-size: 20px; }

  .footer-links { flex-direction: column; gap: 8px; }

  /* Stats bar tighter */
  .stats-bar { gap: 14px; }
  .stat-item .num { font-size: 18px; }
  .stats-bar {    
    position: absolute;
    bottom: 35px;
    left: 0;
    width: 100%;
  }

  .footer-col h4 {
    text-align: center;
  }


  .footer-col ul {
    text-align: center;
  }

  .footer-col ul li {
    text-align: center;
  }

  .footer-col ul li a {
    text-align: center;
  }

  .footer-col ul li a:hover {
    text-align: center;
  }

  .footer-col p {
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a {
    text-align: center;
  }

  .footer-links a:hover {
    text-align: center;
  }






}

@media (max-width: 408px) and (min-width: 381px) {
  /* Your styles here */

  .stats-bar {    
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
  }
}



/* ── VERY SMALL (up to 380px) ── */
@media (max-width: 380px) {
  :root { --px: 4%; }

  nav { padding: 16px var(--px); }

  .hero h1 { font-size: 22px; }
  .btn-primary { font-size: 13px; padding: 11px 22px; }

  .footer-container { gap: 20px; }

  .stats-bar {    
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
  }



  .footer-col h4 {
    text-align: center;
  }


  .footer-col ul {
    text-align: center;
  }

  .footer-col ul li {
    text-align: center;
  }

  .footer-col ul li a {
    text-align: center;
  }

  .footer-col ul li a:hover {
    text-align: center;
  }

  .footer-col p {
    text-align: center;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-links {
    text-align: center;
  }

  .footer-links a {
    text-align: center;
  }

  .footer-links a:hover {
    text-align: center;
  }






}



/* ═══════════════════════════════════════════════
   BLUR REVEAL SCROLL ANIMATION
   ═══════════════════════════════════════════════ */

.blur-reveal {
  opacity: 0;
  filter: blur(14px);
  transform: translateX(-40px);
  transition: opacity 0.9s ease, filter 0.9s ease, transform 0.9s ease;
}

.blur-reveal.active {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(0px);
}

/* ═══════════════════════════════════════════════
   PAGE TRANSITION OVERLAY
   ═══════════════════════════════════════════════ */

#page-transition-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

#page-transition-overlay.fade-out {
  opacity: 1;
  pointer-events: all;
}

body {
  animation: pageFadeIn 0.45s ease forwards;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
