/* ==========================================================================
   TRIGYA SERVICES — style.css
   ========================================================================== */

:root {
  --navy: #0A1B3D;
  --navy-deep: #061229;
  --royal: #1E4FD6;
  --royal-light: #3E6BF0;
  --white: #FFFFFF;
  --off-white: #F6F8FC;
  --red: #D8262C;
  --gold: #C9A24B;
  --ink: #1B2333;
  --ink-soft: #5B6478;
  --border: #E7EAF2;

  --font-display: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Manrope', 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 2px 10px rgba(10, 27, 61, 0.06);
  --shadow-md: 0 10px 30px rgba(10, 27, 61, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 27, 61, 0.16);

  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.icon { width: 18px; height: 18px; fill: currentColor; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.2px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(216, 38, 44, 0.35);
}
.btn-primary:hover { background: #c31f25; }

.btn-whatsapp {
  background: #1FA855;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 168, 85, 0.3);
}
.btn-whatsapp:hover { background: #188c46; }

.btn-whatsapp-header {
  background: #1FA855;
  color: var(--white);
  padding: 9px 18px;
  font-size: 0.85rem;
  box-shadow: none;
}
.btn-whatsapp-header:hover { background: #188c46; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: var(--gold); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10, 27, 61, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease, box-shadow 0.25s ease;
}
.site-header.scrolled {
  background: var(--navy-deep);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  flex-shrink: 0;
}
.logo-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--royal), var(--royal-light));
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--white);
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.logo-text strong { font-weight: 800; color: var(--gold); }

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-link {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.25s ease;
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

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

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: 76px 0 90px;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(30, 79, 214, 0.35), transparent 60%),
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.hero-eyebrow {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: 0.5px;
}
.hero-title span { color: var(--royal-light); }

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--white);
  margin-top: 14px;
}

.hero-subtext {
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  font-size: 1rem;
  margin-top: 10px;
}

.hero-marathi {
  color: var(--gold);
  font-weight: 600;
  font-size: 1.02rem;
  margin-top: 14px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-visual { display: flex; justify-content: center; }

.hero-badge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

.hero-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 22px 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  color: var(--white);
  font-weight: 600;
  font-size: 0.92rem;
  backdrop-filter: blur(6px);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}
.hero-badge:nth-child(2) { transform: translateY(18px); }
.hero-badge:nth-child(4) { transform: translateY(18px); }
.hero-badge:hover {
  transform: translateY(10px);
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
}
.hero-badge:nth-child(1):hover, .hero-badge:nth-child(3):hover { transform: translateY(-6px); }
.hero-badge-icon { font-size: 1.7rem; }

/* ==========================================================================
   SECTION HEAD (shared)
   ========================================================================== */
.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}
.section-eyebrow {
  color: var(--royal);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section-eyebrow-light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  color: var(--navy);
  letter-spacing: 0.2px;
}
.section-title-light { color: var(--white); }

.section-desc {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { padding: 90px 0; background: var(--off-white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(30, 79, 214, 0.25);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.service-icon {
  font-size: 1.8rem;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(30,79,214,0.10), rgba(30,79,214,0.04));
}
.service-number {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--border);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-desc {
  color: var(--ink-soft);
  font-size: 0.94rem;
  margin-bottom: 18px;
}

.service-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 14px;
  margin-bottom: 22px;
}
.service-list li {
  font-size: 0.86rem;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}
.service-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--royal);
}

.service-highlight {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  background: linear-gradient(135deg, rgba(216,38,44,0.06), rgba(201,162,75,0.08));
  border: 1px dashed rgba(201,162,75,0.5);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 0.86rem;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 20px;
}
.service-highlight-single { justify-content: center; text-align: center; color: var(--red); }
.service-highlight strong { color: var(--red); }

.service-cta {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--royal);
  transition: color 0.2s ease, gap 0.2s ease;
}
.service-cta:hover { color: var(--red); }

/* ==========================================================================
   OFFERS
   ========================================================================== */
