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

:root {
  --orange: #E8660A;
  --dark-red: #8B0000;
  --red: #C0392B;
  --navy: #0A1B4A;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --border: #e0e0e0;
  --text: #1a1a1a;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  color: var(--text);
  background: #fff;
  font-size: 15px;
}

/* GOV TOP BAR */
.gov-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 6px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.gov-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.flag-wrap {
  display: flex;
  width: 28px;
  height: 18px;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid #555;
  flex-shrink: 0;
}

.f-saffron {
  flex: 1;
  background: #FF9933;
}

.f-white {
  flex: 1;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.f-green {
  flex: 1;
  background: #138808;
}

.ashoka-chakra {
  font-size: 7px;
  color: #000080;
  line-height: 1;
}

.gov-bar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.gov-select-wrap {
  background: #333;
  border: 1px solid #555;
  border-radius: 3px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  cursor: pointer;
}

.gov-select-wrap select {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 12px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

/* MAIN HEADER */
.main-header {
  background: #fff;
  border-bottom: 2px solid #eee;
  padding: 10px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.07);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-logos {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logos img {
  height: 42px;
  width: auto;
}

.brand-name h1 {
  font-size: 16px;
  font-weight: 700;
  color: #222;
  margin: 0;
  line-height: 1.2;
}

.brand-name p {
  font-size: 11px;
  color: #888;
  margin: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 8px 13px;
  border-radius: 4px;
  white-space: nowrap;
  transition: color 0.2s;
  position: relative;
}

.main-nav a:hover,
.main-nav .nav-active {
  color: var(--orange);
}

.main-nav .book {
  color: var(--orange);
  font-weight: 600;
}

.search-btn {
  font-size: 18px;
  color: #777;
  cursor: pointer;
  padding: 4px 8px;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #eee;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  min-width: 210px;
  z-index: 300;
  padding: 6px 0;
}

.nav-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: 0px;
  padding: 9px 16px 9px 16px;
  font-size: 13.5px;
  color: #333;
  border-radius: 0;
  position: relative;
  transition: color 0.2s, padding-left 0.2s;
  overflow: hidden;
}

.dropdown-content a::before {
  content: '↗';
  font-size: 14px;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.2s, transform 0.2s;
  width: 0;
  flex-shrink: 0;
  overflow: hidden;
  display: inline-block;
}

.dropdown-content a:hover {
  color: var(--orange);
  background: #fff8f5;
  padding-left: 12px;
}

.dropdown-content a:hover::before {
  opacity: 1;
  transform: translateX(0);
  width: 18px;
  margin-right: 4px;
}

/* Mobile Responsive Navigation Override */
.menu-toggle {
  display: none;
  font-size: 24px;
  color: #333;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 28px 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a,
  .nav-dropdown {
    width: 100%;
    border-bottom: 1px solid #eee;
    padding: 12px 0;
  }

  .main-nav .nav-dropdown {
    border-bottom: none;
    padding-bottom: 0;
  }

  .main-nav .nav-dropdown>a {
    border-bottom: 1px solid #eee;
  }

  .nav-dropdown .dropdown-content {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 15px;
    border-bottom: 1px solid #eee;
    min-width: 100%;
  }

  .search-btn {
    margin-top: 12px;
    display: flex;
    justify-content: center;
    width: 100%;
    background: #f7f7f7;
    border-radius: 4px;
    padding: 10px 0;
  }
}

/* VENUE PHOTO STRIP */
.venue-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 160px;
  gap: 0;
}

.venue-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* BREADCRUMB */
.breadcrumb {
  padding: 11px 28px;
  font-size: 13px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid #eee;
  background: #fafafa;
}

.breadcrumb .bc-home {
  color: var(--orange);
  font-size: 17px;
  text-decoration: none;
}

.breadcrumb .bc-sep {
  color: #bbb;
}

/* MAIN BANNER - now just an image */
.main-banner {
  margin: 18px 28px;
  border-radius: 6px;
  overflow: hidden;
  line-height: 0;
}

.main-banner img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}

