/*-----------------------------------*\
#style.css
\*-----------------------------------*/

/**
* copyright 2022 codewithsadee
*/





/*-----------------------------------*\
#CUSTOM PROPERTY
\*-----------------------------------*/

:root {

    /**
* colors
*/

    --light-steel-blue: hsl(218, 33%, 77%);
    --royal-blue-light: hsl(225, 68%, 53%);
    --flickr-blue_30: hsla(225, 68%, 53%, 0.3);
    --carolina-blue: hsl(201, 92%, 47%);
    --oxford-blue-1: hsl(218, 70%, 18%);
    --oxford-blue-2: hsl(217, 100%, 12%);
    --oxford-blue-3: hsl(218, 71%, 11%);
    --gainsboro_50: hsla(0, 0%, 85%, 0.5);
    --lavender-web: hsl(225, 67%, 91%);
    --sonic-silver: hsl(0, 0%, 47%);
    --light-gray: hsl(0, 0%, 84%);
    --cultured: hsl(0, 0%, 97%);
    --black_10: hsla(0, 0%, 0%, 0.1);
    --black_8: hsla(0, 0%, 0%, 0.08);
    --white: hsl(0, 0%, 100%);
    --black: hsl(0, 0%, 0%);
    --jet: hsl(0, 0%, 20%);

    /**
* gradient color
*/

    --gradient: linear-gradient(90deg, var(--carolina-blue) 0%, var(--royal-blue-light) 100%);

    /**
* typography
*/

    --ff-roboto: "Roboto", sans-serif;
    --ff-poppins: "Poppins", sans-serif;

    --fs-1: 4rem;
    --fs-2: 3.6rem;
    --fs-3: 3.2rem;
    --fs-4: 2.4rem;
    --fs-5: 2.2rem;
    --fs-6: 1.8rem;
    --fs-7: 1.6rem;

    --fw-800: 800;
    --fw-700: 700;
    --fw-600: 600;
    --fw-500: 500;

    /**
* spacing
*/

    --section-padding: 120px;

    /**
* shadow
*/

    --shadow-1: 4px 4px 15px var(--black_10);
    --shadow-2: 0 10px 15px var(--black_10);
    --shadow-3: 0px 20px 60px var(--black_8);
    --shadow-4: 0px 10px 30px var(--flickr-blue_30);
    --shadow-5: 0px 2px 60px 0px var(--black_10);

    /**
* border radius
*/

    --radius-6: 6px;
    --radius-4: 4px;

    /**
* transition
*/

    --transition: 0.25s ease;
    --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);

}





/*-----------------------------------*\
#RESET
\*-----------------------------------*/

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

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
}

a,
img,
span,
input,
button,
ion-icon {
    display: block;
}

img {
    height: auto;
}

input,
button {
    background: none;
    border: none;
    font: inherit;
}

input {
    width: 100%;
}

button {
    cursor: pointer;
}

ion-icon {
    pointer-events: none;
}

address {
    font-style: normal;
}

html {
    font-family: var(--ff-roboto);
    font-size: 10px;
    scroll-behavior: smooth;
}

body {
    background-color: var(--white);
    color: var(--sonic-silver);
    font-size: 1.5rem;
}





/*-----------------------------------*\
#REUSED STYLE
\*-----------------------------------*/

.container {
    padding-inline: 25px;
}

.section {
    padding-block: var(--section-padding);
}

.section-subtitle {
    color: var(--royal-blue-light);
    font-family: var(--ff-poppins);
    font-size: var(--fs-6);
    font-weight: var(--fw-700);
    text-transform: uppercase;
    margin-block-end: 10px;
}

.h1,
.h2,
.h3 {
    font-family: var(--ff-poppins);
    line-height: 1.2;
}

.h1 {
    color: var(--oxford-blue-1);
    font-size: 7rem;
}

.h2,
.h3 {
    color: var(--oxford-blue-2);
}

.h2 {
    font-size: var(--fs-1);
}

.h3 {
    font-size: var(--fs-5);
}

.btn {
    background-image: linear-gradient(var(--deg, 90deg), var(--carolina-blue) 0%, var(--royal-blue-light) 100%);
    color: var(--white);
    font-size: var(--fs-7);
    text-transform: uppercase;
    padding: 20px 30px;
    text-align: center;
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-4);
}

.btn:is(:hover, :focus) {
    --deg: -90deg;
}

.w-100 {
    width: 100%;
}

