/* ============================================================
   Envision Marketing — Main Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
  --navy:          #0d1b2a;
  --navy-mid:      #1e3a5f;
  --navy-light:    #2d5a8e;
  --orange:        #e5399f;
  --orange-dark:   #bf2484;
  --orange-light:  #fbb8dc;
  --gold:          #e879a0;
  --light-bg:      #f8fafc;
  --white:         #ffffff;
  --text-dark:     #1e293b;
  --text-mid:      #475569;
  --text-light:    #94a3b8;
  --border:        #e2e8f0;
  --success:       #16a34a;
  --error:         #dc2626;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.10);
  --shadow-md:  0 4px 16px rgba(0,0,0,.12);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.15);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.20);

  --radius:     12px;
  --radius-lg:  20px;
  --transition: all 0.3s ease;
  --font:       'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; color: var(--text-dark); }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
p  { color: var(--text-mid); line-height: 1.8; }

/* ============================================================
   Layout Utilities
   ============================================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 5rem 0; }

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

.section-label {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(200,40,120,.10);
  padding: .35rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.section-desc {
  max-width: 640px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 1.05rem;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(200,40,120,.35);
}

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

.btn-dark {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--orange);
  border-color: var(--orange);
}
.btn-ghost:hover {
  background: var(--orange);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============================================================
   Navigation
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.3rem 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(13,27,42,.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: .85rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,.3);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; text-decoration: none; }

.nav-logo-img {
  height: 56px;
  width: auto;
  display: block;
  filter: brightness(1.6) saturate(1.1);
}

/* Fallback text logo (hidden when image loads) */
.nav-logo-text {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255,255,255,.82);
  font-weight: 500;
  font-size: .95rem;
  transition: var(--transition);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }

.nav-cta { padding: .65rem 1.5rem; font-size: .9rem; }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  background: none;
  border: none;
  z-index: 1001;
  position: relative;
}
.nav-hamburger span {
  display: block;
  width: 25px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 60%, #2d5a8e 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,40,120,.15) 0%, transparent 70%);
  top: -200px; right: -200px;
}
.hero-glow-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(45,90,142,.4) 0%, transparent 70%);
  bottom: -100px; left: -100px;
}

.hero .container { position: relative; z-index: 2; }

.hero-content { max-width: 750px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,40,120,.18);
  border: 1px solid rgba(200,40,120,.4);
  color: var(--orange-light);
  padding: .5rem 1.2rem;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

.hero-badge-dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .5; transform: scale(.8); }
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  letter-spacing: -.025em;
}
.hero-title .highlight { color: var(--orange); }
.hero-title .line { display: block; }

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,.72);
  line-height: 1.85;
  margin-bottom: 2.5rem;
  max-width: 560px;
}

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

.hero-divider {
  width: 60px; height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 2.5rem;
}

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

.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .3rem;
}
.hero-stat-value span { color: var(--orange); }
.hero-stat-label {
  color: rgba(255,255,255,.55);
  font-size: .85rem;
  letter-spacing: .03em;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.scroll-mouse {
  width: 22px; height: 34px;
  border: 2px solid rgba(255,255,255,.3);
  border-radius: 11px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-wheel {
  width: 3px; height: 7px;
  background: rgba(255,255,255,.5);
  border-radius: 2px;
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(10px); }
}

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

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

.about-visual { position: relative; padding-bottom: 3rem; }

.about-card-main {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 2.8rem;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.about-card-main::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: rgba(200,40,120,.08);
  top: -100px; right: -100px;
  pointer-events: none;
}

.about-icon-box {
  width: 64px; height: 64px;
  background: var(--orange);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.about-card-main h3 {
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: .85rem;
}
.about-card-main p { color: rgba(255,255,255,.72); line-height: 1.85; }

.about-card-float {
  position: absolute;
  bottom: 0; left: -1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.4rem 1.8rem;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 210px;
  z-index: 2;
}
.float-icon {
  width: 46px; height: 46px;
  background: rgba(200,40,120,.10);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.float-value { font-size: 1.6rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.float-label { font-size: .78rem; color: var(--text-light); margin-top: .15rem; }

.about-content h2 { margin-bottom: 1.4rem; }
.about-content > p { margin-bottom: 1.2rem; line-height: 1.9; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
.about-feature {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
.feature-icon-sm {
  width: 34px; height: 34px;
  background: rgba(200,40,120,.10);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}
.about-feature h4 { font-size: .92rem; font-weight: 600; margin-bottom: .15rem; }
.about-feature p  { font-size: .83rem; color: var(--text-light); }

.about-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  line-height: 0;
}
.about-team-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform .5s ease;
}
.about-img-wrap:hover .about-team-img { transform: scale(1.03); }

/* ============================================================
   Gallery
   ============================================================ */
.gallery { background: var(--light-bg); }

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

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0;
  box-shadow: var(--shadow-md);
  background: var(--navy);
  position: relative;
  cursor: default;
}

.gallery-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform .45s ease;
}

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

.gallery-item figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,42,.85) 0%, transparent 100%);
  color: var(--white);
  padding: 2.5rem 1.2rem .9rem;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .01em;
}

