* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

:root {
  --max-width: 1200px;
  --accent: #ff9800;
  --bg: #0b0b0b;
}

html,
body {
  overflow-x: hidden;
}

body {
  background: #0b0b0b;
  color: #fff;
  text-align: center;
}

/* Header */
.site-header {
  position: absolute;
  top: 36px; /* leave space for topbar */
    left: 0;
    right: 0;
    z-index: 60;
    pointer-events: none;
}
.site-header .container{ max-width:var(--max-width); margin:0 auto; padding:6px 20px; display:flex; align-items:center; justify-content:center; pointer-events:auto; }
.logo img{ display:block; height:100px; width:auto; max-width:220px; }

@media(max-width:768px){
  .site-header{ top:46px; }
  .logo img{ height:80px; }
}

/* TOPBAR SCROLLER */
#topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 36px;
  background: #111;
  color: #fff;
  z-index: 99998;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.topbar-inner{
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.marquee{
  overflow: hidden;
  white-space: nowrap;
  display: block;
  width: calc(100% - 100px);
}

.marquee span{ display:inline-block; padding-right:48px; }

/* simple CSS marquee animation: animate all spans so both move together */
.marquee span{
  animation: marquee-left 18s linear infinite;
}
.marquee:hover span{ animation-play-state: paused; }

@keyframes marquee-left{
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.topbar-contact{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--accent);
  color: #000;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-weight:700;
  height:24px;
}

@media(max-width:600px){
  .marquee{ width: 100%; }
  .topbar-contact{ padding:6px 8px; font-size:0.85rem; }
  .site-header{ top:58px; }
}

/* HERO */
.hero {
  height: 100vh;
  position: relative;
  /* layered background: subtle gradient + image */
  background-image: linear-gradient(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.35)), url("img/maurya-banner.webp");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}


.overlay {
  position: absolute;
  inset: 0;
  /* softer overlay so banner image is visible */
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.55));
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: clamp(1.8rem, 4vw, 3.6rem);
  line-height: 1.02;
}

.hero p {
  margin: 15px 0;
  color: #e6e6e6;
}

.btn {
  padding: 14px 38px;
  background: var(--accent);
  color: #000;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 700;
}

/* SECTIONS */
section {
  padding: 80px 20px;
  width: 100%;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

h2 {
  margin-bottom: 30px;
}

/* ABOUT */
.about-box {
  max-width: 900px;
  margin: auto;
  background: #111;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255, 152, 0, .25);
  display: flex;
  gap: 20px;
  align-items: center;
  text-align: left;
}

.about-box .owner-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 128px;
  box-shadow: 0 8px 22px rgba(0,0,0,0.6);
  border: 3px solid rgba(255,152,0,0.12);
}

@media (max-width: 720px) {
  .about-box {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .about-box .owner-photo { margin-bottom: 12px; }
}

/* SERVICES */
.services-grid {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch;
  padding: 0 12px;
  /* ensure rows match height so cards can stretch uniformly */
  grid-auto-rows: 1fr;
}

.service-card {
  background: #111;
  padding: 35px;
  border-radius: 25px;
  transform-style: preserve-3d;
  transition: transform .4s, box-shadow .4s;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 220px;
  will-change: transform, opacity;
  backface-visibility: hidden;
}

/* make card fill its grid cell and distribute content so all cards have same height */
.service-card {
  height: 100%;
  justify-content: space-between;
}

.service-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.03);
  /* padding:10px; */
  border-radius: 12px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .35));
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.service-card p {
  color: #cfcfcf;
  font-size: 0.95rem;
}

.service-card:hover {
    transform: translateY(-6px) scale(1.04) !important;
    box-shadow: 0 20px 60px rgb(255 152 0 / 31%);
}

/* GALLERY */
.gallery-grid {
  max-width: var(--max-width);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
  padding: 0 12px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.04));
}

.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform .45s ease, filter .3s ease;
  will-change: transform, opacity;
  transform: translateZ(0);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.25));
  opacity: 0;
  transition: opacity .35s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover::after {
  opacity: 1;
}

.overlay {
  will-change: transform;
  transform: translateZ(0);
}


/* CONTACT */
.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Promotional note shown above the contact form */
.promo-note {
  max-width: 640px;
  margin: 10px auto 18px;
  background: #101010;
  padding: 12px 16px;
  border-left: 4px solid var(--accent);
  border-right: 4px solid var(--accent);
  border-radius: 8px;
  color: #fff;
  text-align: center;
}
.promo-note p { margin: 6px 0; font-weight: 600; }
.promo-note .promo-hi { font-size: 0.98rem; }
.promo-note .promo-en { font-size: 0.9rem; color: #d8d8d8; }

input,
textarea {
  padding: 14px;
  border: none;
  border-radius: 10px;
}

button {
  padding: 14px;
  background: #ff9800;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

/* FOOTER */
footer {
  background: #000;
  padding: 20px;
}

/* LOCATION */
.location-box {
  max-width: 780px;
  margin: 0 auto;
  background: #0f0f0f;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.45);
  color: #eee;
}
.location-box a {
  color: var(--accent);
  text-decoration: none;
}

/* Floating actions (WhatsApp + Call) */
.floating-actions {
  position: fixed;
  right: 18px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 99999;
}
.float-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
  transition: transform 160ms ease, box-shadow 160ms ease;
}
.float-btn .icon { display:block; width:20px; height:20px; }
.float-btn i.fa { font-size:20px; line-height:1; }
.float-btn.whatsapp { color: #fff; }
.float-btn.call { color: #000; }
.float-btn:hover { transform: translateY(-4px); }
.float-btn.whatsapp { background: #25D366; }
.float-btn.call { background: var(--accent); color: #000; }

@media(max-width:420px){
  .floating-actions { right: 12px; bottom: 14px; }
  .float-btn { min-width:48px; height:48px; font-size:0.85rem; }
}


/* MOBILE */
@media(max-width:768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(min-width:1200px) {
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-grid {
    gap: 30px;
  }
}

@media(max-width:420px) {
  .gallery-item img {
    height: 160px;
  }

  section {
    padding: 50px 12px;
  }

  .service-card {
    padding: 22px;
  }
  .hero {
    height: 80vh;
}
#topbar {
    top: 0;
    height: unset;
}
.topbar-inner {
    flex-direction: column;
}
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}