/* General Body Styles */
body {
    background: linear-gradient(90deg, #a7cfff 30%, #afffa4 );
    font-family: Arial, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Header Styles */
header {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #261d57;
    color: #fff;
    padding: 0.2%;
    text-align: center;
    z-index: 1000;
}

/* Navigation Menu Styles */
nav a {
    position: relative;
    text-decoration: none;
    font-size: 1.2rem;
    color: #fff;
    margin: 0 1rem;
}

nav a::after {
    position: absolute;
    content: "";
    width: 100%;
    margin-top: 10px;
    height: 3px;
    top: 100%;
    left: 0;
    background: #fff;
    transition: transform 0.5s;
    transform: scaleX(0);
    transform-origin: center;
}

nav a:hover::after {
    transform: scaleX(1.2);
}

li {
    list-style: none;
}

ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo Styling */
#as_c_logo {
    height: 30px;
}

/* Footer Styles */
footer {
    background-color: #261d57;
    color: #fff;
    text-align: center;
    padding: 1rem;
    position: relative;
    bottom: 0;
    width: 100vw;
}

#main {
    margin-top: 7%;   
}






/* Side Menu Styles */
.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100%;
    background: #261d57;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease-in-out;
    z-index: 1001;
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.3);
}

.side-menu.open {
    right: 0;
}

.side-menu ul {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}

.side-menu li {
    margin: 1.5rem 0;
}

.side-menu a {
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.side-menu a:hover {
    color: #f1c40f;
}

/* Hamburger and Close Button */
.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1002;
}

.close-btn {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    margin-bottom: 2rem;
}

/* Media Queries for Mobile View */
@media (max-width: 768px) {
    nav ul {
        display: none;
    }

    .hamburger {
        display: block;
    }

    #as_c_logo {
        height: 60px;
    }

    footer {
        position: relative;
        margin-top: 90%;
        width: 100vw;
        
    }

    /* Responsive grid layout for mobile view */
    .home-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bordered-item {
        max-width: 100%;
    }

    /* Adjust Typing Animation on Mobile */
    .typing-text {
        font-size: 1.2rem;
    }
}










/* Container to align the left-side and contact-form */
.container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items:center;
    margin-top: 6.2%;
    margin-left: 15%;
    margin-bottom: 2%;
    height: 69vh;
    width: 70%;
}

.left-side, .contact-form {
    flex: 1; /* Each takes equal width */
    
    padding: 2rem;
    
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
   height: 90%;
}

/* Left Side Styles */
.left-side {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
    background-color: #cdffc7;
     /* Adds space between the left side and the contact form */
}
.contact-form{
    background-color:  #bcdaff;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.left-side span {
    font-size: 2rem;
    font-weight: bold;
    color: #261d57;
    margin-bottom: 1rem;
}

.left-side p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Contact Form Styles */
.contact-form h2 {
   
    color: #4129cc;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 10px;
    width: 100%;
}


.contact-form label {
    
    color: #333;
    margin-bottom:5px;
    
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding:10px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
   
    box-sizing: border-box;
}

.contact-form textarea {
    resize: vertical;
    height: 50px;
    max-height: 70px;
}

.contact-form button {
    background-color: #261d57;
    color: #fff;
    font-size: 1.1rem;
    padding: 0.8rem 1.2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #6c9ac5;
}

.contact-form .form-group a {
    font-size: 0.9rem;
    color: #6c9ac5;
    text-decoration: none;
}

.contact-form .form-group a:hover {
    text-decoration: underline;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .container {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items:center;
        margin-top: 6.2%;
        margin-left: 15%;
        margin-bottom: 2%;
        
        width: 70%;
        top: 10%;
        flex-direction: column; /* Stacks the items vertically on small screens */
        align-items: center;
    }

    .left-side, .contact-form {
        width: 100%; /* Full width for both elements */
        margin-top: 10%;
        border-radius: 10px;
        margin-bottom: 2rem;
    }

    .contact-form button {
        width: 100%;
    }
}



