* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: white;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.logo-image {
    width: 10em;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    color: #4a5fc1;
}

.join-btn {
    background: #ffa500;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.join-btn:hover {
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    margin-top: 80px;
    padding: 60px 0;
}

/* Hero Section */

/* Overall layout */
.hero {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
    margin-bottom: 80px;
  }
  
  .hero-text {
    flex: 1 1 35%;
  }
  
  .hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1.125rem;
    color: #555;
    line-height: 1.8;
  }
  
  /* Video wrapper */
  .hero-video-wrapper {
    flex: 1 1 60%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    aspect-ratio: 16 / 9;        /* keeps thumbnail & video same proportions */
    background: #d6d6d6;
  }
  
  /* Thumbnail */
  .video-thumbnail {
    position: absolute;
    inset: 0;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
    z-index: 3;                    /* sits above video initially */
    opacity: 1;
    transition: opacity 0.6s ease; /* smooth fade-out */
  }
  
  .video-thumbnail.hide {
    opacity: 0;
    pointer-events: none;          /* allow clicks to reach video */
  }

  .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
  }
  .video-thumbnail:hover .thumbnail-image {
    transform: scale(1.03);
  }
  
  /* Overlay controls on thumbnail */
  .overlay-controls {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    gap: 0.4rem;
  }
  .control-btn {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.45rem 0.65rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.25s;
  }
  .control-btn:hover {
    background: rgba(0, 0, 0, 0.75);
  }
  
  /* Actual video (same size as thumbnail) */
  .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
  }
  
  /* Controls during playback */
  .video-controls {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    gap: 0.4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  .hero-video-wrapper:hover .video-controls {
    opacity: 1;
  }
  
  /* Responsive height fallback for old browsers */
  @media (max-width: 1024px) {
    .hero-video-wrapper { aspect-ratio: 16 / 9; }
  }
  @media (max-width: 768px) {
    .hero { flex-direction: column; }
    .hero-video-wrapper { width: 100%; aspect-ratio: 16 / 9; }
  }
  
/* Waitlist Section */
.waitlist {
    background: white;
    border: 3px solid #4a5fc1;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 80px;
}

.waitlist h2 {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.waitlist p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.125rem;
}

.join-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: center;
}

