/* Fonts */
@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: 300;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Light.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2');
    font-display: 'swap';
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2');
    font-display: 'swap';
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: 600;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2');
    font-display: 'swap';
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: bold;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-Bold.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2');
    font-display: 'swap';
}

@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: 800;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
    font-display: 'swap';
}


@font-face {
    font-family: Yekan Bakh FaNum;
    font-style: normal;
    font-weight: 900;
    font-stretch: normal;
    src: url('../fonts/woff/YekanBakhFaNum-ExtraBlack.woff') format('woff'),
        url('../fonts/woff2/YekanBakhFaNum-ExtraBlack.woff2') format('woff2');
    font-display: 'swap';
}

@font-face {
    font-family: Lalezar;
    font-style: normal;
    font-weight: normal;
    font-stretch: normal;
    src: url('../fonts/LalezarRegular.ttf') format('truetype');
    font-display: 'swap';
}

:root {
    --primary: #3e9670;
    --primary-light: #0e7a90;
    --primary-dark: #073f4d;
    --accent: #c9a84c;
    --accent-light: #e2c06e;
    --accent-dark: #a8883a;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --light-gray: #eef2f5;
    --dark: #0d1f26;
    --text: #1e3a45;
    --text-muted: #6c8a95;
    --gradient: linear-gradient(135deg, #3e9670 0%, #0e7a90 50%, #073f4d 100%);
    --gradient-gold: linear-gradient(135deg, #c9a84c, #e2c06e, #a8883a);
    --gradient-primary: linear-gradient(135deg, #3E9670, #58B88D, #2C7A58);
    --shadow-sm: 0 4px 15px rgba(10, 92, 110, 0.1);
    --shadow-md: 0 8px 30px rgba(10, 92, 110, 0.15);
    --shadow-lg: 0 20px 60px rgba(10, 92, 110, 0.2);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    --color-primary: #004461;
    --color-primary-blue: #3e9670;
    --color-secondary: #b5b5b5;
    --color-text: #333333;
    --color-text-light: #666666;
    --color-background: #ffffff;
    --color-footer: #222222;
    --color-footer-text: #f5f5f5;
    --font-yekan: Yekan Bakh FaNum, Tahoma, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Yekan Bakh FaNum, sans-serif;
    background: var(--white);
    color: var(--text);
    overflow-x: hidden;
}

ul {
    list-style-type: none;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* ===================== HEADER ===================== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 40px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    background: transparent;
}

#header.scrolled {
    background: #0da792;
    backdrop-filter: blur(20px);
    height: 65px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

body:not(.home) #header {
    background: #0da792;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 54px;
    height: 54px;
    background: #fff;
    border-radius: 50%;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    font-weight: 900;
}

.logo-text {
    color: var(--white);
    line-height: 1.2;
    font-size: initial;
    margin: 0;
}

.logo-text strong {
    display: block;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.logo-text span {
    font-size: 12px;
    opacity: 0.75;
    font-weight: 400;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.desktop-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 14.5px;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    padding-bottom: 4px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.desktop-nav a:hover {
    color: var(--white);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.header-cta {
    background: var(--off-white);
    color: var(--primary) !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    box-shadow: 0 4px 15px var(--gradient);
    transition: var(--transition) !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 10px;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--gradient) !important;
}

.header-cta::after {
    display: none !important;
}

/* Mobile menu button */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: var(--transition);
    z-index: 1001;
}

.menu-toggle span {
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
    display: block;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: var(--dark);
    z-index: 1100;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    padding: 100px 30px 40px;
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.4);
}

.mobile-sidebar.open {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1050;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    backdrop-filter: blur(4px);
}

.sidebar-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

.mobile-sidebar a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-sidebar a i {
    width: 20px;
    color: var(--light-gray);
    font-size: 15px;
}

.mobile-sidebar a:hover {
    color: var(--accent);
    padding-right: 8px;
}

.sidebar-cta {
    margin-top: 30px;
    background: var(--gradient-primary) !important;
    color: var(--light-gray) !important;
    padding: 14px 24px !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    text-align: center;
    border: none !important;
    box-shadow: 0 6px 20px var(--primary-dark);
}

/* ===================== HERO ===================== */
#hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Gradient overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(7, 63, 77, 0.72) 0%,
            rgba(7, 63, 77, 0.60) 50%,
            rgba(7, 63, 77, 0.85) 100%);
}

/* Fallback background when no video */
.hero-bg-fallback {
    position: absolute;
    inset: 0;
    background: var(--gradient);
    background-size: cover;
}

/* Decorative elements */
.hero-decoration {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(201, 168, 76, 0.15);
    top: -100px;
    left: -100px;
    animation: rotateSlow 30s linear infinite;
}

.hero-decoration-2 {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    bottom: -80px;
    right: -80px;
    animation: rotateSlow 20s linear infinite reverse;
}

@keyframes rotateSlow {
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 20px;
    max-width: 860px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a1f9d33d;
    border: 1px solid #a1f9d33d;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease forwards;
    letter-spacing: 0.3px;
}

.hero-badge i {
    font-size: 11px;
}

.hero-title {
    font-size: clamp(2.4rem, 5vw, 4rem);
    /* font-weight: 900; */
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s 0.2s ease both;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    min-height: 1.3em;
    font-family: Lalezar;
}

.typed-cursor {
    display: inline-block;
    width: 3px;
    height: 0.85em;
    background: var(--accent);
    margin-right: 4px;
    vertical-align: middle;
    animation: blink 0.75s step-end infinite;
    border-radius: 2px;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero-tagline {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s 0.4s ease both;
    line-height: 1.7;
}

.hero-tagline strong {
    color: var(--accent-light);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s 0.6s ease both;
}

.btn-gold {
    background: var(--gradient-primary);
    color: var(--light-gray);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 25px var(--gradient);
    transition: var(--transition);
    cursor: pointer;
}

.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px var(--gradient-primary);
    color: var(--light-gray);
    text-decoration: none;
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 13px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
    color: var(--white);
    text-decoration: none;
    transform: translateY(-2px);
}

.hero-stats {
    position: absolute;
    bottom: 50px;
    right: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 35px;
    z-index: 5;
    animation: fadeInUp 0.8s 0.8s ease both;
}

.hero-stat {
    text-align: center;
    color: var(--white);
    min-width: 110px;
}

.hero-stat-num {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-light);
    line-height: 1;
    display: block;
}

.hero-stat-label {
    font-size: 12.5px;
    opacity: 0.75;
    margin-top: 4px;
    font-weight: 400;
}

.hero-scroll {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    gap: 6px;
}

.hero-scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent), transparent);
    animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: 1;
        transform: scaleY(1);
    }

    50% {
        opacity: 0.4;
        transform: scaleY(0.7);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-25px);
    }

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

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

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

/* ===================== SECTION STYLES ===================== */
body.home section {
    padding: 90px 0;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    width: 30px;
    height: 1.5px;
    background: var(--primary);
}

.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: Lalezar;
}

.section-subtitle {
    font-size: 15.5px;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
}

.section-header {
    margin-bottom: 60px;
}

/* ===================== SECTION 2: SLIDES ===================== */
#section-slides {
    background: var(--light-gray);
    padding: 80px 0;
    overflow: hidden;
}

.slides-wrapper {
    position: relative;
    overflow: hidden;
}

/* .slides-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
} */

.slide-card {
    /* flex: 0 0 calc(33.333% - 16px); */
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    /* box-shadow: var(--shadow-md); */
    transition: var(--transition);
    position: relative;
}

