:root {
    --primary-color: #4b9b64;
    --text-white: #ffffff;
    --text-muted: #e0e0e0;
    --top-bar-bg: rgba(0, 0, 0, 0.4);
    --main-header-bg: rgba(0, 0, 0, 0.2);
    --font-ar: "Almarai", sans-serif;
    --font-en: "Inter", sans-serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

img {
    max-width: 100%;
    height: auto;
    user-select: none;
    -webkit-user-drag: none;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-ar);
    background-color: #f8f8f8;
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header Styles */
.site-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 100%);
}

/* Top Bar */
.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 0;
    font-size: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-white);
    transition: var(--transition);
    cursor: pointer;
}

.contact-item:hover {
    transform: translateY(-1px);
}

.contact-item img {
    width: 18px;
    height: 18px;
}

.contact-item span {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.separator {
    color: rgba(255, 255, 255, 0.1);
    font-size: 14px;
}

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

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    font-size: 13px;
    opacity: 0.9;
}

.social-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.social-link img {
    width: 18px;
    height: 18px;
    filter: brightness(0) invert(1);
}

.lang-switcher {
    display: flex;
    gap: 10px;
    font-family: var(--font-en);
    font-weight: 600;
    align-items: center;
}

.lang-switcher a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

.lang-switcher a.active {
    color: var(--text-white);
}

.lang-switcher .sep {
    color: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

/* Main Header */
.main-header {
    padding: 20px 0;
    position: relative;
    background: transparent;
}

.main-logo {
    height: 100px;
    width: auto;
    transition: var(--transition);
}

.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-toggle span {
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: var(--transition);
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-family: var(--font-ar);
    font-size: 19px;
    font-weight: 700;
    color: var(--text-white);
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Today Badge */
.today-badge {
    position: absolute;
    top: 0;
    left: 80px !important;
    right: auto !important;
    z-index: 1001;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.3));
    animation: cikin-badge 5s ease-in-out infinite;
    transform-origin: top center;
}

@keyframes cikin-badge {
    0% {
        top: 0;
    }

    10% {
        top: -10px;
    }

    20% {
        top: 0;
    }

    30% {
        top: -10px;
    }

    40% {
        top: 0;
    }

    50% {
        top: -10px;
    }

    60% {
        top: 0;
    }

    100% {
        top: 0;
    }
}

.today-badge img {
    width: 80px;
    transition: var(--transition);
}

.today-badge:hover img {
    transform: translateY(5px) scale(1.05);
}

/* Responsiveness for Badge */
@media (max-width: 1300px) {
    .today-badge {
        left: 20px !important;
    }
}

@media (max-width: 1024px) {
    .today-badge {
        display: none;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: 950px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    user-select: none;
    cursor: grab;
}

.hero-slider:active {
    cursor: grabbing;
}

.hero-slider::before {
    content: "";
    position: absolute;
    width: 500%;
    right: -200%;
    bottom: -31px;
    height: 202px;
    background-image: url("images/effects/hizli-menu-alt.png");
    background-repeat: repeat-x;
    background-size: auto 100%;
    z-index: 10;
    pointer-events: none;
}

.slider-container {
    height: 100%;
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.hero-slider::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    z-index: 3;
}

/* Swiper Pagination Styling */
.hero-dots.swiper-pagination,
.vision-dots.swiper-pagination {
    position: absolute;
    bottom: 220px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 30;
    width: auto !important;
}

.vision-dots.swiper-pagination {
    bottom: 30px;
    position: relative;
    margin-top: 30px;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: transparent !important;
    opacity: 0.6;
    transition: var(--transition);
}

.vision-dots .swiper-pagination-bullet {
    border-color: #999;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #fff !important;
}

.vision-dots .swiper-pagination-bullet-active {
    background: #999 !important;
    border-color: #999;
}

/* Vision Slider Section */
.explore-saudi-section {
    padding: 100px 0;
    color: #333;
}

.explore-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 80px;
}

.explore-subtitle {
    display: block;
    font-size: 16px;
    color: #888;
    margin-bottom: 15px;
    font-weight: 400;
}

.explore-title {
    font-size: 52px;
    font-weight: 600;
    color: #222;
    margin-bottom: 25px;
}

.explore-desc {
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.city-cards-grid {
    margin-top: 50px;
}

.city-card {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.city-card-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background-image: url("images/effects/saudi-stroke.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
}

.city-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 60px 80px;
    color: #fff;
}

.city-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.city-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 260px;
    display: block;
    position: relative;
    z-index: 2;
    border: 7px solid #d2d2d2;
}

.img-bg-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 120%;
    background-image: url("images/effects/saudi-img-bg-effect.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    z-index: 1;
}


.city-text {
    flex: 1.2;
    text-align: right;
}

.city-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.city-summary {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.btn-view-map {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition);
}

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

.map-icon {
    width: 18px;
}

/* Page Hero Section */
.page-hero {
    position: relative;
    height: 550px;
    width: 100%;
    overflow: hidden;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-top: 80px;
}

.page-title {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    font-weight: 400;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

.breadcrumbs .sep {
    font-size: 14px;
    opacity: 0.5;
}

.breadcrumbs .current {
    color: #fff;
    font-weight: 600;
}

.hero-bottom-mask {
    position: relative;
    z-index: 15;
    width: 100%;
    height: 92px;
    margin-top: -92px;
    background-image: url("images/effects/anasayfa-odalar-ust.png");
    background-repeat: repeat-x;
    background-position: center;
    pointer-events: none;
    transform: rotate(180deg);
}

/* Blog Grid Section */
.blog-grid-section {
    padding: 100px 0;
}

.blog-grid-section .news-grid {
    margin-top: 0;
}

.blog-grid-section .news-card .news-content {
    align-items: center;
    text-align: center;
    padding: 30px;
}

.blog-grid-section .news-card .news-title {
    font-size: 28px;
    margin-bottom: 20px;
    max-width: 100%;
}

.blog-grid-section .news-card .news-desc {
    font-size: 15px;
    max-width: 90%;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.8);
}

.blog-grid-section .news-card .view-details {
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
}

/* Blog Detail Section */
.blog-detail-section {
    padding: 80px 0;
    color: #333;
}

.blog-article {
    max-width: 900px;
    margin: 0 auto;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
    color: #888;
    font-size: 14px;
    font-weight: 500;
}

.article-meta .sep {
    opacity: 0.3;
}

.content-typography h3 {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 40px 0 20px;
}

