@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@1,700&family=Poppins:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oswald&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&family=Lora:ital,wght@1,600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Cormorant+Garamond:wght@700&family=Lora:ital,wght@1,600&display=swap');


*{
margin:0;
padding:0;
box-sizing: border-box;
font-family: 'Poppins', sans-serif;
font-weight: 400;
}
*::after{

        margin:0px;
      padding: 0px;
       
    
}
*::before{
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
   
}

select {
    opacity: 0.6; /* Adjust opacity value for hint effect */
}

html {
    scroll-behavior: smooth;
}

body {
    --cl---1--: #ffffff;

    --cl---2--: #636262;

    --cl---3--: linear-gradient(90.17deg, #4ac7b3 0.15%, #2dabeb 99.87%);

    --cl---4--: #000000;

    --cl---5--: #f6f9fe;
    background: var(--cl--1--);
    margin: 0;

}
.slides {
    display: flex;
    transition: transform 4s ease-in-out;
}

.slide-container{
    position: relative;
    overflow: hidden;
            max-width: 100%;
            margin: 0 auto;
    width: 900px;
height: 550px;
border: 3px solid black;
box-shadow: 0 0 8px 2px rgb(0, 0, 0, 0.2);

}
.slide-container .slides{
    width: 100%;
    height: calc(100%);
    position: relative;
    overflow: hidden;

    
}

.slide-container .slides img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover ;
}
.slide-container .slides img:not(.active){
    top: 0;
    left: -100%;
}
.buttons {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    
}

.buttons span {
    font-size: 5em;
    cursor: pointer;
    
}
span.next, span.prev{
    position: absolute;
    top: 50%;
    transform: translateX(-50%);
    padding: 14px;
    color: black;
    font-size: 24px;
    font-weight: bold;
    transition: 1s;
    border-radius: 3px;
    user-select: none;
    cursor: pointer;
    z-index: 1;
    
}
span.next{
    right: 20px;
}
span.prev{
    left: 20px;
}
span.next:hover, span.prev:hover{
    background-color: #636262;
    opacity: 0.8;
    color: #222;
}
.dotsContainer{
    
    text-align: center;
    margin-top: 10px;
    position: absolute;
    bottom: 5px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    

    
}
.dotsContainer .dot{
    
    width:15px;
    height: 15px;
    margin: 0px 13px;
    border: 3px solid aqua;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.6s ease;
  
    
}
.dotsContainer .active{
    background-color: #555;
    
}
@media (max-width:820px){
    .slide-container{
        width: 600px;
        height: 375px;
    }
    .slide-container .dotsContainer{
        bottom: 25px;
    }
    .slide-container .dotsContainer .dot{
        width: 10px;
        height: 10px;
        margin: 8px;
    }
}

@media (max-width:620px){
    .slide-container{
        width: 400px;
        height: 250px;
    }
    .slide-container .dotsContainer{
        bottom: 15px;
    }
    .slide-container .dotsContainer .dot{
        width: 8px;
        height: 8px;
        margin: 6px;
    }
}


@media (max-width:420px){
    .slide-container{
        width: 320px;
        height: 200px;
    }
    .slide-container .dotsContainer{
        bottom: 10px;
    }
    
}
@keyframes next1{
    form{
        left: 0%;
    }
    to{
        left: -100%;
    }
}

@keyframes next2{
    form{
        left: 100%;
    }
    to{
        left: 0%;
    }
}

@keyframes prev1{
    form{
        left: 0%;
    }
    to{
        left: 100%;
    }
}

@keyframes prev2{
    form{
        left: -100%;
    }
    to{
        left: 0%;
    }
}

@media (max-width: 768px) {
    .slides img {
        height: auto;
    }
}



