/* 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;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: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%;
    height: 100vh;
    border-bottom: gray 7px solid;
    background: url('images/Mainak2.jpg') no-repeat center center/cover ;
    display: flex;
    justify-content: flex-end;
}
.hero .overlay-text {
    height:200px;
    width: 500px;
    margin-top: 5%;
    animation: slideUp 2.5s ease-out forwards;
}
@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;
}
.tagline {
    font-size: 1.2rem;
    margin: 10px 0;
}
.cta-button {
    display: inline-block;
    padding: 10px 20px;
    margin-top: 20px;
    background: #fff;
    color: #0073e6;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    animation: fadeIn 5s ease-out  forwards;
}
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    50%{
        opacity:0.5;
    }
    100% {
        opacity: 1;
    }
}
.cta-button:hover {
    background: #0073e6;
    color: #fff;
}

/* Footer Styling */
.footer {
    margin-top: 10px;
    position: relative;
    bottom: 0;
    width: 100%;
    height: 45px;
    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:500px){
    .navbar .name h1{
        font-size: 20px;
    }
    .hero .overlay-text {
        margin-top:100%;
        margin-left:5%;
        color:white;
    }
}
@media screen and (max-width: 600px){
   .hero .overlay-text {
       margin-top:80%;
       color:white;
   }
}
@media screen and (max-width: 912px){
    .hero .overlay-text {
        width:350px;
    }
}