/* 
@media (max-width: 991px) {
    .slide-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 575px) {
    .slide-card {
        flex: 0 0 100%;
    }
} */

/* .slide-card:hover {
    transform: scale(1.03);
} */

.slide-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    background: var(--gradient);
}

.slide-card-img-placeholder {
    width: 100%;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.slide-card-body {
    padding: 24px;
    display: none;
}

.slide-card-tag {
    display: inline-block;
    background: rgba(10, 92, 110, 0.1);
    color: var(--primary);
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-card-title {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.4;
}

.slide-card-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

.slide-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    margin-top: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.slide-card-link:hover {
    gap: 10px;
    color: var(--primary-light);
    text-decoration: none;
}

.slide-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #e53e3e;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 50px;
}

.slides-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
}

.slides-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slides-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1);
}

.slides-dots {
    display: flex;
    gap: 8px;
    max-width: 130px;
    justify-content: center;
}

.slide-dot,
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgb(10, 92, 110);
    cursor: pointer;
    transition: var(--transition);
}

.slide-dot.active,
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* ===================== SECTION 3: WHY US ===================== */
#section-why {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 991px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 1.9rem;
    }

    .slide-card-img-placeholder {
        height: auto;
    }

    .why-icon svg {
        width: 70%;
        height: 70%;
    }
    #header{
        flex-direction: row-reverse;
    }
}

/* @media (max-width: 575px) {
    .why-grid {
        grid-template-columns: 1fr;
    }
} */

.why-card {
    background: var(--off-white);
    border-radius: 20px;
    padding: 30px 19px;
    text-align: center;
    transition: var(--transition);
    border: 1.5px solid transparent;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
    border-color: rgba(10, 92, 110, 0.1);
}

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

.why-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-icon svg {
    width: 100%;
    height: 100%;
}

.why-card-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.why-card-text {
    font-size: 13.5px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* ===================== SECTION 4: SERVICES ===================== */
#section-services {
    background: var(--white);
    position: relative;
    overflow: hidden;
}

#section-services::before {
    content: '';
    position: absolute;
    top: 0;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(14, 139, 91, 0.3);
    filter: blur(80px);
}

#section-services::after {
    content: '';
    position: absolute;
    top: 0;
    left: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(14, 139, 91, 0.3);
    filter: blur(80px);
}

#section-services .section-title {
    color: var(--dark);
}

/* #section-services .section-tag {
    color: var(--accent-light);
} */

#section-services .section-subtitle {
    color: var(--text-muted);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

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

@media (max-width: 575px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    transition: all ease 300ms !important;
    cursor: pointer;
    text-decoration: none;
    /* border:1px solid #dbd9d9; */
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 99;
}

.services-grid .service-card:first-child img {
    width: 115px;
    margin-top: -16px;
}

.service-card:hover {
    /* background: rgba(255, 255, 255, 0.1); */
    /* border-color: rgba(201, 168, 76, 0.4); */
    transform: translateY(-4px) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    text-decoration: none;
}

.service-img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

@media (max-width: 575px) {
    .service-img {
        height: 110px;
    }
}

.service-img-placeholder {
    width: 100%;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    background: #fff;
}

@media (max-width: 575px) {
    .service-img-placeholder {
        height: 110px;
        font-size: 30px;
    }
}

.service-body {
    padding: 18px 16px;
}

@media (max-width: 575px) {
    .service-body {
        padding: 12px;
    }
}

.service-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

@media (max-width: 768px) {
    .service-title {
        font-size: 13px;
        text-align: center;
    }

    .service-arrow {
        justify-content: center;
        display: flex !important;
        align-items: center !important;
    }
}

.service-text {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.6;
    display: none;
}

@media (min-width: 768px) {
    .service-text {
        display: block;
    }

    .why-card {
        padding: 10px 15px;
    }
}

.service-arrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    margin-top: 10px;
}

/* ===================== SECTION 5: TESTIMONIAL ===================== */
#section-testimonial {
    background: linear-gradient(135deg, #f0f7f9 0%, #e8f4f7 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

#section-testimonial::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(10, 92, 110, 0.06);
    filter: blur(60px);
}

.testimonial-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 767px) {
    .testimonial-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.testimonial-video-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 16/10;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-video-placeholder {
    position: relative;
    width: 100%;
    /* aspect-ratio: 16/10; */
    background: var(--gradient);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /* height: 297px; */
}

.testimonial-video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='28' fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1'/%3E%3C/svg%3E") repeat;
    opacity: 0.5;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--light-gray);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 30px rgb(76 201 178 / 50%);
    position: relative;
    z-index: 2;
    padding-left: 5px;
}

.play-btn::before {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 2px solid rgba(201, 168, 76, 0.3);
    animation: pulseRing 2s ease infinite;
}

@keyframes pulseRing {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

.play-btn:hover {
    transform: scale(1.1);
}

.testimonial-content {
    position: relative;
}

.testimonial-quote {
    font-size: 80px;
    color: var(--primary);
    opacity: 0.12;
    font-family: serif;
    line-height: 0.7;
    margin-bottom: 20px;
    display: block;
}

.testimonial-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.3;
    font-family: Lalezar;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 32px;
}

.testimonial-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 32px;
}

.t-stat {
    text-align: center;
    padding: 16px 20px;
    background: var(--white);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
}

.t-stat-num {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.t-stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ===================== SECTION 6: PORTFOLIO ===================== */
#section-portfolio {
    background: var(--white);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .t-stat-num {
        font-size: 1.3rem;
    }
}

@media (max-width: 440px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.portfolio-item {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/5;
    background: var(--light-gray);
}

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

.portfolio-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 40px;
    background-position: center;
    background-size: cover;
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(7, 63, 77, 0.9) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

.portfolio-info {
    color: var(--white);
}

.before-after-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    gap: 6px;
}

.ba-tag {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
}

.ba-before {
    background: rgba(0, 0, 0, 0.5);
    color: white;
}

.ba-after {
    background: var(--accent);
    color: var(--dark);
}

/* ===================== SECTION 7: ARTICLES ===================== */
#section-articles {
    background: var(--light-gray);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 767px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.article-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-decoration: none;
    display: block;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    text-decoration: none;
}

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

.article-img-placeholder {
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
}

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

.article-body {
    padding: 12px 24px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    justify-content: space-between;
}

.article-cat {
    background: rgba(10, 92, 110, 0.1);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-date {
    font-size: 12px;
    color: var(--text-muted);
}

.article-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.5;
    margin-bottom: 10px;
    min-height: 48px;
}

.article-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
}

.article-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--light-gray);
}

.article-read-more {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===================== SECTION 8: FAQ ===================== */
#section-faq {
    background: var(--white);
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
}

.faq-item {
    border-radius: 16px;
    border: 1.5px solid var(--light-gray);
    margin-bottom: 14px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.open {
    border-color: rgba(10, 92, 110, 0.25);
    box-shadow: 0 4px 20px rgba(10, 92, 110, 0.08);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 16px;
}

.faq-q-text {
    font-size: 15.5px;
    font-weight: 700;
    color: var(--dark);
    flex: 1;
}

.faq-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
    font-size: 14px;
    color: var(--primary);
}

.faq-item.open .faq-icon {
    background: var(--primary);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.9;
}

/* ===================== SECTION 9: ABOUT ===================== */
#section-about {
    background: var(--gradient);
    position: relative;
    overflow: hidden;
}

#section-about::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}

#section-about::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.06);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-content .section-tag {
    color: var(--accent-light);
}

.about-content .section-tag::before,
.about-content .section-tag::after {
    background: var(--accent-light);
}

