/* =========================================
   KINETIX ORLANDO – Main Stylesheet
   ========================================= */

/* ---------- CSS Variables ---------- */
:root {
  --primary:     #1B3B6F;
  --primary-dark:#0F2344;
  --accent:      #FF6B00;
  --accent-dark: #E05A00;
  --dark:        #0D1B2A;
  --light:       #F8F9FA;
  --white:       #FFFFFF;
  --gray:        #6B7280;
  --gray-light:  #E5E7EB;
  --gradient:    linear-gradient(135deg, #1B3B6F 0%, #0F2344 60%, #FF6B00 100%);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.08);
  --shadow-md:   0 8px 30px rgba(0,0,0,.12);
  --shadow-lg:   0 20px 60px rgba(0,0,0,.18);
  --radius:      12px;
  --radius-lg:   20px;
  --transition:  all .35s cubic-bezier(.4,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: 'Inter', sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.7;
}
h1,h2,h3,h4,h5,h6 {
  font-family: 'Poppins', sans-serif;
  line-height: 1.25;
  font-weight: 700;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-padding { padding: 100px 0; }
.section-padding-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* ---------- Section Headers ---------- */
.section-label {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  position: relative;
  padding-left: 28px;
}
.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 2px;
  background: var(--accent);
}
.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.section-title span { color: var(--accent); }
.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.15);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
  z-index: -1;
}
.btn:hover::after { transform: scaleX(1); }
.btn-primary {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(255,107,0,.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255,107,0,.45);
}
.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-outline-primary {
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg {
  padding: 17px 40px;
  font-size: 1rem;
}
.btn i { font-size: .9em; transition: transform .3s; }
.btn:hover i { transform: translateX(4px); }

/* ---------- Navigation ---------- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
#navbar.scrolled {
  background: var(--white);
  padding: 14px 0;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
#navbar .container { display: flex; align-items: center; justify-content: space-between; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  transition: color .3s;
}
#navbar.scrolled .nav-logo { color: var(--primary-dark); }
.nav-logo .logo-mark {
  width: 42px; height: 42px;
  background: var(--accent);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  color: var(--white);
  transition: transform .3s;
  flex-shrink: 0;
}
.nav-logo:hover .logo-mark { transform: rotate(-8deg) scale(1.05); }
.logo-text-main { color: inherit; }
.logo-text-accent { color: var(--accent); }
#navbar.scrolled .logo-text-main { color: var(--primary-dark); }

.nav-menu { display: flex; align-items: center; gap: 36px; }
.nav-menu a {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  position: relative;
  transition: color .3s;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width .3s;
}
.nav-menu a:hover::after,
.nav-menu a.active::after { width: 100%; }
.nav-menu a:hover,
.nav-menu a.active { color: var(--accent); }
#navbar.scrolled .nav-menu a { color: var(--dark); }
#navbar.scrolled .nav-menu a:hover { color: var(--accent); }

.nav-cta { margin-left: 20px; }
.nav-cta .btn-primary {
  padding: 10px 24px;
  font-size: .85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#navbar.scrolled .hamburger span { background: var(--dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1542744173-8e7e53415bb0?w=1600&q=80') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11,35,67,.92) 0%, rgba(15,35,68,.85) 50%, rgba(255,107,0,.25) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 1;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,107,0,.3);
  animation: float-particle linear infinite;
}
@keyframes float-particle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .6; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 140px 0 80px;
  max-width: 800px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50px;
  padding: 8px 20px;
  color: var(--white);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  margin-bottom: 28px;
  animation: fadeInDown .8s ease both;
}
.hero-badge i { color: var(--accent); }
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  color: var(--white);
  margin-bottom: 24px;
  animation: fadeInUp .8s ease .2s both;
  line-height: 1.15;
}
.hero-title .highlight {
  color: var(--accent);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: widthGrow 1s ease 1s both;
}
@keyframes widthGrow {
  from { width: 0; }
  to   { width: 100%; }
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  max-width: 580px;
  animation: fadeInUp .8s ease .4s both;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp .8s ease .6s both;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: fadeInUp 1s ease 1.2s both;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.7));
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .4; transform: scaleY(.8); }
  50%      { opacity: 1; transform: scaleY(1); }
}

/* ---------- Stats Bar ---------- */
#stats-bar {
  background: var(--accent);
  padding: 0;
  position: relative;
  z-index: 10;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 32px 24px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.2);
  transition: background .3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,.1); }
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-suffix { font-size: 1.6rem; }
.stat-label {
  font-size: .8rem;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 500;
}