img {
    max-width: 100%;
    width: 90%;
    float: left;
    margin-right: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

hr {
    border: none;
    height: 2.2px;
    /* Adjust thickness as needed */
    background-color: black;
    /* Adjust color as needed */
    margin: 20px 0;
    /* Adjust spacing as needed */
}

hr.bold {
    font-weight: bold;
}

h2 {
    font-weight: 700;
    font-size: clamp(30px, 5vw, 40px);
    color: var(--cl---4--);
    text-transform: capitalize;
    line-height: 1.2;
}

h3 {
    font-weight: 500;
    font-size: 24px;
    text-transform: capitalize;
    line-height: 1.2;
    color: var(--cl---4--);
}

h5 {
    font-weight: bold;
    
    font-size: 40px;
    text-transform: uppercase;
    background: var(--cl---3--);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 1em;
    text-shadow:
        -1px -1px 0 turquoise,
        1px -1px 0 black,
        -1px 1px 0 black,
        1px 1px 0 black;


}

p {
    font-size: 21px;
    color: var(--cl---3--);
    padding: 2em 0;
    margin: 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 500;
    font-weight: bold;
    letter-spacing: 1.25px;

}

a {
    display: inline-block;
    text-decoration: none;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    cursor: pointer;
}

.page-btn,
.makeAppointmentBtn {
    font-weight: 500;
    font-size: 16px;
    color: var(--cl---1--);
    /* Text color */
    text-transform: uppercase;
    background: var(--cl---3--);
    /* Bluish background color */
    padding: 0.7em 2em;
    
    /* Remove border */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.page-btn:hover,
.makeAppointmentBtn:hover {
    color: var(--cl---1--);
    background: #4ac7b3;
    /* Hover background color */
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
    
}

.page-btn.active,
.page-btn:hover {
    border-radius: 50px;
    -webkit-border-radius: 50px;
    -moz-border-radius: 50px;
    -ms-border-radius: 50px;
    -o-border-radius: 50px;
}

.page-btn.active:hover {
    color: var(--cl---1--);
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.row {
    display: flex;

}

.flex {
    flex-wrap: wrap;
    align-items: center;
    gap: clamp(2em, 5vw, 5em);

}

.flex>* {
    flex: 2 2 9em;
}

.column {
    display: grid;

}

.container {
    max-width: 90%;
    margin: 0 auto;
}

  .section-with-video {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }

  .video-overlay {
  
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1; /* Adjust opacity as needed */
   z-index: -1;
  }

  video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
   
  
  }
  #appointmentFormSection h1{
    font-weight: 700;
    font-size: clamp(25px, 5vw, 36px);
    line-height: 1.2;
    color: #4ac7b3;
    text-transform: capitalize;
    -webkit-text-stroke: 0.5px black;
  } 
  



  @media (max-width: 768px) {
    video {
        height: 200px; /* Adjust height for smaller screens */
    }
}

  .back-video{
display: flex;
justify-content: left;
max-height: 800px;
object-fit: contain;
width: 100%;
float: left;
opacity: 1;
height:100%;
z-index: -1;

  }



#appointmentFormSection {
    
    background-color: rgba(255, 255, 255, 0.9);
    padding: 20px; /* Add some padding to the form section */
    margin: 0 auto; /* Center the form section horizontally */
    max-width: 600px; /* Set a maximum width for the form section */
    border-radius: 10px; /* Add border-radius for rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); 
z-index:1;
border:3px solid black;

    
}
#appointmentFormSection .form div {
    margin-bottom: 15px;
}
#appointmentFormSection button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
.form-container {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: rgba(255, 255, 255, 0.9); /* Set a background color with some transparency */
    background-image: url('images/formimage2.png'); /* Add your background image path */
    background-size: cover; /* Adjust background-size property as needed */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat; /* Ensure background image doesn't repeat */
  }

  /* Center the submit button within the form */
  .form-container button {
    display: block;
    margin: 20px auto;
  }

#appointmentForm {
   
   
    align-items: left;
}

#appointmentForm label {
    margin-bottom: 10px;
    font-weight: bold;
    text-align: left;
}

#appointmentForm input,
#appointmentForm select,
#appointmentForm button {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}
#appointmentForm button:hover{
    border:2px solid black;
}
/*page button*/
.page-btn {
    font-weight: 500;
    font-size: 16px;
    color: var(--cl---1--);
    text-transform: uppercase;
    background: var(--cl---3--);
    padding: 0.7em 2em;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px
}

/*NAVIGATION*/

header {
    align-items: center;

    gap: 5em;


}

nav ul {
    align-items: center;
    gap: 4em;
    padding: 4px;

    border-radius: 20px;

}