.content-typography p {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

.content-typography .lead-text {
    font-size: 22px;
    font-weight: 600;
    color: #222;
    line-height: 1.6;
}

.article-media {
    margin: 40px 0;
}

.article-img {
    width: 100%;
    border-radius: 0;
    border: 10px solid #f1f1f1;
}

.img-caption {
    display: block;
    text-align: center;
    font-size: 14px;
    color: #999;
    margin-top: 10px;
}

.content-typography ul {
    margin: 25px 0;
    padding-right: 20px;
    list-style: none;
}

.content-typography ul li {
    font-size: 17px;
    margin-bottom: 12px;
    position: relative;
    padding-right: 25px;
    color: #555;
}

.content-typography ul li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    width: 12px;
    height: 2px;
    background-color: var(--primary-color);
}

.premium-quote {
    margin: 50px 0;
    padding: 40px;
    background-color: #f8fbf9;
    border-right: 5px solid var(--primary-color);
    font-size: 24px;
    font-weight: 700;
    font-style: italic;
    color: #0d462d;
    line-height: 1.5;
}

.article-footer {
    padding: 30px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 60px 0;
}

.share-box {
    display: flex;
    align-items: center;
    gap: 20px;
}

.share-label {
    font-weight: 700;
    font-size: 16px;
}

.share-links {
    display: flex;
    gap: 15px;
}

.share-links img {
    width: 20px;
    height: 20px;
    opacity: 0.6;
    transition: var(--transition);
}

.share-links img:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.article-cta {
    background-image: url("images/bgs/anasayfa-odalar-zemin.jpg");
    background-size: cover;
    background-position: center;
    padding: 60px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.article-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 70, 45, 0.85);
    /* Saudi Green Overlay */
    z-index: 1;
}

.cta-inner {
    position: relative;
    z-index: 2;
}

.article-cta h3 {
    font-size: 32px;
    margin-bottom: 15px;
}

.article-cta p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}


/* Contact Top Section */
.contact-top-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}


.contact-top-section .container {
    position: relative;
    z-index: 2;
}

.contact-top-section .section-header {
    max-width: 800px;
    margin: 0 auto 80px;
}

.contact-top-section .subtitle {
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
    font-weight: 600;
}

.contact-top-section .title {
    font-size: 64px;
    color: #222;
    margin: 10px 0 25px;
    font-weight: 700;
}

.contact-top-section .desc {
    font-size: 18px;
    color: #777;
    line-height: 1.8;
}

.contact-card {
    background-color: #fff;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.06);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
    border: 1px solid #f1f1f1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
    direction: ltr;
    /* Force [Text | Map] on all screens */
}

/* Info Side (Visually Left, 1st in LTR grid) */
.info-content {
    padding: 80px 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #fff;
    direction: rtl;
    /* Reset to RTL for text */
}

.info-title {
    font-size: 52px;
    font-weight: 700;
    color: #333;
    line-height: 1.1;
    margin-bottom: 60px;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 25px;
    text-align: right;
}

.info-text {
    font-size: 18px;
    color: #666;
    flex: 1;
}

.info-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon-box img {
    width: 35px;
    height: auto;
    opacity: 0.5;
}

/* Map Side (Visually Right, 2nd in LTR grid) */
.info-map {
    width: 100%;
    height: 100%;
    position: relative;
}

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

    .contact-top-section .title {
        font-size: 42px;
    }

    .info-content {
        padding: 60px 40px;
    }

    .info-map {
        height: 400px;
    }
}

/* Contact Actions & Form */
.contact-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 60px 0 80px;
}

.action-btn {
    padding: 12px 35px;
    background-color: #33393c;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

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

.contact-form-container {
    max-width: 1200px;
    margin: 0 auto 100px;
    direction: rtl;
}

.form-title {
    font-size: 24px;
    color: #444;
    margin-bottom: 40px;
    text-align: right;
    font-weight: 600;
}

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

.form-group.full-width {
    grid-column: span 2;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    background-color: #fcfcfc;
    font-family: var(--font-ar);
    font-size: 15px;
    color: #333;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: none;
}

.error-text {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 5px;
    display: block;
    text-align: right;
}

.form-footer {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

.recaptcha-mock {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    font-size: 12px;
    color: #f00;
    max-width: 400px;
    direction: ltr;
}

.btn-send {
    padding: 12px 60px;
    background-color: #33393c;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

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

    .form-group.full-width {
        grid-column: span 1;
    }
}

/* About Us Section */
.about-section {
    padding: 100px 0;
    position: relative;
    color: #333;
}

.about-section .section-header {
    max-width: 800px;
    margin: 0 auto 80px;
    text-align: center;
}

.about-section .subtitle {
    display: block;
    font-size: 14px;
    color: #999;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-section .title {
    font-size: 56px;
    color: #222;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-section .desc {
    font-size: 18px;
    color: #666;
    line-height: 1.8;
}

.about-grid {
    display: flex;
    gap: 100px;
    align-items: center;
    margin-top: 80px;
}

/* RTL: Text on the Right, Image on the Left */
.about-text {
    flex: 1.1;
    text-align: right;
}

.about-image {
    flex: 1;
}

.image-stack {
    position: relative;
    width: 100%;
}

.stack-bg-effect {
    position: absolute;
    top: -30px;
    bottom: -30px;
    right: -30px;
    width: 100%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.main-img-box {
    position: relative;
    z-index: 5;
    background: #fff;
    padding: 0;
    width: 90%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 9px solid rgba(0, 0, 0, 0.13);
}

.main-img-box img {
    width: 100%;
    display: block;
}

.about-title {
    font-size: 42px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    position: relative;
    padding-right: 25px;
    text-align: right;
}

.about-title::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background-color: #eee;
}

.about-content p {
    font-size: 17px;
    line-height: 1.9;
    color: #666;
    margin-bottom: 25px;
}


.effect-left {
    right: auto !important;
    left: -30px;
    transform: scaleX(-1);
    /* Flip the effect image if needed */
}

.title-left {
    padding-right: 0 !important;
    padding-left: 25px;
    text-align: left !important;
}

.title-left::after {
    right: auto !important;
    left: 0;
}

@media (max-width: 991px) {
    .about-section .section-header {
        margin-bottom: 40px;
    }

    .about-grid {
        flex-direction: column;
        gap: 60px;
    }

    /* In Vision section, move image below text on mobile if desired */
    .vision-bg .about-image {
        order: 2;
    }

    .vision-bg .about-text {
        order: 1;
        text-align: right;
    }

    .title-left {
        text-align: right !important;
        padding-left: 0;
        padding-right: 25px;
    }

    .title-left::after {
        right: 0 !important;
        left: auto;
    }

    .about-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-title {
        font-size: 32px;
    }
}

/* Vision Slider Section */
.vision-section {
    position: relative;
    padding-bottom: 100px;
    text-align: center;
    color: #333;
    overflow: hidden;
    user-select: none;
    cursor: grab;
}

.vision-section:active {
    cursor: grabbing;
}

.vision-slider {
    position: relative;
    min-height: 300px;
    margin-bottom: 20px;
    overflow: hidden;
}

.vision-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
}

/* Vision Slide Logic Classes */
.vision-slide.next {
    transform: translateX(100%);
}

.vision-slide.prev {
    transform: translateX(-100%);
}

.vision-slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
    transform: translateX(0);
}

