/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    background: url("bgpic3.png") center/cover no-repeat;
    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 */
.services-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 */

}

.services-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,  rgba(0, 0, 0, .8), rgb(13, 0, 79, .8)); /* 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: center;
    margin-top: 180px;  /* Increased margin to push it below title */
}

/* General Styling */
.content-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 40px 0;
}

/* Introduction Section */
.services-intro {
    text-align: center;
    margin-bottom: 40px;
}

.services-intro h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #37a2b7;
    font-family: 'Ubuntu', sans-serif;

}

.services-intro p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 800px;
    margin: 0 auto;
    font-family: "Ubuntu", serif;


}

/* Service Sections */
.service-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.service-section.reversed {
    flex-direction: row-reverse;
}

/* Text Styling */
.service-section .text {
    width: 50%;
    padding: 20px;
}

.service-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.service-section p {
    font-size: 1.1rem;
    color: #666;
}

/* Image Styling */
.service-section .image {
    width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;

}

.service-section img {
    height: 250px;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


/* 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;
    font-family: "Ubuntu", serif;
    color:#fff;
    text-align: justify;

}

.text ul {
    list-style-type: disc;
    padding-left: 20px;
}
.blue-text {
    color: #37a2b7;
    font-weight: bold;


}

.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;
}

@media screen and (max-width: 768px) {
    /* Styles for mobile screens */
    body {
        font-size: 14px;
    }
    .container {
        padding: 10px;
    }
    /* Adjustments to other elements */
}
@media (max-width: 768px) {
    .service-section {
        flex-direction: column;
        text-align: center;
    }

    .service-section.reversed {
        flex-direction: column;
    }

    .service-section .image {
        width: 100%;
        margin-top: 10px;
    }

    .service-section img {
        width: 90%;
        height: auto; /* Adjusts height automatically for smaller screens */
    }
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}




