/* =============================================
   AYYAN SERVICE — MAIN STYLESHEET
   Aesthetic: Bold industrial warmth, deep navy + saffron
   ============================================= */

:root {
  --primary:       #E8620A;
  --primary-dark:  #C4500A;
  --primary-light: #FFF0E6;
  --navy:          #0D1B2A;
  --navy-mid:      #162436;
  --navy-light:    #1E3248;
  --accent:        #F5A623;
  --white:         #FFFFFF;
  --text:          #1A1A2E;
  --text-muted:    #5A6A7A;
  --text-light:    #8A9BAB;
  --bg:            #FFFFFF;
  --bg-alt:        #F7F9FB;
  --border:        #E2E8EF;

  --font-display:  'Syne', sans-serif;
  --font-body:     'DM Sans', sans-serif;

  --radius-sm:     8px;
  --radius-md:     14px;
  --radius-lg:     22px;

  --shadow-sm:     0 2px 12px rgba(0,0,0,.06);
  --shadow-md:     0 8px 32px rgba(0,0,0,.10);
  --shadow-lg:     0 20px 60px rgba(0,0,0,.15);

  --transition:    all 0.3s cubic-bezier(.4,0,.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 5rem 0;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; }

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title.left { text-align: left; margin-bottom: 1.25rem; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .85rem 2rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: .02em;
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(232,98,10,.35); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .82rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,.5);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.12); }

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .82rem 2rem;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,.15); border-color: white; }

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: transparent;
  color: var(--primary);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  padding: .7rem 1.5rem;
  border-radius: var(--radius-md);
  border: 2px solid var(--primary);
  cursor: pointer;
  transition: var(--transition);
}
.btn-outline-dark:hover { background: var(--primary-light); }

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: #25D366;
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
}
.btn-whatsapp:hover { background: #1EBD5A; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-whatsapp i { font-size: 1.3rem; }

/* ── TOP BAR ── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  padding: .5rem 0;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.topbar-inner span { display: flex; align-items: center; gap: .4rem; }
.topbar-inner i { color: var(--primary); font-size: .75rem; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,.12); }

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: .9rem;
  padding-bottom: .9rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
}
.logo-text span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: .25rem;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .88rem;
  color: var(--text);
  padding: .5rem .85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--primary); background: var(--primary-light); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > a { cursor: pointer; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + .5rem);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .5rem;
  min-width: 200px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
  border: 1px solid var(--border);
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: .55rem 1rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text);
}
.dropdown-menu a:hover { color: var(--primary); background: var(--primary-light); }

.btn-call {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--primary);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  padding: .6rem 1.25rem;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-call:hover { background: var(--primary-dark); }

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  padding: .4rem;
  margin-left: auto;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: min(90vh, 720px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,.92) 0%, rgba(13,27,42,.72) 55%, rgba(13,27,42,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 6rem 1.25rem;
  max-width: 680px;
}
.hero-tag {
  font-family: var(--font-display);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.hero-content h1 span { color: var(--primary); }
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 520px;
}
.hero-btns { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.5rem; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}
.badge {
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  color: white;
  font-size: .8rem;
  font-weight: 600;
  padding: .5rem .9rem;
  border-radius: 999px;
}
.badge i { color: var(--accent); }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--navy);
  padding: 2.5rem 0;
}
.stats-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .15rem;
  padding: 0 1.5rem;
}
.stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}
.stat span:last-child {
  font-size: .8rem;
  color: rgba(255,255,255,.6);
  text-transform: uppercase;
  letter-spacing: .08em;
}
.divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,.15);
}

/* ── SERVICES SECTION ── */
.services-section { background: var(--bg-alt); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}
.service-img { height: 190px; overflow: hidden; }
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }

.service-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.service-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  margin-bottom: .75rem;
}
.service-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .5rem;
}
.service-body p {
  color: var(--text-muted);
  font-size: .875rem;
  flex: 1;
  margin-bottom: 1rem;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--primary);
  font-weight: 700;
  font-size: .85rem;
  transition: var(--transition);
}
.service-card:hover .read-more { gap: .7rem; }

.service-card-cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
}
.service-card-cta:hover { border-color: transparent; }
.cta-body { justify-content: center; text-align: center; }
.cta-icon { background: rgba(255,255,255,.1); color: white; margin: 0 auto .75rem; }
.service-card-cta h3 { color: white; }
.service-card-cta p { color: rgba(255,255,255,.65); }

