/* ===================================================
   MADISON TECH CONSULTING — Main Stylesheet
   =================================================== */

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

:root {
  --gold:    #e79116;
  --gold-dk: #c77a10;
  --navy:    #212d45;
  --navy-dk: #161f31;
  --slate:   #2d4060;
  --text:    #2d2928;
  --text-lt: #5a6475;
  --bg:      #f8f9fb;
  --white:   #ffffff;
  --border:  #e2e8f0;
  --success: #27ae60;
  --radius:  10px;
  --shadow:  0 4px 24px rgba(33,45,69,.10);
  --shadow-lg: 0 12px 48px rgba(33,45,69,.16);
  --trans:   .3s ease;
}

html { scroll-behavior: smooth; }

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

h1,h2,h3,h4,h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

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

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

.section { padding: 96px 0; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--trans);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover { background: var(--gold-dk); border-color: var(--gold-dk); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(231,145,22,.35); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-outline-light {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-light:hover { background: var(--navy); color: var(--white); }
.btn-full { width: 100%; justify-content: center; }

/* ---------- SECTION HEADER ---------- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}
.section-header h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin: 12px 0 16px; }
.section-header p { color: var(--text-lt); font-size: 1.05rem; }
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light p { opacity: .85; }
.section-tag {
  display: inline-block;
  background: rgba(231,145,22,.12);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid rgba(231,145,22,.25);
}
.section-header.light .section-tag {
  background: rgba(231,145,22,.2);
  border-color: rgba(231,145,22,.4);
}

/* ===================================================
   NAVBAR
   =================================================== */
.nav-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--gold);
  white-space: nowrap;
  margin-left: 10px;
  line-height: 1.2;
}
@media (max-width: 480px) { .nav-brand-name { display: none; } }
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 10px 0;
  transition: var(--trans);
}
#navbar.scrolled {
  background: var(--navy-dk);
  padding: 6px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  color: rgba(255,255,255,.85);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .875rem;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--trans);
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
}
.nav-cta:hover { background: var(--gold-dk) !important; }

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

/* ===================================================
   HERO
   =================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(231,145,22,.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--navy-dk) 0%, var(--navy) 50%, var(--slate) 100%);
}
.hero-overlay {
  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.025'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(231,145,22,.15);
  border: 1px solid rgba(231,145,22,.35);
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.hero-badge::before {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.highlight {
  background: linear-gradient(90deg, var(--gold), #f5b942);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.78);
  margin-bottom: 40px;
  max-width: 620px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 64px;
}
.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.stat span:nth-child(2) {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  color: var(--gold);
}
.stat-label {
  display: block;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 4px;
}
.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.5);
  animation: bounce 2s infinite;
  z-index: 1;
}
.scroll-down svg { width: 28px; }
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===================================================
   TRUST BAR
   =================================================== */
.trust-bar {
  background: var(--bg);
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-label {
  text-align: center;
  font-size: .78rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 20px;
}
.trust-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--text-lt);
  opacity: .65;
  transition: var(--trans);
}
.trust-logo:hover { opacity: 1; color: var(--navy); }

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dk));
  transform: scaleX(0);
  transition: var(--trans);
}
.service-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 56px; height: 56px;
  background: rgba(231,145,22,.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 28px; }

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: var(--navy);
}
.service-card p { color: var(--text-lt); font-size: .95rem; margin-bottom: 16px; }

.service-list { margin-bottom: 24px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .875rem;
  color: var(--text-lt);
  padding: 4px 0;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.service-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .875rem;
  color: var(--gold);
  transition: var(--trans);
}
.service-link:hover { color: var(--gold-dk); letter-spacing: .02em; }

/* ===================================================
   ABOUT
   =================================================== */
.about { background: var(--bg); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-visual { position: relative; }
.about-img-wrapper { position: relative; height: 420px; }
.about-img-bg {
  position: absolute;
  top: 24px; left: 24px;
  right: -24px; bottom: -24px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  border-radius: 20px;
  opacity: .12;
}
.about-img-card {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  box-shadow: var(--shadow-lg);
  padding: 32px;
}
.about-logo-img {
  width: 200px;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
}
.about-badge-card {
  text-align: center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(231,145,22,.3);
  border-radius: 12px;
  padding: 16px 32px;
}
.badge-num {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--gold);
  line-height: 1;
}
.badge-text {
  display: block;
  color: rgba(255,255,255,.7);
  font-size: .85rem;
  font-weight: 600;
  margin-top: 4px;
}
.about-floating-stat {
  position: absolute;
  bottom: -20px;
  right: 20px;
  background: var(--white);
  border-radius: 100px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  color: var(--navy);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.about-content .section-tag { margin-bottom: 16px; display: inline-block; }
.about-content h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 20px; }
.about-lead {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.65;
}
.about-content p { color: var(--text-lt); margin-bottom: 14px; }

