@font-face { font-family: 'DM Sans'; src: url('./fonts/DMSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('./fonts/DMSans-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('./fonts/DMSans-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }

    html,body {
      margin: 0;
      padding: 0;
    }
    .stay-in-home-hero {
      font-family: 'DM Sans', sans-serif;
      background: linear-gradient(135deg, #f4f8ff 0%, #ffffff 100%);
      padding: 2vh 5%;
      height: 100dvh; 
      display: flex;
      flex-direction: column;
      overflow: hidden; 
      box-sizing: border-box;
      color: #0f172a;
    }
    @media (max-width: 620px) {
      .stay-in-home-hero {
        height: auto;
      }
    }

    .stay-in-home-hero * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    /* Navbar */
    .stay-in-home-hero .navbar {
      flex: 0 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
    }

    .stay-in-home-hero .logo {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: clamp(1.2rem, 2.5vh, 1.5rem);
      font-weight: 700;
      color: #1a56db;
    }

    .stay-in-home-hero .nav-links {
      display: flex;
      gap: 40px;
      list-style: none;
    }

    .stay-in-home-hero .nav-links a {
      text-decoration: none;
      color: #475569;
      font-weight: 500;
      font-size: clamp(0.95rem, 1.8vh, 1.1rem);
      transition: color 0.3s ease;
    }

    .stay-in-home-hero .nav-links a:hover {
      color: #1a56db;
    }

    /* Centralized Content Wrapper */
    .stay-in-home-hero .content-wrapper {
      margin: auto; /* Pushes it to the exact center of available space */
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      width: 100%;
      max-width: 1200px;
      gap: clamp(3vh, 5vh, 60px); /* Dynamic spacing between sections */
    }

    /* Hero Text */
    .stay-in-home-hero .hero-text-block {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: clamp(1.5vh, 2.5vh, 24px);
    }

    .stay-in-home-hero .hero-title {
      font-size: clamp(2.2rem, calc(2.5rem + 0.5vw), 4.8rem);
      font-weight: 700;
      line-height: 1.1;
      color: #0f172a;
      opacity: 0;
      animation: slideUpFade 0.8s ease forwards;
      animation-delay: 0.1s;
    }
    @media (min-width: 1000px) {
      .stay-in-home-hero .hero-title {
        width: 60%;
      }
    }

    .stay-in-home-hero .hero-subtitle {
      font-size: clamp(1rem, 2.2vh, 1.35rem);
      line-height: 1.6;
      color: #475569;
      max-width: 900px;
      margin: 0 auto;
      opacity: 0;
      animation: slideUpFade 0.8s ease forwards;
      animation-delay: 0.3s;
    }

    /* Buttons */
    .stay-in-home-hero .hero-buttons {
      display: flex;
      justify-content: center;
      gap: 24px;
      opacity: 0;
      animation: slideUpFade 0.8s ease forwards;
      animation-delay: 0.5s;
    }

    .stay-in-home-hero .btn {
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 12px;
      padding: clamp(14px, 2vh, 20px) clamp(24px, 4vw, 40px);
      border-radius: 50px;
      font-weight: 700;
      font-size: clamp(1rem, 2vh, 1.25rem);
      font-family: inherit;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .stay-in-home-hero .btn svg {
      width: clamp(20px, 2.5vh, 24px);
      height: clamp(20px, 2.5vh, 24px);
    }

    .stay-in-home-hero .btn-primary {
      background-color: #1a56db;
      color: #ffffff;
      border: 2px solid #1a56db;
      box-shadow: 0 10px 20px rgba(26, 86, 219, 0.15);
    }

    .stay-in-home-hero .btn-primary:hover {
      background-color: #1e40af;
      border-color: #1e40af;
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 15px 30px rgba(26, 86, 219, 0.25);
    }

    .stay-in-home-hero .btn-primary:active {
      transform: translateY(1px);
    }

    .stay-in-home-hero .btn-secondary {
      background-color: #ffffff;
      color: #1a56db;
      border: 2px solid #e2e8f0;
    }

    .stay-in-home-hero .btn-secondary:hover {
      border-color: #1a56db;
      color: #1e40af;
      transform: translateY(-4px) scale(1.02);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .stay-in-home-hero .btn-secondary:active {
      transform: translateY(1px);
    }

    /* Features Bar */
    .stay-in-home-hero .features-bar {
      display: flex;
      background: #ffffff;
      border-radius: 100px;
      padding: clamp(1.5vh, 2vh, 20px) clamp(2vw, 4vw, 48px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
      gap: clamp(2vw, 4vw, 60px);
      align-items: center;
      opacity: 0;
      animation: slideUpFade 0.8s ease forwards;
      animation-delay: 0.7s;
    }

    .stay-in-home-hero .feature-item {
      display: flex;
      align-items: center;
      gap: 20px;
      padding: clamp(10px, 1.5vh, 16px);
      border-radius: 20px;
      transition: all 0.3s ease;
      cursor: default;
    }

    .stay-in-home-hero .feature-item:hover {
      transform: translateY(-5px);
      background: #f8fafc;
    }

    .stay-in-home-hero .feature-icon {
      display: flex;
      align-items: center;
      justify-content: center;
      width: clamp(48px, 7vh, 64px);
      height: clamp(48px, 7vh, 64px);
      background: #f0f5ff;
      color: #1a56db;
      border-radius: 50%;
    }

    .stay-in-home-hero .feature-icon svg {
      width: clamp(24px, 3.5vh, 32px);
      height: clamp(24px, 3.5vh, 32px);
    }

    .stay-in-home-hero .feature-text {
      text-align: left;
    }

    .stay-in-home-hero .feature-text h4 {
      font-size: clamp(1rem, 2vh, 1.25rem);
      font-weight: 700;
      color: #0f172a;
      margin-bottom: 4px;
    }

    .stay-in-home-hero .feature-text p {
      font-size: clamp(0.85rem, 1.7vh, 1rem);
      color: #64748b;
    }

    /* Dividers between feature items */
    .stay-in-home-hero .feature-divider {
      width: 2px;
      height: clamp(3vh, 5vh, 50px);
      background: #e2e8f0;
    }

    /* Keyframes */
    @keyframes slideUpFade {
      0% { opacity: 0; transform: translateY(30px); }
      100% { opacity: 1; transform: translateY(0); }
    }

    /* Responsive Adjustments to preserve 100vh strictly */
    @media (max-width: 1024px) {
      .stay-in-home-hero .features-bar {
        border-radius: 40px;
      }
    }

    @media (max-width: 768px) {
      .stay-in-home-hero .nav-links {
        display: none; /* Hide nav links on tablet/mobile to save space */
      }
      .stay-in-home-hero .hero-subtitle br {
        display: none; /* Remove forced line breaks for natural flow */
      }
      .stay-in-home-hero .features-bar {
        width: 100%;
        border-radius: 24px;
        padding: 2vh 2vw;
        gap: 2vw;
        justify-content: space-around;
      }
      .stay-in-home-hero .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 12px;
      }
      .stay-in-home-hero .feature-text {
        text-align: center;
      }
      .stay-in-home-hero .feature-item:hover {
        transform: scale(1.05); /* Switch to scale on mobile */
      }
      .stay-in-home-hero .feature-divider {
        display: none; /* Hide dividers to stack horizontally */
      }
      .stay-in-home-hero .feature-text p {
        display: none; /* Hide descriptions to guarantee vertical fit */
      }
    }

    @media (max-width: 480px) {
      .stay-in-home-hero .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 5vw;
        gap: 12px;
      }
      .stay-in-home-hero .btn {
        width: 100%;
        justify-content: center;
      }
      .stay-in-home-hero .features-bar {
        flex-direction: column;
        gap: 1vh;
        background: transparent;
        box-shadow: none;
        padding: 0;
      }
      .stay-in-home-hero .feature-item {
        flex-direction: row;
        width: 100%;
        background: white;
        box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        padding: 12px 20px;
      }
      .stay-in-home-hero .feature-text {
        text-align: left;
      }
      .stay-in-home-hero .feature-item:hover {
        transform: translateX(5px);
      }
    }
  