.text-center {
    text-align: center;
}

.card-text,
.section-text {
    line-height: 1.7;
}

.img-holder {
    aspect-ratio: var(--width) / var(--height);
    background-color: var(--light-gray);
}

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





/*-----------------------------------*\
#HEDER
\*-----------------------------------*/

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: transparent;
}

.header-top {
    display: none;
}

.header-bottom .btn-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 14px;
    font-size: 1.1rem;
    line-height: 1.2;
    white-space: nowrap;
    flex-shrink: 0;
    border: 1px solid var(--royal-blue-light);
    box-shadow: 0 12px 24px hsla(225, 68%, 53%, 0.18);
}

.header-bottom {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding-block: 10px;
    z-index: 2;
    background-color: hsla(0, 0%, 100%, 0.94);
    backdrop-filter: blur(16px);
    border-block-end: 1px solid hsla(218, 70%, 18%, 0.08);
}

.header-bottom.active {
    box-shadow: var(--shadow-2);
}

.header-bottom>.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 2;
}

.logo {
    position: relative;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--oxford-blue-1);
    font-family: var(--ff-poppins);
    font-weight: var(--fw-800);
    text-decoration: none;
    flex-shrink: 0;
}

.logo-mark {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid hsla(225, 68%, 53%, 0.14);
    border-radius: 50%;
    background: var(--white);
    line-height: 1;
    box-shadow: 0 14px 30px hsla(225, 68%, 53%, 0.22);
}

.logo-mark img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    margin-top: -20px;
}

.logo-text {
    display: block;
    font-size: 2.2rem;
    line-height: 1.05;
    white-space: nowrap;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid hsla(225, 68%, 53%, 0.22);
    border-radius: 12px;
    background: hsla(225, 67%, 91%, 0.42);
    color: var(--royal-blue-light);
    cursor: pointer;
    transition: var(--transition);
}

.lang-toggle ion-icon {
    font-size: 2rem;
    --ionicon-stroke-width: 42px;
}

.lang-toggle:is(:hover, :focus) {
    background-color: var(--royal-blue-light);
    color: var(--white);
}

.lang-switcher.is-open .lang-toggle {
    background-color: var(--royal-blue-light);
    color: var(--white);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 150px;
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background-color: var(--white);
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: 0.2s var(--cubic-out);
    z-index: 1002;
}

.lang-switcher.is-open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    padding: 10px 18px;
    color: var(--oxford-blue-1);
    font-size: 1.4rem;
    font-weight: var(--fw-500);
    text-decoration: none;
    transition: var(--transition);
}

.lang-option:is(:hover, :focus) {
    background-color: var(--cultured);
    color: var(--royal-blue-light);
}

.lang-option.is-active {
    color: var(--royal-blue-light);
    font-weight: var(--fw-700);
    background-color: rgba(59, 130, 246, 0.08);
}

.nav-toggle-btn {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--oxford-blue-1);
    font-size: 30px;
    border: 1px solid hsla(218, 70%, 18%, 0.16);
    border-radius: 12px;
    padding: 0;
    background-color: var(--white);
}

.nav-toggle-btn.active .menu-icon,
.nav-toggle-btn .close-icon {
    display: none;
}

.nav-toggle-btn .menu-icon,
.nav-toggle-btn.active .close-icon {
    display: block;
}

.navbar {
    position: absolute;
    top: calc(100% + 10px);
    left: 15px;
    right: 15px;
    background-color: var(--white);
    border: 1px solid hsla(218, 70%, 18%, 0.08);
    border-radius: 18px;
    box-shadow: var(--shadow-3);
    max-height: 0;
    visibility: hidden;
    overflow: hidden;
    transition: 0.25s var(--cubic-out);
    z-index: 1001;
}

.navbar.active {
    visibility: visible;
    max-height: 310px;
    transition-duration: 0.5s;
}

.navbar-list>li:not(:last-child) {
    border-block-end: 1px solid hsla(218, 70%, 18%, 0.07);
}

.navbar-link {
    color: var(--oxford-blue-1);
    text-transform: uppercase;
    font-weight: var(--fw-600);
    padding: 15px 18px;
    transition: var(--transition);
}

.navbar-link:is(:hover, :focus) {
    color: var(--royal-blue-light);
    background-color: hsla(225, 67%, 91%, 0.28);
}





/*-----------------------------------*\
#HERO
\*-----------------------------------*/