.about-pillars { margin: 28px 0 36px; display: flex; flex-direction: column; gap: 20px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; }
.pillar-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  background: rgba(231,145,22,.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-icon svg { width: 16px; }
.pillar strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.pillar p { color: var(--text-lt); font-size: .9rem; margin: 0; }

/* ===================================================
   WHY US
   =================================================== */
.why-us { background: var(--navy); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 32px;
  transition: var(--trans);
}
.why-card:hover { background: rgba(255,255,255,.09); border-color: rgba(231,145,22,.4); transform: translateY(-3px); }
.why-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  color: rgba(231,145,22,.2);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 1.05rem; color: var(--white); margin-bottom: 10px; }
.why-card p { font-size: .9rem; color: rgba(255,255,255,.65); }

/* ===================================================
   PROCESS
   =================================================== */
.process { background: var(--bg); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-step {
  padding: 32px 24px;
  text-align: center;
  position: relative;
}
.step-circle {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  border: 3px solid var(--gold);
  box-shadow: 0 0 0 6px rgba(231,145,22,.1);
}
.step-line {
  position: absolute;
  top: 62px;
  left: calc(50% + 30px);
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(231,145,22,.3));
}
.process-step:last-child .step-line { display: none; }
.process-step h4 { font-size: 1rem; margin-bottom: 10px; color: var(--navy); }
.process-step p { font-size: .875rem; color: var(--text-lt); }

/* ===================================================
   TEAM
   =================================================== */
.team { background: var(--white); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 28px;
}
.team-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: var(--trans);
}
.team-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-4px); }
.team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--white);
  letter-spacing: .05em;
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.team-title {
  display: block;
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 14px;
  font-family: 'Montserrat', sans-serif;
}
.team-card p { font-size: .875rem; color: var(--text-lt); margin-bottom: 18px; }
.team-tags { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.team-tags span {
  background: rgba(231,145,22,.08);
  color: var(--gold-dk);
  font-size: .75rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  padding: 4px 12px;
  border-radius: 100px;
  border: 1px solid rgba(231,145,22,.2);
}

/* ===================================================
   TESTIMONIALS
   =================================================== */
.testimonials { background: var(--navy); }
.testimonial-slider { position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform .5s ease; }
.testimonial-card {
  min-width: 100%;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 20px;
  padding: 48px;
  display: none;
}
.testimonial-card.active { display: block; }

.quote-icon {
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}
.testimonial-card p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.author-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dk) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--white);
  font-size: .9rem;
}
.testimonial-author strong { display: block; color: var(--white); font-family: 'Montserrat', sans-serif; }
.testimonial-author span { color: rgba(255,255,255,.55); font-size: .875rem; }
.stars { color: var(--gold); font-size: 1.1rem; letter-spacing: 3px; }
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}
.t-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.2);
  background: transparent;
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
}
.t-btn:hover { border-color: var(--gold); color: var(--gold); }
.t-dots { display: flex; gap: 8px; }
.t-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  cursor: pointer;
  transition: var(--trans);
  border: none;
}
.t-dot.active { background: var(--gold); transform: scale(1.25); }

/* ===================================================
   CTA BANNER
   =================================================== */
.cta-banner { background: linear-gradient(135deg, var(--gold-dk) 0%, var(--gold) 100%); padding: 72px 0; }
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-text h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); color: var(--white); margin-bottom: 8px; }
.cta-text p { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cta-actions .btn-primary { background: var(--white); color: var(--gold-dk); border-color: var(--white); }
.cta-actions .btn-primary:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }

/* ===================================================
   CONTACT
   =================================================== */
.contact { background: var(--bg); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
.contact-info .section-tag { display: inline-block; margin-bottom: 16px; }
.contact-info h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); margin-bottom: 16px; }
.contact-info > p { color: var(--text-lt); margin-bottom: 36px; }

.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: rgba(231,145,22,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 20px; }
.contact-item strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .9rem; color: var(--navy); margin-bottom: 4px; }
.contact-item span, .contact-item a { color: var(--text-lt); font-size: .9rem; }
.contact-item a:hover { color: var(--gold); }

/* FORM */
.contact-form-wrapper {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--border);
}
.contact-form h3 { font-size: 1.3rem; margin-bottom: 28px; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .8rem;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: var(--trans);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(231,145,22,.12);
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #e74c3c;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-error { display: block; color: #e74c3c; font-size: .8rem; margin-top: 4px; }
.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(39,174,96,.08);
  border: 1px solid rgba(39,174,96,.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: var(--success);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .9rem;
  margin-top: 16px;
}
.hidden { display: none !important; }
.form-server-error {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(231,76,60,.08);
  border: 1px solid rgba(231,76,60,.3);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #c0392b;
  font-size: .88rem;
  margin-top: 16px;
}
.form-server-error a { color: #c0392b; text-decoration: underline; }
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin .6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===================================================
   FOOTER
   =================================================== */
.footer { background: var(--navy-dk); padding-top: 72px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-link { display: block; margin-bottom: 16px; }
.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}
.footer-brand p { color: rgba(255,255,255,.5); font-size: .875rem; line-height: 1.7; margin-bottom: 24px; }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: var(--trans);
}
.social-links a svg { width: 16px; }
.social-links a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.footer-links h4 {
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  color: rgba(255,255,255,.5);
  font-size: .875rem;
  transition: var(--trans);
}
.footer-links ul li a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .82rem; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: rgba(255,255,255,.35); font-size: .82rem; transition: var(--trans); }
.footer-legal a:hover { color: var(--gold); }

