/* Reset and Basic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Arial, sans-serif;
    /*background: #f0f2f5;*/
    background: gray;
    color: #333;
    scroll-behavior: smooth;
    height:100vh;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 9%;
    background: rgba(255, 255, 255, 0.5);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-around;

    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.hamburger{
    display: none;
    width:20px;
    height:20px;
    flex-direction: column;
    cursor: pointer;
}
.hamburger .list {
    width: 25px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.5);
    margin: 4px 0;
}
.close{
    display: none;
    margin-right: 20px;
    flex-direction: column;
    width: 20px;
    height: 20px;
    cursor: pointer;
    z-index: 1001;
}
.close.active {
    display: block;
}
.hamburger.hide {
    display: none;
}
.content.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    font-size: 1.5rem;
    gap: 1.5rem;
}
.navbar .name h1{
    font-size: 36px;
    font-family: "Calibri Light" , sans-serif;
    cursor: pointer;
}
.navbar .content a {
    margin: 0 15px;
    text-decoration: none;

    color: #333;
    font-weight: 600;
}
.navbar nav a:hover {
    color: #0073e6;
}
.social-icons{
    width: 100px;
    display: flex;
    justify-content: space-around;

}
.social-link {
    color: #333;
    margin-left: 15px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: color 0.3s;
}
.social-link:hover {
    color: #0073e6;
}

/* Hero Section */
.hero {
    margin-bottom: 5%;
    position: relative;
    top: 70px;
    width: 100%;
    border-bottom: gray 7px solid;
    background: url('images/Mainak2.jpg') no-repeat center center/cover ;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.about{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
    padding: 10px;
}
.about:hover{

    backdrop-filter : blur(5px);
    cursor: pointer;
}
.tagline{
    font-size: 1.2rem;
    margin: 10px 0;
    padding: 10px;
    border: 5px solid white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.tagline:hover{
    transform: scale(1.05); /* Increases the size by 20% */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.intro{
    font-size: 1.2rem;
    margin: 10px;
    padding: 10px;
    border: 5px solid white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.intro:hover{
    transform: scale(1.05); /* Increases the size by 20% */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.more-about-me{
    margin: 10px;
    font-size: 1.2rem;
    padding: 25px;
    align-self: flex-start;
    border: 5px solid white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.more-about-me:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.vision{
    margin: 10px;
    font-size: 1.2rem;
    padding: 10px;
    border: 5px solid white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}
.vision:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.lets-connect{
    margin: 10px;
    font-size: 1.2rem;
    padding: 10px;
    border: 5px solid white;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    color: white;
}
.lets-connect:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.contact-form{
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    margin: 20px;
}
.lets-connect button{
    font-size: 1.2rem;
    margin: 10px 0;
    padding: 10px;
    width: 40%;
    background: #0073e6;
    transition: background  0.3s ease-in-out;
    border-radius: 10px;
    cursor: pointer;
}
.lets-connect button:hover{
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.contact-form h3{
    margin: 10px 0;
    padding: 10px;
    color: white;
}
.contact-form input{
    cursor: pointer;
    width: 50%;
    height: 30px;
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 5px 5px 5px 10px;

}
.contact-form textarea{
    cursor: pointer;
    width: 50%;
    height: 100px;
    border: none;
    outline: none;
    border-radius: 5px;
    padding: 5px 5px 5px 10px;
}
.contact-form button{
    width:80%;
}
@keyframes slideUp {
    0% {
        bottom: -50px; /* Start off-screen */
        opacity: 0;
    }
    100% {
        bottom: 10%; /* Final position */
        opacity: 1;
    }
}
.hero h1 {
    cursor: pointer;
}
.hero h1 {
    font-size: 2.5rem;
}

/* Footer Styling */
.footer {
    margin-top: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 45px;
    border-top: gray 7px solid;
    background-color: #333;
    color: #fff;
    text-align: center;
    font-size: 0.9rem;
}

.footer p {
    margin: 0;
}
@media Screen and (max-width: 1121px) {
    .content {
        display:none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        backdrop-filter: blur(10px);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    .hamburger {
        display:block;
    }
    .hero .overlay-text {
        margin-top: 12%;
    }


}
@media screen and (max-width: 351px) {
    .navbar .name h1{
        font-size: 20px;
    }
    .hero {
        background: url("images/Mainak2-351X852.jpg") no-repeat center center/cover;
    }
    .hero .overlay-text {
        margin-top:100%;
        margin-left:5%;
    }
    .hero .overlay-text {
        color: white;
    }
}

@media screen and (max-width: 600px){
    .hero .overlay-text {
        margin-top:80%;
        color:white;
    }
    .contact-form input{
        width: 70%;
    }
    .contact-form textarea{
        width: 70%;
    }
}
@media screen and (max-width:500px){
    .navbar .name h1{
        font-size: 20px;
    }
    .hero .overlay-text {
        margin-top:100%;
        margin-left:5%;
        color:white;
    }
    .contact-form input{
        width: 85%;
    }
    .contact-form textarea{
        width: 85%;
    }
}


