/* ============================================================
   STYLE.CSS — Loganathan Realty
   Colors: Navy #0d2a4e | Gold #c9962a | White #fff
============================================================ */

:root {
  --navy: #0d2a4e;
  --navy2: #1a3a5c;
  --gold: #c9962a;
  --gold2: #e8b84b;
  --white: #fff;
  --light: #f4f7fb;
  --text: #2c3e50;
  --muted: #6b7c93;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(13,42,78,0.10);
  --transition: 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: #fff;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Page Loader ── */
#pageLoader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease;
}
#pageLoader.fade-out { opacity: 0; }
#pageLoader.hidden   { display: none; }
.loader-ring {
  width: 70px; height: 70px;
  border: 4px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HEADER
============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 10px 40px;

  background: #ffffff;   /* White background */
  box-shadow: 0 2px 20px rgba(0,0,0,0.18);

  transition: padding 0.3s ease,
              background 0.3s ease;
}

/* Same white color on scroll */
.site-header.scrolled {
  padding: 10px 40px;
  background: #ffffff;
}

.logo img {
  height: 62px;
  object-fit: contain;
}

.header-right {
  display: flex;
  gap: 28px;
  align-items: center;
}

.contact-item {
  display: flex; align-items: center; gap: 10px; color: #000;
}
.contact-item .icon { font-size: 1.2rem; }
.contact-item .lbl  { font-size: 0.90rem; color: var(--gold2); text-transform: uppercase; letter-spacing: 0.05em; }
.contact-item .val  { font-size: 1rem; font-weight: 600; }

/* ============================================================
   NAVIGATION — centered
============================================================ */
.main-nav {
  position: fixed; top: 82px; left: 0; right: 0; z-index: 890;
  background: rgba(26,58,92,0.97);
  backdrop-filter: blur(8px);
  display: flex; justify-content: center;
  border-bottom: 2px solid var(--gold);
  transition: top var(--transition);
}
.nav-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 0; flex-wrap: wrap;
  max-width: 1200px; width: 100%;
}

.nav-item { position: relative; }

.nav-link {
  display: block; padding: 14px 18px;
  color: #fff; font-size: 1.1rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer; transition: color var(--transition);
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.active { color: var(--gold2); }

.nav-link.active::after {
  content: ''; display: block; height: 2px;
  background: var(--gold); border-radius: 2px;
  margin-top: 2px;
}

.arr { font-size: 0.7rem; margin-left: 4px; transition: transform 0.25s; }

/* Dropdown */
.dropdown {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy); min-width: 220px;
  border-top: 3px solid var(--gold); border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow); z-index: 999;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 10px 20px;
  font-size: 0.85rem; color: #cde; font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color var(--transition), background var(--transition);
}
.dropdown a:hover { color: var(--gold2); background: rgba(255,255,255,0.06); }

/* Mobile hamburger */
.menu-toggle {
  display: none; position: fixed; top: 14px; right: 16px; z-index: 950;
  background: var(--navy); border: 2px solid var(--gold); border-radius: 8px;
  cursor: pointer; padding: 8px 10px; flex-direction: column;
  gap: 5px; align-items: center; justify-content: center;
  transition: background 0.3s;
}
.menu-toggle:hover { background: var(--navy2); }
.menu-toggle .bar {
  display: block; width: 24px; height: 3px;
  background: var(--gold); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
/* Animate to X when open */
.menu-toggle.open .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ============================================================
   PAGE TOP OFFSET
============================================================ */
body > section:first-of-type,
.hero-slider { margin-top: 130px; }

/* ============================================================
   HERO SLIDER
============================================================ */
.hero-slider {
  position: relative; height: calc(100vh - 130px);
  min-height: 480px; overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease;
}
.slide.active { opacity: 1; }
.slide .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,42,78,0.72) 0%, rgba(13,42,78,0.35) 100%);
}
.slide .content {
  position: absolute; bottom: 14%; left: 8%;
  color: #fff; max-width: 600px;
}
.slide .content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.2; margin-bottom: 14px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.slide .content p {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  margin-bottom: 24px; opacity: 0.92;
}
.slider-btn {
  display: inline-block; padding: 12px 32px;
  background: var(--gold); color: var(--navy);
  font-weight: 700; font-size: 0.95rem; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.06em;
  transition: background var(--transition), transform var(--transition);
}
.slider-btn:hover { background: var(--gold2); transform: translateY(-2px); }

.slider-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.dot.active { background: var(--gold); transform: scale(1.3); }

