/*
Theme Name: Masoud Clinic
Theme URI: https://masoudclinic.com
Author: Masoud Clinic
Description: قالب اختصاصی فارسی کلینیک فوق تخصصی مسعود
Version: 1.0
Text Domain: masoud-clinic
*/

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    direction: rtl;
    background: #ffffff;
    color: #132238;
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

a {
    text-decoration: none;
    color: inherit;
}

.mc-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* =========================
   HEADER
========================= */

.mc-header {
    background: rgba(255,255,255,.97);
    border-bottom: 1px solid #edf2f2;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 3px 20px rgba(15, 55, 70, .04);
}

.admin-bar .mc-header {
    top: 32px;
}

.mc-nav {
    min-height: 86px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.mc-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.mc-logo {
    width: 48px;
    height: 48px;
    border-radius: 15px;
    background: linear-gradient(135deg, #19a89b, #087c75);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 25px;
    font-weight: 900;
    box-shadow: 0 8px 22px rgba(15, 157, 145, .22);
}

.mc-brand strong {
    display: block;
    font-size: 16px;
    color: #102438;
}

.mc-brand span {
    display: block;
    color: #74828c;
    font-size: 11px;
    margin-top: -2px;
}

.mc-menu {
    display: flex;
    align-items: center;
    gap: 27px;
}

.mc-menu a {
    font-size: 14px;
    font-weight: 600;
    color: #253746;
    position: relative;
    transition: .25s;
}

.mc-menu a:hover {
    color: #0c9489;
}

.mc-menu a:after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 0;
    height: 2px;
    background: #0c9489;
    transition: .25s;
}

.mc-menu a:hover:after {
    width: 100%;
}

.mc-header-btn {
    background: #109b90;
    color: #fff;
    padding: 12px 22px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
    white-space: nowrap;
    transition: .25s;
    box-shadow: 0 7px 20px rgba(16, 155, 144, .18);
}

.mc-header-btn:hover {
    background: #087e76;
    transform: translateY(-2px);
}

/* =========================
   HERO
========================= */

.mc-hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 20%, rgba(25,168,155,.10), transparent 28%),
        linear-gradient(180deg, #ffffff 0%, #f8fcfc 100%);
    position: relative;
}

.mc-hero:before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(27, 173, 159, .05);
    left: -180px;
    top: -130px;
}

.mc-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    padding-top: 70px;
    padding-bottom: 70px;
    position: relative;
    z-index: 2;
}

.mc-hero-content {
    max-width: 590px;
}

.mc-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    background: #eaf8f6;
    color: #087f76;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.mc-hero h1 {
    margin: 0 0 20px;
    font-size: clamp(42px, 5vw, 67px);
    line-height: 1.3;
    letter-spacing: -2px;
    color: #0d2135;
    font-weight: 900;
}

.mc-hero h1 span {
    color: #0e9d91;
}

.mc-hero-content > p {
    color: #60717d;
    font-size: 15px;
    line-height: 2.1;
    max-width: 560px;
    margin: 0 0 27px;
}

.mc-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
}

.mc-primary,
.mc-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 12px;
    padding: 0 23px;
    font-weight: 700;
    font-size: 13px;
    transition: .25s;
}

.mc-primary {
    background: #0f9d91;
    color: #fff;
    box-shadow: 0 8px 25px rgba(15, 157, 145, .22);
}

.mc-primary span {
    margin-right: 10px;
}

.mc-primary:hover {
    background: #087d75;
    transform: translateY(-2px);
}

.mc-secondary {
    border: 1px solid #bed7d4;
    color: #1d3a47;
    background: #fff;
}

.mc-secondary:hover {
    border-color: #0f9d91;
    color: #0f9d91;
}

.mc-trust {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 32px;
}

.mc-avatars {
    display: flex;
    direction: ltr;
}

.mc-avatars span {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #edf6f5;
    border: 3px solid #fff;
    border-radius: 50%;
    margin-left: -8px;
    font-size: 17px;
}

.mc-trust strong {
    display: block;
    font-size: 12px;
}