.vision-section .subtitle {
    color: #999;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 400;
    display: block;
}

.partners-section .title,
.services-section .title {
    font-size: 52px;
    font-weight: 600;
    margin: 0 auto 60px;
    text-align: center;
}

.vision-section .title {
    color: #222;
    font-size: 64px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.vision-section .desc {
    color: #777;
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Vision Slider styling */
.vision-slider {
    position: relative;
}

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

.combined-offers-news {
    position: relative;
    background-image: url("images/bgs/anasayfa-odalar-zemin.jpg");
    background-size: cover;
    background-position: center;
    padding: 150px 0 180px;
    margin-top: -60px;
    color: #fff;
    z-index: 1;
    overflow: hidden;
}

.combined-offers-news::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.offers-top-effect {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    height: 92px;
    background-image: url("images/effects/anasayfa-odalar-ust.png");
    z-index: 2;
    background-repeat: no-repeat;
    background-position: center;
}

.best-offers-part .subtitle,
.property-news-part .subtitle {
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-align: center;
    display: block;
}

.best-offers-part .title,
.property-news-part .title {
    font-size: 52px;
    font-weight: 600;
    color: #fff;
    margin: 0 auto 60px;
    text-align: center;
}

.offers-slider {
    margin-top: 50px;
    padding-bottom: 50px;
}

.card-slide {
    height: auto;
}

.offer-card {
    position: relative;
    height: 550px;
    border-radius: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 11px solid #5e5e5e;
}

.offer-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: all 0.6s ease;
    filter: brightness(0.4);
}

.offer-card .card-content {
    opacity: 0.8;
    transition: var(--transition);
}

.offer-card:hover {
    border-color: #fff;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.offer-card:hover .card-bg {
    transform: scale(1.1);
    filter: brightness(0.7);
}

.offer-card:hover .card-content {
    opacity: 1;
}

.card-content {
    position: relative;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 2;
}

.offer-card .location {
    font-size: 24px;
    color: #ccc;
    margin-bottom: 10px;
    position: relative;
}

.offer-card .location::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: #ccc;
    position: absolute;
    right: -40px;
    top: 50%;
}

.offer-card .location::before {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background: #ccc;
    position: absolute;
    left: -40px;
    top: 50%;
}

.property-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
}

.offer-card .price {
    border: 1px solid #fff;
    padding: 8px 25px;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.card-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.badge-item {
    width: 70px;
    height: 70px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
}

.card-desc {
    font-size: 14px;
    color: #ddd;
    line-height: 1.6;
    max-width: 250px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-bottom: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.view-details {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    transition: var(--transition);
}

.offer-card:hover .card-desc {
    max-height: 150px;
    opacity: 1;
    margin-bottom: 30px;
}

/* Property News Styling */
.news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.news-card {
    position: relative;
    height: 400px;
    border: 11px solid #5e5e5e;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
}

.news-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.5);
    transition: var(--transition);
}

.news-card:hover .news-bg {
    transform: scale(1.05);
    filter: brightness(0.7);
}

.news-card:hover {
    border-color: #fff;
}

.news-content {
    position: relative;
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    z-index: 2;
    text-align: right;
}

.news-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 15px;
    max-width: 90%;
}

.news-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 85%;
}

.news-dots {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 50px;
}

.n-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--transition);
}

.n-dot.active {
    background-color: #fff;
    transform: scale(1.2);
}

/* News Slider Styling */
.news-slider {
    margin-top: 40px;
    padding-bottom: 60px;
    /* Space for dots */
}

.news-dots.swiper-pagination {
    bottom: 10px !important;
}

.news-dots .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.3);
    opacity: 1;
}

.news-dots .swiper-pagination-bullet-active {
    background: #fff !important;
}

/* Partners Section Styling */
.partners-section {
    position: relative;
    padding-top: 100px;
    overflow: hidden;
    background-color: #fff;
}

.view-all-link {
    display: inline-flex !important;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 700;
    color: #333 !important;
    padding: 12px 35px;
    border: 1px solid #333 !important;
    transition: var(--transition);
    text-decoration: none;
    background: transparent;
}

.view-all-link .arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.view-all-link:hover {
    color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    background-color: #f8fbf9;
}

.view-all-link:hover .arrow {
    transform: translateX(-8px);
}

.partners-section .section-header,
.services-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.partners-section .subtitle,
.services-section .subtitle {
    color: #222;
    font-weight: 800;
    font-size: 16px;
    opacity: 1;
}

.news-bottom-mask {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 92px;
    background-image: url("images/effects/anasayfa-odalar-alt.png");
    z-index: 2;
    background-repeat: repeat-x;
    background-position: center;
}

.partners-slider {
    padding: 40px 0 60px;
}

.partner-slide {
    display: flex;
    justify-content: center;
}

/* Services & Partners Common Styles */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
    justify-items: center;
}

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

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

.service-card,
.partner-card {
    width: 270px;
    height: 220px;
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    overflow: visible;
    text-align: center;
    padding: 20px;
    transition: var(--transition);
}

/* Background Rotation Variations */
/* Background Variety Variations */
.service-card:nth-child(6n+1),
.partner-card:nth-child(6n+1) {
    --card-tf: scale(1, 1);
}

.service-card:nth-child(6n+2),
.partner-card:nth-child(6n+2) {
    --card-tf: scale(-1, 1);
}

.service-card:nth-child(6n+3),
.partner-card:nth-child(6n+3) {
    --card-tf: scale(1, -1);
}

.service-card:nth-child(6n+4),
.partner-card:nth-child(6n+4) {
    --card-tf: rotate(180deg);
}

.service-card:nth-child(6n+5),
.partner-card:nth-child(6n+5) {
    --card-tf: scale(1, 1);
}