/* ── HOW IT WORKS ── */
.how-section { background: var(--bg); }
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 180px;
  max-width: 230px;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.step:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }

.step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  opacity: .2;
  line-height: 1;
  margin-bottom: .5rem;
}
.step-icon {
  width: 52px;
  height: 52px;
  background: var(--primary);
  color: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto .85rem;
}
.step h3 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.step p { font-size: .8rem; color: var(--text-muted); }

.step-arrow {
  color: var(--primary);
  font-size: 1.25rem;
  opacity: .4;
  flex-shrink: 0;
  padding-top: 3.5rem;
}

/* ── WHY CHOOSE US ── */
.why-section { background: var(--bg-alt); }
.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.why-inner.reverse { direction: rtl; }
.why-inner.reverse > * { direction: ltr; }

.why-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.why-img img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  height: 460px;
}
.why-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--primary);
  color: white;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 8px 24px rgba(232,98,10,.4);
}
.why-img-badge i { font-size: 1.4rem; margin-bottom: .2rem; }

.why-intro { color: var(--text-muted); margin-bottom: 1.5rem; }

.why-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.why-item {
  display: flex;
  align-items: flex-start;
  gap: .85rem;
}
.why-item > i {
  color: var(--primary);
  font-size: 1.1rem;
  margin-top: .15rem;
  flex-shrink: 0;
}
.why-item strong { display: block; color: var(--navy); margin-bottom: .15rem; font-size: .95rem; }
.why-item p { color: var(--text-muted); font-size: .85rem; margin: 0; }

/* ── TESTIMONIALS ── */
.testimonials-section { background: var(--bg); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.stars { color: var(--accent); margin-bottom: 1rem; font-size: .9rem; display: flex; gap: .15rem; }
.testimonial-card > p {
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-style: italic;
}
.reviewer { display: flex; align-items: center; gap: .75rem; }
.reviewer-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.reviewer strong { display: block; font-size: .9rem; color: var(--navy); }
.reviewer span { font-size: .78rem; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 4rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-inner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: white;
  margin-bottom: .35rem;
}
.cta-inner p { color: rgba(255,255,255,.8); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 1rem; flex-shrink: 0; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,27,42,.88) 0%, rgba(13,27,42,.6) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 2;
}
.page-hero-content h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  color: white;
  margin-bottom: .5rem;
}
.page-hero-content p {
  color: rgba(255,255,255,.65);
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
}
.page-hero-content p a { color: rgba(255,255,255,.75); }
.page-hero-content p a:hover { color: white; }
.page-hero-content p i { font-size: .65rem; }

/* ── SERVICES NAV ── */
.services-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 70px;
  z-index: 100;
}
.services-nav .container {
  display: flex;
  gap: .25rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-top: .6rem;
  padding-bottom: .6rem;
}
.services-nav .container::-webkit-scrollbar { display: none; }
.services-nav a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  color: var(--text-muted);
  padding: .5rem 1rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.services-nav a:hover { color: var(--primary); background: var(--primary-light); }

/* ── SERVICE DETAIL ── */
.service-detail { padding: 5rem 0; }
.alt-bg { background: var(--bg-alt); }
.service-icon-lg {
  width: 58px;
  height: 58px;
  background: var(--primary);
  color: white;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.service-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem;
  margin-top: 1rem;
}
.service-features span {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--text);
}
.service-features i { color: var(--primary); font-size: .8rem; }

/* ── TEAM ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}
.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.team-card img { width: 100%; height: 240px; object-fit: cover; object-position: top; }
.team-info { padding: 1rem 1.25rem; }
.team-info h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.team-info span { font-size: .8rem; color: var(--primary); font-weight: 600; }

/* ── CONTACT CARDS ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3rem;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.contact-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc-icon {
  width: 54px;
  height: 54px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 1rem;
}
.contact-card h3 { font-size: 1rem; color: var(--navy); margin-bottom: .5rem; }
.contact-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.6; }
.contact-card a { color: var(--primary); font-weight: 600; }
.contact-card em { color: var(--text-light); font-style: italic; font-size: .8rem; }

/* ── CONTACT LAYOUT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* ── FORM ── */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .825rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-alt);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(232,98,10,.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  border-radius: var(--radius-sm);
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .9rem;
}