/* ============================================================
   SECTION SHARED
============================================================ */
section { padding: 70px 40px; }
.section-title {
  text-align: center; margin-bottom: 14px;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy);
}
.section-sub {
  text-align: center; color: var(--muted);
  font-size: 1.05rem; margin-bottom: 48px;
}
.section-divider {
  text-align: center; margin: 10px 0 40px;
}
.divider-icon {
  display: inline-block; font-size: 1.4rem;
  color: var(--gold); padding: 0 16px;
  position: relative;
}
.divider-icon::before,
.divider-icon::after {
  content: ''; position: absolute; top: 50%;
  width: 60px; height: 2px; background: var(--gold); opacity: 0.3;
}
.divider-icon::before { right: 100%; }
.divider-icon::after  { left: 100%; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ============================================================
   WELCOME SECTION
============================================================ */
.welcome {
  max-width: 960px; margin: 0 auto;
  padding: 70px 40px; text-align: center;
}
.welcome .pre {
  color: var(--gold); font-weight: 700; font-size: 0.9rem;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px;
}
.welcome h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem); color: var(--navy); margin-bottom: 24px;
}
.welcome-body { text-align: justify; line-height: 1.85; color: var(--text); }
.welcome-body p { margin-bottom: 18px; }
.welcome-body br { display: none; }

/* ============================================================
   GROUP PROFILE
============================================================ */
.group-profile {
  position: relative; overflow: hidden;
  background: url('images/bg-pattern.jpg') center/cover no-repeat;
  text-align: center;
}
.gp-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,42,78,0.88), rgba(13,42,78,0.72));
}
.gp-inner { position: relative; max-width: 760px; margin: 0 auto; color: #fff; }
.gp-inner .pre { color: var(--gold2); font-size: 2rem; margin-bottom: 14px; }
.gp-inner h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem,3vw,2.4rem); margin-bottom: 20px;
}
.gp-inner p { font-size: 1.05rem; line-height: 1.8; opacity: 0.9; }

/* ============================================================
   SERVICES SCROLL TICKER — Right to Left
============================================================ */
.services-section { padding: 70px 0; background: var(--light); overflow: hidden; }
.services-section .section-header { padding: 0 40px; margin-bottom: 40px; }
.services-section .section-title { text-align: left; }

.services-ticker-wrap {
  position: relative; overflow: hidden;
  padding: 10px 0;
}
.services-ticker-wrap::before,
.services-ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}
.services-ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--light), transparent); }
.services-ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--light), transparent); }

.services-ticker {
  display: flex; gap: 24px;
  animation: tickerRTL 38s linear infinite;
  width: max-content;
}
.services-ticker:hover { animation-play-state: paused; }

@keyframes tickerRTL {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.svc-card {
  flex: 0 0 260px; background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(201,150,42,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(13,42,78,0.15); }

.svc-card-img {
  width: 100%; height: 160px; object-fit: cover;
  background: linear-gradient(135deg, #0d2a4e 0%, #1a3a5c 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
}
.svc-card-img img { width: 100%; height: 160px; object-fit: cover; }

.svc-card-body { padding: 18px 16px 20px; }
.svc-card-body h4 {
  font-size: 0.95rem; font-weight: 700; color: var(--navy); margin-bottom: 10px;
  line-height: 1.3;
}
.svc-btn {
  display: inline-block; padding: 8px 20px;
  background: var(--navy); color: #fff;
  font-size: 0.82rem; font-weight: 600; border-radius: 30px;
  transition: background var(--transition), transform var(--transition);
}
.svc-btn:hover { background: var(--gold); transform: translateY(-1px); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--navy); color: #aac;
  padding: 60px 40px 0;
}
.footer-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px; max-width: 1100px; margin: 0 auto;
}
.footer-col h3 {
  color: var(--gold2); font-size: 1rem; font-weight: 700;
  margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.06em;
  padding-bottom: 10px; border-bottom: 1px solid rgba(201,150,42,0.25);
}
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a {
  color: #aac; font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}
.footer-col ul li a:hover { color: var(--gold2); padding-left: 6px; }

.footer-col address { font-style: normal; font-size: 0.9rem; line-height: 1.8; }
.footer-col address strong { color: #fff; }

.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08); color: #aac;
  font-size: 1rem; transition: background var(--transition), color var(--transition);

  
}
.footer-social a:hover { background: var(--gold); color: var(--navy); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 22px 0;
  margin-top: 40px;
  font-size: 1rem;
  color: #78899a;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  margin-top: 40px;
  font-size: 1rem;
  color: #78899a;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
}

.footer-link {
  color: var(--gold2);
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-link:hover {
  color: #ffffff;
}

/* Bottom Links */
.fb-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 10px;
}

.fb-links a {
  color: #78899a;
  font-size: 0.82rem;
  text-decoration: none;
  transition: 0.3s ease;
}

/* Mouse pointer hover effect */
.fb-links a:hover {
  color: var(--gold2);
  cursor: pointer;
}

/* ============================================================
   BACK TO TOP
============================================================ */
.back-top {
  position: fixed; bottom: 28px; right: 24px; z-index: 800;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold); color: var(--navy);
  border: none; font-size: 1.1rem; cursor: pointer;
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  box-shadow: 0 4px 14px rgba(201,150,42,0.4);
}
.back-top.show { opacity: 1; transform: none; }

