/* ================================================
   130GreenCard.com — Main Stylesheet
   Colors: #1a5276 (deep green) | #d4ac0d (gold) | #fff (white)
   ================================================ */

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

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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1c2833;
  background: #fff;
  line-height: 1.7;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #1a5276; text-decoration: none; }
a:hover { text-decoration: underline; }

/* --- Utility --- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-alt { background: #f4f6f8; }
.text-center { text-align: center; }
.text-gold { color: #d4ac0d; }
.text-green { color: #1a5276; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
  border: none;
}
.btn:hover { opacity: .88; transform: translateY(-1px); text-decoration: none; }

.btn-gold {
  background: #d4ac0d;
  color: #fff;
}
.btn-green {
  background: #1a5276;
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: #1a5276;
  border: 2px solid #1a5276;
}
.btn-lg { padding: 18px 44px; font-size: 1.1rem; }

/* --- Header / Nav --- */
header {
  background: #1a5276;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.2;
}
.logo-main {
  font-size: 1.3rem;
  font-weight: 800;
  color: #d4ac0d;
  letter-spacing: .5px;
}
.logo-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.75);
  letter-spacing: .8px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}

nav ul li a {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  padding: 8px 12px;
  border-radius: 3px;
  transition: background .15s;
  text-decoration: none;
  white-space: nowrap;
}
nav ul li a:hover,
nav ul li a.active {
  background: rgba(255,255,255,.12);
  color: #fff;
  text-decoration: none;
}

.nav-cta a {
  background: #d4ac0d !important;
  color: #fff !important;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 4px;
}
.nav-cta a:hover { background: #b8940a !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: .3s;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, #1a5276 0%, #154360 60%, #0e2c40 100%);
  color: #fff;
  padding: 96px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40px; right: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: rgba(212,172,13,.08);
  pointer-events: none;
}
.hero-content { max-width: 680px; }

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero h1 span { color: #d4ac0d; }

.hero p {
  font-size: 1.15rem;
  margin-bottom: 36px;
  color: rgba(255,255,255,.88);
  max-width: 560px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 40px;
}
.badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 20px;
  padding: 6px 16px;
  font-size: .82rem;
  color: rgba(255,255,255,.85);
}