/* LATEST NOTICE */
.notice-section {
  margin: 4px 28px 18px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  min-height: 190px;
}

.notice-bg {
  position: absolute;
  inset: 0;
  background: url('https://www.itpo.gov.in/assets/images/home-slider/banner-img.jpg') center/cover no-repeat;
  filter: brightness(1.1);
  opacity: 0.15;
}

.notice-inner {
  position: relative;
  z-index: 2;
  padding: 36px 32px;
  text-align: center;
}

.notice-heading {
  font-size: 27px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 22px;
  font-family: 'Merriweather', serif;
}

.notice-heading span {
  color: var(--orange);
  font-style: italic;
}

.notice-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.notice-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ccc;
  background: rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  color: #666;
  transition: all 0.2s;
  flex-shrink: 0;
}

.notice-btn:hover {
  background: #fff;
  border-color: #888;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 16px 24px;
  max-width: 580px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.notice-pdf {
  font-size: 32px;
  color: #c0392b;
}

.notice-card-text h4 {
  font-size: 15px;
  font-weight: 600;
  color: #222;
  margin-bottom: 5px;
}

.notice-card-text a {
  color: #1a5cb0;
  font-size: 13.5px;
  text-decoration: none;
  font-weight: 500;
}

.notice-card-text a:hover {
  text-decoration: underline;
}

/* TABS */
.tabs-row {
  margin: 0 28px;
  padding: 14px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid #eee;
}

.tab {
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: 1.5px solid #ccc;
  background: #fff;
  color: #444;
  transition: all 0.2s;
  font-family: inherit;
}

.tab:hover {
  border-color: #888;
}

.tab.active {
  background: #c0392b;
  color: #fff;
  border-color: #c0392b;
}

.new-pill {
  background: #E8660A;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
  display: inline-block;
}

/* CONTENT */
.content-box {
  margin: 0 28px 20px;
  padding: 26px 26px 30px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.content-box h2 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.content-box p {
  font-size: 14.5px;
  color: #333;
  line-height: 1.75;
  margin-bottom: 12px;
}

.content-box ul {
  margin: 6px 0 14px 22px;
}

.content-box li {
  font-size: 14.5px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 3px;
  list-style: disc;
}

.red-note {
  color: #c0392b;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  margin: 14px 0 20px;
}

.table-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.data-table thead tr {
  background: #142350;
  color: #fff;
}

.data-table thead th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 600;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.data-table tbody tr {
  border-bottom: 1px solid #eee;
}

.data-table tbody tr:nth-child(even) {
  background: #eef2ff;
}

.data-table tbody tr:hover {
  background: #dde4f8;
}

.data-table tbody td {
  padding: 10px 14px;
  color: #333;
  vertical-align: top;
  line-height: 1.5;
}

.data-table tbody td:first-child {
  color: #777;
  font-weight: 500;
  white-space: nowrap;
}

/* APP SECTION */
.app-section {
  margin: 0 2% 1.5rem;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(130deg, #721c24 0%, #5c162b 100%);
  display: grid;
  grid-template-columns: 40fr 30fr 25fr;
  min-height: 260px;
  align-items: stretch;
}

.app-features {
  padding: 32px 28px 32px 34px;
}

.app-features h2 {
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.3;
}

.af-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.af-item {
  background: rgba(255, 255, 255, 0.15);
  /* Transparent flat rounded block */
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  /* White colored text */
  backdrop-filter: blur(4px);
  transition: background 0.2s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.af-item:hover {
  background: rgba(255, 255, 255, 0.22);
}

.af-icon {
  font-size: 15px;
  flex-shrink: 0;
  opacity: 0.9;
  width: 22px;
  text-align: center;
}

.af-text h4 {
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 1px;
}

.af-text p {
  font-size: 11px;
  opacity: 0.8;
  /* Increased legibility slightly over dark maroon */
}

/* ─── QR + DOWNLOAD CARD PANELS ─── */

.app-qr-panel {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.app-panels-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 20px 24px 20px 0;
  grid-column: 2 / -1;
}

@media (max-width: 991px) {
  .app-section {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .app-panels-wrap {
    padding: 0 0 32px 0;
    flex-direction: column;
    gap: 20px;
  }
}

.app-card {
  background: transparent;
  backdrop-filter: none;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  position: relative;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.app-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
}

.app-card>* {
  position: relative;
  z-index: 1;
}

.app-card-qr {
  min-width: 250px;
}

.app-card-dl {
  min-width: 320px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.aqr-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3px;
}

.aqr-box {
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.aqr-box img {
  width: 175px;
  height: 175px;
  object-fit: cover;
  display: block;
  border-radius: 6px;
  background: #fff;
}

.aqr-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.aqr-note em {
  display: block;
  font-size: 11px;
  opacity: 0.6;
  font-style: italic;
}

/* OR divider */
.app-or-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  flex-shrink: 0;
}

.app-or-divider::before,
.app-or-divider::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

.app-or-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
}

/* Download panel inside card */
.app-dl-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
  width: 100%;
}

.app-dl-panel h3 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.app-dl-panel p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

.store-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.store-btn {
  background: #222;
  color: #fff;
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background 0.22s, border-color 0.22s, box-shadow 0.22s;
  width: 100%;
}

.store-btn:hover {
  background: #2e2e2e;
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.store-icon {
  font-size: 24px;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.store-icon .fa-google-play {
  color: #78C257;
}

.store-label span {
  display: block;
  font-size: 11px;
  opacity: 0.65;
  text-align: left;
}

.store-label strong {
  font-size: 16px;
  font-weight: 700;
  text-align: left;
  display: block;
}

/* APP DOWNLOAD CARDS (Important Links tab) */
.dl-apps-heading {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 18px;
}

.dl-apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.dl-app-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.dl-app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.dl-app-card-header img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px;
  flex-shrink: 0;
}

.dl-app-card-header.green {
  background: #3aaa35;
}

.dl-app-card-header.red {
  background: #c0392b;
}

.dl-app-card-header.blue {
  background: #1a73c9;
}

.dl-app-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: #f7f7f7;
}

.dl-store-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
  transition: opacity 0.2s, transform 0.15s;
}

.dl-store-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.dl-store-btn.gplay {
  background: #1a8a2e;
}

.dl-store-btn.astore {
  background: #222;
}

.dl-store-btn .dl-icon {
  font-size: 20px;
  width: 22px;
  flex-shrink: 0;
}

.dl-store-btn .dl-icon .fa-google-play {
  color: #78C257;
}

.dl-store-btn .dl-label span {
  display: block;
  font-size: 9.5px;
  opacity: 0.7;
  text-align: left;
}

.dl-store-btn .dl-label strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
}



/* FOOTER */
.site-footer {
  background: #1a1a1a;
  color: #bbb;
  padding: 16px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

.site-footer a {
  color: #999;
  text-decoration: none;
  margin: 0 6px;
}

.site-footer a:hover {
  color: var(--orange);
}

/* PRODUCT SHOWCASE SECTION */
.ps-section {
  background-color: #f9f9f9;
  padding: 4rem 1.5rem;
  text-align: center;
}

.ps-header {
  margin-bottom: 40px;
}

.ps-header h2 {
  font-size: 36px;
  font-weight: 800;
  color: #721c24;
  margin-bottom: 10px;
  font-family: 'Merriweather', serif;
}

.ps-header p {
  font-size: 18px;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.ps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 991px) {
  .ps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ps-grid {
    grid-template-columns: 1fr;
  }
}

.ps-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  display: block;
  text-decoration: none;
  color: inherit;
}

.ps-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.ps-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ps-card:hover img {
  transform: scale(1.05);
}

.ps-img-wrap {
  overflow: hidden;
  position: relative;
}

.ps-img-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ps-card:hover .ps-img-overlay {
  opacity: 1;
}

.ps-card-footer {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  position: relative;
  z-index: 2;
}

.ps-card-title {
  font-weight: 800;
  font-size: 16px;
  color: #5c162b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ps-card-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #5c162b;
  /* Dark red dot */
}

.ps-icon-btn {
  background-color: #5c162b;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.ps-card:hover .ps-icon-btn {
  background-color: #f15b22;
  color: #ffffff;
}

.ps-icon-btn svg {
  transition: fill 0.3s ease;
}

.ps-cta-wrap {
  margin-top: 3rem;
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.25rem;
    /* ~36px */
  }

  .hero-content p {
    font-size: 1rem;
  }

  .ps-header h2 {
    font-size: 1.8rem;
    /* ~28.8px */
  }

  .ps-header p {
    font-size: 1rem;
  }
}

