@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap');

html,
body {
  overflow-x: clip;
  /* prevent horizontal scroll */
  overflow-y: auto;
  /* enable vertical scroll */
  scrollbar-width: thin;
  /* show slim scrollbar in Firefox */
  -ms-overflow-style: auto;
  /* restore scrollbar in IE/Edge */
}

/* Show vertical scrollbar in Chrome, Safari, Opera */
body::-webkit-scrollbar {
  width: 8px;
  /* adjust thickness */
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.5);
}

/* reset / base */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  background: #f9f6ed;
}

#splash-screen {
  position: fixed;
  inset: 0;
  background: #000;
  /* Black background */
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s;
}

#splash-screen video {
  border-radius: 12px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.4);
}

body.splash-hide #splash-screen {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s;
}

/* ---------- NAVBAR ---------- */
.navbar {
  position: relative;
  /* anchor for absolute-centering center block */
  display: flex;
  align-items: center;
  padding: 12px 48px;
  min-height: 84px;
  /* stable vertical center baseline */
  z-index: 500;
}

/* left & right only take content width */
.nav-left,
.nav-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* logo size */
.logo img {
  height: 72px;
  /* consistent logo height */
  display: block;
}

/* ---------- CENTERED LINKS (DESKTOP ONLY) ---------- */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 36px;
  align-items: center;
  white-space: nowrap;
  z-index: 100;
  pointer-events: auto;
}

.nav-links.show {
  right: 0;
  /* this is what makes it visible */
}

/* unify link appearance (regular links + dropdown trigger) */
.nav-links a,
.nav-links .dropdown>a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #1a1a1a;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  line-height: 1;
  padding: 6px 4px;
  /* identical vertical hit area */
  height: 40px;
  /* equal height for visual alignment */
}

/* hover */
.nav-links a:hover,
.nav-links .dropdown>a:hover {
  color: #800020;
}

/* dropdown container stays relative */
.dropdown {
  position: relative;
}

/* dropdown box */
.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 1px);
  /* directly under trigger */
  left: 0;
  min-width: 240px;
  background: white;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  font-size: 15px;
  z-index: 100;
}

/* show dropdown on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content h4 {
  margin: 10px 0 5px;
  font-size: 13px;
  color: darkred;
  font-weight: normal;
}

.dropdown-content a {
  display: block;
  padding: 5px 0;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: normal;
}

.dropdown-content a:hover {
  color: #800020;
}

/* ---------- RIGHT: login big rounded button ---------- */
.nav-right {
  margin-left: auto;
  /* push to the far right */
  gap: 16px;
}

.signup-icon {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #800020;
  color: #fff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-family: 'montserrat', sans-serif;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform .18s, box-shadow .18s, background .18s;
}

.signup-icon i {
  font-size: 1.25rem;
}

.signup-icon:hover {
  transform: translateY(-2px);
  background: #a00028;
}

/* ---------- HAMBURGER (mobile) ---------- */
.hamburger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 600;
  color: #1a1a1a;
}

/* Sidebar close button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  display: none;
  /* hidden by default */
}

/* ===================== RESPONSIVE ===================== */

/* Sidebar behaviour for <= 1024px */
@media (max-width: 1024px) {
  .hamburger {
    display: block;
    margin-left: auto;
    /* keep it on right side */
    font-size: 2rem;
    cursor: pointer;
    color: #1a1a1a;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -260px;
    /* Start hidden off-screen to the right */
    left: auto;
    /* reset desktop centering */
    transform: none;
    /* remove translate */
    height: 100%;
    width: 260px;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 20px;
    gap: 20px;
    transition: right 0.28s ease;
    box-shadow: -4px 0 10px rgba(0, 0, 0, 0.08);
    z-index: 1000;
  }

  .nav-links.show {
    right: 0;
    /* Slide into view */
  }

  .dropdown-content {
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown>a::after {
    content: " ▼";
    font-size: 0.8rem;
  }

  /* hide top login button when hamburger active */
  .nav-right {
    display: none;
  }

  .nav-links.show .close-btn {
    display: block;
    /* only show when sidebar is open */
  }

  /* responsive login button csss it is diffrent than desktop please check before changing */
  .signup-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* 👈 aligns to the left */
    gap: 10px;

    color: #fff;
    /* makes text white */
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    margin: -240px 0 10px 2px;
    /* 👈 gives left spacing */
    width: 70%
  }

  .signup-icon:hover {
    background: #a00028;
    transform: translateY(-2px);
  }

  .signup-icon i {
    font-size: 1.1rem;
    color: #fff;
  }

  .signup-icon span {
    font-size: 1.1rem;
    color: #fff;
  }
}

/* ✅ Responsive design for .signup-icon (250px to 765px) */
@media (max-width: 765px) and (min-width: 250px) {
  .signup-icon {
    width: 85%;
    margin: 20px 0;
    padding: 10px 18px;
    font-size: 0.95rem;
    gap: 8px;
    justify-content: flex-start;
    border-radius: 35px;
  }


  .signup-icon i {
    font-size: 1rem;
    /* smaller icon */
  }

  .signup-icon span {
    font-size: 1rem;
    /* smaller text */
  }
}


/* smaller tweaks */
@media (max-width: 768px) {
  .logo img {
    height: 72px;
  }

  .nav-links a {
    font-size: 18px;
    height: 36px;
  }

  .signup-icon {
    padding: 10px 18px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 72px;
  }

  .nav-links a {
    font-size: 16px;
    height: 34px;
  }

  .signup-icon {
    padding: 10px 14px;
  }
}

/* smaller tweaks */



/* --- HEADINGS & PARAGRAPHS --- */
p,
.highlight,
.text,
.lawshield-plans .plan-content p,
.header-content p,
.first-text-box p,
.second-text-box p,
.footer-tagline,
.footer-link-col a,
.footer-legal-text {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 500;
}

.header-content h1,
.lawshield-plans h1,
.lawshield-plans .plan-content h2,
.attorney-heading,
.hero-content h1,
.dark-section h2,
h2,
.main-heading {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
}

.hello p {
  margin-top: 3px;
  margin-bottom: 0px;
}

/* --- MAIN HEADER --- */
.header-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1450px;
  margin: 0 auto;
  padding: 80px 5vw 40px 5vw;
  min-height: 560px;
}

.header-content {
  max-width: 570px;
}

.header-content h1 {
  font-size: 62px;
  color: #134686;
}

.header-content p {
  font-size: 22px;
  color: #000000;
}

.header-btns {
  display: flex;
  gap: 18px;
  margin-top: 25px;
}

.header-btns .get-covered,
.header-btns .learn-more {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 17px;
  font-weight: 600;
  border-radius: 22px;
  padding: 13px 34px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, color 0.2s, border 0.2s;
}

.header-btns .get-covered {
  background: #bb2d3b;
  color: #fff;
  margin-right: 8px;
}

.header-btns .get-covered:hover {
  background: #a22430;
}

.header-btns .learn-more {
  border: 1.8px solid #0c2f59e1;
  color: #0c2f59e1;
  background: #FFFDF6;
}

