body {
    font-family: "Inter", sans-serif;
}
.nav-link.active {
    color: #0d6efd !important;
    font-weight: 600;
    border-bottom: 2px solid #0d6efd;
}
.nav-link.nav-hover {
    position: relative;
}

.nav-link.nav-hover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 0;
    height: 2px;
    background-color: #0d6efd;
    transition: width 0.3s ease;
}

.nav-link.nav-hover:hover::after {
    width: 80%;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link.nav-hover:hover,
.navbar-nav .nav-link.nav-hover:focus {
    color: #0d6efd; /* Bootstrap Primary */
    transform: translateY(-2px);
    text-decoration: none;
}

/* Default: no underline effect on mobile */
.nav-link.nav-hover::after {
    content: none;
}

/* Enable underline hover effect only on screens ≥ 992px (laptop/desktop) */
@media (min-width: 992px) {
    .nav-link.nav-hover {
        position: relative;
    }

    .nav-link.nav-hover::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 0;
        height: 2px;
        background-color: #0d6efd;
        transition: width 0.3s ease;
    }

    .nav-link.nav-hover:hover::after {
        width: 80%;
    }
}


.book-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s;
}

.book-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: #083258;
  transition: 0.3s ease;
  z-index: -1;
}

.book-btn:hover::before {
  width: 100%;
}

.book-btn:hover {
  color: #fff;
}


.title {
    font-size: 2.2rem;
    color: #083258;
    margin-bottom: 40px;
    font-weight: 600;
    animation: fadeInDown 1s ease both;
}
/* Custom shapes */
.custom-shape {
    border-radius: 144px 8px 144px 8px;
}
.bg-custom-light-orange {
    background-color: #fffaf0;
}
.img-fluid-fill {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bg-section-yellow {
    background-color: #fffce5;
}
.image-bg-shape {
    border-radius: 0 100px 100px 0;
}
.provinces-image-shape {
    border-radius: 8px 144px 8px 144px;
}

/* Footer */
/* footer {
                background-color: #212529;
                color: #f8f9fa;
            }
            .footer-section-title {
                font-weight: 600;
                margin-bottom: 15px;
                color: #f8f9fa;
                position: relative;
                padding-bottom: 5px;
            }
            .footer-section-title::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                width: 50px;
                height: 2px;
                background-color: #ffc107;
            }
            .footer-link {
                color: #ced4da;
                text-decoration: none;
                display: block;
                margin-bottom: 8px;
                font-size: 0.95rem;
                transition: color 0.3s ease;
            }
            .footer-link:hover {
                color: #0d6efd;
            }
            .footer-bottom {
                background-color: #343a40;
                color: #f8f9fa;
            }
            .footer-bottom a:hover {
                text-decoration: underline;
            }*/
.footer {
    background-color: #1f2937;
    color: #d1d5db;
    padding-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    margin-top: auto;
    padding-bottom: 20px;
}
@media (min-width: 768px) {
    .footer__container {
        flex-direction: row;
        gap: 0;
    }
}

@media (min-width: 768px) {
    .footer__text {
        text-align: left;
    }
}
.footer__text .footer__powered-by {
    margin-top: 0.25rem;
}
.footer__text {
    text-align: center;
    font-size: 0.875rem;
}
.footer__container {
    max-width: 72rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.footer__social-icons .footer__icon {
    color: #9ca3af;
    transition: color 0.3s;
}
.footer__social-icons {
    display: flex;
    gap: 1.5rem;
}
.footer-social-style1 li {
    display: inline-block;
    margin-right: 10px;
}
.footer-social-style1 a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #495057;
    color: white;
    border-radius: 50%;
    font-size: 1.2em;
    text-decoration: none;
    transition: background-color 0.3s;
}
.footer-social-style1 a:hover {
    background-color: #0d6efd;
}
.email,
.phone {
    margin-bottom: 10px;
}
.email a,
.phone a {
    color: #ced4da;
    text-decoration: none;
    transition: color 0.3s ease;
}
.email a:hover,
.phone a:hover {
    color: #0d6efd;
}
.btn-danger {
    transition: transform 0.3s ease, background-color 0.3s;
}
.btn-danger:hover {
    transform: scale(1.05);
    background-color: #c82333;
}
.accordion-button {
    transition: background-color 0.3s ease;
}
.accordion-button:hover {
    background-color: #f8f9fa;
}
.shadow-sm {
    transition: transform 0.3s ease;
}
.shadow-sm:hover {
    transform: scale(1.01);
}
.bg-light {
    background: linear-gradient(to bottom, #f5faff, #e8f1fa);
}
.cataract-types-section {
    padding: 60px 20px;
    background: linear-gradient(to bottom, #f5faff, #e8f1fa);
    font-family: "Segoe UI", sans-serif;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #083258;
    margin-bottom: 50px;
    font-weight: 600;
    position: relative;
    animation: fadeInDown 1s ease both;
}

.cataract-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.cataract-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    width: 280px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.3s;
}

.cataract-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}

.card-img {
    overflow: hidden;
    height: 180px;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cataract-card:hover img {
    transform: scale(1.08);
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 1.1rem;
    color: #1b3f8b;
    margin-bottom: 10px;
    font-weight: 600;
}

.card-content p {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    margin: 0;
}

.benefits-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.benefits-list li {
    font-size: 1rem;
    color: #444;
    margin-bottom: 18px;
    position: relative;
    padding-left: 35px;
}
.benefits-list li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #2b6cb0;
    font-size: 1.1rem;
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cataract-cards {
        flex-direction: column;
        align-items: center;
    }

    .cataract-card {
        width: 90%;
    }
}
.features-section {
    display: flex;
    gap: 20px;
    padding: 32px 20px;
    justify-content: center;
    flex-wrap: wrap;
    /*background: #f9fafe;*/
    font-family: "Segoe UI", sans-serif;
}

.feature-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    flex: 1 1 300px;
    max-width: 380px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-6px); /* remove scale */
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
}
.owl-carousel .item {
    padding: 10px 5px; /* add space for scale */
}