.ps-cta-btn {
  background: #721c24;
  color: white;
  padding: 16px 42px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(114, 28, 36, 0.2);
}

.ps-cta-btn:hover {
  background: #8B0000;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(114, 28, 36, 0.35);
}

/* =========================================
   LEAD CAPTURE MODAL STYLES
   ========================================= */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(4px);
}

.lead-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lead-modal-content {
  background: #ffffff;
  width: 90%;
  max-width: 550px;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.4s ease, opacity 0.4s ease;
  overflow: hidden;
  opacity: 0;
}

.lead-modal-overlay.active .lead-modal-content {
  transform: translateY(0);
  opacity: 1;
}

.lead-modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, #721c24, #f15b22);
}

.lead-modal-close {
  position: absolute;
  top: 15px;
  right: 18px;
  background: none;
  border: none;
  font-size: 24px;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
  z-index: 10;
}

.lead-modal-close:hover {
  color: #333;
}

.lead-modal-header {
  text-align: center;
  padding: 35px 35px 15px;
}

.lead-pill {
  display: inline-block;
  background: #1f2937;
  color: #f59e0b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.lead-modal-header h3 {
  font-size: 28px;
  font-weight: 800;
  color: #1a202c;
  margin-bottom: 10px;
  line-height: 1.2;
}