/* ---------- About ---------- */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-img-main img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-img-main:hover img { transform: scale(1.04); }
.about-img-accent {
  position: absolute;
  bottom: -30px; right: -30px;
  width: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
  aspect-ratio: 4/3;
}
.about-img-accent img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  top: -20px; left: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-md);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.about-badge .number {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}
.about-badge .label {
  font-size: .72rem;
  letter-spacing: .06em;
  opacity: .9;
}
.about-content .section-subtitle { margin: 0 0 32px; max-width: none; }
.about-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}
.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.feature-icon {
  width: 44px; height: 44px;
  background: rgba(255,107,0,.1);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.feature-item:hover .feature-icon {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
}
.feature-text h4 {
  font-size: .95rem;
  color: var(--primary-dark);
  margin-bottom: 4px;
}
.feature-text p { font-size: .88rem; color: var(--gray); }

/* ---------- Services ---------- */
#services { background: var(--light); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height .4s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  transform: scale(1.1) rotate(-5deg);
}
.service-card h3 {
  font-size: 1.2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.service-card p {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 20px;
}
.service-link {
  font-size: .88rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s;
}
.service-card:hover .service-link { gap: 10px; }

/* ---------- Industries ---------- */
#industries { background: var(--white); }
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.industry-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: pointer;
}
.industry-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.industry-card:hover img { transform: scale(1.08); }
.industry-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,35,67,.9) 0%, rgba(11,35,67,.3) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: var(--transition);
}
.industry-card:hover .industry-overlay {
  background: linear-gradient(to top, rgba(255,107,0,.9) 0%, rgba(255,107,0,.4) 60%, transparent 100%);
}
.industry-overlay h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 6px;
  transform: translateY(8px);
  transition: transform .35s ease;
}
.industry-overlay p {
  color: rgba(255,255,255,.8);
  font-size: .82rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, opacity .3s;
  opacity: 0;
}
.industry-card:hover .industry-overlay h3 { transform: translateY(0); }
.industry-card:hover .industry-overlay p { max-height: 60px; opacity: 1; }

/* ---------- How It Works ---------- */
#how-it-works { background: var(--light); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 48px; left: 12%;
  right: 12%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 0;
}
.step-card {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-number {
  width: 80px; height: 80px;
  background: var(--white);
  border: 3px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  position: relative;
  transition: var(--transition);
}
.step-card:hover .step-number {
  background: var(--accent);
  color: var(--white);
  transform: scale(1.1);
  box-shadow: 0 0 0 8px rgba(255,107,0,.15);
}
.step-card h3 {
  font-size: 1.05rem;
  color: var(--primary-dark);
  margin-bottom: 10px;
}
.step-card p { font-size: .88rem; color: var(--gray); }

/* ---------- Testimonials ---------- */
#testimonials {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
#testimonials::before {
  content: '\201C';
  position: absolute;
  top: -40px; right: 10%;
  font-size: 20rem;
  color: rgba(255,255,255,.04);
  font-family: Georgia, serif;
  line-height: 1;
  pointer-events: none;
}
.testimonials-slider {
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}
.testimonials-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 40px;
}
.testimonial-card {
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin-bottom: 24px;
  letter-spacing: 4px;
}
.testimonial-text {
  font-size: 1.1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
}
.testimonial-info h4 { color: var(--white); font-size: 1rem; }
.testimonial-info span { color: rgba(255,255,255,.6); font-size: .85rem; }
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.3);
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.slider-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.1);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.3);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.3);
}

/* ---------- CTA Banner ---------- */
#cta-banner {
  background: var(--accent);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
#cta-banner::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
}
#cta-banner::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}
.cta-text p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
}
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-white {
  background: var(--white);
  color: var(--accent);
  font-weight: 700;
}
.btn-white:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Contact ---------- */
#contact { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.contact-info-title {
  font-size: 1.6rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.contact-info-text {
  color: var(--gray);
  margin-bottom: 40px;
  font-size: .95rem;
}
.contact-items { display: flex; flex-direction: column; gap: 24px; }
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 48px; height: 48px;
  background: rgba(255,107,0,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray);
  margin-bottom: 4px;
}
.contact-item p,
.contact-item a {
  font-size: .95rem;
  color: var(--primary-dark);
  font-weight: 500;
}
.contact-item a:hover { color: var(--accent); }
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 40px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gray-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: .9rem;
  transition: var(--transition);
}
.social-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-3px);
}

