@import url('https://fonts.googleapis.com/css2?family=Basic&family=Bitter:ital,wght@0,100..900;1,100..900&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Dangrek&family=Imperial+Script&family=Karla:ital,wght@0,200..800;1,200..800&family=League+Script&family=Niconne&family=Oxygen:wght@300;400;700&family=Playwrite+AU+SA:wght@100..400&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&family=Urbanist:ital,wght@0,100..900;1,100..900&family=WindSong:wght@400;500&display=swap');

:root {
    /* --primary-color: #86bacb;
    --accent-color: #419bb9;
    --text-color: #333333;
    --text-light: #666666;
    --background-light: #f5f5f5;
    --white: #ffffff;*/
    /* #577DAA */
    
    --accent-color: #fff;
    --text-color: #1d1d1d;
    --text-light: #454545;
    --background-light: #def5fc;
    --primary-color: #bde8f7;
    --oxygen: "Urbanist", serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Karla", serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--accent-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    gap: 15px;
    flex-direction: row;
    justify-content: flex-end;
    align-items: start;
}

h1,
h2,
h3 {
    margin-bottom: 20px;
}

h1 {
    font-size: 3rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

.btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #58bbda;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: 700;
}
.btn:hover {
    background-color: var(--text-color);
    color: var(--text-light);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}
.hover-link {
    position: relative;
    text-decoration: none;
    color: blue;
}

.tooltip {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: 125%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
    transition: opacity 0.3s;
    z-index: 1;
}

.hover-link:hover .tooltip {
    visibility: visible;
    opacity: 1;
}

.top-header {
    background-color: var(--primary-color);
    padding: 5px 0;
    margin: 0;
    height: 30px;
    overflow: hidden;
}

.location-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    float: right;
    color: #333333;
    overflow: hidden;
}

.navbar {
    background: hsl(194, 85%, 85%,70%);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 10px;
    width: 98%;
    margin: 0 auto;
    z-index: 1000;
    height: 60px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    border: #666666 0.5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-top: 10px;
}
/* .background{
    width: 100%;
    height: 100%;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    opacity:70%;
    z-index: -1;
} */

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color);
}

.logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    list-style: none;
    
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #58bbda;
}

.mobile-menu-toggle {
    display: none;
    
}

/* .hero {
    position: relative;
    height: calc(100vh - 75px);
    overflow: hidden;
}

.hero-content {
    position: absolute;
    top: 85%;
    left: 35%;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    box-shadow: 2px 2px 10px 50px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 5px;
    border-radius: 10px;
}

.hero h1 {
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
    position: absolute;
    bottom: 50px;
    left: 50px;
} */

.hero {
    width: 98%;
    margin: 0 auto;
    margin-top: 20px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    height: 80vh;
    background-color: var(--primary-color);
}

.carousel {
    height: 100%;
    width: 100%;
    position: relative;
    overflow: hidden;
    
}

.carousel-inner {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-inner img {
    min-width: 100%;
    min-height: 100%;
    object-fit:cover;
    transition: transform 0.3s ease;
}

.carousel-inner img:hover {
    transform: scale(1.02);
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: rgba(255, 255, 255, 0.527);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    /* background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); */
    color: white;
    text-align: center;
}

.hero-content h1 {
    font-family: "Basic", serif;
    color: var(--accent-color);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h3 {
    font-family: "Karla", serif;
    color: var(--accent-color);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero {
        height: 60vh;
    }

    .carousel-prev,
    .carousel-next {
        padding: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .hero-content {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .hero {
        height: 50vh;
        padding-top: 0px;
    }

    
    .carousel-prev,
    .carousel-next {
        padding: 10px;
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .carousel-inner img {

        width: 50%;
        height: 100%;
        object-fit:cover;
        transition: transform 0.3s ease;
    }
    .hero-content{
        margin-bottom: 30px;
    }

    .hero-content h1 {
        padding: 10px;
        margin-bottom: 0px;
        font-size: 28px;

    }
    .hero-content h3 {
        padding: 10px;
        margin-bottom: 0px;
        font-size: 16px;
        font-weight: 500;
        
    }

   
}

/* .carousel {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-inner {
    height: 100%;
    width: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-inner img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-prev,
.carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    font-size: 18px;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
} */

.appointment {
    padding: 80px 0;
    background-color: var(--background-light);
}

.appointment-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.appointment-form textarea {
    height: 100px;
}

.services {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 2rem;
    min-height: 100vh;
    /* background: linear-gradient(to bottom, #f5f5f5, #e0e0e0); */
    max-width: 1200px;
    margin: 0 auto;
}

.services > h1 {
    /* text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    color: #333;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px; */
    font-size: 3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.8rem;
    font-weight: 700;
    position: relative;
}

/* .services > h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, #333, #666);
    border-radius: 2px;
} */

.services .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    padding: 15px;
}

.services-card {
    position: relative;
    height: 350px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
    cursor: pointer;
}

.services-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.services-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.8)
    );
}

.card-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    color: white;
    z-index: 1;
}

