@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@100;200;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400;1,700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
}

body {
    background-color: #f5f5f5;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo Container */
.logo {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the logo horizontally */
}

/* Logo Image */
.logo-image {
    height: 40px; /* Adjust based on your logo's dimensions */
    width: auto; /* Maintains aspect ratio */
    max-width: 150px; /* Prevents the logo from becoming too large */
    transition: transform 0.3s ease; /* Smooth hover effect */
}

/* Hover and tap effect */
.logo-image:hover,
.logo-image:active {
    transform: scale(1.05); /* Slight zoom on hover or tap */
}

/* Burger Menu */
.burger-toggle {
    display: none;
}

.burger-icon {
    display: none; /* Hidden by default on larger screens */
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
}

.burger-icon span {
    background-color: #333;
    height: 3px;
    width: 100%;
    transition: all 0.3s ease;
}

.nav-container {
    transition: all 0.3s ease;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}

.nav-links li a:hover {
    color: #1a3c34;
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    gap: 50px;
    min-height: 80vh;
}

.hero-text {
    max-width: 500px;
}

.hero-text h1 {
    font-size: 35px;
    font-weight: 400; /* Changed from 100 to 400, as 100 is not supported */
    color: #333;
    margin-bottom: 10px;
}

.hero-text h1 i {
    font-style: italic; /* Ensure italic uses Playfair Display italic variant */
}

.hero-text h2 {
    font-size: 28px;
    font-weight: 500;
    color: #333;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 17px;
    color: #666;
    margin-bottom: 30px;
}

.download-buttons {
    display: flex;
    gap: 20px;
}

.btn img {
    height: 50px;
    transition: transform 0.3s ease;
}

.btn img:hover {
    transform: scale(1.05);
}

.hero-image img {
    max-width: 300px;
    height: auto;
}

/* Welcome Section */
.welcome {
    padding: 50px;
    text-align: left;
}

.welcome h2 {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
}

.feature-text {
    max-width: 500px;
}

.feature-text h1 {
    font-size: 35px;
    font-weight: 400; /* Changed from 100 to 400, as 100 is not supported */
    color: #333;
    margin-bottom: 10px;
}

.feature-text h1 i {
    font-style: italic; /* Ensure italic uses Playfair Display italic variant */
}

.feature-text h3 {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.feature-text p {
    font-size: 17px;
    color: #333;
}

.feature-text .cta-link {
    display: inline-block;
    margin-top: 10px;
    color: #1a3c34;
    text-decoration: none;
    font-weight: 500;
}

.feature-text .cta-link:hover {
    text-decoration: underline;
}

.feature-image img {
    max-width: 300px;
    height: auto;
}

/* Download Section */
.download {
    /* padding: 30px 0; */
    /* display: flex;
    flex-direction: column;
    align-items: flex-start; */
}

.download-buttons {
    margin-bottom: 20px;
}

#mlb2-26925225.ml-form-embedContainer {
    width: 100%;
    max-width: 400px; /* Match the form's default max-width */
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-top: 1px solid #ddd;
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
}

.footer-links li a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
}

.footer-links li a:hover {
    color: #1a3c34;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 10px;
}

.social-icons img {
    width: 20px;
    height: 20px;
}

footer p {
    font-size: 14px;
    color: #666;
}

/* Legal Pages (Privacy Notice, Terms and Conditions) */
.legal-page {
    padding: 50px 20px;
    background-color: #f5f5f5;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.legal-page h1 {
    font-size: 32px;
    font-weight: 400;
    font-style: normal;
    color: #333;
    margin-bottom: 20px;
}

.last-updated {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.legal-page h2 {
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-page h3 {
    font-size: 20px;
    font-weight: 400;
    font-style: normal;
    color: #333;
    margin-top: 20px;
    margin-bottom: 10px;
}

.legal-page h4 {
    font-size: 18px;
    font-weight: 500;
    font-style: normal;
    color: #333;
    margin-top: 15px;
    margin-bottom: 10px;
}

.legal-page p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.legal-page ul,
.legal-page ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.legal-page ul li,
.legal-page ol li {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.legal-page a {
    color: #1a3c34;
    text-decoration: none;
    font-weight: 500;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.faq {
    padding: 50px;
    max-width: 800px;
    margin: 0 auto;
}

.faq h1 {
    font-size: 35px;
    font-weight: 400;
    font-style: normal;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.faq p {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    text-align: center;
}

.faq h2 {
    font-size: 24px;
    font-weight: 400;
    font-style: normal;
    color: #333;
    margin: 30px 0 20px;
}

.faq-item {
    margin-bottom: 10px;
}

.faq-question {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 15px;
    font-size: 18px;
    font-weight: 500;
    color: #333;
    text-align: left;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 15px;
    font-size: 20px;
}

.faq-question.active::after {
    content: '−';
}

.faq-answer {
    display: none;
    padding: 15px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    font-size: 16px;
    color: #333;
}

.faq-answer p, .faq-answer ul {
    margin-bottom: 10px;
}

.faq-answer ul {
    padding-left: 20px;
}

.faq-answer a {
    color: #1a3c34;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Mailer */
#mlb2-26925225.ml-form-embedContainer {
    display: block !important;
    margin: 0 !important;
    text-align: left !important;
}

#mlb2-26925225.ml-form-embedContainer .ml-form-align-center {
    text-align: left !important;
}

#mlb2-26925225.ml-form-embedContainer .ml-form-embedWrapper {
    display: block !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px;
    }

    .logo {
        flex: 1;
        justify-content: flex-start; /* Left-align the logo on mobile */
        padding-left: 10px; /* Optional: Add padding to avoid touching the edge */
    }

    .logo-image {
        height: 35px;
        max-width: 120px;
    }

    .burger-icon {
        display: flex;
    }

    .nav-container {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        text-align: center;
    }

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

    .burger-toggle:checked ~ .nav-container {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .burger-toggle:checked ~ .burger-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger-toggle:checked ~ .burger-icon span:nth-child(2) {
        opacity: 0;
    }

    .burger-toggle:checked ~ .burger-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

    .hero-text h1 {
        font-size: 35px;
        font-weight: 400;
        font-style: normal;
        color: #333;
        margin-bottom: 10px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .hero-text p {
        font-size: 14px;
    }

    .hero-image img {
        max-width: 250px;
    }

    .feature {
        flex-direction: column;
        text-align: left;
        gap: 20px;
    }

    .feature-text h1 {
        font-size: 35px;
        font-weight: 400;
        font-style: normal;
        color: #333;
        margin-bottom: 10px;
    }

    .feature-text h3 {
        font-size: 20px;
    }

    .feature-text p {
        font-size: 17px;
    }

    .feature-image img {
        max-width: 250px;
    }

    .download-buttons {
        gap: 10px;
    }

    .btn img {
        height: 40px;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }

    .legal-page {
        padding: 20px 10px;
    }

    .container {
        padding: 20px;
    }

    .legal-page h1 {
        font-size: 28px;
    }

    .legal-page h2 {
        font-size: 20px;
    }

    .legal-page h3 {
        font-size: 18px;
    }

    .legal-page h4 {
        font-size: 16px;
    }

    .legal-page p,
    .legal-page ul li,
    .legal-page ol li {
        font-size: 14px;
    }

    .faq {
        padding: 20px;
    }

    .faq h1 {
        font-size: 28px;
    }

    .faq h2 {
        font-size: 20px;
    }

    .faq-question {
        font-size: 16px;
    }

    .faq-answer {
        font-size: 14px;
    }
}