/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f9;
    width: 100%;
    height: 100%;
    overflow-x: hidden; 
}

/* Hero Section */
.hero {
    height: 100vh;
    width: 100%;  /* Ensure hero takes up full width */
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Navbar */
.navbar {
    position: fixed; /* Fixes the navbar at the top */
    top: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    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: 24px;
    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;
}

/* Hero Content */
.hero-content h1 {
    font-family: "Ubuntu", serif;
    font-size: 48px;
    margin-bottom: 20px;
    animation: fadeIn 2s ease-in-out;
}

.hero-content .highlight {
    color: #37a2b7;
    font-family: "Ubuntu", serif;


}


.cta-btn {
    padding: 10px 25px;
    font-size: 18px;
    background: #00d4ff;
    color: #000;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.2s;
}

.cta-btn:hover {
    transform: scale(1.05);
    background: #00aaff;
    color: #fff;
}

.slideshow-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.slide {
    display: none;
    width: 100%;
    opacity: 0;

}

.slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.slide:first-child {
    display: block;
    opacity: 1;
    animation: fadeSlideIn 1s ease-in-out forwards;


}

.slide.active {
    animation: fadeSlideIn 3s ease-in-out forwards;
}

.slide.fade-out {
    animation: fadeSlideOut 3s ease-in-out forwards;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #cecece;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    cursor: pointer;
    border: none;
    z-index: 2;
    transition: 0.3s;
}
.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Dots container */

.caption {
    position: absolute;
    top: 50%;
    left: 5%; /* Adjust the left position as needed */
    transform: translateY(-50%); /* Center vertically */
    color: white;
}
/* Title Styling */

.white-text {
    color: white;
}

.blue-text {
    color: #37a2b7;
}
.caption-title-1{
    font-family: 'Ysabeau SC', serif;
    font-size: 4em; /* Adjust size as necessary */
    color: #37a2b7;
    margin: 0;
    animation: fadeInUp 1s ease-out forwards;

}

.caption-title-2{
    font-family: 'Ysabeau SC', serif;
    font-size: 3.5em; /* Adjust size as necessary */
    color: #37a2b7;
    margin: 0;
    left: 2%; /* Adjust the left position as needed */
    animation: fadeInUp 1s ease-out forwards;

}

.caption-title-3{
    font-family: 'Ysabeau SC', serif;
    font-size: 3.5em; /* Adjust size as necessary */
    color: #37a2b7;
    margin: 0;
    left: 2%; /* Adjust the left position as needed */
    animation: fadeInUp 1s ease-out forwards;

}

.caption-title-4{
    font-family: 'Ysabeau SC', serif;
    font-size: 4em; /* Adjust size as necessary */
    color: #37a2b7;
    margin: 0;
    left: 2%; /* Adjust the left position as needed */
    animation: fadeInUp 1s ease-out forwards;

}

/* Description Styling */
.caption-description {
    font-family: 'Ubuntu', sans-serif;
    font-size: .5em; /* Adjust size as necessary */
    color: white;
    margin-top: 10px; /* Space between title and description */
    animation: fadeInUp 1s ease-out forwards;


}

.caption-description-2{
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em; /* Adjust size as necessary */
    color: white;
    margin-top: 20px; /* Space between title and description */
    animation: fadeInUp 1s ease-out forwards;
    text-align: center;


}

.caption-description-3{
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em; /* Adjust size as necessary */
    color: white;
    margin-top: 20px; /* Space between title and description */
    animation: fadeInUp 1s ease-out forwards;
    text-align: center;


}

.caption-description-4{
    font-family: 'Ubuntu', sans-serif;
    font-size: 1em; /* Adjust size as necessary */
    color: white;
    margin-top: 20px; /* Space between title and description */
    animation: fadeInUp 1s ease-out forwards;
    text-align: center;


}
.learn-more {
    color: #37a2b7; /* Blue color by default */
    text-decoration: none; /* Remove underline */
    font-weight: bold;
    transition: color 0.3s ease; /* Smooth transition */
    font-size: 1em;
}

/* Hover effect for the Learn More link */
.learn-more:hover {
    color: white; /* Change to white on hover */
}
.button-container {
    display: flex;
    gap: 15px;
    justify-content: center; /* Center the buttons */
    margin-top: 20px;
}

/* Common Button Styles */

   


/* Buttons */
.btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    background: #37a2b7;
    color: #000000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: "Ubuntu", serif;
    margin-top: 10px;
    animation: fadeInUp 1s ease-out forwards;


}

/* Button Hover Effects */
.btn:hover {
    background: #37a2b7;
   color: #ffffff;
   transform: scale(1.05);
   font-family: "Ubuntu", serif;

}

video {
    max-width: 100%;
    height: auto;
}

.video-overlay {
    position: absolute; /* Ensures that child elements (video, text) can be layered */
    width: 100%;
    height: 100%;
}