.mc-trust small {
    color: #839099;
    font-size: 10px;
}

/* =========================
   HERO IMAGE
========================= */

.mc-hero-image {
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mc-doctor-placeholder {
    width: 440px;
    height: 500px;
    max-width: 100%;
    border-radius: 180px 40px 40px 40px;
    background:
        radial-gradient(circle at 50% 35%, #ffffff 0, #eef8f7 38%, #d9efec 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #168e84;
    box-shadow: 0 25px 60px rgba(18, 86, 95, .12);
    position: relative;
    overflow: hidden;
}

.mc-doctor-placeholder:after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    background: rgba(255,255,255,.35);
    border-radius: 50%;
    bottom: -180px;
    left: -70px;
}

.mc-medical-icon {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.8);
    font-size: 55px;
    margin-bottom: 20px;
}

.mc-doctor-placeholder strong {
    font-size: 21px;
    color: #0a625d;
}

.mc-doctor-placeholder span {
    color: #65938f;
    font-size: 12px;
    margin-top: 8px;
}

.mc-float {
    position: absolute;
    background: rgba(255,255,255,.96);
    border: 1px solid #edf3f2;
    border-radius: 15px;
    padding: 14px 18px;
    box-shadow: 0 15px 35px rgba(30, 76, 85, .13);
    z-index: 4;
}

.mc-float strong {
    display: block;
    color: #142a3a;
    font-size: 13px;
}

.mc-float span {
    display: block;
    color: #7d8b93;
    font-size: 10px;
    margin-top: 2px;
}

.mc-float-one {
    top: 100px;
    right: -15px;
}

.mc-float-two {
    left: -20px;
    top: 190px;
}

.mc-float-three {
    bottom: 45px;
    right: 5px;
}

/* =========================
   QUICK INFO
========================= */

.mc-quick {
    position: relative;
    z-index: 5;
    margin-top: -28px;
}

.mc-quick-grid {
    background: #fff;
    border: 1px solid #e8f0ef;
    border-radius: 18px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 18px 45px rgba(29, 75, 84, .09);
    overflow: hidden;
}

.mc-quick-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 23px 25px;
    border-left: 1px solid #edf2f1;
}

.mc-quick-item:last-child {
    border-left: 0;
}

.mc-quick-item > span {
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eaf8f6;
    color: #0d988d;
    font-size: 21px;
}

.mc-quick-item strong {
    display: block;
    font-size: 12px;
}

.mc-quick-item small {
    display: block;
    color: #849097;
    font-size: 10px;
}

/* =========================
   SERVICES
========================= */

.mc-services {
    padding: 115px 0 105px;
    background: #fff;
}

.mc-section-title {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
}

.mc-section-title > span,
.mc-about-content > span {
    color: #0f9c91;
    font-weight: 800;
    font-size: 12px;
}

.mc-section-title h2,
.mc-about-content h2 {
    margin: 8px 0 10px;
    font-size: 34px;
    line-height: 1.5;
    color: #10263a;
}

.mc-section-title p {
    margin: 0;
    color: #71808a;
    font-size: 13px;
}

.mc-service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.mc-card {
    border: 1px solid #e6efee;
    border-radius: 20px;
    padding: 28px 25px;
    background: #fff;
    transition: .3s;
}

.mc-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 45px rgba(24, 73, 82, .10);
    border-color: #cce6e3;
}

.mc-card-icon {
    width: 54px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    background: #e9f8f6;
    color: #0b968b;
    font-size: 25px;
    margin-bottom: 20px;
}

.mc-card h3 {
    margin: 0 0 9px;
    font-size: 18px;
    color: #12283b;
}

.mc-card p {
    color: #73818a;
    font-size: 12px;
    line-height: 2;
    min-height: 72px;
}

.mc-card a {
    color: #0d9489;
    font-size: 11px;
    font-weight: bold;
}

/* =========================
   ABOUT
========================= */

.mc-about {
    padding: 100px 0;
    background: #f5fbfa;
}

.mc-about-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 80px;
}

