/* ==========================================================================
   PRO RESEARCH ADVISORS (P.R.A) - MASTER DESIGN SYSTEM & STYLES
   ========================================================================== */

:root {
  --orange: #f5a623;
  --orange-rgb: 245, 166, 35;
  --dark-orange: #e08c0f;
  --light-orange: #fff4e5;
  --navy: #0d1b3e;
  --navy-rgb: 13, 27, 62;
  --navy2: #1a3a70;
  --dark-navy: #081029;
  --light-bg: #f8fafc;
  --card-bg: #ffffff;
  --white: #ffffff;
  --text-dark: #0f172a;
  --text-mid: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: rgba(245, 166, 35, 0.5);
  
  --shadow-sm: 0 2px 8px rgba(13, 27, 62, 0.06);
  --shadow-md: 0 8px 24px rgba(13, 27, 62, 0.10);
  --shadow-lg: 0 16px 48px rgba(13, 27, 62, 0.15);
  --shadow-glow: 0 0 25px rgba(245, 166, 35, 0.35);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── RESET & BASE ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 800;
}

p {
  color: var(--text-mid);
}

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

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

/* ── ANNOUNCEMENT BAR ── */
.announcement-bar, .ann-bar {
  background: linear-gradient(90deg, var(--dark-navy) 0%, var(--navy) 100%);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 28px;
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.announcement-bar .icon, .ann-bar .icon {
  color: var(--orange);
  flex-shrink: 0;
}

.announcement-bar strong, .ann-bar strong {
  color: var(--orange);
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}

.quick-enquiry-btn, .qe-btn {
  background: linear-gradient(135deg, var(--orange), var(--dark-orange));
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
  letter-spacing: 0.6px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
}

.quick-enquiry-btn:hover, .qe-btn:hover {
  transform: translateY(-1px) scale(1.03);
  box-shadow: 0 6px 18px rgba(245, 166, 35, 0.45);
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}

.ticker-text {
  white-space: nowrap;
  animation: ticker 28s linear infinite;
  display: inline-block;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

@keyframes ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* ── NAVBAR ── */
nav, #navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 76px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

nav.scrolled, #navbar.scrolled {
  height: 68px;
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  border: 2px solid var(--orange);
  box-shadow: 0 4px 14px rgba(13,27,62,0.15);
  flex-shrink: 0;
  transition: var(--transition-normal);
}

.logo:hover img {
  transform: scale(1.08) rotate(3deg);
  box-shadow: var(--shadow-glow);
}

.logo-fallback {
  display: none;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy2));
  border: 2px solid var(--orange);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.8px;
}

.logo-text span:last-child {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.4px;
  transition: var(--transition-fast);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-links > li > a:hover,
.nav-links > li > a.active {
  color: var(--orange);
  background: rgba(245, 166, 35, 0.09);
}

.nav-links > li > a .fa-chevron-down {
  font-size: 10px;
  transition: transform var(--transition-fast);
}

.nav-links > li:hover > a .fa-chevron-down {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  min-width: 230px;
  box-shadow: var(--shadow-lg);
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: var(--transition-normal);
  border: 1px solid var(--border);
  z-index: 999;
}

.nav-links > li:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 22px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.dropdown a:hover {
  background: rgba(245, 166, 35, 0.08);
  color: var(--orange);
  padding-left: 26px;
}

/* Hamburger & Mobile Nav */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  border-radius: var(--radius-sm);
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 4px;
  transition: var(--transition-normal);
}

.hamburger.active span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  z-index: 999;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav.open { display: block; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mobile-nav ul li a {
  display: block;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
  background: rgba(245, 166, 35, 0.1);
  color: var(--orange);
}

.mobile-nav .mobile-sub {
  padding: 4px 0 4px 20px;
}

.mobile-nav .mobile-sub a {
  font-size: 13.5px;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-mid);
  padding: 9px 14px;
}

/* ── HERO SECTIONS ── */
/* ── HERO SECTIONS ── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 60%, var(--navy2) 100%);
  color: #fff;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?w=1600&q=80') center/cover no-repeat;
  opacity: 0.15;
  z-index: 0;
  filter: saturate(1.2);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--orange);
  border-radius: 50%;
  animation: float-particle linear infinite;
  opacity: 0.7;
  box-shadow: 0 0 10px var(--orange);
}

@keyframes float-particle {
  0%   { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  15%  { opacity: 0.8; }
  85%  { opacity: 0.8; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: heroFadeIn 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.15);
  border: 1px solid rgba(245, 166, 35, 0.4);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 22px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.4);
  text-align: center;
}

.hero-content h1 span {
  background: linear-gradient(135deg, #ffc875 0%, var(--orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 38px;
  line-height: 1.75;
  text-align: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--dark-orange));
  color: #fff;
  padding: 16px 38px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.4);
  transition: var(--transition-normal);
}

.hero-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 32px rgba(245, 166, 35, 0.6);
}

/* Page Header Hero (for inner pages) */
.page-hero {
  background: linear-gradient(135deg, var(--dark-navy) 0%, var(--navy) 100%);
  color: #fff;
  padding: 70px 40px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.page-hero h1 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  margin-bottom: 12px;
  text-align: center;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 17px;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

/* ── SHARED SECTIONS ── */
section {
  padding: 86px 40px;
}

.section-label, .sec-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--orange);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-title, .sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-divider, .sec-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 0 auto 44px auto;
  max-width: 320px;
}

