/* Global Form Element Reset */
* {
  box-sizing: border-box;
}



/* Re-enable animations for services section */
.service-item {
  animation: fadeInUp 1s ease-in-out !important;
  transition: transform 0.3s ease !important;
}

.service-item:hover {
  transform: translateY(-10px) !important;
  transition: transform 0.3s ease !important;
}

input, textarea, button, select {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button {
  background: none;
  cursor: pointer;
}

/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #F57E57;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/* Gallery CSS */
.gallery-item {
    margin-bottom: 30px;
    overflow: hidden;
}

.gallery-item .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(9, 30, 62, 0.7);
    transition: 0.5s;
    opacity: 0;
}

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

.gallery-item .gallery-content {
    position: relative;
    text-align: center;
}

.gallery-item .gallery-content a.btn {
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    transform: scale(0);
}

.gallery-item:hover .gallery-content a.btn {
    transform: scale(1);
}

/* Flip Card Effect for Services - Cleaned and Accessible */




/* Custom CSS for Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: start;
    z-index: 1;
    background: rgba(9, 30, 62, 0.7);
}

.hero-overlay .bg-white {
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
}

.hero-overlay .form-floating > label {
    left: 12px;
}

.hero-overlay .form-control {
    border-radius: 5px;
    border: 1px solid #ced4da;
}

.hero-overlay .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 0.25rem rgba(6, 163, 218, 0.25);
}


@media (max-width: 1200px) {
    .hero-overlay h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-overlay h1 {
        font-size: 3rem;
    }
    
    .hero-overlay .p-3 {
        padding: 1.5rem !important;
    }
    
    .hero-overlay .btn {
        padding: 0.5rem 1.5rem !important;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .hero-overlay .row {
        flex-direction: column;
        padding: 0 15px;
    }
    
    .hero-overlay .col-lg-7 {
        text-align: center !important;
        margin-bottom: 2rem;
    }
    
    .hero-overlay h1 {
        font-size: 2rem;
    }
    
    .hero-overlay .bg-white {
        width: 100%;
    }
    
    .hero-overlay .animated {
        animation-duration: 0.8s;
    }
    
    .hero-section {
        margin-bottom: 20px;
        max-height: none;
    }
    
    .hero-overlay {
        position: relative;
        padding: 30px 0;
        height: auto;
    }
    
    .hero-section img {
        height: 100%;
        object-fit: cover;
        position: absolute;
    }
}

@media (max-width: 576px) {
    .hero-overlay h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem !important;
    }
    
    .hero-overlay h5 {
        font-size: 1rem;
    }
    
    .hero-overlay .btn {
        padding: 0.4rem 1.2rem !important;
        font-size: 0.85rem;
    }
    
    .hero-section {
        height: auto;
        overflow: visible;
    }
    
    .hero-overlay {
        position: relative;
        background: rgba(9, 30, 62, 0.9);
        padding-bottom: 40px;
        height: auto;
        min-height: 100%;
    }
    
    .hero-section img {
        min-height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -1;
    }
    
 
    .service-back p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
    
    .service-back .btn {
        padding: 0.4rem 1.2rem !important;
        font-size: 0.85rem;
    }
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    padding: 35px 15px;
    font-size: 18px;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
    }
}

/* Added CSS to fix Dr. KARAKARADDI'S text cutting on small screens */
@media (max-width: 767.98px) {
    .navbar-brand {
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0.5rem 0;
    }

    .navbar-brand img {
        height: 60px !important;
        margin-bottom: 0.3rem;
    }

    .navbar-brand h1 {
        font-size: 1.2rem;
        white-space: normal;
        line-height: 1.1;
        margin: 0;
    }

    .navbar-light .navbar-nav .nav-link {
        padding: 8px 10px !important;
        font-size: 16px;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .85);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (min-width: 991.98px) {
    .banner {
        position: relative;
        margin-top: -90px;
        z-index: 1;
    }
}

.section-title h5::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 3px;
    right: -55px;
    bottom: 11px;
    background: var(--primary);
}

.section-title h5::after {
    position: absolute;
    content: "";
    width: 15px;
    height: 3px;
    right: -75px;
    bottom: 11px;
    background: var(--secondary);
}

.twentytwenty-wrapper {
    height: 100%;
}

