/* Reset and basic styling */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Bitter", serif;
}

/* Header styling */
.header {
    display: flex;
    align-items: center;
    padding: 10px;
    justify-content: space-between;
    background: #fff;
    color: #fff;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    color: #ffffff;
    width: 100px;
    height: 100px;
    margin-left: 70px;
}

.nav a {
    margin: 0 10px;
    text-decoration: none;
    color: #130a0a;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.nav a:hover {
    background-color: #457697;
    border-radius: 5px;
    color: #fff;
}

.nav a.active {
    background-color: #457697;
    color: #ffffff;
    border-radius: 5px;
}

/* Hamburger menu styling */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    margin-right: 20px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
}

/* Welcome section styling */
.welcome-section {
    margin-top: 40px;
    align-items: center;
    display: flex;
    padding: 20px;
}

.welcome-section h1 {
    color: #457697;
    text-align: center;
    font-size: 40px;
    font-family: "Bitter", serif;
}

.welcome-text {
    flex: 1;
}

.welcome-image {
    flex: 1;
    background: #ddd;
    height: 400px;
    border-radius: 20px;
    margin-bottom: 20px;
}

/* About section styling */
.about-section {
    padding: 20px;
    background: #f9f9f9;
    text-align: center;
    width: 50%;
    margin: 0 auto;
}

.about-section h1 {
    margin-bottom: 40px;
    color: #457697;
}

/* Features section styling */
.features-section {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    border-radius: 5px;
}

.feature-large {
    grid-column: span 2;
    background: #ddd;
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 20px;
    width: 100%;
}

.feature-img {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
    border: none;
    margin: 0 auto;
    text-align: center;
}

.feature-small img {
    width: 80%;
    padding-top: 10%;
    padding-bottom: 10%;
}

.feature-small p {
    text-align: justify;
    width: 80%;
    margin: 0 auto;
}

/* Contact styling */
.contact-section {
    display: flex;
    width: 80%;
    padding-left: 30px;
    align-items: center;
    margin: 0 auto;
}

.contact-info h1 {
    color: #457697;
}

.welcome-image {
    margin-top: 40px; 
    margin-left: 20px; 
}

.contact-info button {
    border-radius: 20px;
    background-color: #457697;
    color: #fff;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
}

/* Footer styling */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background: #333;
    color: #fff;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer {
    padding: 20px;
    background-color: #457697;
    color: white;
    text-align: center;
}

.footer a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    font-size: 150%;
}

.social-links a {
    margin-left: 10px;
}

.social-links i {
    font-size: 30px;
    margin-right: 10px;
}

/* Responsive styling for mobile */
@media (max-width: 768px) {

    .header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        margin: 0;
        width: 80px;
        height: auto;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
    }

    .nav {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        width: 95%;
        z-index: 1000;
        padding: 20px;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        text-align: center;
        color: #130a0a;
    }

    .close-btn {
        display: flex;
        justify-content: flex-end;
        padding: 10px;
        cursor: pointer;
        font-size: 40px;
        color: #333;.header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        position: relative; 
    }

.logo {
    margin: 0;
    width: 80px;
    height: auto;
}

.hamburger {
    display: flex;
    cursor: pointer;
}

.nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Adjust this value if necessary */
    left: 0; /* Aligns the nav to the left of the viewport */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 100vw; /* Use full viewport width */
    z-index: 1000;
}

.nav.active {
    display: flex;
}

.nav a {
    text-align: center;
    color: #130a0a;
    padding: 10px; /* Add padding for better spacing */
}

.close-btn {
    display: flex;
    justify-content: flex-end;
    padding: 10px;
    cursor: pointer;
    font-size: 40px;
    color: #333;
    background-color: #fff;
    border: none;
    outline: none;
}

        background-color: #fff;
        border: none;
        outline: none;
    }

    /* Welcome section */
    .welcome-section {
        flex-direction: column;
        align-items: center;
    }

    .welcome-image {
        width: 90%;
        height: auto;
        margin: 20px 0;
    }

    /* About section */
    .about-section {
        width: 90%;
    }

    /* Features section */
    .features-section {
        grid-template-columns: 1fr;
    }

    .feature-large {
        grid-column: span 1;
        height: auto;
        width: 100%;
    }

    .feature-img {
        grid-template-columns: 1fr;
    }

    /* Contact section */
    .contact-section {
        flex-direction: column;
        padding: 0;
    }

    .contact-info button {
        width: 100%;
        margin-top: 20px;
    }

    /* Footer */
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer a {
        font-size: 1em;
    }

    .social-links {
        margin-top: 10px;
    }
}
.social-links p{
    font-size: 10px;
}

@media (min-width: 769px) {
    .close-btn {
        display: none; 
    }
}