.service-card:nth-child(6n+6),
.partner-card:nth-child(6n+6) {
    --card-tf: scale(-1, 1);
}

.service-card:before,
.partner-card:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    background-image: url("images/effects/hizmetler-zemin.png");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    transform: var(--card-tf, scale(1, 1));
}

.service-icon {
    position: relative;
    z-index: 2;
}

.service-icon img {
    height: 80px;
    margin-bottom: 20px;
    filter: brightness(1);
    /* Always visible */
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 2;
}

.partner-card {
    height: 160px;
}

.partner-card img {
    max-width: 180px;
    height: auto;
    filter: brightness(0.2);
    opacity: 0.9;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 2;
}

.service-card:hover:before,
.partner-card:hover:before {
    transform: var(--card-tf, scale(1, 1)) scale(1.05);
}

.partner-card:hover,
.service-card:hover {
    transform: translateY(-5px);
}

.service-card:hover .service-icon img {
    filter: brightness(0);
}

/* Improved Dots for Partners */
.partners-dots {
    bottom: 0px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-top: 40px;
    height: 30px;
}

.partners-dots .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: transparent !important;
    border: 2px solid #303539;
    opacity: 0.3;
    margin: 0 8px !important;
    transition: var(--transition);
}

.partners-dots .swiper-pagination-bullet-active {
    background: #303539 !important;
    opacity: 1;
    transform: none !important;
}

/* Clear the previously added :after pseudo-element */
.partners-dots .swiper-pagination-bullet-active:after {
    display: none;
}

/* Footer Styles Redesign - Final RTL Pass */
.site-footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 0;
    position: relative;
    overflow: hidden;
    direction: rtl;
}

.footer-top-mask {
    position: relative;
    width: 100%;
    height: 80px;
    background-image: url("images/effects/bulten-ust.png");
    background-repeat: repeat-x;
    background-position: center bottom;
    z-index: 2;
    filter: brightness(0) invert(0.1);
    margin-bottom: -1px;
}

/* Newsletter Section */
.footer-newsletter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    /* Reduced padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.newsletter-content {
    text-align: right;
}

.newsletter-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter-desc {
    color: #888;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 20px;
    align-items: center;
}

.input-group {
    position: relative;
    width: 320px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 45px 12px 15px;
    /* Icon on the right, so padding-right: 45px */
    color: #fff;
    font-family: var(--font-ar);
    border-radius: 4px;
    text-align: right;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;

    opacity: 0.6;
}

.newsletter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 10px 35px;
    /* Reduced padding */
    cursor: pointer;
    transition: var(--transition);
    border-radius: 4px;
    font-size: 15px;
    /* Slightly smaller font */
}

.newsletter-btn:hover {
    background: #fff;
    color: #000;
}

/* Main Footer */
.footer-main {
    padding: 40px 0;
    /* Reduced padding from 60px */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-cols {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1.5fr;
    /* RTL flow: first col is Company (right), last is Contact (left) */
    gap: 40px;
    flex-grow: 1;
}

.col-title {
    font-size: 17px;
    /* Slightly smaller */
    font-weight: 700;
    margin-bottom: 15px;
    /* Reduced margin */
    position: relative;
    padding-bottom: 10px;
}

.col-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 30px;
    height: 1px;
    background: #444;
}

.col-links {
    list-style: none;
    padding: 0;
}

.col-links li {
    margin-bottom: 8px;
    /* Reduced spacing */
}

.col-links a {
    color: #888;
    font-size: 13px;
    /* Slightly smaller */
    transition: var(--transition);
}

.col-links a:hover {
    color: #fff;
}

.contact-info .address {
    color: #888;
    font-size: 13px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
}

.info-item img {
    width: 16px;
    opacity: 0.5;
}

.info-item span {
    color: #888;
    direction: ltr;
    /* Ensure numbers and email are readable */
}

.info-item label {
    margin-left: 0;
}

.footer-brand .big-logo {
    height: 90px;
    /* Reduced from 120px */
    margin-left: 40px;
    /* Space on the left in RTL (since logo is on the right) */
}

/* Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 25px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 13px;
    transition: var(--transition);
}

.social-link img {
    height: 14px;
    opacity: 0.5;
}

.social-link:hover {
    color: #fff;
}

.copyright {
    color: #555;
    font-size: 13px;
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-newsletter {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .footer-main {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
        /* 2x2 grid for iPad */
        width: 100%;
        gap: 30px;
    }

    .footer-brand .big-logo {
        margin: 0;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .footer-cols {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .col-title::after {
        right: 50%;
        transform: translateX(50%);
    }

    .info-item {
        justify-content: center;
    }

    .section-header h2,
    .section-title h2 {
        font-size: 28px !important;
    }

    .hero-slider {
        height: 500px;
    }

    .vision-content h2 {
        font-size: 32px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 30px;
    }
}

/* Responsive Header & Mobile Menu */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .top-bar {
        display: none;
    }

    .hide-mobile {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
    }

    .main-logo {
        height: 70px;
    }

    .main-header .container {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .mobile-toggle {
        justify-self: start;
    }
}

/* Mobile Drawer Styles */
.mobile-nav-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #fff;
    z-index: 2000;
    transition: 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: #333;
}

.mobile-nav-drawer.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.mobile-logo {
    height: 50px;
    filter: brightness(0);
}

.close-mobile {
    background: none;
    border: none;
    font-size: 30px;
    color: #333;
    cursor: pointer;
}

.mobile-menu-links {
    list-style: none;
    padding: 0;
}

.mobile-menu-links li {
    margin-bottom: 20px;
}

.mobile-menu-links a {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    transition: var(--transition);
}

.mobile-menu-links a.active,
.mobile-menu-links a:hover {
    color: var(--primary-color);
}