/* ============================================================
   Services
   ============================================================ */
.services { background: var(--light-bg); }

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

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  border: 1.5px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 58px; height: 58px;
  background: linear-gradient(135deg, rgba(200,40,120,.15), rgba(200,40,120,.05));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.4rem;
  transition: var(--transition);
  color: var(--orange);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
}

.service-card h3 { font-size: 1.05rem; margin-bottom: .65rem; }
.service-card p  { font-size: .88rem; color: var(--text-mid); line-height: 1.72; }

/* ============================================================
   Careers
   ============================================================ */
.careers { background: var(--white); }

.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.career-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.career-card:hover {
  border-color: var(--orange);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.career-badge {
  display: inline-block;
  background: rgba(200,40,120,.10);
  color: var(--orange);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 50px;
  margin-bottom: 1.1rem;
  width: fit-content;
}

.career-card h3 { font-size: 1.25rem; margin-bottom: .7rem; }
.career-card p  { color: var(--text-mid); line-height: 1.72; font-size: .93rem; flex: 1; margin-bottom: 1.5rem; }

.career-card .btn {
  align-self: flex-start;
  font-size: .86rem;
  padding: .62rem 1.4rem;
}

.careers-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  color: var(--white);
}
.careers-cta h3 { font-size: 1.75rem; color: var(--white); margin-bottom: .85rem; }
.careers-cta p  { color: rgba(255,255,255,.72); max-width: 480px; margin: 0 auto 2rem; }

/* ============================================================
   Mission
   ============================================================ */
.mission {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 50%, var(--navy-mid) 100%);
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3Ccircle cx='50' cy='50' r='20' fill='none' stroke='%23ffffff' stroke-opacity='0.03' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

.mission-inner {
  position: relative; z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.mission-inner .section-label {
  background: rgba(200,40,120,.2);
  color: var(--orange-light);
}
.mission-inner h2 { color: var(--white); margin-bottom: 1.4rem; }
.mission-inner > p {
  color: rgba(255,255,255,.78);
  font-size: 1.08rem;
  line-height: 1.9;
  margin-bottom: 3rem;
}

.mission-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: left;
}
.mission-pillar {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 2rem;
  transition: var(--transition);
}
.mission-pillar:hover {
  background: rgba(255,255,255,.12);
  transform: translateY(-4px);
}
.pillar-icon {
  width: 48px; height: 48px;
  background: rgba(200,40,120,.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange-light);
  margin-bottom: 1.1rem;
}
.mission-pillar h4 { color: var(--white); margin-bottom: .45rem; }
.mission-pillar p  { color: rgba(255,255,255,.62); font-size: .88rem; line-height: 1.7; }

/* ============================================================
   Contact
   ============================================================ */
.contact { background: var(--light-bg); }

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

.contact-info h2 { margin-bottom: 1.1rem; }
.contact-info > p { margin-bottom: 2.5rem; line-height: 1.85; }

.contact-details { display: flex; flex-direction: column; gap: 1.4rem; }

