/* ============================================================
   Elite Chess Academy — Custom Stylesheet
   Colors: Primary #0d0d31 | Accent #f7c56c
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700;800&family=Lato:wght@300;400;700;900&display=swap');

/* ── Root Variables ─────────────────────────────────────────── */
:root {
  --primary: #0d0d31;
  --primary-rgb: 13, 13, 49;
  --secondary: #f7c56c;
  --secondary-dark: #e0a83a;
  --white: #ffffff;
  --light-bg: #f4f4f8;
  --card-bg: #fafafe;
  --text-dark: #1a1a2e;
  --text-muted: #6c757d;
  --border: rgba(247, 197, 108, 0.25);
  --shadow-sm: 0 4px 20px rgba(13, 13, 49, .08);
  --shadow-md: 0 8px 40px rgba(13, 13, 49, .14);
  --shadow-lg: 0 16px 60px rgba(13, 13, 49, .20);
  --radius: 12px;
  --transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
}

/* Prevent any element from breaking page width */
section,
footer,
header,
div#stats-bar {
  overflow: hidden;
}

/* Defensive: ensure containers never overflow viewport */
.container,
.container-fluid {
  /* max-width: 100%; */
}

/* Long text / phone numbers don't break layout */
p, li, a, span, td, th, label {
  word-break: break-word;
  overflow-wrap: break-word;
}

/* ── Utility ────────────────────────────────────────────────── */
.text-gold {
  color: var(--secondary) !important;
}

.text-navy {
  color: var(--primary) !important;
}

.bg-navy {
  background: var(--primary);
}

.bg-gold {
  background: var(--secondary);
}

.bg-light-section {
  background: var(--light-bg);
}

.section-label {
  display: inline-block;
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--secondary);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--secondary);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.divider-gold {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
  border-radius: 99px;
  margin: .9rem auto 1.5rem;
}

.divider-gold.left {
  margin-left: 0;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-gold {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--primary);
  font-weight: 700;
  font-family: 'Lato', sans-serif;
  padding: .75rem 2rem;
  border-radius: 50px;
  border: none;
  letter-spacing: .04em;
  box-shadow: 0 4px 20px rgba(247, 197, 108, .45);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--secondary-dark), #c8892a);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247, 197, 108, .55);
}

.btn-outline-gold {
  background: transparent;
  color: var(--secondary);
  font-weight: 700;
  padding: .7rem 1.9rem;
  border-radius: 50px;
  border: 2px solid var(--secondary);
  letter-spacing: .04em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

.btn-outline-gold:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  font-weight: 700;
  padding: .7rem 1.9rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, .7);
  letter-spacing: .04em;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}

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

/* ── Preloader ──────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity .5s ease, visibility .5s ease;
}

#preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.chess-spinner {
  width: 52px;
  height: 52px;
  font-size: 2.6rem;
  animation: spin 1.2s linear infinite;
  display: block;
  color: var(--secondary);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.preloader-inner p {
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-top: .6rem;
  letter-spacing: .1em;
}

/* ── Navbar ─────────────────────────────────────────────────── */
#mainNav {
  background: transparent;
  transition: var(--transition);
  padding: 1rem 0;
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(13, 13, 49, .97);
  backdrop-filter: blur(12px);
  padding: .6rem 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, .25);
}

.navbar-brand img {
  height: 56px;
  transition: var(--transition);
}

#mainNav.scrolled .navbar-brand img {
  height: 46px;
}

.navbar-toggler {
  border: 1.5px solid var(--secondary);
  padding: .3rem .6rem;
  border-radius: 6px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23f7c56c' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, .85) !important;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .5rem 1rem !important;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--secondary);
  border-radius: 99px;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--secondary) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 1rem;
  right: 1rem;
}

.nav-cta {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--primary) !important;
  border-radius: 50px;
  padding: .45rem 1.4rem !important;
  margin-left: .5rem;
  box-shadow: 0 3px 15px rgba(247, 197, 108, .4);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  color: var(--primary) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(247, 197, 108, .5);
}