/* ============================================================
   CONTACT MODAL
============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(13,42,78,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal {
  background: #fff; border-radius: 16px;
  padding: 40px 36px; max-width: 540px; width: 100%;
  position: relative; max-height: 90vh; overflow-y: auto;
  box-shadow: 0 24px 64px rgba(13,42,78,0.28);
}
.modal h3 {
  font-family: 'Playfair Display', serif;
  color: var(--navy); font-size: 1.7rem; margin-bottom: 6px;
}
.modal .sub-h { color: var(--muted); margin-bottom: 24px; font-size: 0.92rem; }
.modal-close {
  position: absolute; top: 16px; right: 18px;
  background: none; border: none; font-size: 1.3rem;
  color: var(--muted); cursor: pointer; transition: color var(--transition);
}
.modal-close:hover { color: var(--navy); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: 0.82rem; font-weight: 600;
  color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #dde3ee; border-radius: 8px;
  font-family: inherit; font-size: 0.92rem; color: var(--text);
  background: #f9fafb; transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); background: #fff; }
.form-group textarea { resize: vertical; min-height: 100px; }
.btn-submit {
  width: 100%; padding: 13px;
  background: var(--navy); color: #fff;
  border: none; border-radius: 8px;
  font-family: inherit; font-size: 1rem; font-weight: 700;
  cursor: pointer; letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--gold); transform: translateY(-1px); }
.form-msg { margin-top: 14px; font-size: 0.9rem; padding: 10px 14px; border-radius: 6px; }
.form-msg.error   { background: #fef2f2; color: #c0392b; }
.form-msg.success { background: #f0fdf4; color: #166534; }

/* ── Modal wide (with address + map) ── */
.modal-wide { max-width: 860px; width: 95%; }
.modal-body-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; margin-top: 4px;
}
.modal-info-col { display: flex; flex-direction: column; gap: 16px; }
.contact-info-box {
  background: var(--light); border-radius: 10px;
  padding: 20px; border-left: 4px solid var(--gold);
}
.contact-info-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; color: var(--navy); margin-bottom: 14px;
}
.contact-details-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.contact-details-list li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9rem; color: var(--text); line-height: 1.5;
}
.contact-details-list .ci-icon { font-size: 1rem; min-width: 22px; margin-top: 2px; }
.contact-details-list a { color: var(--navy); font-weight: 600; transition: color 0.2s; }
.contact-details-list a:hover { color: var(--gold); }
.modal-map { border-radius: 10px; overflow: hidden; flex: 1; }

/* ============================================================
   PAGE HERO BANNER (inner pages)
============================================================ */
.page-hero {
  margin-top: 130px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 64px 40px;
  text-align: center; color: #fff; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3rem); position: relative; z-index: 1;
}
.page-hero .breadcrumb {
  margin-top: 12px; font-size: 0.9rem; opacity: 0.75; position: relative; z-index: 1;
}
.page-hero .breadcrumb a { color: var(--gold2); }

/* ============================================================
   PROPERTY CARDS
============================================================ */
.properties-section { padding: 70px 40px; background: var(--light); }
.prop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px; max-width: 1100px; margin: 0 auto;
}
.prop-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.prop-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,42,78,0.15); }
.prop-card-img {
  position: relative; height: 210px; overflow: hidden;
}
.prop-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.prop-card:hover .prop-card-img img { transform: scale(1.05); }
.prop-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--gold); color: var(--navy);
  font-size: 0.76rem; font-weight: 700; padding: 4px 12px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.prop-card-body { padding: 20px; }
.prop-card-body h4 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.prop-card-body .prop-loc { font-size: 0.85rem; color: var(--muted); margin-bottom: 10px; }
.prop-card-body .prop-loc::before { content: '📍 '; }
.prop-price { font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }
.prop-features { display: flex; gap: 16px; flex-wrap: wrap; }
.prop-features span { font-size: 0.82rem; color: var(--muted); }

