* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Open Sans", sans-serif;
}

/* ---------- HEADER ---------- */
.site-header {
    background: #c4c4c4;
    padding: 20px 0;
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    display: block;
    height: 150px;
    width: auto;
}

/* ---------- NAV ---------- */
.nav-toggle {
    display: none;
}

.main-nav>ul {
    list-style: none;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e3e3e3;
}

.main-nav li {
    position: relative;
}

.main-nav>ul>li+li {
    border-left: 1px solid #ddd;
}

.main-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 10px;

    color: #111;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: color .2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: #a0198f;
}

.has-sub>a::after {
    content: "";
    border: 4px solid transparent;
    border-top-color: currentColor;
    border-bottom: 0;
    margin-top: 2px;
}

/* ---------- DROPDOWN ---------- */
.has-sub {
    position: relative;
    /* needed so top:100% / left:0 anchor to the menu item */
}

.submenu {
    list-style: none;
    margin: 0;
    /* removes default ul margin */
    padding: 0;
    /* removes the default 40px left space */
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 300px;
    background: #f6f4f4;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    font-weight: 500;
    transform: translateY(8px);
    transition: all .2s;
    z-index: 100;
}

.submenu li {
    margin: 0;
    padding: 0;
    font-weight: 500px;
}

.submenu a {
    display: block;
    /* makes the whole row clickable and fills the width */
    font-size: 13px;
    font-weight: 400px;
    color: rgb(119, 119, 119);
    padding: 10px 15px;
    text-transform: none;
    border-bottom: 1px solid #eee;
}

.submenu li:last-child a {
    border-bottom: 0;
    /* no extra line at the bottom of the list */
}

.has-sub:hover>.submenu,
.has-sub:focus-within>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.has-sub:hover>.submenu,
.has-sub:focus-within>.submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ---------- MOBILE ---------- */
@media (max-width: 992px) {
    .logo img {
        height: 110px;
    }

    .header-inner {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
        background: none;
        border: 2px solid #111;
        border-radius: 4px;
        font-size: 24px;
        padding: 4px 12px;
        cursor: pointer;
    }

    .main-nav {
        width: 100%;
        display: none;
    }

    .main-nav.open {
        display: block;
    }

    .main-nav>ul {
        flex-direction: column;
        align-items: stretch;
        border: 0;
    }

    .main-nav>ul>li+li {
        border-left: 0;
        border-top: 1px solid #aaa;
    }

    .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        background: #d8d8d8;
    }

    .has-sub.open>.submenu {
        display: block;
    }
}


/* footer css */

.site-footer {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Oper Sans';
    position: relative;
}

.footer-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 35px 24px 5px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.footer-col h3 {

    font-size: 25px;
    font-weight: 300;
    margin: 0 0 26px 30px;
}

/* Quick Links sits a little lower, like your screenshot */
.footer-quick {
    padding-top: 50px;
}

.footer-quick h3 {
    margin-bottom: 26px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color .2s;
}

.footer-links a:hover {
    color: #f58a5b;
}

/* Address column */
.footer-address p {
    color: #8a8a8a;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 450px;
}

.footer-address p strong {
    color: #8a8a8a;
}

.footer-address p a {
    color: #8a8a8a;
    text-decoration: none;
}

.footer-address p a:hover {
    color: #f58a5b;
}

.footer-address iframe {
    display: block;
    width: 100%;
    max-width: 450px;
    height: 188px;
    margin-top: 8px;
}

/* Copyright bar */
.footer-bottom {
    background: #050505;
    padding: 32px 24px;
}

.footer-bottom p {
    max-width: 1110px;
    margin: 0 auto;
    color: #797878;
    font-size: 16px;
}

/* Scroll to top button */
.scroll-top {
    position: fixed;
    right: 12px;
    bottom: 0;
    width: 45px;
    height: 45px;
    background: #605f5f;
    color: #fff;
    font-size: 18px;
    display: flex;
    align-items: center;
    border-radius: 6px;
    justify-content: center;
    text-decoration: none;
    transition: background .2s;
    z-index: 200;
}

.scroll-top i:hover {
    color: #585fe5;
}

/* Tablet */
@media (max-width: 992px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }

    .footer-quick {
        padding-top: 0;
    }
}

/* Mobile */
@media (max-width: 640px) {
    .footer-main {
        grid-template-columns: 1fr;
        padding: 40px 20px;
    }

    .footer-col h3 {
        font-size: 24px;
        margin-bottom: 18px;
    }
}


/* home page css */

.home-banner {
    margin-top: 15px;

    position: relative;
    width: 100%;
    overflow: hidden;
}

/* all slides stacked in the same spot, only the active one is visible */
.banner-slides {
    display: grid;
}

.banner-slide {
    grid-area: 1 / 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease, visibility .8s;
}

.banner-slide.active {
    opacity: 1;
    visibility: visible;
}

.banner-slide img {
    display: block;
    width: 100%;
    height: auto;
}


/* arrows */
.banner-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: none;
    border: 0;
    color: #1e90d6;
    font-size: 42px;
    padding: 10px 16px;
    cursor: pointer;
    transition: color .2s;
}

.banner-arrow:hover {
    color: #fff;
}

.banner-arrow.prev {
    left: 20px;
}

.banner-arrow.next {
    right: 20px;
}


/* child section */

/* ===== Child section ===== */
.child {
    padding: 80px 24px;
    background: #fff;
    overflow: hidden;
    /* no sideways scrollbar during the animation */
}

.child-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.child-card {
    width: 325px;
    text-align: center;
    padding: 20px 20px 30px;
    background: none;
    border: 0;
    box-shadow: none;
}