.mobile-nav-footer {
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.mobile-contact p {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Homepage Sections Responsiveness */
@media (max-width: 1024px) {
    .vision-content h2 {
        font-size: 42px;
    }

    .combined-offers-news {
        padding: 100px 0;
        margin-top: -30px;
    }

    .best-offers-part .title,
    .property-news-part .title {
        font-size: 38px;
        margin-bottom: 40px;
    }

    .offer-card {
        height: 480px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .section-header,
    .section-title {
        margin-bottom: 30px;
    }

    .section-header h2,
    .section-title h2 {
        font-size: 26px !important;
    }

    .vision-content h2 {
        font-size: 28px;
    }

    .vision-section .desc {
        font-size: 16px;
    }

    .hero-slider {
        height: 450px;
    }

    .hero-dots.swiper-pagination {
        bottom: 150px;
    }

    .combined-offers-news {
        padding: 80px 0;
    }

    .best-offers-part .title,
    .property-news-part .title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .offer-card {
        height: 400px;
        border-width: 6px;
    }

    .card-content {
        padding: 20px;
    }

    .offer-card .location {
        font-size: 18px;
    }

    .offer-card h3 {
        font-size: 24px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card {
        height: 300px;
        border-width: 6px;
    }

    .news-content {
        padding: 25px;
    }

    .news-title {
        font-size: 22px;
    }

    .news-desc {
        font-size: 14px;
        max-width: 100%;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card,
    .partner-card {
        width: 100%;
        max-width: 280px;
        height: 200px;
    }

    .site-footer {
        padding-top: 0;
    }

    .footer-cols {
        grid-template-columns: 1fr 1fr;
        /* 2x2 grid for mobile too as requested */
        text-align: right;
        gap: 20px;
    }

    .col-title::after {
        right: 0;
    }

    .info-item {
        justify-content: flex-start;
    }

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

    .newsletter-title {
        font-size: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }

    .input-group {
        width: 100%;
    }

    .newsletter-btn {
        width: 100%;
    }

    .page-hero {
        height: 400px;
    }

    .page-title {
        font-size: 36px;
    }

    .breadcrumbs {
        font-size: 14px;
    }

    .explore-title {
        font-size: 32px;
    }

    .explore-desc {
        font-size: 16px;
    }

    .blog-grid-section {
        padding: 60px 0;
    }

    .blog-grid-section .news-card .news-title {
        font-size: 22px;
    }

    .city-card-content {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
    }

    .city-card-bg {
        clip-path: none;
        border-radius: 10px;
    }

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

    .btn-view-map {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

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

/* Properties Listing Page */
.properties-page-wrap {
    position: relative;
    padding: 0 0 100px;
    min-height: 100vh;
}

.properties-page-wrap .container {
    position: relative;
    z-index: 10;
}

.properties-search-bar {
    max-width: 1250px;
    margin: 40px auto 60px;
    position: relative;
    z-index: 20;
}

.filter-box {
    background: transparent;
    background-image: url("images/effects/filter-box.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 60px 100px;
    box-shadow: none;
    border-radius: 0;
    display: flex;
    justify-content: center;
}

.filter-form {
    display: flex;
    gap: 15px;
    align-items: center;
    width: 100%;
    max-width: 980px;
}

.filter-field {
    flex: 1;
    position: relative;
}

.filter-field select {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #e5e5e5;
    background: #fff;
    font-size: 15px;
    color: #555;
    font-family: var(--font-ar);
    appearance: none;
    cursor: pointer;
    border-radius: 2px;
}

.filter-field::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0,0L5,6L10,0' fill='%23666'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    pointer-events: none;
}

.search-btn {
    padding: 12px 60px;
    background: #303539;
    color: #fff;
    border: none;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 2px;
}

.search-btn:hover {
    background: #1a1d1f;
}

/* Property Grid and Cards */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.properties-grid .offer-card {
    height: 550px;
    border: 11px solid #5e5e5e;
    margin-bottom: 0;
}

.properties-grid .offer-card:hover {
    border-color: var(--primary-color);
}

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

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

    .properties-page-wrap {
        padding-top: 50px;
    }

    .properties-search-bar {
        margin-top: 30px;
        padding: 0 15px;
    }

    .filter-box {
        background: #fff;
        background-image: none !important;
        padding: 25px 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .filter-field {
        width: 100%;
    }

    .search-btn {
        width: 100%;
    }
}

/* Property Detail Page - Premium Upgrade */
.property-detail-wrap {
    padding: 60px 0 120px;
}

.property-detail-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    /* Precise sidebar width */
    gap: 60px;
    align-items: flex-start;
}

.property-main,
.property-sidebar {
    min-width: 0;
}

/* Gallery - Minimalist Architectural Style */
.property-gallery {
    margin-bottom: 50px;
    width: 100%;
    overflow: hidden;
}

.gallery-main {
    width: 100%;
    height: 600px;
    margin-bottom: 15px;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Custom Swiper Arrows */
.gallery-main .swiper-button-next,
.gallery-main .swiper-button-prev {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.4);
    width: 44px;
    height: 44px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.gallery-main .swiper-button-next::after,
.gallery-main .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: 900;
}

.gallery-main .swiper-button-next:hover,
.gallery-main .swiper-button-prev:hover {
    background: var(--primary-color);
}

.gallery-thumbs {
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.gallery-thumbs .swiper-slide {
    width: 160px;
    height: 100%;
    border-radius: 2px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
    filter: grayscale(100%);
    opacity: 0.5;
}

.gallery-thumbs .swiper-slide-thumb-active img {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Header - Bold & Clean */
.property-header {
    margin-bottom: 45px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.property-main-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    color: #1a1a1a;
    letter-spacing: -1px;
    margin-bottom: 15px;
}

.property-location-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f0f0;
    padding: 6px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #555;
    border-radius: 100px;
}

/* Overview - Luxe Grid */
.property-overview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    /* Divider effect */
    background: #eee;
    border: 1px solid #eee;
    margin-bottom: 60px;
}

.overview-item {
    background: #fff;
    padding: 35px 20px;
    text-align: center;
    transition: background 0.3s ease;
}

.overview-item:hover {
    background: #fafafa;
}

.overview-item .icon {
    display: block;
    margin-bottom: 15px;
    height: 24px;
    opacity: 0.8;
}

.overview-item .label {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 8px;
}

.overview-item .value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

/* Detail Sections */
.property-section {
    margin-bottom: 60px;
}

.property-section-title {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.property-section-title::before {
    content: "";
    width: 30px;
    height: 4px;
    background: var(--primary-color);
}

.property-description {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    column-count: 1;
}

.property-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 40px;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #333;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
}

.feature-pill svg {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

/* Sidebar - Elevated Floating Style */
.sticky-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: #fff;
    padding: 40px;
    border: 1px solid #e0e0e0;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.price-card .label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    display: block;
    margin-bottom: 10px;
}

.price-card .current-price {
    font-size: 40px;
    font-weight: 900;
    color: #1a1a1a;
    display: block;
    line-height: 1;
}

.agent-profile {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.agent-details h4 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
}

.agent-details p {
    font-size: 14px;
    color: #888;
}

.action-buttons {
    display: grid;
    gap: 12px;
}

.btn-primary-luxe {
    background: #1a1311;
    color: #fff;
    padding: 18px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

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

.btn-secondary-luxe {
    background: #fff;
    color: #1a1311;
    padding: 18px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid #1a1311;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-secondary-luxe:hover {
    background: #1a1311;
    color: #fff;
}

@media (max-width: 1200px) {
    .property-detail-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .sticky-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .property-main-title {
        font-size: 32px;
    }

    .gallery-main {
        height: 400px;
    }

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

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

    .sidebar-card {
        padding: 30px 20px;
    }
}

/* Share Buttons */
.property-share-btns {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: #333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.share-btn:hover {
    transform: translateY(-5px);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.share-btn.twitter:hover {
    background: #000;
}

.share-btn.facebook:hover {
    background: #1877f2;
}

.share-btn.snapchat:hover {
    background: #fffc00;
    color: #000;
}

.share-btn.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.share-btn.whatsapp:hover {
    background: #25d366;
}

.share-btn.linkedin:hover {
    background: #0077b5;
}

.share-btn.pdf:hover {
    background: #e02424;
}

.share-btn img {
    width: 18px;
    transition: transform 0.3s ease;
}

.share-btn:hover img {
    transform: scale(1.1);
    filter: brightness(0) invert(1);
}

.share-btn.snapchat:hover img {
    filter: none;
    /* Keep black icons on yellow */
}

/* Video Section */
.video-preview-block {
    position: relative;
    width: 100%;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.video-poster {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.video-poster::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.video-poster:hover::after {
    background: rgba(0, 0, 0, 0.4);
}

.play-trigger {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.play-trigger svg {
    width: 30px;
    height: 30px;
    color: var(--primary-color);
}

.video-poster:hover .play-trigger {
    transform: scale(1.1);
    background: var(--primary-color);
}

.video-poster:hover .play-trigger svg {
    color: #fff;
}

/* Premium Form Styles */
.inquiry-card {
    border-radius: 12px;
}

.inquiry-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}

.premium-form .form-group {
    margin-bottom: 15px;
}

.premium-form input,
.premium-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #eee;
    background: #fff;
    font-size: 15px;
    color: #333;
    font-family: var(--font-ar);
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.premium-form input:focus,
.premium-form textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.btn-submit-premium {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #004d2e 0%, #003620 100%);
    color: #fff;
    border: none;
    font-size: 19px;
    font-weight: 800;
    border-radius: 12px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 77, 46, 0.15);
}

.btn-submit-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 77, 46, 0.25);
    filter: brightness(1.1);
}

.btn-whatsapp-premium {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #02071e 0%, #1a1e36 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    font-weight: 800;
    border-radius: 12px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(2, 7, 30, 0.15);
}

.btn-whatsapp-premium:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    filter: brightness(1.2);
}

.btn-whatsapp-premium img {
    width: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-whatsapp-premium:hover img {
    transform: rotate(15deg) scale(1.2);
}

/* Custom Pagination Styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    margin-bottom: 30px;
    direction: ltr;
    /* Ensure numbers/arrows flow correctly */
}

.pagination-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 8px;
    align-items: center;
}

.page-item {
    display: inline-flex;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 15px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: #555;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 155, 100, 0.2);
}

.page-item.active .page-link {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    cursor: default;
    box-shadow: 0 4px 10px rgba(75, 155, 100, 0.3);
}

.page-item.disabled .page-link {
    background-color: #f9f9f9;
    color: #ccc;
    border-color: #eee;
    cursor: not-allowed;
    box-shadow: none;
}

.page-item.disabled .page-link:hover {
    transform: none;
    background-color: #f9f9f9;
    color: #ccc;
    border-color: #eee;
}

/* RTL Adjustment if needed by the layout, but dir=ltr wrapper handles order */
html[dir="rtl"] .pagination-wrapper {
    direction: ltr;
    /* Keep LTR flow for pagination numbers (1 2 3 >) */
}

/* ==========================================================================
   Corporate Action Cards (index.blade.php) - Native Theme Matching
   ========================================================================== */
.corp-action-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.corp-action-card {
    position: relative;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 0;
    /* Sharp edges matched to theme */
    display: flex;
    align-items: center;
    padding: 35px 40px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    overflow: hidden;
}

/* RTL-specific accent border */
html[dir="rtl"] .corp-action-card {
    border-right: 4px solid var(--primary-color);
    border-left: 1px solid #eaeaea;
}

html[dir="ltr"] .corp-action-card {
    border-left: 4px solid var(--primary-color);
    border-right: 1px solid #eaeaea;
}

/* Background texture matching the service cards */
.corp-action-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/effects/hizmetler-zemin.png");
    background-size: cover;
    background-position: center;
    opacity: 0.04;
    z-index: 0;
    transition: opacity 0.4s ease;
}

.corp-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: #d0d0d0;
}

.corp-action-card:hover::before {
    opacity: 0.1;
}

.corp-card-content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    gap: 25px;
}

.corp-icon {
    flex-shrink: 0;
    width: 65px;
    height: 65px;
    background-color: rgba(75, 155, 100, 0.08);
    color: var(--primary-color);
    border-radius: 50%;
    /* Circular elegant icons */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    border: 1px solid rgba(75, 155, 100, 0.15);
}

.corp-icon svg {
    width: 28px;
    height: 28px;
}

.corp-action-card:hover .corp-icon {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.05);
}

.corp-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: right;
}