/* --- Section Headings --- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #1a5276;
  margin-bottom: 12px;
}
.section-subtitle {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 48px;
  max-width: 640px;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.card {
  background: #fff;
  border: 1px solid #e0e6ed;
  border-radius: 8px;
  padding: 32px 28px;
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
.card:hover {
  box-shadow: 0 8px 32px rgba(26,82,118,.12);
  transform: translateY(-3px);
}
.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a5276;
  margin-bottom: 8px;
}
.card p { font-size: .93rem; color: #555; }

.card-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: #d4ac0d;
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.card a.card-link {
  display: inline-block;
  margin-top: 14px;
  font-size: .88rem;
  font-weight: 600;
  color: #1a5276;
  text-decoration: underline;
}

/* --- Why Us --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
}
.why-item {
  text-align: center;
  padding: 32px 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e0e6ed;
}
.why-icon { font-size: 2.4rem; margin-bottom: 14px; }
.why-item h3 { color: #1a5276; font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-item p { font-size: .88rem; color: #555; }

/* --- Attorney Profile --- */
.attorney-box {
  display: flex;
  gap: 48px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.attorney-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #d4ac0d;
  flex-shrink: 0;
  background: #e8f0f7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
}
.attorney-info h2 { color: #1a5276; font-size: 1.8rem; margin-bottom: 6px; }
.attorney-info .title { color: #d4ac0d; font-weight: 600; font-size: 1rem; margin-bottom: 16px; }
.attorney-credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.credential {
  background: #f4f6f8;
  border-left: 3px solid #d4ac0d;
  padding: 8px 14px;
  font-size: .88rem;
  color: #1c2833;
  border-radius: 0 4px 4px 0;
}

/* --- FAQ --- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid #e0e6ed;
  border-radius: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: #fff;
  border: none;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a5276;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background .15s;
}
.faq-question:hover { background: #f4f6f8; }
.faq-question .arrow {
  font-size: 1.2rem;
  transition: transform .25s;
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  padding: 0 24px;
  font-size: .95rem;
  color: #444;
  background: #fafcfe;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 16px 24px 20px;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1a5276, #154360);
  color: #fff;
  text-align: center;
  padding: 72px 0;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 32px;
  color: rgba(255,255,255,.85);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.cta-contact {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}
.cta-contact a {
  color: rgba(255,255,255,.8);
  font-size: .95rem;
}
.cta-contact a:hover { color: #fff; }

/* --- Content Pages --- */
.page-hero {
  background: linear-gradient(135deg, #1a5276 0%, #154360 100%);
  color: #fff;
  padding: 64px 0 56px;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 640px;
}

/* --- Info Sections --- */
.info-section { padding: 56px 0; }
.info-section h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #1a5276;
  margin-bottom: 14px;
  border-left: 4px solid #d4ac0d;
  padding-left: 16px;
}
.info-section h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a5276;
  margin: 24px 0 8px;
}
.info-section p { color: #444; margin-bottom: 14px; }
.info-section ul {
  margin: 8px 0 16px 20px;
  color: #444;
}
.info-section ul li { margin-bottom: 6px; }

/* --- Comparison Table --- */
.table-wrap { overflow-x: auto; margin: 32px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: .93rem;
}
thead {
  background: #1a5276;
  color: #fff;
}
thead th {
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
}
tbody tr:nth-child(even) { background: #f4f6f8; }
tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid #e0e6ed;
  vertical-align: top;
}
.check { color: #27ae60; font-weight: 700; }
.cross { color: #c0392b; font-weight: 700; }

/* --- Two-column layout --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 768px) { .two-col { grid-template-columns: 1fr; } }

/* --- Highlight Box --- */
.highlight-box {
  background: #eaf2fb;
  border-left: 4px solid #1a5276;
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: .95rem;
  color: #1c2833;
}
.highlight-box strong { color: #1a5276; }

.gold-box {
  background: #fdf9e6;
  border-left: 4px solid #d4ac0d;
  border-radius: 0 6px 6px 0;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: .95rem;
  color: #1c2833;
}

/* --- Step list --- */
.steps { counter-reset: step; list-style: none; margin: 20px 0; padding: 0; }
.steps li {
  counter-increment: step;
  padding: 14px 16px 14px 56px;
  position: relative;
  margin-bottom: 10px;
  background: #f4f6f8;
  border-radius: 6px;
  font-size: .95rem;
  color: #333;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px; height: 28px;
  background: #1a5276;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
}

/* --- Contact Page --- */
.contact-hero {
  background: linear-gradient(135deg, #1a5276 0%, #0e2c40 100%);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}
.contact-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin-bottom: 16px;
}
.contact-hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 36px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 72px 0;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info h2 { color: #1a5276; font-size: 1.5rem; margin-bottom: 24px; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}
.contact-method-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  width: 48px;
  text-align: center;
}
.contact-method-text h3 { font-size: 1rem; color: #1a5276; margin-bottom: 4px; }
.contact-method-text p, .contact-method-text a { font-size: .95rem; color: #444; }
.contact-method-text a:hover { color: #1a5276; }

/* --- Disclaimer --- */
.disclaimer {
  background: #f4f6f8;
  border-top: 1px solid #e0e6ed;
  padding: 24px 0;
  font-size: .8rem;
  color: #777;
  text-align: center;
  line-height: 1.6;
}

/* --- Footer --- */
footer {
  background: #0e2c40;
  color: rgba(255,255,255,.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

.footer-brand .logo-main { font-size: 1.2rem; }
.footer-brand p { font-size: .88rem; margin-top: 12px; line-height: 1.7; }

footer h4 {
  color: #d4ac0d;
  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 16px;
}
footer ul { list-style: none; }
footer ul li { margin-bottom: 8px; }
footer ul li a {
  color: rgba(255,255,255,.65);
  font-size: .88rem;
  text-decoration: none;
  transition: color .15s;
}
footer ul li a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  text-align: center;
  font-size: .8rem;
}
.footer-bottom a { color: rgba(255,255,255,.6); text-decoration: none; }
.footer-bottom a:hover { color: #d4ac0d; }

.footer-disclaimer {
  margin-top: 14px;
  font-size: .75rem;
  color: rgba(255,255,255,.45);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  nav ul { display: none; flex-direction: column; }
  nav ul.open {
    display: flex;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #1a5276;
    padding: 16px 24px;
    gap: 4px;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
    z-index: 999;
  }
  nav ul li a { display: block; padding: 10px 12px; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  header { position: sticky; }
}

@media (max-width: 640px) {
  .section { padding: 48px 0; }
  .hero { padding: 64px 0 56px; }
  .attorney-box { flex-direction: column; align-items: center; text-align: center; }
  .attorney-credentials { justify-content: center; }
  .card-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .why-grid { grid-template-columns: 1fr; }
}
