body {
    display: flex;
    margin: 0;
    min-height: 100vh;
    flex-direction: column;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}
main {
    flex: 1;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

nav {
    max-width: 4200px;
    margin: 0 auto;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: relative;
}

.logo {
    flex: 1;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-decoration: none;
}

.nav-center {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    justify-content: center;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 5px;
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

nav ul li a:hover {
    color: #DED3D0;
    text-decoration: underline;
}

.auth-links {
    flex: 1;
    display: flex;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    gap: 20px;
}
.auth-links a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 5px;
}
.auth-links a:hover {
    text-decoration: underline;
    background-color: #DED3D0;
    color: #333;
}
.auth-btn {
    padding: 8px 14px;
    background-color: #DED3D0;
    color: #333;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
}


/*Section styles*/
section {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    min-height: 300px; /* or whatever fits your content */
}


/* Home section */
#home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8f8f8;
    height: 100vh; /* Full screen height */
}

.home-content {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding: 50px;
}

.home-content h1 {
    font-size: 7rem;
    margin-bottom: 10px;
}

.home-content p {
    font-size: 2rem;
    margin-bottom: 20px;
}

.home-content button {
    margin: 10px 5px;
    padding: 10px 20px;
    border: none;
    background-color: #DED3D0;
    color: black;
    cursor: pointer;
    border-radius: 5px;
    font-size: 2rem;
}

.home-content button:hover {
    background-color: #dac8c4;
}

.home-image {
    flex: 1;
    max-width: 50%;
    height: 100%; /* Full height */
    overflow: hidden;
}

.home-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire right side */
}

/* About section */
#about {
    padding: 50px;
    background-color: #f8f8f8;
    text-align: center;
}

.about-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.about-text {
    flex: 1;
    max-width: 45%;
    text-align: left;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.about-text p {
    font-size: 1.7rem;
    color: #666;
    line-height: 1.3;
}

.features-grid {
    flex: 1;
    max-width: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature {
    background: #DED3D0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 6px #DED3D0;
    text-align: center;
}

.feature img {
    width: 100%;  
    height: 150px; 
    object-fit: contain; 
    background-color: #f0f0f0; 
    border-radius: 10px;
    padding: 5px; 
    display: block;
    margin: auto;
}


.feature h3 {
    font-size: 1.2rem;
    color: #333;
}

.feature p {
    font-size: 1rem;
    color: #555;
}


/* Support */
#support {
    padding: 50px;
    background-color: #f8f8f8;
    text-align: center;
}

.support-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.support-text {
    flex: 1;
    max-width: 50%;
    text-align: left;
    padding: 20px;
}

.support-text h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
}

.support-text p {
    font-size: 1.8rem;
    color: #666;
    line-height: 1.6;
}

.support-btn {
    padding: 12px 24px;
    text-decoration: none;
    border: none;
    background-color: #DED3D0;
    color: #333;
    cursor: pointer;
    border-radius: 5px;
    font-size: 18px;
    transition: background-color 0.3s ease;
}

.support-btn:hover {
    background-color: #dac8c4;
}

.support-image {
    flex: 1;
    max-width: 50%;
    text-align: center;
}

.support-image img {
    max-width: 100%;
    height: auto;
}


/* Footer */
footer {
    background-color: #fff;
    padding: 20px;
    color: #333;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
}


.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-container p {
    margin: 0;
    font-size: 1rem;
}

.footer-container .social-media {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

.footer-container .social-media li a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-container .social-media li a img:hover {
    transform: scale(1.2);
    filter: brightness(0.8);
}



.social-media {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
}

.social-media li {
    display: inline-block;
}

.social-media li a {
    display: flex;
    align-items: center;
    color: white;
}

.social-media li a img {
    width: 30px; /* Adjust size as needed */
    height: auto; /* Maintain aspect ratio */
    margin-right: 5px;
}


/* Responsive adjustments */
@media (max-width: 900px) {
    #home {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        height: auto;
        min-height: unset;
    }
    .home-content,
    .home-image {
        max-width: 100%;
        width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 20px 0;
        text-align: center;
        justify-content: center;
        align-items: center;
        position: static;
        height: auto;
    }
    .home-content {
        padding: 60px 10px 20px 10px; /* More top padding for mobile */
    }
    .home-content h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        word-break: break-word;
    }
    .home-content p {
        font-size: 1.1rem;
    }
    .home-content button {
        font-size: 1rem;
        padding: 8px 14px;
    }
    .home-image {
        height: 50vw;
        min-height: 200px;
        max-height: 300px;
        position: relative;
        padding: 0;
    }
    .home-image img {
        width: 100vw;
        height: 100%;
        min-height: 200px;
        max-height: 300px;
        object-fit: cover;
        position: static;
        margin: 0 auto;
    }
}


@media (max-width: 700px) {

    .about-text,
    .features-grid {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    nav ul {
        flex-direction: row !important;
        /* Keep links in a row */
        justify-content: center;
        align-items: center;
        gap: 10px;
        /* Reduce gap between links */
        padding: 0;
    }

    nav ul li {
        margin: 0 2px;
        /* Reduce side margins */
    }

    nav ul li a {
        font-size: 0.95em;
        /* Smaller font */
        padding: 6px 8px;
        /* Smaller padding */
    }

    .nav-center {
        width: 100%;
        justify-content: center;
    }

    #home {
        flex-direction: column !important;
        align-items: center;
        text-align: center;
        min-height: unset;
        padding: 20px 0;
    }

    .home-content,
    .home-image {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        margin: 0;
        padding: 0 0 20px 0;
        text-align: center;
        justify-content: center;
        align-items: center;
    }

    .home-content h1 {
        font-size: 2.2rem;
        margin-bottom: 10px;
        word-break: break-word;
    }

    .home-content p {
        font-size: 1.1rem;
    }

    .home-content button {
        font-size: 1rem;
        padding: 8px 14px;
    }

    .home-image img {
        margin-top: 10px;
        max-width: 90vw;
        width: 100%;
        height: auto;
    }
}