/*
Theme Name: Future Life Clinic
Theme URI: https://futurelifeclinic.ae/
Author: Future Life Clinic
Description: Exact Future Life General Medical Clinic website with Elementor support.
Version: 1.0.0
Requires at least: 5.8
Requires PHP: 7.4
Text Domain: future-life-clinic
*/

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "DM Sans", sans-serif;
    color: #152d3d;
    background: #f7faf9;
    line-height: 1.6;
}

body.rtl {
    direction: rtl;
}

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

button {
    font: inherit;
}

.container {
    width: min(1180px, 92%);
    margin: auto;
}


/* ================= HEADER ================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(247, 250, 249, .92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #dfe9e6;
}

.nav-wrap {
    width: min(1280px, 94%);
    min-height: 82px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;

    display: grid;
    place-items: center;

    background: #163e52;
    color: #b8efdc;

    border-radius: 13px;

    font: 800 15px Manrope;
}

.brand-mark img {
    width: 50px;
    height: auto;
    display: block;
}

.brand strong {
    display: block;

    font: 800 17px Manrope;

    letter-spacing: 1px;

    color: #163e52;
}

.brand small {
    display: block;

    font-size: 8px;

    letter-spacing: 2px;

    color: #71838d;

    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 700;
    color: #46616e;

    transition: .2s;
}

.nav-menu a:hover {
    color: #0b9275;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.lang-btn {
    border: 1px solid #cbdcd6;

    background: transparent;

    color: #315463;

    border-radius: 999px;

    padding: 9px 14px;

    cursor: pointer;

    font-weight: 700;
}

.nav-cta,
.btn {
    background: #0b9275;

    color: #fff;

    padding: 13px 19px;

    border-radius: 999px;

    font-weight: 800;

    display: inline-flex;

    gap: 10px;

    align-items: center;
}

.nav-cta {
    font-size: 13px;
}

.menu-toggle {
    display: none;

    border: 0;

    background: none;

    font-size: 27px;

    color: #163e52;
}


/* ================= HERO ================= */

.hero {
    min-height: 720px;

    background: #eaf3f0;

    position: relative;

    overflow: hidden;
}

.hero-grid {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(rgba(22, 62, 82, .045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 62, 82, .045) 1px, transparent 1px);

    background-size: 55px 55px;

    mask-image: linear-gradient(90deg, #000, transparent 80%);
}

.hero-glow {
    position: absolute;

    border-radius: 50%;

    filter: blur(4px);
}

.glow-one {
    width: 500px;
    height: 500px;

    background: #c8f1e4;

    right: -100px;
    top: -170px;
}

.glow-two {
    width: 330px;
    height: 330px;

    background: #d8e8f5;

    left: -100px;
    bottom: -120px;
}

.hero-inner {
    min-height: 720px;

    display: grid;

    grid-template-columns: 1.02fr .98fr;

    align-items: center;

    gap: 70px;

    position: relative;
}

.hero-copy {
    padding: 70px 0;
}

.eyebrow {
    display: flex;

    align-items: center;

    gap: 9px;

    color: #0b9275;

    font: 800 11px Manrope;

    letter-spacing: 2px;
}

.eyebrow > span:first-child {
    width: 28px;
    height: 2px;

    background: #0b9275;
}

.hero h1 {
    font: 800 clamp(48px, 6.5vw, 83px)/.98 Manrope;

    color: #153849;

    letter-spacing: -3px;

    margin: 22px 0;
}

.hero h1 em,
.section-intro h2 em,
.section-head-row h2 em,
.contact h2 em {
    font-style: normal;

    color: #0b9275;
}

.hero-copy > p {
    font-size: 18px;

    color: #58717d;

    max-width: 620px;
}

.hero-actions {
    display: flex;

    align-items: center;

    gap: 25px;

    margin-top: 32px;
}

.btn-primary {
    box-shadow: 0 12px 28px rgba(11, 146, 117, .2);
}

.text-link {
    font-weight: 800;

    color: #244a5b;
}

.text-link span {
    color: #0b9275;

    margin-left: 7px;
}

.hero-trust {
    display: flex;

    gap: 35px;

    margin-top: 55px;
}

.hero-trust div {
    padding-left: 18px;

    border-left: 2px solid #cbdcd6;
}

.hero-trust b {
    display: block;

    font: 800 20px Manrope;

    color: #163e52;
}

.hero-trust small {
    display: block;

    font-size: 11px;

    color: #78909a;
}

.hero-visual {
    position: relative;
    height: 620px;
    width: 100%;
}

.herphotoo- {
    position: absolute;
    inset: 40px 0 25px 45px;

    background: url("./images/home.jpeg") center center / cover no-repeat;

    border-radius: 40px 40px 120px 40px;
    overflow: hidden;

    box-shadow: 0 30px 80px rgba(22, 62, 82, .18);
}

.floating-card {
    position: absolute;

    background: #fff;

    border: 1px solid rgba(255, 255, 255, .8);

    box-shadow: 0 18px 45px rgba(22, 62, 82, .16);

    border-radius: 18px;

    padding: 16px;

    display: flex;

    align-items: center;

    gap: 12px;
}

.fc-top {
    left: 0;
    top: 95px;
}

.fc-bottom {
    right: -20px;
    bottom: 55px;

    display: block;

    min-width: 130px;
}

.floating-card strong {
    font: 800 20px Manrope;

    color: #153849;
}

.floating-card small {
    display: block;

    color: #78909a;

    font-size: 10px;
}

.pulse-dot {
    width: 10px;
    height: 10px;

    background: #0b9275;

    border-radius: 50%;

    box-shadow: 0 0 0 6px #e1f6ef;
}

.stars {
    color: #f4ae42;

    letter-spacing: 2px;

    font-size: 11px;

    margin: 2px 0;
}


/* ================= QUICK STRIP ================= */

.quick-strip {
    background: #153849;

    color: #fff;
}

.quick-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
}