.section-divider::before, .section-divider::after,
.sec-divider::before, .sec-divider::after {
  content: '';
  flex: 0 0 50px;
  height: 2.5px;
  background: linear-gradient(90deg, var(--orange), var(--navy));
  border-radius: 4px;
}

.section-divider i, .sec-divider i {
  color: var(--orange);
  font-size: 18px;
}

/* Intersection Observer Animations */
.fade-in { opacity: 0; transform: translateY(35px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-left.visible { opacity: 1; transform: translateX(0); }

.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.fade-in-right.visible { opacity: 1; transform: translateX(0); }

/* ── SERVICES CARDS ── */
.services-section { background-color: var(--light-bg); }
.services-inner { max-width: 1240px; margin: 0 auto; text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 166, 35, 0.4);
}

.service-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover img {
  transform: scale(1.06);
}

.service-card-body {
  padding: 28px 24px;
  text-align: center;
  align-items: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.service-card-body p {
  font-size: 14.5px;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── STATS CARDS ── */
.stats-section { background: var(--white); padding: 72px 40px; }
.stats-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.stat-card {
  background: var(--white);
  border: 2px solid rgba(245, 166, 35, 0.3);
  border-radius: var(--radius-md);
  padding: 36px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-glow);
  border-color: var(--orange);
}

.stat-icon {
  font-size: 42px;
  color: var(--orange);
  margin-bottom: 14px;
}

.stat-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-mid);
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-number {
  background: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 900;
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  display: inline-block;
  min-width: 110px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

/* ── INDEXING BADGES ── */
.indexing-section { background: var(--white); text-align: center; }
.indexing-inner { max-width: 1240px; margin: 0 auto; }
.indexing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  margin-top: 40px;
}

.index-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  width: 145px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.index-card:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.2);
  border-color: var(--orange);
}

/* ── REVIEWS & CTA SECTION ── */
.reviews-cta { background: var(--light-bg); padding: 86px 40px; }
.reviews-cta-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.review-box {
  background: var(--white);
  border: 2px solid var(--orange);
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  text-align: center;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-box h2 {
  font-size: 28px;
  color: var(--navy);
  margin-bottom: 24px;
}

.reviewer-img {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--orange);
  margin: 0 auto 16px;
  box-shadow: 0 4px 14px rgba(13,27,62,0.15);
}

.reviewer-stars {
  color: #f1c40f;
  font-size: 16px;
  margin-bottom: 12px;
}

.reviewer-name {
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 10px;
}

.reviewer-text {
  font-size: 15.5px;
  color: var(--text-mid);
  line-height: 1.75;
  font-style: italic;
}

.review-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.review-nav button {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--orange);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: var(--transition-fast);
}

.review-nav button:hover {
  background: var(--dark-orange);
  transform: scale(1.1);
}

.cta-box {
  background: linear-gradient(135deg, var(--orange), var(--dark-orange));
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: #fff;
  box-shadow: 0 12px 36px rgba(245, 166, 35, 0.4);
}

.cta-box .join {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 6px;
}

.cta-box h2 {
  color: #fff;
  font-size: 32px;
  margin-bottom: 24px;
}

.cta-box form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-box label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.95;
  text-align: left;
}

.cta-box input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.95);
  font-size: 14.5px;
  font-weight: 600;
  outline: none;
  transition: var(--transition-fast);
}

.cta-box input:focus {
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(13, 27, 62, 0.25);
}

.cta-box button {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 900;
  font-size: 13.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 14px rgba(13,27,62,0.3);
}

.cta-box button:hover {
  background: var(--navy2);
  transform: translateY(-2px);
}

/* ── INTERACTIVE QUICK ENQUIRY MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 41, 0.75);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  padding: 36px 32px;
  position: relative;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--border);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--light-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--orange);
  color: #fff;
}

.modal-title {
  font-size: 26px;
  color: var(--navy);
  margin-bottom: 8px;
}

.modal-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-form label {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: left;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  font-family: inherit;
  transition: var(--transition-fast);
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.2);
}

.modal-submit-btn {
  background: linear-gradient(135deg, var(--orange), var(--dark-orange));
  color: #fff;
  padding: 14px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 8px;
  box-shadow: 0 4px 14px rgba(245,166,35,0.4);
  transition: var(--transition-fast);
}

.modal-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,0.6);
}

/* ── SEARCH & FILTER CONTROLS (Journals & Services) ── */
.filter-bar-wrap {
  margin-bottom: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.search-input-group {
  position: relative;
  max-width: 540px;
  width: 100%;
}

.search-input-group input {
  width: 100%;
  padding: 14px 48px 14px 20px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  font-size: 15px;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.search-input-group input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2);
}