/* ---------- Form Styles ---------- */
.contact-form-wrap,
.apply-form-wrap {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 48px;
}
.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: .85rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: .02em;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 13px 18px;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: .95rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(255,107,0,.12);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input.error,
.form-group textarea.error,
.form-group select.error { border-color: #EF4444; }
.form-group .error-msg {
  font-size: .8rem;
  color: #EF4444;
  display: none;
}
.form-group.has-error .error-msg { display: block; }
.form-note {
  font-size: .8rem;
  color: var(--gray);
  margin-top: 12px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.form-note i { color: var(--accent); margin-top: 2px; flex-shrink: 0; }
.form-submit-wrap { text-align: center; margin-top: 8px; }
.form-submit-wrap .btn { width: 100%; justify-content: center; }

/* Notification/Alert Styles */
.alert {
  padding: 16px 24px;
  border-radius: 10px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  font-weight: 500;
  animation: slideDown .4s ease;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.alert-success {
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.3);
  color: #065F46;
}
.alert-success i { color: #10B981; font-size: 1.2rem; }
.alert-error {
  background: rgba(239,68,68,.1);
  border: 1px solid rgba(239,68,68,.3);
  color: #7F1D1D;
}
.alert-error i { color: #EF4444; font-size: 1.2rem; }

/* ---------- Footer ---------- */
#footer {
  background: var(--dark);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .nav-logo {
  margin-bottom: 20px;
  display: inline-flex;
}
.footer-brand .nav-logo { color: var(--white); }
.footer-desc {
  color: rgba(255,255,255,.55);
  font-size: .9rem;
  line-height: 1.8;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 10px; }
.footer-col h4 {
  color: var(--white);
  font-size: .92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: color .3s, padding-left .3s;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-links a::before {
  content: '';
  display: inline-block;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-links a:hover::before { width: 12px; }
.footer-newsletter p {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  margin-bottom: 16px;
}
.newsletter-form { display: flex; gap: 0; }
.newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-right: none;
  border-radius: 8px 0 0 8px;
  color: var(--white);
  font-size: .88rem;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,.4); }
.newsletter-form input:focus { border-color: var(--accent); background: rgba(255,255,255,.12); }
.newsletter-form button {
  padding: 12px 20px;
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
  border-radius: 0 8px 8px 0;
  font-size: .9rem;
  font-weight: 600;
  transition: background .3s;
}
.newsletter-form button:hover { background: var(--accent-dark); }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { color: rgba(255,255,255,.4); font-size: .82rem; }
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,.4);
  font-size: .82rem;
  transition: color .3s;
}
.footer-bottom-links a:hover { color: var(--accent); }

/* ---------- Page Hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,107,0,.1);
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 16px;
}
.page-hero p {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 20px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb i { font-size: .7rem; }
.breadcrumb span { color: var(--accent); }

/* ---------- Apply Page ---------- */
.apply-section { background: var(--light); }
.apply-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  align-items: start;
}
.apply-sidebar-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}
.apply-sidebar-card h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-light);
}
.apply-benefit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-light);
}
.apply-benefit:last-of-type { border-bottom: none; margin-bottom: 24px; }
.apply-benefit i { color: var(--accent); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.apply-benefit h4 { font-size: .9rem; color: var(--primary-dark); margin-bottom: 2px; }
.apply-benefit p { font-size: .82rem; color: var(--gray); }
.apply-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.form-section-title {
  font-size: 1rem;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0 48px;
  margin: 28px 0 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.form-section-title::before {
  content: '';
  display: inline-block;
  width: 4px; height: 18px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.form-inner { padding: 0 48px 48px; }
.form-divider {
  height: 1px;
  background: var(--gray-light);
  margin: 24px 0;
}
.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}
.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  accent-color: var(--accent);
  cursor: pointer;
  flex-shrink: 0;
}
.checkbox-item span { font-size: .9rem; color: var(--dark); }
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
  border: 2px dashed var(--gray-light);
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}
.file-upload-label:hover,
.file-upload-label.drag-over {
  border-color: var(--accent);
  background: rgba(255,107,0,.04);
}
.file-upload-label i { font-size: 2rem; color: var(--accent); }
.file-upload-label .upload-text { font-size: .95rem; color: var(--primary-dark); font-weight: 600; }
.file-upload-label .upload-hint { font-size: .8rem; color: var(--gray); }
.file-name-display {
  font-size: .82rem;
  color: var(--accent);
  margin-top: 8px;
  display: none;
}
.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 24px;
}
.terms-check input { margin-top: 3px; accent-color: var(--accent); }
.terms-check span { font-size: .88rem; color: var(--gray); }
.terms-check a { color: var(--accent); text-decoration: underline; }