.quick-grid > a {
    padding: 24px 30px;

    display: flex;

    align-items: center;

    gap: 15px;

    border-right: 1px solid rgba(255, 255, 255, .1);

    transition: .25s;
}

.quick-grid > a:hover {
    background: #1b465a;
}

.quick-grid > a:last-child {
    border: 0;
}

.q-icon {
    width: 44px;
    height: 44px;

    border-radius: 14px;

    background: #20566a;

    color: #b8efdc;

    display: grid;

    place-items: center;

    font-size: 20px;
}

.quick-grid b {
    display: block;

    font-size: 13px;
}

.quick-grid small {
    color: #9fb4bd;

    font-size: 11px;
}

.quick-grid i {
    margin-left: auto;

    color: #91e4cd;

    font-style: normal;
}


/* ================= SECTIONS ================= */

.section {
    padding: 110px 0;
}


/* ================= ABOUT ================= */

.about {
    background: #f7faf9;
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 90px;

    align-items: center;
}

.eyebrow.dark {
    color: #0b9275;
}

.section-intro h2,
.section-head-row h2,
.contact h2 {
    font: 800 clamp(38px, 4.5vw, 59px)/1.04 Manrope;

    color: #17394a;

    letter-spacing: -2px;

    margin: 18px 0 25px;
}

.section-intro > p,
.contact-lead {
    font-size: 16px;

    color: #607883;

    max-width: 600px;
}

.about-points {
    margin-top: 35px;

    display: grid;

    gap: 15px;
}

.about-points div {
    display: flex;

    align-items: center;

    gap: 16px;

    padding-bottom: 15px;

    border-bottom: 1px solid #dbe7e3;
}

.about-points span {
    font: 800 11px Manrope;

    color: #0b9275;
}

.about-points b {
    font-size: 14px;

    color: #254a5b;
}

.about-collage {
    position: relative;

    min-height: 540px;
}

.about-main {
    width: 78%;
    height: 500px;

    object-fit: cover;

    border-radius: 35px;

    display: block;

    margin-left: auto;
}

.about-note {
    position: absolute;

    bottom: 5px;
    left: 0;

    width: 260px;

    padding: 25px;

    background: #153849;

    color: #fff;

    border-radius: 24px;

    box-shadow: 0 20px 45px rgba(22, 62, 82, .18);
}

.about-note span {
    display: grid;

    place-items: center;

    width: 38px;
    height: 38px;

    border-radius: 12px;

    background: #b8efdc;

    color: #153849;

    font-weight: 900;

    margin-bottom: 18px;
}

.about-note b {
    display: block;

    font: 800 17px Manrope;
}

.about-note small {
    display: block;

    color: #adc2ca;

    font-size: 11px;

    margin-top: 8px;
}


/* ================= SERVICES ================= */

.services {
    background: #153849;

    color: #fff;
}

.section-head-row {
    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 50px;

    margin-bottom: 55px;
}

.services .eyebrow,
.doctors .eyebrow {
    color: #b8efdc;
}

.services .eyebrow > span:first-child,
.doctors .eyebrow > span:first-child {
    background: #b8efdc;
}

.section-head-row h2 {
    color: #fff;

    max-width: 720px;
}

.section-head-row > p {
    color: #9fb4bd;

    max-width: 390px;

    font-size: 13px;
}

.services-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 16px;
}

