:root {
    --font-family: 'IBM Plex Sans Arabic', sans-serif;
    --color-primary: #A5D6A7;
    /* Main accent color for buttons, hover states, progress fill */
    --color-primary-hover: #e2b007;
    /* Hover state for primary accent color */
    --color-background: #FFFCF3;
    /* Body background color */
    --color-text: #212121;
    /* Main text color */
    --color-subtext: #434751;
    /* Subtext color for waitlist and form labels */
    --color-header-footer-background: #1e1e1e;
    /* Header, features section, and footer background */
    --color-header-footer-text: #ffffff;
    /* Text color for header, features section, and footer */
    --color-input-border: #d1d5db;
    /* Input fields border color */
    --color-focus-border: #f1c40f;
    /* Focus border color for inputs */
    --color-highlight: #e74c3c;
    /* Logo highlight red */
}

body {
    margin: 0;
    font-family: var(--font-family);
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

header {
    display: flex;
    justify-content: space-between;
    height: 80px;
    padding: 0 40px;
    align-items: center;
}

.logo {
    display: flex;
    gap: 8px;
}

.logo div {
    width: 16px;
    height: 16px;
    border-radius: 50%;
}

.logo .red {
    background-color: var(--color-highlight);
}

nav a {
    margin-inline-start: 20px;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 700;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--color-primary);
}

.main-content {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.video-container {
    width: 640px;
    /* height: 360px; */
    margin-bottom: 40px;
    border-radius: 20px;
    overflow: hidden;
    border: 8px solid var(--color-text);
}

.main-heading {
    font-size: 98px;
    margin: 60px 0;
    font-weight: 700;
}

.subheading {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: var(--color-primary);
    color: var(--color-text);
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    font-family: inherit;
}

.btn:hover {
    background-color: var(--color-primary-hover);
}

.features-section {
    background-color: var(--color-header-footer-background);
    padding: 60px 20px;
    color: var(--color-header-footer-text);
}

.features-heading {
    text-align: center;
    font-size: 98px;
    margin-bottom: 40px;
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

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

.feature-card {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

.feature-card p {
    font-size: 16px;
    color: #cccccc;
}

.waitlist {
    text-align: center;
    padding: 120px 20px;
    color: var(--color-text);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.waitlist h2 {
    font-size: 40px;
    margin-bottom: 20px;
    font-weight: 700;
    color: #1f2937;
}

.waitlist p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--color-subtext);
    max-width: 600px;
}

.waitlist form {
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.waitlist label {
    font-size: 16px;
    text-align: start;
    margin-bottom: 5px;
    color: var(--color-subtext);
    font-weight: 500;
}

.waitlist input[type="email"],
.waitlist input[type="text"],
.waitlist input[type="tel"],
.waitlist select {
    padding: 14px;
    font-size: 16px;
    border: 1px solid var(--color-input-border);
    background-color: inherit;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease;
    font-family: inherit;
}

.waitlist input:focus,
.waitlist select:focus {
    outline: none;
    border-color: var(--color-focus-border);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.cta-btn {
    padding: 15px;
    font-size: 18px;
    background-color: var(--color-primary);
    color: var(--color-text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    margin-bottom: 20px;
    /* Add margin for spacing */
}

.cta-btn:hover,
.btn:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
}

.progress-bar {
    width: 100%;
    max-width: 500px;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px auto;
}

.progress-bar-fill {
    height: 100%;
    background-color: var(--color-primary);
    width: 0;
    transition: width 0.3s ease-in-out;
}

.step {
    display: none;
    flex-direction: column;
    gap: 15px;
    animation: fadeIn 0.5s ease-in-out;
}

.step.active {
    display: flex;
}

.contact-detail-container {
    text-align: start;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.footer {
    background-color: var(--color-header-footer-background);
    color: var(--color-header-footer-text);
    padding: 20px;
    text-align: center;
    font-size: 14px;
    padding-top: 40px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 600px) {
    .main-content {
        height: 60vh;
    }

    .main-heading {
        font-size: 32px;
        margin: 20px 0;
        /* Reduce vertical space */
    }

    .subheading {
        font-size: 16px;
        margin-bottom: 20px;
        /* Reduce vertical space */
    }

    .btn {
        padding: 10px 20px;
    }

    .video-container {
        width: auto;
        height: auto;
        margin-bottom: 20px;
        border: 4px solid;
        /* Reduce vertical space */
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px 20px;
    }

    nav a {
        margin-inline-start: 0;
        margin-top: 10px;
    }

    .features-heading {
        font-size: 48px;
    }

    .feature-card {
        padding: 10px;
    }

    .waitlist {
        padding: 20px 10px;
        /* Reduce padding for better fit */
    }

    .waitlist form {
        padding: 20px;
        width: 100%;
        /* Ensure form takes full width */
        box-sizing: border-box;
        /* Include padding in width calculation */
    }

    .navigation-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.checkbox-group div {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    gap: 4px;
    /* Space between each checkbox-label pair */
}

.checkbox-group input[type="checkbox"] {
    cursor: pointer;
    margin-right: 5px;
    /* Space between checkbox and label */
    vertical-align: middle;
    /* Align checkbox with label text */
}

.checkbox-group label {
    cursor: pointer;
}

.toggle-link {
    font-size: 14px;
    color: #3D5B3E;
    text-decoration: underline;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin-left: 10px;
    font-family: inherit;
    width: max-content;
}

.toggle-link:hover {
    color: var(--color-primary-hover);
}

.m-20 {
    border-radius: 18px;
    border: 1px solid black;
    background-color: transparent;
    margin-bottom: 20px
}