/* Include the Neue Haas Grotesk Display Regular and Bold fonts */
@font-face {
    font-family: "Neue Haas Grotesk Display";
    src:
        url("fonts/NeueHaasGroteskDisplay-Reg.woff2") format("woff2"),
        url("fonts/NeueHaasGroteskDisplay-Reg.woff") format("woff"),
        url("fonts/NeueHaasGroteskDisplay-Reg.otf") format("truetype");
    font-weight: 400; /* Regular */
    font-style: normal;
}

@font-face {
    font-family: "Neue Haas Grotesk Display";
    src:
        url("fonts/NeueHaasGroteskDisplay-Bold.woff2") format("woff2"),
        url("fonts/NeueHaasGroteskDisplay-Bold.woff") format("woff"),
        url("fonts/NeueHaasGroteskDisplay-Bold.otf") format("truetype");
    font-weight: 700; /* Bold */
    font-style: normal;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: "Neue Haas Grotesk Display", sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

.hero {
    background-color: #dddddd;
    color: #333;
    text-align: center;
    padding: 80px 20px;
}

.hero .logo {
    max-width: 150px;
}

.hero h1 {
    font-size: 4rem; /* Reduced size */
    margin: -40px 0; /* Closer spacing between "Ball Now" and tagline */
    letter-spacing: -2px;
    font-weight: 700; /* Bold */
}

.hero .tagline {
    font-size: 1.2rem;
    margin: 20px 0 80px 0; /* Closer spacing between tagline and CTA button */
    font-weight: 400; /* Regular */
}

.cta-button {
    background-color: #f36f21;
    color: #fff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    margin-top: 20px;
    cursor: pointer;
    font-weight: 400; /* Regular for button text */
}

.features {
    padding: 10px 0;
    background-color: #fff;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 3rem;
    font-weight: 700; /* Bold for section headings */
}

.feature-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.feature-item {
    text-align: center;
    width: 28%;
    margin-bottom: 40px;
}

.feature-item i {
    color: #f36f21;
    margin-bottom: 15px;
}

.feature-item h3 {
    font-weight: 700; /* Bold for feature titles */
}

.feature-item p {
    font-weight: 400; /* Regular for feature descriptions */
}

footer {
    background-color: #dddddd;
    color: #333;
    text-align: center;
    padding: 50px 20px;
}

footer p {
    margin: 10px 0;
    font-weight: 400; /* Regular for footer text */
}

footer a {
    color: #333;
    text-decoration: none;
    font-weight: 700; /* Bold for footer links */
}

footer a i {
    margin-right: 5px;
}

#emailFormPopup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 10px;
    z-index: 1000;
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
    display: none; /* Initially hidden */
    width: 320px; /* Adjusted modal width */
    text-align: center; /* Center the content */
}

#overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
}

#emailFormPopup h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    text-align: center;
    font-weight: 400; /* Regular for modal heading */
}

#emailForm input[type="email"] {
    width: 93%; /* Slightly reduced width for better fit */
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1rem; /* Consistent font size */
    font-family: "Neue Haas Grotesk Display", sans-serif; /* Match font */
    font-weight: 400; /* Regular */
    color: #333;
}

#emailForm input::placeholder {
    font-family: "Neue Haas Grotesk Display", sans-serif; /* Match the site's font */
    font-weight: 400; /* Regular weight */
    color: #333; /* Match text color */
    opacity: 1; /* Ensure full opacity */
}

#emailForm label {
    font-weight: 400; /* Regular for checkbox label */
    margin-bottom: 20px;
    display: block;
}

#emailForm button[type="submit"] {
    background-color: #f36f21;
    color: #fff;
    padding: 10px 0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem; /* Consistent font size */
    border: none;
    cursor: pointer;
    display: block;
    margin: 0 auto; /* Center the button */
    width: 100%; /* Full width button */
}

.email-icon {
    font-size: 2rem; /* Size of the email icon */
    color: #f36f21; /* Icon color */
    margin-bottom: 10px; /* Spacing below the icon */
}

@media (min-width: 768px) {
    .hero h1 {
        font-size: 5rem; /* Adjusted for larger screens */
    }

    .cta-button {
        font-size: 1.2rem;
        padding: 20px 40px;
    }

    .features h2 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    .hero .logo {
        max-width: 200px;
    }

    .hero h1 {
        font-size: 7rem; /* Adjusted for even larger screens */
    }

    .features h2 {
        font-size: 4rem;
    }

    .feature-item {
        width: 28%;
    }
}