.about-content .section-title {
    color: var(--white);
}

.about-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.9;
    margin-bottom: 24px;
}

.about-contacts {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.about-contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 14px 18px;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.about-contact-item:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
    text-decoration: none;
    transform: translateX(-4px);
}

.about-contact-item i {
    width: 36px;
    height: 36px;
    background: rgba(201, 168, 76, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-light);
    font-size: 15px;
    flex-shrink: 0;
}

.about-contact-item:first-child span,
.about-contact-item:nth-child(2) span {
    background: var(--bs-border-color-translucent);
    padding: 5px;
    border-radius: 10px;
}

.about-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-map iframe {
    width: 100%;
    height: 450px;
    border: none;
    filter: brightness(0.9) contrast(1.1);
}

.map-placeholder {
    width: 100%;
    height: 450px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.map-placeholder i {
    font-size: 48px;
    color: var(--accent-light);
}

.map-placeholder p {
    font-size: 14px;
}

/* ===================== FOOTER ===================== */
footer {
    background: #060e12;
    padding: 50px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

@media (max-width: 991px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 575px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 28px;
        text-align: center;
    }

    .footer-inner .header-logo {
        justify-content: center;
    }

    .footer-inner .social-links {
        justify-content: center;
    }

    .footer-links a {
        justify-content: center;
    }

    footer {
        position: relative;
        z-index: 9999;
    }

    .footer-contact-item {
        justify-content: center;
    }

    .footer-bottom {
        justify-content: center !important;
    }
}

.footer-brand .logo-text strong {
    font-size: 16px;
}

.footer-desc {
    font-size: 13.5px;
    color: var(--off-white);
    line-height: 1.8;
    margin: 16px 0 20px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    text-decoration: none;
}

.footer-col-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--off-white);
    font-size: 13.5px;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: "\f060";
    font-size: 10px;
    opacity: 0;
    transition: var(--transition);
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-right: 6px;
}

.footer-links a:hover::before {
    opacity: 1;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--off-white);
    font-size: 13px;
    margin-bottom: 12px;
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 2px;
}

.footer-bottom {
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    background: transparent;
}

.copyright {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.3);
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
}

.footer-badge i {
    color: var(--accent);
    font-size: 10px;
}

/* ===================== FLOATING BUTTONS ===================== */
.floating-btns {
    position: fixed;
    left: 24px;
    bottom: 32px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

@media (max-width: 575px) {
    .floating-btns {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(25px) scale(0.95);
        transform-origin: bottom left;
        transition:
            opacity 0.35s ease,
            transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
            visibility 0.35s ease;
        bottom: 90px;
        left: 12px;

    }

    .floating-btns.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0) scale(1);
    }
}

.float-btn,
.mobile_floating_btn {
    display: flex;
    align-items: center;
    justify-content: end;
    background: var(--white);
    border: none;
    border-radius: 50px;
    padding: 11px 11px 11px 11px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
    width: 58px;
    column-gap: 13px;
    overflow: hidden;
}


.float-btn:hover {
    color: var(--dark);
    text-decoration: none;
    width: auto;
    overflow: auto;
}

.float-btn-icon,
.mobile_floating_btn i {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.float-btn-1 .float-btn-icon {
    background: #22c55e;
    color: white;
}

.float-btn-2 .float-btn-icon {
    background: #3b82f6;
    color: white;
}

.float-btn-3 .float-btn-icon {
    background: var(--accent);
    color: var(--dark);
}

.mobile_floating_btn i {
    background: var(--primary);
    color: var(--light-gray);
}

.mobile_floating_btn {
    display: none;
}

@media (max-width: 440px) {

    .float-btn {
        padding: 10px;
        width: auto;
        column-gap: 6px;
    }

    .float-btn-icon {
        width: 40px;
        height: 40px;
    }

    .mobile_floating_btn {
        position: fixed;
        display: flex;
        left: 12px;
        bottom: 20px;
        z-index: 999;
        transition: transform 0.35s ease, background 0.3s ease, box-shadow 0.3s ease;
    }

    .mobile_floating_btn i {
        font-size: 22px;
        transition: opacity 0.2s ease, transform 0.3s ease;
    }

    .mobile_floating_btn.active i {
        transform: rotate(90deg);
        background: #dc3545;
    }
}

/* ===================== POPUP ===================== */
.float-popup {
    position: fixed;
    left: 105px;
    bottom: 93px;
    z-index: 950;
    background: var(--white);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.18);
    max-width: 230px;
    opacity: 0;
    transform: translateX(-10px) scale(0.95);
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(10, 92, 110, 0.1);
    min-width: 200px;
}

@media (max-width: 575px) {
    .float-popup {
        left: 89px;
        bottom: 19px;
    }

    .testimonial-stats {
        justify-content: space-between;
        gap: 10px;
    }

    .testimonial-stats .t-stat:first-child {
        flex: 1;
    }
}

@media (max-width: 440px) {
    .float-popup {
        left: 89px;
        bottom: 19px;
    }
}

.float-popup.visible {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: all;
}

.float-popup-title {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 6px;
    line-height: 1.5;
}

.float-popup-sub {
    font-size: 13px;
    color: var(--primary);
}

.float-popup-close {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--light-gray);
    border: none;
    cursor: pointer;
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.float-popup-close:hover {
    background: var(--primary);
    color: white;
}

.float-popup::after {
    content: '';
    position: absolute;
    bottom: 27px;
    left: -8px;
    width: 16px;
    height: 16px;
    background: var(--white);
    /* border-right: 1.5px solid rgba(10, 92, 110, 0.1); */
    border-bottom: 1.5px solid rgba(10, 92, 110, 0.1);
    transform: rotate(45deg);
}

/* ===================== SPECIAL OFFER SECTION ===================== */
#section-offer {
    background: radial-gradient(circle, #0a4238 0%, #06201b 100%);
    position: relative;
    overflow: hidden;
    padding: 70px 0;
}

#section-offer::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(201, 168, 76, 0.08);
    filter: blur(60px);
}

.offer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

@media (max-width: 767px) {
    .offer-inner {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(201, 168, 76, 0.15);
    border: 1px solid rgba(94, 235, 204, 0.4);
    color: var(--light-gray);
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.offer-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 12px;
    line-height: 1.3;
}

.offer-subtitle {
    font-size: 15px;
    color: var(--off-white);
    margin-bottom: 24px;
}

.offer-price-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

@media (max-width: 767px) {
    .offer-price-wrap {
        justify-content: center;
    }
}

.offer-old-price {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: line-through;
    font-weight: 600;
}

.offer-new-price {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 900;
    color: #fbbf24;
}

.offer-discount {
    background: #ef4444;
    color: white;
    font-size: 13px;
    font-weight: 800;
    padding: 9px 12px;
    border-radius: 8px;
    line-height: 1;
}

.offer-vector {
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .offer-vector {
        display: none;
    }
}

.offer-countdown {
    display: flex;
    gap: 14px;
    margin: 20px 0 28px;
    flex-wrap: wrap;
    direction: ltr;
    justify-content: end;
}

.offer-inner .btn-gold {
    background: var(--white);
    color: #08372e;
}

@media (max-width: 767px) {
    .offer-countdown {
        justify-content: center;
    }

    .about-contact-item {
        flex-wrap: wrap;
    }

    .about-contact-item span {
        flex: 1;
        text-align: center;
    }

    #section-slides .slides-wrapper {
        padding: 0 27px;
    }

    .about-content .section-title {
        text-align: center;
    }
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 12px 16px;
    text-align: center;
    min-width: 60px;
}