nav a {
    font-size: 17px;
    color: var(--cl---2--);
    font-weight: bold;

}

nav a:hover {
    color: #4ac7b3;
}

.toggleContact.c-active::after {
    content: "✖";
    /* Unicode cross symbol */
    font-family: 'Font Awesome';
    font-size: larger;
    position: fixed;
    top: 19%;
    right: 5%;
    color: #000000;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px;
    width: 20px;
    height: 20px;
    z-index: 10;

}

.contactMenu {
    position: absolute;
    inset: 0;
    margin: auto;
    min-height: 0;
    opacity: 0;
    background: rgb(0, 0, 0, 0.3);
    padding: 6em 0;
    transform: scale(0);
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
}

.contactMenu.c-active {
    position: fixed;
    min-height: 100vh;
    opacity: 1;
    transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    -moz-transform: scale(1);
    z-index: 9;

}

.contactMenu-content {
    background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 01.5)24.4%, rgba(255, 255, 255, 0)59.46%), url("images/formimage2.png");
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: cover;
    padding: 3em;
    filter: brightness(107.5%);
    
    overflow-y: scroll;
    box-shadow: 0px 4px 10px 1px rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -ms-border-radius: 20px;
    -moz-border-radius: 20px;
    -o-border-radius: 20px;
}

.contactMenu-content form {
    padding-top: 3em;
}

.contactMenu-content h6 {
    font-weight: 700;
    font-size: clamp(25px, 5vw, 26px);
    line-height: 1.2;
    color: #4ac7b3;
    text-transform: capitalize;

}

.contactMenu-content h6:nth-last-of-type(1) {
    color: #2dabeb;
}

form {
    flex-wrap: wrap;
    align-items: center;
    gap: 2em;
    padding: 0.5em;
}

.form>* {
    flex: 1, 1, 10em;

}

.contactMenu-content label {
    display: inline-block;
    font-weight: 500;
    font-size: 16px;
    color: var(--cl---4--);
    padding-bottom: 0.5em;
    padding-top: 1.7em;

}

.contactMenu-content form input,
.contactMenu-content form select {
    width: 100%;
    padding: 1em, 0.5em;
    border: 1px solid var(--cl---5--);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
}

.contactMenu-content button {
    margin-top: 2em;
    border: 0;
    transition: 0.3s ease-in-out;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -ms-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
}

/*hero*/
.hero {
    flex-wrap: wrap-reverse;
    margin: 0%;
    background-image: url("images/bg2.jpg");
    background-position: right bottom;
    text-align: center;
    background-size: auto;
    background-repeat: no-repeat;


}

.hero h1 {
    font-weight: 700;
    font-size: clamp(30px, 2.5vw, 40px);
    color: var(--cl---4--);
    text-transform: uppercase;
    line-height: 1.2;
}

.hero-img img {
    max-height: 600px;
    object-fit: contain;
    width: 100%;
    float: left;
}

/*end hero*/

/* Media */

@media screen and (min-width:1205px) {
    .container {
        max-width: 1200px;
    }

    .hero-content {
        max-width: 550px;
    }
}

@media screen and (max-width:1000px) {
    .toggleMenu {
        background-image: url();
        background-position: center;
        background-repeat: no-repeat;
        background-size: 30px;
        width: 30px;
        height: 30px;
        transition: background-size 0.3s ease-in-out;
        -webkit-transition: background-size 0.3s ease-in-out;
        -moz-transition: background-size 0.3s ease-in-out;
        -ms-transition: background-size 0.3s ease-in-out;
        -o-transition: background-size 0.3s ease-in-out;
        z-index: 1000;
    }

    .toggleMenu.active {
        position: fixed;
        right: 5%;
        background-image: url();
        background-size: 25px;
    }

    .navigation {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        inset: 0;
        margin: auto;
        min-height: 0;
        opacity: 0;
        transform: scale(0);
        -webkit-transform: scale(0);
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);

    }

    .navigation.active {
        position: fixed;
        min-height: 100vh;
        opacity: 1;
        background: var(--cl---1--);
        z-index: 999;
        transform: scale(1);
        -webkit-transform: scale(1);
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);

    }

    nav ul {
        flex-direction: column;
    }

    .toggleContact.c-active::after {
        left: 5%;
        right: unset;
    }

    .hero {
        background-position: top center;
        background-size: contain;
    }
}