.service-card {
    background: #1b465a;

    border: 1px solid #28586b;

    border-radius: 22px;

    padding: 26px;

    min-height: 230px;

    transition: .3s;

    position: relative;

    overflow: hidden;
}

.service-card:after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    border-radius: 50%;

    background: #b8efdc;

    opacity: .05;

    right: -40px;
    bottom: -40px;
}

.service-card:hover {
    transform: translateY(-6px);

    background: #205267;
}

.service-no {
    font: 800 11px Manrope;

    color: #8ddfc9;
}

.service-icon {
    font-size: 28px;

    color: #b8efdc;

    margin: 35px 0 22px;
}

.service-card h3 {
    font: 800 18px Manrope;
}

.service-card p {
    color: #a9bdc5;

    font-size: 12px;

    margin-top: 8px;
}


/* ================= DOCTORS ================= */

.doctors {
    background: #f7faf9;

    overflow: hidden;
}

.doctors-head {
    margin-bottom: 38px;
}

.doctors h2 {
    color: #17394a;
}

.slider-controls {
    display: flex;

    gap: 8px;
}

.slider-controls button {
    width: 46px;
    height: 46px;

    border-radius: 50%;

    border: 1px solid #cbdcd6;

    background: #fff;

    color: #153849;

    cursor: pointer;

    font-size: 20px;

    transition: .2s;
}

.slider-controls button:hover {
    background: #0b9275;

    color: #fff;

    border-color: #0b9275;
}

.doctor-viewport {
    overflow: hidden;

    padding: 5px 0 25px;
}

.doctor-track {
    display: flex;

    gap: 20px;

    width: max-content;

    transform: translateX(0);

    transition: transform .55s cubic-bezier(.2, .8, .2, 1);

    padding-left: max(4vw, calc((100vw - 1180px) / 2));
}

.doctor-card {
    width: 255px;

    flex-shrink: 0;

    background: #fff;

    border: 1px solid #e0e9e6;

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 12px 35px rgba(22, 62, 82, .07);
}

.doctor-photo {
    height: 310px;

    background: #dfeae6;

    overflow: hidden;
}

.doctor-photo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    font: 800 18px Manrope;

    color: #17394a;
}

.doctor-info p {
    color: #0b9275;

    font-size: 12px;

    font-weight: 700;

    margin-top: 4px;
}

.doctor-info small {
    display: block;

    color: #8a9ca4;

    font-size: 10px;

    margin-top: 9px;
}

.slider-note {
    font-size: 11px;

    color: #82949c;
}


/* ================= CTA ================= */

.appointment-band {
    background: #b8efdc;

    padding: 65px 0;
}

.appointment-inner {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 35px;
}

.appointment-band h2 {
    font: 800 clamp(30px, 4vw, 48px)/1.05 Manrope;

    color: #153849;

    max-width: 800px;

    margin-top: 12px;

    letter-spacing: -1.5px;
}

.btn-light {
    background: #153849;
}


/* ================= CONTACT ================= */

.contact {
    background: #fff;
}

.contact-grid {
    display: grid;

    grid-template-columns: .9fr 1.1fr;

    gap: 80px;

    align-items: center;
}

.contact h2 {
    margin-bottom: 15px;
}

.contact-list {
    margin-top: 35px;

    display: grid;

    gap: 20px;
}

.contact-list > a,
.contact-list > div {
    display: flex;

    gap: 15px;

    align-items: flex-start;
}

.contact-list > a > span,
.contact-list > div > span {
    width: 43px;
    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background: #e8f4f0;

    color: #0b9275;

    font-size: 18px;

    flex-shrink: 0;
}

.contact-list small {
    display: block;

    color: #8b9ba2;

    font: 800 9px Manrope;

    letter-spacing: 1.5px;
}

.contact-list b {
    display: block;

    color: #244a5b;

    font-size: 13px;

    margin-top: 3px;
}

.map-card {
    height: 480px;

    border-radius: 32px;

    overflow: hidden;

    position: relative;

    box-shadow: 0 25px 70px rgba(22, 62, 82, .13);

    border: 8px solid #f1f6f4;
}

.map-card iframe {
    width: 100%;
    height: 100%;

    border: 0;
}

.map-link {
    position: absolute;

    bottom: 18px;
    right: 18px;

    background: #153849;

    color: #fff;

    padding: 12px 16px;

    border-radius: 999px;

    font-size: 11px;

    font-weight: 800;

    box-shadow: 0 10px 25px rgba(0, 0, 0, .18);
}


/* ================= FOOTER ================= */

footer {
    background: #102d3d;

    color: #fff;
}

.footer-top {
    display: grid;

    grid-template-columns: 1.6fr 1fr 1fr;

    gap: 70px;

    padding: 65px 0;
}