/* ============================================================
   ABOUT PAGE
============================================================ */
.about-section { padding: 0.1px 10px; max-width: 1100px; margin: 0 auto; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-bottom: 60px; }
.about-img { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.about-img img { width: 100%; height: 360px; object-fit: cover; }
.about-text .pre { color: var(--gold); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.about-text h2 { font-family: 'Playfair Display', serif; font-size: 2rem; color: var(--navy); margin-bottom: 18px; }
.about-text p { line-height: 1.85; color: var(--text); margin-bottom: 14px; text-align: justify; }

.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 24px; margin: 50px 0;
}
.stat-box {
  text-align: center; padding: 30px 20px;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.stat-box::before {
  content: ''; position: absolute; top: -20px; right: -20px;
  width: 80px; height: 80px; border-radius: 50%;
  background: rgba(201,150,42,0.15);
}
.stat-num { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--gold2); }
.stat-lbl { font-size: 0.88rem; opacity: 0.8; margin-top: 6px; }

.board-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px; margin-top: 40px;
}
.board-card {
  text-align: center; background: #fff;
  border-radius: var(--radius); padding: 28px 20px;
  box-shadow: var(--shadow); border-top: 3px solid var(--gold);
}
.board-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  color: #fff; font-size: 1.8rem; display: flex;
  align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.board-card h4 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.board-card p  { font-size: 0.83rem; color: var(--muted); }

.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.vision-card {
  padding: 32px; border-radius: var(--radius);
  border-left: 4px solid var(--gold);
  background: var(--light);
}
.vision-card h3 { font-family: 'Playfair Display', serif; color: var(--navy); margin-bottom: 14px; font-size: 1.3rem; }
.vision-card p  { line-height: 1.8; color: var(--text); }

.accordion { margin-top: 30px; }
.acc-item { border: 1px solid #dde3ee; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.acc-toggle {
  width: 100%; text-align: left; padding: 16px 20px;
  background: #fff; border: none; cursor: pointer;
  font-family: inherit; font-size: 0.95rem; font-weight: 600; color: var(--navy);
  display: flex; justify-content: space-between; align-items: center;
  transition: background var(--transition);
}
.acc-toggle:hover { background: var(--light); }
.acc-toggle .acc-icon { font-size: 1.2rem; transition: transform 0.3s; }
.acc-item.open .acc-icon { transform: rotate(45deg); }
.acc-body {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 20px; color: var(--text); font-size: 0.92rem; line-height: 1.8;
}
.acc-item.open .acc-body { max-height: 300px; padding: 14px 20px 20px; }

/* ============================================================
   SERVICES PAGE — Full cards
============================================================ */
.services-page-section { padding: 70px 40px; max-width: 1140px; margin: 0 auto; }
.svc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
}
.svc-page-card {
  background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  border-bottom: 3px solid transparent;
}
.svc-page-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(13,42,78,0.15); border-bottom-color: var(--gold); }
.svc-page-img { height: 180px; overflow: hidden; }
.svc-page-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.svc-page-card:hover .svc-page-img img { transform: scale(1.06); }
.svc-page-body { padding: 22px 20px; }
.svc-page-body h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.svc-page-body p  { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 14px; }
.svc-detail-btn {
  display: inline-block; padding: 9px 22px;
  background: var(--navy); color: #fff;
  font-size: 0.83rem; font-weight: 600; border-radius: 30px;
  transition: background var(--transition);
}
.svc-detail-btn:hover { background: var(--gold); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 992px) {
  .site-header  { padding: 10px 20px; }
  .header-right { display: none; }

  /* Header on mobile = logo 62px + padding 10px top + 10px bottom = 82px */
  .main-nav {
    top: 82px; flex-direction: column; align-items: flex-start;
    max-height: 0; overflow: hidden; border-bottom: none;
    transition: max-height 0.5s ease;
  }
  .main-nav.active {
    max-height: 900px;
    overflow-y: auto;
    border-bottom: 2px solid var(--gold);
  }
  .nav-inner { flex-direction: column; align-items: flex-start; width: 100%; gap: 0; }
  .nav-link { padding: 12px 20px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .dropdown {
    position: static; border-top: none; border-radius: 0; box-shadow: none;
    display: block; max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease;
    background: rgba(255,255,255,0.04);
  }
  .nav-item.open .dropdown { max-height: 400px; }
  .menu-toggle { display: flex; }
  body > section:first-of-type, .hero-slider { margin-top: 82px; }
  .page-hero { margin-top: 82px; }
  .about-grid, .vision-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .modal-body-grid { grid-template-columns: 1fr; }
  .modal-wide { max-width: 98vw; }
}

@media (max-width: 640px) {
  section { padding: 50px 20px; }
  .site-footer { padding: 50px 20px 0; }
  .prop-grid, .svc-grid { grid-template-columns: 1fr; }
}