html[dir="ltr"] .corp-text {
    text-align: left;
}

.corp-title {
    font-size: 20px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 8px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.corp-desc {
    font-size: 14px;
    color: #777777;
    margin-bottom: 15px;
    line-height: 1.6;
}

.corp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

/* Arrow logic for directions */
html[dir="rtl"] .corp-link {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

html[dir="rtl"] .arrow-icon {
    transform: rotate(180deg);
}

html[dir="rtl"] .corp-action-card:hover .arrow-icon {
    transform: rotate(180deg) translateX(6px);
}

html[dir="ltr"] .corp-action-card:hover .arrow-icon {
    transform: translateX(6px);
}

/* Responsive */
@media(max-width: 1024px) {
    .corp-action-grid {
        grid-template-columns: 1fr;
    }

    .corp-action-card {
        max-width: 600px;
        margin: 0 auto;
    }
}

@media(max-width: 600px) {
    .corp-action-card {
        padding: 30px 20px;
    }

    .corp-card-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    html[dir="rtl"] .corp-card-content {
        align-items: flex-start;
    }

    .corp-text {
        text-align: right;
    }

    html[dir="ltr"] .corp-text {
        text-align: left;
    }

    .corp-title {
        font-size: 18px;
    }

    .corp-icon {
        width: 54px;
        height: 54px;
    }

    .corp-icon svg {
        width: 22px;
        height: 22px;
    }
}

/* ==========================================================================
   STEPPER v5 — Stripe-Inspired Premium Minimal
   Completely new design. No reuse from previous versions.
   ========================================================================== */

/* ---- Form card ---- */
.contact-form-container {
    max-width: 920px !important;
    margin: 0 auto !important;
    padding: 52px 44px !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1px solid #eaeef3 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.035) !important;
    color: #111827 !important;
}

/* ---- Progress bar wrapper ---- */
.saas-stepper {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    position: relative !important;
    margin: 0 auto 56px auto !important;
    padding: 0 !important;
    gap: 0 !important;
    overflow: visible !important;
}

/* ---- Connecting rail ---- */
.saas-stepper__track {
    position: absolute !important;
    top: 22px !important;
    left: 28px !important;
    right: 28px !important;
    height: 2px !important;
    width: auto !important;
    background: #e5e7eb !important;
    z-index: 0 !important;
    border-radius: 1px !important;
    bottom: auto !important;
}

/* ---- Step column ---- */
.saas-stepper__item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    z-index: 1 !important;
    flex: 1 !important;
    min-width: 0 !important;
    cursor: default !important;
    padding: 0 !important;
    gap: 0 !important;
}

/* ---- Circle — INACTIVE ---- */
.saas-stepper__circle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
    border-radius: 50% !important;
    background: #f0f1f3 !important;
    border: none !important;
    margin-bottom: 14px !important;
    flex-shrink: 0 !important;
    transition: background 0.25s ease, box-shadow 0.25s ease !important;
    box-shadow: none !important;
}

