/* ══════════════════════════════════════════════════════════════
   SENTHAALAI ENGINEERING — style.css
   Colors: Deep Navy #0D1B3E, Gold #F0A500, White #FFFFFF
   Fonts: Playfair Display (headings) · DM Sans (body)
══════════════════════════════════════════════════════════════ */

:root {
  --navy:       #0D1B3E;
  --navy-mid:   #112252;
  --navy-light: #1A2E60;
  --gold:       #F0A500;
  --gold-dark:  #C8880A;
  --gold-light: #FFD166;
  --white:      #FFFFFF;
  --off-white:  #F8F6F1;
  --text-main:  #1C2B4A;
  --text-muted: #6B7A99;
  --border:     rgba(240, 165, 0, 0.2);
  --card-bg:    #FFFFFF;
  --shadow-sm:  0 2px 12px rgba(13,27,62,0.08);
  --shadow-md:  0 8px 32px rgba(13,27,62,0.14);
  --shadow-lg:  0 20px 60px rgba(13,27,62,0.18);
  --radius:     12px;
  --radius-lg:  20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-main);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

/* ─── TYPOGRAPHY ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.gold { color: var(--gold); }

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-label::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 20px;
}

.section-title.centered,
.section-sub.centered { text-align: center; }

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 60px;
}
.section-sub.centered { margin-left: auto; margin-right: auto; }

/* ─── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(240, 165, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

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

/* ─── NAVBAR ────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#navbar.scrolled {
  background: rgba(13, 27, 62, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

.brand-icon {
  width: 118px;
  height: 175px;
  flex-shrink: 0;
}
.brand-icon svg { width: 100%; height: 100%; }

.brand-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--white);
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 50px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  font-weight: 600;
  margin-left: 8px;
}
.nav-cta:hover {
  background: var(--gold-dark) !important;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,165,0,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,165,0,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.6;
}

.hero-glow {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(240,165,0,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 760px;
  padding-left: 80px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.7s 0.2s forwards;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.4s forwards;
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}

/* Rotating badge */
.hero-badge {
  position: absolute;
  bottom: 60px;
  right: 60px;
  width: 140px;
  height: 140px;
  opacity: 0.5;
  animation: spin 20s linear infinite;
  pointer-events: none;
}
.badge-ring {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px solid rgba(240,165,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 600;
  overflow: hidden;
  white-space: nowrap;
  text-indent: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-dot {
  width: 4px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), var(--gold));
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

/* ─── STATS STRIP ───────────────────────────────────────────── */
.stats-strip {
  background: var(--gold);
  padding: 32px 24px;
}
.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
}
.stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(13,27,62,0.7);
}

/* ─── ABOUT ─────────────────────────────────────────────────── */
.about-section { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 1rem;
}

.mission-vision {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.mv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.mv-icon {
  font-size: 1.4rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.mv-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
}
.mv-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.values-title {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 24px;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--gold);
  transition: var(--transition);
}
.value-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}
.value-icon {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.value-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  margin-bottom: 4px;
}
.value-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--off-white);
  border: 1px solid rgba(13,27,62,0.08);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.large { grid-column: span 2; }
.service-card.large.alt { }

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(13,27,62,0.08);
  line-height: 1;
  position: absolute;
  top: 20px;
  right: 24px;
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  padding-right: 48px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
}
.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
.service-tags span {
  background: rgba(240,165,0,0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(240,165,0,0.25);
}

/* ─── INDUSTRIES ────────────────────────────────────────────── */
.industries-section {
  background: var(--navy);
  padding: 80px 24px;
}
.ind-content { max-width: 1200px; margin: 0 auto; }
.ind-content h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white);
  text-align: center;
  margin-bottom: 48px;
}
.ind-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 700px;
  margin: 0 auto;
}
.ind-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
  transition: var(--transition);
}
.ind-card:hover {
  background: rgba(240,165,0,0.08);
  transform: translateY(-4px);
}
.ind-icon { font-size: 2.8rem; margin-bottom: 16px; }
.ind-card h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 12px;
}
.ind-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
}

/* ─── PROJECTS ──────────────────────────────────────────────── */
.projects-section { background: var(--off-white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(13,27,62,0.08);
  position: relative;
  transition: var(--transition);
  counter-increment: none;
}
.project-card::after {
  content: attr(data-index);
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(13,27,62,0.05);
  line-height: 1;
}
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}
.project-header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}
.project-client {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-dark);
}
.project-tool {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.project-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
}
.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Track record */
.track-record {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 48px;
}
.track-record h3 {
  color: var(--gold);
  font-size: 1.3rem;
  margin-bottom: 24px;
}
.track-items { display: flex; flex-direction: column; gap: 12px; }
.track-item {
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
}
.track-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.track-item strong { color: var(--white); }

/* Clients strip */
.clients-strip { text-align: center; }
.clients-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.clients-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}
.clients-logos span {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
  padding: 8px 20px;
  background: var(--white);
  border: 1px solid rgba(13,27,62,0.12);
  border-radius: 50px;
  transition: var(--transition);
}
.clients-logos span:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}