/* ── Hero Section ───────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}

.hero-carousel {
  position: absolute;
  inset: 0;
}

.hero-carousel .carousel-item {
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-carousel .carousel-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(13, 13, 49, .88) 0%,
      rgba(13, 13, 49, .70) 50%,
      rgba(13, 13, 49, .50) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 90px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(247, 197, 108, .15);
  border: 1px solid rgba(247, 197, 108, .35);
  color: var(--secondary);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .4rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1.2rem;
  line-height: 1.15;
}

.hero-title span {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .82);
  max-width: 540px;
  margin-bottom: 2rem;
  font-weight: 300;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

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

.hero-stat-item .number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1;
}

.hero-stat-item .label {
  font-size: .78rem;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: .2rem;
}

.hero-stat-divider {
  width: 1px;
  background: rgba(247, 197, 108, .3);
  align-self: stretch;
}

.carousel-indicators button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(247, 197, 108, .4);
  border: none;
  margin: 0 5px;
  transition: var(--transition);
}

.carousel-indicators button.active {
  background: var(--secondary);
  width: 28px;
  border-radius: 99px;
}

.hero-scroll-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: rgba(255, 255, 255, .6);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll-btn i {
  color: var(--secondary);
  font-size: 1.1rem;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

.hero-chess-piece {
  font-size: clamp(8rem, 18vw, 18rem);
  color: rgba(247, 197, 108, .06);
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  line-height: 1;
  z-index: 2;
  user-select: none;
  pointer-events: none;
}

/* ── About Section ──────────────────────────────────────────── */
#about {
  padding: 100px 0;
  background: var(--white);
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: visible;
}

.about-img-wrap .main-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.about-badge-float {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: var(--primary);
  border: 3px solid var(--secondary);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge-float .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  display: block;
}

.about-badge-float .text {
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  background: rgba(247, 197, 108, .12);
  border: 1.5px solid rgba(247, 197, 108, .3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: .1rem;
}

.about-feature-item h5 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: .2rem;
}

.about-feature-item p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Stats Bar ──────────────────────────────────────────────── */
#stats-bar {
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a4a 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

#stats-bar::before {
  content: '♟';
  position: absolute;
  font-size: 18rem;
  color: rgba(255, 255, 255, .03);
  right: -3rem;
  top: -3rem;
  line-height: 1;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  position: relative;
}

.stat-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(247, 197, 108, .2);
}

.stat-card:last-child::after {
  display: none;
}

.stat-card .counter {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--secondary);
  display: block;
  line-height: 1.1;
}

.stat-card .counter-label {
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-top: .4rem;
}

/* ── Section Padding Utility ────────────────────────────────── */
.sec-pad {
  padding: 80px 0;
}

/* ── Services Section ───────────────────────────────────────── */
#services {
  background: var(--light-bg);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
  border: 1.5px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--secondary-dark));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  border-color: rgba(247, 197, 108, .35);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--primary), #1a1a4a);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.4rem;
  box-shadow: 0 6px 20px rgba(13, 13, 49, .2);
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
}

.service-card h4 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: .7rem;
}

.service-card p {
  font-size: .92rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
}

.service-tag {
  display: inline-block;
  background: rgba(247, 197, 108, .12);
  color: var(--secondary-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  padding: .3rem .85rem;
  border-radius: 50px;
  text-transform: uppercase;
}

/* ── Why Us Section ─────────────────────────────────────────── */
#why-us {
  background: var(--white);
}

.why-img-wrap {
  position: relative;
}

.why-img-wrap .main-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.why-overlay-card {
  position: absolute;
  top: 2rem;
  right: -2rem;
  background: var(--secondary);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  max-width: 200px;
  text-align: center;
}

.why-overlay-card .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.why-overlay-card p {
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary);
  margin: .3rem 0 0;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--light-bg);
  border: 1.5px solid transparent;
  transition: var(--transition);
}

.why-item:hover {
  border-color: rgba(247, 197, 108, .35);
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.why-item-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), #1a1a4a);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.why-item h5 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: .3rem;
}

.why-item p {
  font-size: .9rem;
  color: var(--text-muted);
  margin: 0;
}

/* ── Testimonials ───────────────────────────────────────────── */
#testimonials {
  background: var(--light-bg);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: var(--transition);
  height: 100%;
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(247, 197, 108, .5);
  transform: translateY(-4px);
}