.countdown-num {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    display: block;
    line-height: 1;
}

.countdown-label {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
}

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
    /* overflow: visible; */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ===================== MISC ===================== */
.btn-primary-custom {
    background: var(--gradient);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(10, 92, 110, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(10, 92, 110, 0.5);
    color: var(--white);
    text-decoration: none;
}

.text-accent {
    color: var(--accent) !important;
}

.text-primary-custom {
    color: var(--primary) !important;
}

/* Slide card gradient backgrounds */
.gradient-1 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.gradient-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.gradient-3 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.gradient-4 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.gradient-5 {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

/* Service colors */
/* .svc-1 {
    background: linear-gradient(135deg, #0a5c6e, #0e7a90);
}

.svc-2 {
    background: linear-gradient(135deg, #1a6e50, #2a9d8f);
}

.svc-3 {
    background: linear-gradient(135deg, #2c3e7a, #3a5dbf);
}

.svc-4 {
    background: linear-gradient(135deg, #5d4037, #8d6e63);
}

.svc-5 {
    background: linear-gradient(135deg, #6a1b9a, #9c27b0);
}

.svc-6 {
    background: linear-gradient(135deg, #bf360c, #f4511e);
} */

/* ===================== LIGHTBOX ===================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lightbox-img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    object-fit: contain;
}

.lightbox-placeholder {
    width: auto;
    height: auto;
    max-width: 400px;
    background: var(--dark);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 16px;
    color: white;
    font-size: 60px;
    overflow: hidden;
}

.plyr__control--overlaid,
.plyr--video .plyr__control:focus-visible,
.plyr--video .plyr__control:hover,
.plyr--video .plyr__control[aria-expanded=true] {
    background: var(--primary);
}


.consultation-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 400px;
    direction: rtl;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.4s ease-out;
}

.close-btn {
    position: absolute;
    top: 15px;
    left: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}

.modal-content h3 {
    margin-top: 0;
    color: var(--color-primary-blue);
    font-size: 20px;
}

.modal-subtitle {
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.input-group {
    margin-bottom: 15px;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 10px;
    outline: none;
    font-family: inherit;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3e9670, #2abf7e);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    font-family: Yekan Bakh FaNum, Arial, sans-serif;
}

#formMessage {
    margin-top: 15px;
    font-size: 14px;
    text-align: center;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

.floating-consultation:hover,
.floating-call:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 131, 176, 0.4);
    color: #fff;
}

/* =====================================================
   inner_page — قالب صفحات داخلی مرکز دندانپزشکی
   تمام سلکتورها در اسکوپ کلاس inner_page تعریف شده‌اند
   ===================================================== */

.inner_page {
    position: relative;
    background: var(--off-white);
    padding-bottom: 80px;
    overflow: hidden;
}

.inner_page__top_bar {
    width: 100%;
    height: 6px;
    background: var(--gradient);
}

.inner_page .container {
    position: relative;
    z-index: 2;
}

/* ---------- پس‌زمینه تزئینی ---------- */
.inner_page::before {
    content: "";
    position: absolute;
    top: -120px;
    inset-inline-end: -120px;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(62, 150, 112, 0.10), rgba(14, 122, 144, 0.05) 60%, transparent 75%);
    z-index: 1;
    pointer-events: none;
}

.inner_page::after {
    content: "";
    position: absolute;
    bottom: -160px;
    inset-inline-start: -140px;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle at 60% 60%, rgba(201, 168, 76, 0.08), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

/* ---------- بسته‌بندی اصلی محتوا ---------- */
.inner_page .content_wrapper {
    position: relative;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 56px 64px 64px;
    margin-top: 48px;
    border: 1px solid rgba(14, 122, 144, 0.07);
}

/* ---------- هدر صفحه ---------- */
.inner_page .page_header {
    text-align: center;
    margin-bottom: 40px;
}

.inner_page .page_header__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(62, 150, 112, 0.10), rgba(14, 122, 144, 0.08));
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin-bottom: 22px;
    border: 1px solid rgba(14, 122, 144, 0.15);
}

.inner_page .page_header__eyebrow svg {
    width: 16px;
    height: 16px;
    color: var(--accent);
    flex-shrink: 0;
}

.inner_page .page_title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--primary-dark);
    margin: 0 0 24px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.inner_page .page_header__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.inner_page .page_header__divider span {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent));
}

.inner_page .page_header__divider span:last-child {
    background: linear-gradient(90deg, var(--accent), transparent);
}

.inner_page .page_header__divider i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--gradient-gold);
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

/* =====================================================
   تایپوگرافی محتوا (entry_content)
   ===================================================== */

.inner_page .entry_content {
    color: var(--text);
    font-size: 17px;
    line-height: 2;
}

.inner_page .entry_content>*:first-child {
    margin-top: 0;
}

.inner_page .entry_content p {
    margin: 0 0 22px;
    color: var(--text);
}

.inner_page .entry_content h2,
.inner_page .entry_content h3,
.inner_page .entry_content h4 {
    color: var(--primary-dark);
    font-weight: 800;
    line-height: 1.6;
    position: relative;
    scroll-margin-top: 100px;
}

.inner_page .entry_content h2 {
    font-size: 28px;
    margin: 52px 0 26px;
    padding-inline-start: 20px;
    border-inline-start: 4px solid var(--primary);
}

.inner_page .entry_content h2::before {
    content: "";
    position: absolute;
    inset-inline-start: -4px;
    top: 0;
    height: 38%;
    width: 4px;
    background: var(--gradient-gold);
}

.inner_page .entry_content h3 {
    font-size: 22px;
    margin: 38px 0 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.inner_page .entry_content h3::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.15);
}

.inner_page .entry_content h4 {
    font-size: 18px;
    margin: 28px 0 14px;
    color: var(--primary-light);
}

.inner_page .entry_content ul,
.inner_page .entry_content ol {
    margin: 0 0 24px;
    padding-inline-start: 8px;
    padding-inline-end: 0;
    list-style: none;
}

.inner_page .entry_content ul li,
.inner_page .entry_content ol li {
    position: relative;
    padding-inline-start: 30px;
    margin-bottom: 13px;
    line-height: 1.9;
}

.inner_page .entry_content ul li::before {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    top: 9px;
    width: 9px;
    height: 9px;
    border-radius: 3px;
    background: var(--gradient);
    transform: rotate(45deg);
}

.inner_page .entry_content ol {
    counter-reset: ol_counter;
}

.inner_page .entry_content ol li {
    counter-increment: ol_counter;
}

.inner_page .entry_content ol li::before {
    content: counter(ol_counter);
    position: absolute;
    inset-inline-start: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner_page .entry_content li ul,
.inner_page .entry_content li ol {
    margin-top: 13px;
    margin-bottom: 0;
}

.inner_page .entry_content strong,
.inner_page .entry_content b {
    color: var(--primary-dark);
    font-weight: 700;
}

.inner_page .entry_content img {
    max-width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    margin: 28px 0;
}

.inner_page .entry_content hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--light-gray) 20%, var(--light-gray) 80%, transparent);
    margin: 44px 0;
}

.inner_page .entry_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.inner_page .entry_content table th {
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    padding: 14px 18px;
    text-align: start;
    font-size: 15px;
}

.inner_page .entry_content table td {
    padding: 13px 18px;
    border-bottom: 1px solid var(--light-gray);
    background: var(--white);
    font-size: 15px;
}

.inner_page .entry_content table tr:last-child td {
    border-bottom: none;
}

.inner_page .entry_content table tr:nth-child(even) td {
    background: var(--off-white);
}