/* ── MAP ── */
.map-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.map-address {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-top: 1rem;
  padding: .85rem 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--text-muted);
}
.map-address i { color: var(--primary); margin-top: .15rem; flex-shrink: 0; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer-brand .logo-text { color: white; }
.footer-brand p {
  margin-top: .85rem;
  font-size: .875rem;
  color: rgba(255,255,255,.55);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}
.socials { display: flex; gap: .6rem; }
.socials a {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.65);
  font-size: .9rem;
  transition: var(--transition);
}
.socials a:hover { background: var(--primary); color: white; }

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .9rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: var(--transition);
}
.footer-col ul li a:hover { color: var(--primary); padding-left: 4px; }

.contact-list { display: flex; flex-direction: column; gap: .75rem !important; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  font-size: .85rem;
  color: rgba(255,255,255,.55);
}
.contact-list li i { color: var(--primary); margin-top: .15rem; flex-shrink: 0; font-size: .8rem; }
.contact-list li a { color: rgba(255,255,255,.7); transition: var(--transition); }
.contact-list li a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.25rem 0;
}
.footer-bottom p {
  text-align: center;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom i { color: var(--primary); }

/* ── FAB CALL BUTTON ── */
.fab-call {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 58px;
  height: 58px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 24px rgba(232,98,10,.45);
  z-index: 999;
  transition: var(--transition);
  animation: pulse-ring 2.5s ease infinite;
}
.fab-call:hover { transform: scale(1.1); background: var(--primary-dark); }

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 6px 24px rgba(232,98,10,.45); }
  50% { box-shadow: 0 6px 40px rgba(232,98,10,.75); }
}

/* ── SCROLL ANIMATIONS ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════════════════
   MOBILE RESPONSIVE
   ═══════════════════════════════════════════ */

/* Tablets – ≤ 1024px */
@media (max-width: 1024px) {
  .why-inner { gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-layout { gap: 2.5rem; }
}

/* Large Mobile / Small Tablets – ≤ 768px */
@media (max-width: 768px) {

  /* Topbar: single centered line */
  .topbar-inner { flex-direction: column; gap: .25rem; text-align: center; padding: .4rem .5rem; }

  /* Navbar */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    background: var(--navy);
    justify-content: center;
    align-items: center;
    gap: .5rem;
    z-index: 9999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: white; font-size: 1.1rem; padding: .85rem 2rem; width: 100%; text-align: center; }
  .nav-links a:hover, .nav-links a.active { background: rgba(255,255,255,.1); color: var(--primary); }
  .dropdown-menu {
    position: static;
    opacity: 1;
    pointer-events: all;
    transform: none;
    background: rgba(255,255,255,.06);
    box-shadow: none;
    border: none;
    width: 100%;
  }
  .dropdown-menu a { color: rgba(255,255,255,.75); text-align: center; }
  .btn-call { display: none; }
  .hamburger { display: block; }

  /* Close button inside mobile menu */
  .nav-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255,255,255,.1);
    border: none;
    color: white;
    font-size: 1.4rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero */
  .hero { min-height: min(80vh, 560px); }
  .hero-content { padding: 4rem 1.25rem; }
  .hero-btns { flex-direction: column; gap: .75rem; }
  .hero-btns .btn-primary,
  .hero-btns .btn-outline { width: 100%; justify-content: center; }
  .hero-badges { gap: .5rem; }

  /* Stats */
  .stats-inner { gap: .5rem; }
  .stat { padding: 0 .75rem; }
  .stat .num { font-size: 1.5rem; }
  .divider { height: 36px; }

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

  /* Steps */
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); padding: 0; }
  .step { max-width: 100%; width: 100%; }

  /* Why / Service Detail */
  .why-inner { grid-template-columns: 1fr; gap: 2rem; }
  .why-inner.reverse { direction: ltr; }
  .why-img img { height: 280px; }
  .why-img-badge { bottom: -1rem; right: 0; width: 88px; height: 88px; font-size: .68rem; }

  /* Service features */
  .service-features { grid-template-columns: 1fr; }

  /* Team */
  .team-grid { grid-template-columns: 1fr 1fr; }

  /* Contact */
  .contact-cards { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }

  /* CTA */
  .cta-inner { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* FAB – mobile: fixed bottom, full-width call strip */
  .fab-call {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    height: 54px;
    border-radius: 0;
    font-size: .95rem;
    gap: .5rem;
    animation: none;
    box-shadow: 0 -4px 20px rgba(232,98,10,.3);
    flex-direction: row;
  }
  .fab-call::after {
    content: 'Call Now: +91 98942 29636';
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
  }
  /* Push page up so content isn't hidden behind the strip */
  body { padding-bottom: 54px; }
}