/* ---- Step number — INACTIVE ---- */
.saas-stepper__number {
    font-family: 'Inter', var(--font-en), system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: #9ca3af !important;
    line-height: 1 !important;
    transition: color 0.25s ease !important;
    display: block !important;
}

/* ---- Circle — ACTIVE ---- */
.saas-stepper__item.active .saas-stepper__circle {
    background: var(--primary-color, #4b9b64) !important;
    border: none !important;
    box-shadow: 0 4px 14px rgba(75, 155, 100, 0.30) !important;
}

.saas-stepper__item.active .saas-stepper__number {
    color: #ffffff !important;
}

/* ---- Circle — COMPLETED ---- */
.saas-stepper__item.completed .saas-stepper__circle {
    background: var(--primary-color, #4b9b64) !important;
    border: none !important;
    box-shadow: none !important;
}

.saas-stepper__item.completed .saas-stepper__circle svg {
    display: block !important;
    width: 20px !important;
    height: 20px !important;
}

/* ---- Circle — ERROR ---- */
.saas-stepper__item.error .saas-stepper__circle {
    background: #fef2f2 !important;
    border: none !important;
}

.saas-stepper__item.error .saas-stepper__number {
    color: #dc2626 !important;
}

/* ---- Text block ---- */
.saas-stepper__text {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 3px !important;
    max-width: 100% !important;
    padding: 0 4px !important;
}

/* ---- Title — semi-bold ---- */
.saas-stepper__title {
    font-size: 12px !important;
    font-weight: 600 !important;
    color: #a0a4ab !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    letter-spacing: 0 !important;
    transition: color 0.25s ease, font-weight 0.25s ease !important;
}

/* ---- Description — light weight ---- */
.saas-stepper__desc {
    font-size: 11px !important;
    font-weight: 300 !important;
    color: #c4c8ce !important;
    line-height: 1.4 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
    transition: color 0.25s ease !important;
}

/* ---- Active text states ---- */
.saas-stepper__item.active .saas-stepper__title {
    color: #111827 !important;
    font-weight: 700 !important;
}

.saas-stepper__item.active .saas-stepper__desc {
    color: #6b7280 !important;
}

/* ---- Completed text states ---- */
.saas-stepper__item.completed .saas-stepper__title {
    color: #374151 !important;
    font-weight: 600 !important;
}

.saas-stepper__item.completed .saas-stepper__desc {
    color: #9ca3af !important;
}

/* ---- Error text states ---- */
.saas-stepper__item.error .saas-stepper__title {
    color: #dc2626 !important;
}

/* ==========================================================================
   STEPPER — Mobile Responsive
   ========================================================================== */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 28px 20px !important;
    }

    .saas-stepper {
        display: flex !important;
        flex-direction: row !important;
        margin-bottom: 32px !important;
        padding: 0 !important;
        gap: 0 !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }

    .saas-stepper__track {
        top: 18px !important;
        left: 20px !important;
        right: 20px !important;
        height: 2px !important;
        width: auto !important;
        bottom: auto !important;
    }

    .saas-stepper__item {
        flex-direction: column !important;
        align-items: center !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .saas-stepper__circle {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        margin-bottom: 8px !important;
    }

    .saas-stepper__number {
        font-size: 13px !important;
    }

    .saas-stepper__title {
        font-size: 9.5px !important;
    }

    .saas-stepper__desc {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .saas-stepper__circle {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        margin-bottom: 6px !important;
    }

    .saas-stepper__track {
        top: 16px !important;
    }

    .saas-stepper__number {
        font-size: 12px !important;
    }

    .saas-stepper__title {
        font-size: 8.5px !important;
    }
}

/* Titles inside form */
.form-step h3 {
    margin-bottom: 30px !important;
    font-size: 24px !important;
    color: #1a1a1a !important;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Form Layout Tweaks */
.form-grid {
    gap: 25px;
}

/* Explicitly fix label visibility issue from conflicts */
.contact-form-container .form-group label {
    display: inline-block !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #343a40 !important;
    margin-bottom: 12px !important;
    text-align: right !important;
    width: 100%;
}

.contact-form-container .form-group label span {
    color: #e85d04 !important;
    /* Premium orange-red for required */
    margin-right: 4px;
    font-weight: bold;
}

/* Premium Inputs */
.contact-form-container .form-group input[type="text"],
.contact-form-container .form-group input[type="tel"],
.contact-form-container .form-group input[type="email"],
.contact-form-container .form-group input[type="file"],
.contact-form-container .form-group select,
.contact-form-container .form-group textarea {
    border: 1.5px solid #dee2e6;
    /* Thicker, softer border */
    border-radius: 10px;
    /* Premium smooth corners */
    padding: 16px 20px;
    background-color: #f8f9fa;
    color: #212529;
    font-family: var(--font-ar);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.contact-form-container .form-group input::placeholder,
.contact-form-container .form-group textarea::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.contact-form-container .form-group input:hover,
.contact-form-container .form-group select:hover,
.contact-form-container .form-group textarea:hover {
    border-color: #ced4da;
    background-color: #fff;
}

.contact-form-container .form-group input:focus,
.contact-form-container .form-group select:focus,
.contact-form-container .form-group textarea:focus {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(75, 155, 100, 0.15);
    outline: none;
}

/* Select specific styling */
.contact-form-container .form-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23495057' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 20px center;
    padding-left: 45px;
    cursor: pointer;
    background-color: #f8f9fa;
    /* Ensure text matches */
}

/* Telephone Input Fix in RTL */
html[dir="rtl"] .contact-form-container .form-group input[type="tel"] {
    direction: ltr;
    text-align: left;
}

/* ==========================================================================
   SELECT2 ULTRA PREMIUM OVERRIDES
   ========================================================================== */

/* The main select box */
.select2-container--default .select2-selection--single.premium-select-box {
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    height: 58px;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
}

.select2-container--default.select2-container--open .select2-selection--single.premium-select-box,
.select2-container--default .select2-selection--single.premium-select-box:focus,
.select2-container--default .select2-selection--single.premium-select-box:hover {
    border-color: var(--primary-color);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(75, 155, 100, 0.15);
    outline: none;
}

/* Selected Text inside box */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #212529 !important;
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-ar);
    padding-left: 20px;
    padding-right: 20px;
    line-height: normal;
}

/* The arrow */
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 24px !important;
    position: absolute !important;
    top: 50% !important;
    margin-top: -12px !important;
    right: 15px !important;
    width: 24px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23343a40' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: 20px !important;
    transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

html[dir="rtl"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    left: 15px !important;
    right: auto !important;
}

/* Hide default select2 triangle */
.select2-container--default .select2-selection--single .select2-selection__arrow b {
    display: none !important;
}

/* Animate arrow smoothly on open */
.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow {
    transform: rotate(-180deg) !important;
}

/* The dropdown body */
.select2-dropdown.premium-dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.05);
    background-color: #fff;
    overflow: hidden;
    margin-top: 5px;
    z-index: 1060;
}