.lead-modal-header p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
}

.lead-modal-body {
  padding: 0 35px 35px;
}

.lead-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 16px;
}

.lead-form-group {
  display: flex;
  flex-direction: column;
}

.lead-form-group.full-width {
  grid-column: 1 / -1;
}

.lead-form-group label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lead-required {
  color: #ef4444;
}

.lead-form-group input,
.lead-form-group select {
  padding: 14px 16px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 14px;
  color: #334155;
  background: #f8fafc;
  transition: all 0.2s ease;
  font-family: inherit;
}

.lead-form-group input::placeholder {
  color: #94a3b8;
}

.lead-form-group input:focus,
.lead-form-group select:focus {
  outline: none;
  background: #ffffff;
  border-color: #721c24;
  box-shadow: 0 0 0 3px rgba(114, 28, 36, 0.1);
}

.lead-submit-btn {
  grid-column: 1 / -1;
  background-color: #721c24;
  color: white;
  border: none;
  padding: 16px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 12px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 12px rgba(114, 28, 36, 0.25);
}

.lead-submit-btn:hover {
  background-color: #5c162b;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(114, 28, 36, 0.35);
}

.lead-submit-btn:disabled {
  background-color: #a87b81;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.lead-footnote {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
  margin-top: 5px;
}

.lead-footnote i {
  color: #cbd5e1;
  margin-right: 4px;
}

.lead-success-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.lead-success-msg.active {
  display: block;
}

.lead-success-msg i {
  font-size: 48px;
  color: #28a745;
  margin-bottom: 20px;
}

.lead-success-msg h3 {
  color: #333;
  margin-bottom: 10px;
}

.lead-success-msg p {
  color: #666;
}

@media (max-width: 768px) {
  .lead-form-grid {
    grid-template-columns: 1fr;
  }

  .lead-modal-header {
    padding: 30px 25px 15px;
  }

  .lead-modal-body {
    padding: 0 25px 25px;
  }
}