/* EZ Insurance USA – main.css */

:root {
  --navy: #0a1628;
  --navy2: #0f2040;
  --teal: #1a4d6e;
  --gold: #cc2020;
  --gold-light: #e84040;
  --white: #ffffff;
  --off-white: #f4f1ec;
  --gray: #8a9bb0;
  --light-gray: #e8edf4;
  --text: #1a2536;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(204,32,32,0.2);
}
.nav-logo img { height: 42px; filter: brightness(1.1); }
.nav-links { display: flex; align-items: center; gap: 2.2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,0.78);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.08);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(204,32,32,0.3);
}
.lang-btn {
  padding: 5px 14px;
  border: none;
  background: transparent;
  color: rgba(255,255,255,0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: all 0.2s;
}
.lang-btn.active { background: var(--gold); color: white; border-radius: 18px; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(26,77,110,0.6) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(204,32,32,0.12) 0%, transparent 50%),
    linear-gradient(135deg, #0a1628 0%, #0d1e38 50%, #0a1628 100%);
}
.hero-grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(204,32,32,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,32,32,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.shield-deco {
  position: absolute;
  right: -4vw; top: 50%;
  transform: translateY(-50%);
  width: 52vw; max-width: 700px;
  opacity: 0.05;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 140px 5vw 80px;
  max-width: 720px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,32,32,0.12);
  border: 1px solid rgba(204,32,32,0.35);
  border-radius: 30px;
  padding: 6px 16px;
  color: var(--gold-light);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease both;
}
.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.5; transform:scale(1.4); }
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700; line-height: 1.07;
  color: var(--white); margin-bottom: 1.5rem;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-title span { color: var(--gold); font-style: italic; }
.hero-subtitle {
  font-size: 1.15rem; color: rgba(255,255,255,0.62);
  line-height: 1.7; margin-bottom: 2.5rem; font-weight: 300;
  animation: fadeUp 0.8s 0.3s ease both;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold); color: white;
  text-decoration: none; font-weight: 700;
  font-size: 0.9rem; letter-spacing: 0.05em;
  padding: 16px 34px; border-radius: 50px;
  transition: all 0.3s;
  animation: fadeUp 0.8s 0.45s ease both;
  box-shadow: 0 8px 30px rgba(204,32,32,0.35);
}
.hero-cta:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(204,32,32,0.45); }
.hero-cta svg { transition: transform 0.3s; }
.hero-cta:hover svg { transform: translateX(4px); }
@keyframes fadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── STATS BAR ── */
.stats-bar {
  background: #cc2020;
  padding: 22px 5vw;
  display: flex; justify-content: center;
  gap: 4vw; flex-wrap: wrap;
}
.stat-item { text-align: center; color: var(--navy); }
.stat-num { font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 700; line-height: 1; }
.stat-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.75; margin-top: 3px; }

/* ── SECTIONS ── */
section { padding: 100px 5vw; }
.section-label {
  display: inline-block; font-size: 0.72rem;
  font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700; line-height: 1.18;
  color: var(--navy); margin-bottom: 1.2rem;
}
.section-body { font-size: 1.05rem; line-height: 1.78; color: #4a5b72; max-width: 560px; }

/* ── ABOUT ── */
#about {
  background: var(--white);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 6vw; align-items: center;
}
.about-card {
  background: var(--navy); border-radius: 16px;
  padding: 48px 44px; color: white;
  position: relative; overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute; top: -30px; right: -30px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(204,32,32,0.2) 0%, transparent 70%);
  border-radius: 50%;
}
.about-card-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.about-card h3 { font-family:'Playfair Display',serif; font-size:1.5rem; font-weight:600; margin-bottom:.8rem; }
.about-card p  { color: rgba(255,255,255,0.65); font-size:0.95rem; line-height:1.7; }
.about-tag {
  display: inline-block; margin-top: 1.2rem;
  background: rgba(204,32,32,0.15);
  border: 1px solid rgba(204,32,32,0.3);
  color: var(--gold-light);
  font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 20px;
}