/* Small Mobile – ≤ 480px */
@media (max-width: 480px) {
  .section { padding: 3rem 0; }
  .topbar { display: none; } /* too cramped; info lives in footer */
  .hero-content h1 { font-size: 1.85rem; }
  .section-title { font-size: 1.5rem; }
  .contact-cards { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-inner { gap: 1.5rem; flex-direction: column; }
  .divider { width: 60px; height: 1px; }
  .page-hero { height: 220px; }
  .page-hero-content h1 { font-size: 1.5rem; }
}

/* ── PROBLEMS GRID ── */
.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}
.problem-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.problem-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.problem-card > i {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: .75rem;
  display: block;
}
.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .4rem;
}
.problem-card p {
  font-size: .85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── BRANDS GRID ── */
.brands-section { background: var(--bg-alt); }
.brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: .5rem;
}
.brand-chip {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .5rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .875rem;
  color: var(--navy);
  transition: var(--transition);
}
.brand-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* ── AREAS GRID ── */
.areas-section { background: var(--bg); }
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  justify-content: center;
  margin-top: .5rem;
}
.area-chip {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: var(--bg-alt);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--text);
  transition: var(--transition);
}
.area-chip i { color: var(--primary); font-size: .75rem; }
.area-chip:hover { border-color: var(--primary); background: var(--primary-light); color: var(--primary); }

/* ── SECTION INTRO ── */
.section-intro {
  text-align: center;
  color: var(--text-muted);
  max-width: 640px;
  margin: -1.5rem auto 2rem;
  font-size: .95rem;
}

/* ── FAQ SECTION ── */
.faq-section { background: var(--bg-alt); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item[open] { border-color: var(--primary); box-shadow: var(--shadow-sm); }
.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  user-select: none;
}
.faq-item summary::after {
  content: '\f078';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--primary);
  font-size: .75rem;
  transition: transform .3s ease;
  flex-shrink: 0;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p, .faq-item > p {
  padding: 0 1.25rem 1.1rem;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}
.faq-item a { color: var(--primary); font-weight: 600; }

/* ── RESPONSIVE ADDITIONS ── */
@media (max-width: 768px) {
  .faq-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .problems-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .problems-grid { grid-template-columns: 1fr; }
  .section-intro { font-size: .875rem; }
}

/* ── FORM NOTE ── */
.form-note {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--text-muted);
  margin-top: .5rem;
}
.form-note i { color: var(--primary); margin-top: .1rem; flex-shrink: 0; }

/* ── FORM STATES ── */
.req { color: var(--primary); }