.hero-header {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.bg-appointment {
    background: linear-gradient(rgba(9, 30, 62, .85), rgba(9, 30, 62, .85)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.appointment-form {
    background: rgba(6, 163, 218, .7);
}

.service-item img,
.service-item .bg-light,
.service-item .bg-light h5,
.team-item .team-text {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.15);
}

.team-item .team-text::after,
.service-item .bg-light::after {
    position: absolute;
    content: "";
    top: 50%;
    bottom: 0;
    left: 15px;
    right: 15px;
    border-radius:100px / 15px;
    box-shadow: 0 0 15px rgba(0, 0, 0, .7);
    opacity: 0;
    transition: .5s;
    z-index: -1;
}

.team-item:hover .team-text::after,
.service-item:hover .bg-light::after {
    opacity: 1;
}


.bg-offer {
    background:url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.offer-text {
    background: rgba(6, 163, 218, .85);
}

.price-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 45px);
    height: 45px;
    top: calc(50% - 22.5px);
    left: -22.5px;
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
}

.price-carousel:hover .owl-nav {
    opacity: 1;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.bg-testimonial {
    background: url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-carousel {
    background: rgba(6, 163, 218, .85);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: calc(100% + 46px);
    height: 46px;
    top: calc(50% - 23px);
    left: -23px;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 22px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    background: var(--secondary);
}

.testimonial-carousel .owl-item img {
    width: 120px;
    height: 120px;
}

.testimonial-carousel {
    -webkit-user-select: auto;
    -moz-user-select: auto;
    -ms-user-select: auto;
    user-select: auto;
}

/* Custom About Us Section Styles */
.about-section {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    background: #fff;
}

.about-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

.about-image img {
    width: 350px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-content {
    padding: 20px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.about-content h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.about-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.know-more-btn {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 10px 18px;
    margin-top: 15px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.know-more-btn:hover {
    background-color: #162d6a;
}

.quote {
    font-style: italic;
    margin-top: 20px;
    color: #555;
}

.doctor {
    margin-top: 5px;
    font-size: 14px;
    color: #444;
    text-align:center;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-container {
        flex-direction: column;
        align-items: center;
    }
    .about-image img {
        width: 100%;
        max-height: 300px;
    }
    .about-content {
        padding: 20px 15px;
    }
}

@media (max-width: 600px) {
    .about-section {
        padding: 20px 0;
    }
    .about-content h2 {
        font-size: 22px;
    }
    .about-content h3 {
        font-size: 15px;
    }
    .about-content p {
        font-size: 13px;
    }
    .about-image img {
        max-height: 200px;
    }
}

body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
}
.expertise-section {
  padding: 50px 20px;
  text-align: center;
  background: #f9f9f9;
}

.section-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #22223b;
}

.section-description {
  font-size: 16px;
  color: #666;
  margin-bottom: 40px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.expertise-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.expertise-card {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 18px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  flex: 1 1 calc(33.33% - 32px);  /* 3 per row with gap */
  max-width: calc(33.33% - 32px);
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 24px;
  transition: box-shadow 0.2s;
  position: relative;
}

.expertise-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.13);
}

.expertise-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}

.expertise-content {
  padding: 28px 24px 0 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.expertise-content h3 {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #22223b;
  text-align: left;
}

.expertise-content p {
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: left;
  flex: 1;
}

.learn-more {
  font-size: 15px;
  font-weight: bold;
  color: #22223b;
  text-decoration: none;
  margin-top: 24px;
  text-align: left;
  display: inline-block;
}

.learn-more:hover {
  text-decoration: underline;
}

/* Tablet - 2 cards per row */
@media (max-width: 1100px) {
  .expertise-card {
    flex: 1 1 calc(50% - 32px);
    max-width: calc(50% - 32px);
  }
}

/* Mobile - 1 card per row */
@media (max-width: 600px) {
  .expertise-section {
    padding: 20px 5px;
  }
  .section-title {
    font-size: 22px;
  }
  .expertise-cards {
    flex-direction: column;
    align-items: center;
  }
  .expertise-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .expertise-image {
    height: 120px;
  }
}
/* Fix for Why Choose Us section background and icon overlap */
.why-choose-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  padding: 60px 0;
}

.why-choose-container {
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  max-width: 1100px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 48px 48px 48px 48px;
  align-items: center;
  gap: 48px;
}

.why-choose-image-col {
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-choose-image {
  width: 320px;
  height: 500px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  background: #fff;
}

.why-choose-content-col {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #000; /* CHANGED */
  text-align: center;
}

.why-choose-title {
  color: #ffb347;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-align: center;
}

.why-choose-underline {
  width: 60px;
  height: 4px;
  background: #ffb347;
  border-radius: 2px;
  margin-bottom: 24px;
}

.why-choose-desc {
  color: #000; /* CHANGED */
  font-size: 1.08rem;
  margin-bottom: 32px;
  text-align: center;
  max-width: 600px;
}

.why-choose-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  width: 100%;
}

.why-choose-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.why-choose-icon {
  width: 44px;
  height: 44px;
  background: #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-choose-icon .material-icons {
  font-size: 2rem;
  color: #fff;
}

.why-choose-feature-title {
  font-size: 1.13rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: #000; /* CHANGED */
}

.why-choose-feature-desc {
  font-size: 0.98rem;
  color: #000; /* CHANGED */
  line-height: 1.5;
}

@media (max-width: 900px) {
  .why-choose-container {
    flex-direction: column;
    align-items: center;
    padding: 32px 12px;
    gap: 32px;
  }
  .why-choose-image {
    width: 90vw;
    max-width: 340px;
    height: 220px;
  }
  .why-choose-content-col {
    align-items: flex-start;
    width: 100%;
  }
  .why-choose-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.testimonial-section {
  background: #fff !important;
  padding: 60px 0 40px 0;
  text-align: center;
}

.testimonial-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 48px;
  color: #22223b;
}

.owl-carousel.testimonial-carousel {
  display: block;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0 28px 0 28px;
  max-width: 700px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

.testimonial-text {
  font-size: 1.13rem;
  color: #444;
  font-style: italic;
  margin-bottom: 32px;
  text-align: center;
  line-height: 1.7;
}

.testimonial-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 4px;
  border: 2px solid #eee;
}

.testimonial-name {
  font-size: 1rem;
  color: #22223b;
  font-weight: 600;
}

.owl-dots {
  text-align: center;
  margin-top: 24px;
}
.owl-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  margin: 0 6px;
  transition: background 0.2s;
}
.owl-dot.active {
  background: #2366b8;
}

@media (max-width: 900px) {
  .testimonial-card {
    max-width: 95vw;
    min-width: 0;
    padding: 0 8vw;
  }
}

.team-section {
  padding: 60px 0 40px 0;
  text-align: center;
}

.team-title {
  color: #ffb347;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.team-desc {
  color: #000;
  font-size: 1.08rem;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.team-cards {
  display: flex;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: none;
  box-shadow: none;
  padding: 0;
}

.team-image {
  width: 500px;       /* Larger width on desktop */
  height: 420px;      /* Taller height on desktop */
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.team-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ffb347;
  margin-bottom: 6px;
}

.team-title-desc {
  font-size: 1.2rem;
  color: #000;
  text-align: center;
}

@media (max-width: 900px) {
  .team-cards {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .team-member {
    width: 95vw;
    max-width: 340px;
  }
}


/* Responsive for mobile */
@media (max-width: 768px) {
  .team-image {
    width: 220px;     /* Smaller width for mobile */
    height: 280px;    /* Smaller height for mobile */
  }
}
.contact-section {
  background: #fff;
  padding: 60px 0 60px 0;
  text-align: center;
}

.contact-title {
  color: #22223b;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.contact-desc {
  color: #555;
  font-size: 1.08rem;
  margin-bottom: 48px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.contact-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.contact-form-block {
  background: #233a8b;
  border-radius: 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  padding: 36px 32px 32px 32px;
  width: 580px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  border: none;
  outline: none;
  box-sizing: border-box;
  overflow: hidden;
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.contact-form-title {
  font-size: 1.7rem;
  font-weight: bold;
  color: #fff;
  margin: 0 0 24px 0;
  padding: 0;
  border: none;
  outline: none;
  text-align: left;
  width: 100%;
}

.contact-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contact-form label {
  color: #fff;
  font-size: 0.98rem;
  margin-bottom: 6px;
    text-align: left;
}

.contact-form-row {
  display: flex;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.contact-form-row .form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-form-row input,
.contact-form-row textarea {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  font-size: 1rem;
  background: #fff;
  color: #22223b;
  min-width: 0;
  margin: 0;
  box-sizing: border-box;
  outline: none;
}

.contact-form-row textarea {
  min-height: 60px;
  resize: vertical;
}

.contact-checkbox-row {
  flex-wrap: wrap;
  gap: 15px;
  font-size: 0.98rem;
  color: #fff;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.contact-checkbox-row label {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
}

.contact-checkbox-row input[type="checkbox"] {
  margin: 0;
  padding: 0;
  border: none;
  outline: none;
  accent-color: #2ecc71;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.contact-submit {
  background: #2ecc71;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
  font-size: 1.08rem;
  font-weight: bold;
  cursor: pointer;
  margin: 8px 0 0 0;
  transition: background 0.2s;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  display: block;
}

.contact-submit:hover {
  background: #27ae60;
}


.faq-section {
  width: 100%;
  margin-top: 16px;
  text-align: left;
}

.faq-table {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.faq-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
  cursor: pointer;
}

.faq-toggle {
  font-size: 1.2rem;
  background: none;
  border: none;
  color: #233a8b;
  font-weight: bold;
  cursor: pointer;
  width: 24px;
  height: 24px;
  line-height: 1;
}

.faq-question {
  font-weight: 600;
  font-size: 1rem;
  color: #233a8b;
  flex: 1;
}

.faq-answer {
  display: none;
  font-size: 0.95rem;
  color: #444;
  padding: 8px 36px;
  border-bottom: 1px solid #ccc;
}
}

/* Disable all wow animations and transitions */
.wow {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.fadeInUp, .fadeInDown, .fadeInLeft, .fadeInRight {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.slideInLeft, .slideInRight {
  animation: none !important;
  transition: none !important;
  transform: none !important;
}

.contact-info-block {
  color: #22223b;
  text-align: left;
  flex: 1 1 340px;
  min-width: 300px;
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 12px;
}

.contact-info-title {
  color: #2ecc71;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 18px;
  text-align: left;
}

.contact-hours {
  width: 100%;
  color: #22223b;
  margin-bottom: 24px;
  font-size: 1rem;
}

.contact-hours td {
  padding: 2px 8px 2px 0;
}

.contact-info-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-info-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 1rem;
}

.contact-info-icon {
  color: #2ecc71;
  font-size: 1.2rem;
  margin-top: 2px;
}

.contact-info-label {
  font-weight: bold;
  color: #2ecc71;
}

.contact-info-value {
  color: #22223b;
}

.contact-hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 1rem;
  color: #22223b;
}
.contact-hours-table th, .contact-hours-table td {
  border: 1px solid #e0e0e0;
  padding: 8px 12px;
  text-align: left;
}
.contact-hours-table th {
  background: #eaffea;
  color: #2ecc71;
  font-weight: bold;
}

@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .contact-form-block, .contact-info-block {
    width: 95vw;
    max-width: 400px;
  }
  .contact-info-title {
    text-align: center;
  }
}

/* Remove any negative margin or animation for contact section/footer */
.container-fluid.bg-dark, .container-fluid.text-light {
  margin-top: 0 !important;
}

.testimonial-section, .testimonial-section * {
  background: #fff !important;
}

/* Rating Section Styles */
.rating-section {
    padding: 40px 20px;
    background-color: #f0f2f5;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: 'Roboto', sans-serif;
    overflow: hidden;
}

.rating-container {
    display: flex;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 900px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    animation: none !important;
    transition: none !important;
    transform: none !important;
}

.overall-rating {
    background-color: #1a73e8;
    color: #fff;
    padding: 25px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    flex-shrink: 0;
    margin: 0;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.overall-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #1a73e8;
    z-index: -1;
}

.overall-rating h2 {
    font-size: 4em;
    margin: 0;
    font-weight: 900;
    line-height: 1;
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
}

.overall-rating p {
    font-size: 1em;
    margin-top: 5px;
    opacity: 0.8;
    font-family: 'Roboto', sans-serif;
    color: #ffffff;
}

.stars {
    color: #ffc107;
    font-size: 1.2em;
    letter-spacing: 2px;
    margin-top: 10px;
    font-family: 'Roboto', sans-serif;
}

.platform-ratings {
    display: flex;
    flex-grow: 1;
    padding: 20px 30px;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 0;
    border: none;
    outline: none;
}

.platform-rating-item {
    display: flex;
    align-items: center;
    margin: 15px;
    min-width: 180px;
    border: none;
    outline: none;
}

.platform-icon {
    font-size: 2.2em;
    margin-right: 15px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #4CAF50;
    color: white;
}

.platform-icon i {
    font-size: 1.2em;
}

.platform-icon.google {
    background: #4CAF50;
}

.platform-icon.yelp {
    background: #4CAF50;
}

.platform-icon.facebook {
    background: #4CAF50;
}

.platform-details span {
    display: block;
    font-size: 1.4em;
    font-weight: 800;
    color: #333;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

.platform-details small {
    font-size: 0.9em;
    color: #555;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    .rating-container {
        flex-direction: column;
    }
    
    .overall-rating {
        border-radius: 12px 12px 0 0;
        padding: 20px;
    }
    
    .overall-rating h2 {
        font-size: 3em;
    }
    
    .platform-ratings {
        flex-direction: column;
        padding: 20px;
    }
    
    .platform-rating-item {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .overall-rating h2 {
        font-size: 2.5em;
    }
    
    .platform-icon {
        font-size: 1.8em;
    }
    
    .platform-details span {
        font-size: 1.1em;
    }
    
    .platform-details small {
        font-size: 0.75em;
    }
}

/* Comprehensive Responsive Design for All Devices */

/* Extra Large Devices (Desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .rating-container {
        max-width: 1000px;
    }
    
    .about-container {
        max-width: 1100px;
    }
    
    .expertise-cards {
        gap: 30px;
    }
    
    .why-choose-container {
        max-width: 1200px;
    }
    
    .contact-container {
        max-width: 1000px;
    }
}

/* Large Devices (Desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
    .rating-container {
        max-width: 900px;
    }
    
    .about-container {
        max-width: 1000px;
    }
    
    .expertise-cards {
        gap: 25px;
    }
    
    .why-choose-container {
        max-width: 1100px;
    }
    
    .contact-container {
        max-width: 900px;
    }
}

/* Medium Devices (Tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
    .rating-container {
        max-width: 800px;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image img {
        width: 100%;
        max-width: 400px;
        margin-bottom: 20px;
    }
    
    .expertise-cards {
        gap: 20px;
        justify-content: center;
    }
    
    .card {
        width: 280px;
    }
    
    .why-choose-container {
        flex-direction: column;
        text-align: center;
    }
    
    .why-choose-image-col {
        margin-bottom: 30px;
    }
    
    .why-choose-image {
        width: 100%;
        max-width: 500px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-form-block {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .contact-info-block {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .team-cards {
        justify-content: center;
        gap: 30px;
    }
    
    .team-member {
        width: 300px;
    }
}

/* Small Devices (Landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767px) {
    .rating-container {
        flex-direction: column;
        max-width: 500px;
    }
    
    .overall-rating {
        border-radius: 12px 12px 0 0;
        padding: 20px;
    }
    
    .platform-ratings {
        flex-direction: column;
        padding: 20px;
    }
    
    .platform-rating-item {
        margin: 10px 0;
        justify-content: center;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .about-image img {
        width: 100%;
        max-width: 350px;
        margin-bottom: 20px;
    }
    
    .about-content {
        padding: 20px;
    }
    
    .expertise-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .card {
        width: 100%;
        max-width: 350px;
    }
    
    .why-choose-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .why-choose-image-col {
        margin-bottom: 30px;
    }
    
    .why-choose-image {
        width: 100%;
        max-width: 400px;
    }
    
    .why-choose-features {
        gap: 20px;
    }
    
    .why-choose-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 30px;
        padding: 20px;
    }
    
    .contact-form-block {
        width: 100%;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .contact-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form-row input,
    .contact-form-row textarea {
        width: 100%;
    }
    
    .contact-info-block {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-checkbox-row {
        gap: 10px;
        justify-content: center;
    }
    
    .contact-checkbox-row label {
        font-size: 0.9rem;
    }
    
    .team-section {
        padding: 20px 10px;
    }
    
    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .team-member {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial-section {
        padding: 20px 10px;
    }
    
    .testimonial-carousel {
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    /* Hero section responsive */
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-form {
        margin-left: 0;
        margin-top: 20px;
    }
    
    /* Gallery responsive */
    .gallery-item img {
        height: 200px;
    }
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575px) {
    .rating-section {
        padding: 20px 10px;
    }
    
    .rating-container {
        flex-direction: column;
        max-width: 100%;
    }
    
    .overall-rating {
        border-radius: 12px 12px 0 0;
        padding: 15px;
    }
    
    .overall-rating h2 {
        font-size: 2.5em;
    }
    
    .platform-ratings {
        flex-direction: column;
        padding: 15px;
    }
    
    .platform-rating-item {
        margin: 8px 0;
        justify-content: center;
    }
    
    .about-section {
        padding: 20px 10px;
    }
    
    .about-container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .about-image img {
        width: 100%;
        max-width: 300px;
        margin-bottom: 15px;
    }
    
    .about-content {
        padding: 15px;
    }
    
    .about-content h2 {
        font-size: 24px;
    }
    
    .about-content h3 {
        font-size: 16px;
    }
    
    .expertise-section {
        padding: 20px 10px;
    }
    
    .expertise-cards {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .card {
        width: 100%;
        max-width: 300px;
        padding: 15px;
    }
    
    .why-choose-section {
        padding: 20px 10px;
    }
    
    .why-choose-container {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .why-choose-image-col {
        margin-bottom: 20px;
    }
    
    .why-choose-image {
        width: 100%;
        max-width: 300px;
    }
    
    .why-choose-title {
        font-size: 24px;
    }
    
    .why-choose-features {
        gap: 15px;
    }
    
    .why-choose-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-section {
        padding: 20px 10px;
    }
    
    .contact-container {
        flex-direction: column;
        gap: 20px;
        padding: 15px;
    }
    
    .contact-form-block {
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }
    
    .contact-checkbox-row {
        gap: 8px;
        justify-content: center;
    }
    
    .contact-checkbox-row label {
        font-size: 0.85rem;
    }
    
    .contact-form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .contact-form-row input,
    .contact-form-row textarea {
        width: 100%;
    }
    
    .contact-info-block {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .team-section {
        padding: 20px 10px;
    }
    
    .team-cards {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .team-member {
        width: 100%;
        max-width: 300px;
    }
    
    .testimonial-section {
        padding: 20px 10px;
    }
    
    .testimonial-carousel {
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 20px 15px;
    }
    
    /* Hero section responsive */
    .hero-container {
        grid-template-columns: 1fr;
        padding: 0 5%;
    }
    
    .hero-text h1 {
        font-size: 28px;
    }
    
    .hero-form {
        margin-left: 0;
        margin-top: 20px;
    }
    
    /* Gallery responsive */
    .gallery-item img {
        height: 200px;
    }
}

/* Fix for very small devices (less than 400px) */
@media (max-width: 399px) {
    .rating-container {
        margin: 0 5px;
    }
    
    .overall-rating h2 {
        font-size: 2em;
    }
    
    .platform-icon {
        width: 35px;
        height: 35px;
        font-size: 1.5em;
    }
    
    .about-content h2 {
        font-size: 20px;
    }
    
    .about-content h3 {
        font-size: 14px;
    }
    
    .card h3 {
        font-size: 14px;
    }
    
    .why-choose-title {
        font-size: 20px;
    }
    
    .contact-form-block {
        max-width: 320px;
    }
    
    .team-member {
        max-width: 250px;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-container {
        min-height: 100vh;
    }
    
    .rating-section {
        padding: 15px 10px;
    }
    
    .about-section {
        padding: 15px 10px;
    }
    
    .expertise-section {
        padding: 15px 10px;
    }
    
    .why-choose-section {
        padding: 15px 10px;
    }
    
    .contact-section {
        padding: 15px 10px;
    }
    
    .team-section {
        padding: 15px 10px;
    }
    
    .testimonial-section {
        padding: 15px 10px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .about-image img,
    .why-choose-image,
    .card img,
    .team-image,
    .testimonial-avatar {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .rating-section,
    .about-section,
    .expertise-section,
    .why-choose-section,
    .contact-section,
    .team-section,
    .testimonial-section {
        page-break-inside: avoid;
    }
    
    .rating-container,
    .about-container,
    .expertise-cards,
    .why-choose-container,
    .contact-container,
    .team-cards {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Final Fixes for White Borders and Shaking */
/* section, div, form, input, textarea, button {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  border: none !important;
  outline: none !important;
} */

/* Ensure no white borders on any elements */
/* .rating-section, .about-section, .expertise-section, .why-choose-section, .contact-section, .team-section, .testimonial-section {
  border: none !important;
  outline: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
} */

/* Fix for any remaining white borders */
/* .rating-container, .about-container, .expertise-cards, .why-choose-container, .contact-container, .team-cards {
  border: none !important;
  outline: none !important;
  animation: none !important;
  transition: none !important;
  transform: none !important;
} */

/* Disable all hover effects that might cause shaking */
/* *:hover {
  animation: none !important;
  transition: none !important;
  transform: none !important;
} */

/* Ensure smooth rendering without shaking */
html, body {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  overflow-x: hidden;
}

/* Responsive styling for section descriptions */
@media (max-width: 768px) {
    .section-title {
        font-size: 36px;
    }
    
    .section-description {
        font-size: 15px;
        max-width: 500px;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 32px;
    }
    
    .section-description {
        font-size: 14px;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 28px;
    }
    
    .section-description {
        font-size: 13px;
        max-width: 350px;
    }
}

/* 1. Hero Section Mobile Gradient Fix */
@media (max-width: 768px) {
  .hero-container {
    background: linear-gradient(to bottom, rgba(46, 184, 114, 0.9) 60%, rgba(33, 150, 243, 0.9) 60%);
  }
}

/* 2. Service Card Flip Sensitivity + will-change for smoothness */
.service-card {
  transition: transform 0.6s ease !important;
  will-change: transform;
}
.service-card .service-front * {
  pointer-events: none;
}
.service-card .service-back,
.service-card .service-back * {
  pointer-events: auto;
}


/* 3. Certification Slider Layout on Mobile */
@media (max-width: 768px) {
  .certification-carousel {
    margin-top: 20px;
  }
}

/* 4. Testimonial Carousel Dots Size on Mobile */
@media (max-width: 576px) {
  .owl-dot {
    width: 16px !important;
    height: 16px !important;
  }
}

/* 5. Contact Form Checkbox Layout on Mobile */
@media (max-width: 576px) {
  .contact-checkbox-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* 6. Team Section Image Min Width */
.team-image {
  min-width: 200px;
  height: auto;
}

/* 7. Footer Columns Responsive */
@media (max-width: 768px) {
  .footer-column {
    width: 50%;
    margin-bottom: 20px;
  }
}

/* 8. Spinner Z-Index */
#spinner {
  z-index: 99999 !important;
}

/* 9. iOS Viewport Height Bug Fix */
.hero {
  height: 100vh;
  height: -webkit-fill-available;
}

/* 10. Gallery Image Object-Fit (add width/height in HTML as well) */
.gallery-item img {
  object-fit: cover;
}

/* Fixed Smooth Auto Slider Styles */
.certification-carousel,
.testimonial-carousel {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.smooth-slider-container {
    position: relative;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-item,
.testimonial-card {
    display: none;
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin: 0 auto;
    max-width: 90%;
    width: 100%;
}

/* Ensure items are properly positioned */
.smooth-slider-container .certification-item,
.smooth-slider-container .testimonial-card {
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
}

.certification-item img {
    max-width: 100%;
    height: 120px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Testimonial specific styles */
.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
}

.testimonial-person {
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: bold;
    color: #333;
}

/* Smooth Dots for Testimonial Slider */
.smooth-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.smooth-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    transition: all 0.3s ease;
}

.smooth-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

/* Smooth fade animations */
.smooth-slider-container .certification-item,
.smooth-slider-container .testimonial-card {
    animation: fadeInOut 0.8s ease-in-out;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Carousel Styles */
.testimonial-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.testimonial-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 32px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin: 0 15px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-person {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.testimonial-name {
    font-weight: bold;
}

/* Owl Carousel Navigation Arrows */
.owl-nav {
    text-align: center;
    margin-top: 20px;
}

.owl-nav button {
    background: #007bff !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    margin: 0 10px;
    font-size: 20px !important;
    line-height: 40px !important;
}

.owl-nav button:hover {
    background: #0056b3 !important;
}

/* Ensure carousel items are visible */
.owl-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.owl-stage {
    display: flex !important;
}

.owl-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Force carousel visibility */
.certification-carousel,
.testimonial-carousel {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Ensure navigation arrows are visible */
.owl-nav {
    display: block !important;
    visibility: visible !important;
}

.owl-nav button {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/*Service*/






/* Service Card Flip Animation - Fixed Version */ 
.service-card-wrapper { 
  perspective: 1000px; 
  height: 100%; /* Ensure wrapper takes full height */ 
  margin-bottom: 30px; 
} 

.service-card { 
  width: 100%; 
  height: 100%; 
  position: relative; 
  transform-style: preserve-3d; 
  transition: all 0.5s ease; 
} 

.service-inner { 
  position: relative; 
  width: 100%; 
  height: 100%; 
  transform-style: preserve-3d; 
  transition: transform 0.6s ease; 
} 

.service-card:hover .service-inner { 
  transform: rotateY(180deg); 
} 

.service-front, .service-back { 
  position: absolute; 
  width: 100%; 
  height: 100%; 
  backface-visibility: hidden; 
  -webkit-backface-visibility: hidden; /* Safari fix */ 
  border-radius: 5px; 
  overflow: hidden; 
} 

.service-front { 
  background-color: #fff; 
  transform: rotateY(0deg); 
  z-index: 2; 
  display: flex; 
  flex-direction: column; 
} 

.service-back { 
  background-color: var(--light); 
  color: var(--dark); 
  transform: rotateY(180deg); 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  padding: 20px; 
  text-align: center; 
  box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
} 

/* Front content styling */ 
.service-front .rounded-top { 
  flex: 1; 
  overflow: hidden; 
} 

.service-front .rounded-top img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
} 

.service-front .position-relative { 
  padding: 20px; 
  text-align: center; 
} 

/* Back content styling */ 
.service-back h5 { 
  font-weight: 600 !important; 
  margin-bottom: 15px; 
} 

.service-back p { 
  margin-bottom: 20px; 
  font-size: 0.95rem; 
  line-height: 1.5; 
} 

/* Fix for consistent height */ 
.service-item { 
  height: 350px; /* Fixed height for all cards */ 
} 

/* Ensure images maintain aspect ratio */ 
.service-item img { 
  width: 100%; 
  height: 200px; /* Fixed height for images */ 
  object-fit: cover; 
} 

/* Accessibility: Focus style for buttons */ 
.service-back .btn:focus { 
  outline: 2px solid var(--primary); 
  outline-offset: 2px; 
}

/* Re-enable flip for service cards */
.service-card:hover .service-inner {
  transition: transform 0.6s cubic-bezier(0.4,0.2,0.2,1) !important;
  transform: rotateY(180deg) !important;
  animation: none !important;
}

/* Disable all hover effects that might cause shaking */
/* *:hover {
  animation: none !important;
  transition: none !important;
  transform: none !important;
} */

/* Custom Detail Section Styles */
.detail-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
    background: #fff;
}

.detail-container-reverse {
    flex-direction: row-reverse;
}

.detail-container {
    display: flex;
    max-width: 1100px;
    width: 100%;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    flex-direction: column;
}

.detail-half {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.detail-image img {
    width: 350px;
    height: 100%;
    object-fit: cover;
    display: block;
}

.detail-content {
    padding: 20px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.detail-content h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.detail-content h3 {
    font-size: 18px;
    color: #333;
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

.know-more-btn {
    background-color: #1e3a8a;
    color: white;
    border: none;
    padding: 10px 18px;
    margin-top: 15px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.know-more-btn:hover {
    background-color: #162d6a;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .detail-half {
        flex-direction: column;
    }
    .detail-image img {
        width: 100%;
        max-height: 300px;
    }
    .detail-content {
        padding: 20px 15px;
        text-align: center;
    }
}

@media (max-width: 600px) {
    .detail-section {
        padding: 20px 0;
    }
    .detail-content h2 {
        font-size: 22px;
    }
    .detail-content h3 {
        font-size: 15px;
    }
    .detail-content p {
        font-size: 13px;
    }
    .detail-image img {
        max-height: 200px;
    }
}
@media (max-width: 992px) {
    .detail-container {
        flex-direction: column;
        align-items: center;
    }

    /* This is the missing piece! */
    .detail-half {
        flex-direction: column !important; /* Override inline flex-row/reverse */
    }

    .detail-image img {
        width: 100%;
        max-height: 300px;
    }

    .detail-content {
        padding: 20px 15px;
        text-align: center;
    }
}


.detail-half {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.detail-half.reverse {
    flex-direction: row-reverse;
}


/* Fix for Smile Design section background and icon overlap */
.smile-design-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
  padding: 60px 0;
}

.smile-design-container {
  background: #2366b8;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  max-width: 1100px;
  width: 90%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07);
  padding: 48px 48px 48px 48px;
  align-items: center;
  gap: 48px;
}

.smile-design-image-col {
  flex: 1 1 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.smile-design-image {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  background: #fff;
}

.smile-design-content-col {
  flex: 2 1 500px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #fff;
}

.smile-design-title {
  color: #ffb347;
  font-size: 2.3rem;
  font-weight: bold;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-align: left;
}

.smile-design-underline {
  width: 60px;
  height: 4px;
  background: #ffb347;
  border-radius: 2px;
  margin-bottom: 24px;
}

.smile-design-desc {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 32px;
  text-align: left;
  max-width: 600px;
}

.smile-design-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 40px;
  width: 100%;
}

.smile-design-feature {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.smile-design-icon {
  width: 44px;
  height: 44px;
  background: #2ecc71;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.smile-design-icon .material-icons {
  font-size: 2rem;
  color: #fff;
}

.smile-design-feature-title {
  font-size: 1.13rem;
  font-weight: bold;
  margin-bottom: 4px;
  color: #fff;
}

.smile-design-feature-desc {
  font-size: 0.98rem;
  color: #e6e6e6;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .smile-design-container {
    flex-direction: column;
    align-items: center;
    padding: 32px 12px;
    gap: 32px;
  }

  .smile-design-image {
    width: 90vw;
    max-width: 340px;
    height: 220px;
  }

  .smile-design-content-col {
    align-items: flex-start;
    width: 100%;
  }

  .smile-design-features {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}
.smile-candidate-section {
  background-color: #0a0f2c;
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.smile-candidate-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 40px;
  color:#fff;
}

.smile-candidate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.smile-candidate-card {
  background-color: #0f1636;
  border: 1px solid #2e3a5e;
  border-radius: 16px;
  padding: 24px;
  max-width: 360px;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  transition: transform 0.3s ease;

}
.smile-candidate-card h3{
color:#fff;
}

.smile-candidate-card:hover {
  transform: translateY(-6px);
}

.smile-candidate-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.smile-candidate-card p {
  font-size: 1rem;
  color: #e1e1e1;
  line-height: 1.6;
}



/* Fix for Laser Design section background and icon overlap */
.laser-candidate-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  color: #000;
  text-align: center;
}

.laser-candidate-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 40px;
  color: #0a0f2c;
}

.laser-candidate-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  justify-items: center;
}

.laser-candidate-card {
  background-color: #fff;
  border: 1px solid #d8dce5;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.3s ease;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
}

.laser-candidate-card:hover {
  transform: translateY(-6px);
}

.laser-candidate-icon {
  background-color: #0056d2;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.laser-candidate-icon .material-icons {
  font-size: 28px;
}

.laser-candidate-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: #0a0f2c;
}

.laser-candidate-content p {
  font-size: 1rem;
  margin: 0;
  color: #4a4a4a;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .laser-candidate-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .laser-candidate-content {
    align-items: center;
  }
}


@media (max-width: 768px) {
  .laser-candidate-grid {
    grid-template-columns: 1fr; /* Stack cards in one column on smaller screens */
  }
}


 .others-section {
    padding: 40px 20px;
    background: #f9ffff;
    text-align: center;
  }

  .others-title {
    color: #d89c00;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
  }

  .others-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cards per row */
    gap: 30px;
    justify-content: center;
    align-items: stretch;
  }

  .others-card {
    border: 1px solid #cce6ff;
    padding: 25px 20px;
    border-radius: 12px;
    background-color: white;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    will-change: transform;
  }

  .others-card:hover {
    transform: scale(1.06); /* improved zoom */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  }

  .others-card h3 {
    color: #000;
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .others-card p {
    color: #444;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .doctor-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: #007bff;
    display: inline-block;
  }

  /* Responsive for tablet and below */
  @media (max-width: 992px) {
    .others-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  /* Responsive for mobile */
  @media (max-width: 600px) {
    .others-grid {
      grid-template-columns: 1fr;
    }

    .others-title {
      font-size: 1.6rem;
    }

    .others-card:hover {
      transform: scale(1.03); /* softer zoom for small screen */
    }
  }

  .info-card {
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: 1px solid #ddd;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}


.form-wrapper {
    max-width: 800px;
    background-color: #fff;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

.form-underline {
    width: 60px;
    height: 2px;
    background-color: #0d6efd;
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 14px;
    background-color: #fafafa;
    box-shadow: none;
    transition: border-color 0.2s;
}

.form-control:focus {
    border-color: #0d6efd;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 0 0.15rem rgba(13, 110, 253, 0.25);
}

textarea.form-control {
    resize: vertical;
}
.btn-primary {
    background-color: #0d6efd; /* Bootstrap default blue */
    border-color: #0d6efd;
    color: #fff;
}

.btn-primary:hover {
    background-color: #000080 !important; /* Navy blue */
    border-color: #000080 !important;
    color: #fff !important; /* White text on hover */
}

.location-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 12px; /* Rounded corners */
    overflow: hidden; /* Ensures map corners are clipped */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #0d6efd;
}

.map-wrapper iframe {
    border-radius: 0; /* Optional: set to 0 since container has radius */
    display: block;
    width: 100%;
    height: 300px;
}

.footer-logo-text {
  font-size: 2rem;          /* default size */
  margin-left: -30px;       /* small shift for larger screens */
}

@media (max-width: 768px) {
  .footer-logo-text {
    font-size: 1.25rem;      /* smaller font on mobile */
    margin-left: -10px;      /* reduce margin shift */
  }
}

.others-card {
  text-align: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
}

.doctor-img {
  width: 120px;   /* adjust size as needed */
  height: 120px;
  object-fit: cover;
  border-radius: 50%;  /* makes image circular */
  margin-bottom: 15px;
}

.gallery-item img {
    height: 250px;
    width: auto;          /* width automatic, maintain aspect ratio */
    max-width: 100%;      /* don’t exceed container width */
    object-fit: cover;    /* crop */
    display: block;
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}