/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    background: url("bgpic.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 */
.about-title {
    position: absolute;
    top: 80px;  /* Move title higher */
    left: 50%;
    transform: translateX(-50%);  /* Center the title horizontally */
    color: #fff;
    text-align: center;
    z-index: 2;  /* Ensure the title stays above the overlay */
    margin-top: 50px;  /* Increased margin to push it below title */

}

.about-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 {
    min-height: 100vh; /* Full viewport height */
    width: 100%;
    height: 90%;  /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: flex-start;  /* Align items from the top */
    text-align: center;
    position: relative;
    padding-top: 100px;  /* Creates space for title and navbar */
}


/* 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, rgba(0, 0, 0, .8), rgb(13, 0, 79)); /* Black to dark blue */
    color: #fff;
    padding: 25px;
    width: 90%;  /* Full width of the screen */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    /* text-align: center; */
    margin-top: 180px;  /* Increased margin to push it below title */
}

/* Content Wrapper */
.section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;

}

.section.reversed .text {
    flex: 1;
    max-width: 50%;
    font-size: 18px;
    line-height: 1.8;
    text-align: left;
    font-family: "Ubuntu", serif;
    animation: fadeIn 1s ease-in-out;
    margin-right: 20px;

}

/* Text Styling */
.text {
    flex: 1;
    max-width: 50%;
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
    font-family: "Ubuntu", serif;
    animation: fadeIn 1s ease-in-out;

}

.text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: 'Ysabeau SC', sans-serif; /* Your chosen font */
    animation: fadeIn 1s ease-in-out;
    color: #37a2b7;


}

.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);
}

.mosaic-image {
    width: 80%;
    height: 80%;
    align-content: center;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

}


.certifications {
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.8;
    font-family: 'Ysabeau SC', sans-serif; /* Your chosen font */
    animation: fadeIn 1s ease-in-out;
    color: #37a2b7;

}

.certifications p {
    text-align: center;
    margin-bottom: 20px;
    flex: 1;
    max-width: 100%;
    font-size: 18px;
    line-height: 1.8;
    font-family: "Ubuntu", serif;
    animation: fadeIn 1s ease-in-out;
    color: #ffffff;

}

/* Animations */
@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;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}