.inner_page .entry_content blockquote {
    position: relative;
    margin: 30px 0;
    padding: 22px 28px;
    background: linear-gradient(135deg, rgba(62, 150, 112, 0.06), rgba(14, 122, 144, 0.04));
    border-inline-start: 4px solid var(--accent);
    border-radius: var(--radius-sm);
    color: var(--primary-dark);
    font-size: 16.5px;
    font-style: normal;
}

.inner_page .entry_content blockquote p:last-child {
    margin-bottom: 0;
}

/* ---------- لینک‌های داخل متن ---------- */
.inner_page .entry_content a:not(.wp-block-rank-math-toc-block a) {
    color: var(--primary-light);
    font-weight: 600;
    text-decoration: none;
    background-image: linear-gradient(90deg, var(--accent), var(--accent));
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 100% 1.5px;
    padding-bottom: 1px;
    transition: var(--transition);
}

.inner_page .entry_content a:not(.wp-block-rank-math-toc-block a):hover {
    color: var(--accent-dark);
    background-size: 100% 2px;
}

/* =====================================================
   جدول محتوا (Rank Math TOC)
   ===================================================== */

.inner_page .wp-block-rank-math-toc-block {
    position: relative;
    background: linear-gradient(180deg, var(--white) 0%, var(--off-white) 100%);
    border: 1px solid rgba(14, 122, 144, 0.12);
    border-radius: var(--radius);
    padding: 30px 32px 26px;
    margin: 8px 0 44px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.inner_page .wp-block-rank-math-toc-block::before {
    content: "";
    position: absolute;
    top: 0;
    inset-inline-start: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-gold);
}

.inner_page .wp-block-rank-math-toc-block>div:first-child {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px dashed rgba(14, 122, 144, 0.18);
}

.inner_page .wp-block-rank-math-toc-block>div:first-child::before {
    content: "";
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    background-color: var(--primary);
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='8' y1='6' x2='21' y2='6'/%3E%3Cline x1='8' y1='12' x2='21' y2='12'/%3E%3Cline x1='8' y1='18' x2='21' y2='18'/%3E%3Cline x1='3' y1='6' x2='3.01' y2='6'/%3E%3Cline x1='3' y1='12' x2='3.01' y2='12'/%3E%3Cline x1='3' y1='18' x2='3.01' y2='18'/%3E%3C/svg%3E");
    -webkit-mask-size: contain;
    mask-size: contain;
    border-radius: 8px;
    background-color: var(--primary);
    padding: 0;
}

.inner_page .wp-block-rank-math-toc-block nav>ul {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc_counter;
}

.inner_page .wp-block-rank-math-toc-block nav>ul>li {
    counter-increment: toc_counter;
    position: relative;
    margin-bottom: 4px;
}

.inner_page .wp-block-rank-math-toc-block nav ul li {
    list-style: none;
}

.inner_page .wp-block-rank-math-toc-block nav>ul>li>a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    color: var(--text);
    font-weight: 700;
    font-size: 15.5px;
    text-decoration: none;
    transition: var(--transition);
}

.inner_page .wp-block-rank-math-toc-block nav>ul>li>a::before {
    content: counter(toc_counter, persian);
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(62, 150, 112, 0.10);
    color: var(--primary);
    font-size: 12.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.inner_page .wp-block-rank-math-toc-block nav>ul>li>a:hover {
    background: linear-gradient(135deg, rgba(62, 150, 112, 0.08), rgba(14, 122, 144, 0.06));
    color: var(--primary-dark);
    padding-inline-start: 18px;
}

.inner_page .wp-block-rank-math-toc-block nav>ul>li>a:hover::before {
    background: var(--gradient);
    color: var(--white);
}

.inner_page .wp-block-rank-math-toc-block nav ul ul {
    list-style: none;
    margin: 2px 0 10px 0;
    padding-inline-start: 30px;
    padding-inline-end: 0;
    border-inline-start: 2px solid rgba(14, 122, 144, 0.12);
    margin-inline-start: 12px;
}

.inner_page .wp-block-rank-math-toc-block nav ul ul li {
    margin-bottom: 2px;
}

.inner_page .wp-block-rank-math-toc-block nav ul ul li a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14.5px;
    text-decoration: none;
    transition: var(--transition);
}

.inner_page .wp-block-rank-math-toc-block nav ul ul li a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
    opacity: 0.7;
}

.inner_page .wp-block-rank-math-toc-block nav ul ul li a:hover {
    color: var(--primary-light);
    background: rgba(201, 168, 76, 0.08);
    padding-inline-start: 16px;
}

.inner_page .wp-block-rank-math-toc-block nav ul ul li a:hover::before {
    background: var(--primary);
    opacity: 1;
}

/* =====================================================
   ریسپانسیو
   ===================================================== */

@media (max-width: 991px) {
    .inner_page .content_wrapper {
        padding: 120px 32px 48px;
    }

    .inner_page .page_title {
        font-size: 32px;
    }

    .inner_page .entry_content h2 {
        font-size: 24px;
    }

    .inner_page .entry_content h3 {
        font-size: 20px;
    }
}

@media (max-width: 575px) {
    .inner_page {
        padding-bottom: 50px;
    }

    .inner_page .content_wrapper {
        padding: 100px 18px 36px;
        margin-top: 28px;
        border-radius: var(--radius-sm);
    }

    .inner_page .page_title {
        font-size: 25px;
    }

    .inner_page .page_header__eyebrow {
        font-size: 12px;
        padding: 6px 14px;
    }

    .inner_page .entry_content {
        font-size: 15.5px;
    }

    .inner_page .entry_content h2 {
        font-size: 21px;
        margin: 38px 0 18px;
    }

    .inner_page .entry_content h3 {
        font-size: 18px;
    }

    .inner_page .wp-block-rank-math-toc-block {
        padding: 22px 18px 18px;
    }

    .inner_page .wp-block-rank-math-toc-block nav ul ul {
        padding-inline-start: 18px;
        margin-inline-start: 6px;
    }
}

/* ---------- دسترس‌پذیری ---------- */
.inner_page a:focus-visible,
.inner_page button:focus-visible {
    outline: 2px solid var(--primary-light);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .inner_page * {
        transition: none !important;
    }
}


/* Calculate Installment */
.calculate_installments {
    font-family: 'Yekan Bakh FaNum', Tahoma, sans-serif;
    background: var(--off-white);
    color: var(--text);
    min-height: 100vh;
    padding: 100px 16px 60px;
    direction: rtl;
}

.calculate_installments *,
.calculate_installments *::before,
.calculate_installments *::after {
    box-sizing: border-box;
}

.calculate_installments .ci-wrap {
    max-width: 860px;
    margin: 0 auto;
}

/* ---------- Header ---------- */
.calculate_installments .ci-header {
    text-align: center;
    margin-bottom: 28px;
}

.calculate_installments .ci-header .ci-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--light-gray);
    color: var(--primary-light);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 14px;
}

.calculate_installments .ci-header .ci-badge::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
}

.calculate_installments .ci-header h1 {
    font-size: clamp(22px, 5vw, 32px);
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 8px;
    line-height: 1.4;
}

.calculate_installments .ci-header p {
    font-size: clamp(13px, 3.2vw, 15px);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

/* ---------- Card ---------- */
.calculate_installments .ci-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: clamp(20px, 5vw, 36px);
    border: 1px solid rgba(14, 122, 144, 0.08);
}

.ci-count-grid,
.ci-brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.ci-option {
    border: 2px solid #eee;
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    cursor: pointer;
    transition: .2s;
}

.ci-option:hover {
    border-color: #2bb673;
}

