/* ==========================================================
   SWAMI CONSULTANCY — STYLESHEET
   ========================================================== */

:root {
  --dark: #1E293B;
  --gold: #D4AF37;
  --white: #FFFFFF;
  --bg-light: #F8FAFC;
  --gray: #64748B;

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --container: 1280px;
  --radius: 14px;
  --transition: 0.3s ease;
}

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

html { scroll-behavior: smooth; }

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

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

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

ul { list-style: none; }

.icon, svg { fill: currentColor; }

/* ---------- Layout helpers ---------- */
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6vw;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.eyebrow.center { display: block; text-align: center; }

.section__title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}
.section__title.center { text-align: center; }

.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn--gold {
  background: var(--gold);
  color: var(--dark);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 10px 26px rgba(212, 175, 55, 0.45); }

.btn--whatsapp {
  background: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.85rem;
}
.btn--whatsapp .icon { width: 16px; height: 16px; }
.btn--whatsapp:hover { background: var(--gold); color: var(--dark); }

/* ==========================================================
   NAVBAR
   ========================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #E7EAF0;
}

.navbar__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 6vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.navbar__logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
}

.navbar__name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--dark);
  white-space: nowrap;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-left: auto;
}

.nav-link {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--dark);
  position: relative;
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover { color: var(--gold); }
.nav-link:hover::after { width: 100%; }

.navbar__whatsapp-mobile { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), background var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--gold); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--gold); }

/* ==========================================================
   HERO
   ========================================================== */
.hero {
  background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
  padding: 90px 0 70px;
}

.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 6vw;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero__title {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.hero__subtitle {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.hero__desc {
  color: var(--gray);
  font-size: 1rem;
  max-width: 520px;
  margin-bottom: 32px;
}

.hero__media { animation: floatIn 1s ease both; }
.hero__img {
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(30, 41, 59, 0.15);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

@keyframes floatIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================
   ABOUT
   ========================================================== */
.about { padding: 90px 0; }

.about__grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.about__text {
  color: var(--gray);
  margin-bottom: 16px;
}

.about__img {
  border-radius: 20px;
  height: 480px;
  object-fit: cover;
  box-shadow: 0 30px 60px rgba(30, 41, 59, 0.12);
}

/* ==========================================================
   STATS
   ========================================================== */
.stats { background: var(--dark); padding: 60px 0; }

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

.stat-card {
  text-align: center;
  padding: 30px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: transform var(--transition), border-color var(--transition), background var(--transition);
}
.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.06);
}

.stat-card__num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
}
.stat-card__label {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #CBD5E1;
}

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

.services__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  padding: 34px 26px;
  border-radius: var(--radius);
  border: 1px solid #E7EAF0;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.1);
  border-color: var(--gold);
}

.service-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card__icon svg { width: 26px; height: 26px; fill: var(--gold); }

.service-card__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.service-card__desc { color: var(--gray); font-size: 0.92rem; }

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

.why-us__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 40px;
}

.why-us__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 10px;
  background: var(--bg-light);
  font-weight: 500;
  transition: background var(--transition), transform var(--transition);
}
.why-us__item:hover { background: rgba(212, 175, 55, 0.1); transform: translateX(4px); }

.why-us__check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.why-us__check svg { width: 16px; height: 16px; fill: var(--dark); }

/* ==========================================================
   PROCESS / TIMELINE
   ========================================================== */
.process { padding: 90px 0; background: var(--bg-light); }

.timeline {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 10px, transparent 10px 18px);
}

.timeline__item {
  position: relative;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 16px 24px;
  border: 1px solid #E7EAF0;
  transition: transform var(--transition), border-color var(--transition);
}
.timeline__item:hover { transform: translateY(-6px); border-color: var(--gold); }

.timeline__num {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
}

.timeline__title {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  margin: 10px 0 8px;
}
.timeline__desc { color: var(--gray); font-size: 0.85rem; }

/* ==========================================================
   TESTIMONIALS
   ========================================================== */
.testimonials { padding: 90px 0; }

.testimonials__grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  border: 1px solid #E7EAF0;
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.1);
}

.testimonial-card__photo {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 18px;
  border: 3px solid var(--gold);
}

.testimonial-card__text {
  color: var(--gray);
  font-size: 0.92rem;
  margin-bottom: 18px;
  font-style: italic;
}

.testimonial-card__name {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
}
.testimonial-card__role { font-size: 0.82rem; color: var(--gold); }

/* ==========================================================
   CONTACT
   ========================================================== */
.contact { padding: 90px 0; background: var(--bg-light); }

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact__item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
  align-items: flex-start;
}

.contact__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__icon svg { width: 22px; height: 22px; fill: var(--gold); }

.contact__item h4 {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 4px;
}
.contact__item p { color: var(--gray); font-size: 0.94rem; }

.contact__map {
  border-radius: var(--radius);
  overflow: hidden;
  height: 420px;
  box-shadow: 0 20px 40px rgba(30, 41, 59, 0.12);
}
.contact__map iframe { width: 100%; height: 100%; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--dark); color: var(--white); padding: 70px 0 0; }

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
}
.footer__logo { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; }

.footer__desc { color: #94A3B8; font-size: 0.9rem; }

.footer__heading {
  font-family: var(--font-head);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 1rem;
}

.footer__col a, .footer__col p {
  display: block;
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 12px;
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--gold); }

.footer__socials { display: flex; gap: 12px; }
.footer__socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), transform var(--transition);
}
.footer__socials a svg { width: 17px; height: 17px; fill: var(--white); }
.footer__socials a:hover { background: var(--gold); transform: translateY(-3px); }
.footer__socials a:hover svg { fill: var(--dark); }

.footer__bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.82rem;
  color: #94A3B8;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 50px; }
  .timeline::before { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; text-align: left; }
  .hero__media { order: -1; }
  .hero__img { height: 320px; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { order: -1; }
  .about__img { height: 320px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__map { height: 320px; }
  .why-us__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar__whatsapp-desktop { display: none; }
  .hamburger { display: flex; }

  .navbar__nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition);
    border-bottom: 1px solid #E7EAF0;
  }
  .navbar__nav.open { max-height: 480px; }

  .nav-link {
    width: 100%;
    padding: 16px 6vw;
    border-top: 1px solid #EEF1F5;
  }

  .navbar__whatsapp-mobile {
    display: inline-flex;
    margin: 16px 6vw 20px;
  }

  .testimonials__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .timeline { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero { padding: 60px 0 50px; }
  .about, .services, .why-us, .process, .testimonials, .contact { padding: 60px 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; gap: 14px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}