.hero {
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    padding-block-end: calc(var(--section-padding) / 2);
}

.hero-content {
    margin-block-end: 50px;
}

.hero-title {
    margin-block: 15px 30px;
}

.hero-text {
    font-size: var(--fs-6);
    line-height: 1.45;
    margin-block-end: 40px;
}

.hero-form {
    background-color: var(--white);
    max-width: 95%;
    padding: 15px;
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-3);
}

.hero-form .email-field {
    background-color: var(--cultured);
    color: var(--black);
    min-height: 70px;
    padding-inline: 15px;
    border-radius: var(--radius-4);
    margin-block-end: 15px;
}

.hero-form .btn {
    width: 100%;
}





/*-----------------------------------*\
#SERVICE
\*-----------------------------------*/

.service-banner {
    display: none;
}

.service {
    padding-block-end: 0;
}

.service .section-title {
    margin-block-end: 50px;
}

.service-list {
    display: grid;
    gap: 15px;
}

.service-card {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    min-height: 100%;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-4);
    padding: 30px;
}

.service-card .card-icon {
    width: 50px;
    flex-shrink: 0;
}

.service-card .card-title {
    margin-block-end: 8px;
}





/*-----------------------------------*\
#ABOUT
\*-----------------------------------*/

.about {
    padding-block-end: 0;
}

.about-banner {
    margin-block-end: 50px;
}

.about .section-text-1 {
    margin-block: 25px 15px;
}

.about .btn {
    font-size: unset;
    max-width: max-content;
    margin-block-start: 30px;
    padding-inline: 15px;
}





/*-----------------------------------*\
#DOCTOR
\*-----------------------------------*/

.doctor .section-title {
    margin-block-end: 50px;
}

.doctor-card .card-banner {
    border-radius: var(--radius-4);
    overflow: hidden;
    margin-block-end: 25px;
}

.doctor-card {
    padding: 30px;
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-4);
    text-align: center;
    min-height: 100%;
}

.doctor-card .card-title {
    font-size: var(--fs-4);
    transition: var(--transition);
}

.doctor-card:is(:hover, :focus-within) .card-title {
    color: var(--royal-blue-light);
}

.doctor-card .card-subtitle {
    color: var(--royal-blue-light);
    margin-block: 10px 15px;
}

.doctor-card .card-social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.doctor-card .card-social-link {
    background-color: var(--lavender-web);
    color: var(--royal-blue-light);
    font-size: 16px;
    padding: 12px;
    border-radius: 50%;
    transition: var(--transition);
}

.doctor-card .card-social-link:is(:hover, :focus) {
    background-color: var(--royal-blue-light);
    color: var(--white);
}

.has-scrollbar {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    margin-inline: 15px;
    padding-block-end: 40px;
    margin-block-end: -20px;
    scroll-snap-type: inline mandatory;
}