.ci-option.active {
    border-color: #2bb673;
    background: #f3fbf7;
}
.ci-option small{
    font-size: 16px;
    color: var(--primary);
    font-weight: bold;
}

/* ---------- Form fields ---------- */
.calculate_installments .ci-field {
    margin-bottom: 26px;
}

.calculate_installments .ci-field label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.calculate_installments .ci-field .ci-hint {
    font-weight: 400;
    color: var(--text-muted);
    font-size: 12.5px;
    margin-right: 6px;
}

.calculate_installments .ci-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.calculate_installments .ci-input-wrap input[type="text"],
.calculate_installments .ci-input-wrap input[type="tel"] {
    width: 100%;
    font-family: 'Yekan Bakh FaNum', Tahoma, sans-serif;
    font-size: clamp(16px, 4vw, 19px);
    font-weight: 700;
    color: var(--primary-dark);
    background: var(--light-gray);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    padding: 16px 90px 16px 18px;
    outline: none;
    transition: var(--transition);
    text-align: right;
    direction: ltr;
}
.calculate_installments .ci-input-wrap input[type="tel"]{
    padding-right: 62px;
}

.calculate_installments .ci-input-wrap input[type="text"]::placeholder,
.calculate_installments .ci-input-wrap input[type="tel"]::placeholder {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 15px;
}

.calculate_installments .ci-input-wrap input[type="text"]:focus,
.calculate_installments .ci-input-wrap input[type="tel"]:focus {
    background: var(--white);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(62, 150, 112, 0.12);
}

.calculate_installments .ci-back {
    width: 100%;
    margin-top: 10px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-family: 'Yekan Bakh FaNum', Tahoma, sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.calculate_installments .ci-back:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.calculate_installments .ci-back:active {
    transform: translateY(0);
}

.calculate_installments .ci-back:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(62, 150, 112, 0.15);
}

.calculate_installments .ci-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.calculate_installments .ci-actions button {
    flex: 1;
}

.calculate_installments .ci-input-wrap .ci-unit {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-light);
    background: rgba(14, 122, 144, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    pointer-events: none;
    direction: rtl;
}

/* ---------- Installment choice chips ---------- */
.calculate_installments .ci-months-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.calculate_installments .ci-month-chip {
    position: relative;
    cursor: pointer;
}

.calculate_installments .ci-month-chip input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.calculate_installments .ci-month-chip .ci-chip-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 14px 6px;
    border-radius: var(--radius-sm);
    background: var(--light-gray);
    border: 2px solid transparent;
    transition: var(--transition);
    text-align: center;
    position: relative;
}

.calculate_installments .ci-month-chip .ci-chip-num {
    font-size: clamp(17px, 4.2vw, 20px);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.3;
}

.calculate_installments .ci-month-chip .ci-chip-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 600;
}

.calculate_installments .ci-month-chip .ci-chip-tag {
    margin-top: 4px;
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-dark);
    background: rgba(201, 168, 76, 0.15);
    padding: 2px 8px;
    position: absolute;
    left: 16px;
    border-radius: 20px;
}

.calculate_installments .ci-month-chip:hover .ci-chip-body {
    border-color: rgba(62, 150, 112, 0.35);
}

.calculate_installments .ci-month-chip input:checked+.ci-chip-body {
    background: var(--gradient-primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    transform: translateY(-2px);
}

.calculate_installments .ci-month-chip input:checked+.ci-chip-body .ci-chip-num,
.calculate_installments .ci-month-chip input:checked+.ci-chip-body .ci-chip-label {
    color: var(--white);
}

.calculate_installments .ci-month-chip input:checked+.ci-chip-body .ci-chip-tag {
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
}

.calculate_installments .ci-month-chip input:focus-visible+.ci-chip-body {
    outline: 3px solid var(--primary-light);
    outline-offset: 2px;
}

/* ---------- Button ---------- */
.calculate_installments .ci-submit {
    width: 100%;
    border: none;
    cursor: pointer;
    background: var(--gradient-primary);
    color: var(--white);
    font-family: inherit;
    font-size: clamp(15px, 4vw, 17px);
    font-weight: 800;
    padding: 17px 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    margin-top: 10px;
}

.calculate_installments .ci-submit:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.calculate_installments .ci-submit:active {
    transform: translateY(0);
}

.calculate_installments .ci-submit svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.calculate_installments .ci-error {
    display: none;
    align-items: center;
    gap: 8px;
    background: #fdecec;
    border: 1px solid #f3b8b8;
    color: #b02a2a;
    font-size: 13.5px;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
}

.calculate_installments .ci-error.ci-show {
    display: flex;
}

/* ---------- Results ---------- */
.calculate_installments .ci-results {
    margin-top: 36px;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, max-height 0.6s ease;
}

.calculate_installments .ci-results.ci-visible {
    opacity: 1;
    max-height: none;
    overflow: visible;
}

.calculate_installments .ci-divider {
    border: none;
    border-top: 1px dashed rgba(14, 122, 144, 0.25);
    margin: 28px 0;
}

.calculate_installments .ci-summary-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.calculate_installments .ci-summary-title::before {
    content: "";
    width: 4px;
    height: 18px;
    background: var(--gradient-gold);
    border-radius: 4px;
    display: inline-block;
}

.calculate_installments .ci-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.calculate_installments .ci-summary-box {
    background: var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 16px 14px;
    text-align: center;
    transition: var(--transition);
}

.calculate_installments .ci-summary-box.ci-highlight {
    background: var(--gradient-primary);
}

.calculate_installments .ci-summary-box p {
    margin: 0 0 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-muted);
}

.calculate_installments .ci-summary-box.ci-highlight p {
    color: rgba(255, 255, 255, 0.85);
}

.calculate_installments .ci-summary-box strong {
    display: block;
    font-size: clamp(15px, 4vw, 18px);
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.4;
}

.calculate_installments .ci-summary-box.first_t strong{
    font-size: 30px;
    color:var(--primary)
}

.calculate_installments .ci-summary-box.ci-highlight strong {
    color: var(--white);
}

.calculate_installments .ci-summary-box .ci-unit-small {
    font-size: 11px;
    font-weight: 600;
    margin-right: 3px;
}

/* total payable - full width feature box */
.calculate_installments .ci-total-box {
    background: var(--gradient);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
    margin-top: 4px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.calculate_installments .ci-total-box::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201, 168, 76, 0.18), transparent 60%);
}

.calculate_installments .ci-total-box p {
    position: relative;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
}

.calculate_installments .ci-total-box strong {
    position: relative;
    display: block;
    font-size: clamp(22px, 6vw, 30px);
    font-weight: 800;
    color: var(--white);
}

.calculate_installments .ci-total-box strong span {
    font-size: 14px;
    font-weight: 600;
    margin-right: 6px;
    color: var(--accent-light);
}

/* ---------- Installment list ---------- */
.calculate_installments .ci-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.calculate_installments .ci-installment-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculate_installments .ci-installment-item {
    background: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    opacity: 0;
    transform: translateY(8px);
    animation: ciRowIn 0.45s ease forwards;
}

