/* =============================================
   Arieh Global Ventures — Professional Theme
   Gold & Navy brand palette from logo
   ============================================= */

:root {
  --gold: #c9a84c;
  --gold-light: #e8d48b;
  --gold-dark: #9a7b2e;
  --navy: #0d1b2a;
  --navy-mid: #1b2d45;
  --blue: #2e6da4;
  --blue-light: #4a90c4;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --gray-100: #eef1f5;
  --gray-300: #b0bac5;
  --gray-600: #5a6577;
  --text: #1a2332;
  --shadow: 0 4px 24px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 12px 48px rgba(13, 27, 42, 0.18);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

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

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

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

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

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

ul {
  list-style: none;
}

.container {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  padding: 0.6rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 52px;
  width: auto;
  transition: height var(--transition);
}

.navbar.scrolled .nav-logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  opacity: 0.85;
  transition: opacity var(--transition), color var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  opacity: 1;
  color: var(--gold-light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 600 !important;
  opacity: 1 !important;
}

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

.nav-cta:hover {
  color: var(--navy) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 50%, #243b55 100%);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 20% 80%, rgba(46, 109, 164, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 8rem 0 5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.3);
  color: var(--gold-light);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.1rem;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 28px rgba(201, 168, 76, 0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-wrap {
  position: relative;
  animation: float 6s ease-in-out infinite;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  animation: glow 4s ease-in-out infinite alternate;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes glow {
  0% { opacity: 0.5; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1.05); }
}

.hero-logo-wrap img {
  width: min(420px, 90%);
  margin-inline: auto;
  position: relative;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.4));
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--gold);
}

.stat-item span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---- Section shared ---- */
section {
  padding: 6rem 0;
}

.section-label {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--gray-600);
  max-width: 600px;
  font-size: 1.05rem;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-header .section-desc {
  margin-inline: auto;
}

/* ---- About ---- */
.about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

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

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
}

.feature-item h4 {
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201, 168, 76, 0.15);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
}

.about-card blockquote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.about-card cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  color: var(--gray-600);
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, 0.25);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.12), rgba(46, 109, 164, 0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 0.6rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.service-card.featured {
  background: linear-gradient(160deg, var(--navy), var(--navy-mid));
  border-color: transparent;
  grid-column: span 1;
}

.service-card.featured h3,
.service-card.featured p {
  color: var(--white);
}

.service-card.featured p {
  opacity: 0.75;
}

.service-card.featured .service-icon {
  background: rgba(201, 168, 76, 0.2);
}

.service-card.featured .service-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}

/* ---- Leadership ---- */
.leadership {
  background: var(--off-white);
}

.leadership-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 860px;
  margin-inline: auto;
  border: 1px solid rgba(201, 168, 76, 0.12);
}

.photo-placeholder {
  aspect-ratio: 3 / 4;
  background: linear-gradient(160deg, var(--gray-100), var(--off-white));
  border-radius: var(--radius-lg);
  border: 2px dashed var(--gray-300);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--gray-600);
  text-align: center;
  padding: 1.5rem;
}

.photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.4;
}

.photo-placeholder span {
  font-size: 0.82rem;
  font-weight: 500;
}

.leadership-info .role {
  color: var(--gold-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.leadership-info h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.leadership-info p {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.leadership-info .credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.credential-tag {
  background: var(--gray-100);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
}

/* ---- Gallery ---- */
.gallery {
  background: var(--off-white);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
}

.gallery-filter {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  color: var(--gray-600);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
}

.gallery-filter:hover,
.gallery-filter.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item.hidden {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.92) 0%, rgba(13, 27, 42, 0.2) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--white);
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover figcaption {
  opacity: 1;
}

.gallery-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  width: fit-content;
}

.gallery-item figcaption strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.gallery-item figcaption p {
  font-size: 0.8rem;
  opacity: 0.85;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(13, 27, 42, 0.95);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition), visibility var(--transition);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(900px, 90vw);
  max-height: 75vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox p {
  color: var(--white);
  margin-top: 1rem;
  font-size: 0.95rem;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.lightbox-close:hover {
  opacity: 1;
}

/* ---- Certificate ---- */
.certificate {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}

.certificate::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.certificate .section-label {
  color: var(--gold-light);
}

.certificate .section-title {
  color: var(--white);
}

.certificate .section-desc {
  color: rgba(255, 255, 255, 0.65);
}

.cert-layout {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
}

.cert-image-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
}

.cert-image-wrap img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
}

.cert-details {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  text-align: left;
}

.cert-details-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--gray-100);
}

.cert-details-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
  flex-shrink: 0;
}

.cert-details-header h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  line-height: 1.3;
}

.cert-issuer {
  font-size: 0.82rem;
  color: var(--gray-600);
  margin-top: 0.2rem;
}

.cert-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.5rem;
}

.cert-field dt {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-dark);
  margin-bottom: 0.2rem;
}

.cert-field dd {
  font-size: 0.92rem;
  color: var(--navy);
  line-height: 1.5;
}

.cert-field dd a {
  color: var(--blue);
  transition: color var(--transition);
}

.cert-field dd a:hover {
  color: var(--gold-dark);
}

.cert-field-full {
  grid-column: 1 / -1;
}

.cert-activities {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.25rem;
}

.cert-activities li {
  font-size: 0.88rem;
  color: var(--gray-600);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.cert-card {
  max-width: 640px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.cert-card::before,
.cert-card::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 60px;
  border: 3px solid var(--gold);
}

.cert-card::before {
  top: 16px;
  left: 16px;
  border-right: none;
  border-bottom: none;
}

.cert-card::after {
  bottom: 16px;
  right: 16px;
  border-left: none;
  border-top: none;
}

.cert-seal {
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
}

.cert-seal img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.cert-company-name {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--gold-dark);
  margin: 1rem 0;
  line-height: 1.3;
}

.cert-type {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.cert-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--blue));
  margin: 1.5rem auto;
}

.cert-footer-text {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.cert-badge-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.cert-badge svg {
  color: var(--gold);
  flex-shrink: 0;
}

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

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.contact-info-item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-success {
  display: none;
  background: #e8f5e9;
  color: #2e7d32;
  padding: 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* ---- Footer ---- */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-brand img {
  height: 60px;
  margin-bottom: 1rem;
  filter: brightness(1.1);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
}

/* ---- Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ---- Responsive ---- */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-logo-wrap img {
    width: min(280px, 70%);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 1.5rem;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.3);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-toggle {
    display: flex;
    z-index: 1001;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .leadership-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cert-layout {
    grid-template-columns: 1fr;
  }

  .cert-fields {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .photo-placeholder {
    max-width: 240px;
    margin-inline: auto;
  }

  .leadership-info .credentials {
    justify-content: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    gap: 1.5rem;
  }

  section {
    padding: 4rem 0;
  }
}
