/* Responsive Full-Screen Background */
body {
    
    background: url("bg0.jpg") center / cover no-repeat;
    display: flex;
    flex-direction: column;
}

.bodycontent{
    height: 100%;
    margin: 0;
    
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: auto; /* Adjust width based on content */
    margin: 0%;
    padding: 10px 20px;
    border-radius: 10px; /* Optional rounded edges */
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
  }
  
/* Responsive Menu Bar */
.menu-bar {
    display: flex;
    flex-wrap: wrap;
    border-radius: 25px;
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    align-items: center;
    padding: 10px;
    margin-top: 20px;
}

.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);
}

/* About Section */
.about-container {
    max-width: 90%;
    width: 600px;
    margin-left:px; 
    padding: 20px;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 14px;
    font-family: Arial, sans-serif;
    transition: background 0.3s ease-in-out;
    margin-right: 40px;
    justify-content: center;
    text-align: center;
}

.about-container:hover {
    background-color: rgba(188, 224, 192, 0.4);
    color: hsl(144, 24%, 4%);
}

/* Responsive Logo */
#logo {

margin-right: 10px;
    height: 80px;
    width: 80px;
    display: flex;
    justify-content: center;
    margin-top: 9px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    
   
}

#logo:hover {
    height: 90px;
    width: 90px;
    background-color: rgba(0, 0, 0, 0.2);
    transform: rotateY(360deg);
    content: url('logohover.jpg');
}

/* Social Media Icons with Rotation Effect */
.tags img {
    transform-style: preserve-3d;
    transition: transform 0.6s ease-in-out;
    overflow: hidden;
    width: 48px;
    height: 48px;
    margin: 5px;
}

.tags img:hover {
    transform: rotate(360deg);
    border-radius: 30%;
}

img{
    border-radius: 50%;
}
img:hover{
    border-radius: 50%;
    transform:scale(1.10);
    opacity: 80%;
}
/* Media Queries for Responsive Design */
@media (max-width: 720px) {
    .menu-bar {
        flex-direction: column;
        padding: 10px;
    }
    .menu-bar li {
        padding: 10px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
    }

    .menu-bar {
        width: 90%;
        text-align: center;
    }

    #logo {
        height: 70px;
        width: 70px;
        margin-top: 20px;
        
    }

    .about-container {
        width: 90%;
    }
}

@media (max-width: 480px) {
    .menu-bar li {
        font-size: 14px;
        padding: 8px;
    }

    #logo {
        height: 60px;
        width: 60px;
        
    }
}

.btn {
    position: absolute;
    top: 65px;
    right: 20px;
    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);
}




/* General styling for content divs */
.context1, .context2, .context3 {
    position: relative; /* Allows positioning of child elements */
    height: 180px;
    width: 60%;
    border-radius: 20px;
    background-image: url('bg8.jpg');
    background-position:center;
    display: flex;
    padding-bottom: 60px;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px; /* Space between sections */
    overflow: hidden; /* Prevents content overflow */
    transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
    border: 4px solid  rgba(240, 244, 242, 0.4);
}
/* Hover Effect */
.context1:hover, .context2:hover, .context3:hover {
opacity: 70%;
    transform: scale(1.10);
   
  
    
}

/* Positioning the h1 to the top center */
.context1 h1, .context2 h1, .context3 h1 {
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    margin-left:  100px;
    font-size: 24px;
    color: black;
    align-items: center;
    font-weight: 100;
    font-style: italic;
}


/* Positioning for each context */
.context1 { margin-top:10px;margin-left:50px;margin-top: 15px;}
.context2 { float: right; margin-right: 4%; justify-content: flex-end; gap:15px; }
.context3 { float: left; margin-left: 10%; gap:15px;margin-top:10px; }

/* Image inside div */
#image1 {
    background-image: url('profilephoto.jpg');
    height:215px;
    width: 250px;
    margin-right: 40px;
    margin-top: 50px;
    border-radius: 50%;
    background-size: cover;
    border: 5px solid rgb(243, 238, 238);
    transition: transform 0.5s ease-in-out, border 0.3s ease-in-out;
    
}