.header-btns .learn-more:hover {
  color: #bb2d3b;
  border-color: #bb2d3b;
}

.header-image {
  width: 32vw;
  /* Responsive width: 32% of viewport, adjust as needed */
  max-width: 520px;
  /* Max size for large screens */
  min-width: 380px;
  /* Min size for small screens */
  aspect-ratio: 1 / 1;
  /* Makes the box perfectly square */
  margin-left: 56px;
  border-radius: 22px;
  background: #FFFDF6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(19, 70, 134, 0.12);
  position: relative;
}

.header-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
}

@media (max-width: 900px) {
  .header-image {
    width: 80vw;
    max-width: 80vw;
    margin-left: 0;
    margin-right: auto;
    margin-bottom: 18px;
  }
}

@media (max-width: 600px) {
  .header-image {
    width: 94vw;
    max-width: 94vw;
    border-radius: 16px;
  }

  .header-image img {
    border-radius: 16px;
  }
}


/* --- PLANS SECTION --- */
.lawshield-plans {
  padding: 35px 8vw;
  background-color: #0c2f59e1;
}

.lawshield-plans h1 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 36px;
  color: #FFFDF6;
  font-family: 'EB Garamond', serif;
}

.lawshield-plans .plans-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.lawshield-plans .plan-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  background: #FFFDF6;
  border-radius: 12px;
  overflow: hidden;
}

.lawshield-plans .plan-content {
  padding: 20px 25px;
  flex: 1;
}

.lawshield-plans .plan-content h4 {
  color: #0c2f59e1;
  font-size: 15px;
  margin-bottom: 10px;
  font-weight: normal;
}

.lawshield-plans .plan-content h2 {
  font-family: 'EB Garamond', serif;
  font-size: 50px;
  font-style: italic;
  margin-bottom: 12px;
  color: #0c2f59e1;
}

.lawshield-plans .plan-content p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: #0c2f59e1;
}

.lawshield-plans .btn {
  display: inline-block;
  padding: 8px 20px;
  background: #a1032f;
  color: #fff;
  font-size: 14px;
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: bold;
  border-radius: 25px;
  text-decoration: none;
  transition: background 0.2s ease;
  border: 1px solid #fff;
  margin-top: 10px;
}

.lawshield-plans .btn:hover {
  background: #c5093e;
}

.lawshield-plans .plan-image {
  flex: 1;
  max-width: 40%;
}

.lawshield-plans .plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