/* ─── CONTACT ───────────────────────────────────────────────── */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.info-icon {
  font-size: 1.4rem;
  width: 44px;
  height: 44px;
  background: rgba(240,165,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.info-item a, .info-item span {
  display: block;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 500;
}
.info-item a:hover { color: var(--gold-dark); }

/* Contact form */
.contact-form {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 44px;
  border: 1px solid rgba(13,27,62,0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea {
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid rgba(13,27,62,0.12);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #BABDCC; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240,165,0,0.1);
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
  color: rgba(255,255,255,0.65);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
}
.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scrollBounce {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
  50%       { opacity: 1;   transform: scaleY(1); }
}

/* Scroll-reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card.large { grid-column: span 2; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--navy-mid);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 32px 32px;
    gap: 8px;
    transition: right 0.35s ease;
    box-shadow: -8px 0 32px rgba(0,0,0,0.3);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-link { font-size: 1.05rem; width: 100%; padding: 12px 16px; border-radius: 8px; }
  .nav-cta { margin-left: 0; }

  .hero-content {
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 130px;
  }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-badge { display: none; }

  .section { padding: 64px 0; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card.large { grid-column: span 1; }

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

  .contact-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }

  .ind-cards { grid-template-columns: 1fr; }
  .mission-vision { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
  .hero-title { font-size: 2.6rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-num { font-size: 1.8rem; }
}

/* ─── FORM TABS ─────────────────────────────────────────────── */
.form-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.form-tab {
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid rgba(13,27,62,0.15);
  background: var(--white);
  color: var(--text-muted);
  transition: var(--transition);
}
.form-tab:hover {
  border-color: var(--gold);
  color: var(--navy);
}
.form-tab.active {
  background: var(--navy);
  color: var(--gold);
  border-color: var(--navy);
}

/* ─── TAB CONTENT ───────────────────────────────────────────── */
.tab-content { display: none; }
.tab-content.active { display: block; }
.form-panel { width: 100%; }

/* ─── INFO BADGE ────────────────────────────────────────────── */
.info-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(240,165,0,0.08);
  border: 1px solid rgba(240,165,0,0.2);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 8px;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34,197,94,0.2); }
  50%       { box-shadow: 0 0 0 6px rgba(34,197,94,0.05); }
}

/* ─── SELECT FIELD ──────────────────────────────────────────── */
.form-group select {
  padding: 14px 16px;
  background: var(--white);
  border: 1.5px solid rgba(13,27,62,0.12);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition);
  outline: none;
  cursor: pointer;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7A99' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(240,165,0,0.1);
}

/* ─── FILE DROP ZONE ────────────────────────────────────────── */
.file-drop-zone {
  border: 2px dashed rgba(13,27,62,0.2);
  border-radius: var(--radius);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: var(--white);
  position: relative;
}
.file-drop-zone:hover,
.file-drop-zone.dragover {
  border-color: var(--gold);
  background: rgba(240,165,0,0.04);
}
.file-drop-icon { font-size: 2.2rem; margin-bottom: 10px; }
.file-drop-zone p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 4px;
}
.file-browse {
  color: var(--gold-dark);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
.file-hint {
  font-size: 0.78rem !important;
  color: #BABDCC !important;
}
.file-input-hidden {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-chosen {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.file-chosen:not(:empty)::before {
  content: '✅';
}

/* ─── FORM SUCCESS ──────────────────────────────────────────── */
.form-success {
  display: none;
  padding: 14px 18px;
  background: rgba(34,197,94,0.1);
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: var(--radius);
  color: #16a34a;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 16px;
  text-align: center;
}
.form-success.show { display: block; }

/* Mobile tab fix */
@media (max-width: 768px) {
  .form-tabs { flex-direction: column; align-items: center; }
  .form-tab { width: 100%; max-width: 320px; text-align: center; }
}

/* ═══════════════════════ Training SECTION ═══════════════════════ */
.Training-section {
  background: var(--bg-alt, #f8f8f8);
}

.Training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.Training-card {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid #eee;
  border-top: 3px solid #F0A500;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.Training-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.Training-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.Training-card h3 {
  font-size: 1.1rem;
  color: #0D1B3E;
  margin-bottom: 8px;
  font-weight: 600;
}

.Training-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 16px;
}

.Training-card--link {
  cursor: pointer;
  position: relative;
}

.Training-card--link:hover {
  border-color: #F0A500;
  box-shadow: 0 12px 32px rgba(240,165,0,0.18);
}

.Training-enroll-btn {
  display: inline-block;
  margin-top: 12px;
  background: #F0A500;
  color: #0D1B3E;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  transition: background 0.3s;
}

.Training-card--link:hover .Training-enroll-btn {
  background: #C8880A;
}


  display: inline-block;
  background: #fff8e1;
  color: #b8860b;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid #F0A500;
}

@media (max-width: 1024px) {
  .Training-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .Training-grid {
    grid-template-columns: 1fr;
  }
}
}
/* ─── FOOTER BRAND ALIGNMENT FIX ───────────────────────────── */
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

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

.footer-brand .brand-icon {
  width: 118px;
  height: 175px;
}

.footer-brand .brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-brand .brand-name {
  font-size: 2.5rem;
}

.footer-brand > p {
  margin-left: 128px;
  max-width: 280px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
}

/* ═══════════════════════ PRODUCTS PAGE SECTION ═══════════════════════ */
.products-pg-section {
  background: var(--white);
}

.products-pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.products-pg-card {
  background: var(--off-white);
  border: 1px solid rgba(13, 27, 62, 0.08);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.products-pg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
  background: var(--white);
}

.products-pg-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: rgba(13, 27, 62, 0.06);
  line-height: 1;
  position: absolute;
  top: 16px;
  right: 20px;
}

.products-pg-icon {
  font-size: 2rem;
  margin-bottom: 4px;
}

.products-pg-card h3 {
  font-size: 1.15rem;
  color: var(--navy);
  font-family: 'Playfair Display', serif;
  padding-right: 40px;
}

.products-pg-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex: 1;
}

.products-pg-tag {
  display: inline-block;
  background: rgba(240, 165, 0, 0.12);
  color: var(--gold-dark);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 50px;
  border: 1px solid rgba(240, 165, 0, 0.25);
  margin-top: 8px;
  align-self: flex-start;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-pg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .products-pg-grid {
    grid-template-columns: 1fr;
  }
}