.scrollbar-item {
    min-width: 100%;
    scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar {
    height: 10px;
}

.has-scrollbar::-webkit-scrollbar-track {
    background-color: var(--light-gray);
    border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-thumb {
    background-color: var(--royal-blue-light);
    border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-button {
    width: calc(25% - 30px);
}





/*-----------------------------------*\
#CTA
\*-----------------------------------*/

.cta {
    background-color: var(--oxford-blue-1);
}

.cta-banner {
    margin-block-end: 50px;
}

.cta .section-subtitle {
    text-transform: capitalize;
}

.cta .section-title {
    color: var(--white);
    font-size: var(--fs-3);
    margin-block-end: 30px;
}

.cta .btn {
    max-width: max-content;
}





/*-----------------------------------*\
#BLOG
\*-----------------------------------*/

.blog .section-title {
    margin-block-end: 50px;
}

.blog-list {
    display: grid;
    gap: 30px;
}

.blog-card {
    border-radius: var(--radius-4);
    box-shadow: var(--shadow-5);
}

.blog-card .card-banner {
    position: relative;
    border-radius: var(--radius-4);
    overflow: hidden;
}

.blog-card .card-banner img {
    transition: var(--transition);
}

.blog-card:is(:hover, :focus-within) .card-banner img {
    transform: scale(1.1);
}

.blog-card .card-badge {
    background-color: var(--royal-blue-light);
    color: var(--white);
    position: absolute;
    bottom: 25px;
    left: 25px;
    display: flex;
    gap: 5px;
    padding: 10px 15px;
    border-radius: var(--radius-6);
}

.blog-card .card-content {
    padding: 30px;
}

.blog-card .card-title {
    transition: var(--transition);
}

.blog-card .card-title:is(:hover, :focus) {
    color: var(--royal-blue-light);
}

.blog-card .card-text {
    margin-block: 15px;
}

.blog-card .card-link {
    position: relative;
    color: var(--royal-blue-light);
    font-weight: var(--fw-500);
    text-transform: uppercase;
    width: max-content;
    transition: var(--transition);
}

.blog-card .card-link::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--royal-blue-light);
    transition: var(--transition);
}

.blog-card .card-link:is(:hover, :focus) {
    color: var(--oxford-blue-1);
}

.blog-card .card-link:is(:hover, :focus)::after {
    background-color: var(--oxford-blue-1);
}





/*-----------------------------------*\
#FOOTER
\*-----------------------------------*/

.footer-top {
    background-color: var(--oxford-blue-2);
    color: var(--light-steel-blue);
}

.footer-top .container {
    display: grid;
    gap: 30px;
}

.footer-brand .logo {
    color: var(--white);
}

.footer-text {
    line-height: 1.6;
    margin-block: 15px;
}

.schedule {
    display: flex;
    align-items: center;
    gap: 15px;
}

.schedule-icon,
.footer-item .item-icon {
    background-image: var(--gradient);
    color: var(--white);
    font-size: 18px;
    padding: 11px;
    border-radius: 50%;
}

.schedule .span,
.footer-item .item-text {
    line-height: 1.6;
}

.footer-list-title {
    color: var(--white);
    font-family: var(--ff-poppins);
    font-size: var(--fs-4);
    font-weight: var(--fw-700);
    margin-block-end: 10px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-block: 10px;
    transition: var(--transition);
}

.footer-link ion-icon {
    color: var(--royal-blue-light);
    --ionicon-stroke-width: 50px;
}

.footer-link:is(:hover, :focus) {
    color: var(--white);
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-item:not(:first-child) {
    margin-block-start: 20px;
}

.footer-bottom {
    background-color: var(--oxford-blue-3);
    padding-block: 50px;
    text-align: center;
}

.copyright {
    color: var(--white);
    line-height: 1.6;
    margin-block-end: 25px;
}

.footer .social-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.footer .social-link {
    padding: 11px;
    background-color: hsla(0, 0%, 100%, 0.2);
    color: var(--white);
    font-size: 18px;
    border-radius: 50%;
}

.footer .social-link:is(:hover, :focus) {
    background-image: var(--gradient);
}





/*-----------------------------------*\
#BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
    position: fixed;
    bottom: 10px;
    right: 20px;
    background-color: var(--royal-blue-light);
    font-size: 18px;
    color: var(--white);
    padding: 14px;
    border-radius: 50%;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
}

.back-top-btn.active {
    transform: translateY(-10px);
    visibility: visible;
    opacity: 1;
}





/*-----------------------------------*\
#MEDIA QUERIES
\*-----------------------------------*/

/**
* responsive for larger than 575px screen
*/

@media (min-width: 575px) {

    /**
* CUSTOM PROPERTY
*/

    :root {

        /**
* typography
*/

        --fs-1: 4.2rem;

    }



    /**
* REUSED STYLE
*/

    .container {
        max-width: 540px;
        width: 100%;
        margin-inline: auto;
    }



    /**
* BLOG
*/

    .blog-card .h3 {
        --fs-5: 2.6rem;
    }



    /**
* FOOTER
*/

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

}





/**
* responsive for larger than 768px screen
*/

@media (min-width: 768px) {

    /**
* CUSTOM PROPERTY
*/

    :root {

        /**
* typography
*/

        --fs-2: 4.8rem;

    }



    /**
* RESET
*/

    body {
        font-size: 1.6rem;
    }



    /**
* REUSED STYLE
*/

    .container {
        max-width: 750px;
    }

    .section-subtitle {
        --fs-6: 2.2rem;
    }



    /**
* HERO
*/

    .hero {
        overflow: hidden;
    }

    .hero .container {
        display: grid;
        grid-template-columns: 1fr 0.75fr;
        align-items: center;
        gap: 20px;
    }

    .hero-content {
        margin-block-end: 0;
    }

    .hero-form {
        position: relative;
    }

    .hero-form .email-field {
        margin-block-end: 0;
        padding-inline-end: 190px;
    }

    .hero-form .btn {
        width: auto;
        position: absolute;
        top: 15px;
        right: 15px;
        bottom: 15px;
    }

    .hero-banner {
        margin-inline-end: -60px;
    }



    /**
* SERVICE
*/

    .service-list {
        grid-template-columns: 1fr 1fr;
        column-gap: 30px;
    }



    /**
* DOCTOR
*/

    .scrollbar-item {
        min-width: calc(50% - 15px);
    }



    /**
* CTA
*/

    .cta {
        padding-block: 0;
    }

    .cta .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-end;
        gap: 60px;
    }

    .cta-banner {
        margin-block-end: 0;
    }

    .cta-content {
        padding-block: 60px;
    }



    /**
* BLOG
*/

    .blog-list {
        grid-template-columns: 1fr 1fr;
    }



    /**
* FOOTER
*/

    .footer-bottom {
        padding-block: 30px;
    }

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

    .copyright {
        margin-block-end: 0;
    }



    /**
* BACK TO TOP
*/

    .back-top-btn {
        bottom: 70px;
        right: 50px;
    }

}





/**
* responsive for larger than 992px screen
*/

@media (min-width: 992px) {

    /**
* CUSTOM PROPERTY
*/

    :root {

        /**
* typography
*/

        --fs-2: 6rem;
        --fs-1: 4.6rem;
        --fs-3: 4.6rem;

    }



    /**
* REUSED STYLE
*/

    .container {
        max-width: 980px;
    }



    /**
* HEADER
*/

    .header-top {
        display: block;
        background: linear-gradient(90deg, var(--oxford-blue-2), var(--oxford-blue-1));
        color: var(--white);
        padding-block: 9px;
    }

    .header-top :is(.container, .social-list),
    .contact-list,
    .contact-item {
        display: flex;
        align-items: center;
    }

    .header-top .container {
        justify-content: space-between;
        min-height: 34px;
    }

    .contact-list {
        gap: 10px;
        flex-wrap: wrap;
    }

    .contact-item {
        gap: 8px;
        padding: 6px 12px;
        border: 1px solid hsla(0, 0%, 100%, 0.12);
        border-radius: 999px;
        background-color: hsla(0, 0%, 100%, 0.06);
    }

    .contact-item ion-icon {
        color: var(--royal-blue-light);
        --ionicon-stroke-width: 40px;
    }

    .contact-link {
        font-size: 1.35rem;
    }

    .header-top .social-list {
        gap: 8px;
    }

    .header-top .social-link {
        display: inline-grid;
        place-items: center;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: hsla(0, 0%, 100%, 0.08);
        font-size: 1.7rem;
        transition: var(--transition);
    }

    .header-top .social-link:is(:hover, :focus) {
        background-color: var(--white);
        color: var(--royal-blue-light);
    }

    .header-top-actions {
        display: none;
    }

    .header-bottom {
        padding-block: 10px;
    }

    .header-bottom.active {
        box-shadow: var(--shadow-2);
    }

    .header-bottom > .container {
        gap: 14px;
        flex-wrap: nowrap;
        min-height: 62px;
    }

    .header-bottom .logo-text {
        font-size: 2rem;
        line-height: 1.1;
        white-space: nowrap;
    }

    .header-bottom .logo-mark {
        width: 44px;
        height: 44px;
    }

    .nav-toggle-btn {
        display: none;
    }

    .navbar,
    .navbar.active {
        all: unset;
        flex: 1 1 auto;
        min-width: 0;
        display: flex;
        justify-content: center;
        position: static;
        visibility: visible;
        max-height: none;
        overflow: visible;
        box-shadow: none;
        background: hsla(225, 67%, 91%, 0.32);
        border: 1px solid hsla(225, 68%, 53%, 0.09);
        border-radius: 999px;
        padding: 5px;
    }

    .navbar-list {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 3px;
    }

    .navbar-list>li:not(:last-child) {
        border-block-end: none;
    }

    .navbar-link {
        color: var(--oxford-blue-1);
        font-family: var(--ff-poppins);
        font-size: 1.28rem;
        font-weight: var(--fw-600);
        text-transform: capitalize;
        padding: 8px 11px;
        border-radius: 999px;
        white-space: nowrap;
        transition: var(--transition);
    }

    .navbar-link:is(:hover, :focus) {
        background-color: var(--white);
        color: var(--royal-blue-light);
        box-shadow: 0 10px 22px hsla(225, 68%, 53%, 0.12);
    }

    .header-bottom .btn-register {
        display: inline-flex;
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: 1.2rem;
        line-height: 1.2;
        white-space: nowrap;
        border-radius: 999px;
    }

    @media (max-width: 1100px) {
        .header-bottom .logo-text {
            font-size: 1.75rem;
        }

        .header-bottom .logo-mark {
            width: 38px;
            height: 38px;
        }

        .navbar-link {
            font-size: 1.12rem;
            padding: 7px 7px;
        }

        .navbar-list {
            gap: 2px;
        }

        .header-bottom .btn-register {
            font-size: 1.05rem;
            padding: 9px 11px;
        }
    }



    /**
* SERVICE
*/

    .service-list {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-banner {
        display: block;
        grid-column: 2 / 3;
        grid-row: 1 / 4;
        align-self: center;
    }



    /**
* ABOUT
*/

    .about .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 30px;
    }

    .about-banner {
        margin-block-end: 0;
    }



    /**
* DOCTOR
*/

    .scrollbar-item {
        min-width: calc(33.33% - 20px);
    }



    /**
* CTA
*/

    .cta-content {
        padding-block: 80px;
    }



    /**
* BLOG
*/

    .blog-list {
        grid-template-columns: repeat(3, 1fr);
    }



    /**
* FOOTER
*/

    .footer-top .container {
        grid-template-columns: 1fr 0.5fr 0.6fr 0.75fr;
    }

}





/**
* responsive for larger than 1200px screen
*/

@media (min-width: 1200px) {

    /**
* CUSTOM PROPERTY
*/

    :root {

        /**
* typography
*/

        --fs-2: 8rem;
        --fs-1: 5.5rem;
        --fs-3: 4.8rem;

    }



    /**
* REUSED STYLE
*/

    .container {
        max-width: 1180px;
    }



    /**
* HEADER
*/

    .contact-list {
        gap: 14px;
    }

    .header-bottom .btn-register {
        padding: 12px 20px;
        font-size: 1.22rem;
    }

    .header-bottom > .container {
        gap: 18px;
    }

    .header-bottom .logo-text {
        font-size: 2.15rem;
    }

    .navbar-list {
        gap: 5px;
    }

    .navbar-link {
        font-size: 1.34rem;
        padding: 8px 13px;
    }



    /**
* ABOUT
*/

    .about .container {
        grid-template-columns: 0.85fr 1fr;
        gap: 100px;
    }



    /**
* DOCTOR
*/

    .doctor {
        padding-block-end: 180px;
    }

    .scrollbar-item {
        min-width: calc(25% - 22.5px);
    }

    .has-scrollbar {
        padding-block-end: 0;
        margin-block-end: 0;
    }



    /**
* CTA
*/

    .cta .container {
        align-items: center;
    }

    .cta-banner {
        margin-block-start: -120px;
    }

}




/* ////////////////////////////// */
/* Enhanced Tabs Navigation */
.services-tabs {
    margin-bottom: 4rem;
}

.tabs-navigation {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: white;
    border: 2px solid #e8f2fe;
    border-radius: 15px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.6rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.tab-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.tab-btn:hover::before {
    left: 100%;
}

.tab-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), #3b82f6);
    border-color: var(--primary-color);
    /* color: white; */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.tab-icon {
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.tab-btn:hover .tab-icon {
    transform: scale(1.2);
}

.tab-btn.active .tab-icon {
    transform: scale(1.2);
}

/* Enhanced Tabs Content */
.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: slideUp 0.6s ease-out;
}

.tab-pane.active {
    display: block;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.service-card.enhanced {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.service-card.enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #3b82f6);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card.enhanced:hover::before {
    transform: scaleX(1);
}

.service-card.enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e1effe 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.service-badge {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-body {
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-weight: 700;
}

.card-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.6rem;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.service-link:hover {
    gap: 1rem;
    color: #1e40af;
}

.cta-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.cta-link:hover {
    color: #1e40af;
    border-color: #1e40af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs-navigation {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
    }

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

    .service-card.enhanced {
        padding: 1.5rem;
    }
}

@media (min-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}



/* Call to Action */
/* Clinic Gallery Styles */
.clinic-gallery {
    background: linear-gradient(135deg, #f8faff 0%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.clinic-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.02"><path fill="%233b82f6" d="M500,100 C723,100 900,277 900,500 C900,723 723,900 500,900 C277,900 100,723 100,500 C100,277 277,100 500,100 Z"/></svg>') center/contain repeat;
    pointer-events: none;
}

/* Gallery Slider */
.gallery-slider {
    position: relative;
    margin: 4rem 0;
    padding: 0 2rem;
}

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

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 2rem;
}

.slider-slide {
    min-width: calc(33.333% - 1.33rem);
    flex-shrink: 0;
}

.gallery-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-card:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.overlay-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
    margin: 0;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1rem;
    pointer-events: none;
    z-index: 2;
}

.slider-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    font-size: 1.8rem;
    color: var(--royal-blue-light);
}