.testimonial-quote {
  font-size: 3rem;
  line-height: .8;
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  margin-bottom: .8rem;
  display: block;
}

.testimonial-text {
  font-size: .97rem;
  color: var(--text-muted);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.testimonial-stars {
  color: var(--secondary);
  margin-bottom: 1.2rem;
  font-size: .95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid var(--secondary);
}

.testimonial-name {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: .1rem;
}

.testimonial-role {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ── FAQs ───────────────────────────────────────────────────── */
#faqs {
  background: var(--white);
}

.faq-accordion .accordion-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius) !important;
  margin-bottom: .9rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-accordion .accordion-item:hover {
  border-color: rgba(247, 197, 108, .5);
  box-shadow: var(--shadow-sm);
}

.faq-accordion .accordion-button {
  background: var(--white);
  color: var(--primary);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 1.3rem 1.6rem;
  border: none;
  box-shadow: none !important;
  gap: .8rem;
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary), #1a1a4a);
  color: var(--secondary);
}

.faq-accordion .accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d0d31'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  filter: none;
  flex-shrink: 0;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f7c56c'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  padding: 1rem 1.6rem 1.4rem;
  font-size: .95rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  line-height: 1.75;
}

.faq-number {
  display: inline-flex;
  width: 28px;
  height: 28px;
  background: rgba(247, 197, 108, .15);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 900;
  color: var(--secondary);
  flex-shrink: 0;
}

.accordion-button:not(.collapsed) .faq-number {
  background: rgba(247, 197, 108, .2);
}

/* ── CTA Section ────────────────────────────────────────────── */
#cta {
  padding: 100px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a4a 100%);
  position: relative;
  overflow: hidden;
}

#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect width="50" height="50" fill="rgba(247,197,108,0.03)"/><rect x="50" y="50" width="50" height="50" fill="rgba(247,197,108,0.03)"/></svg>') repeat;
  background-size: 60px 60px;
}

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

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-title span {
  color: var(--secondary);
}

.cta-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .75);
  max-width: 540px;
  margin: 0 auto 2rem;
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: var(--white);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, .4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37, 211, 102, .5);
  color: var(--white);
}

.btn-call {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
  color: var(--white);
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 20px rgba(231, 76, 60, .4);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: 1rem;
}

.btn-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(231, 76, 60, .5);
  color: var(--white);
}

/* ── Footer ─────────────────────────────────────────────────── */
#footer {
  background: #080820;
  padding: 80px 0 0;
  color: rgba(255, 255, 255, .75);
  overflow: hidden;
}

.footer-brand img {
  height: 52px;
  margin-bottom: 1rem;
}

.footer-desc {
  font-size: .92rem;
  color: rgba(255, 255, 255, .55);
  line-height: 1.75;
  margin-bottom: 1.4rem;
}

.footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border: 1.5px solid rgba(247, 197, 108, .25);
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  transition: var(--transition);
  margin-right: .4rem;
}

.footer-social a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1.4rem;
  padding-bottom: .7rem;
  border-bottom: 2px solid rgba(247, 197, 108, .2);
  position: relative;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--secondary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: .7rem;
}

.footer-links a {
  color: rgba(255, 255, 255, .55);
  font-size: .92rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
}

.footer-links a i {
  color: var(--secondary);
  font-size: .75rem;
}

.footer-links a:hover {
  color: var(--secondary);
  padding-left: .4rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .9rem;
  margin-bottom: 1rem;
  font-size: .9rem;
}

.footer-contact-item i {
  color: var(--secondary);
  margin-top: .2rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

.footer-map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 2px solid rgba(247, 197, 108, .2);
  margin-top: 1rem;
}

.footer-map-wrap iframe {
  display: block;
  filter: grayscale(60%) brightness(.85);
  transition: var(--transition);
}

.footer-map-wrap:hover iframe {
  filter: grayscale(0%) brightness(1);
}

.footer-bottom {
  background: rgba(0, 0, 0, .3);
  padding: 1.2rem 0;
  margin-top: 3rem;
  font-size: .85rem;
  color: rgba(255, 255, 255, .4);
}

.footer-bottom a {
  color: var(--secondary);
}