/* ── SERVICES ── */
#services { background: var(--off-white); }
.services-header { max-width: 600px; margin-bottom: 3.5rem; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.service-card {
  background: var(--white); border-radius: 14px;
  padding: 36px 30px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all 0.3s; position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom:0; left:0; right:0; height:3px;
  background: var(--gold); transform: scaleX(0);
  transition: transform 0.3s; transform-origin: left;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(10,22,40,0.1); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.service-name { font-family:'Playfair Display',serif; font-size:1.15rem; font-weight:600; color:var(--navy); margin-bottom:.6rem; }
.service-desc { font-size:0.88rem; color:#6a7d96; line-height:1.65; }

/* ── COVERAGE ── */
#coverage { background: var(--navy); color: white; }
#coverage .section-title { color: var(--white); }
#coverage .section-body  { color: rgba(255,255,255,0.6); }
.coverage-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); gap:1rem; margin-top:3rem; }
.coverage-item {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px; padding: 24px 20px;
  display: flex; align-items: center; gap: 12px;
  transition: all 0.3s; cursor: default;
}
.coverage-item:hover { background:rgba(204,32,32,0.1); border-color:rgba(204,32,32,0.3); transform:translateY(-2px); }
.coverage-dot { width:8px; height:8px; background:var(--gold); border-radius:50%; flex-shrink:0; }
.coverage-text { font-size:0.88rem; font-weight:500; color:rgba(255,255,255,0.8); line-height:1.4; }

/* ── QUOTE FORM ── */
#quote { background: var(--off-white); padding: 100px 5vw; }
.quote-inner {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 5vw; align-items: start;
  max-width: 1100px; margin: 0 auto;
}
.quote-left .section-body { margin-bottom: 2rem; }
.quote-perks { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.quote-perk { display:flex; align-items:center; gap:12px; font-size:0.92rem; color:#4a5b72; font-weight:500; }
.perk-icon {
  width:34px; height:34px; border-radius:50%;
  background: rgba(204,32,32,0.1); color: var(--gold);
  display:flex; align-items:center; justify-content:center;
  font-size:1rem; flex-shrink:0;
}
.quote-form-box {
  background: var(--white); border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 20px 60px rgba(10,22,40,0.08);
  border: 1px solid rgba(0,0,0,0.05);
}
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-group { display:flex; flex-direction:column; gap:6px; margin-bottom:16px; }
.form-group.full { grid-column:1/-1; }
.form-label { font-size:0.78rem; font-weight:600; letter-spacing:0.07em; text-transform:uppercase; color:#6a7d96; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid #e0e8f0; border-radius: 10px;
  font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
  color: var(--text); background: var(--off-white);
  outline: none; transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(204,32,32,0.1);
  background: white;
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236a7d96' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
.form-textarea { resize: vertical; min-height: 110px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--gold); color: white; border: none;
  border-radius: 50px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer; transition: all 0.3s;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 8px 24px rgba(204,32,32,0.3); margin-top: 6px;
}
.form-submit:hover { background:var(--gold-light); transform:translateY(-2px); box-shadow:0 12px 32px rgba(204,32,32,0.4); }
.form-submit:disabled { opacity:0.65; cursor:not-allowed; transform:none; }
.form-note { text-align:center; font-size:0.75rem; color:#9aafca; margin-top:12px; }
.form-success { text-align:center; padding:32px 0 8px; }
.form-success-icon { font-size:3rem; margin-bottom:1rem; }
.form-success h3 { font-family:'Playfair Display',serif; font-size:1.5rem; color:var(--navy); margin-bottom:.6rem; }
.form-success p { color:#6a7d96; font-size:.95rem; }

/* ── FAQ ── */
#faq { background: var(--white); }
.faq-container { max-width:760px; margin:3rem auto 0; }
.faq-item { border-bottom: 1px solid var(--light-gray); }
.faq-q {
  width:100%; background:none; border:none; padding:22px 0;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  cursor:pointer; font-family:'DM Sans',sans-serif;
  font-size:1.02rem; font-weight:600; color:var(--navy); text-align:left; transition:color 0.2s;
}
.faq-q:hover { color:var(--gold); }
.faq-icon {
  width:28px; height:28px; border-radius:50%;
  border:1.5px solid var(--light-gray);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0; font-size:1.1rem; color:var(--gold); transition:all 0.3s;
}
.faq-item.open .faq-icon { background:var(--gold); color:white; border-color:var(--gold); transform:rotate(45deg); }
.faq-a { overflow:hidden; max-height:0; transition:max-height 0.4s ease; }
.faq-item.open .faq-a { max-height:200px; }
.faq-a p { padding-bottom:20px; color:#5a6d84; line-height:1.75; font-size:0.95rem; }

/* ── CONTACT ── */
#contact {
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: white; text-align: center;
  padding: 100px 5vw; position: relative; overflow: hidden;
}
#contact::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(204,32,32,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(204,32,32,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
}
#contact .section-title { color:white; margin-bottom:1rem; }
#contact .section-body { color:rgba(255,255,255,0.65); max-width:500px; margin:0 auto 3rem; }
.contact-cards {
  display:flex; justify-content:center; gap:1.5rem; flex-wrap:wrap;
  margin-bottom:3rem; position:relative; z-index:1;
}
.contact-card {
  background:rgba(255,255,255,0.06); border:1px solid rgba(255,255,255,0.12);
  border-radius:14px; padding:28px 36px;
  text-align:center; min-width:180px; transition:all 0.3s;
}
.contact-card:hover { background:rgba(204,32,32,0.12); border-color:rgba(204,32,32,0.4); transform:translateY(-3px); }
.contact-card-icon { font-size:1.8rem; margin-bottom:.6rem; }
.contact-card-label { font-size:.72rem; letter-spacing:.12em; text-transform:uppercase; color:rgba(255,255,255,.45); margin-bottom:.4rem; }
.contact-card-value { font-size:1rem; font-weight:600; color:white; }
.cta-contact {
  position:relative; z-index:1;
  display:inline-flex; align-items:center; gap:10px;
  background:var(--gold); color:white;
  text-decoration:none; font-weight:700; font-size:0.92rem;
  letter-spacing:0.04em; padding:16px 36px; border-radius:50px;
  transition:all 0.3s; box-shadow:0 8px 30px rgba(204,32,32,0.4);
}
.cta-contact:hover { background:var(--gold-light); transform:translateY(-2px); }

/* ── FOOTER ── */
footer {
  background: var(--navy); padding: 32px 5vw;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:1rem;
  border-top:1px solid rgba(255,255,255,0.06);
}
footer a { display:flex; align-items:center; }
footer img { height:32px; filter:brightness(0.85); }
footer p { color:rgba(255,255,255,0.35); font-size:0.8rem; }

/* ── SCROLL REVEAL ── */
.reveal { opacity:0; transform:translateY(30px); transition:opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity:1; transform:none; }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  #about          { grid-template-columns: 1fr; }
  .nav-links      { display: none; }
  nav             { padding: 0 4vw; }
  .hero-content   { padding: 120px 4vw 60px; }
  section         { padding: 70px 4vw; }
  #quote          { padding: 70px 4vw; }
  footer          { flex-direction:column; text-align:center; }
  .stats-bar      { gap: 3vw; }
  .stat-num       { font-size: 1.5rem; }
  .quote-inner    { grid-template-columns: 1fr; }
  .form-row       { grid-template-columns: 1fr; }
  .quote-form-box { padding: 30px 22px; }
}