@media (max-width: 900px) {
  .header-section {
    flex-direction: column;
    text-align: center;
    padding: 24px 3vw 10px 3vw;
  }

  .header-image {
    margin-left: 0;
    width: 80vw;
  }

  .lawshield-plans .plan-card {
    flex-direction: column;
  }

  .lawshield-plans .plan-image {
    max-width: 100%;
    height: 180px;
  }

  .footer-upper,
  .footer-link-cols,
  .footer-social-contact-row {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .header-image {
    height: 120px;
  }

  .header-content h1 {
    font-size: 28px;
  }
}


/* --- RESTYLE ALL SECTION & BUTTON --- */
button,
.btn,
.btn-red,
.btn-yellow,
.hero-btn {
  font-family: 'Montserrat', Arial, sans-serif !important;
}

.btn-red,
.btn-yellow {
  margin-top: 20px;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.18s;
}

.btn-red {
  background: #a30d2d;
  color: #fff;
  border: 1px solid #fff;
}

.btn-red:hover {
  background: #7d0a23;
}

.btn-yellow {
  background: transparent;
  color: #0c2f59e1;
  border: 1px solid #0c2f59e1;
}

.btn-yellow:hover {
  background: #a30d2d;
  color: #FFFDF6;
  border: 1px solid #a30d2d;
}

/* --- DARK SECTIONS AND FOOTER --- */
.dark-section,
.attorney-section {
  background: #0c2f59e1;
  color: #FFFDF6;
}

.dark-section h2,
.attorney-section h2,
.footer-col-title {
  color: #FFFDF6;
}

.footer-section {
  background: #0c2f59e1;
  color: #FFFDF6;
  font-family: 'Montserrat', Arial, sans-serif;
}

.footer-link-col a {
  color: #FFFDF6;
}

.footer-link-col a:hover {
  color: #bb2d3b;
}


.container {
  max-width: 1000px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

h2 {
  color: #1e1642;
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.highlight {
  color: #a30d2d;
  font-weight: bold;

  font-size: 20px;

}

.text {
  font-size: 25px;

  color: #333;
}

.btn-red {
  margin-top: 20px;
  background: #a30d2d;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 24px;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-red:hover {
  background: #7d0a23;
}

.grid-wrapper {
  margin-top: -200px;
  position: relative;
  top: 200px;
  z-index: 2;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  margin: 0 auto;
  /* center horizontally */
  width: 750px;
  /* fixed width for exact sizing */
  height: 650px;
  /* fixed height for equal boxes */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.image-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills box but may crop */
  display: block;
}


/* Dark Section full width */
.dark-section {
  background: #0c2f59e1;
  position: relative;
  padding: 200px 20px 80px;
  color: #fff;
  z-index: 1;
  text-align: center;
  /* ensures everything centers */
}

.dark-section h2 {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: #fff;
}

.content {
  position: relative;
  /* for absolute positioning of text */
  max-width: 2000px;
  margin: auto;
  text-align: center;
  /* keep image centered */


}

.content img {
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.first-text-box {
  max-width: 300px;
  position: absolute;
  top: 50%;
  /* vertically center text relative to image */
  left: 52%;
  /* start from image center */
  transform: translate(200px, -50%);
  /* move right by 200px and center vertically */
  text-align: left;
}


.before-label i {
  font-size: 20px;
  color: #f7c948;
  margin-right: 8px;
}




.first-text-box p {
  font-size: 14px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 15px;
}

.btn-yellow {
  border: 1px solid #ffffff;
  color: #ffffff;
  background: transparent;
  font-size: 14px;
  font-weight: bold;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-yellow:hover {
  background: #a30d2d;
  color: #ffffff;
}

.second-content {
  position: relative;
  /* for absolute positioning of text */
  max-width: 2000px;
  margin: auto;
  text-align: center;
  /* keep image centered */
}

.second-content img {
  margin-top: 100px;
  margin-bottom: 100px;
  width: 400px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.second-text-box {
  max-width: 300px;
  position: absolute;
  top: 50%;
  left: 50%;
  /* position text box center relative to image */
  transform: translate(-180%, -50%);
  /* move left of the image */
  text-align: left;
}

.intro-flexbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 auto 48px auto;
  max-width: 750px;
  background: #0c2f59e1;
  border-radius: 16px;
  padding: 32px 24px;
}

.intro-text {
  flex: 1;
  font-size: 1.35rem;
  color: #ffffff;
  line-height: 1.5;
}

.intro-image img {
  max-width: 210px;
  border-radius: 12px;
  object-fit: cover;
  height: 210px;
  width: 210px;
}

.core-protections-section {
  padding: 56px 0 40px 0;
  background: #FFFDF6;
  width: 100%;
}

.heading-section {
  position: relative;
  text-align: center;
  margin-bottom: 40px;
}

.background-number {
  position: absolute;
  left: 50%;
  top: -30px;
  transform: translateX(-50%);
  font-size: 92px;
  color: #ece1c2;
  font-weight: 700;
  z-index: 0;
  pointer-events: none;
  user-select: none;
}

.main-heading {
  position: relative;
  color: #0c2f59e1;
  font-weight: 500;
  font-size: 2.2rem;
  z-index: 1;
}

.sub-heading {
  margin-top: 8px;
  color: #0c2f59e1;
  font-size: 1.18rem;
  z-index: 1;
  position: relative;
}

.protections-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  max-width: 1150px;
  margin: 0 auto;
}

.protection-card {
  perspective: 1000px;
  min-width: 320px;
  max-width: 380px;
  box-shadow: none;
}

.flip-card {
  width: 100%;
  height: 330px;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(150, 145, 110, 0.09);
  margin: 0 auto;
  background: #fff;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  transition: transform 0.7s cubic-bezier(.4, 2, .3, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner,
.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 14px;
  padding: 34px 27px 23px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  box-sizing: border-box;
  background: #fff;
}

.circle-num {
  width: 36px;
  height: 36px;
  background: #f5edd8;
  color: #9d9071;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.card-text {
  color: #0c2f59e1;
  font-size: 1.08rem;
  line-height: 1.5;
}

.flip-card-back {
  transform: rotateY(180deg);
}

.flip-card-front {
  z-index: 2;
}

/* Flip card text alignment fix */
.flip-card-front {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  padding: 20px;
}

/* Number circle */
.flip-card-front .number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #f3e9d2;
  color: #6a5b3d;
  font-weight: 600;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  margin-bottom: 20px;
}

/* Title styling */
.flip-card-front h3 {
  font-size: 18px;
  color: #123c64;
  margin-bottom: 10px;
  line-height: 1.4;
}

/* Flip hint styling */
.flip-card-front .hover-hint {
  font-size: 14px;
  color: #000;
  font-weight: 500;
  opacity: 0.8;
  margin-top: 8px;
}


/* --- Hover Hint for Lawyer Cards --- */
.hover-hint {
  text-align: center;
  font-size: 14px;
  color: #fff;
  opacity: 0.8;
  margin-top: 8px;
  font-family: 'Montserrat', sans-serif;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hover effect on desktop */
.attorney-card:hover+.hover-hint {
  opacity: 1;
  transform: scale(1.05);
  color: #d33b2d;
}

/* Hide label on mobile if you want (optional) */
@media (max-width: 768px) {
  .hover-hint {
    font-size: 13px;
    margin-top: 6px;
    opacity: 0.9;
  }
}

.flip-card-front {
  position: relative;
}

/* Hide on hover (desktop) */
.flip-card:hover .hover-hint {
  opacity: 0;
  transform: translateX(-50%) translateY(10px);
}

/* Fix overlap on smaller screens */
@media (max-width: 768px) {
  .hover-hint {
    position: static;
    /* no absolute positioning */
    display: block;
    margin-top: 10px;
    /* spacing from card text */
    text-align: center;
    background: rgba(0, 0, 0, 0.6);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 13px;
  }

  /* keep it visible — no hover behavior on mobile */
  .flip-card:hover .hover-hint {
    opacity: 0.8;
    transform: none;
  }
}

/* --- Hover Me label style --- */
.hover-label {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  color: #b5b5b5;
  margin-top: 8px;
  transition: color 0.3s ease;
}

.flip-card:hover+.hover-label,
.attorney-card:hover+.hover-label {
  color: #d33b2d;
  /* Highlight color when hovered */
}

@media (max-width: 900px) {
  .intro-flexbox {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .protections-grid {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }

  .flip-card {
    min-width: 90vw;
    height: 340px;
  }
}


/* Attorney Flip Cards */
.attorney-card-row {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.flip-card {
  background-color: transparent;
  width: 300px;
  height: 400px;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.flip-card-front img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.attorney-name-overlay {
  position: absolute;
  bottom: 15px;
  left: 0;
  right: 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  background: rgba(0, 0, 0, 0.55);
  padding: 10px;
  text-align: center;
  letter-spacing: 0.5px;
}

.flip-card-back {
  background: #ecbfae;
  color: #2d2d2d;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
}

.flip-card-back h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.flip-card-back p {
  font-size: 1rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.flip-card-back .btn-yellow {
  background-color: #2d2d2d;
  color: #fff;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  transition: background 0.3s;
}

.flip-card-back .btn-yellow:hover {
  background-color: #000;
}

/* Attorney Section */
.attorney-section {
  padding: 60px 20px;
  background-color: #f8f8f8;
  /* subtle background */
  font-family: 'Montserrat', sans-serif;
}

.attorney-card {
  width: 300px;
  margin: 20px;
  perspective: 1000px;
  /* for flip effect */
}

.attorney-card .flip-card-inner {
  transition: transform 0.6s;
  transform-style: preserve-3d;
  position: relative;
}

.attorney-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.attorney-card .flip-card-front,
.attorney-card .flip-card-back {
  backface-visibility: hidden;
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.attorney-card .flip-card-front {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.attorney-card .flip-card-front img.attorney-photo {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
}

.attorney-card .attorney-name-overlay {
  margin-top: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  color: #ffffff;
}

.attorney-card .flip-card-back {
  background-color: #fff;
  transform: rotateY(180deg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.attorney-card .flip-card-back h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

.attorney-card .flip-card-back p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 15px;
  max-height: 320px;
  /* optional: prevent cards from being too tall */
  overflow-y: auto;
  /* adds scroll if text is long */
}


/* Optional: Scrollbar styling for long paragraphs */
.attorney-card .flip-card-back p::-webkit-scrollbar {
  width: 5px;
}

.attorney-card .flip-card-back p::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 3px;
}

.attorney-section {
  background: #0c2f59e1;
  padding: 60px 0 52px 0;
  text-align: center;
}

.attorney-heading {
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 2.65rem;
  font-weight: 500;
  margin-bottom: 46px;
  line-height: 1.17;
}

.headline-underline-box {
  display: inline-block;
  position: relative;
}

.headline-underline-svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 26px;
  pointer-events: none;
  z-index: 0;
}

.attorney-card-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 42px;
  margin-bottom: 50px;
}

.attorney-card {
  background: transparent;
  padding: 0;
  border-radius: 21px;
  text-align: center;
}

.attorney-photo-border {
  position: relative;
  width: 320px;
  height: 420px;
  background: #fff;
  border-radius: 29px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(64, 64, 120, .12);
  margin: 0 auto;
}

.attorney-photo {
  width: 300px;
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
  display: block;
  margin: 0 auto;
}

.photo-play-btn {
  position: absolute;
  right: 18px;
  bottom: 16px;
  cursor: pointer;
  z-index: 3;
}

.attorney-name-overlay {
  position: absolute;
  left: 16px;
  bottom: 14px;
  color: #fff;
  font-size: 1.05rem;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: rgba(44, 46, 70, 0.33);
  border-radius: 5px;
  padding: 2px 10px 2px 8px;
  z-index: 2;
  letter-spacing: 0.01em;
}

.attorney-quote-block {
  margin-top: 25px;
  color: #fff;
}

.quote-icon {
  color: #00000090;
  font-size: 3.9rem;
  line-height: 1;
  margin-bottom: -38px;
}

.attorney-quote-block blockquote {
  background: none;
  border: none;
  color: #fff;
  font-family: 'Georgia', serif;
  font-size: 1.27rem;
  margin: 0 auto;
  line-height: 1.66;
  max-width: 640px;
}

.quote-author {
  display: block;
  margin-top: 20px;
  font-size: 1rem;
  color: #ffffffb7;
  font-family: 'Segoe UI', Arial, sans-serif;
  letter-spacing: 0.01em;
}

@media (max-width: 1000px) {
  .attorney-card-row {
    flex-direction: column;
    gap: 32px;
    align-items: center;
  }

  .attorney-photo-border {
    width: 85vw;
    max-width: 350px;
    height: 360px;
  }

  .attorney-photo {
    width: 97%;
    height: 320px;
  }
}



.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  background: #181c31;
  overflow: hidden;
}

.hero-bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  z-index: 1;
}

.hero-content {
  /* position: absolute; */
  left: 6vw;
  bottom: 11vh;
  z-index: 2;
  color: #fff;
  text-align: left;
}

.hero-content h1 {
  font-family: 'Georgia', serif;
  font-size: 3.3rem;
  line-height: 1.14;
  font-weight: 500;
  margin-bottom: 36px;
  text-shadow: 0 2px 24px rgba(30, 30, 50, 0.27);
}

.hero-btn {
  display: inline-block;
  font-size: 1.13rem;
  font-family: 'Georgia', serif;
  padding: 0.65em 2.2em;
  border-radius: 29px;
  background: #bb102e;
  color: #fff;
  font-weight: 500;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 12px rgba(70, 20, 40, 0.09);
  border: 2px solid #fff;
  transition: background 0.2s, color 0.2s;
  text-decoration: none;
}

.hero-btn:hover {
  background: #ec294d;
  color: #fff;
}

@media (max-width: 900px) {
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .hero-content {
    left: 5vw;
    bottom: 8vw;
  }

  .hero-section,
  .hero-bg img {
    height: 62vh;
  }
}

.footer-section {
  background: #0c2f59e1;
  font-size: 1rem;
  padding: 52px 0 0 0;
}

.footer-upper {
  display: flex;
  align-items: flex-start;
  max-width: 1280px;
  margin: 0 auto;
  gap: 56px;
}

.footer-logo-col {
  min-width: 220px;
}

.footer-logo {
  width: 130px;
  height: auto;
  margin-bottom: 18px;
  display: block;
}

.footer-tagline {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 4px;
}

.footer-link-cols {
  display: flex;
  /* flex: 1; */
  justify-content: space-between;
  gap: 36px;
}

.footer-link-col {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 180px;
}

.footer-col-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}

.footer-link-col a {
  color: #ffffffbe;
  text-decoration: none;
  font-size: 1rem;
  margin-bottom: 1px;
  transition: color 0.18s;
}

.footer-link-col a:hover {
  color: #fff;
}

.footer-divider {
  max-width: 1280px;
  border: none;
  height: 1px;
  background: #ffffff;
  margin: 32px auto 29px auto;
  width: 95%;
  display: block;
}

.footer-legal-text-block {
  max-width: 1280px;
  margin: 0 auto 12px auto;
  color: #969cb6;
}

.footer-legal-text {
  font-size: 0.97rem;
  margin-bottom: 10px;
  line-height: 1.5;
  color: #ffffffbe;
}

.footer-social-contact-row {
  max-width: 1280px;
  margin: 16px auto 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.footer-social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.footer-social-icons a {
  color: #ffffff;
  font-size: 18px;
  margin-right: 15px;
  transition: color 0.3s ease;
}

.footer-social-icons a:hover {
  color: #a91e1e;
}

.footer-contact {
  text-align: left;
  /* padding-left: 90px; */
  color: #ffffffbe;
  font-size: 0.9rem;
  /* min-width: 195px; */
  letter-spacing: 0.01em;
}

.footer-contact-label {
  font-weight: 700;
  color: #ffffffbe;
  margin-bottom: 2px;
}

.footer-bottom-bar {
  color: #ffffffbe;
  border: none;
  font-size: 0.9rem;
  max-width: 1280px;
  margin: 36px auto 0 auto;
  display: flex;
  gap: 28px;
  align-items: center;
  padding-bottom: 42px;
}

.footer-bottom-bar a {
  color: #ffffffbe;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.17s;
}

.footer-bottom-bar a:hover {
  color: #fff;
}

@media (max-width: 950px) {

  .footer-upper,
  .footer-bottom-bar,
  .footer-social-contact-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 21px;
    max-width: 96vw;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-link-cols {
    flex-direction: column;
    gap: 14px;
  }
}

/* ---------------------------------------------
   RESPONSIVE ENHANCEMENTS FOR LAPTOP & MOBILE
--------------------------------------------- */

/* --- LARGE LAPTOPS (≤1440px) --- */
@media (max-width: 1440px) {
  .header-section {
    max-width: 1200px;
    padding: 60px 5vw 30px;
  }

  .header-content h1 {
    font-size: 54px;
  }

  .header-content p {
    font-size: 20px;
  }
}

/* --- LAPTOPS / SMALL DESKTOPS (≤1200px) --- */
@media (max-width: 1200px) {
  .header-section {
    flex-direction: row;
    gap: 40px;
  }

  .header-content h1 {
    font-size: 48px;
  }

  .header-content p {
    font-size: 19px;
  }

  .lawshield-plans .plan-card {
    flex-direction: column;
  }

  .lawshield-plans .plan-image {
    max-width: 100%;
    height: 250px;
  }

  .image-grid {
    width: 90%;
    height: auto;
  }
}

/* --- TABLETS (≤900px) --- */
@media (max-width: 900px) {


  /* Stack hero section */
  .header-section {
    flex-direction: column;
    /* ← corrected! */
    text-align: center;
    padding: 60px 5vw;
  }

  .header-image {
    margin-left: 0;
    width: 80vw;
    margin-bottom: 18px;
    margin-top: 0;
  }

  .header-content h1 {
    font-size: 38px;
  }

  .header-content p {
    font-size: 18px;
  }

  .header-image {
    width: 80%;
    height: auto;
    margin: 0 auto 24px;
  }

  /* Plans Section */
  .lawshield-plans .plan-card {
    flex-direction: column;
    text-align: center;
  }

  .lawshield-plans .plan-content {
    padding: 20px;
  }

  .lawshield-plans .plan-image img {
    height: 220px;
    object-fit: cover;
  }

  /* Core protections */
  .protections-grid {
    flex-direction: column;
    align-items: center;
  }

  .flip-card {
    min-width: 80%;
    height: auto;
  }

  /* Footer */
  .footer-upper,
  .footer-link-cols,
  .footer-social-contact-row {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
  }

  .footer-logo {
    margin: 0 auto;
  }

  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}

/* --- MOBILES (≤600px) --- */
@media (max-width: 600px) {
  body {
    font-size: 15px;
  }

  /* Hero */
  .hero-section,
  .hero-bg img {
    height: 70vh;
  }

  .hero-content {
    left: 6vw;
    bottom: 10vw;
  }

  .hero-content h1 {
    font-size: 1.9rem;
    line-height: 1.2;
  }

  .hero-btn {
    font-size: 1rem;
    padding: 0.6em 1.6em;
  }

  /* Content sections */
  .intro-flexbox {
    flex-direction: column;
    padding: 20px;
    gap: 16px;
  }

  .intro-text {
    font-size: 1rem;
  }

  .image-grid {
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .content img,
  .second-content img {
    width: 80%;
    margin: 0 auto;
  }

  /* Text boxes */
  .first-text-box,
  .second-text-box {
    position: static;
    transform: none;
    margin: 20px auto;
    text-align: center;
  }

  /* Attorneys section */
  .attorney-card-row {
    flex-direction: column;
    gap: 28px;
  }

  .attorney-photo-border {
    width: 90%;
    height: auto;
  }

  .attorney-photo {
    width: 100%;
    height: auto;
  }

  .attorney-heading {
    font-size: 1.9rem;
  }

  /* Footer */
  .footer-section {
    padding: 40px 0;
    font-size: 0.9rem;
  }

  .footer-tagline,
  .footer-link-col a,
  .footer-legal-text {
    font-size: 0.9rem;
  }
}

/* --- SMALL MOBILES (≤400px) --- */
@media (max-width: 400px) {
  .header-content h1 {
    font-size: 1.6rem;
  }

  .header-content p {
    font-size: 0.95rem;
  }

  .btn-red,
  .btn-yellow {
    padding: 8px 16px;
    font-size: 0.85rem;
  }

  .hero-btn {
    font-size: 0.9rem;
    padding: 0.6em 1.4em;
  }

  .footer-contact {
    font-size: 0.85rem;
  }
}

@media (max-width: 900px) {
  .protections-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100vw !important;
    max-width: 100vw !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: 18px !important;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .flip-card {
    width: 99vw !important;
    max-width: 99vw !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .flip-card-inner,
  .flip-card-front,
  .flip-card-back {
    position: relative !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 16px 6px !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
  }
}

@media (max-width: 600px) {
  .flip-card {
    max-width: 100vw !important;
    padding: 0 !important;
  }

  .flip-card-inner,
  .flip-card-front,
  .flip-card-back {
    padding: 11px 2vw !important;
    font-size: 0.98rem !important;
  }
}



@media (max-width: 600px) {
  .flip-card {
    max-width: 100vw !important;
    padding: 0 !important;
  }

  .flip-card-inner,
  .flip-card-front,
  .flip-card-back {
    padding: 11px 2vw !important;
    font-size: 0.98rem !important;
  }
}


/* --- VIDEO TESTIMONIAL CARDS --- */
.video-testimonials {
  text-align: center;
  padding: 100px 20px;
  background: #fffaf0;
}

.video-heading {
  font-size: 2rem;
  color: #0c2f59e1;
  margin-bottom: 40px;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 cards per row on large screens */
  justify-content: center;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;

}

.video-card {
  width: 100%;
  height: 350px;
  perspective: 1000px;
}

.video-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.video-card:hover .video-card-inner {
  transform: rotateY(180deg);
}

.video-card-front,
.video-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  backface-visibility: hidden;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-direction: column;
}

.video-card-front {
  background: linear-gradient(135deg, #0c2f59e1, #134686);
  color: #fff;
}

.video-card-front h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.video-card-back {
  transform: rotateY(180deg);
  background: #f9f6ed;
  color: #000;
  text-align: center;
}

.video-card-back p {
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.watch-video-btn {
  padding: 10px 20px;
  border: none;
  background: #a30d2d;
  color: #fff;
  font-weight: 600;
  border-radius: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.watch-video-btn:hover {
  background: #7d0a23;
}

/* --- VIDEO POPUP MODAL --- */
.video-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.video-popup-content {
  position: relative;
  background: #000;
  border-radius: 12px;
  padding: 10px;
  max-width: 90vw;
  max-height: 80vh;
}

.video-popup video {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.close-popup {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

/* ==== VIDEO POPUP STYLES ==== */
.video-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.video-popup.show {
  display: flex;
  /* This makes it appear when JS adds .show */
}

.video-popup-content {
  position: relative;
  max-width: 90%;
  width: 800px;
  background: transparent;
}

.video-popup video {
  width: 100%;
  border-radius: 12px;
  outline: none;
}

.close-popup {
  position: absolute;
  top: -25px;
  right: -25px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  padding: 4px 10px;
  line-height: 1;
  transition: 0.2s ease;
}

.close-popup:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-card-back {
  transform: rotateY(180deg);
  background: #f9f6ed;
  color: #000;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  overflow: hidden;
}

/* Make long text scrollable inside the back side */
.video-card-back p {
  flex: 1;
  overflow-y: auto;
  max-height: 180px;
  /* adjust height based on your card size */
  padding-right: 6px;
  text-align: justify;
  scrollbar-width: thin;
}

/* Style the scrollbar nicely inside back text */
.video-card-back p::-webkit-scrollbar {
  width: 5px;
}

.video-card-back p::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

/* Adjust Watch Video button spacing */
.watch-video-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background: #a30d2d;
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
}

.watch-video-btn:hover {
  background: #7d0a23;
}

.video-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
  backdrop-filter: blur(3px);
  transition: opacity 0.3s ease;
  opacity: 0;
}

.video-popup.show {
  display: flex;
  opacity: 1;
}

.video-popup-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  animation: popupFadeIn 0.3s ease forwards;
  background: transparent;
}

.video-popup video {
  max-height: 90vh;
  max-width: 90vw;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: contain;
  background: #000;
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  padding: 4px 10px;
  transition: all 0.2s ease;
}

.close-popup:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

@keyframes popupFadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (orientation: portrait) {
  .video-popup-content {
    width: auto;
    max-width: 90vw;
  }
}

.view-more-container {
  text-align: center;
  margin-top: 45px;
}

.view-more-btn {
  background-color: #ecbfae;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  padding: 16px 50px;
  /* increased size */
  border-radius: 40px;
  /* smoother roundness */
  font-size: 1.1rem;
  /* slightly larger text */
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  /* subtle depth */
}

.view-more-btn:hover {
  background-color: #d7a893;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}


/* --- Scrollable Section Container --- */
.video-scroll {
  max-height: 360px;
  /* only first row visible initially */
  overflow-y: scroll;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
  padding-right: 10px;
}

/* Optional: style scrollbar for better look */
.video-scroll::-webkit-scrollbar {
  width: 6px;
}

.video-scroll::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
}

/* --- Fade-in Animation for Cards --- */
.video-card {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

.video-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Animation --- */
@keyframes popupFadeIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* --- Responsive Tweaks --- */
@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row on medium screens */
  }
}

@media (max-width: 768px) {
  .video-testimonials {
    padding: 70px 15px;
  }

  .video-grid {
    grid-template-columns: 1fr;
    /* 1 per row on small screens */
  }

  .video-card {
    width: 90%;
    height: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .video-heading {
    font-size: 1.6rem;
  }

  .video-card {
    width: 100%;
    height: 320px;
  }
}

@media (max-width: 1024px) {
  .signup-icon {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    background: #800020;
    color: #fff;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 40px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    width: 80%;
    margin: 20px 0;
    /* normal top and bottom spacing */
  }
}



main.disclaimer-container {
  max-width: 1280px;
  margin: 48px auto;
  /* padding: 28px; */
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(17, 24, 39, 0.04);
}

.disclaimer-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 18px;
}

.disclaimer-header h1 {
  font-family: "Libre Baskerville", serif;
  margin: 0;
  font-size: 28px;
  color: var(--accent);
}

.disclaimer-updated {
  margin-left: auto;
  font-size: 13px;
  color: var(--muted);
}

.disclaimer-section {
  margin: 18px 0;
  line-height: 1.65;
  color: #ffffffbe;
}

.disclaimer-section h2 {
  font-size: 18px;
  margin: 0 0 10px 0;
  color: var(--accent);
}

.disclaimer-section p {
  margin: 0 0 10px 0;
  color: #ffffffbe;
  font-size: 15px;
}

.limitation-list {
  margin: 10px 0 0 0;
  padding-left: 20px;
  color: #ffffffbe;
}

.limitation-list li {
  margin: 8px 0;
  font-size: 15px;
}

.disclaimer-note {
  background: #f8fafc;
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 14px;
}

/* small print / accessibility */
.disclaimer-footer-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* Make the heading and content appear on the same line */
.inline-heading {
  display: inline;
  /* Change the heading from block to inline */
  font-size: 18px;
  /* Retain the same font size as your current h2 */
  margin: 0;
  /* Remove default margins */
  color: #ffffff;
  /* White color for the heading */
}

.inline-content {
  display: inline;
  /* Make the paragraph content inline with the heading */
  color: #fdfdfd;
  /* Light white color for paragraph text */
  font-size: 15px;
  /* Retain font size for paragraph */
  margin-left: 12px;
  /* Add space between heading and content */
  line-height: 1.65;
  /* Retain line height for better readability */
}


@media (max-width: 700px) {
  main.disclaimer-container {
    margin: 22px;
    padding: 18px;
  }

  .disclaimer-header {
    display: block;
    /* Change to block to allow centering */
    text-align: center;
    /* Center the whole header block */
    margin-bottom: 18px;
  }


  .disclaimer-header h1 {
    font-size: 22px;
    text-align: center;
    /* Center the main heading */
    margin: 0;
  }

  .disclaimer-section {
    text-align: center;
    /* Center the text in the disclaimer sections */
    margin: 18px 0;
    line-height: 1.65;
    color: #ffffffbe;
  }

  .disclaimer-section h2 {
    font-size: 20px;
    margin: 0 0 10px 0;
    color: var(--accent);
    text-align: center;
    /* Center the section headings */
  }

  .disclaimer-section p {
    margin: 0 0 10px 0;
    color: #ffffffbe;
    font-size: 15px;
    text-align: center;
    /* Center the paragraph text */
    padding: 0 15px;
    /* Add padding to prevent text from being too close to edges */
  }

  .inline-heading {
    display: inline-block;
    /* Use inline-block to align headings and text properly */
    font-size: 18px;
    margin: 0 8px;
    color: #ffffff;
  }

  .inline-content {
    display: inline-block;
    color: #fdfdfd;
    font-size: 15px;
    margin-left: 12px;
    line-height: 1.65;
  }
}

.custom-disclaimer {
  background: #21345000;
  color: #fff;
  /* font-family: 'Montserrat', 'Libre Baskerville', serif; */
  padding: 48px 32px;
  width: 1360px;
  margin: 48px 0 48px 100px;
  /* top right bottom left */
  border-radius: 0;
  box-shadow: none;
  text-align: left;
}

.custom-disclaimer h1 {
  font-family: "Libre Baskerville", serif;
  font-size: 20px;
  color: #fff;
  margin-bottom: 25px;
  font-weight: bold;
  text-align: left;
}

.custom-disclaimer .disclaimer-section {
  text-align: left;
  color: #fff;
  opacity: 0.9;
  font-size: 13.5px;
  margin-bottom: 22px;
  line-height: 1.7;
}

.custom-disclaimer .section-title {
  font-weight: bold;
  font-size: 1em;
  color: #fff;
  font-family: 'Libre Baskerville', serif;
}


@media (max-width: 1024px) {
  .custom-disclaimer {
    width: auto;
    margin: 40px 5vw;
    padding: 40px 5vw;
  }

  .custom-disclaimer h1 {
    font-size: 20px;
    text-align: left;
  }

  .custom-disclaimer .disclaimer-section {
    font-size: 14.5px;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .custom-disclaimer h1 {
    text-align: center;
  }

  .custom-disclaimer {
    margin: 32px 8vw;
    /* fallback to centered/mobile */
    padding: 32px 8vw;
    /* text-align: center; */
    max-width: 80%;
  }

  .custom-disclaimer .disclaimer-section {
    font-size: 15px;
    text-align: center;

  }
}

@media (max-width: 600px) {

  .footer-tagline,
  .footer-link-col a,
  .footer-contact,
  .footer-bottom-bar a {
    /* Keep readable on mobile */
    font-size: 0.85rem;
  }

  .footer-legal-text {
    font-size: 0.75rem;
  }
}


.moment video {
  width: 80%;
  height: auto;
  max-height: 1080px;
  object-fit: contain;
  /* ensures the full 1920x1080 video fits */
  /* position: absolute; */
  /* top: 50%;
    left: 50%; */
  /* transform: translate(-50%, -50%); */
  /* z-index: 1; */
}

@media (max-width: 900px) {
  .terms-hero {
    min-height: 250px;
  }

  .terms-hero-content h1 {
    font-size: 1.8rem;
  }
}

 .stats-section {
      background-color: #FFFDF6; /* Primary bg color used elsewhere */
      padding: 60px 20px;
      text-align: center;
      font-family: 'Montserrat', sans-serif;
    }

    .stats-content {
      max-width: 1200px;
      margin: 0 auto;
    }

    .stats-text {
      font-size: 2.5rem;
      font-weight: 700;
      color: #000; /* Black for text */
      line-height: 1.4;
    }

    .highlight-number {
      color: #0c2f59; /* Blue highlight color */
      font-size: 2.5rem; /* Slightly larger for emphasis */
    }

    @media (max-width: 768px) {
      .stats-text {
        font-size: 1.8rem;
      }
      .highlight-number {
        font-size: 2.2rem;
      }
      .stats-text br {
        display: none;
      }
    }
/* --- COOKIE BOTTOM BAR DESIGN --- */
.cookie-bar {
  display: none; /* Hidden by default */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 10000;
  background-color: #FFFDF6; /* Off-white theme background */
  border-top: 3px solid #134686; /* Brand Blue accent line */
  box-shadow: 0 -5px 20px rgba(0,0,0,0.1); /* Subtle shadow upwards */
  animation: slideUp 0.5s ease-out forwards;
  font-family: 'Montserrat', sans-serif;
}

/* Container to manage width and alignment */
.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 20px 25px;
  gap: 30px;
}

/* Animation */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Left Side: Text Box */
.cookie-text-box {
  flex: 1; /* Takes available space */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cookie-text-box h3 {
  margin: 0;
  color: #134686;
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-text-box h3 i {
  color: #c98d57; /* Cookie Icon Color */
  font-size: 1.2rem;
}

.cookie-text-box p {
  margin: 0;
  color: #555;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 1000px;
}

/* Right Side: Buttons */
.cookie-actions {
  display: flex;
  gap: 15px;
  flex-shrink: 0; /* Prevents buttons from squishing */
}

/* Button Styles */
.cookie-btn {
  padding: 10px 24px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Montserrat', sans-serif;
}

/* Accept Button */
.cookie-btn.accept {
  background-color: #134686;
  color: #fff;
  border: 2px solid #134686;
}

.cookie-btn.accept:hover {
  background-color: #134686;
  border-color: #134686;
}

/* Decline Button */
.cookie-btn.decline {
  background-color: transparent;
  color: #134686;
  border: 2px solid #134686;
}

.cookie-btn.decline:hover {
  background-color: #134686; /* Very light red tint on hover */
  color: #fbfbfb; /* Red text on hover */
  border-color: #134686;
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  
  .cookie-actions {
    width: 100%;
    justify-content: flex-end;
    margin-top: 10px;
  }
  
  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
body.cookie-visible #zsiq_float {
  bottom: 120px !important; /* Pushes chat up above the bar */
  transition: bottom 0.3s ease; /* Smooth movement */
}

/* Adjust for mobile (Cookie bar is taller on mobile) */
@media (max-width: 768px) {
  body.cookie-visible #zsiq_float {
    bottom: 220px !important; 
  }
}
/* --- Live Stats Banner --- */
.live-stats-banner {
  background: #0c2f59e1;
  padding: 80px 20px;
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  margin: 0px 0;
}

.stats-wrapper {
  max-width: 1100px;
  margin: 0 auto 100px auto; 
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 25px;
}

.stat-icon-container {
  position: relative;
  font-size: 3.5rem;
  color: #FFFDF6; /* Matching your beige/peach accent */
}

.stats-main-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 100px;
  color: #fff;
  text-transform: none;
  position: relative;
}

.stat-text h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  letter-spacing: -1px;
  color: #FFFDF6;
}
.stats-container {
  max-width: 1200px;
  margin: 0 auto;
}

.stat-text p {
  font-size: 1rem;
  text-transform: uppercase;
  color: #bbbbbb;
  margin: 5px 0 0 0;
  letter-spacing: 1px;
}

.stat-divider {
  width: 2px;
  height: 80px;
  background-color: #bbbbbb;
}

/* Pulse Animation for "Online" status */
.pulse-dot {
  position: absolute;
  top: 8px;
  right: -5px;
  width: 12px;
  height: 12px;
  background-color: #2ecc71;
  border-radius: 50%;
}
.pulse-dot::after {
  content: "";
  position: absolute;
  width: 100%; height: 100%;
  background-color: #2ecc71;
  border-radius: 50%;
  animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(3); opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .stats-wrapper { flex-direction: column; text-align: center; }
  .stat-item { flex-direction: column; gap: 10px; }
  .stat-divider { width: 60px; height: 2px; }
}

/* Container to align button and text side-by-side */
.plan-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 25px;
}

/* The Specialist Text Block */
.specialist-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #0c2f59e1; 
}

.specialist-info i {
    color: #a12525;
    font-size: 16px;
}

.specialist-info span {
    font-size: 15px;
    font-weight: 600;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.3;
    max-width: 320px; /* Keeps text neat */
}

/* RESPONSIVE: On mobile, stack them and change divider to horizontal */
@media (max-width: 768px) {
    .plan-action-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .specialist-info {
        border-left: none; /* Remove vertical line */
        border-top: 1px solid #e0dbce; /* Add horizontal line */
        padding-left: 0;
        padding-top: 15px;
        width: 80%;
        justify-content: center;
    }
    
    .specialist-info span {
        max-width: 100%;
    }
}

        /* Partners Section Styling */
        .partners-section {
            background-color: #FFFDF6;
            padding: 60px 0;
            text-align: center;
        }


        .partners-title {
            font-family: 'Libre Baskerville', serif;
            font-size: 35px;
            font-weight: 700;
            color: #0c2f59e1;
            margin-bottom: 10px;
        }

        .partners-subtitle {
            font-size: 16px;
            color: #6a7c92;
            /* Professional muted blue-grey */
            font-weight: 500;
            margin-bottom: 40px;
            font-style: italic;
        }



        .partners-logos {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-wrap: wrap;
            gap: 100px;
            padding: 30px 0px;
        }

        .logo-item img {
            max-width: 200px;
            max-height: 100px;
            transition: all 0.3s ease;
            object-fit: contain;
        }

        .logo-item img:hover {
            filter: grayscale(0%);
            /* Color on hover */
            opacity: 1;
            transform: scale(1.05);
        }

        .logo-item:nth-child(4) {
            background-color: #000000;
            /* Black Background */
            width: 100px;
            /* Circle size */
            height: 100px;
            /* Circle size */
            border-radius: 50%;
            /* Makes it a circle */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            transition: 0.3s ease-in-out;
        }

        /* Adjusting the 3rd logo image inside the circle */
        .logo-item:nth-child(4) img {
            max-width: 90%;
            max-height: 90%;
            filter: brightness(0) invert(1);
            /* Keeps logo pure white */
            opacity: 1;
        }


        .logo-item:nth-child(4):hover {
            transform: scale(1.1);
            background-color: #111111;

        }

        /* 4th Logo (Firm Name) Styling */
        .logo-item.firm-text-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 220px;
            /* Sizing balance for other logos */
            text-align: center;
        }

        .logo-item.firm-text-logo p {
            font-family: 'Libre Baskerville', serif;
            /* Website's premium font */
            color: #0c2f59e1;
            font-size: 18px;
            font-weight: 700;
            letter-spacing: 1px;
            line-height: 1.2;
            margin: 0;
            text-transform: uppercase;
            opacity: 0.85;
            transition: 0.3s ease;
        }

        .logo-item.firm-text-logo p span {
            display: block;
            /* '& CO.' niche wali line mein dikhega */
            font-size: 13px;
            font-weight: 400;
            letter-spacing: 4px;
            color: #0c2f59e1;
            /* Sober secondary color */
            margin-top: 5px;
        }

        /* Hover effect to match others */
        .logo-item.firm-text-logo:hover p {
            opacity: 1;
            transform: scale(1.05);
        }

        /* Mobile adjust for text logo */
        @media (max-width: 480px) {
            .logo-item.firm-text-logo p {
                font-size: 14px;
            }

            .logo-item.firm-text-logo p span {
                font-size: 11px;
            }
        }

        /* Responsive Adjustments */
        @media (max-width: 768px) {
            .partners-logos {
                gap: 30px;
            }

            .logo-item img {
                max-width: 120px;
            }

            .partners-title {
                font-size: 18px;
            }
        }

        @media (max-width: 480px) {
            .partners-section {
                padding: 40px 0;
            }

            .partners-logos {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                /* 2x2 grid on mobile */
                gap: 20px;
                justify-items: center;
            }

            .logo-item img {
                max-width: 100px;
            }
        }
        #quick-buy-wrapper {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 9999;
    font-family: 'Montserrat', sans-serif;
}

/* The Launcher Button */
#qb-launcher {
    background: #b21f2d;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* The Box */
#qb-container {
    width: 300px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
    border: 1px solid #ddd;
}

.qb-header {
    background: #0c2f59;
    color: white;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.qb-header button { background: none; border: none; color: white; cursor: pointer; font-size: 18px; }

#qb-content { padding: 15px; }

#qb-content input {
    width: 100%;
    padding: 8px;
    margin-bottom: 8px;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
}

.qb-row { display: flex; gap: 5px; }

.qb-plan-name { font-size: 12px; font-weight: 700; color: #b21f2d; margin-bottom: 10px; }

/* QR Blur Logic */
.qb-qr-area { background: #f9f9f9; padding: 10px; margin-bottom: 10px; border-radius: 8px; text-align: center; }
.qb-blurred img { filter: blur(5px); opacity: 0.2; }
.qb-qr-box { position: relative; }
.qb-qr-msg { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 10px; font-weight: 700; color: #0c2f59; width: 100%; }

.qb-link-btn, #qb-pay-btn {
    display: block; width: 100%; text-align: center;
    background: #b21f2d; color: white; padding: 10px;
    border-radius: 8px; text-decoration: none; border: none; cursor: pointer; font-weight: 600;
}

/* NEW YEAR HERO SECTION */
.ny-hero-section {
    position: relative;
    height: 85vh; /* Large Hero Height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    /* Professional Legal Background with Winter Vibe */
    background: url('https://images.unsplash.com/photo-1479142506502-19b3a3b7ff33?q=80&w=2070&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
}

/* Dark Overlay for Readability */
.ny-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 47, 89, 0.95) 0%, rgba(26, 75, 140, 0.7) 100%);
    z-index: 1;
}

.ny-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.ny-frost-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    color: #f9f6ed; /* Your brand accent */
}

.ny-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-gold {
    color: #f9f6ed;
    text-shadow: 0 0 20px rgba(236, 191, 174, 0.3);
}

.ny-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ny-offer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ny-timer {
    font-size: 0.9rem;
    font-style: italic;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 4px;
}

.ny-hero-btn {
    background: #f9f6ed;
    color: #0c2f59;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ny-hero-btn:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* SUBTLE SNOW ANIMATION */
.snowflake {
  color: #fff;
  font-size: 1.2em;
  font-family: Arial;
  text-shadow: 0 0 1px #000;
  position: fixed;
  top: -10%;
  z-index: 1;
  user-select: none;
  cursor: default;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

@keyframes snowflakes-fall {
  0% { top: -10%; }
  100% { top: 100%; }
}
@keyframes snowflakes-shake {
  0% { transform: translateX(0px); }
  50% { transform: translateX(80px); }
  100% { transform: translateX(0px); }
}

.snowflake:nth-of-type(1) { left: 10%; animation-delay: 0s, 0s; }
.snowflake:nth-of-type(2) { left: 30%; animation-delay: 1s, 1s; }
.snowflake:nth-of-type(3) { left: 50%; animation-delay: 4s, 0.5s; }
.snowflake:nth-of-type(4) { left: 70%; animation-delay: 6s, 2s; }
.snowflake:nth-of-type(5) { left: 90%; animation-delay: 2s, 1s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .ny-hero-section { height: auto; padding: 100px 0; }
    .ny-title { font-size: 2.8rem; }
}
        
/* NEW YEAR HERO SECTION */
.ny-hero-section {
    position: relative;
    height: 85vh; /* Large Hero Height */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    /* Professional Legal Background with Winter Vibe */
    /* background: url('https://images.unsplash.com/photo-1479142506502-19b3a3b7ff33?q=80&w=2070&auto=format&fit=crop');  */
    background: #0c2f59;
    background-size: cover;
    background-position: center;
    font-family: 'Montserrat', sans-serif;
}

/* Dark Overlay for Readability */
.ny-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(12, 47, 89, 0.95) 0%, rgba(26, 75, 140, 0.7) 100%);
    z-index: 1;
}

.ny-hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.ny-frost-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    letter-spacing: 2px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    color: #f9f6ed; /* Your brand accent */
}