.offers {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  text-align: center;
}

.offers-grid {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,162,75,0.4);
  border-radius: var(--radius-lg);
  min-width: 220px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.offer-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.1); }

.offer-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--gold);
}
.offer-label {
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   WHY US
   ========================================================================== */
.why-us { padding: 90px 0; }

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

.why-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.why-check {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-weight: 800;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { padding: 90px 0; background: var(--off-white); }

.about-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.about-text {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 14px 0;
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.about-badge {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--border);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--royal);
}

.about-visual { display: flex; justify-content: center; }
.about-visual-card {
  width: 100%;
  max-width: 300px;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy), var(--navy-deep));
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-visual-icon { font-size: 2.6rem; display: block; margin-bottom: 14px; }
.about-visual-card p { font-size: 0.92rem; color: rgba(255,255,255,0.8); line-height: 1.6; }

/* ==========================================================================
   GALLERY
   ========================================================================== */
.gallery { padding: 90px 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  background: var(--off-white);
  border: 1px solid var(--border);
  text-align: center;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.94rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.gallery-thumb {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(30,79,214,0.10), rgba(201,162,75,0.12));
  display: grid;
  place-items: center;
  font-size: 2.2rem;
}
.gallery-thumb::before { content: attr(data-icon); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { padding: 90px 0; background: var(--off-white); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--navy);
}

.faq-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--off-white);
  color: var(--royal);
  font-size: 1.2rem;
  font-weight: 700;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--red);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}
.faq-answer p {
  color: var(--ink-soft);
  font-size: 0.92rem;
  padding-bottom: 20px;
}
.faq-item.active .faq-answer { max-height: 220px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: 90px 0 110px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.contact-card {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  text-align: center;
}

.contact-name {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--white);
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: 26px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}
.contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.98rem;
}
.contact-row a { font-weight: 700; color: var(--gold); }
.contact-icon { font-size: 1.1rem; }

.contact-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--navy-deep);
  padding: 26px 0 96px;
  text-align: center;
}
.footer-inner p {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
}
.footer-tagline { margin-top: 4px; color: rgba(255,255,255,0.35) !important; }

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 96px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1FA855;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(31,168,85,0.45);
  z-index: 400;
  transition: transform 0.2s ease;
}
.floating-whatsapp:hover { transform: scale(1.08); }
.floating-whatsapp .icon { width: 26px; height: 26px; }

/* ==========================================================================
   MOBILE BOTTOM BAR
   ========================================================================== */
.mobile-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 450;
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  box-shadow: 0 -6px 20px rgba(0,0,0,0.25);
}
.mobile-bar {
  grid-template-columns: repeat(3, 1fr);
}
.mobile-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 4px;
  border-radius: 10px;
  transition: background 0.2s ease, color 0.2s ease;
}
.mobile-bar a:active { background: rgba(255,255,255,0.08); }
.mobile-bar-icon { font-size: 1.25rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { margin-top: 20px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; text-align: center; }
  .about-badges { justify-content: center; }
  .about-visual { order: -1; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .main-nav.open { max-height: 420px; }
  .main-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav li { width: 100%; }
  .nav-link { display: block; padding: 14px 0; width: 100%; }
  .nav-link::after { display: none; }

  .hamburger { display: flex; }
  .btn-whatsapp-header { display: none; }

  .hero { padding: 44px 0 60px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { width: 100%; }
  .hero-badge-grid { max-width: 320px; margin: 0 auto; }
  .hero-badge:nth-child(2), .hero-badge:nth-child(4) { transform: none; }
  .hero-badge:hover { transform: translateY(-4px); }

  .service-list { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }

  .offer-card { padding: 28px 34px; min-width: 160px; }

  .contact-card { padding: 34px 22px; }

  .mobile-bar { display: grid; }
  .floating-whatsapp { bottom: 88px; right: 16px; width: 50px; height: 50px; }
  .site-footer { padding-bottom: 100px; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
}