.footer-brand {
    display: inline-flex;
}

.footer-top p {
    color: #91a9b2;

    font-size: 12px;

    max-width: 300px;

    margin-top: 20px;
}

.footer-top h4 {
    font: 800 12px Manrope;

    letter-spacing: 1px;

    margin-bottom: 18px;

    color: #b8efdc;
}

.footer-top a:not(.brand) {
    display: block;

    color: #a5b8bf;

    font-size: 12px;

    margin-bottom: 9px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .1);

    padding: 20px 0;

    color: #78909a;

    font-size: 10px;
}


/* ================= RTL ================= */

.rtl .hero-copy {
    text-align: right;
}

.rtl .hero-actions,
.rtl .hero-trust {
    flex-direction: row-reverse;
}

.rtl .hero-trust div {
    border-left: 0;

    border-right: 2px solid #cbdcd6;

    padding-left: 0;

    padding-right: 18px;
}

.rtl .doctor-track {
    direction: rtl;
}

.rtl .fc-top {
    right: 0;

    left: auto;
}

.rtl .fc-bottom {
    left: -20px;

    right: auto;
}

.rtl .quick-grid > a {
    border-right: 0;

    border-left: 1px solid rgba(255, 255, 255, .1);
}

.rtl .quick-grid > a:last-child {
    border: 0;
}

.rtl .about-main {
    margin-left: 0;

    margin-right: auto;
}

.rtl .about-note {
    right: 0;

    left: auto;
}

.rtl .map-link {
    left: 18px;

    right: auto;
}

.rtl .section-head-row,
.rtl .appointment-inner {
    flex-direction: row-reverse;
}


/* ================= TABLET ================= */

@media (max-width: 1000px) {

    .nav-menu {
        gap: 15px;
    }

    .hero-inner {
        gap: 35px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid {
        gap: 45px;
    }

    .contact-grid {
        gap: 40px;
    }

}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .nav-wrap {
        min-height: 70px;
    }

    .nav-menu {
        position: absolute;

        top: 70px;

        left: 4%;

        width: 92%;

        display: none;

        flex-direction: column;

        align-items: stretch;

        gap: 0;

        background: #fff;

        border: 1px solid #dfe9e6;

        border-radius: 18px;

        box-shadow: 0 20px 50px rgba(22, 62, 82, .12);

        overflow: hidden;
    }

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

    .nav-menu a {
        padding: 15px 20px;

        border-bottom: 1px solid #edf2f0;
    }

    .menu-toggle {
        display: block;
    }

    .nav-cta {
        display: none;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        grid-template-columns: 1fr;

        min-height: auto;
    }

    .hero-copy {
        padding: 90px 0 20px;
    }

    .hero-visual {
        height: 520px;
    }

    .hero-photo {
        inset: 20px 15px 30px 35px;
    }

    .hero-trust {
        margin-bottom: 20px;
    }

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

    .quick-grid > a {
        border-right: 0;

        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

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

    .section {
        padding: 80px 0;
    }

    .section-head-row {
        display: block;
    }

    .section-head-row > p {
        margin-top: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-collage {
        margin-top: 20px;
    }

    .contact-grid {
        gap: 50px;
    }

    .appointment-inner {
        display: block;
    }

    .appointment-band .btn {
        margin-top: 25px;
    }

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

}


/* ================= SMALL MOBILE ================= */

@media (max-width: 560px) {

    .brand strong {
        font-size: 14px;
    }

    .brand small {
        font-size: 7px;
    }

    .lang-btn {
        padding: 8px 11px;
    }

    .hero h1 {
        font-size: 48px;

        letter-spacing: -2px;
    }

    .hero-copy > p {
        font-size: 15px;
    }

    .hero-actions {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }

    .hero-trust {
        gap: 14px;

        justify-content: space-between;
    }

    .hero-trust div {
        padding-left: 10px;
    }

    .hero-visual {
        height: 430px;
    }

    .floating-card {
        transform: scale(.9);
    }

    .fc-top {
        left: -8px;

        top: 55px;
    }

    .fc-bottom {
        right: -8px;

        bottom: 35px;
    }

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

    .about-main {
        width: 100%;

        height: 390px;
    }

    .about-note {
        width: 230px;

        bottom: -25px;
    }

    .about-collage {
        padding-bottom: 25px;
    }

    .slider-controls {
        margin-top: 25px;
    }

    .doctor-card {
        width: 235px;
    }

    .doctor-photo {
        height: 285px;
    }

    .map-card {
        height: 390px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .rtl .fc-top {
        right: -8px;
    }

    .rtl .fc-bottom {
        left: -8px;
    }

}