.calculate_installments .ci-installment-item .ci-row-index {
    width: 34px;
    height: 34px;
    min-width: 34px;
    border-radius: 50%;
    background: var(--white);
    border: 1px solid rgba(14, 122, 144, 0.2);
    color: var(--primary-light);
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calculate_installments .ci-installment-item .ci-row-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.calculate_installments .ci-installment-item .ci-row-detail .ci-row-label {
    font-size: 11.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.calculate_installments .ci-installment-item .ci-row-detail .ci-row-breakdown {
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.calculate_installments .ci-installment-item .ci-row-detail .ci-row-breakdown b {
    color: var(--primary-light);
    font-weight: 700;
}

.calculate_installments .ci-installment-item .ci-row-amount {
    text-align: left;
    font-size: clamp(14px, 3.6vw, 17px);
    font-weight: 800;
    color: var(--primary-dark);
    white-space: nowrap;
}

.calculate_installments .ci-installment-item .ci-row-amount span {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    margin-right: 4px;
}

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

/* ---------- Footnote ---------- */
.calculate_installments .ci-note {
    margin-top: 22px;
    font-size: 12px;
    color: var(--text-muted);
    background: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.25);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    line-height: 1.9;
}

/* ---------- Loading state on button ---------- */
.calculate_installments .ci-submit.ci-loading .ci-btn-text {
    opacity: 0;
}

.calculate_installments .ci-submit.ci-loading .ci-spinner {
    display: inline-block;
}

.calculate_installments .ci-spinner {
    display: none;
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: ciSpin 0.7s linear infinite;
}

.calculate_installments .ci-submit {
    position: relative;
}

.calculate_installments .ci-btn-text {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.2s;
}

@keyframes ciSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .calculate_installments * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .calculate_installments {
        padding: 100px 12px 40px;
    }

    .ci-brand-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .calculate_installments .ci-card {
        padding: 18px 14px;
        border-radius: 14px;
    }

    .calculate_installments .ci-months-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        align-items: stretch;
    }

    .calculate_installments .ci-summary-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calculate_installments .ci-month-chip .ci-chip-body {
        height: 100%;
    }

    .calculate_installments .ci-month-chip .ci-chip-tag {
        position: static;
    }

    .calculate_installments .ci-input-wrap input[type="text"] {
        padding: 15px 78px 15px 14px;
    }

    .calculate_installments .ci-installment-item {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .calculate_installments .ci-installment-item .ci-row-amount {
        grid-column: 2;
        text-align: right;
        margin-top: 4px;
    }
}

.ci-step {
    display: none;
    animation: ciFade .35s ease;
}

.ci-step.active {
    display: block;
}

@keyframes ciFade {
    from {
        opacity: 0;
        transform: translateY(10px)
    }

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


/* About Us */
.section-label {
    display: inline-block;
    color: var(--color-primary-blue);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: .2px;
}

.btn-primary-custom {
    background: var(--color-primary);
    color: #fff;
    padding: 12px 26px;
    border-radius: 12px;
    border: none;
    box-shadow: 0 12px 30px rgba(0, 68, 97, 0.18);
    transition: .3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: var(--color-primary-blue);
    color: #fff;
    text-decoration: none;
    transform: translateY(-2px);
}

.btn-outline-custom {
    border: 1px solid var(--color-secondary);
    color: var(--color-primary);
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    margin-right: 10px;
    transition: .3s;
}

.btn-outline-custom:hover {
    background: var(--color-secondary);
    color: #fff;
    text-decoration: none;
}

.about-hero {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(0, 68, 97, 0.06), rgba(62, 150, 112, 0.08));
    position: relative;
}

.about-hero h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.7;
    margin-bottom: 18px;
}

.about-hero p {
    color: var(--color-text-light);
    line-height: 2;
    margin-bottom: 24px;
}

.about-hero-actions {
    margin-bottom: 28px;
}

.hero-mini-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.mini-stat {
    min-width: 110px;
    padding: 14px 18px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    border-top: 3px solid var(--color-primary-blue);
}

.mini-stat strong {
    display: block;
    font-size: 1.3rem;
    color: var(--color-primary);
}

.mini-stat span {
    font-size: .88rem;
    color: var(--color-text-light);
}

.video-card,
.video-wrapper {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
    background: #000;
}

.video-card video,
.video-wrapper video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.about-section,
.features-section,
.process-section {
    padding: 90px 0;
}

.about-image-wrapper {
    position: relative;
}

.about-main-image {
    border-radius: 24px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}

.floating-box {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(255, 255, 255, .95);
    padding: 18px 20px;
    border-radius: 18px;
    max-width: 300px;
    border-right: 4px solid var(--color-primary-blue);
    box-shadow: 0 14px 40px rgba(0, 0, 0, .10);
}

.floating-box h5 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.floating-box p {
    margin: 0;
    color: var(--color-text-light);
    font-size: .9rem;
    line-height: 1.8;
}

.about-text-box h2,
.section-head h2,
.video-text h2,
.cta-box h2 {
    color: var(--color-primary);
    font-weight: 800;
    line-height: 1.8;
}

.about-text-box p,
.video-text p,
.section-head p,
.cta-box p {
    color: var(--color-text-light);
    line-height: 2;
}

.about-check-list,
.video-points {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.about-check-list li,
.video-points li {
    position: relative;
    padding-right: 28px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.about-check-list li::before,
.video-points li::before {
    content: "✓";
    position: absolute;
    right: 0;
    top: 0;
    color: var(--color-primary-blue);
    font-weight: bold;
}

.section-head {
    margin-bottom: 40px;
}

.feature-box,
.process-box,
.stat-card {
    background: #fff;
    border-radius: 22px;
    padding: 28px 24px;
    height: 100%;
    box-shadow: 0 14px 40px rgba(0, 0, 0, .06);
    border: 1px solid rgba(0, 0, 0, .04);
    transition: .3s;
}

.feature-box:hover,
.process-box:hover,
.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .10);
}

.feature-icon {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-blue));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 18px;
}

.feature-box h5,
.process-box h5 {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-box p,
.process-box p,
.stat-card span {
    color: var(--color-text-light);
    line-height: 1.9;
    margin-bottom: 0;
}

.stats-section {
    padding: 24px 0 90px;
}

.stat-card {
    text-align: center;
    border-top: 4px solid var(--color-secondary);
}

.stat-card strong {
    display: block;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 8px;
}

.process-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--color-secondary);
    color: #fff;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.video-section {
    padding: 90px 0;
    background: linear-gradient(135deg, rgba(0, 68, 97, 0.05), rgba(202, 167, 144, 0.08));
}

.cta-section {
    padding: 0 0 90px;
}

.cta-box {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-blue));
    color: #fff;
    padding: 36px;
    border-radius: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .12);
}

.cta-box h2,
.cta-box p {
    color: #fff;
}

.btn-light-custom {
    background: #fff;
    color: var(--color-primary);
    padding: 12px 26px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-block;
    font-weight: 700;
}

.btn-light-custom:hover {
    color: var(--color-primary-blue);
    text-decoration: none;
}

/* Archive header */

.archive-header {
    margin-bottom: 30px;
}

.archive-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: #1f2d2a;
}

.archive-desc {
    color: #6a7a76;
    margin-top: 10px;
}


/* archive cards */

.archive-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: .2s;
    height: 100%;
}

.archive-card:hover {
    transform: translateY(-4px);
}

.archive-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.archive-body {
    padding: 18px;
}


.archive-meta {
    font-size: 13px;
    color: #6a7a76;
    display: flex;
    gap: 12px;
    margin-bottom: 8px;
}


.archive-title {
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.archive-title a {
    text-decoration: none;
    color: #1f2d2a;
}


.archive-excerpt {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}


.archive-readmore {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    color: #2e8b6d;
    text-decoration: none;
}


/* pagination */

.archive-pagination {
    margin-top: 40px;
}

.archive-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 6px;
    background: #f2f5f4;
    margin: 4px;
    text-decoration: none;
}

.archive-pagination .current {
    background: #2e8b6d;
    color: #fff;
}