.card-content h2 {
    font-size: clamp(1.2rem, 2vw, 1.8rem);
    font-weight: 600;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.card-content p {
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.services-card.a {
    background-image: url(/Pictures/Services/general.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.b {
    background-image: url(/Pictures/Services/cosmetic.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.c {
    background-image: url(/Pictures/Services/implants.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.d {
    background-image: url(/Pictures/Services/Laser_Dentistry.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.e {
    background-image: url(/Pictures/Services/Periodontics.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.f {
    background-image: url(/Pictures/Services/EndoMicroscope2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.g {
    background-image: url(/Pictures/Services/Orthodontics.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.h {
    background-image: url(/Pictures/Services/Pedodontics_2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.i {
    background-image: url(/Pictures/Services/Oral_surgery.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.services-card.j {
    background-image: url(/Pictures/Services/Prosthodontics_2.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

@media (max-width: 768px) {
    .services {
        padding: 1rem;
        gap: 15px;
    }

    .services > h1 {
        margin-bottom: 1rem;
    }

    .services .container {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .services-card {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .services > h1 {
        font-size: 1.8rem;
        padding-bottom: 10px;
    }

    .services > h1::after {
        width: 60px;
    }

    .services-card {
        height: 250px;
    }

    .card-content {
        bottom: 15px;
        left: 15px;
        right: 15px;
    }

    .card-content h2 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .card-content p {
        font-size: 0.9rem;
    }
}





.testimonials {
    padding: 2rem 1rem;
    background: #fff;
    overflow: hidden;
    text-align: center;
    position: relative;
    margin-left: 3.5rem ;
    margin-right: 3.5rem;
  }
  .testimonials h1{
    font-size: 3rem;
    color: var(--text-color);
    text-align: center;
    /* margin-bottom: 1rem;
    margin-top: 1rem; */
    font-weight: 700;
    position: relative;
  }
  
  .carousel-container {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  
  .carousel-container::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-card {
    flex: 0 0 90%;
    max-width: 560px;
    margin: 0 auto;
    background: var(--background-light);
    color: var(--text-color);
    border-radius: 16px;
    padding: 1.5rem;
    scroll-snap-align: center;
    
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  
  .stars {
    font-size: 1.2rem;
    color: #dab42c;
    text-align: left;
    margin-bottom: 1rem;
  }
  
  .quote h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    text-align: left;
  }
  
  .quote p {
    font-size: 0.95rem;
    color: var(--text-color);
    text-align: left;
  }
  
  hr {
    border: 0;
    border-top: 1px solid #444;
    margin: 1rem 0;
  }
  
  .author {
    text-align: left;
  }
  
  .author h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color);
  }
  
  .author p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-color);
  }
  
  #dots {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 8px;
  }
  
  .dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: var(--text-color);
  }
  
  .google-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #58bbda;
    text-decoration: underline;
    font-weight: 600;
  }
  
  /* Responsive Tweaks */
  @media (max-width: 768px) {
    .testimonials{
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .carousel-card {
      padding: 1rem;
      flex: 0 0 95%;
    }
  
    .quote h2 {
      font-size: 1.1rem;
    }
  
    .quote p,
    .author p {
      font-size: 0.85rem;
    }
  }
  
  @media (max-width: 480px) {
    .testimonials{
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .carousel-card {
      padding: 0.8rem;
      flex: 0 0 100%;
    }
  
    .stars {
      font-size: 1rem;
    }
  
    .quote h2 {
      font-size: 1rem;
    }
  
    .quote p {
      font-size: 0.8rem;
    }
  
    .author h4 {
      font-size: 0.95rem;
    }
  
    .author p {
      font-size: 0.8rem;
    }
  
    .google-link {
      font-size: 0.9rem;
    }
  }
  


/* .testimonials {
    padding: 2rem;
    background: #fff;
    overflow: hidden;
    text-align: center;
    position: relative;
    margin-left: 3rem;
    margin-right: 3rem;
  }
  .testimonials h1{
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    margin-top: 2rem;
  }
  
  .carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; 
  }
  
  .carousel-container::-webkit-scrollbar {
    display: none;
  }
  
  .carousel-card {
    flex: 0 0 90%;
    max-width: 560px;
    margin: 0 auto;
    background: var(--background-light);
    color: var(--text-color);
    border-radius: 16px;
    padding: 1.5rem;
    scroll-snap-align: center;
    
  }
  
  .user-info {
    display: flex;
    align-items: left;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  
  .user-info img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }
  .quote p {
    text-align: left;
  }
  
  .quote h2 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
  }
  
  .dots {
    margin-top: 1rem;
  }
  
  .dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.3s;
  }
  
  .dots span.active {
    background: #333;
  }
  
  .google-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #27b4df;
    text-decoration: underline;
    font-weight: 600;
  }
   */
  












.dentists {
    padding: 60px 20px;
    background-color: var(--primary-color);
    min-height: 100vh;
}

.dentists .container {
    width: 98%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.dentists .container h2 {
    /* text-align: center;
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 40px;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 15px; */
    font-size: 3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    width: 100%;
}

.dentists .container h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(
        to right,
        var(--primary-color),
        var(--secondary-color)
    );
    border-radius: 2px;
}

.dentist-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.dentist-card {
    background-color: var(--background-light);
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: row;
    width: 100%;
}

.dentist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.card-image {
    flex: 0 0 450px;
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dentist-card:hover .card-image img {
    transform: scale(1.05);
}

.dentist-card-content {
    flex: 2;
    padding: 30px;
}

.dentist-card h3 {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 600;
}

.dentist-card .qualification {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-dark);
    margin-bottom: 15px;
    font-weight: 500;
}

.dentist-card .awards {
    color: var(--text-dark);
    background-color: rgba(var(--primary-color-rgb), 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.dentist-card .certificates {
    color: var(--text-light);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 15px;
    border-left: 3px solid var(--text-light);
    background-color: rgba(var(--primary-color-rgb), 0.05);
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.dentist-card .description {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
}

.dentist-card .description i {
    color: var(--text-light);
    font-weight: 500;
}

/* Media Queries */
@media (max-width: 900px) {
    .dentist-card {
        flex-direction: column;
    }
    .dentists .container h2 {
        font-size: 3rem;
    }

    .card-image {
        flex: 0 0 auto;
        height: 100%;
        overflow: visible;
    }
    .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }
}

@media (max-width: 768px) {
    .dentists {
        padding: 40px 15px;
    }

    .container h2 {
        margin-bottom: 30px;
    }
    .dentists .container h2 {
        font-size: 1.8rem;
    }

    .dentist-cards {
        gap: 30px;
    }

    .dentist-card-content {
        padding: 20px;
    }
    .card-image {
        height: 100%;
    }

}

@media (max-width: 480px) {
    .dentists {
        padding: 30px 10px;
    }

    .card-image {
        height: 100%;
    }

    .dentist-card-content {
        padding: 15px;
    }

    .dentist-card .awards,
    .dentist-card .certificates {
        padding: 8px 12px;
    }
}





/*About section*/
:root {
    /* --primary: #2A3342;
    --secondary: #4F46E5;
    --accent: #818CF8;
    --background: #F9FAFB;
    --text: #1F2937;
    --text-light: #6B7280;
    --card-bg: #FFFFFF; */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

/* About Section Base */
.about {
    background-color: var(--background-light);
    padding: 100px 0;
    overflow: hidden;
}

.about .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Section Title */
.section-title {
    font-size: 3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
}

/* .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    border-radius: 2px;
} */

/* Content Layout */
.about-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Content Cards */
.content-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow);
    /* margin-bottom: 1.5rem; */
    background-color: var(--accent-color);
    margin-top: 1rem;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1.1rem;
}

.since {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 1rem 0;
    padding: 1rem;
    border-top: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
}

.gallery-wrapper {
    position: relative;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.gallery-item {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease;
}

.gallery-item.large {
    grid-column: span 2;
    height: 400px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:not(.large) {
    height: 300px;
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.overlay span {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .gallery-item.large {
        grid-column: span 1;
        height: 300px;
    }

    .content-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .content-card p {
        font-size: 1rem;
    }

    .gallery-item,
    .gallery-item.large {
        height: 250px;
    }

    .overlay {
        padding: 1rem;
    }

    .btn-modern {
        padding: 0.8rem 1.5rem;
    }
}








.gallery{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 1rem;
    padding-bottom: 1rem;
    

}

.gallery-section-title {
    font-size: 3rem;
    color: var(--text-color);
    text-align: center;
    /* margin-bottom: 1rem;
    margin-top: 1rem; */
    font-weight: 700;
    position: relative;
}

.gallery-carousel-container {
    position: relative;
    width: 100%;
    height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    perspective: 1200px; 
  }
 
  .gallery-carousel-track {
    position: relative;
    width: 80%;
    max-width: 1000px;
    height: 90vh;
    max-height: 700px;
    margin: 0 auto;
    transform-style: preserve-3d; 
    
  }

  .gallery-carousel-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 380px;
    height: 520px;
    transform-style: preserve-3d;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2); */
    transition: transform 0.8s ease-in-out, opacity 0.8s ease-in-out;
    /* margin: 5rem; */
  }

  .gallery-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .gallery-carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 1rem 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s;
  }
  .gallery-carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
  }
  .gallery-prev-button {
    left: 5%;
  }
  .gallery-next-button {
    right: 5%;
  }

  @media (max-width: 768px) {
    .gallery-carousel-item {
      width: 300px;
      height: 410px;
    }
    .gallery-carousel-container {
        height: 60vh;
      }
      .gallery-section-title {
        font-size: 1.8rem;
      }
  }
  @media (max-width: 480px) {
    .gallery-carousel-item {
      width: 280px;
      height: 400px;
    }
    .gallery-carousel-button {
      padding: 0.75rem 1rem;
      font-size: 1.2rem;
    }
    .gallery-carousel-container {
        height: 60vh;
      }
    .gallery-section-title {
        font-size: 1.8rem;
      }
  }






.footer {
    position: relative;
    background: var(--primary-color);
    color: var(--text-color);
    overflow: hidden;
    padding: 120px 0 40px;
    font-family: 'Inter', sans-serif;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.shape {
    position: absolute;
    background: #a3e5f9;
    border-radius: 50%;
}

.shape-1 {
    width: 500px;
    height: 500px;
    top: -250px;
    right: -100px;
    animation: float 15s ease-in-out infinite;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -50px;
    animation: float 20s ease-in-out infinite reverse;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 40%;
    left: 50%;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(20px, 20px) rotate(180deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

/* Footer Content */
.footer-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Newsletter Section */
.newsletter-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 80px;
    backdrop-filter: blur(10px);
    
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: 12px;
    
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1rem;
}

.subscribe-btn {
    padding: 15px 30px;
    border-radius: 12px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Footer Grid */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 60px;
    margin-bottom: 80px;
}

/* Brand Column */
.brand-column {
    padding-right: 40px;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 25px;
    filter: brightness(0) invert(1);
}

.brand-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.awards-section {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 30px;
    font-size: 0.9rem;
    color: #27b4df;
}

.award-badge i {
    color:#27b4df;
}

/* Footer Columns */
.footer-column h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
}


.animated-list {
    list-style: none;
    padding: 0;
}

.animated-list li {
    margin-bottom: 15px;
}

.animated-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

/* .animated-list a::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #6366f1, #8b5cf6);
    transition: width 0.3s ease;
} */

.animated-list a:hover {
    color: #fff;
    transform: translateX(5px);
}

.animated-list a:hover::before {
    width: 100%;
}

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-card {
    background: rgba(255, 255, 255, 0.256);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s ease;
    
}

.contact-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.505);
}

.contact-card i {
    font-size: 1.5rem;
    color: #27b4df;
    padding: 12px;
    background: rgba(255, 255, 255, 0.695);
    border-radius: 12px;
}

.contact-details h4 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--text-color);
}

.contact-details p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Map Section */
.map-section {
    margin-bottom: 60px;
}

.map{
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* Footer Bottom */
.footer-bottom {
    
    padding-top: 40px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: var(--text-light);
}

.trademark {
    font-size: 0.8rem;
    margin-top: 5px;
    opacity: 0.7;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: #27b4df;
    font-size: 2rem;
    transition: all 0.3s ease;
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.social-icon:hover {
    color: #27b4df;
    background: #ffffff5f;
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .brand-column {
        grid-column: span 2;
        padding-right: 0;
        text-align: center;
    }

    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .awards-section {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 80px 0 40px;
    }

    /* .newsletter-form {
        
    } */

}



@media screen and (max-width: 1175px){
    .hover-link {
        font-size: 0.8rem;
        padding: 0.4rem;
    }
    .nav-links.li.a{
        font-size: 0.8;
    }
}


@media screen and (max-width: 1020px) {
    
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        margin: 10px;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 15px;
    }



    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle span {
        display: block;
        width: 25px;
        height: 3px;
        background-color: var(--text-color);
        margin: 5px 0;
        transition: 0.3s;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .hero-content {
        left: 20px;
    }

    .about .container {
        flex-direction: column;
    }

    .about-images {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-column {
        margin-right: 0;
        margin-bottom: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    
    .container {
        padding: 0 10px;
    }

    .logo span{
        font-size: 14px;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    

    .services,
    .about,
    .appointment {
        padding: 60px 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .dentist-cards {
        grid-template-columns: 1fr;
    }
}