/* ── Floating Buttons ───────────────────────────────────────── */
.float-buttons {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .8rem;
  z-index: 9000;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .3);
}

.float-whatsapp {
  background: #25D366;
  color: var(--white);
}

.float-whatsapp:hover {
  color: var(--white);
}

.float-maps {
  background: #4285F4;
  color: var(--white);
}

.float-maps:hover {
  color: var(--white);
}

.float-call {
  background: var(--secondary);
  color: var(--primary);
}

.float-call:hover {
  color: var(--primary);
}

.float-btn-label {
  position: absolute;
  right: 66px;
  background: rgba(13, 13, 49, .9);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .8rem;
  border-radius: 50px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.float-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.float-btn-wrap:hover .float-btn-label {
  opacity: 1;
}

/* ── Back-to-top ────────────────────────────────────────────── */
#backToTop {
  position: fixed;
  bottom: 2rem;
  left: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--secondary);
  border: 1.5px solid rgba(247, 197, 108, .35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 9000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}

#backToTop:hover {
  background: var(--secondary);
  color: var(--primary);
  transform: translateY(-3px);
}

/* ── AOS overrides ──────────────────────────────────────────── */
[data-aos] {
  pointer-events: auto !important;
}

/* ================================================================
   RESPONSIVE — Mobile-first overrides
   ================================================================ */

/* ── Large tablet: ≤1199px ──────────────────────────────────── */
@media (max-width: 1199px) {
  .sec-pad {
    padding: 72px 0;
  }
}

/* ── Tablet: ≤991px ─────────────────────────────────────────── */
@media (max-width: 991px) {
  .sec-pad {
    padding: 60px 0;
  }

  /* Navbar dropdown */
  .navbar-collapse {
    background: rgba(13, 13, 49, .97);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(247, 197, 108, .15);
    margin-top: .5rem;
    border-radius: 0 0 12px 12px;
  }

  /* About badge — pull inside image boundary */
  .about-badge-float {
    left: 12px;
    bottom: -16px;
    padding: .9rem 1.1rem;
  }

  /* Why overlay — snap inside image */
  .why-overlay-card {
    right: 10px;
    top: 1rem;
  }

  /* Stats bar */
  #stats-bar {
    padding: 50px 0;
  }

  /* CTA */
  #cta {
    padding: 70px 0;
  }

  /* Footer */
  #footer {
    padding: 60px 0 0;
  }
}

/* ── Mobile: ≤767px ─────────────────────────────────────────── */
@media (max-width: 767px) {
  .sec-pad {
    padding: 52px 30px;
  }

  /* ── Hero ── */
  #hero {
    min-height: 100svh;
  }

  .hero-content {
    padding-top: 90px;
  }

  .hero-badge {
    font-size: .7rem;
    padding: .35rem .9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Hero stats: hide vertical dividers, show 2x2 */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem 1.2rem;
    margin-top: 1.8rem;
  }

  .hero-stat-divider {
    display: none;
  }

  .hero-stat-item {
    text-align: left;
  }

  .hero-stat-item .number {
    font-size: 1.6rem;
  }

  .hero-stat-item .label {
    font-size: .72rem;
  }

  /* ── About ── */
  .about-img-wrap {
    margin-bottom: 28px;
  }

  .about-img-wrap .main-img {
    height: 260px;
  }

  .about-badge-float {
    left: 10px;
    bottom: -14px;
    padding: .7rem .9rem;
  }

  .about-badge-float .num {
    font-size: 1.7rem;
  }

  .about-badge-float .text {
    font-size: .7rem;
  }

  .about-feature-item {
    gap: .8rem;
    margin-bottom: 1rem;
  }

  /* ── Stats bar ── */
  #stats-bar {
    padding: 40px 0;
  }

  .stat-card {
    padding: 1rem .5rem;
  }

  .stat-card .counter {
    font-size: 2rem;
  }

  .stat-card .counter-label {
    font-size: .75rem;
    letter-spacing: .05em;
  }

  .stat-card::after {
    display: none;
  }

  /* ── Services ── */
  .service-card {
    padding: 1.6rem 1.2rem;
  }

  .service-icon {
    width: 54px;
    height: 54px;
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  /* ── Why Us ── */
  .why-img-wrap .main-img {
    height: 260px;
  }

  .why-overlay-card {
    position: static;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: .9rem 1.2rem;
    max-width: 100%;
    margin-top: .8rem;
    border-radius: var(--radius);
    width: auto;
    text-align: left;
  }

  .why-overlay-card .num {
    font-size: 1.6rem;
  }

  .why-item {
    padding: 1rem;
    gap: .7rem;
    margin-bottom: 1.1rem;
  }

  .why-item-icon {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
    border-radius: 10px;
  }

  .why-item h5 {
    font-size: .95rem;
  }

  .why-item p {
    font-size: .85rem;
  }

  /* ── Testimonials ── */
  .testimonial-card {
    padding: 1.4rem;
  }

  .testimonial-text {
    font-size: .9rem;
  }

  /* ── FAQ ── */
  .faq-accordion .accordion-button {
    font-size: .9rem;
    padding: 1rem 1rem;
    gap: .6rem;
  }

  .faq-accordion .accordion-body {
    padding: .85rem 1rem 1.1rem;
    font-size: .88rem;
  }

  /* ── CTA ── */
  #cta {
    padding: 56px 0;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-sub {
    font-size: .97rem;
  }

  /* ── Footer ── */
  #footer {
    padding: 48px 0 0;
  }

  .footer-brand img {
    height: 44px;
  }

  .footer-map-wrap iframe {
    height: 190px;
  }

  .footer-bottom {
    margin-top: 2rem;
  }

  /* ── Float buttons ── */
  .float-buttons {
    bottom: 1rem;
    right: .85rem;
    gap: .55rem;
  }

  .float-btn {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }

  .float-btn-label {
    display: none;
  }

  /* hide labels on mobile — no hover */
  #backToTop {
    left: .85rem;
    bottom: 1rem;
    width: 40px;
    height: 40px;
  }
}