.form-success {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #ECFDF5;
  color: #065F46;
  border: 1.5px solid #6EE7B7;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  line-height: 1.55;
  margin-top: .25rem;
}
.form-success i { font-size: 1.3rem; margin-top: .1rem; flex-shrink: 0; }
.form-success a { color: #059669; font-weight: 700; }

.form-error {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  background: #FEF2F2;
  color: #991B1B;
  border: 1.5px solid #FCA5A5;
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  line-height: 1.55;
  margin-top: .25rem;
}
.form-error i { font-size: 1.3rem; margin-top: .1rem; flex-shrink: 0; }
.form-error a { color: #DC2626; font-weight: 700; text-decoration: underline; }

/* ── SVG IMAGE RENDERING ── */

/* Appliance service card images — SVG fills nicely */
.service-img img[src$=".svg"] {
  object-fit: cover;
  background: #0D1B2A;
  width: 100%;
  height: 100%;
}

/* Page hero SVG images */
.page-hero img[src$=".svg"] {
  object-fit: cover;
  background: #0D1B2A;
}

/* Why/detail section SVG */
.why-img img[src$=".svg"] {
  object-fit: cover;
  background: #0D1B2A;
  border-radius: var(--radius-lg);
}

/* Team card — avatar layout */
.team-card {
  text-align: center;
  padding-top: 2rem;
}

/* Avatar wrapper — circular, orange ring */
.team-avatar-wrap {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  padding: 5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  box-shadow: 0 6px 24px rgba(232,98,10,.35);
  transition: var(--transition);
}
.team-card:hover .team-avatar-wrap {
  transform: scale(1.06);
  box-shadow: 0 10px 32px rgba(232,98,10,.5);
}
/* Inner circle clip */
.team-avatar-wrap img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: contain;
  object-position: center;
  background: #F0F4F8;
  display: block;
}

/* Team card person SVG fallback */
.team-card img[src$=".svg"] {
  object-fit: cover;
  object-position: top center;
  background: linear-gradient(180deg, #1E3248 0%, #0D1B2A 100%);
  width: 100%;
  height: 240px;
  border-radius: 0;
}

/* TV SVG image rendering */
.service-img img[src$="tv.svg"],
.page-hero img[src$="tv.svg"],
.why-img img[src$="tv.svg"] {
  object-fit: cover;
  background: #2C3E50;
  width: 100%;
  height: 100%;
}

/* Hero SVG background image */
.hero-img[src$=".svg"] {
  object-fit: cover;
  background: #0D1B2A;
  width: 100%;
  height: 100%;
}

/* Why-section / about SVG image */
.why-img img[src$="hero_technician.svg"] {
  object-fit: cover;
  background: #0D1B2A;
  border-radius: var(--radius-lg);
  height: 460px;
}

/* ═══════════════════════════════════════════════
   HERO APPLIANCE FLOATING CARDS
   ═══════════════════════════════════════════════ */

/* Hero layout: left cards | center text | right cards */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Left and right columns sit absolutely so the background photo shows fully */
.hero-appliances {
  position: absolute;
  top: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  z-index: 3;
}

.hero-appliances--left  { left: 1.5rem; }
.hero-appliances--right { right: 1.5rem; }

/* Individual card */
.ha-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 140px;
  background: rgba(13, 27, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(232, 98, 10, 0.35);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}
.ha-card:hover {
  transform: translateY(-6px) scale(1.04);
  border-color: var(--primary);
  box-shadow: 0 14px 40px rgba(232,98,10,0.35);
}

/* Staggered entrance animation */
.ha-card--1 { animation: haSlideIn 0.7s ease 0.2s both; }
.ha-card--2 { animation: haSlideIn 0.7s ease 0.4s both; }
.ha-card--3 { animation: haSlideIn 0.7s ease 0.6s both; }

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

/* Image area */
.ha-img {
  width: 100%;
  height: 100px;
  overflow: hidden;
  background: #0D1B2A;
}
.ha-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ha-card:hover .ha-img img {
  transform: scale(1.08);
}

/* Label strip */
.ha-label {
  width: 100%;
  background: rgba(232, 98, 10, 0.9);
  color: white;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 0.6rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.ha-label i { font-size: 0.68rem; }

/* ── Responsive: hide on small screens so center content stays readable ── */
@media (max-width: 1200px) {
  .ha-card { width: 118px; }
  .ha-img  { height: 82px; }
  .ha-label { font-size: 0.66rem; padding: 0.38rem 0.5rem; }
}

@media (max-width: 1024px) {
  .ha-card { width: 100px; }
  .ha-img  { height: 70px; }
  .hero-appliances { gap: 0.75rem; }
}

@media (max-width: 860px) {
  /* Collapse to bottom strip below hero text on tablets */
  .hero-appliances {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    order: 3;
    padding: 0;
    gap: 0.6rem;
  }
  .hero-appliances--left,
  .hero-appliances--right {
    left: auto; right: auto;
  }
  .hero {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 1.5rem;
  }
  .hero-content {
    order: 1;
  }
  .hero-appliances--left  { order: 2; }
  .hero-appliances--right { order: 2; }
  .ha-card { width: 110px; }
  .ha-img  { height: 72px; }
}

@media (max-width: 600px) {
  /* On mobile hide the cards entirely — hero content is priority */
  .hero-appliances { display: none; }
}