.video-container {
    position: relative; /* Allows positioning child elements within */
    width: 100%;
    display: flex; /* Flexbox to center content */
    justify-content: center; /* Horizontal centering */
    align-items: center; /* Vertical centering */
    height: 100vh; /* Full viewport height */
    background: linear-gradient(45deg, #1a1a2e, #2f53b5);
    padding: 5px; /* Optional padding for spacing */
    overflow: hidden;
}


.styled-video {
    width: 100%; /* Video takes up 80% of the container width */
    max-width: 1500px; /* Limit the maximum size to prevent it from being too large */
    border: 0px solid rgba(255, 255, 255, 0.1); /* Very faint, almost invisible border */
    border-radius: 0px; /* Slightly rounded corners for elegance */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow for subtle elevation */
    animation: fadeInVideo 1s ease-in-out;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    transform: translateY(50px);
    background-color: #f4f4f9; /* Optional background for styling */
    filter: contrast(0.9) brightness(0.3); /* Lowers contrast and dims brightness */
    object-fit: cover; /* Ensures the video fills the container proportionally */


}

.styled-video:hover {
    border-color: rgba(255, 255, 255, 0.3); /* Slightly brighter border on hover */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.2); /* A touch more elevation on hover */
    transform: scale(1.02); /* Subtle zoom for interaction */
}

 video {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}



.overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centers the text */
    color: #fff;
    font-family: 'Ysabeau SC', sans-serif; /* Your chosen font */
    font-size: 3rem; /* Adjust size as needed */
    font-weight: bold;
    text-align: center;
    z-index: 2; /* Ensures the text is above the video */
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.7); /* Optional: adds depth to text */
}

.gradient-background {
    width: 100%;
    height: 100vh; /* Full viewport height for the gradient */
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    display: flex;
    justify-content: center; /* Center images horizontally */
    text-align: center;
    gap: 20px; /* Space between the images */
    padding: 20px; /* Optional padding for spacing */
    box-sizing: border-box; /* Include padding in width and height calculations */
}

.gradient-background img {
    max-width: 60%; /* Ensure images scale well on smaller screens */
    max-height: 85%; /* Keep the height proportionate */
    border: 0px solid rgba(0, 0, 0, 0.1); /* Add a subtle border */
    border-radius: 10px; /* Rounded corners for a modern look */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 300px;
}

.gradient-background img:hover {
    transform: scale(1.05); /* Subtle zoom effect on hover */
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4); /* Enhanced shadow on hover */
}

.doctor-container {
    display: flex;
    flex-direction: column; /* Stack doctor sections vertically */
    align-items: center; /* Center the doctor sections */
    text-align: center;
    gap: 40px; /* Space between doctor cards */
    padding: 50px 20px; /* Add padding to create space around the section */
    background: linear-gradient(45deg, #1a1a2e, #16213e);
}

  

.doctor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px; /* Space between image and text */
    width: 100%;
    max-width: 1200px; /* Limit the maximum width for larger screens */
    padding: 30px;
    background: linear-gradient(45deg, #1a1a2e, #16213e);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Soft shadow around cards */
    border-radius: 10px; /* Rounded corners for a modern look */
    transition: transform 0.3s ease;
}

  
  

  
.doctor-img-1 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: contain; /* Ensure the image fits inside the circle */
    border: 4px solid #37a2b7; /* Blue border around doctor image */
    margin-left: 10%;
    max-width: 100%;
    height: auto;
}

.doctor-img-2 {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover; /* Ensure the image fits inside the circle */
    border: 4px solid #37a2b7; /* Blue border around doctor image */
    margin-right: 10%;
    max-width: 100%;
    height: auto;
}



.doctor-info {
    max-width: 600px; /* Limit the width of the text */
    font-family: "Ubuntu", sans-serif;
    color: #e1d9d9; /* Dark text for better readability */
}

.doctor-info h3 {
    font-size: 2.5rem;
    color: #37a2b7; /* Blue color for doctor's name */
    margin-bottom: 10px;
}

.doctor-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #f0dfdf; /* Light gray text for description */
    margin-bottom: 10px;
    text-align: justify;
}

.doctor-info a{
    font-size: 1.5rem; /* Adjust the font size to be bigger */
    line-height: 1.6;
    color: #ffffff; /* Light gray text for description */
    margin-bottom: 10px;
    text-align: justify;
    font-weight: bold;
    
}
.reverse {
    flex-direction: row-reverse; /* Reverse layout for alternating doctor cards */
}

.footer {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1rem;
    font-family: 'Ubuntu', sans-serif;
    bottom: 0;
    margin-top: 25px;
}

/* Slideshow Transition Animation */
@keyframes fadeSlideOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

@keyframes fadeSlideIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes fadeInVideo {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px); /* Start slightly below */
    }
    100% {
        opacity: 1;
        transform: translateY(0); /* End at normal position */
    }
}

@media (max-width: 768px) {
    .doctor-container {
        flex-direction: column;
    }
    .doctor-img-1, .doctor-img-2 {
        width: 100%; /* Make images full width */
        height: auto;
    }
}