/* ── Small mobile: ≤575px ───────────────────────────────────── */
@media (max-width: 575px) {
  .sec-pad {
    padding: 44px 30px;
  }

  /* Typography */
  .section-title {
    font-size: 1.6rem;
  }

  .section-desc {
    font-size: .92rem;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  /* Buttons full-width stacked */
  .hero-content .d-flex {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-gold,
  .btn-outline-gold,
  .btn-outline-white {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* About feature items */
  .about-feature-item {
    flex-direction: column;
    gap: .6rem;
  }

  .about-feature-icon {
    margin-bottom: 0;
  }

  /* Stats: single row on extra small */
  .stat-card .counter {
    font-size: 1.75rem;
  }

  /* Service card */
  .service-card {
    padding: 1.3rem 1rem;
  }

  /* Why item */
  .why-item {
    flex-direction: row;
    align-items: flex-start;
  }

  /* CTA buttons full width */
  #cta .d-flex.flex-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-whatsapp,
  .btn-call {
    width: 100%;
    justify-content: center;
  }

  /* CTA form inner padding */
  #cta .col-lg-7>div {
    padding: 1.5rem 1.2rem !important;
  }

  /* FAQ */
  .faq-accordion .accordion-button {
    font-size: .85rem;
    padding: .9rem .85rem;
  }

  .faq-number {
    width: 22px;
    height: 22px;
    font-size: .68rem;
  }

  /* Footer */
  #footer {
    padding: 40px 0 0;
  }

  .footer-social a {
    width: 34px;
    height: 34px;
    font-size: .8rem;
  }

  /* Float buttons smaller */
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
  }

  #backToTop {
    width: 38px;
    height: 38px;
    font-size: .85rem;
  }
}

/* ── Very small: ≤400px ─────────────────────────────────────── */
@media (max-width: 400px) {
  .sec-pad {
    padding: 36px 20px;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  /* Prevent floated badges from overflowing */
  .about-badge-float {
    display: none;
  }

  .why-overlay-card {
    display: none;
  }

  /* Reduce hero stats font */
  .hero-stat-item .number {
    font-size: 1.35rem;
  }

  /* Float buttons */
  .float-buttons {
    right: .5rem;
    bottom: .8rem;
  }

  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }

  #backToTop {
    left: .5rem;
    width: 36px;
    height: 36px;
    font-size: .8rem;
  }
}