:root {
    --site-primary: #1f6f5b;
    --site-primary-dark: #154c3f;
    --site-accent: #2fb39a;
    --site-highlight: #e08a2c;
    --site-gold: #d4a24a;
    --site-text: #1c2b27;
    --site-muted: #5d6d68;
    --site-border: #e4ece8;
    --site-bg: #f4f8f6;
    --site-white: #fff;
    --site-shadow: 0 12px 32px rgba(21, 76, 63, 0.08);
    --site-radius: 16px;
}

.site-body {
    margin: 0;
    font-family: "Source Sans Pro", "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--site-text);
    background: var(--site-white);
    line-height: 1.65;
}

html[dir="rtl"] .site-body {
    font-family: Cairo, "Segoe UI", Tahoma, Arial, sans-serif;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    background: var(--site-primary);
    color: #fff;
    padding: 8px 14px;
    z-index: 2000;
}

.skip-link:focus {
    left: 8px;
}

.site-chrome {
    position: sticky;
    top: 0;
    z-index: 1040;
    box-shadow: 0 4px 18px rgba(21, 76, 63, 0.08);
}

.site-topbar {
    background: linear-gradient(90deg, var(--site-primary-dark), var(--site-primary));
    color: var(--site-white);
    font-size: 13px;
    padding: 8px 0;
}

.site-topbar a {
    color: var(--site-white);
    margin-left: 12px;
    opacity: 0.95;
}

.site-topbar a:hover {
    color: var(--site-gold);
    text-decoration: none;
}

.site-topbar .btn-top {
    background: var(--site-highlight);
    border-radius: 999px;
    padding: 4px 12px;
    font-weight: 600;
}

.site-header {
    background: var(--site-white);
    border-bottom: 1px solid var(--site-border);
}

.site-header .navbar {
    padding: 8px 0;
}

.site-logo {
    max-height: 62px;
    width: auto;
}

.navbar-nav .nav-link {
    color: var(--site-text);
    font-weight: 600;
    padding: 10px 12px;
    border-radius: 8px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--site-primary);
    background: rgba(31, 111, 91, 0.08);
}

.btn-nav-cta {
    background: var(--site-primary);
    color: #fff !important;
    border-radius: 999px;
    padding: 8px 16px !important;
    margin-left: 8px;
}

.btn-nav-cta:hover {
    background: var(--site-accent);
    color: #fff !important;
}

.dropdown-menu {
    border: 1px solid var(--site-border);
    border-radius: 12px;
    box-shadow: var(--site-shadow);
    padding: 8px;
}

.site-header .nav-item.dropdown {
    position: relative;
}

.site-lang-menu {
    min-width: 160px;
    right: 0;
    left: auto;
}

.dropdown-item {
    border-radius: 8px;
    padding: 8px 12px;
}

.site-main {
    min-height: 48vh;
    background: var(--site-white);
}

.site-main .site-main {
    min-height: 0;
}

.site-hero {
    position: relative;
    overflow: hidden;
}

.site-hero img,
.site-hero .carousel-item img {
    width: 100%;
    height: 460px;
    object-fit: cover;
    display: block;
}

.site-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(transparent, rgba(21, 76, 63, 0.35));
    pointer-events: none;
}

.site-section {
    padding: 56px 0;
}

.site-section-alt {
    background: var(--site-bg);
}

.site-section h2,
.site-section .entry-title {
    font-size: 30px;
    margin-bottom: 8px;
    color: var(--site-primary-dark);
    font-weight: 700;
}

.site-lead {
    color: var(--site-muted);
    max-width: 720px;
    margin-bottom: 24px;
}

.site-rule {
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, var(--site-highlight), var(--site-gold));
    border: 0;
    margin: 0 0 28px;
    border-radius: 4px;
}

.site-card,
.tutor-card {
    background: var(--site-white);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    height: 100%;
    overflow: hidden;
    box-shadow: var(--site-shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.site-card:hover,
.tutor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(21, 76, 63, 0.12);
}

.site-card img,
.tutor-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.site-card-body,
.tutor-card {
    padding: 18px;
}

.tutor-card iframe {
    width: 100%;
    height: 240px;
    border: 0;
    border-radius: 12px;
    margin-bottom: 12px;
}

.tutor-card h3 a {
    color: var(--site-primary-dark);
    font-style: normal;
    text-decoration: none;
}

.btn-site,
.wpcf7-submit,
.entry-content .btn-primary,
a.rpt_foot {
    background: var(--site-primary);
    color: var(--site-white) !important;
    border: 0;
    padding: 10px 18px;
    display: inline-block;
    border-radius: 999px;
    font-weight: 600;
    text-align: center;
}

.btn-site:hover,
.wpcf7-submit:hover,
.entry-content .btn-primary:hover,
a.rpt_foot:hover {
    background: var(--site-accent);
    color: var(--site-white) !important;
    text-decoration: none;
}

.site-form .form-control,
.site-form select,
.site-form textarea,
.wpcf7-form-control {
    border: 1px solid var(--site-border);
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
}

.site-form label,
.wpcf7-form label {
    font-weight: 600;
    margin-top: 10px;
    display: block;
    color: var(--site-text);
}

.form-panel {
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
    padding: 28px;
}

.field-error,
.wpcf7-not-valid-tip {
    display: none;
    color: #a94442;
    font-size: 13px;
}

.wpcf7-not-valid-tip-show {
    display: block;
    color: #a94442;
    font-size: 13px;
}

.form-message,
.wpcf7-response-output {
    display: none;
    margin-top: 12px;
}

.wpcf7-response-output-show {
    display: block;
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #b7e0c8;
    background: #ecf8f1;
}

.site-page-banner img,
.single-feat img,
.post-thumb img,
.attachment-full,
.wp-post-image {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 0 0 var(--site-radius) var(--site-radius);
}

.site-breadcrumb {
    background: linear-gradient(120deg, #154c3f 0%, #1f6f5b 55%, #2fb39a 100%);
    color: #fff;
    padding: 36px 0;
}

.site-breadcrumb h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 700;
}

.site-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

.site-breadcrumb .crumb {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 6px;
}

.site-content {
    padding: 36px 0 56px;
}

.site-content.container {
    max-width: 1140px;
}

.content-wrapper,
.entry-content {
    color: var(--site-text);
}

.entry-content img,
.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.quote-card {
    background: #fff;
    border-left: 4px solid var(--site-gold);
    border-radius: 12px;
    padding: 20px 22px;
    margin-bottom: 18px;
    box-shadow: var(--site-shadow);
}

html[dir="rtl"] .quote-card {
    border-left: 0;
    border-right: 4px solid var(--site-gold);
}

.article-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: var(--site-shadow);
}