.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-item h4 {
  font-size: .8rem;
  color: var(--text-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .2rem;
}
.contact-item p, .contact-item a { color: var(--text-dark); font-weight: 500; }
.contact-item a:hover { color: var(--orange); }

.contact-social-row { display: flex; gap: .75rem; margin-top: 2.2rem; }

.social-link {
  width: 42px; height: 42px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  transition: var(--transition);
  text-decoration: none;
}
.social-link:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ============================================================
   Forms (shared)
   ============================================================ */
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

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

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

.form-group label {
  display: block;
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: .48rem;
}
.form-group label .req { color: var(--orange); }

.form-control {
  width: 100%;
  padding: .82rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-control::placeholder { color: var(--text-light); }
.form-control:hover { border-color: #c8d4de; }
.form-control:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(200,40,120,.10);
}

textarea.form-control { resize: vertical; min-height: 130px; }

select.form-control {
  cursor: pointer;
  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='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  justify-content: center;
  position: relative;
}

.form-note {
  font-size: .78rem;
  color: var(--text-light);
  text-align: center;
  margin-top: .9rem;
  line-height: 1.6;
}

.form-divider {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 1rem 0 .75rem;
  border-bottom: 2px solid var(--light-bg);
  margin-bottom: 1.4rem;
  display: flex;
  align-items: center;
  gap: .7rem;
}
.step-badge {
  width: 26px; height: 26px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .75rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Honeypot */
.hp-field { display: none !important; }

/* Notification bar */
.form-notification {
  display: none;
  padding: .95rem 1.3rem;
  border-radius: 9px;
  margin-bottom: 1.4rem;
  font-weight: 500;
  font-size: .92rem;
  align-items: center;
  gap: .7rem;
  line-height: 1.5;
}
.form-notification.show { display: flex; }
.form-notification.success {
  background: rgba(22,163,74,.09);
  border: 1.5px solid rgba(22,163,74,.28);
  color: #14532d;
}
.form-notification.error {
  background: rgba(220,38,38,.09);
  border: 1.5px solid rgba(220,38,38,.28);
  color: #7f1d1d;
}
.notif-icon {
  width: 22px; height: 22px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 800;
}
.success .notif-icon { background: rgba(22,163,74,.18); color: #16a34a; }
.error   .notif-icon { background: rgba(220,38,38,.18); color: #dc2626; }

/* Success modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal-overlay.show { display: flex; animation: fadeIn .3s ease; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn .4s cubic-bezier(.34,1.56,.64,1);
}
@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(.88) translateY(-20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-check {
  width: 80px; height: 80px;
  background: rgba(22,163,74,.10);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.6rem;
  color: var(--success);
}
.modal-box h3 { font-size: 1.6rem; margin-bottom: .7rem; }
.modal-box p  { color: var(--text-mid); line-height: 1.75; margin-bottom: 2rem; }

/* Button loading */
.btn-loading { pointer-events: none; opacity: .78; padding-right: 3rem; }
.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px; height: 16px;
  border: 2px solid transparent;
  border-top-color: var(--white);
  border-radius: 50%;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 4.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
  margin-bottom: 2rem;
}

.footer-logo-img {
  display: block;
  height: 60px;
  width: auto;
  margin-bottom: 1rem;
  filter: brightness(1.6) saturate(1.1);
}
.footer-brand p { color: rgba(255,255,255,.58); line-height: 1.8; font-size: .9rem; margin-bottom: 1.6rem; }

.footer-social { display: flex; gap: .7rem; }
.footer-social .social-link {
  background: rgba(255,255,255,.07);
  border-color: rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
}
.footer-social .social-link:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.footer-col h4 {
  color: var(--white);
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  letter-spacing: .02em;
}
.footer-links { display: flex; flex-direction: column; gap: .7rem; }
.footer-links a {
  color: rgba(255,255,255,.55);
  font-size: .88rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
.footer-links a:hover { color: var(--orange); padding-left: 4px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .83rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: rgba(255,255,255,.35); font-size: .83rem; transition: var(--transition); }
.footer-legal a:hover { color: var(--orange); }

/* ============================================================
   Inner Page Hero (Apply / Terms / Privacy)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  padding: 9rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  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='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: .9rem; }
.page-hero p  { color: rgba(255,255,255,.7); font-size: 1.05rem; max-width: 520px; margin: 0 auto; }
.page-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .83rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.2rem;
}
.page-breadcrumb a { color: rgba(255,255,255,.65); }
.page-breadcrumb a:hover { color: var(--orange-light); }
.page-breadcrumb span { color: rgba(255,255,255,.3); }

/* ============================================================
   Apply Page
   ============================================================ */
.apply-section { padding: 5rem 0; background: var(--light-bg); }
.apply-wrap { max-width: 820px; margin: 0 auto; }
.apply-form-card { background: var(--white); border-radius: var(--radius-lg); padding: 3rem; box-shadow: var(--shadow-lg); }

/* ============================================================
   Legal Pages
   ============================================================ */
.legal-section { padding: 5rem 0; }
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.legal-date {
  display: inline-block;
  background: rgba(200,40,120,.10);
  color: var(--orange);
  font-size: .82rem;
  font-weight: 600;
  padding: .38rem 1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
}
.legal-content h2 {
  font-size: 1.45rem;
  color: var(--text-dark);
  margin: 2.5rem 0 1rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.legal-content h2:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.legal-content h3 { font-size: 1.1rem; color: var(--text-dark); margin: 1.4rem 0 .65rem; }
.legal-content p  { color: var(--text-mid); line-height: 1.9; margin-bottom: 1rem; }
.legal-content ul { margin: .7rem 0 1rem 1.4rem; list-style: disc; }
.legal-content ul li { color: var(--text-mid); line-height: 1.8; margin-bottom: .35rem; }
.legal-content a { color: var(--orange); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--orange-dark); }

/* ============================================================
   Scroll Animations
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid   { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { max-width: 540px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid  { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }

  .nav-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,27,42,.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 999;
  }
  .nav-menu.open { display: flex; }
  .nav-link { font-size: 1.4rem; font-weight: 700; }
  .nav-cta  { font-size: 1.05rem; padding: .9rem 2.5rem; }
  .nav-hamburger { display: flex; }

  .hero-stats { gap: 1.8rem; flex-wrap: wrap; }
  .hero-stat-value { font-size: 1.7rem; }

  .services-grid  { grid-template-columns: 1fr; }
  .careers-grid   { grid-template-columns: 1fr; }
  .mission-pillars { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .footer-grid    { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom  { flex-direction: column; text-align: center; }
  .footer-legal   { justify-content: center; }

  .about-card-float { position: static; margin-top: 1rem; box-shadow: var(--shadow-md); }
  .about-visual { padding-bottom: 0; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item img { height: 280px; }

  .apply-form-card { padding: 2rem 1.5rem; }
  .legal-content   { padding: 2rem 1.5rem; }
  .careers-cta     { padding: 2.5rem 1.5rem; }

  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; width: 100%; }
  .form-card { padding: 1.5rem; }
  .contact-social-row { flex-wrap: wrap; }
  .hero-stats { gap: 1.2rem; }
}