.search-input-group i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
}

.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.filter-tab-btn {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-mid);
  cursor: pointer;
  transition: var(--transition-fast);
}

.filter-tab-btn:hover,
.filter-tab-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(13,27,62,0.2);
}

/* ── ACCORDION FAQS ── */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  background: var(--white);
}

.accordion-header h4 {
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
}

.accordion-header i {
  font-size: 14px;
  color: var(--orange);
  transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  background: var(--light-bg);
}

.accordion-item.active .accordion-body {
  max-height: 400px;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}

/* ── FOOTER ── */
footer {
  background: linear-gradient(160deg, var(--dark-navy) 0%, var(--navy) 100%);
  color: #fff;
  padding: 70px 40px 34px;
  position: relative;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.3fr;
  gap: 36px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid var(--orange);
  object-fit: cover;
}

.footer-brand-text span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 900;
  display: block;
  color: #fff;
}

.footer-brand-text span:last-child {
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.65;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  transition: var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.15) translateY(-2px);
}

.footer-col h4 {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--orange);
  transform: translateX(4px);
}

.footer-col ul li a::before {
  content: '»';
  color: var(--orange);
  font-size: 11px;
}

.footer-contact p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  line-height: 1.5;
}

.footer-contact p i {
  color: var(--orange);
  margin-top: 3px;
  font-size: 14px;
}

.footer-bottom {
  max-width: 1240px;
  margin: 36px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ── FLOATING BUTTONS ── */
.whatsapp-float {
  position: fixed;
  bottom: 26px;
  left: 26px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-fast);
  animation: waPulse 2.5s ease infinite;
}

.whatsapp-float:hover {
  transform: scale(1.15);
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45); }
  50%      { box-shadow: 0 4px 36px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0.1); }
}

.scroll-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 48px;
  height: 48px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 9999;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(245, 166, 35, 0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-normal);
  border: none;
}

.scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--dark-orange);
  transform: translateY(-4px) scale(1.08);
}

/* ── RESPONSIVE MEDIA QUERIES (MOBILE, TABLET, DESKTOP) ── */
@media (max-width: 1024px) {
  nav, #navbar { padding: 0 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 900px) {
  .nav-links { display: none !important; }
  .hamburger { display: flex !important; }
  nav, #navbar { padding: 0 20px; height: 68px; }
  .mobile-nav { top: 68px; max-height: calc(100vh - 68px); }

  /* Stack all multi-column grid layouts vertically on tablet & mobile */
  .about-inner, 
  .process-inner, 
  .reviews-cta-inner, 
  .info-grid,
  .policies-layout,
  [style*="grid-template-columns:1fr 1fr"], 
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:260px 1fr"],
  [style*="grid-template-columns: 260px 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
  }

  .hero { min-height: 75vh; }
  .hero-content { padding: 0 24px; }
  section { padding: 60px 24px; }
  footer { padding: 52px 24px 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 26px; }
  .footer-inner > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .announcement-bar, .ann-bar { padding: 8px 14px; gap: 8px; justify-content: center; }
  .announcement-bar strong, .ann-bar strong { display: none; }
  .ticker-wrap { display: none; }
  
  .hero-content { padding: 0 16px; }
  .hero-content h1 { font-size: clamp(28px, 7.5vw, 40px); }
  .hero-content p { font-size: 15px; margin-bottom: 28px; }
  
  .hero-btn { 
    width: 100%; 
    justify-content: center; 
    padding: 14px 24px; 
    font-size: 13px; 
  }

  .services-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }

  .stats-inner { grid-template-columns: 1fr 1fr; gap: 14px; }
  .stat-card { padding: 24px 14px; }
  .stat-number { font-size: 24px; min-width: 90px; padding: 6px 16px; }

  .indexing-grid { gap: 10px; }
  .index-card { width: calc(50% - 6px); height: 76px; }

  .review-box, .cta-box { padding: 28px 18px; }
  .review-box h2, .cta-box h2 { font-size: 22px; }

  .filter-tabs { gap: 8px; }
  .filter-tab-btn { padding: 7px 14px; font-size: 12.5px; }

  .modal-container { padding: 24px 18px; width: 94%; }
  
  footer { padding: 44px 18px 24px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner > div:first-child { grid-column: 1; }
  section { padding: 48px 16px; }

  .whatsapp-float { bottom: 20px; left: 20px; width: 50px; height: 50px; font-size: 24px; }
  .scroll-top { bottom: 20px; right: 20px; width: 44px; height: 44px; font-size: 16px; }
}

@media (max-width: 420px) {
  .logo img, .logo-fallback { width: 46px !important; height: 46px !important; }
  .logo-text span:first-child { font-size: 17px; }
  nav, #navbar { height: 60px; padding: 0 14px; }
  .mobile-nav { top: 60px; max-height: calc(100vh - 60px); padding: 18px; }
  
  .stats-inner { grid-template-columns: 1fr; }
  .index-card { width: 100%; }
}