/* Add this CSS to style the new structure */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.5);
    /* Adjust the opacity value as needed */
    z-index: -1;
    /* Move the overlay behind the content */
    opacity:0.7;
}

.about {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    color: #000000;
    flex-direction: row-reverse;
    /* Reverse the order of flex items */
    margin: 0;
    background-image: url("images/abc.jpg");
    overflow: hidden;
   
    background-size: contain;
    /* Cover the entire background */
    background-repeat: inherit;
    background-position: left;
    
    /* Center the background */
    
    background-attachment: fixed;
    position: relative;
    width:100%;
    /* Ensure the ::before pseudo-element is positioned relative to .about */

}


.about-content {
    
    flex: 1;
    width: 100%;
    text-align: center;
    padding: 2em;
   
    /* Adjust the width as needed */
   
    z-index: 1;

}

.about-img {
    display: flex;
    gap: 2px;
    justify-content: space-between;

    flex-wrap: wrap-reverse;

}

.image-container {
    width: 210px;
    /* Set a fixed width for each image container */
    height: 210px;
    /* Set a fixed height for each image container */
    overflow: hidden;
    /* Hide overflow to ensure uniformity */
    border-radius: 15px;
    /* Optional: Add border-radius to the image containers */

}

.image-container img {
    width: 100%;
    /* Make the image fill the container */
    height: 100%;
    /* Make the image fill the container */
    object-fit: cover;
    /* Maintain aspect ratio and cover the container */
    border-radius: 15px;
    /* Optional: Add border-radius to the images */
    border: 2px dotted grey;
}

/* Add this CSS to position the dental services icons and adjust their size */
.service-content {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    max-height: 100%;

}

.service-cards {

    display: flex;
    gap: clamp(1em, 5vw, 4em);
    /* Adjust the margin as needed */

}

.s-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

}

.s-card img {
    max-width: 80px;
    /* Adjust the max-width to control the size of the icons */
}

.s-card:nth-of-type(odd) {
    background: var(--cl---1--);
}

.s-card:nth-of-type(even) {
    background: var(--cl---1--);
}

.s-card h3 {
    padding-top: 0.5em;
}

/* Add this CSS to fix the right arrow icon issue */
.card-btn i.fa-duotone {
    font-family: 'Font Awesome Duotone';
}

/*contact us css*/

#contactus {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
}

.contact-info {
    flex: 1 1 calc(30% - 20px);
    background-color: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
div .dname{
    font-size: 23px;
    text-align: center;
    font-weight: bold;
    text-decoration: underline;
    color:#36454f;
    text-transform:capitalize;
}

.contact-info h2 {
    display: flex;
    margin-top: 1px;
    padding: 10px;
    font-size: 20px;
    color: #333;
    font-family: 'Lora', serif;
    justify-content: center;
    align-items: center;
}

.contact-info p {
    margin: 10px 0;
    color: #36454f;
    padding: 0.5em 0;
    font-size: 18px;
    display: flex;
    justify-content: center;
   
}

@media screen and (max-width: 768px) {
    .contact-info {

        flex-basis: calc(50% - 20px);
    }
}

@media screen and (max-width: 480px) {
    .contact-info {
        flex-basis: calc(100% - 20px);
    }
}

/*footer*/
footer {
    background-color: #eaf2f8;
    color: #000000;


    text-align: center;
}

footer p {
    margin: 0;
    padding: 10px;
    font-size: 14px;
    font-weight: bold;
}

#popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center;
}

.open-popup {
    visibility: visible;
    top: 50%;
    transform: translate(-50%, -50%) scale(1);

}

.popup img {
    width: 100px;
    margin: 0 auto;
    display: block;

    border-radius: 50%;
    box-shadow: 0 2px 5px rgb(0, 0, 0, 0.2);
}

.popup h2 {
    font-size: 38px;
    font-weight: 500;
    margin: 30px 0 10px;

}
#popup button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

div .clinicname{
color:#40D3DC;
font-family:Arial, Helvetica, sans-serif;
text-align: center;
font-size:25px;
font-weight: bold;
text-decoration: underline;

}