.ny-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin-bottom: 20px;
}

.highlight-gold {
    color: #f9f6ed;
    text-shadow: 0 0 20px rgba(236, 191, 174, 0.3);
}

.ny-description {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.ny-offer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.ny-timer {
    font-size: 0.9rem;
    font-style: italic;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 15px;
    border-radius: 4px;
}

.ny-hero-btn {
    background: #f9f6ed;
    color: #0c2f59;
    padding: 18px 45px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ny-hero-btn:hover {
    background: #ffffff;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* SUBTLE SNOW ANIMATION */
.snowflake {
  color: #fff;
  font-size: 1.2em;
  font-family: Arial;
  text-shadow: 0 0 1px #000;
  position: fixed;
  top: -10%;
  z-index: 1;
  user-select: none;
  cursor: default;
  animation-name: snowflakes-fall, snowflakes-shake;
  animation-duration: 10s, 3s;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-play-state: running, running;
}

@keyframes snowflakes-fall {
  0% { top: -10%; }
  100% { top: 100%; }
}
@keyframes snowflakes-shake {
  0% { transform: translateX(0px); }
  50% { transform: translateX(80px); }
  100% { transform: translateX(0px); }
}

.snowflake:nth-of-type(1) { left: 10%; animation-delay: 0s, 0s; }
.snowflake:nth-of-type(2) { left: 30%; animation-delay: 1s, 1s; }
.snowflake:nth-of-type(3) { left: 50%; animation-delay: 4s, 0.5s; }
.snowflake:nth-of-type(4) { left: 70%; animation-delay: 6s, 2s; }
.snowflake:nth-of-type(5) { left: 90%; animation-delay: 2s, 1s; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .ny-hero-section { height: auto; padding: 100px 0; }
    .ny-title { font-size: 2.8rem; }
}