.form-group {
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-group label {
    font-weight: 500;
    color: #333;
    white-space: nowrap;
    min-width: 100px;
    font-size: 1.125rem;
}

.form-input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.04rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-input:focus {
    border-color: #4a5fc1;
}

.form-input::placeholder {
    color: #ccc;
}

.feedback-group {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    font-size: 1.125rem;
    font-weight: 500;
}

.feedback-group label {
    min-width: 100px;
    margin-top: 12px;
}

.feedback-textarea {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1.1rem;
    outline: none;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: border-color 0.3s;
    font-weight: 400;
}

.feedback-textarea:focus {
    border-color: #4a5fc1;
}

.feedback-textarea::placeholder {
    color: #ccc;
}

.features-section {
    margin-top: 30px;
}

.features-title {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.features-checkboxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.custom-checkbox {
    position: relative;
    width: 20px;
    height: 20px;
}

.checkbox-label {
    font-size: 1.125rem;
}

.custom-checkbox input[type="checkbox"] {
    opacity: 0;
    position: absolute;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #ddd;
    border-radius: 3px;
    transition: all 0.3s;
}

.custom-checkbox input:checked + .checkmark {
    background-color: #4a5fc1;
    border-color: #4a5fc1;
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox input:checked + .checkmark::after {
    display: block;
}

.checkbox-label {
    font-size: 16px;
    color: #333;
    cursor: pointer;
}

.submit-btn {
    background: #ffa500;
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
    justify-self: center;
    margin-top: 20px;
}

.submit-btn:hover {
    transform: translateY(-2px);
}

.form-message {
    margin-top: 15px;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Features Section */
.features {
    background: #4a5fc1;
    color: white;
    padding: 60px 0;
    border-radius: 20px;
    margin-bottom: 80px;
}

.features h2 {
    text-align: center;
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 25px;
    transition: transform 0.3s, background 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.feature-icon-image{
    width: 3em;
}

.feature-item h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.feature-item p {
    text-align: center;
    font-size: 1.125rem;
    line-height: 1.6;
    opacity: 0.9;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    margin-bottom: 80px;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.faq-question {
    background: #e9ecef;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
    transition: background 0.3s;
    font-size: 1.125rem;
}

.faq-question:hover {
    background: #dee2e6;
}

.faq-question::after {
    content: "▼";
    transition: transform 0.3s;
}

.faq-answer {
    padding: 20px;
    background: white;
    color: #666;
    line-height: 1.8;
    display: none;
    font-size: 1.125rem;
    font-weight: 400;
}

.faq-answer.active {
    display: block;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

/* Footer */
.footer {
    background: #4a5fc1;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-bottom: 40px;
}


.footer-logo-image {
    width: 17em;
}


.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
    font-size: 1.125rem;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-newsletter {
    text-align: right;
}

.footer-newsletter h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-newsletter p {
    margin-bottom: 20px;
    font-size: 1.125rem;
}


.footer-form {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.footer-input {
    padding: 12px;
    border: none;
    border-radius: 5px;
    outline: none;
    width: 250px;
    font-size: 1.04rem;
}

.footer-btn {
    background: #ffa500;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.125rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.social-links a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}   

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        gap: 30px;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    body {
        background: white;
    }
    
    .header {
        padding: 15px 0;
        background: white;
        box-shadow: none;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .nav {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .logo {
        font-size: 20px;
        gap: 8px;
    }
    
    .logo-image {
        width: 6.5em;
        
    }
    
    
    .hamburger {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .join-btn {
        display: none;
    }
    
    .main-content {
        margin-top: 70px;
        padding: 20px 0;
        background: white;
    }
    
     /* Hero Section Mobile */
     .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0;
        margin-bottom: 30px;
    }
    
    .hero-text {
        order: 2;
        text-align: center;
    }
    
    .hero-image {
        order: 1;
    }
    
    .hero-text h1 {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
        font-weight: 700;
    }
    
    .hero-text p {
        font-size: 16px;
        line-height: 1.6;
        text-align: center;
        color: #666;
    }
    
    .explore-btn {
        display: none;
    }
    
    .hero-video-wrapper {
        max-width: 100%;
        border-radius: 20px;
    }
    
    .hero-video,
    .video-placeholder {
        height: 180px;
        border-radius: 20px;
    }
    
    /* Waitlist Form Mobile */
    .waitlist {
        padding: 20px;
        margin: 0 0 30px 0;
        border-radius: 15px;
        border: 3px solid #4a5fc1;
        background: white;
    }
    
    .waitlist h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 12px;
        font-weight: 700;
    }
    
    .waitlist p {
        font-size: 16px;
        text-align: center;
        margin-bottom: 20px;
        line-height: 1.5;
        color: #666;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-group {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }
    
    .form-group label {
        min-width: auto;
        font-size: 15px;
        font-weight: 600;
        text-align: left;
        color: #333;
    }
    
    .form-input {
        padding: 10px 12px;
        font-size: 14px;
        background: #fafafa;
        border: 1px solid #e0e0e0;
        border-radius: 5px;
    }
    
    .form-input::placeholder {
        color: #ccc;
        font-size: 14px;
    }
    
    .feedback-group {
        flex-direction: column;
        gap: 5px;
    }
    
    .feedback-group label {
        min-width: auto;
        margin-top: 0;
        font-weight: 600;
        font-size: 15px;
    }
    
    .feedback-textarea {
        width: 100%;
        min-height: 70px;
        background: #fafafa;
        border: 1px solid #e0e0e0;
        font-size: 14px;
        border-radius: 5px;
        padding: 10px 12px;
    }
    
    .feedback-textarea::placeholder {
        color: #ccc;
        font-size: 14px;
    }
    
    .features-section {
        margin-top: 20px;
    }
    
    .features-title {
        font-size: 17px;
        font-weight:bolder;
        margin-bottom: 12px;
        text-align: center;
        font-weight: 600;
    }
    
    .features-checkboxes {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .checkbox-group {
        background: white;
        padding: 10px 12px;
        border-radius: 5px;
        border: 2px solid #e0e0e0;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
    }
    
    .checkbox-label {
        font-size: 15px;
    }
    
    .submit-btn {
        width: 50%;
        padding: 12px;
        font-size: 16px;
        margin-top: 15px;
        border-radius: 20px;
    }
    
    /* Features Section Mobile */
    .features {
        padding: 30px 20px;
        margin: 0 0 30px 0;
        border-radius: 15px;
    }
    
    .features h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-item {
        padding: 15px;
        border-radius: 10px;
    }
    
    .feature-header {
        gap: 10px;
        margin-bottom: 10px;
    }
    
    
    .feature-icon-image{
        width: 40px;
    }
    
    .feature-item h3 {
        font-size: 18px;
        font-weight: 500;
    }
    .feature-item p {
        font-size: 15px;
        line-height: 1.5;
        text-align: justify-self;
    }
    
    /* FAQ Section Mobile */
    .faq-section {
        margin: 0 0 30px 0;
    }
    
    .faq-section h2 {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .faq-item {
        margin-bottom: 10px;
    }
    
    .faq-question {
        padding: 12px 15px;
        font-size: 15px;
        text-align: left;
    }
    
    .faq-answer {
        padding: 12px 15px;
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Footer Mobile */
    .footer {
        padding: 30px 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    
    .footer-logo-image {
        width: 30px;
        margin-left: 18px;
    }
    
    .footer-links {
        text-align: right;
        margin-right: 20px;
        font-size: 16px;
    }
    
    .footer-links li {
        margin-bottom: 8px;
    }
    
    .footer-newsletter {
        display:none;
        text-align: center;
    }
    
    .footer-newsletter h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .footer-form {
        display:flex;
        justify-content: center;
        gap: 8px;
    }
    
    .footer-input {
        width: 50%;
        max-width: 100%;
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .footer-btn {
        width: 25%;
        font-size: 16px;
        padding: 10px 12px;
    }
    
    .social-links {
        gap: 15px;
        margin: 15px 0;
    }
    
    .social-links a {
        font-size: 16px;
    }
    
    .footer-bottom {
        font-size: 14px;
        padding-top: 20px;
    }
}

@media (max-width: 480px) {
    .main-content {
        margin-top: 160px;
        padding: 20px 0;
    }
    
    .hero-text h1 {
        font-size: 28px;
        line-height: 1.2;
    }
    
    .hero-text p {
        font-size: 16px;
        text-align: center;
    }
    
    .explore-btn {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-video,
    .video-placeholder {
        height: 200px;
    }
    
    .waitlist {
        margin: 0 10px 60px;
        padding: 20px 15px;
    }
    
    .waitlist h2 {
        font-size: 24px;
    }
    
    .waitlist p {
        font-size: 16px;
    }
    
    .form-input,
    .feedback-textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 16px;
        width: 45%;
    }
    
    .features {
        padding: 40px 20px;
        margin: 0 10px 60px;
    }
    
    .features h2 {
        font-size: 24px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .faq-section {
        margin: 0 10px 60px;
    }
    
    .faq-section h2 {
        font-size: 24px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo {
        width: 1em
    }
    .footer-logo-image {
        width: 10em;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* adjust this to your header’s height */
}

/* Modal Popup Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 700px;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    background: linear-gradient(135deg, #4a5fc1 0%, #667eea 100%);
    color: white;
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.modal-close {
    color: white;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    background: none;
    border: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s;
}

.modal-close:hover,
.modal-close:focus {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
    max-height: calc(80vh - 100px);
    overflow-y: auto;
    line-height: 1.8;
    color: #333;
}

.modal-body h3 {
    color: #4a5fc1;
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 18px;
}

.modal-body p {
    margin-bottom: 15px;
    font-size: 15px;
}

.modal-body ul {
    margin-left: 20px;
    margin-bottom: 15px;
}

.modal-body li {
    margin-bottom: 8px;
    font-size: 15px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: calc(70px + 5%) auto 5%; /* 👈 adds safe space below header */
        max-height: calc(90vh - 70px);   /* adjust based on header height */
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-body {
        padding: 20px;
        font-size: 14px;
    }
    
    .modal-body h3 {
        font-size: 16px;
    }
    
    .modal-body p,
    .modal-body li {
        font-size: 14px;
    }
}

        /* === Force header/hero spacing on mobile === */
@media (max-width: 768px) {
/* ensure header has a predictable height */
.header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    height: 64px !important;           /* choose a height that matches your header */
    padding: 12px 0 !important;
    z-index: 10000 !important;
}

/* remove extra top margins/paddings from main containers */
.main-content {
    margin-top: 0 !important;
    padding-top: calc(64px + 8px) !important; /* header height + small gap */
}

.hero, .hero-image, .hero-text, .hero-video-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* if any inner blocks add spacing, neutralize them */
.hero > * {
    margin-top: 0 !important;
}

/* make sure video doesn't push layout down unexpectedly */
.hero-video-wrapper { display: block !important; }
}

/* Popup overlay background */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
}

.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    backdrop-filter: blur(4px);
    }

.popup-box {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 350px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: popupFade .3s ease;
    }

.popup-box h3 {
    color: #28a745;
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
    }

@keyframes popupFade {
    from {opacity:0; transform:scale(0.95);}
    to {opacity:1; transform:scale(1);}
    }
    
    
    
    
/* ✅ Fix for mobile screens */
@media (max-width: 768px) {
  .hero-video-wrapper {
    max-width: 100%;
    border-radius: 12px;
  }

  .hero-video {
    width: 100%;
    height: auto;
    object-fit: contain;   /* ← prevent cropping */
    border-radius: 12px;
    background-color: #000; /* optional, for a cleaner look around edges */
  }

  /* Optional: adjust video controls for smaller screens */
  .video-controls {
    bottom: 6px;
    right: 6px;
    gap: 0.4rem;
  }

  .video-controls button {
    padding: 0.3rem 0.4rem;
    font-size: 0.85rem;
  }
  .video-thumbnail {
    border-radius: 12px;
    
  }
}