.child-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.child-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.child-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 14px;
    line-height: 1.25;
    text-align: center;
}

.child-card p {
    font-size: 15px;
    line-height: 1.75;
    color: #333;
    text-align: center;
}

.child-card p a {
    color: #1e90d6;
    text-decoration: none;
    text-align: center;
}

.child-card p a:hover {
    text-decoration: underline;
}

.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* optional: stagger the three cards */
.reveal:nth-child(2) {
    transition-delay: 0.2s;
}

.reveal:nth-child(3) {
    transition-delay: 0.4s;
}

/* ===== Cards rise from the bottom one by one (pure CSS) ===== */
@keyframes cardRise {
    from {
        opacity: 0;
        transform: translateY(120px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@supports (animation-timeline: view()) {
    .child-card {
        animation: cardRise linear both;
        animation-timeline: view();
    }

    .child-card:nth-child(1) {
        animation-range: entry 0% entry 45%;
    }

    .child-card:nth-child(2) {
        animation-range: entry 10% entry 55%;
    }

    .child-card:nth-child(3) {
        animation-range: entry 20% entry 65%;
    }
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .child-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .child {
        padding: 50px 16px;
    }

    .child-container {
        grid-template-columns: 1fr;
    }
}


/* jellybeans teddy */

/* ===== About clinic section ===== */
.about-clinic {
    padding: 40px 24px;
    background: #fff;
    overflow: clip;
}

.about-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 500px;
}

/* Left side: background image + blue overlay */
.about-text {
    position: relative;
    padding: 30px 38px 50px;
    color: #fff;
    background: url("../img/jellybeansback.png") center / cover no-repeat;
    isolation: isolate;
}

.about-text::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(126, 148, 159, -0.15);
    /* change colour/opacity to taste */
    z-index: -1;
}

/* Animated heading: rises from bottom, stays, sinks, repeats */
.about-brand {
    text-align: center;
    font-size: 35px;
    font-weight: 50;
    color: #0e0404;
    margin: 0 0 20px;

}



.about-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;

    padding-bottom: 10px;

    animation: riseLoop 2s ease-in-out infinite;
}

@keyframes riseLoop {
    0% {
        opacity: 0;
        transform: translateY(70px);
    }

    25%,
    70% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(70px);
    }
}

.about-text p {
    border-top: 1px solid rgba(244, 149, 7, 0.3);
    font-size: 15px;
    line-height: 1.5;
    text-align: justify;
    color: #fff;
    margin: 0;
}

/* Right side: teddy */
.about-img {
    overflow: hidden;
}

.about-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }

    .about-img {
        height: 450px;
    }
}

@media (max-width: 640px) {
    .about-text {
        padding: 40px 20px;
    }

    .about-brand {
        font-size: 36px;
    }

    .about-title {
        font-size: 24px;
    }

    .about-text p {
        font-size: 16px;
    }
}


/* ===== Home services section ===== */
.home-services {
    padding: 80px 2px;
    background: url("../img/home-service-back.jpg") center / cover no-repeat;
    overflow: clip;
}

.home-services h3 {
    text-align: center;
    margin-bottom: 60px;
}

.home-services-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 90px 40px;
}

.home-service-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;

    opacity: 0;
    transform: translateY(80px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.home-service-item.in-view {
    opacity: 1;
    transform: translateY(0);
}

.home-service-item:nth-child(3n + 2) {
    transition-delay: 0.2s;
}

.home-service-item:nth-child(3n + 3) {
    transition-delay: 0.4s;
}

.home-service-icon {
    flex: 0 0 112px;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    overflow: hidden;
}

.home-service-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-service-icon a {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    cursor: pointer;
}

.home-service-icon img {
    transition: transform 0.4s ease;
}

.home-service-icon a:hover img,
.home-service-icon a:focus-visible img {
    transform: scale(1.1);
}

.home-service-icon a:focus-visible {
    outline: 3px solid #1e90d6;
    outline-offset: 3px;
}

.home-service-body h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 0 0 14px;
}

.home-service-body p {
    font-size: 13px;
    line-height: 1.5;
    color: #1e90d6;
    text-align: justify;
    margin: 0;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .home-services-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px 30px;
    }

    .home-service-item:nth-child(n) {
        transition-delay: 0s;
    }

    .home-service-item:nth-child(2n) {
        transition-delay: 0.2s;
    }
}