#contextbox p {
    max-width: 60%; 
    margin-top: 10px;
    color: black;
    padding-top: 70px;
    /* Ensures the paragraph doesn't stretch too wide */

}
#contextbox p:hover{
color:black;
font-size: large;
}
#image2 {
    background-image: url('aws.jpg');
    height:200px;
    width: 250px;
    margin-right: 40px;
    margin-top: 50px;
    border-radius: 50%;
    background-size: cover;
    border: 5px solid rgb(243, 238, 238);
    transition: transform 0.5s ease-in-out, border 0.3s ease-in-out;
    float: left;
}

#image3{
    background-image: url('goal.jpg');
    height:200px;
    width: 250px;
    margin-right: 40px;
    margin-top: 50px;
    border-radius: 50%;
    background-size: cover;
    border: 5px solid rgb(243, 238, 238);
    transition: transform 0.5s ease-in-out, border 0.3s ease-in-out;
    float:right;
}

/* Hover effect on image */
#image1:hover {
    transform: rotateY(360deg) scale(1.1);
    border-color: white;
   

    
}
#image2:hover {
    transform: rotateY(360deg) scale(1.1);
    border-color: white;


}
#image3:hover {
    transform: rotateY(360deg) scale(1.1);
    border-color: white;
}

footer {
    width: 100%;
    background: rgba(239, 240, 239, 0.242);
    color: rgb(9, 1, 1);
    text-align: center;
    padding: 20px;
    margin-top: auto;
    position: relative;
    bottom: 0;
}



/* Form Container */
.form-container {
    height: auto;
    margin-left: 40%;
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
    width: 340px;
    background-image: url('bg4.gif');
    background-repeat: no-repeat;
    background-size: cover;
    justify-content: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    margin-bottom: 40px;
}
.form-container h2{
  margin-top:5px;
  text-align: center;
  padding-top: 0px;
  
}

/* Form Hover Effect */
.form-container:hover {
    transform: scale(1.05);
    box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.4);
}

/* Form Elements */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-weight: bold;
    margin-top: 10px;
}

/* Input Fields */
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;
}

/* Focus Effect */
input:focus, textarea:focus {
    border-color: #6a11cb;
    box-shadow: 0px 0px 10px rgba(106, 17, 203, 0.5);
    outline: none;
}

/* Submit Button */
button {
    margin-top: 15px;
    padding: 10px;
    background: linear-gradient(to right, #ff416c, #ff4b2b);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
  width: 100px;
  margin-right:0%;
    transition: transform 0.3s, background 0.3s ease-in-out, box-shadow 0.3s;
}

/* Button Hover Effect */
button:hover {
    background: linear-gradient(to right, #ff4b2b, #ff416c);
    transform: scale(1.1);
    box-shadow: 0px 6px 15px rgba(255, 75, 43, 0.5);
}

/* Response Message */
#responseMessage {
    margin-top: 15px;
    font-weight: bold;
    color: #28a745;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Response Message Appear Effect */
.response-visible {
    opacity: 1;
}

/* Responsive design */
@media (max-width: 768px) {
    .context1, .context2, .context3 {
        width: 90%;
        flex-direction: column;
        text-align: center;
    }

    .context2, .context3 {
        float: none;
        margin-left: auto;
        margin-right: auto;
    }

    #image {
        width: 200px;
        height: 120px;
    }
}


/* Footer Styling */
footer {
    background: #222;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* Social Media Icons */
.social-icons {
    margin-top: 10px;
}

.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 */
@media (max-width: 768px) {
    .social-icons .icon {
        font-size: 20px;
        margin: 5px;
    }
}




/* Make sure button stays visible on small screens */
@media (max-width: 768px) {
    .btn {
        top: 10px;
        right: 10px;
        font-size: 16px;
        padding: 10px 20px;
    }
}