.article-card .post-thumb img {
    max-height: 220px;
}

.article-card .entry-content {
    padding: 20px;
}

.entry-meta {
    display: inline-flex;
    flex-direction: column;
    background: var(--site-primary);
    color: #fff;
    border-radius: 10px;
    padding: 8px 12px;
    margin: 12px 16px 0;
    text-align: center;
}

.entry-meta a {
    color: #fff;
}

.secondary-sidebar,
.widget-area {
    background: var(--site-bg);
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    padding: 18px;
    margin-top: 16px;
}

.secondary-sidebar img {
    max-width: 100%;
    height: auto;
}

.widget-title {
    color: var(--site-primary-dark);
    font-size: 18px;
    font-weight: 700;
}

.site-footer {
    background: #12352d;
    color: #e8eee9;
    padding: 0;
    margin-top: 0;
}

.site-footer-cta {
    background: linear-gradient(90deg, var(--site-primary), var(--site-accent));
    color: #fff;
    padding: 28px 0;
}

.site-footer-cta h3 {
    margin: 0 0 6px;
    color: #fff;
}

.site-footer .footer-main {
    padding: 44px 0 20px;
}

.site-footer a {
    color: #e8eee9;
}

.site-footer a:hover {
    color: var(--site-gold);
    text-decoration: none;
}

.site-footer h3 {
    font-size: 16px;
    margin-bottom: 16px;
    color: var(--site-white);
}

.site-footer ul {
    list-style: none;
    padding: 0;
}

.site-footer li {
    margin-bottom: 8px;
}

.site-footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 14px 0;
    font-size: 13px;
    color: #c9d5d0;
}

.site-social a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    font-size: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.welcome-media img {
    border-radius: var(--site-radius);
    box-shadow: var(--site-shadow);
}

.tutor-embed iframe {
    width: 100%;
    height: 320px;
    border: 0;
    border-radius: var(--site-radius);
}

.empty-state {
    padding: 36px;
    text-align: center;
    color: var(--site-muted);
    border: 1px dashed var(--site-border);
    border-radius: var(--site-radius);
    background: #fff;
}

.rpt_plans {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 32px;
}

.rpt_plan {
    flex: 1 1 240px;
    background: #fff;
    border: 1px solid var(--site-border);
    border-radius: var(--site-radius);
    overflow: hidden;
    box-shadow: var(--site-shadow);
    display: flex;
    flex-direction: column;
}

.rpt_title {
    background: var(--site-primary);
    color: #fff;
    padding: 14px 16px;
    font-size: 16px;
}

.rpt_head,
.rpt_features {
    padding: 12px 16px;
}

.rpt_price {
    font-size: 22px;
    color: var(--site-highlight);
}

.rpt_subtitle {
    margin: 6px 0;
}

.wa-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 1050;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.wa-float:hover {
    color: #fff;
    text-decoration: none;
}

.error-panel {
    max-width: 560px;
    margin: 48px auto;
    text-align: center;
    background: #fff;
    border-radius: var(--site-radius);
    padding: 36px;
    box-shadow: var(--site-shadow);
}

@media (max-width: 768px) {
    .site-hero img,
    .site-hero .carousel-item img {
        height: 200px;
    }

    .site-section {
        padding: 28px 0;
    }

    .btn-nav-cta {
        margin: 8px 12px;
        display: inline-block;
    }

    .site-topbar .container {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 8px;
    }

    .site-header .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-logo {
        max-height: 42px;
        width: auto;
    }

    .site-breadcrumb h1 {
        font-size: 22px;
    }

    .site-content.container,
    .site-section .container,
    .site-footer .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .site-form .form-control,
    .site-form select,
    .site-form textarea,
    .wpcf7-form-control {
        width: 100% !important;
        max-width: 100%;
    }

    .rpt_plans,
    .rpt_plan,
    .rpt_xsm_price {
        display: block !important;
        width: 100% !important;
        float: none !important;
    }

    .rpt_plan {
        margin: 0 0 16px;
    }

    .tutor-card iframe,
    .tutor-embed iframe {
        width: 100%;
        min-height: 200px;
    }

    .site-footer-cta .container,
    .footer-main .row {
        flex-direction: column;
        align-items: stretch !important;
        text-align: start;
    }

    .site-footer-cta .btn-site {
        width: 100%;
        text-align: center;
        margin-top: 12px;
    }

    .article-card img,
    .site-page-banner img {
        width: 100%;
        height: auto;
    }

    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 10px;
    }

    .d-flex.justify-content-between .btn-site {
        width: 100%;
        text-align: center;
    }

    .error-panel {
        margin: 24px 12px;
        padding: 24px 16px;
    }

    .wa-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
    }
}
