/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    background: url("bgpic2.png") center/cover no-repeat;  /* Image covers the screen */
    background-attachment: fixed;  /* Fix the background so it doesn't scroll */
    font-family: 'Arial', sans-serif;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: px 30px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(30px);
    z-index: 1000;
    transition: top 0.3s ease-in-out;

}

.navbar .logo {
    font-size: 5px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    margin-right: 20px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 25px;

}

.nav-links li {
    display: inline-block;
}

.nav-links li a {
    font-family: "Ubuntu", serif;
    font-weight: 400;
    font-style: normal;
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.navbar-hidden {
    transform: translateY(-100%);
}

.implant-text {
    font-family: "Ysabeau SC", serif;
    font-size: 24px;  /* Adjust the font size */
    font-weight: bold;  /* Make the text bold, if needed */
    color: #fff;  /* Change the text color if necessary */
    animation: fadeIn 2s ease-in-out 0.5s;
}

.nav-links li a:hover {
    background: #37a2b7;
    color: #000;
    border-radius: 50px;
}


/* Title ("About Us") Positioning */
.contact-title {
    position: absolute;
    top: 80px;  /* Move title higher */
    left: 50%;
    transform: translateX(-50%);  /* Center the title horizontally */
    color: #fff;
    text-align: left;
    z-index: 2;  /* Ensure the title stays above the overlay */
    margin-top: 50px;  /* Increased margin to push it below title */

}

.contact-title h1 {
    font-family: 'Ysabeau SC', serif;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7);
    animation: fadeIn 2s ease-in-out;
}

/* Hero Section (Background Image) */
.hero {
   
    position: relative;
}


/* Text Container (Darkened) */
.text-container {
    animation: fadeIn 1s ease-in-out;
    position: relative;
    margin: 0 auto; /* Centering Fix */
    z-index: 2;  /* Ensure the text stays above the background and overlay */
    background: linear-gradient(to right, rgb(13, 0, 79, .9), rgb(0, 0, 0, .9)); /* Black to dark blue */
    color: #fff;
    width: 90%;  /* Full width of the screen */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* text-align: center; */
    text-align: left;
    margin-top: 180px;  /* Increased margin to push it below title */
}

/* Content Container */
.content-container {
    display: flex;
    justify-content: left;
    

}

.contact-info-container {
    flex: 1;
    padding: 20px;
    border-radius: 10px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-link {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits text color */
}

.contact-link:hover {
    color: #37a2b7; /* Facebook blue on hover */
}
.contact-item {
    display: flex;
    align-items: center;
    text-align: left;
    gap: 15px;
    font-size: 20px;
    font-family: 'Ubuntu', sans-serif;
    color: #ffffff;
}

.contact-icon {
    width: 40px;
    height: 40px;
}

.blue-text {
    color: #37a2b7;

}

.bold-text {
    font-weight: bold;
}

.contact-map-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Ensures alignment starts at the top */
    gap: 20px; /* Adds spacing between the contact info and the map */
}

.contact-info-container {
    width: 90%; /* Adjust width as needed */
}

.map-container {
    width: 45%; /* Adjust width to match   layout */
    display: flex;
    flex-direction: column; /* Stacks title above the map */
    align-items: center; /* Centers the title above the map */
    text-align: center;
    margin-right: 20px;
    margin-top: 30px;
    margin-bottom: 25px;

}

.map-title {
    margin-bottom: 10px; /* Adds spacing between title and map */
    font-size: 24px; /* Adjust size for readability */
    font-weight: bold;
    color: #37a2b7;
    font-family: 'Ysabeau SC', sans-serif; /* Your chosen font */

}



.spacer {
    height: 0px; /* Adjust as needed */
}

/* Video Container */
.video-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 80px;
}

.video-wrapper video::-webkit-media-controls-panel {
    position: relative;
    width: 100%;
    height: 400px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show the controls (including progress bar) on hover */
.video-wrapper:hover video::-webkit-media-controls-panel {
    opacity: 1;
}

/* For Firefox */
.video-wrapper video::-moz-media-controls-panel {
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Show the controls (including progress bar) on hover */
.video-wrapper:hover video::-moz-media-controls-panel {
    opacity: 1;
}
/* Play icon styling */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: white;
    display: block;
    z-index: 2; /* Make sure the play icon appears over the video */
    cursor: pointer;
    opacity: 0.7;
}

.play-icon:hover {
    opacity: 1;
}
/* Video Element */
.video {
    width: 45%;
}
.video .frame {
    width: 100%;
    height: 400px;
    border: none;
}

/* Text Styling */
.text {
    font-family: "Ubuntu", serif;
    animation: fadeIn 1s ease-in-out;

}

.text h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    font-family: 'Ysabeau SC', sans-serif; /* Your chosen font */
    animation: fadeIn 1s ease-in-out;
    color: #37a2b7;
    font-weight: bold;



}

.text p {
    margin-bottom: 15px;
}

.text ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Image Styling */
.image {
    flex: 1;
    max-width: 50%;
    text-align: center;
    animation: fadeIn 1s ease-in-out;

}

.image img {
    animation: fadeIn 2s ease-in-out;
    width: 100%;
    max-width: 500px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}




/* Animations */
/* Responsive Design */
@media (max-width: 768px) {
    .contact-map-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .contact-info-container,
    .map-container {
        width: 100%;
    }
}
@media screen and (max-width: 768px) {
    /* Styles for mobile screens */
    body {
        font-size: 14px;
    }
    .container {
        padding: 10px;
    }
    /* Adjustments to other elements */
}
@media (max-width: 900px) {
    .section {
        flex-direction: column;
        text-align: center;
    }

    .section.reverse {
        flex-direction: column;
    }

    .text {
        max-width: 100%;
        text-align: justify;
    }

    .image {
        max-width: 100%;
    }
}

    .text-container {
        padding-right: 0;
        text-align: center;
    }

    .image-gallery {
        grid-template-columns: 1fr;
        margin-top: 20px;
    }

    .footer {
        position: relative;
        width: 100%;
        text-align: center;
        padding: 15px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;
        font-size: 1rem;
        font-family: 'Ubuntu', sans-serif;
        margin-top: 30px;
    }
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}