/* Progress Bar */
#readingProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #2e8b6d;
    z-index: 9999;
}

/* Main post */
article.single-post {
    background: #fff;
    padding: 35px;
    border-radius: 16px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.07);
}

.post-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2d2a;
    margin-bottom: 20px;
}

/* META */
.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: #5d6c68;
    font-size: 14px;
    justify-content: space-between;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post-meta svg {
    color: #2e8b6d;
}

/* Thumb */
.post-thumb img {
    width: 100%;
    border-radius: 14px;
    max-height: 360px;
    object-fit: cover;
    margin-bottom: 25px;
}

/* TOC */
.toc-box {
    background: #eef6f3;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.toc-box h4 {
    margin-bottom: 10px;
    color: #1f6e56;
}

#toc-list li {
    margin-bottom: 14px;
}

#toc-list a {
    text-decoration: none;
    color: #1f6e56;
    font-size: 14px;
}

/* CTA */
.cta-box {
    background: #2e8b6d;
    color: white;
    padding: 25px;
    border-radius: 14px;
    margin: 30px 0;
    text-align: center;
}

.btn-cta {
    background: white;
    color: #2e8b6d;
    padding: 10px 25px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 10px;
    cursor: pointer;
}

.btn-cta:hover {
    color: var(--color-primary);
}

article.single-post .post-content {
    line-height: 2;
}

article.single-post .post-content h2,
article.single-post .post-content h3,
article.single-post .post-content h4,
article.single-post .post-content h5,
article.single-post .post-content h6 {
    margin-top: 15px;
}

article.single-post .post-content ul,
article.single-post .post-content ol {
    list-style-position: inside;
    padding-right: 15px;
    list-style-type: disc;
}

/* RELATED POSTS */
.related-posts {
    margin-top: 40px;
    border-top: 2px dashed var(--color-primary-blue);
    padding-top: 30px;
}

.related-card {
    display: block;
    background: white;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: #333;
    transition: .2s;
}

.related-card:hover {
    transform: translateY(-3px);
}

.related-card img {
    border-radius: 10px;
    margin-bottom: 10px;
    width: 100%;
    object-fit: cover;
}

.related-card h4 {
    font-size: 16px;
    line-height: 1.7;
}

/* SIDEBAR */
.sidebar-inner {
    position: sticky;
    top: 80px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-card {
    background: white;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

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

.doctor-card img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 10px;
}

.btn-appointment {
    display: block;
    background: #2e8b6d;
    color: white;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
}

/* SIDE LIST */
.side-list {
    list-style: none;
    padding: 0;
}

.side-list li {
    margin-bottom: 12px;
    border: 1px solid var(--color-primary-blue);
    border-radius: 10px;
    padding: 10px;
}

.side-list a {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: #333;
}

.side-list img {
    width: 55px;
    height: 55px;
    border-radius: 8px;
    object-fit: cover;
}

.side-list li span {
    line-height: 1.7;
}

/* SHARE FLOATING */
.floating-share {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.floating-share a {
    background: #2e8b6d;
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    text-decoration: none;
}

/* Comments Fix & Style */
/* --- بخش کلی نظرات --- */
.comments-wrapper {
    margin-top: 50px;
    background: #fff;
    padding: 40px 0;
    border-top: 2px dashed var(--color-primary-blue);
}

.comments-title {
    font-size: 24px;
    margin-bottom: 30px;
    color: #1f2d2a;
    font-weight: 700;
}

/* --- استایل هر نظر --- */
.commentlist {
    list-style: none;
    padding: 0;
}

.commentlist li {
    list-style: none;
}

.comment-body {
    background: #f8faf9;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    border-right: 4px solid #2e8b6d;
}

.comment-author {
    color: #2e8b6d;
    margin-bottom: 5px;
}

.comment-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.comment-content {
    color: #444;
    line-height: 1.7;
}

/* --- استایل فرم نظر --- */
.comment-respond {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.comment-reply-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    background: #f9f9f9;
    transition: 0.3s;
}

.comment-form textarea:focus,
.comment-form input:focus {
    border-color: #2e8b6d;
    outline: none;
    background: #fff;
}

.comment-form .form-submit input {
    background: #2e8b6d;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    font-family: Yekan Bakh FaNum;
}

.comment-form .form-submit input:hover {
    background: #1f6e56;
}

.comment-form .logged-in-as,
.comment-form .comment-notes {
    margin-bottom: 15px;
}

.comment-form label {
    margin-bottom: 10px;
    display: block;
}

.commentlist li .children {
    padding-right: 15px;
}

.commentlist li .children li.comment-author-implant_monster .comment-body {
    border-right: 0;
    border-left: 4px solid #2e8b6d;
}

.commentlist li .children li.comment-author-implant_monster .comment-body .comment-meta {
    display: none;
}

.commentlist li .children li.comment-author-implant_monster .comment-body .reply {
    display: none;
}

body.single-post {
    background: rgb(255 253 253 / 87%);
}


/* Bread */
.breadcrumbs {
    margin-top: 40px;
}

.breadcrumbs p {
    column-gap: 10px;
    display: flex;
    align-items: center;
}

.breadcrumbs p a {
    display: block;
    color: var(--color-primary);
    font-weight: 300;
}

.breadcrumbs .last {
    color: var(--color-text);
    font-weight: 600;
}

/* Service */
.service_content .service_title {
    font-size: 2em;
    font-weight: 700;
    color: #004a61;
}

.service_content .service_text {
    color: #2d303b;
    font-size: 1rem;
    font-weight: 400;
    line-height: 2.25rem;
    text-align: justify;
    text-align-last: right;
}

.service_content .service_text ul {
    list-style-type: disc;
    list-style-position: inside;
}

.service_content .service_text h4 {
    margin-top: 10px;
}

.service_content .service_video .plyr {
    border-radius: 30px;
    box-shadow: 0 0 30px -7px rgba(0, 0, 0, 0.1);
    height: 277px;
}

.service_gallery .service_s_title {
    font-size: .875rem;
    line-height: 1.25rem;
    color: #646464;
    margin-bottom: .5rem;
}

.service_gallery .service_g_title {
    font-size: 1.875rem;
    line-height: 2.25rem;
    color: #004968;
    font-weight: 700;
    margin-bottom: 2rem;
}

.service_gallery img {
    object-fit: cover;
    border-radius: 15px;
    margin: 0 auto;
    display: block;
}


.consult-box {
    padding: 50px 30px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3e9670, #2abf7e);
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.consult-content h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.consult-content p {
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.9;
}

.consult-phones {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.consult-phones a {
    background: #fff;
    color: var(--color-primary-blue);
    padding: 12px 22px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.consult-phones a:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

/* Reserve Page */
main.reserve {
    padding: 50px 0;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.card-custom {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 30px;
}

.card-header-custom {
    background: linear-gradient(135deg, #3e9670, #2abf7e);
    color: white;
    padding: 25px;
    font-size: 1.3rem;
    font-weight: bold;
}

.card-body-custom {
    padding: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 0.95rem;
}

.form-control-custom {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: Yekan Bakh FaNum;
}

.spinner {
    display: none;
    margin: 0 auto;
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.btn-submit {
    background: linear-gradient(135deg, #3e9670, #2abf7e);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 20px;
    font-family: Yekan Bakh FaNum;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.success-message {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 15px;
    border-radius: 15px;
    text-align: center;
    display: none;
}

.success-message h2 {
    margin-bottom: 15px;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 10px;
}

.success-message p {
    font-size: 14px;
    margin-bottom: 10px;
}