/* ===================================================
   BACK TO TOP
   =================================================== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(231,145,22,.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(16px);
  transition: var(--trans);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top svg { width: 20px; }
.back-to-top:hover { background: var(--gold-dk); transform: translateY(-2px); }

/* ===================================================
   ANIMATIONS
   =================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { max-width: 480px; margin: 0 auto; }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--navy-dk);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links li a { font-size: 1.1rem; padding: 12px 24px; }
  .hamburger { display: flex; z-index: 1000; }
  .hero-stats { gap: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .step-line { display: none; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-wrapper { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .team-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 28px 20px; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ===================================================
   AI / ML SECTION
   =================================================== */
.ai-ml { background: var(--bg); }

.ai-intro {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 72px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 40px;
}
.ai-intro-text p {
  color: var(--text-lt);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 14px;
}
.ai-intro-text p:last-child { margin-bottom: 0; }

/* Animated neural pulse */
.ai-pulse {
  position: relative;
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ai-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(231,145,22,.3);
  animation: aiPulse 3s ease-out infinite;
}
.ai-ring-1 { width: 60px;  height: 60px;  animation-delay: 0s; }
.ai-ring-2 { width: 95px;  height: 95px;  animation-delay: .8s; border-color: rgba(231,145,22,.2); }
.ai-ring-3 { width: 130px; height: 130px; animation-delay: 1.6s; border-color: rgba(231,145,22,.1); }
@keyframes aiPulse {
  0%   { transform: scale(.8); opacity: 0; }
  40%  { opacity: 1; }
  100% { transform: scale(1.2); opacity: 0; }
}
.ai-core {
  position: relative;
  z-index: 1;
  background: var(--navy);
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(231,145,22,.4);
  box-shadow: 0 0 24px rgba(231,145,22,.2);
}

/* AI cards grid */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-bottom: 56px;
}
.ai-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
}
.ai-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-dk));
  transform: scaleX(0);
  transition: var(--trans);
}
.ai-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.ai-card:hover::after { transform: scaleX(1); }

.ai-card-icon {
  width: 52px; height: 52px;
  background: rgba(231,145,22,.08);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.ai-card-icon svg { width: 26px; }
.ai-card h3 { font-size: 1.05rem; margin-bottom: 10px; color: var(--navy); }
.ai-card p  { font-size: .9rem; color: var(--text-lt); line-height: 1.7; margin-bottom: 18px; }

.ai-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
}
.ai-status::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.ai-status.active    { color: var(--success); background: rgba(39,174,96,.1); border: 1px solid rgba(39,174,96,.25); }
.ai-status.coming-soon { color: var(--gold); background: rgba(231,145,22,.1); border: 1px solid rgba(231,145,22,.25); }

.ai-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--slate) 100%);
  border-radius: 20px;
  padding: 48px 32px;
  border: 1px solid rgba(231,145,22,.2);
}
.ai-cta p {
  color: rgba(255,255,255,.8);
  font-size: 1.1rem;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .ai-intro { grid-template-columns: 1fr; text-align: center; }
  .ai-pulse { margin: 0 auto; }
  .ai-grid  { grid-template-columns: 1fr; }
}

/* ===================================================
   FILE UPLOAD
   =================================================== */
.label-optional {
  font-weight: 400;
  font-family: 'Open Sans', sans-serif;
  color: var(--text-lt);
  font-size: .78rem;
  text-transform: none;
  letter-spacing: 0;
}
.file-drop-zone {
  position: relative;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--trans);
  cursor: pointer;
}
.file-drop-zone:hover,
.file-drop-zone.drag-over {
  border-color: var(--gold);
  background: rgba(231,145,22,.04);
}
.file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  z-index: 2;
}
.file-drop-ui {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 16px;
  pointer-events: none;
}
.file-drop-ui p {
  font-size: .9rem;
  color: var(--text-lt);
  margin: 0;
}
.file-browse { color: var(--gold); font-weight: 700; }
.file-hint   { font-size: .78rem !important; opacity: .7; }
.file-selected {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  font-size: .9rem;
  color: var(--success);
  font-weight: 600;
}
#fileSelectedName {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--text);
}
.file-remove {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-lt);
  font-size: 1rem;
  line-height: 1;
  padding: 2px 6px;
  border-radius: 4px;
  transition: var(--trans);
  position: relative;
  z-index: 3;
}
.file-remove:hover { background: rgba(231,76,60,.1); color: #c0392b; }