.mc-about-box {
    min-height: 390px;
    background:
        linear-gradient(135deg, #dff3f0, #edf9f7);
    border-radius: 35px 120px 35px 35px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mc-about-circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #11988d;
    font-size: 70px;
    font-weight: 900;
    box-shadow: 0 20px 45px rgba(23, 99, 101, .12);
}

.mc-about-content h2 {
    font-size: 38px;
}

.mc-about-content h2 em {
    font-style: normal;
    color: #0e9b90;
}

.mc-about-content p {
    color: #657681;
    font-size: 14px;
    line-height: 2.2;
    margin-bottom: 25px;
}

/* =========================
   APPOINTMENT
========================= */

.mc-appointment {
    padding: 70px 0;
    background: #0c958b;
    color: #fff;
}

.mc-appointment-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.mc-appointment span {
    font-size: 12px;
    opacity: .8;
}

.mc-appointment h2 {
    margin: 6px 0;
    font-size: 31px;
}

.mc-appointment p {
    margin: 0;
    font-size: 13px;
    opacity: .85;
}

.mc-white-btn {
    background: #fff;
    color: #087c74;
    padding: 14px 25px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    transition: .25s;
}

.mc-white-btn:hover {
    transform: translateY(-3px);
}

/* =========================
   FOOTER
========================= */

.mc-footer {
    background: #0d2233;
    color: #fff;
    padding-top: 65px;
}

.mc-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 70px;
    padding-bottom: 50px;
}

.mc-footer h3 {
    margin-top: 0;
    font-size: 20px;
}

.mc-footer h4 {
    margin-top: 0;
    font-size: 14px;
}

.mc-footer p,
.mc-footer a {
    display: block;
    color: #aab8c2;
    font-size: 12px;
    line-height: 2;
}

.mc-footer a:hover {
    color: #56d2c7;
}

.mc-copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 18px;
    color: #82939e;
    font-size: 10px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1000px) {

    .mc-menu {
        display: none;
    }

    .mc-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .mc-hero-content {
        margin: auto;
    }

    .mc-actions,
    .mc-trust {
        justify-content: center;
    }

    .mc-hero-image {
        min-height: 450px;
    }

    .mc-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mc-quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mc-about-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .mc-container {
        width: min(100% - 26px, 1180px);
    }

    .mc-nav {
        min-height: 70px;
    }

    .mc-brand span {
        display: none;
    }

    .mc-brand strong {
        font-size: 13px;
    }

    .mc-logo {
        width: 40px;
        height: 40px;
    }

    .mc-header-btn {
        padding: 9px 12px;
        font-size: 10px;
    }

    .mc-hero-grid {
        padding-top: 45px;
        padding-bottom: 60px;
    }

    .mc-hero h1 {
        font-size: 38px;
    }

    .mc-hero-content > p {
        font-size: 13px;
    }

    .mc-doctor-placeholder {
        height: 390px;
        border-radius: 120px 30px 30px 30px;
    }

    .mc-float {
        padding: 10px 12px;
    }

    .mc-float-two {
        left: 0;
    }

    .mc-float-one {
        right: 0;
    }

    .mc-quick {
        margin-top: 0;
    }

    .mc-quick-grid,
    .mc-service-grid {
        grid-template-columns: 1fr;
    }

    .mc-quick-item {
        border-left: 0;
        border-bottom: 1px solid #edf2f1;
    }

    .mc-services,
    .mc-about {
        padding: 70px 0;
    }

    .mc-section-title h2,
    .mc-about-content h2 {
        font-size: 27px;
    }

    .mc-appointment-inner {
        flex-direction: column;
        text-align: center;
    }

    .mc-footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* =========================
   REAL CLINIC LOGO
========================= */

.mc-brand {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.mc-logo-image {
    display: block;
    width: 220px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 600px) {
    .mc-logo-image {
        width: 155px;
    }
}
.mc-logo-image {
    width: 270px;
    height: auto;
    display: block;
}

.mc-header {
    background: #fff;
}

.mc-nav {
    min-height: 88px;
}