@media (max-width: 640px) {
    .home-services {
        padding: 50px 16px;
    }

    .home-services-container {
        grid-template-columns: 1fr;
    }

    .home-service-item:nth-child(n) {
        transition-delay: 0s;
    }

    .home-service-icon {
        flex-basis: 90px;
        width: 90px;
        height: 90px;
    }

    .home-service-body h3 {
        font-size: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-service-item {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


/*home doctor css */
/* ===== Home doctors section ===== */
.home-doctors {
    padding: 70px 24px 80px;
    background: #fff;
}

.home-doctors-title {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 40px;
    font-weight: 300;
    color: #f26b3a;
    margin: 0 0 50px;
}

.home-doctors-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 100px;
}

/* Card */
.home-doctor-card {
    flex: 0 1 325px;
    min-height: 525px;
    padding: 6px 6px 5px;
    text-align: center;
    background: linear-gradient(to bottom, #b9e3fa 0%, #e6fcff 100%);
    border: 2px solid #8ccdf2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* Clickable image with hover zoom-in */
.home-doctor-img {
    display: block;
    overflow: hidden;
    cursor: pointer;
}

.home-doctor-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-doctor-img:hover img {
    transform: scale(1.1);
}

/* Text */
.home-doctor-card h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 25px;
    font-weight: 400;
    line-height: 1.2;
    color: #1a1a1a;
    margin: 14px 0 4px;
}

.home-doctor-card p {
    font-size: 15px;
    line-height: 1.65;
    color: #666;
    margin: 0;
    padding: 0 2px;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .home-doctors-container {
        gap: 40px;
    }

    .home-doctor-card h3 {
        font-size: 28px;
    }

    .home-doctor-card p {
        font-size: 16px;
    }
}

@media (max-width: 700px) {
    .home-doctors {
        padding: 50px 16px;
    }

    .home-doctors-title {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .home-doctors-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .home-doctor-card {
        width: 100%;
        max-width: 390px;
        min-height: 0;
    }
}


/* ===== Home review section ===== */
.home-review {
    padding: 60px 0 70px;
    background: linear-gradient(to bottom, #ee7f87 0%, #f08c93 100%);
}

.home-review-title {
    text-align: center;
    font-family: "Open Sans", sans-serif;
    font-size: 32px;
    font-weight: 300;
    color: #8fd3f7;
    margin: 0 0 40px;
}

.home-review-title-center {
    text-align: center;
}

/* ----- Testimonial ----- */
/* ===== What People Say slider (pure CSS) ===== */
.home-slider {
    color: #fff;
    text-align: center;
}

.home-slider-window {
    overflow: hidden;
    padding: 0 10px;
}

.home-slider-track {
    display: flex;
    width: 700%;
    /* 7 slides (6 + 1 copy) */
    animation: homeSlide 24s ease-in-out infinite;
}

.home-slide {
    flex: 0 0 calc(100% / 7);
    min-height: 420px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 8px;
    box-sizing: border-box;
}

/* each review shows for 4s, then slides across */
@keyframes homeSlide {

    0%,
    13.3% {
        transform: translateX(0);
    }

    16.67%,
    30% {
        transform: translateX(calc(-100% / 7));
    }

    33.33%,
    46.67% {
        transform: translateX(calc(-200% / 7));
    }

    50%,
    63.3% {
        transform: translateX(calc(-300% / 7));
    }

    66.67%,
    80% {
        transform: translateX(calc(-400% / 7));
    }

    83.33%,
    96.67% {
        transform: translateX(calc(-500% / 7));
    }

    100% {
        transform: translateX(calc(-600% / 7));
    }
}

/* dots */
.home-slider-dots span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: homeDot 24s linear infinite;
}

.home-slider-dots span:nth-child(2) {
    animation-delay: 4s;
}

.home-slider-dots span:nth-child(3) {
    animation-delay: 8s;
}

.home-slider-dots span:nth-child(4) {
    animation-delay: 12s;
}

.home-slider-dots span:nth-child(5) {
    animation-delay: 16s;
}

.home-slider-dots span:nth-child(6) {
    animation-delay: 20s;
}

@keyframes homeDot {

    0%,
    16.66% {
        background: #1e90d6;
    }

    16.67%,
    100% {
        background: rgba(255, 255, 255, 0.6);
    }
}

.home-slide-text {
    font-family: Georgia, serif;
    font-size: 18px;
    line-height: 1.5;
    font-style: italic;
    margin: 0 0 25px;
}

.home-slide-name {
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.home-slide-verified {
    font-size: 12px;
    margin: 0;
}

/* each review shows for 4s, then slides across */
@keyframes homeSlide {

    0%,
    13.3% {
        transform: translateX(0);
    }

    16.67%,
    30% {
        transform: translateX(calc(-100% / 7));
    }

    33.33%,
    46.67% {
        transform: translateX(calc(-200% / 7));
    }

    50%,
    63.3% {
        transform: translateX(calc(-300% / 7));
    }

    66.67%,
    80% {
        transform: translateX(calc(-400% / 7));
    }

    83.33%,
    96.67% {
        transform: translateX(calc(-500% / 7));
    }

    100% {
        transform: translateX(calc(-600% / 7));
    }
}

@keyframes homeDot {

    0%,
    16.66% {
        background: #1e90d6;
    }

    16.67%,
    100% {
        background: rgba(255, 255, 255, 0.6);
    }
}


/* pause everything while the mouse is over the slider */
.home-slider:hover .home-slider-track,
.home-slider:hover .home-slider-dots span {
    animation-play-state: paused;
}


/* Arrows */
.home-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 16px;
    line-height: 32px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s ease;
}

.home-slider-btn:hover {
    background: #1e90d6;
}

.home-slider-btn.prev {
    left: 0;
}

.home-slider-btn.next {
    right: 0;
}

/* Dots */
.home-slider-dots {
    margin-top: 20px;
}

.home-slider-dots button {
    width: 8px;
    height: 8px;
    margin: 0 4px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
}

.home-slider-dots button.active {
    background: #1e90d6;
}

@media (max-width: 992px) {
    .home-slider {
        margin-bottom: 40px;
    }

    .home-slide {
        min-height: 300px;
    }

    .home-slide {
        min-height: 300px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .home-slider-track,
    .home-slider-dots span {
        animation: none;
    }

    .home-slider-track {
        transition: none;
    }
}


/* ----- Article card ----- */
.home-article {
    background: #fff;
    padding: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.home-article-img {
    display: block;
    overflow: hidden;
}

.home-article-img img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.home-article-img:hover img {
    transform: scale(1.08);
}

.home-article-body {
    padding: 14px 6px 6px;
}

.home-article-body h3 {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.3;
    margin: 0 0 12px;
}

.home-article-body h3 a {
    color: #1e90d6;
    text-decoration: none;
}

.home-article-body h3 a:hover {
    text-decoration: underline;
}

.home-article-body h4 {
    font-size: 22px;
    font-weight: 400;
    color: #222;
    margin: 0 0 12px;
}

.home-article-body p {
    font-size: 13px;
    line-height: 1.7;
    color: #777;
    margin: 0 0 12px;
}

.home-article-meta {
    font-size: 12px !important;
    color: #1e90d6 !important;
    margin: 0 0 6px !important;
}

.home-article-btn {
    display: inline-block;
    float: right;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background: #1e90d6;
    border-radius: 3px;
    text-decoration: none;
}

.home-article-btn:hover {
    background: #f26b3a;
    color: #fff;
}

.home-article-body::after {
    content: "";
    display: block;
    clear: both;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {

    .home-review-title,
    .home-review-title-center {
        text-align: center;
    }

    .home-testimonial {
        margin-bottom: 40px;
    }
}

@media (max-width: 640px) {
    .home-review {
        padding: 40px 0;
    }

    .home-review-title {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .home-article-img img {
        height: 240px;
    }
}





/* ===== Home appointment section ===== */
.home-appointment {
    padding: 30px 24px;
    background: #fff;
}

.home-appointment-inner {
    max-width: 1100px;
    min-height: 350px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    background: url("../img/home-contact.png") center / 100% 100% no-repeat;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.home-appointment-title {
    font-family: "Open Sans", sans-serif;
    font-size: 35px;
    font-weight: 300;
    color: #f26b3a;
    margin: 0 0 30px;
}

/* purple line that fades at both ends */
.home-appointment-line {
    width: 100%;
    max-width: 1100px;
    height: 3px;
    background: linear-gradient(to right,
            rgba(128, 0, 128, 0) 0%,
            #800080 50%,
            rgba(128, 0, 128, 0) 100%);
    margin: 0 0 30px;
}

.home-appointment-call {
    font-family: "Open Sans", sans-serif;
    font-size: 30px;
    font-weight: 400;
    color: #1a1a1a;
    margin: 0 0 25px;
}

.home-appointment-phone {
    font-family: "Open Sans", sans-serif;
    font-size: 30px;
    font-weight: 300;
    color: #f26b3a;
    text-decoration: none;
    margin-bottom: 25px;
}

.home-appointment-phone:hover {
    text-decoration: underline;
}

.home-appointment-gallery {
    font-family: "Open Sans", sans-serif;
    font-size: 35px;
    font-weight: 300;
    color: #333;
    margin: 0;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .home-appointment-inner {
        background-size: cover;
    }

    .home-appointment-title,
    .home-appointment-gallery {
        font-size: 32px;
    }

    .home-appointment-call {
        font-size: 26px;
    }

    .home-appointment-phone {
        font-size: 30px;
    }
}

@media (max-width: 640px) {
    .home-appointment {
        padding: 40px 12px;
    }

    .home-appointment-title,
    .home-appointment-gallery {
        font-size: 26px;
    }

    .home-appointment-call {
        font-size: 20px;
    }

    .home-appointment-phone {
        font-size: 24px;
    }
}







.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Title band */
.page-title-band {
    background: #1a1a1a;
    padding: 18px 0 0 20px;
    border-bottom: 5px solid #ddd;

}

.page-title-band .container {
    padding-bottom: 0;
}

.breadcrumb {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 13px;
    color: #aaa;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li:not(:last-child)::after {
    content: " » ";
    margin: 0 6px;
    color: #aaa;
}

.breadcrumb a {
    color: #1e88e5;
    text-decoration: none;
}

.page-title-band h1 {
    display: inline-block;
    margin: 0;
    padding-bottom: 8px;
    color: #fff;
    font-size: 32px;
    font-weight: 300;
    border-bottom: 5px solid #1e88e5;
}

/* Intro */
.doctor-intro {
    max-width: 1100px;
    padding-top: 30px;
}

.doctor-intro h2 {
    margin: 0 0 0 17px;
    font-size: 34px;
    font-weight: 300;
    color: #222;
}

.doctor-intro h2 strong {
    font-weight: 700;
}

.qualification {
    margin: 6px 0 10px 17px;
    font-size: 20px;
    color: #1e88e5;
}

.doctor-intro hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 0 0 10px;
}

.social-icons {
    display: flex;
    gap: 12px;
    margin-left: 17px;
}

.social-icons a {
    width: 30px;
    height: 30px;
    margin: 20px 0 0 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons a:hover {

    filter: brightness(1.15);
}

/* a different background for each icon */
.social-icons .facebook {
    background: #1877f2;
}

.social-icons .instagram {
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
}

.social-icons .youtube {
    background: #ff0000;
}

.social-icons .whatsapp {
    background: #25d366;
}

.social-icons .twitter {
    background: #000000;
}

.fade-line {
    height: 1px;
    margin: 50px auto 30px;
    width: 85%;
    background: linear-gradient(to right, transparent, #ddd, transparent);
}

/* Profile */
.profile {
    display: flex;
    gap: 40px;
    margin-top: 30px;
    align-items: flex-start;
}

.profile-left {
    align-items: center;
    flex: 0 0 450px;
    max-width: 350px;
    text-align: center;
    margin-left: 30px;
}

.profile-left img {
    width: 100%;
    display: block;
}

.profile-left .name {
    margin: 40px 0 10px;
    font-size: 25px;
    color: #e53935;
}

.profile-left .degrees,
.profile-left .designation {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 1.4;
    color: #111;
}

.blue-line {
    height: 3px;
    width: 70%;
    margin: 30px auto 0;
    background: linear-gradient(to right, transparent, #1a1adb, transparent);
}

.profile-right {
    flex: 1;
}

/* Cards */
.card {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-top: 4px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px 38px;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
}

.card p {
    margin: 0 0 20px;
    text-align: justify;
    font-size: 14px;
}

.card p:last-child {
    margin-bottom: 0;
}

.card.quote {
    font-size: 22px;
    line-height: 1.3;
    color: #111;
    text-align: justify;
}

/* Info box */
.info-box {
    margin-top: 60px;
    margin-bottom: 100px;
}

.info-box ul {
    margin: 0 0 20px;
    padding-left: 30px;
}

.info-box li {
    margin-bottom: 6px;
    font-size: 14px;
}

.info-box h5 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 400;
    color: #111;
}

/* Responsive */
@media (max-width: 900px) {
    .profile {
        flex-direction: column;
    }

    .profile-left {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .card.quote {
        font-size: 22px;
    }

    .profile-left .degrees,
    .profile-left .designation {
        font-size: 24px;
    }
}


/* dr sharmila css */

/* ===== Doctor detail page ===== */
.doc-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ----- Title bar ----- */
.doc-titlebar {
    background: #1c1c1c;
    border-bottom: 4px solid #cfcfcf;
    padding: 14px 0 0;
}

.doc-breadcrumb {
    font-size: 13px;
    color: #aaa;
    margin: 0 0 4px;
}

.doc-breadcrumb a {
    color: #1e90d6;
    text-decoration: none;
}

.doc-breadcrumb a:hover {
    text-decoration: underline;
}

.doc-titlebar-heading {
    display: inline-block;
    font-family: "Open Sans", sans-serif;
    font-size: 36px;
    font-weight: 300;
    color: #fff;
    margin: 0;
    padding: 0 0 12px;
    border-bottom: 5px solid #1e90d6;
    position: relative;
    bottom: -4px;
    /* sits on top of the grey border */
}

/* ----- Profile ----- */
.doc-profile {
    padding: 40px 0 60px;
}

.doc-profile-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: start;
}

.doc-profile-img img,
.doc-about-left img {
    display: block;
    width: 92%;
    height: auto;
    border-radius: 4px;
}

.doc-profile-info h2 {
    font-family: "Open Sans", sans-serif;
    font-size: 34px;
    font-weight: 300;
    color: #222;
    margin: 0 0 8px;
}

.doc-profile-info h2 strong {
    font-weight: 700;
}

.doc-qualification {
    font-size: 19px;
    line-height: 1.3;
    color: #1e90d6;
    margin: 0 0 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

/* social icons (small squares) */
.doc-social {
    display: flex;
    gap: 5px;
}

.doc-social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    transition: filter 0.3s ease;
}

.doc-social a:hover {
    filter: brightness(1.15);
}

.doc-social .fb {
    background: #3b5998;
}

.doc-social .tw {
    background: #1da1f2;
}

.doc-social .ig {
    background: #7a4a3a;
}

/* ----- About ----- */
.doc-about {
    padding: 50px 0 40px;
    border-top: 1px solid #f0f0f0;
}

.doc-about-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: start;
}

/* left column */
.doc-about-left {
    text-align: center;
}

.doc-name {
    font-family: "Open Sans", sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #e03131;
    margin: 40px 0 0;
    padding-bottom: 8px;
    position: relative;
}

.doc-name::after {
    content: "";
    position: absolute;
    left: 10%;
    right: 10%;
    bottom: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, #2a2adb, transparent);
}

.doc-degree {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #111;
    text-transform: uppercase;
    margin: 18px 0 0;
}

.doc-role {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    color: #1738c9;
    text-transform: uppercase;
    margin: 18px 0 0;
}

/* right column boxes */
.doc-about-right {
    display: flex;
    flex-direction: column;
    gap: 60px;
    padding-top: 70px;
}

.doc-box {
    background: #fff;
    border: 1px solid #e3e3e3;
    border-top: 4px solid #e3e3e3;
    border-radius: 6px;
    padding: 30px 34px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.doc-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #777777;
    text-align: justify;
    margin: 0;
}

.doc-box-bold p {
    font-size: 14px;
    font-weight: 600;
    color: #777777;
}

/* ----- Availability ----- */
.doc-availability {
    padding: 30px 0 90px;
}

.doc-box-wide {
    background: #f9f9f9;
}

.doc-box-wide p {
    text-align: left;
    margin-bottom: 20px;
}

.doc-box-wide ul {
    margin: 0;
    padding-left: 22px;
}

.doc-box-wide li {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
    margin-bottom: 4px;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {

    .doc-profile-grid,
    .doc-about-grid {
        grid-template-columns: 280px 1fr;
    }

    .doc-about-right {
        padding-top: 0;
        gap: 30px;
    }

    .doc-profile-info h2 {
        font-size: 28px;
    }

    .doc-qualification {
        font-size: 18px;
    }
}

@media (max-width: 700px) {

    .doc-profile-grid,
    .doc-about-grid {
        grid-template-columns: 1fr;
    }

    .doc-profile-img,
    .doc-about-left img {
        max-width: 320px;
        margin: 0 auto;
    }

    .doc-profile-info {
        text-align: center;
    }

    .doc-social {
        justify-content: center;
    }

    .doc-titlebar-heading {
        font-size: 26px;
    }

    .doc-box {
        padding: 22px 18px;
    }

    .doc-name {
        font-size: 28px;
        margin-top: 24px;
    }
}


/* member page css */

/* ===== Members page ===== */
.members {
    padding: 60px 0 90px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.member-card {
    text-align: center;
}

.member-img {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.member-img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.member-img:hover img {
    transform: scale(1.1);
}

.member-name {
    font-family: "Open Sans", sans-serif;
    font-size: 24px;
    font-weight: 400;
    color: #222;
    margin: 18px 0 6px;
}

.member-role {
    font-size: 15px;
    line-height: 1.5;
    color: #1e90d6;
    margin: 0;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .members {
        padding: 40px 0 60px;
    }

    .members-grid {
        grid-template-columns: 1fr;
    }

    .member-card {
        max-width: 340px;
        margin: 0 auto;
    }
}

/* service1 css */

/* ===== Service detail page ===== */
.service-page {
    padding: 40px 0 90px;
}

.service-banner {
    max-width: 550px;
    margin: 0 auto 70px;
}

.service-banner img {
    align-items: center;
    display: block;
    width: 100%;
    height: auto;
}

.service-box {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #c1c0c000;
    border: 1px solid #e3e3e3;
    border-top: 4px solid #e3e3e3;
    border-radius: 6px;
    padding: 15px 38px 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.service-box p {
    font-size: 14px;
    line-height: 1.6;
    color: #777;
    text-align: justify;
    margin: 0 0 22px;
}

.service-box strong {
    color: #555;
}

.service-box ul {
    margin: 0;
    padding-left: 44px;
}

.service-box li {
    font-size: 14px;
    line-height: 1.6;
    color: #777;
    text-align: justify;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .service-banner {
        margin-bottom: 50px;
    }
}

@media (max-width: 600px) {
    .service-page {
        padding: 25px 0 60px;
    }

    .service-box {
        padding: 24px 18px 18px;
    }

    .service-box p,
    .service-box li {
        font-size: 15px;
        text-align: left;
    }

    .service-box ul {
        padding-left: 22px;
    }
}

/* development evaluation service 4*/

.service-box-title {
    font-family: "Open Sans", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #555;
    margin: 0 0 18px;
}


/* service2 */

/* ===== Learning disabilities page ===== */
.ld-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    padding-top: 30px;
}

/* the photo sits slightly higher than the text box */
.ld-photo {
    grid-column: 2;
    grid-row: 1;
    margin-top: 15px;
}

.ld-grid .service-box {
    grid-column: 1;
    grid-row: 1;
    margin-top: 35px;
    padding-top: 20px;
}

.ld-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.ld-common {
    margin-top: 100px;
}

.service-box-heading {
    font-family: "Open Sans", sans-serif;
    font-size: 28px;
    font-weight: 400;
    color: #222;
    margin: 10px 0 24px;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 800px) {
    .ld-grid {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .ld-photo,
    .ld-grid .service-box {
        grid-column: 1;
        grid-row: auto;
        margin-top: 0;
    }

    .ld-photo {
        order: -1;
        /* photo first on phones */
    }

    .ld-common {
        margin-top: 40px;
    }

    .service-box-heading {
        font-size: 22px;
    }
}

/* development assesment */

/* ===== Developmental assessment page ===== */
.da-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 36px;
    align-items: start;
    padding-top: 30px;
}

.da-photo img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 16px;
    /* photo sits a little lower than the box top */
}

/* second box: narrower and centred, as in the screenshot */
.da-evaluation {
    max-width: 62%;
    margin: 70px auto 0;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .da-evaluation {
        max-width: 100%;
    }
}

@media (max-width: 800px) {
    .da-grid {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .da-photo {
        order: -1;
        /* photo first on phones */
    }

    .da-photo img {
        margin-top: 0;
    }

    .da-evaluation {
        margin-top: 40px;
    }
}

/* service 5  Vaccination page */

/* ===== Vaccination page ===== */
.vac-wide {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 30px;
}

.vac-grid {
    display: grid;
    grid-template-columns: 2.2fr 1fr;
    gap: 30px;
    align-items: start;
    padding-top: 10px;
}

/* the photo starts a little above the text box */
.vac-photo {
    margin-top: -10px;
}

.vac-photo img {
    display: block;
    width: 100%;
    max-width: 350px;
    height: auto;
    margin-left: 10px;
}

.vac-schedule {
    margin-top: 80px;
    width: 100%;
    align-items: center;
    background: #FFFFFF;
    border: 1px solid #e3e3e3;
    border-top: 4px solid #e3e3e3;
    border-radius: 6px;
    color: #777 ;
    line-height: 1.6;
    padding: 15px 38px 30px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);

}

.vac-notes {
    font-size: 14px !important;
    line-height: 1.7 !important;
    margin-bottom: 40px !important;
}


/* schedule image: scrolls sideways on small screens so the table stays readable */
.vac-table-scroll {
    overflow-x: auto;
}

.vac-figure {
    min-width: 900px;
    margin: 0;
    padding: 0 20px 20px;
}

.vac-figure img {
    display: block;
    width: 100%;
    height: auto;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 900px) {
    .vac-grid {
        grid-template-columns: 1fr;
    }

    .vac-photo {
        order: -1;
        /* photo first on phones */
        margin-top: 0;
    }

    .vac-photo img {
        margin: 0 auto;
    }

    .vac-schedule {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {
    .vac-wide {
        padding: 0 12px;
    }
}

/* service 6 new born baby  */

/* ===== New Born Care page ===== */
.nb-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 38px;
    align-items: start;
    padding-top: 30px;
}

.nb-photo img {
    display: block;
    width: 100%;
    height: auto;
}

/* the text box sits lower than the photo */
.nb-box {
    margin-top: 80px;
}

.nb-box p {
    margin-bottom: 0;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 800px) {
    .nb-grid {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .nb-photo {
        max-width: 420px;
        margin: 0 auto;
    }

    .nb-box {
        margin-top: 0;
    }
}

/* service 7  */

/* ===== Behavioral Problems page ===== */
.bp-grid {
    grid-template-columns: 1fr 2fr;
}

.bp-box {
    margin-top: 80px;
}

.service-box ol {
    margin: 0 0 22px;
    padding-left: 44px;
}

.service-box ol li {
    font-size: 14px;
    line-height: 1.7;
    color: #777;
}

.service-box ul {
    margin: 0 0 22px;
}

@media (max-width: 600px) {
    .bp-box {
        margin-top: 30px;
    }

    .service-box ol {
        padding-left: 22px;
    }

    .service-box ol li {
        font-size: 15px;
    }
}

/* service11 common new born */

/* ===== Common Newborn Baby Problems page ===== */
.cn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding-top: 30px;
}

.cn-photo img {
    display: block;
    width: 100%;
    height: auto;
    margin-top: 16px;
    /* photo sits a little lower than the box top */
}

/* second box: narrower and centred, as in the design */
.cn-box2 {
    max-width: 66%;
    margin: 70px auto 0;
}

/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .cn-box2 {
        max-width: 100%;
    }
}

@media (max-width: 800px) {
    .cn-grid {
        grid-template-columns: 1fr;
        padding-top: 0;
    }

    .cn-photo {
        order: -1;
        /* photo first on phones */
    }

    .cn-photo img {
        margin-top: 0;
    }

    .cn-box2 {
        margin-top: 40px;
    }
}


/* news and article */

/* ===== News & Articles page ===== */
.news-page {
    padding: 40px 0 90px;
}

/* Row 1: 3 images */
.news-featured {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
    
}

/* Other rows: 4 images each */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 10px 40px;
   
    /* slightly narrower than the first row */
}

.news-featured a,
.news-grid a {
    display: block;
    overflow: hidden;
}

.news-featured img,
.news-grid img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.news-featured img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top;
    border: 2px solid #000000;
}

.news-grid img {
    aspect-ratio: 1.7 / 1.2;
    width: 100%;
    object-fit: cover;
    object-position: top;
    border: 2px solid #000000;
}


/* ===== Tablet and mobile ===== */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 0;
    }

    .news-featured {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .news-page {
        padding: 25px 0 60px;
    }

    .news-featured,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .news-featured {
        margin-bottom: 30px;
    }
}

/* ===== Lightbox (white frame, dimmed page) ===== */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    z-index: 9999;
}

.lightbox-overlay.active {
    display: flex;
}

/* white frame around the image */
.lightbox-frame {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: lightboxIn 0.3s ease;
}

.lightbox-frame img {
    display: block;
    max-width: 82vw;
    max-height: 80vh;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes lightboxIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* small round buttons on the frame */
.lightbox-round {
    position: absolute;
    width: 30px;
    height: 30px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease, color 0.3s ease;
}

.lightbox-round:hover {
    background: #1e90d6;
    color: #fff;
}

.lightbox-expand {
    top: 8px;
    right: 8px;
}

.lightbox-close-btn {
    right: 8px;
    bottom: 8px;
}

/* prev / next arrows */
.lightbox-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    color: #333;
    font-size: 18px;
    line-height: 44px;
    text-align: center;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.lightbox-arrow:hover {
    background: #1e90d6;
    color: #fff;
}

.lightbox-arrow-left {
    left: 18px;
}

.lightbox-arrow-right {
    right: 18px;
}

/* Fullscreen mode of the lightbox frame */
.lightbox-frame:fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 0;
}

.lightbox-frame:fullscreen img {
    max-width: 96vw;
    max-height: 96vh;
}

/* ===== Phones ===== */
@media (max-width: 600px) {
    .lightbox-frame {
        padding: 10px;
    }

    .lightbox-frame img {
        max-width: 90vw;
        max-height: 70vh;
    }

    .lightbox-arrow {
        width: 36px;
        height: 36px;
        margin-top: -18px;
        line-height: 36px;
        font-size: 15px;
    }

    .lightbox-arrow-left {
        left: 6px;
    }

    .lightbox-arrow-right {
        right: 6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lightbox-frame {
        animation: none;
    }
}


/* contat us page css */

.page-title-bar {
    background: #111;
    color: #fff;
    padding: 18px 0 0;
    border-bottom: 5px solid #ddd;
}

.page-title-bar .container {
    padding-bottom: 0;
}

.page-title-bar .breadcrumb {
    list-style: none;
    display: flex;
    gap: 10px;
    margin: 0 0 6px;
    padding: 0;
    font-size: 14px;
    color: #ccc;
}



.page-title-bar .breadcrumb a {
    color: #1a8fdd;
    text-decoration: none;
}

.page-title-bar h1 {
    font-weight: 300;
    font-size: 30px;
    margin: 0;
    padding-bottom: 10px;
    display: inline-block;
    border-bottom: 5px solid #1a8fdd;
    margin-bottom: -6px;
}

.contact-section {
    padding: 30px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-card {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-top: 4px solid #e5e5e5;
    border-radius: 6px;
    padding: 30px 20px 20px;
    text-align: center;
}

.contact-card h2 {
    font-size: 25px;
    font-weight: 400;
    margin: 10px 0 20px;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 400;
    margin: 25px 0 10px;
}

.contact-card p {
    color: #777;
    font-size: 14px;
    line-height: 1.9;
    margin: 0;
}

.contact-card .dark-text,
.contact-card .dark-text a {
    color: #111;
    text-decoration: none;
}

.contact-card a {
    color: #777;
    text-decoration: none;
}

.icon-link {
    display: inline-block;
    font-size: 36px;
    color: #1a8fdd !important;
    margin-top: 15px;
}

#contact-form label {
    font-size: 15px;
    display: block;
    margin: 10px 0 6px;
    color: #777;
}

#contact-form input,
#contact-form textarea {
    width: 100%;
    max-width: 420px;
    padding: 8px 10px;
    border: 1px solid #ccc;
    background: #fff;
    font-size: 16px;
}

.btn-send {
    margin-top: 15px;
    background: #0a84d6;
    color: #fff;
    border: 0;
    padding: 10px 16px;
    border-radius: 3px;
    font-size: 16px;
    cursor: pointer;
}

.btn-send:hover {
    background: #086bb0;
}

.form-msg {
    padding: 10px;
    border-radius: 4px;
}

.form-msg.success {
    background: #e6f6e6;
    color: #2a7a2a !important;
}

.form-msg.error {
    background: #fdeaea;
    color: #b32d2d !important;
}

.map-section iframe {
    display: block;
}

@media (max-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: 25px 20px;
    }
}

/*top 10  */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Banner */
.page-banner {
    background: #111;
    color: #fff;
    padding: 20px 0 0;
    border-bottom: 5px solid #ddd;
}

.page-banner .container {
    position: relative;
}

.breadcrumb {
    list-style: none;
    margin: 0 0 6px;
    padding: 0;
    font-size: 10px;
    color: #bbb;
}

.breadcrumb li {
    display: inline;
}


.breadcrumb a {
    color: #0a7fd1;
    text-decoration: none;
}

.page-banner h1 {
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    font-size: 28px;
    font-weight: 300;
    border-bottom: 5px solid #0a7fd1;
    margin-bottom: -5px;
}

/* Layout */
.blog-single {
    padding: 40px 0 10px;
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 298px;
    column-gap: 20px;

}

/* Post */
.post {
    display: grid;
    grid-template-columns: 300px 1fr;
    column-gap: 20px;

}

.post-content {
    max-width: 700px;
}

.post-image {
    width: 300px;
}

.post-image img {
    width: 100%;
    border-radius: 6px;
    display: block;
}

.post-title {
    font-size: 30px;
    font-weight: 300;
    margin: 0 0 30px;
    color: #333;
    line-height: 1.3;
}

.post-content h3 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 0 20px;
}

.post-content p {
    color: #777;
    line-height: 1.6;
    font-size: 14px;
    margin: 0 0 20px;
}

.post-content a {
    color: #0a7fd1;
    word-break: break-all;
}

.post-content strong {
    color: #555;
}

.post-meta,
.social-position,
.author-box {
    grid-column: 1 / -1;
}

.post-meta {
    margin-top: 50px;
    font-size: 14px;
    color: #777;
}

.post-meta span {
    margin-right: 20px;
}

.post-meta i {
    margin-right: 4px;
    color: #888;
}

.post-meta a {
    color: #0a7fd1;
    text-decoration: none;
}

.social-position {
    color: #777;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.author-box h3 {
    color: #0a7fd1;
    font-weight: 300;
    font-size: 30px;
    margin: 25px 0 20px;
}

.author-info {
    display: flex;
    gap: 25px;
    align-items: flex-start;
}

.author-info img {
    background: #ccc;
}

.author-name {
    color: #41a2e6;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}

/* Sidebar */
.search-form input {
    width: 100%;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0 10px;
    box-sizing: border-box;
}

.search-form button {
    margin-top: 15px;
    background: #0a7fd1;
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 16px;
    cursor: pointer;
}

.widget {
    margin-top: 40px;
}

.widget h4 {
    text-transform: uppercase;
    font-size: 16px;
    margin: 0 0 15px;
    font-weight: 600 !important;
    padding-bottom: 12px;
    border-bottom: 1px solid #ddd;
    color: #222;
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.widget li::before {
    content: "\25B8";
    margin-right: 8px;
    font-size: 11px;
    color: #333;
}

.widget li a {
    color: #666;
    text-decoration: none;
}

.widget li a:hover {
    color: #0a7fd1;
}

/* Responsive */
@media (max-width: 991px) {
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .post {
        grid-template-columns: 1fr;
    }

    .post-image {
        margin-bottom: 25px;
    }
}

/* Full-width post layout */
.post-full {
    min-width: 0;
}

.post-featured img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    display: block;
}

.post-head {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-top: 30px;
}

.date-badge {
    flex: 0 0 44px;
    text-align: center;
    font-family: inherit;
}

.date-badge .day {
    display: block;
    background: #f1f1f1;
    color: #0a7fd1;
    font-weight: 700;
    font-size: 16px;
    padding: 8px 0 6px;
}

.date-badge .month {
    display: block;
    background: #0a7fd1;
    color: #fff;
    font-size: 14px;
    padding: 4px 0;
}

.post-head-text {
    flex: 1;
    min-width: 0;
}

.post-full .post-title {
    font-size: 36px;
    font-weight: 300;
    margin: 0 0 8px;
    color: #333;
    line-height: 1.2;
}

.post-full .post-meta {
    margin: 0;
    font-size: 14px;
    color: #777;
}

.post-full .post-meta span {
    margin-right: 18px;
}

/* Body is indented to line up with the title */
.post-body,
.post-full .author-box {
    margin-left: 64px;
}

.post-body {
    margin-top: 30px;
}

.post-body p {
    color: #777;
    line-height: 1.8;
    font-size: 14px;
    margin: 0 0 20px;
}

.post-body .read-more {
    margin-top: 60px;
    line-height: 1.5;
}

.post-body a {
    color: #0a7fd1;
    text-decoration: none;
    word-break: break-all;
}

.post-full .author-box {
    margin-top: 70px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

@media (max-width: 991px) {

    .post-body,
    .post-full .author-box {
        margin-left: 0;
    }

    .post-full .post-title {
        font-size: 26px;
    }
}