/* ---------- Legal Pages (Terms / Privacy) ---------- */
.legal-section { background: var(--white); }
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 24px;
}
.legal-content h2 {
  font-size: 1.4rem;
  color: var(--primary-dark);
  margin: 40px 0 12px;
  padding-top: 8px;
}
.legal-content h3 {
  font-size: 1.1rem;
  color: var(--primary-dark);
  margin: 28px 0 10px;
}
.legal-content p {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 16px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content ul li {
  color: var(--gray);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 8px;
}
.legal-content a { color: var(--accent); text-decoration: underline; }
.legal-content strong { color: var(--primary-dark); font-weight: 600; }
.legal-last-updated {
  display: inline-block;
  background: rgba(255,107,0,.1);
  color: var(--accent);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 32px;
}
.legal-toc {
  background: var(--light);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 40px;
}
.legal-toc h4 {
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary-dark);
  margin-bottom: 16px;
}
.legal-toc ol {
  counter-reset: toc;
  padding-left: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
}
.legal-toc ol li {
  counter-increment: toc;
  font-size: .85rem;
  color: var(--gray);
  list-style: none;
}
.legal-toc ol li::before {
  content: counter(toc) '. ';
  color: var(--accent);
  font-weight: 600;
}
.legal-toc a { color: var(--gray); }
.legal-toc a:hover { color: var(--accent); }

/* ---------- Back to Top ---------- */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(255,107,0,.4);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}
#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--accent-dark); transform: translateY(-4px); }

/* ---------- AOS Overrides ---------- */
[data-aos] { will-change: transform, opacity; }

/* ---------- Animations ---------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.shimmer-text {
  background: linear-gradient(90deg, var(--white) 25%, var(--accent) 50%, var(--white) 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

/* ---------- Loading Screen ---------- */
#loader {
  position: fixed;
  inset: 0;
  background: var(--primary-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#loader.hidden { opacity: 0; visibility: hidden; }
.loader-inner {
  text-align: center;
  color: var(--white);
}
.loader-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 24px;
}
.loader-logo span { color: var(--accent); }
.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.loader-bar-inner {
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: loaderProgress 1.2s ease-out forwards;
}
@keyframes loaderProgress {
  from { width: 0; }
  to   { width: 100%; }
}

/* ---------- Cookie Banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--primary-dark);
  padding: 20px 0;
  z-index: 998;
  border-top: 2px solid var(--accent);
  transform: translateY(100%);
  transition: transform .5s ease;
}
#cookie-banner.show { transform: translateY(0); }
.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cookie-content p { color: rgba(255,255,255,.75); font-size: .88rem; }
.cookie-content a { color: var(--accent); }
.cookie-actions { display: flex; gap: 12px; flex-shrink: 0; }
.btn-cookie {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: .85rem;
  font-weight: 600;
}
.btn-accept {
  background: var(--accent);
  color: var(--white);
}
.btn-decline {
  background: transparent;
  color: rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.25);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-image-wrap { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .apply-grid { grid-template-columns: 1fr; }
  .apply-sidebar-card { position: static; }
}
@media (max-width: 768px) {
  .section-padding { padding: 70px 0; }
  .nav-menu { display: none; }
  .hamburger { display: flex; }
  .nav-cta { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: var(--primary-dark);
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 999;
  }
  .nav-menu.open a { font-size: 1.3rem; color: var(--white); }
  .nav-menu.open .nav-cta-mobile {
    display: flex;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cta-content { flex-direction: column; text-align: center; }
  .contact-form-wrap, .apply-form-wrap { padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-inner { padding: 0 24px 24px; }
  .form-section-title { padding: 0 24px; }
  .legal-toc ol { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .steps-grid { grid-template-columns: 1fr; }
}
