/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Arial, sans-serif;
    background: url("bg12.jpg") center / cover no-repeat;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.bodycontent {

    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Navigation Bar */
.navbar {
    position: fixed;
   z-index: 1000;
   display: flex;
height: 60px;

  

}
 #logo img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
    transition: transform 0.6s ease-in-out;
    margin-top: 5px;
}
#logo img:hover {
    height: 90px;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.2);
    transform: rotateY(360deg);
    content: url('logohover.jpg'); 
}
.menu-bar {
 display:flex;
    flex-wrap: wrap;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
   
    padding: 0px;
    margin-top: 3px;
}
.menu-bar li {
    list-style: none;
    color: white;
    font-family: sans-serif;
    font-weight: bold;
    padding: 12px 16px;
    margin: 5px;
    position: relative;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease-in-out;
}
.menu-bar li:hover {
    color: black;
    transform: scale(0.95);
}
.menu-bar li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: -1;
    transition: 0.2s;
    border-radius: 25px;
}
.menu-bar li:hover::before {
    background: linear-gradient(to bottom, #e8edec, #d2d1d3);
    box-shadow: 0px 3px 20px 0px black;
    transform: scale(1.2);
}
a { text-decoration: none; }
.menu-toggle {
    display:none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
   margin-right:5px;
}

/* Download Button */
#pdf {
    position: absolute;
    top: 20px;
    right: 20px;
}
.btn {
    
    padding: 12px 24px;
    font-size: 18px;
    color: white;
    background: #007BFF;
    text-decoration: none;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s ease-in-out;
}
.btn:hover {
    background: #0056b3;
    transform: scale(1.1);
}

/* About Section */
.about-container {
    max-width: 90%;
    width: 600px;
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    transition: background 0.3s ease-in-out;
    margin: 100px auto 20px;
    text-align: center;
}
.about-container:hover {
    background-color: rgba(188, 224, 192, 0.4);
    color: hsl(144, 24%, 4%);
}
.about-container img{
    border-radius: 50%;
    box-shadow: 0px 6px 20px rgba(0, 0, 265, 0.4);
   margin-top: 15px;
}
/* Social Media Icons */
.tags img {
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    width: 48px;
    height: 48px;
    margin: 5px;
   
    border-radius: 50%;
    box-shadow: 0px 6px 20px rgba(0, 0, 256, 0.4);
}
.tags img:hover {
    transform: rotate(360deg) scale(1.10);
    opacity: 80%;
}

/* Context Boxes */
.context1, .context2, .context3 {
    position: relative;
    width: 60%;
    height: 250px;
    border-radius: 20px;
  
    display: flex;
    padding-bottom: 60px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    
}

.context1 h1, .context2 h1, .context3 h1 {
    position: absolute;
    top: 5px;
    left: 60%;
    transform: translateX(-50%);
    font-size: 24px;
    color: rgb(237, 240, 242);
    font-weight: 100;
    font-style: italic;
}
#contextbox button{
    height:auto;
    width: 200px;

}
.context3 button{
margin-top:0%;

}
.context1 { margin-left: 50px; margin-top: 15px; }
.context2 { float: right; margin-right: 4%; }
.context3 { float: left; margin-left: 10%; margin-top: 10px; }
#contextbox p {
    max-width: 60%;
    margin-top: 50px;
    color: white;
    padding-top: 70px;
}
#contextbox p:hover {
  font-style: oblique;


}
#image1, #image2, #image3 {
    height: 215px;
    width: 250px;
    margin-right: 40px;
    margin-top: 50px;
    border-radius: 50%;
    background-size: cover;
    box-shadow: 0px 4px 12px rgba(0, 0, 256,  .50);
    border: 5px solid rgb(243, 238, 238);
    transition: transform 0.5s ease-in-out, border 0.3s ease-in-out;
}
#image1 { background-image: url('profilephoto.jpg'); }
#image2 { background-image: url('aws.jpg'); float: left; height: 200px; }
#image3 { background-image: url('goal.jpg'); float: right; height: 200px; }
#image1:hover, #image2:hover, #image3:hover {
    transform: rotateY(360deg) scale(1.1);
    border-color: white;
}


/* Form Container */
.form-container {
    height: auto;
    margin-left: 5%;
    background: url('bg12.jpg') no-repeat center/cover;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 256,  50.50);
    width: 340px;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 40px;
    text-align: center;
    box-shadow: 0px 6px 20px rgba(0, 0, 265, 0.4);
}
.form-container:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 0, 0 , 0.4);
}
form {  flex-direction: column; }
label { font-weight: bold; margin-top: 10px; float:left;}
input, textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 2px solid #ccc;
    border-radius: 8px;
    transition: border-color 0.3s, box-shadow 0.3s ease-in-out;
}
input:focus, textarea:focus {
    border-color: #6a11cb;
    box-shadow: 0px 0px 10px rgba(106, 17, 265, 0.5);
    outline: none;
}
button {
    margin-top: 20px;
    padding: 10px;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    width: 100px;
    transition: transform 0.3s, background 0.3s ease-in-out;
}
button:hover {
    background: linear-gradient(to right, #ff4b2b, #ff416c);
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(255, 75, 43, 0.5);
}
#responseMessage {
    margin-top: 15px;
    font-weight: bold;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.response-visible { opacity: 1; }

/* Footer */
footer {
    width: 100%;
    background: rgba(239, 240, 239, 0.242);
    color: rgb(9, 1, 1);
    text-align: center;
    padding: 20px;
    margin-top: auto;
}
.social-icons .icon {
    display: inline-block;
    margin: 0 30px;
    font-size: 24px;
    color: white;
    transition: transform 0.3s ease, color 0.3s ease;
}
.instagram:hover { color: #E4405F; transform: scale(1.2); }
.facebook:hover { color: #1877F2; transform: scale(1.2); }
.threads:hover { color: black; transform: scale(1.2); }
.youtube:hover { color: #FF0000; transform: scale(1.2); }
.email:hover { color: #D44638; transform: scale(1.2); }
.location:hover { color: #34A853; transform: scale(1.2); }

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }
    .menu-bar {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 10px;
    }
    .menu-bar.active {
        display: flex;
    }
    #logo img {
        height: 70px;
        width: 70px;
    }
    .btn {
        top: 80px;
        right: 10px;
        font-size: 16px;
        padding: 10px 20px;
    }
    .about-container {
        width: 95%;
        margin-top: 120px;
    }
    .context1, .context2, .context3 {
        width: 90%;
        flex-direction: column;
        height: auto;
        padding: 20px;
        float: none;
        margin: 20px auto;
    }
    #image1, #image2, #image3 {
        width: 200px;
        height: 200px;
        margin: 20px auto;
        float: none;
    }
    #contextbox p {
        max-width: 100%;
        padding-top: 10px;
    }
    .form-container {
        margin-left: auto;
        margin-right: auto;
        width: 90%;
    }
    .social-icons .icon {
        font-size: 20px;
        margin: 5px;
    }
}

@media (max-width: 480px) {
    #logo img {
        height: 60px;
        width: 60px;
    }
    .menu-bar li {
        font-size: 14px;
        padding: 8px;
    }
    .btn {
        font-size: 14px;
        padding: 8px 16px;
    }
    h1 { font-size: 20px; }
    p { font-size: 14px; }
    .context1 h1, .context2 h1, .context3 h1 {
        font-size: 18px;
    }
}