/* The search box inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px 15px;
    font-family: var(--font-ar);
    font-size: 15px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.03);
    outline: none;
    transition: all 0.2s ease;
}

.select2-container--default .select2-search--dropdown .select2-search__field:focus {
    border-color: var(--primary-color);
}

/* Option Items List */
.select2-results__options {
    max-height: 250px !important;
    padding: 8px 0;
}

.select2-results__options::-webkit-scrollbar {
    width: 6px;
}

.select2-results__options::-webkit-scrollbar-track {
    background: #f1f3f5;
}

.select2-results__options::-webkit-scrollbar-thumb {
    background: #ced4da;
    border-radius: 10px;
}

/* Individual Option Items */
.select2-container--default .select2-results__option {
    padding: 12px 20px;
    font-family: var(--font-ar);
    font-size: 15px;
    color: #495057;
    transition: all 0.15s ease;
    border-bottom: 1px solid #f8f9fa;
}

/* Hover/Focus on Options */
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option:hover {
    background-color: #f4faf6 !important;
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Selected Option */
.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: rgba(75, 155, 100, 0.08);
    color: var(--primary-color);
    font-weight: 800;
    position: relative;
}

/* Adding a clean checkmark to selected item */
.select2-container--default .select2-results__option[aria-selected=true]::after {
    content: '✓';
    position: absolute;
    left: 20px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 800;
}

html[dir="rtl"] .select2-container--default .select2-results__option[aria-selected=true]::after {
    left: 20px;
    right: auto;
}

/* Step Action Buttons */
.form-step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    border-top: 1px solid #f1f3f5;
    padding-top: 35px;
}

.btn-step-outline {
    background: #fff;
    border: 1.5px solid #dee2e6;
    color: #495057;
    padding: 16px 36px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-step-outline:hover {
    background: #f8f9fa;
    color: #212529;
    border-color: #adb5bd;
}

.btn-step-primary {
    background: var(--primary-color);
    border: 1.5px solid var(--primary-color);
    color: #fff;
    padding: 16px 44px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(75, 155, 100, 0.2);
}

.btn-step-primary:hover {
    background: #388452;
    border-color: #388452;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(75, 155, 100, 0.3);
}

.btn-step-primary:active {
    transform: translateY(0);
}

/* Premium Options Cards (Radios & Checkboxes) */
.corp-option-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1.5px solid #dee2e6;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: #fff;
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.01);
    flex: 1;
    margin: 0 !important;
    min-height: 60px;
}

.corp-option-box:hover {
    border-color: #adb5bd;
    background-color: #f8f9fa;
}

.corp-option-box input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.corp-option-box span {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #e85d04 !important;
    /* Default inactive color from reference */
    width: 100%;
    text-align: right;
    transition: color 0.3s ease;
}

/* Custom Circle Indicator (Placed on the Left via HTML order, styled here via margin) */
.corp-option-box span::before {
    content: '';
    display: block;
    width: 22px;
    height: 22px;
    border: 2px solid #ced4da;
    border-radius: 50%;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    float: left;
    /* Pushes the circle to the far left */
    margin-top: -2px;
}

/* Checkbox specific shape */
.corp-option-box input[type="checkbox"]~span::before {
    border-radius: 6px;
}

/* Active Indicator Styles */
.corp-option-box input[type="radio"]:checked~span::before {
    border-color: var(--primary-color);
    background-color: #fff;
    border-width: 6px;
    /* Creates the inner filled dot effect */
}

.corp-option-box input[type="checkbox"]:checked~span::before {
    border-color: var(--primary-color);
    background-color: var(--primary-color);
    border-width: 2px;
    background-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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Active Card Styles */
@supports selector(:has(input:checked)) {
    .corp-option-box:has(input:checked) {
        border-color: var(--primary-color);
        background: #f4faf6;
        /* Light green tint */
        box-shadow: 0 4px 15px rgba(75, 155, 100, 0.08);
    }

    .corp-option-box:has(input:checked) span {
        color: var(--primary-color) !important;
        font-weight: 800 !important;
    }
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .contact-form-container {
        padding: 40px 25px !important;
    }

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

    .form-step h3 {
        font-size: 20px !important;
        margin-bottom: 20px !important;
    }

    .btn-step-outline,
    .btn-step-primary {
        padding: 12px 24px;
        font-size: 15px;
    }
}