.feature-card img {
    width: 100%;
    height: auto;
    display: block;
}

.card-number {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid #999;
    padding: 6px 14px;
    border-radius: 24px;
    font-weight: 600;
    font-size: 14px;
}

.card-caption {
    background: white;
    color: #000;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 14px;
    margin: 16px;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.card-2 {
    background: #e9f2fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-text-content {
    padding: 24px;
}

.card-text-content h3 {
    font-size:22px;
    color: #083258;
    margin-bottom: 10px;
}

.card-text-content p {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.card-image-button {
    position: relative;
}

.card-image-button img {
    width: 100%;
    border-radius: 16px;
}

.circle-btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    background: #157d28;
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 24px;
    transition: background 0.3s ease;
}

.circle-btn:hover {
    background: #0b5c1c;
}

/* Responsive */
@media (max-width: 992px) {
    .features-section {
        flex-direction: column;
        align-items: center;
    }

    .feature-card {
        max-width: 100%;
    }
}

.feature-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.feature-box i {
    transition: color 0.3s ease;
}

.feature-box:hover i {
    color: #0d6efd;
}

.video-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
  }

  .video-card:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    border-color: #007bff !important;
  }

  .play-icon {
    transition: transform 0.3s ease;
  }

  .video-card:hover .play-icon {
    transform: scale(1.2);
  }


@media (max-width: 768px) {
    .title {
    font-size:26px;
    color: #083258;
    margin-bottom:22px;
    font-weight: 600;
    animation: fadeInDown 1s ease both;
}
}


.animated-form .form-control {
    border: none;
    border-bottom: 2px solid #ccc;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transition: border-color 0.3s ease;
    padding-left: 0;
}

.animated-form .form-control:focus {
    border-color: #0d6efd;
    outline: none;
    box-shadow: none;
}

.animated-label {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    color: #888;
    pointer-events: none;
    transition: 0.3s ease all;
    font-size: 1rem;
}

.animated-input:focus + .animated-label,
.animated-input:not(:placeholder-shown) + .animated-label,
.animated-input:valid + .animated-label {
    top: 0px;
    font-size: 0.8rem;
    color: #0d6efd;
    background-color: white;
    padding: 0 4px;
}