.slider-btn:hover {
    background: var(--royal-blue-light);
    color: white;
    transform: scale(1.1);
}

.slider-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.slider-btn:disabled:hover {
    background: white;
    color: var(--royal-blue-light);
}

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--royal-blue-light);
    transform: scale(1.2);
}

/* Clinic Features */
.clinic-features {
    margin: 6rem 0 4rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f1f5f9;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--royal-blue-light), #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2.5rem;
    color: white;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--oxford-blue-1);
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
}

/* Gallery CTA */
.gallery-cta {
    background: linear-gradient(135deg, var(--royal-blue-light), #3b82f6);
    border-radius: 20px;
    padding: 4rem;
    text-align: center;
    color: white;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.gallery-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000" opacity="0.1"><path fill="%23ffffff" d="M500,100 C723,100 900,277 900,500 C900,723 723,900 500,900 C277,900 100,723 100,500 C100,277 277,100 500,100 Z"/></svg>') center/contain repeat;
    animation: float 20s linear infinite;
}

@keyframes float {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.gallery-cta .cta-content {
    position: relative;
    z-index: 1;
}

.gallery-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.gallery-cta p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.gallery-cta .btn {
    background: white;
    color: var(--royal-blue-light);
    font-weight: 600;
}

.gallery-cta .btn:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .slider-slide {
        min-width: calc(50% - 1rem);
    }

    .slider-controls {
        display: none;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .gallery-cta {
        padding: 3rem 2rem;
    }

    .gallery-slider {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .slider-slide {
        min-width: 100%;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }
}







/* Smile Gallery Section */

.smile-gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" opacity="0.02"><path fill="%233b82f6" d="M50,10 C70,10 90,30 90,50 C90,70 70,90 50,90 C30,90 10,70 10,50 C10,30 30,10 50,10 Z"/></svg>') center/200px repeat;
    pointer-events: none;
}

/* Enhanced Filter Section */
.smile-gallery-header {
    margin-bottom: 4rem;
}

.filter-container {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--oxford-blue-1);
    font-size: 1.6rem;
}

.filter-label ion-icon {
    color: var(--royal-blue-light);
    font-size: 2rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    padding: 1rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s;
}

.filter-chip:hover::before {
    left: 100%;
}

.filter-chip:hover {
    border-color: var(--royal-blue-light);
    color: var(--royal-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.15);
}

.filter-chip.active {
    background: linear-gradient(135deg, var(--royal-blue-light), #3b82f6);
    border-color: var(--royal-blue-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.case-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.filter-chip:not(.active) .case-count {
    background: #e2e8f0;
    color: #64748b;
}

/* Smile Grid */
.smile-gallery-container {
    margin-bottom: 4rem;
}

.smile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.smile-item {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.smile-item.hidden {
    opacity: 0;
    transform: translateY(20px);
    display: none;
}

/* Smile Card */
.smile-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    height: 100%;
}

.smile-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.card-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.before-after-container {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

.before-after-labels {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    justify-content: space-between;
}

.before-label,
.after-label {
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.treatment-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Card Content */
.card-content {
    padding: 2.5rem;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--oxford-blue-1);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.card-description {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.treatment-details {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.3rem;
    color: #475569;
}

.detail-item ion-icon {
    color: var(--royal-blue-light);
    font-size: 1.6rem;
}

/* Load More Button */
.load-more-container {
    text-align: center;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--oxford-blue-1);
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.load-more-btn:hover {
    border-color: var(--royal-blue-light);
    color: var(--royal-blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .filter-chips {
        gap: 0.75rem;
    }

    .filter-chip {
        padding: 0.75rem 1.25rem;
        font-size: 1.3rem;
    }

    .smile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-content {
        padding: 2rem;
    }

    .treatment-details {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (min-width: 1200px) {
    .smile-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Animation for filter changes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smile-item.show {
    animation: fadeInUp 0.6s ease-out;
}


/* <!-- CONTACT / APPOINTMENT --> */


/* ================= CONTACT / APPOINTMENT ================ */
.contact-section {
    position: relative;
    background: linear-gradient(135deg, #f8faff 0%, #ffffff 100%);
}

.contact-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' opacity='0.02'><path fill='%233b82f6' d='M50,10 C70,10 90,30 90,50 C90,70 70,90 50,90 C30,90 10,70 10,50 C10,30 30,10 50,10 Z'/></svg>") center/200px repeat;
    pointer-events: none;
}

.contact-section .section-title {
    margin-bottom: 1rem;
}

.contact-container {
    margin-top: 4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3.5rem;
    align-items: stretch;
}

/* ===== Left: Form Card ===== */
.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow-3);
    border: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.form-header {
    text-align: center;
    margin-bottom: 2.2rem;
}

.form-header h3 {
    font-size: 2.3rem;
    color: var(--oxford-blue-1);
    margin-bottom: 0.7rem;
    font-family: var(--ff-poppins);
}

.form-header p {
    color: #64748b;
    font-size: 1.45rem;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

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

.form-label {
    font-weight: 600;
    color: var(--oxford-blue-1);
    margin-bottom: 0.4rem;
    font-size: 1.35rem;
}

.form-input,
.form-select,
.form-textarea {
    padding: 1.05rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.4rem;
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--royal-blue-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.08);
}

.form-input[type="date"] {
    min-height: 46px;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-error {
    display: none;
    color: #ef4444;
    font-size: 1.2rem;
    margin-top: 0.3rem;
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
}

.form-input.error+.form-error,
.form-select.error+.form-error,
.form-textarea.error+.form-error {
    display: block;
}

/* submit btn */
.form-submit {
    margin-top: .5rem;
}

.submit-btn {
    width: 100%;
    background-image: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    padding: 1.4rem 2rem;
    font-weight: 600;
    font-size: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    left: -100%;
    transition: 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
}

.btn-loading {
    display: none;
}

/* ===== Right: Contact Info ===== */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    height: 100%;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-3);
    background: var(--white);
}

.map-wrapper {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 1.4rem;
    left: 1.4rem;
    background: var(--white);
    padding: 1.3rem 1.5rem;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
    max-width: 220px;
}

.map-info h4 {
    color: var(--oxford-blue-1);
    margin-bottom: .4rem;
}

.directions-btn {
    display: inline-flex;
    gap: .5rem;
    align-items: center;
    color: var(--royal-blue-light);
    font-weight: 600;
    font-size: 1.3rem;
}

/* contact details box */
.contact-details-footer {
    background: var(--white);
    border-radius: 20px;
    padding: 2.2rem;
    border: 1px solid #f1f5f9;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
}

.contact-item-footer {
    display: flex;
    gap: 1.4rem;
    align-items: flex-start;
    padding: 1.3rem 0;
    border-bottom: 1px solid #eef1f5;
}

.contact-item-footer:last-child {
    border-bottom: none;
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-content h4 {
    color: var(--oxford-blue-1);
    font-size: 1.5rem;
    margin-bottom: .4rem;
}

.contact-content p {
    line-height: 1.5;
    font-size: 1.35rem;
}

/* emergency box */
.emergency-contact {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 18px;
    padding: 2.2rem 2.4rem;
    color: #fff;
    text-align: center;
    box-shadow: 0 10px 35px rgba(239, 68, 68, 0.25);
}

.emergency-content h4 {
    font-size: 1.7rem;
    margin-bottom: .6rem;
}

.emergency-btn {
    margin-top: 1.2rem;
    background: #fff;
    color: #ef4444;
    border-radius: 999px;
    display: inline-flex;
    gap: .6rem;
    align-items: center;
    padding: .9rem 1.9rem;
    font-weight: 600;
}

/* ====== Responsive ====== */
@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
    }

    .contact-form-container,
    .contact-info-container {
        max-width: 650px;
        width: 100%;
        margin-inline: auto;
    }

    .map-overlay {
        position: static;
        margin-top: 1rem;
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .contact-form-container {
        padding: 2.2rem 1.8rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-details-footer {
        padding: 2rem 1.6rem;
    }

    .contact-item-footer {
        flex-direction: row;
    }
}
