/* General Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Comic Neue', cursive, sans-serif;
    font-weight: 700;
}

header {
    color: white;
    padding: 30px 0;
    text-align: center;
    background-color: #fdd816;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

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

.nav-links li {
    display: inline;
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    
    background-color: #a42724; /* Slightly darker coral on hover */
    color: white;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px solid #090003; 
    border-radius: 6px; 
    box-shadow: -4px 4px 0px #000;
    cursor: pointer;
    text-align: center;
    transition: transform 0.2s ease;
}

/* Hover effect for a bit of interactivity */
.nav-links a:hover {
    transform: scale(1.05);
    background-color: #ebe1d9;
    color: #333;
}


/* end of effects */


main {
    background-color: #87CEEB; /* Light blue background */
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;;
}

h1, h2 {
    color: #FF6347; /* Retro orange */
    /* text-shadow: 2px 2px #fffeb3;  */
    font-size: 34px;
}


#about, #benefits, #platform, #services {
    background-color: #FFD700; /* Retro yellow */
    border: 4px solid #FF6347; /* Orange border */
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    width: 90%;
    max-width: 600px;
    box-shadow: 5px 5px 0px #FF6347;
    text-align: center;
}

#contact {
    background-color: #fdd816;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 30px;
    border-bottom: 6px solid #FF6347;
    gap: 20px; /* Space between columns */
}

.cs1 {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
}

.center-item {
    display: flex; 
    justify-content: center;
}

#subjects {
    background: linear-gradient(135deg,#995525, #803b09);
    color: #ffffff;
    font-weight: bold;
    border: 4px solid #141414; 
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 5px 5px 0px #141413;
    text-align: center;
}


label {
    font-size: 24px;
    color: #333;
}

input, textarea {
    padding: 8px;
    font-size: 20px;
    border: 2px solid #FF6347;
    border-radius: 5px;
    color: #333;
    background-color: #FFF8DC; /* Light cream */
    transition: all 0.2s;
}

input:focus, textarea:focus {
    border-color: #FF4500;
    outline: none;
}

button {
    padding: 10px;
    font-size: 24px;
    color: white;
    background-color: #FF6347;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #FF4500;
}

/* About, Benefits, Platform, and Services Sections */
section h2 {
    font-size: 34px;
    margin-bottom: 10px;
}

section p {
    font-size: 20px;
    line-height: 1.6;
    margin-bottom: 10px;
}

ul {
    list-style: none;
    padding: 0;
    margin: 10px 0;
}

li {
    font-size: 20px;
    margin: 5px 0;
    padding: 5px 0;
}

strong {
    color: #FF4500; /* Darker retro orange */
}

/* Footer */
footer {
    background-color: #fffeb3;
    padding: 10px;
    text-align: center;
    font-size: 22px;
    width: 100%;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 -5px 0px #FF6347;
}

footer p {
    margin: 5px 0;
}

/* contact form */

.contact-form button::before {
    content: "✉️ ";
    font-size: 22px;
    margin-right: 5px;
}

.contact-form {
    background-color: #fffeb3;
    border: 4px solid #FF6347;
    padding: 20px;
    width: 350px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 5px 5px 0px #FF6347;
}

.contact-form h1 {
    color: #FF6347;
    font-size: 34px;
    margin-bottom: 10px;
}

label {
    display: block;
    font-size: 26px;
    color: #333;
    margin: 10px 0 5px;
}

input, textarea {
    width: 100%;
    padding: 8px;
    border: 2px solid #FF6347;
    border-radius: 5px;
    margin-bottom: 10px;
    font-size: 20px;
    color: #333;
    background-color: #FFF8DC;
}

button {
    padding: 10px 15px;
    font-size: 20px;
    background-color: #FF6347;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #FF4500;
}

#formMessage {
    margin-top: 10px;
    font-size: 20px;
    color: green;
}


/* mobile */

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
}

/* Hide the navigation menu by default on mobile */
#nav-menu {
    display: flex;
    gap: 20px;
    position: absolute;
    right: 150px;
    top: 7px;
}

@media (max-width: 768px) {

    header {
        position : fixed;
        padding: 0;
        left: 20px;
        top: 40px;
        background-color: inherit;
    }

    footer {
        font-size: 17px;
    }

    #contact {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

      /* Ensure the cs1 container takes full width and stacks its items */
      .cs1 {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 20px;  /* Add spacing between the logo and other items */
    }

    /* Ensure the form items (inputs, textareas) are responsive */
    input, textarea {
        width: 100%; /* Make input fields take the full width */
    }

    /* Adjust the logo size for smaller screens */
    .logo {
        width: 200px;
        height: 200px;
    }

    /* Show the hamburger menu on small screens */
    .hamburger {
        display: flex;
    }
    
    /* Hide the menu initially */
    #nav-menu {
        display: none;
        flex-direction: column;
        background-color: rgba(252, 250, 250, 0.8);
        position: absolute;
        top: 32px;
        left: 20px;
        width: 150px;
        border-radius: 8px;
        padding: 10px;
    }

    /* Show the menu when it's active */
    #nav-menu.active {
        display: flex;
    }

    /* Adjust link styles */
    ul li a {
        font-size: 18px;
        padding: 10px;
        color: white;
    }

    .nav-links li {
        margin-left: 0;
    }

    #mission-services .section p {
        font-family: 'Open Sans', sans-serif;
        font-size: 2vw;
        line-height: 1.6;
    }
}
