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

/* Prevent horizontal overflow on small screens */
@media (max-width: 768px) {
    * {
        max-width: 100%;
    }
    
    body, html {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
    }
    
    img, video, iframe, embed, object, svg {
        max-width: 100%;
        height: auto;
    }
    
    table {
        width: 100%;
        max-width: 100%;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    pre, code {
        overflow-x: auto;
        max-width: 100%;
        word-wrap: break-word;
    }
}

:root {
    --primary-white: #ffffff;
    --dark-blue: #003580;
    --light-blue: #0071C2;
    --yellow-accent: #FEBB02;
    --black-text: #000000;
    --dark-text: #000000;
    --medium-text: #6B6B6B;
    --light-gray: #F2F2F2;
    --medium-gray: #F2F2F2;
    --border-color: #F2F2F2;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: var(--dark-text);
    background-color: var(--primary-white);
    line-height: 1.7;
    font-size: 16px;
    letter-spacing: -0.01em;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

/* RTL/LTR Support */
html[dir="ltr"], body[dir="ltr"] {
    direction: ltr;
    text-align: left;
}

html[dir="rtl"], body[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Header RTL/LTR adjustments */
html[dir="rtl"] .header .container {
    flex-direction: row;
}

html[dir="ltr"] .header .container {
    flex-direction: row;
}

html[dir="rtl"] .nav ul {
    flex-direction: row;
}

html[dir="ltr"] .nav ul {
    flex-direction: row;
}

html[dir="rtl"] .lang-switcher {
    margin-left: auto;
    margin-right: 0;
}

html[dir="ltr"] .lang-switcher {
    margin-left: 0;
    margin-right: auto;
}

html[dir="rtl"] .menu-toggle {
    margin-left: 1rem;
    margin-right: 0;
}

html[dir="ltr"] .menu-toggle {
    margin-left: 0;
    margin-right: 1rem;
}

/* Footer RTL/LTR adjustments */
html[dir="rtl"] .footer-section ul li:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .footer-section ul li:hover {
    transform: translateX(-5px);
}

html[dir="rtl"] .footer-section a:hover {
    transform: translateX(5px);
}

html[dir="ltr"] .footer-section a:hover {
    transform: translateX(-5px);
}

/* General RTL/LTR adjustments for icons and spacing */
html[dir="rtl"] .fa-arrow-left::before {
    content: "\f061";
}

html[dir="ltr"] .fa-arrow-left::before {
    content: "\f060";
}

html[dir="rtl"] .fa-arrow-right::before {
    content: "\f060";
}

html[dir="ltr"] .fa-arrow-right::before {
    content: "\f061";
}

/* Text alignment adjustments */
html[dir="rtl"] .text-left {
    text-align: right;
}

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

html[dir="rtl"] .text-right {
    text-align: left;
}

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

/* Float adjustments */
html[dir="rtl"] .float-left {
    float: right;
}

html[dir="ltr"] .float-left {
    float: left;
}

html[dir="rtl"] .float-right {
    float: left;
}

html[dir="ltr"] .float-right {
    float: right;
}

/* Margin and padding logical properties */
html[dir="rtl"] [class*="mr-"],
html[dir="rtl"] [class*="margin-right"] {
    margin-left: var(--spacing);
    margin-right: 0;
}

html[dir="ltr"] [class*="mr-"],
html[dir="ltr"] [class*="margin-right"] {
    margin-right: var(--spacing);
    margin-left: 0;
}

html[dir="rtl"] [class*="ml-"],
html[dir="rtl"] [class*="margin-left"] {
    margin-right: var(--spacing);
    margin-left: 0;
}

html[dir="ltr"] [class*="ml-"],
html[dir="ltr"] [class*="margin-left"] {
    margin-left: var(--spacing);
    margin-right: 0;
}

html[dir="rtl"] [class*="pr-"],
html[dir="rtl"] [class*="padding-right"] {
    padding-left: var(--spacing);
    padding-right: 0;
}

html[dir="ltr"] [class*="pr-"],
html[dir="ltr"] [class*="padding-right"] {
    padding-right: var(--spacing);
    padding-left: 0;
}

html[dir="rtl"] [class*="pl-"],
html[dir="rtl"] [class*="padding-left"] {
    padding-right: var(--spacing);
    padding-left: 0;
}

html[dir="ltr"] [class*="pl-"],
html[dir="ltr"] [class*="padding-left"] {
    padding-left: var(--spacing);
    padding-right: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

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

@media (max-width: 480px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    .container {
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .header {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 1rem 0;
    }
    
    .header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .logo {
        flex: 0 0 auto;
        max-width: calc(100% - 100px);
    }
    
    .logo a {
        gap: 0.5rem;
    }
    
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 1.3rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .lang-switcher {
        flex: 0 0 auto;
    }
    
    .menu-toggle {
        flex: 0 0 auto;
    }
    
    .footer {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 60px 0 90px;
    }
    
    .footer .container {
        width: 100%;
        max-width: 100%;
        padding: 0 12px;
        box-sizing: border-box;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        width: 100%;
        max-width: 100%;
    }
    
    .footer-section {
        width: 100%;
        max-width: 100%;
    }
    
    img, video, iframe, embed, object {
        max-width: 100%;
        height: auto;
    }
    
    table {
        width: 100%;
        max-width: 100%;
        display: block;
        overflow-x: auto;
    }
}

@media (max-width: 375px) {
    html, body {
        overflow-x: hidden;
        max-width: 100vw;
        width: 100%;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .header .container {
        padding: 0 10px;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
    
    .footer .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
}

/* Header */
/* Top Promo Wrapper: عداد الخصم + شريط التمرير - مع احترام منطقة الأمان على الآيفون */
.top-promo-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    padding-top: env(safe-area-inset-top, 0px);
}

/* Countdown Bar - عداد الخصم التنازلي */
.countdown-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #002a5c 0%, var(--dark-blue) 100%);
    color: var(--primary-white);
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid rgba(254, 187, 2, 0.25);
}

.countdown-label {
    color: rgba(255, 255, 255, 0.95);
}

.countdown-timer {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Flip Card - كارت يتقلب كالنتيجة */
.countdown-flip-card {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.countdown-flip-inner {
    position: relative;
    width: 42px;
    height: 48px;
    perspective: 120px;
    transform-style: preserve-3d;
}

.countdown-flip-face {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.5) 100%);
    box-shadow: 
        0 2px 0 rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(254, 187, 2, 0.35);
    overflow: hidden;
}

.countdown-flip-face span {
    font-variant-numeric: tabular-nums;
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
    line-height: 1;
}

.countdown-flip-current {
    transform: rotateX(0deg);
    z-index: 2;
}

.countdown-flip-next {
    transform: rotateX(180deg);
    z-index: 1;
}

.countdown-flip-inner.flip {
    animation: countdownFlip 0.5s ease-in-out forwards;
}

@keyframes countdownFlip {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(-180deg); }
}

.countdown-flip-inner.flip .countdown-flip-current {
    z-index: 1;
}

.countdown-flip-inner.flip .countdown-flip-next {
    z-index: 2;
}

.countdown-unit-label {
    font-size: 10px;
    font-weight: 600;
    color: var(--yellow-accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.95;
}

.countdown-sep {
    color: var(--yellow-accent);
    font-weight: 700;
    font-size: 18px;
    margin: 0 2px;
    line-height: 1;
    align-self: center;
}

/* Announcement Bar */
.announcement-bar {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    background: var(--dark-blue);
    color: #ffffff;
    overflow: hidden;
}

.announcement-bar-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.announcement-bar-content {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    /* Animation will be set by JavaScript */
}

.announcement-item {
    display: inline-flex;
    align-items: center;
    padding: 12px 60px;
    min-width: fit-content;
    flex-shrink: 0;
    justify-content: center;
}

.announcement-item::after {
    content: '•';
    margin-left: 60px;
    opacity: 0.7;
    font-size: 0.8em;
}

.announcement-item:last-of-type::after {
    display: none;
}

.announcement-text {
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

@keyframes scrollAnnouncements {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* الهيدر يلتصق أسفل الشريط المتحرك على الديسكتوب */
.top-promo-wrapper ~ .header,
body:has(.top-promo-wrapper) .header {
    top: 50px;
}

/* Add padding to body when countdown + announcement exist (مع منطقة الأمان للآيفون) */
body:has(.top-promo-wrapper) {
    padding-top: calc(82px + env(safe-area-inset-top, 0px));
}

/* Responsive Announcement Bar - تكبير الشريط والنص على الموبايل */
@media (max-width: 768px) {
    .announcement-bar {
        font-size: 15px;
        min-height: 48px;
        display: flex;
        align-items: center;
    }
    
    .announcement-item {
        padding: 14px 24px;
        gap: 10px;
    }
    
    .announcement-item::after {
        margin-left: 24px;
    }
    
    .announcement-text {
        font-size: 15px;
        font-weight: 600;
    }
    
    .countdown-bar {
        font-size: 10px;
        padding: 4px 8px;
    }
    .countdown-flip-inner {
        width: 28px;
        height: 32px;
        perspective: 90px;
    }
    .countdown-flip-face span { font-size: 15px; }
    .countdown-unit-label { font-size: 8px; }
    .countdown-sep { font-size: 12px; }
    
    body:has(.top-promo-wrapper) {
        padding-top: calc(98px + env(safe-area-inset-top, 0px));
    }
    
    .top-promo-wrapper ~ .header,
    body:has(.top-promo-wrapper) .header {
        top: 0px;
    }
}

@media (max-width: 480px) {
    .announcement-bar {
        min-height: 44px;
    }
    
    .announcement-item {
        padding: 12px 18px;
    }
    
    .announcement-item::after {
        margin-left: 18px;
    }
    
    .announcement-text {
        font-size: 14px;
    }
}

@media (max-width: 360px) {
    .announcement-item {
        padding: 10px 14px;
    }
    
    .announcement-item::after {
        margin-left: 14px;
    }
    
    .announcement-text {
        font-size: 13px;
    }
}

/* Header - منطقة أمان الآيفون عند عدم وجود شريط علوي */
.header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    padding-top: calc(1.25rem + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Header Search - بحث الشقق */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.header-search-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
    max-width: 320px;
}

.header-search-form {
    display: flex;
    align-items: center;
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.header-search-form:focus-within {
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 2px rgba(0, 53, 128, 0.15);
}

.header-search-input {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 0.75rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.header-search-input::placeholder {
    color: var(--medium-text);
}

.header-search-input:focus {
    outline: none;
}

.header-search-btn {
    padding: 0.5rem 0.85rem;
    border: none;
    background: var(--dark-blue);
    color: var(--primary-white);
    cursor: pointer;
    transition: background 0.2s;
}

.header-search-btn:hover {
    background: #002a5c;
}

.header-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--primary-white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    max-height: 320px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.header-search-results.is-open {
    display: block;
}

.header-search-results a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    color: var(--dark-text);
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--light-gray);
    transition: background 0.15s;
}

.header-search-results a:last-child {
    border-bottom: none;
}

.header-search-results a:hover {
    background: var(--light-gray);
}

.header-search-results .search-result-img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.header-search-results .search-result-info {
    flex: 1;
    min-width: 0;
}

.header-search-results .search-result-name {
    font-weight: 600;
    color: var(--dark-blue);
}

.header-search-results .search-result-meta {
    font-size: 0.8rem;
    color: var(--medium-text);
    margin-top: 2px;
}

@media (max-width: 992px) {
    .header-search-wrap {
        max-width: 240px;
    }
}

@media (max-width: 768px) {
    .header-search-wrap {
        max-width: 180px;
    }
    .header-search-input {
        font-size: 0.85rem;
        padding: 0.4rem 0.6rem;
    }
    .header-search-input::placeholder {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .header-search-wrap {
        max-width: 100%;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.logo a:hover {
    opacity: 0.9;
}

.logo-image {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: var(--dark-blue);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    transition: all 0.3s;
    margin: 0;
}

@media (max-width: 768px) {
    .logo-image {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.5rem 0;
}

.nav a i {
    display: none;
}

.nav a span {
    display: inline;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 0;
    height: 2px;
    background: var(--dark-blue);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html[dir="rtl"] .nav a::after {
    right: 0;
    left: auto;
}

html[dir="ltr"] .nav a::after {
    left: 0;
    right: auto;
}

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

.nav a:hover {
    color: var(--dark-blue);
}

.nav a.active {
    color: var(--dark-blue);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    background: var(--light-gray);
    padding: 0.25rem;
    border-radius: 12px;
}

.lang-btn {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    color: var(--medium-text);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    font-size: 0.875rem;
}

.lang-btn:hover {
    color: var(--dark-blue);
    background: rgba(0, 53, 128, 0.1);
}

.lang-btn.active {
    background: var(--dark-blue);
    color: var(--primary-white);
    box-shadow: var(--shadow-sm);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section - مقاسات موحدة لجميع الشاشات */
.hero {
    background: url('https://images.unsplash.com/photo-1522708323590-d24dbb6b0267?w=1920') center center / cover no-repeat;
    color: var(--primary-white);
    padding: clamp(60px, 10vw, 120px) clamp(16px, 4vw, 24px);
    min-height: clamp(420px, 85vh, 720px);
    max-height: 100vh;
    text-align: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 53, 128, 0.85) 0%, rgba(0, 53, 128, 0.65) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 24px);
}

.hero-text {
    margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.hero-title {
    font-size: clamp(1.75rem, 4vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
    opacity: 0.95;
    line-height: 1.5;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-pwa-cta {
    margin-top: 1rem;
    text-align: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-pwa-text {
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

.hero-pwa-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: rgba(255, 255, 255, 0.95);
    color: #003580;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.hero-pwa-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    background: #fff;
}

.hero-pwa-btn i {
    font-size: 1rem;
}

.hero-search-form {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    padding: clamp(1.25rem, 3vw, 2.5rem);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255,255,255,0.5);
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 720px;
    margin: 0 auto;
}

.booking-search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
    align-items: end;
}

.search-form-group {
    position: relative;
}

body[dir="rtl"] .search-form-group {
    text-align: right;
}

body[dir="ltr"] .search-form-group {
    text-align: left;
}

.search-form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.search-form-group input[type="date"],
.search-form-group input[type="text"],
.search-form-group select {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--dark-text);
    background: var(--primary-white);
    transition: all 0.3s ease;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    min-height: 50px;
}

body[dir="rtl"] .search-form-group input[type="date"],
body[dir="rtl"] .search-form-group input[type="text"],
body[dir="rtl"] .search-form-group select {
    padding: 1rem 1rem 1rem 3rem;
    direction: rtl;
}

/* Hide default calendar icon on date input */
.search-form-group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    right: 0;
    left: 0;
    z-index: 2;
}

.search-form-group select {
    background-image: none;
}

.search-form-group input[type="text"] {
    cursor: text;
}

.search-form-group input[type="date"]:focus,
.search-form-group input[type="text"]:focus,
.search-form-group select:focus {
    outline: none;
    border-color: var(--yellow-accent);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.1);
}

.search-form-group i {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: #999;
    font-size: 1.1rem;
    pointer-events: none;
    z-index: 1;
    transform: translateY(0);
}

body[dir="ltr"] .search-form-group i {
    right: auto;
    left: 1rem;
}

/* Ensure icons are properly positioned on all screen sizes */
@media (max-width: 768px) {
    .search-form-group {
        position: relative;
    }
    
    .search-form-group i {
        transform: translateY(0);
    }
}

.search-submit-btn {
    padding: 1rem 2.5rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 53, 128, 0.3);
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: var(--yellow-accent);
    color: var(--dark-text);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-white);
    text-decoration: none;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.contact-item:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    border-color: rgba(255,255,255,0.5);
}

.social-media {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--primary-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.3);
    font-size: 1.1rem;
}

.social-icon:hover {
    background: rgba(255,255,255,0.35);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.5);
}

/* Booking Section */
.booking-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary-white) 0%, var(--light-gray) 100%);
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.booking-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.booking-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-btn {
    padding: 1.5rem 2rem;
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--dark-text);
    box-shadow: var(--shadow-sm);
}

.booking-btn:hover {
    border-color: var(--yellow-accent);
    border-radius: 12px;
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, #fff 0%, #fffef0 100%);
}

.booking-btn.primary {
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 53, 128, 0.3);
}

.booking-btn.primary:hover {
    box-shadow: 0 8px 30px rgba(0, 53, 128, 0.4);
    transform: translateY(-4px) scale(1.02);
}

.booking-btn i {
    font-size: 1.5rem;
}

/* Section Title */
.section-title {
    text-align: center;
    font-size: 2.75rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--dark-blue);
    border-radius: 2px;
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 1px;
    background: var(--border-color);
}

/* Introduction Section */
.intro-section {
    padding: 100px 0;
    background: var(--primary-white);
}

/* Special Styling for Intro Title */
.intro-title-wrapper {
    position: relative;
    padding: 3rem 2rem;
    margin: 2rem 0 4rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.title-background-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 150%;
    background: radial-gradient(ellipse at center, 
        rgba(0, 53, 128, 0.15) 0%,
        rgba(0, 113, 194, 0.1) 30%,
        rgba(255, 215, 0, 0.08) 60%,
        transparent 100%);
    border-radius: 50%;
    animation: glow-pulse 4s ease-in-out infinite;
    z-index: 0;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.intro-special-title {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 4rem !important;
    font-weight: 900 !important;
    letter-spacing: -0.01em;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
}

/* Title Decorations */
.title-top-decoration,
.title-bottom-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin: 0.5rem 0;
}

.deco-line {
    flex: 1;
    max-width: 200px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--yellow-accent) 20%,
        var(--dark-blue) 50%,
        var(--yellow-accent) 80%,
        transparent);
    border-radius: 10px;
    animation: line-shimmer 3s ease-in-out infinite;
}

@keyframes line-shimmer {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

.deco-star {
    font-size: 1.5rem;
    animation: star-spin 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.5));
}

@keyframes star-spin {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

.deco-wave {
    font-size: 1.8rem;
    animation: wave-flow 2s ease-in-out infinite;
}

@keyframes wave-flow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-8px) rotate(10deg);
    }
}

/* Title Main Content */
.title-main-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
}

/* Emoji Bursts */
.emoji-burst-left,
.emoji-burst-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    position: relative;
}

.emoji-item {
    font-size: 2.5rem;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    position: relative;
}

.emoji-1 {
    animation: wave-hand 2s ease-in-out infinite;
    transform-origin: 70% 70%;
}

@keyframes wave-hand {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    10%, 30% {
        transform: rotate(25deg) scale(1.15);
    }
    20% {
        transform: rotate(-20deg) scale(1.1);
    }
    50% {
        transform: rotate(15deg) scale(1.1);
    }
}

.emoji-2 {
    animation: sparkle-rotate 2s ease-in-out infinite;
}

.emoji-3 {
    animation: wave-flow 2.5s ease-in-out infinite;
    font-size: 2.2rem;
}

.emoji-4 {
    animation: beach-sway 3s ease-in-out infinite;
    font-size: 2.8rem;
}

.emoji-5 {
    animation: star-twinkle 1.5s ease-in-out infinite;
    font-size: 2rem;
}

.emoji-6 {
    animation: sunrise-glow 4s ease-in-out infinite;
    font-size: 2.2rem;
}

@keyframes sunrise-glow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1) drop-shadow(0 0 10px rgba(255, 165, 0, 0.5));
    }
    50% {
        transform: scale(1.15);
        filter: brightness(1.3) drop-shadow(0 0 20px rgba(255, 165, 0, 0.8));
    }
}

/* Title Text Wrapper */
.title-text-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    padding: 1rem 2rem;
    position: relative;
}

.title-word {
    background: linear-gradient(135deg, #003580 0%, #0071c2 25%, #ffd700 40%, #0071c2 60%, #003580 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 300% auto;
    font-weight: 900;
    letter-spacing: -0.01em;
    display: inline-block;
    position: relative;
    font-size: 1em;
    animation: word-float 4s ease-in-out infinite;
    text-shadow: 0 4px 15px rgba(0, 53, 128, 0.2);
}

.word-1 {
    animation-delay: 0s;
}

.word-2 {
    animation-delay: 0.2s;
}

.word-3 {
    animation-delay: 0.4s;
}

.word-5 {
    animation-delay: 0.6s;
}

@keyframes word-float {
    0%, 100% {
        background-position: 0% center;
        transform: translateY(0px) scale(1);
    }
    25% {
        transform: translateY(-5px) scale(1.02);
    }
    50% {
        background-position: 100% center;
        transform: translateY(-8px) scale(1.05);
    }
    75% {
        transform: translateY(-5px) scale(1.02);
    }
}

/* Highlight Word - Panorama */
.highlight-word {
    position: relative;
    padding: 0.3rem 1rem;
    margin: 0 0.5rem;
    font-size: 1.3em !important;
    z-index: 2;
}

.highlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(255, 215, 0, 0.2) 0%,
        rgba(255, 237, 78, 0.3) 50%,
        rgba(255, 215, 0, 0.2) 100%);
    border-radius: 20px;
    animation: bg-pulse 2s ease-in-out infinite;
    z-index: -1;
    box-shadow: 
        0 0 20px rgba(255, 215, 0, 0.4),
        inset 0 0 20px rgba(255, 215, 0, 0.2);
}

@keyframes bg-pulse {
    0%, 100% {
        opacity: 0.8;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.highlight-text {
    background: linear-gradient(135deg, 
        #ffd700 0%, 
        #ffed4e 25%, 
        #fff 50%, 
        #ffed4e 75%, 
        #ffd700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gold-shimmer 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(255, 215, 0, 0.5));
}

@keyframes gold-shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.highlight-sparkle {
    position: absolute;
    top: -8px;
    right: -12px;
    font-size: 0.7em;
    animation: sparkle-rotate 1.5s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.8));
}

/* Hover Effects */
.intro-title-wrapper:hover .title-background-glow {
    animation: glow-pulse 2s ease-in-out infinite;
}

.intro-title-wrapper:hover .title-word {
    animation-duration: 2s;
    transform: translateY(-5px);
}

.intro-title-wrapper:hover .highlight-word {
    transform: scale(1.1);
}

.intro-title-wrapper:hover .highlight-bg {
    animation: bg-pulse 1s ease-in-out infinite;
    box-shadow: 
        0 0 30px rgba(255, 215, 0, 0.6),
        inset 0 0 30px rgba(255, 215, 0, 0.3);
}

.intro-title-wrapper:hover .emoji-item {
    animation-duration: 1s;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.intro-title-wrapper:hover .deco-star,
.intro-title-wrapper:hover .deco-wave {
    animation-duration: 1.5s;
}

/* Responsive for Intro Special Title */
@media (max-width: 768px) {
    .intro-title-wrapper {
        padding: 2rem 1rem;
        margin: 1.5rem 0 3rem;
    }
    
    .intro-special-title {
        font-size: 2.5rem !important;
        gap: 0.8rem;
    }
    
    .title-main-content {
        gap: 1rem;
    }
    
    .emoji-item {
        font-size: 1.8rem;
    }
    
    .emoji-4 {
        font-size: 2rem;
    }
    
    .title-text-wrapper {
        gap: 0.5rem;
        padding: 0.8rem 1rem;
    }
    
    .title-word {
        font-size: 0.9em;
    }
    
    .highlight-word {
        font-size: 1.15em !important;
        padding: 0.2rem 0.8rem;
        margin: 0 0.3rem;
    }
    
    .deco-line {
        max-width: 120px;
    }
    
    .deco-star,
    .deco-wave {
        font-size: 1.2rem;
    }
    
    .title-background-glow {
        width: 150%;
        height: 180%;
    }
}

@media (max-width: 480px) {
    .intro-title-wrapper {
        padding: 1.5rem 0.5rem;
        margin: 1rem 0 2rem;
    }
    
    .intro-special-title {
        font-size: 1.8rem !important;
        gap: 0.6rem;
    }
    
    .title-main-content {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .emoji-burst-left,
    .emoji-burst-right {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .emoji-item {
        font-size: 1.4rem;
    }
    
    .emoji-4 {
        font-size: 1.6rem;
    }
    
    .title-text-wrapper {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0.6rem 0.8rem;
    }
    
    .title-word {
        font-size: 0.85em;
    }
    
    .highlight-word {
        font-size: 1.1em !important;
        padding: 0.2rem 0.6rem;
        margin: 0.2rem 0;
    }
    
    .deco-line {
        max-width: 80px;
        height: 2px;
    }
    
    .deco-star,
    .deco-wave {
        font-size: 1rem;
    }
    
    .title-top-decoration,
    .title-bottom-decoration {
        gap: 1rem;
    }
}

.intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.intro-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #666;
}

.intro-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--primary-white);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--yellow-accent);
    box-shadow: var(--shadow-sm);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 53, 128, 0.2);
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
}

.feature-item i {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--dark-text);
}

/* Apartments Section */
.apartments-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-gray) 0%, var(--primary-white) 100%);
}

.apartments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
}

.apartment-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.apartment-card {
    background: var(--primary-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid var(--yellow-accent);
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

.apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(254, 187, 2, 0.3);
    border-color: var(--yellow-accent);
}

.apartment-image-link {
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.apartment-image-link-disabled {
    cursor: not-allowed;
    opacity: 0.7;
    pointer-events: none;
}

.apartment-image-link-disabled .apartment-image-scroll {
    pointer-events: auto;
}

.apartment-image {
    height: 280px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.apartment-image-scroll {
    display: block;
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
    touch-action: pan-y;
    cursor: grab;
}
.apartment-image-scroll:active {
    cursor: grabbing;
}

/* تلميح التمرير — يوضح إن الصور ممكن تتقلب */
.apartment-gallery-hint {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.55);
    border-radius: 24px;
    color: white;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 3;
    pointer-events: none;
    animation: galleryHintPulse 2.5s ease-in-out infinite;
}
.apartment-gallery-hint .gallery-hint-arrows {
    pointer-events: auto;
    display: flex;
    gap: 6px;
    font-size: 0.75rem;
    opacity: 0.95;
}
.apartment-gallery-hint .gallery-hint-arrows i {
    cursor: pointer;
    padding: 2px 4px;
    transition: transform 0.2s;
    animation: galleryArrowsBounce 1.5s ease-in-out infinite;
}
.apartment-gallery-hint .gallery-hint-arrows i:hover {
    transform: scale(1.2);
    animation: none;
}
@keyframes galleryArrowsBounce {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 1; }
}
.apartment-gallery-hint .gallery-hint-text {
    font-weight: 500;
}
@keyframes galleryHintPulse {
    0%, 100% { opacity: 0.9; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(-2px); }
}

/* نقاط التنقل */
.apartment-gallery-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 3;
    pointer-events: none;
}
.apartment-gallery-hint + .apartment-gallery-dots {
    bottom: 42px;
}
.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    pointer-events: auto;
    transition: background 0.25s, transform 0.2s;
}
.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.2);
}
.gallery-dot.active {
    background: white;
    transform: scale(1.15);
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
}

.apartment-image-single {
    width: 100%;
    height: 100%;
    position: relative;
}

.apartment-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.apartment-image-scroll .apartment-image-single img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.25s ease, transform 0.5s ease;
}

.apartment-image.unavailable {
    opacity: 0.7;
}

.apartment-image img {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    animation: fadeInImage 0.3s ease-in-out forwards;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

@keyframes fadeInImage {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.apartment-image img[loading="eager"],
.apartment-image img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

.apartment-image.unavailable img {
    filter: grayscale(0.5);
}

.apartment-unavailable-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.unavailable-badge {
    background: rgba(220, 53, 69, 0.95);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.unavailable-badge i {
    font-size: 1.5rem;
}

.apartment-card:hover .apartment-image-scroll .apartment-image-single img {
    transform: scale(1.05);
}

.apartment-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.apartment-title-link {
    text-decoration: none;
    display: block;
    cursor: pointer;
    transition: color 0.3s;
}

.apartment-title-link:hover {
    color: var(--dark-blue);
}

.apartment-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
    font-weight: 700;
    line-height: 1.3;
    transition: color 0.3s;
}

.apartment-title-link:hover h3 {
    color: var(--dark-blue);
}

.apartment-desc {
    color: #666;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 2.5rem;
}

.apartment-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.25rem;
    color: #555;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.apartment-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.apartment-features i {
    color: var(--dark-blue);
    font-size: 1rem;
}

.apartment-price {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    color: var(--dark-blue);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.apartment-price span {
    font-size: 0.9rem;
    color: #888;
    font-weight: 400;
}

.apartment-price strong {
    font-size: 1.6rem;
    color: var(--dark-blue);
}

.apartment-availability-info {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #856404;
    font-size: 0.95rem;
    font-weight: 600;
}

.apartment-availability-info i {
    color: #f57c00;
    font-size: 1.1rem;
}

/* صندوق عدم التوفر + بدائل التواريخ */
.apartment-availability-info.apartment-availability-unavailable {
    flex-direction: column;
    align-items: stretch;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 1rem 1.1rem;
    margin-top: 0.75rem;
    gap: 0;
}

.apartment-availability-unavailable .availability-unavailable-head {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.apartment-availability-unavailable .availability-unavailable-head i {
    color: #b91c1c;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.apartment-availability-unavailable .availability-text {
    color: #b91c1c;
    font-weight: 600;
    font-size: 0.95rem;
}

.apartment-availability-unavailable .alt-dates-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--dark-blue);
    margin: 0 0 0.5rem 0;
    padding: 0;
}

.apartment-availability-unavailable .alt-available-dates {
    list-style: none;
    padding: 0;
    margin: 0;
}

.apartment-availability-unavailable .alt-available-dates li {
    margin-bottom: 0.5rem;
}

.apartment-availability-unavailable .alt-available-dates li:last-child {
    margin-bottom: 0;
}

.apartment-availability-unavailable .alt-date-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0.6rem 0.85rem;
    background: var(--primary-white);
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    color: var(--dark-blue);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.apartment-availability-unavailable .alt-date-link:hover {
    background: #eff6ff;
    border-color: var(--dark-blue);
    box-shadow: 0 2px 8px rgba(0, 53, 128, 0.12);
}

.apartment-availability-unavailable .alt-date-link .alt-date-range {
    font-variant-numeric: tabular-nums;
    color: var(--dark-text);
    font-weight: 500;
}

.apartment-availability-unavailable .alt-date-link .alt-date-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 1rem;
    background: var(--dark-blue);
    color: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: background 0.2s, transform 0.15s;
}

.apartment-availability-unavailable .alt-date-link:hover .alt-date-btn {
    background: var(--light-blue);
    transform: translateY(-1px);
}

.btn-book.btn-book-disabled {
    margin-top: 0.75rem;
    background: var(--light-gray) !important;
    color: var(--medium-text) !important;
    cursor: not-allowed !important;
    pointer-events: none;
    opacity: 0.85;
    border: 1px solid var(--border-color);
}

.btn-book.btn-book-disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-book.disabled {
    background: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-book.disabled:hover {
    transform: none;
    box-shadow: none;
}

.btn-book {
    width: 100%;
    padding: 1.1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 10px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    text-align: center;
    display: block;
    margin-top: auto;
    box-shadow: 0 4px 15px rgba(0, 53, 128, 0.3);
}

.btn-book:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
    background: var(--light-blue);
}

/* Gallery Section */
.gallery-section {
    padding: 100px 0;
    background: var(--primary-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-item {
    height: 320px;
    overflow: hidden;
    border-radius: 20px;
    cursor: pointer;
    position: relative;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--yellow-accent);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--yellow-accent);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease-in-out;
    opacity: 0;
    animation: fadeInImage 0.3s ease-in-out forwards;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
}

.gallery-item img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Gallery Page Styles */
.gallery-filter-section {
    padding: 2rem 0;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

.filter-btn.active {
    background: var(--yellow-accent);
    color: var(--black-text);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

.gallery-page-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-page-item {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    cursor: pointer;
    aspect-ratio: 4/3;
    border: 2px solid var(--yellow-accent);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-page-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 53, 128, 0.9) 0%, transparent 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s;
    color: var(--primary-white);
}

.gallery-page-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-page-item:hover img {
    transform: scale(1.15);
}

.gallery-item-overlay i {
    font-size: 2.5rem;
    color: var(--yellow-accent);
}

.gallery-item-overlay span {
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
}

.lightbox-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: var(--primary-white);
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3001;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.lightbox-close:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-white);
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3001;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    right: 40px;
}

.lightbox-next {
    left: 40px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    border-color: var(--yellow-accent);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-white);
    font-size: 1.2rem;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

/* Services Section */
.services-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--primary-white) 0%, var(--light-gray) 100%);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-item {
    background: var(--primary-white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--yellow-accent);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--yellow-accent);
    background: linear-gradient(135deg, #fff 0%, #f0f7ff 100%);
}

.service-item i {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-item h3 {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.service-item p {
    color: #666;
}

/* Location Section */
.location-section {
    padding: 100px 0;
    background: var(--primary-white);
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
}

.location-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.location-info p {
    color: #666;
    margin-bottom: 1rem;
}

.location-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.location-contact i {
    color: var(--dark-blue);
}

.location-map {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.location-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--primary-white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,53,128,0.5), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
}

.footer-section h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--dark-blue);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    margin-bottom: 1.25rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-white);
}

.footer-section p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
    color: rgba(255,255,255,0.8);
    transition: all 0.3s;
}

.footer-section ul li:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-section a:hover {
    color: var(--dark-blue);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 1.1rem;
}

.footer-social a:hover {
    background: var(--dark-blue);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 53, 128, 0.4);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    overflow: auto;
}

.modal-content {
    background-color: var(--primary-white);
    margin: 10% auto;
    padding: 2rem;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: #999;
}

.close:hover {
    color: var(--dark-text);
}

.modal-content h2 {
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.date-picker {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.date-input {
    display: flex;
    flex-direction: column;
}

.date-input label {
    margin-bottom: 0.5rem;
    color: var(--dark-text);
    font-weight: 500;
}

.date-input input,
.apartment-select,
.inquiry-form input,
.inquiry-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.date-input input:focus,
.apartment-select:focus,
.inquiry-form input:focus,
.inquiry-form textarea:focus {
    outline: none;
    border-color: var(--yellow-accent);
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-submit {
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-submit:hover {
    transform: scale(1.05);
}

/* About Page Styles */
.page-header {
    background: var(--dark-blue);
    color: var(--primary-white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.4rem;
    opacity: 0.95;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.about-section {
    padding: 80px 0;
    background: var(--primary-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    text-align: right;
    margin-bottom: 2rem;
}

.about-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-mission {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.vm-card {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.vm-card:hover {
    transform: translateY(-5px);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vm-icon i {
    font-size: 2.5rem;
    color: var(--primary-white);
}

.vm-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.vm-card p {
    color: #666;
    line-height: 1.8;
}

.services-detail-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.services-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-detail-card {
    background: var(--primary-white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--dark-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-white);
}

.service-detail-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.service-detail-card p {
    color: #666;
    line-height: 1.8;
}

.why-choose-section {
    padding: 80px 0;
    background: var(--primary-white);
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 10px;
    transition: transform 0.3s;
}

.why-item:hover {
    transform: translateY(-5px);
}

.why-item i {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.why-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.why-item p {
    color: #666;
}

.nav a.active {
    color: var(--dark-blue);
    font-weight: bold;
}

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

/* Apartment Details Page */
.apartment-gallery-section {
    padding: 40px 0;
    background: var(--light-gray);
}

.apartment-main-gallery {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumbnails {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 10px 0;
}

.thumbnail {
    min-width: 120px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--yellow-accent);
    border-radius: 12px;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

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

.apartment-details-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.apartment-details-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.apartment-header {
    margin-bottom: 2rem;
}

.apartment-name {
    font-size: 2.5rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.apartment-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 1.1rem;
}

.apartment-location i {
    color: var(--dark-blue);
}

.apartment-specs {
    display: flex;
    gap: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
}

.spec-item i {
    color: var(--dark-blue);
    font-size: 1.2rem;
}

.apartment-description {
    margin-bottom: 3rem;
}

.apartment-description h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.apartment-description p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.apartment-features-list h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-check {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.feature-check i {
    color: var(--dark-blue);
    font-size: 1.2rem;
}

.booking-section-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.price-section {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark-blue);
}

.price-period {
    font-size: 1.2rem;
    color: #666;
}

.price-note {
    color: #666;
    font-size: 0.9rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark-text);
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--yellow-accent);
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.price-summary {
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    color: #666;
}

.summary-item.total {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--dark-text);
    padding-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.btn-book-now {
    width: 100%;
    padding: 1.2rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s;
}

.btn-book-now:hover {
    transform: scale(1.05);
}

.contact-card {
    background: var(--light-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-text);
}

.contact-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--primary-white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s;
}

.contact-link:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
}

.contact-link i {
    font-size: 1.2rem;
}

.similar-apartments-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.btn-book {
    text-decoration: none;
    display: block;
    text-align: center;
}

/* Apartments Listing Page */
.filter-section {
    padding: 30px 0;
    background: var(--light-gray);
    border-bottom: 1px solid var(--border-color);
}

.filter-wrapper {
    display: flex;
    gap: 2rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

/* Availability Search Button */
.availability-search-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: center;
}

.btn-availability-search {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 400px;
    max-width: 600px;
    width: 100%;
}

.btn-availability-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(254, 187, 2, 0.2);
    border-color: var(--dark-blue);
}

.btn-availability-search i.fa-calendar-alt {
    font-size: 1.5rem;
    color: var(--yellow-accent);
}

.btn-availability-search i.fa-chevron-down {
    margin-right: auto;
    color: var(--dark-text);
    transition: transform 0.3s;
}

.btn-availability-search:hover i.fa-chevron-down {
    transform: translateY(2px);
}

.search-btn-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
    text-align: right;
}

.search-btn-label {
    font-size: 0.9rem;
    color: var(--dark-text);
    font-weight: 500;
}

.search-btn-dates {
    font-size: 1.1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.search-btn-guests {
    font-size: 0.85rem;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.search-btn-hint {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
}

.btn-search-reset {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--primary-white);
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.btn-search-reset:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    border-color: var(--dark-blue);
    transform: rotate(90deg);
}

/* Availability Modal */
.availability-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: flex-start;
    justify-content: center;
    animation: fadeIn 0.3s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 2rem 1rem;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.availability-modal-content {
    background-color: var(--primary-white);
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s;
    display: flex;
    flex-direction: column;
    margin: 2rem auto;
    max-height: calc(100vh - 4rem);
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 2px solid var(--light-gray);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--yellow-accent) 100%);
    color: var(--primary-white);
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    flex: 1;
    min-height: 0;
    max-height: calc(100vh - 200px);
}

/* Date Range Picker */
.date-range-picker-wrapper {
    margin-bottom: 2rem;
}

.date-range-picker-wrapper > label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.date-range-picker-wrapper > label i {
    color: var(--yellow-accent);
}

.date-range-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.date-display-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.date-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.date-value {
    font-size: 1.1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.date-arrow {
    color: var(--yellow-accent);
    font-size: 1.2rem;
}

/* Select Dates Button */
.btn-select-dates {
    width: 100%;
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-select-dates:hover {
    background: var(--yellow-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

.btn-select-dates i {
    font-size: 1.1rem;
}

/* Calendar Range Picker */
.calendar-range-picker {
    background: var(--primary-white);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
}

.btn-calendar-save,
.btn-calendar-cancel {
    flex: 1;
    padding: 0.875rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-calendar-save {
    background: var(--dark-blue);
    color: var(--primary-white);
}

.btn-calendar-save:hover {
    background: var(--yellow-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

.btn-calendar-cancel {
    background: var(--light-gray);
    color: var(--dark-text);
}

.btn-calendar-cancel:hover {
    background: var(--border-color);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-header h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.calendar-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: var(--primary-white);
    color: var(--dark-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.calendar-nav-btn:hover {
    background: var(--yellow-accent);
    border-color: var(--yellow-accent);
    color: var(--primary-white);
    transform: scale(1.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.calendar-weekdays > div {
    text-align: center;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    color: var(--dark-text);
    position: relative;
}

.calendar-day:not(.disabled):not(.empty):hover {
    background: var(--light-gray);
    transform: scale(1.1);
}

.calendar-day.empty {
    cursor: default;
}

.calendar-day.disabled {
    color: var(--text-gray);
    cursor: not-allowed;
    opacity: 0.4;
}

.calendar-day.selected {
    background: var(--dark-blue);
    color: var(--primary-white);
    font-weight: 600;
    z-index: 2;
}

.calendar-day.start-date {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.calendar-day.end-date {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.calendar-day.in-range {
    background: rgba(254, 187, 2, 0.15);
    color: var(--dark-blue);
    border-radius: 0;
    position: relative;
}

.calendar-day.in-range::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(254, 187, 2, 0.1);
    z-index: -1;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .availability-modal {
        padding: 0;
        align-items: flex-start;
        padding-top: 0;
    }
    
    .availability-modal-content {
        max-height: 100vh;
        width: 100%;
        margin: 0;
        border-radius: 0;
        border-top-left-radius: 16px;
        border-top-right-radius: 16px;
    }
    
    .modal-header {
        padding: 1rem 1.5rem;
        flex-shrink: 0;
        position: sticky;
        top: 0;
        z-index: 10;
    }
    
    .modal-header h2 {
        font-size: 1.25rem;
    }
    
    .modal-body {
        padding: 1.5rem;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        max-height: calc(100vh - 180px);
        flex: 1;
    }
    
    .modal-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        flex-shrink: 0;
        position: sticky;
        bottom: 0;
        background: var(--primary-white);
        z-index: 10;
        border-top: 2px solid var(--light-gray);
    }
    
    .btn-modal-cancel,
    .btn-modal-search {
        width: 100%;
    }
    
    .date-range-display {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .date-arrow {
        transform: rotate(90deg);
    }
    
    .calendar-range-picker {
        padding: 0.75rem;
        margin: 0 -0.5rem;
    }
    
    .calendar-header {
        padding: 0.75rem 0;
        margin-bottom: 0.75rem;
    }
    
    .calendar-header h3 {
        font-size: 1.1rem;
    }
    
    .calendar-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .calendar-weekdays {
        gap: 0.25rem;
        margin-bottom: 0.5rem;
    }
    
    .calendar-weekdays > div {
        font-size: 0.75rem;
        padding: 0.4rem 0;
    }
    
    .calendar-days {
        gap: 0.25rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
        min-height: 36px;
        padding: 0.25rem;
    }
    
    .calendar-actions {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
    }
    
    .btn-calendar-save,
    .btn-calendar-cancel {
        width: 100%;
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    /* Calendar wrapper improvements */
    .calendar-wrapper {
        padding: 1rem;
    }
    
    .calendar-month {
        margin-bottom: 1rem;
    }
    
    .calendar-month h3 {
        font-size: 1.2rem;
    }
    
    .calendar-grid {
        gap: 0.35rem;
    }
    
    .calendar-day-header {
        font-size: 0.75rem;
        padding: 0.5rem 0.25rem;
    }
    
    .calendar-day {
        font-size: 0.8rem;
        min-height: 38px;
    }
    
    .calendar-legend {
        flex-direction: column;
        gap: 0.75rem;
        padding-top: 1rem;
    }
    
    .legend-item {
        font-size: 0.85rem;
    }
}

/* Additional mobile improvements for very small screens */
@media (max-width: 480px) {
    .calendar-range-picker {
        padding: 0.5rem;
        margin: 0 -0.25rem;
    }
    
    .calendar-header {
        padding: 0.5rem 0;
        margin-bottom: 0.5rem;
    }
    
    .calendar-header h3 {
        font-size: 1rem;
    }
    
    .calendar-nav-btn {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .calendar-weekdays {
        gap: 0.2rem;
        margin-bottom: 0.4rem;
    }
    
    .calendar-weekdays > div {
        font-size: 0.7rem;
        padding: 0.3rem 0;
    }
    
    .calendar-days {
        gap: 0.2rem;
    }
    
    .calendar-day {
        font-size: 0.75rem;
        min-height: 32px;
        padding: 0.2rem;
    }
    
    .calendar-wrapper {
        padding: 0.75rem;
    }
    
    .calendar-month {
        margin-bottom: 0.75rem;
    }
    
    .calendar-month h3 {
        font-size: 1.1rem;
    }
    
    .calendar-nav {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .calendar-grid {
        gap: 0.25rem;
    }
    
    .calendar-day-header {
        font-size: 0.7rem;
        padding: 0.4rem 0.2rem;
    }
    
    .calendar-day {
        font-size: 0.75rem;
        min-height: 34px;
    }
    
    .calendar-legend {
        gap: 0.5rem;
        padding-top: 0.75rem;
    }
    
    .legend-item {
        font-size: 0.8rem;
    }
    
    .legend-color {
        width: 16px;
        height: 16px;
    }
}

.guests-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guests-input-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.guests-input-group label i {
    color: var(--yellow-accent);
}

.guests-input-group select {
    padding: 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background: var(--primary-white);
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.guests-input-group select:focus {
    outline: none;
    border-color: var(--yellow-accent);
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 2rem;
    border-top: 2px solid var(--light-gray);
    justify-content: flex-end;
    flex-shrink: 0;
}

.btn-modal-cancel,
.btn-modal-search {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-modal-cancel {
    background: var(--light-gray);
    color: var(--dark-text);
}

.btn-modal-cancel:hover {
    background: var(--border-color);
}

.btn-modal-search {
    background: var(--dark-blue);
    color: var(--primary-white);
}

.btn-modal-search:hover {
    background: var(--yellow-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .btn-availability-search {
        min-width: auto;
        padding: 1rem 1.5rem;
    }
    
    .date-input-group {
        grid-template-columns: 1fr;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .btn-modal-cancel,
    .btn-modal-search {
        width: 100%;
        justify-content: center;
    }
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 200px;
}

.filter-item label {
    font-weight: 500;
    color: var(--dark-text);
}

.filter-item select {
    padding: 0.75rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 5px;
    font-size: 1rem;
    background: var(--primary-white);
    cursor: pointer;
    transition: border-color 0.3s;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--yellow-accent);
    border-radius: 8px;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.btn-filter,
.btn-filter-reset {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter {
    background: var(--dark-blue);
    color: var(--primary-white);
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.btn-filter-reset {
    background: var(--primary-white);
    color: var(--dark-text);
    border: 2px solid var(--border-color);
}

.btn-filter-reset:hover {
    border-color: var(--yellow-accent);
    border-radius: 8px;
    color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.apartments-listing-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.apartment-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--dark-blue);
    color: var(--primary-white);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.apartment-badge.premium {
    background: var(--dark-blue);
    box-shadow: 0 4px 15px rgba(0, 53, 128, 0.4);
}

.apartment-image {
    position: relative;
}

.apartment-amenities {
    display: flex;
    gap: 0.75rem;
    margin: 1rem 0 1.5rem;
    padding: 0;
    flex-wrap: wrap;
}

.apartment-amenities span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-radius: 12px;
    color: var(--dark-blue);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 113, 194, 0.1);
    font-size: 1rem;
}

.apartment-amenities span:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.3);
    border-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    /* Hide nav in header on mobile */
    .header .nav {
        display: none;
    }

    /* Show mobile nav at bottom */
    .nav.mobile-nav,
    .nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--primary-white);
        box-shadow: 0 -2px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 0.5rem 0;
        margin: 0;
        border-top: 1px solid rgba(0,0,0,0.05);
        height: auto;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    html[dir="rtl"] .nav {
        right: 0;
        left: auto;
    }

    html[dir="ltr"] .nav {
        left: 0;
        right: auto;
    }

    .nav ul {
        display: flex;
        flex-direction: row;
        gap: 0;
        align-items: center;
        justify-content: space-around;
        padding: 0;
        margin: 0;
        list-style: none;
        width: 100%;
        flex-wrap: nowrap;
    }

    .nav li {
        flex: 1;
        min-width: 0;
        margin: 0;
        border-bottom: none;
        border-right: 1px solid rgba(0,0,0,0.05);
    }

    html[dir="rtl"] .nav li {
        border-right: none;
        border-left: 1px solid rgba(0,0,0,0.05);
    }

    .nav li:last-child {
        border-right: none;
        border-left: none;
    }

    html[dir="rtl"] .nav li:last-child {
        border-left: none;
    }

    .nav a {
        width: 100%;
        padding: 0.75rem 0.5rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.25rem;
        transition: all 0.3s;
        font-size: 0.75rem;
        box-sizing: border-box;
        border-radius: 0;
        text-align: center;
        color: var(--medium-text);
        min-height: 60px;
    }

    .nav a i {
        font-size: 1.2rem;
        display: block;
    }

    .nav a:hover,
    .nav a.active {
        background: transparent;
        color: var(--dark-blue);
    }

    .nav a::after {
        display: none;
    }

    .menu-toggle {
        display: none;
    }

    /* Add padding to body to account for bottom nav */
    body {
        padding-bottom: 0px;
    }

    /* Ensure header stays on top */
    .header {
        z-index: 1001;
    }

    /* Sidebar Menu */
    .sidebar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 320px;
        height: 100vh;
        z-index: 10000;
        transition: right 0.3s ease;
        pointer-events: none;
    }

    html[dir="rtl"] .sidebar-menu {
        right: auto;
        left: -100%;
        transition: left 0.3s ease;
    }

    .sidebar-menu.active {
        right: 0;
        pointer-events: auto;
    }

    html[dir="rtl"] .sidebar-menu.active {
        right: auto;
        left: 0;
    }

    .sidebar-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        transition: opacity 0.3s ease;
        pointer-events: none;
    }

    .sidebar-menu.active .sidebar-overlay {
        opacity: 1;
        pointer-events: auto;
    }

    .sidebar-content {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        max-width: 320px;
        height: 100%;
        background: var(--primary-white);
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    html[dir="rtl"] .sidebar-content {
        right: auto;
        left: 0;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar-header {
        padding: 1.5rem;
        background: var(--dark-blue);
        color: var(--primary-white);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    }

    .sidebar-header h3 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

    .sidebar-close {
        background: transparent;
        border: none;
        color: var(--primary-white);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.3s ease;
    }

    .sidebar-close:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-nav {
        flex: 1;
        padding: 1rem 0;
    }

    .sidebar-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .sidebar-nav li {
        margin: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .sidebar-nav a {
        display: flex;
        align-items: center;
        padding: 1.25rem 1.5rem;
        color: var(--dark-text);
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 1.1rem;
    }

    .sidebar-nav a:hover {
        background: var(--light-gray);
        color: var(--dark-blue);
        padding-right: 2rem;
    }

    html[dir="ltr"] .sidebar-nav a:hover {
        padding-right: 1.5rem;
        padding-left: 2rem;
    }

    .sidebar-nav a.active {
        background: rgba(0, 71, 129, 0.1);
        color: var(--dark-blue);
        border-right: 4px solid var(--dark-blue);
        font-weight: 600;
    }

    html[dir="ltr"] .sidebar-nav a.active {
        border-right: none;
        border-left: 4px solid var(--dark-blue);
    }

    .sidebar-nav a i {
        margin-left: 1rem;
        font-size: 1.3rem;
        width: 24px;
        text-align: center;
    }

    html[dir="ltr"] .sidebar-nav a i {
        margin-left: 0;
        margin-right: 1rem;
    }

    .sidebar-nav a span {
        flex: 1;
    }

    /* Adjust reviews button position on mobile */
    .reviews-fixed-btn {
        bottom: 100px;
        left: 20px;
        right: auto;
        width: 55px;
        height: 55px;
        z-index: 999;
    }

    html[dir="rtl"] .reviews-fixed-btn {
        left: 20px;
        right: auto;
    }

    .reviews-fixed-btn i {
        font-size: 1.5rem;
    }

    .reviews-count {
        font-size: 0.8rem;
    }

    .hero {
        padding: 56px 12px 36px;
        min-height: 340px;
        max-height: none;
        background-attachment: scroll;
    }

    .hero-content {
        padding: 0 12px;
    }

    .hero-text {
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        padding: 0 8px;
    }

    .hero-search-form {
        padding: 1.25rem;
        border-radius: 14px;
        margin: 0 auto;
        max-width: 100%;
    }

    .booking-search-form {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .search-form-group {
        margin-bottom: 0;
    }

    .search-form-group label {
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
    }

    .search-form-group input[type="date"],
    .search-form-group input[type="text"],
    .search-form-group select {
        padding: 0.85rem 0.85rem 0.85rem 2.5rem;
        font-size: 0.95rem;
        border-radius: 8px;
        min-height: 48px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    body[dir="rtl"] .search-form-group input[type="date"],
    body[dir="rtl"] .search-form-group input[type="text"],
    body[dir="rtl"] .search-form-group select {
        padding: 0.85rem 2.5rem 0.85rem 0.85rem;
    }

    .search-form-group input[type="date"]::-webkit-calendar-picker-indicator {
        opacity: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        cursor: pointer;
    }

    .search-form-group select {
        background-image: none;
    }

    .search-form-group i {
        right: 0.75rem;
        bottom: 0.85rem;
        font-size: 1rem;
        pointer-events: none;
        z-index: 1;
    }

    body[dir="ltr"] .search-form-group i {
        left: 0.75rem;
        right: auto;
    }

    .search-submit-btn {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
        margin-top: 0.5rem;
        border-radius: 8px;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        white-space: nowrap;
    }

    .search-submit-btn i {
        font-size: 1rem;
    }

    .search-submit-btn span {
        font-weight: 600;
    }

    /* Improve touch targets on mobile */
    .search-form-group input[type="date"]:active,
    .search-form-group input[type="text"]:active,
    .search-form-group select:active,
    .search-submit-btn:active {
        transform: scale(0.98);
    }

    .booking-wrapper {
        grid-template-columns: 1fr;
    }

    .intro-content {
        grid-template-columns: 1fr;
    }

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

    .location-content {
        grid-template-columns: 1fr;
    }

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

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

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

    .vision-mission {
        grid-template-columns: 1fr;
    }

    .services-detail-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .apartment-details-wrapper {
        grid-template-columns: 1fr;
    }

    .apartment-main-gallery {
        flex-direction: column;
    }

    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .detail-sidebar {
        order: -1;
        position: static;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .booking-summary-card {
        position: static;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-quick {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .gallery-main {
        flex-direction: column;
    }
}

/* Apartment Detail Page Styles */
.apartment-detail-gallery {
    padding: 40px 0;
    background: var(--light-gray);
}

.gallery-main {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.main-gallery-image {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    touch-action: pan-y;
}

.gallery-swipe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: auto;
}

.main-gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeInImage 0.4s ease-in-out forwards;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    transition: opacity 0.3s ease-in-out;
}

.main-gallery-image img[loading="eager"],
.main-gallery-image img[src]:not([src=""]) {
    opacity: 1;
}

.gallery-video-wrapper {
    width: 100%;
    height: 600px;
    position: relative;
    background: #000;
}

.gallery-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    font-size: 1.2rem;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: var(--shadow-md);
}

.gallery-nav-btn.prev {
    right: 20px;
}

.gallery-nav-btn.next {
    left: 20px;
}

.gallery-nav-btn:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    transform: translateY(-50%) scale(1.1);
}

.gallery-thumbnails-row {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 10px 0;
}

.gallery-thumb {
    min-width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.7;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--yellow-accent);
    border-radius: 12px;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeInImage 0.3s ease-in-out forwards;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    transition: opacity 0.3s ease-in-out;
}

.gallery-thumb img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

.gallery-thumb-video {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-thumb-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb-video i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-white);
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.apartment-detail-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.detail-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.detail-main-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.apartment-header-detail {
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.apartment-name-detail {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.apartment-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-text);
    font-size: 1rem;
}

.meta-item i {
    color: var(--dark-blue);
}

.apartment-specs-detail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 20px;
}

.spec-box {
    text-align: center;
    padding: 1.5rem;
    background: var(--primary-white);
    border-radius: 16px;
    transition: all 0.3s;
    border: 2px solid var(--yellow-accent);
}

.spec-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--yellow-accent);
    border-radius: 12px;
}

.spec-box i {
    font-size: 2rem;
    color: var(--dark-blue);
    margin-bottom: 0.75rem;
}

.spec-box strong {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 0.25rem;
}

.spec-box span {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-text);
}

/* Responsive styles for apartment-specs-detail */
@media (max-width: 768px) {
    .apartment-specs-detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
        border-radius: 12px;
    }
    
    .spec-box {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .spec-box i {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .spec-box strong {
        font-size: 1.25rem;
        margin-bottom: 0.2rem;
    }
    
    .spec-box span {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .apartment-specs-detail {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0.75rem;
        border-radius: 10px;
    }
    
    .spec-box {
        padding: 0.75rem;
        border-radius: 10px;
    }
    
    .spec-box i {
        font-size: 1.25rem;
        margin-bottom: 0.4rem;
    }
    
    .spec-box strong {
        font-size: 1.1rem;
        margin-bottom: 0.15rem;
    }
    
    .spec-box span {
        font-size: 0.75rem;
    }
}

.description-section {
    padding: 2rem 0;
}

.description-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.description-section p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

.amenities-section h2,
.policies-section h2,
.additional-services-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s;
    border: 2px solid var(--yellow-accent);
}

.amenity-item:hover {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-color: rgba(0, 53, 128, 0.3);
    transform: translateX(-5px);
}

.amenity-item i {
    font-size: 1.5rem;
    color: var(--light-blue);
    width: 40px;
    text-align: center;
}

.amenity-item span {
    font-size: 1rem;
    color: var(--dark-text);
    font-weight: 500;
}

/* Additional Services Section */
.additional-services-section {
    padding: 2rem 0;
    margin: 2rem 0;
}

.services-intro {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.service-checkbox-item {
    position: relative;
}

.service-checkbox-item label {
    display: block;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.service-checkbox-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.service-checkbox-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    transition: all 0.3s;
    gap: 1rem;
}

.service-checkbox-item input[type="checkbox"]:checked + .service-checkbox-content {
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    border-color: var(--yellow-accent);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
    transform: translateY(-2px);
}

.service-checkbox-item:hover .service-checkbox-content {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.2);
}

.service-checkbox-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.service-checkbox-info i {
    font-size: 2rem;
    color: var(--light-blue);
    width: 50px;
    text-align: center;
}

.service-checkbox-info div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.service-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-text);
    display: block;
}

.service-desc {
    font-size: 0.9rem;
    color: var(--medium-text);
    display: block;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    white-space: nowrap;
}

.services-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.services-total-label {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
}

.services-total-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-blue);
}

.policies-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.policy-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 16px;
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.policy-item:hover {
    border-color: var(--yellow-accent);
    box-shadow: var(--shadow-sm);
}

.policy-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.policy-header i {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.policy-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.policy-item p {
    color: var(--medium-text);
    line-height: 1.7;
    margin: 0;
    padding-right: 2.5rem;
}

.detail-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.inquiry-card {
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

/* Booking Summary Card */
.booking-summary-card {
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.summary-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--light-gray);
}

.summary-dates {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.summary-date-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.summary-date-item.editable-date {
    cursor: pointer;
    border: 2px solid transparent;
}

.summary-date-item.editable-date:hover {
    background: rgba(0, 53, 128, 0.05);
    border-color: var(--dark-blue);
}

.summary-date-item:last-child {
    margin-bottom: 0;
}

.summary-date-item i.fa-calendar-check,
.summary-date-item i.fa-calendar-times {
    color: var(--yellow-accent);
    font-size: 1.2rem;
    width: 24px;
}

.summary-date-item .edit-icon {
    color: var(--dark-blue);
    font-size: 0.9rem;
    opacity: 0.6;
    transition: all 0.3s;
}

.summary-date-item:hover .edit-icon {
    opacity: 1;
    transform: scale(1.1);
}

.summary-date-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.summary-date-item input[type="date"] {
    padding: 0.5rem;
    border: 2px solid var(--dark-blue);
    border-radius: 6px;
    font-size: 0.9rem;
    width: 100%;
}

.no-dates-selected {
    text-align: center;
    padding: 2rem 1rem;
}

.btn-select-dates-summary {
    width: 100%;
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
}

.btn-select-dates-summary:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.3);
}

.date-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.date-value {
    font-size: 1rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.summary-nights {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border-radius: 8px;
    margin-top: 1rem;
    font-weight: 600;
}

.summary-nights i {
    color: var(--yellow-accent);
}

.summary-breakdown {
    margin-bottom: 1.5rem;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.breakdown-item:last-child {
    border-bottom: none;
}

.breakdown-item.total {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--dark-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.breakdown-value {
    font-weight: 600;
    color: var(--dark-text);
}

.breakdown-value.discount {
    color: #28a745;
}

.breakdown-value.total-amount {
    color: var(--dark-blue);
    font-size: 1.3rem;
}

.coupon-section {
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-gray);
}

.coupon-input-group {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--yellow-accent);
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.btn-apply-coupon {
    padding: 0.75rem 1.5rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-apply-coupon:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.3);
}

.coupon-message {
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.coupon-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.coupon-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.btn-book-now {
    width: 100%;
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: all 0.3s;
    margin-bottom: 1rem;
}

.btn-book-now:hover {
    background: #003366;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
}

.booking-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    text-align: center;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
}

.booking-note i {
    color: var(--yellow-accent);
}

/* Availability Message */
.offer-applied-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid var(--dark-blue);
    border-radius: 12px;
    margin: 1rem 0;
    animation: slideDown 0.3s ease;
}

.offer-applied-message i {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.offer-applied-message strong {
    display: block;
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.offer-applied-message span {
    display: block;
    color: var(--dark-text);
    font-size: 0.9rem;
    font-weight: 600;
}

.availability-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: right;
}

.availability-message.unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

.availability-message i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.availability-message.unavailable i {
    color: #dc3545;
}

.btn-book-now:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Responsive Booking Summary */
@media (max-width: 768px) {
    .apartment-detail-gallery {
        padding: 20px 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .apartment-detail-gallery .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .gallery-main {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .main-gallery-image {
        height: 300px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .gallery-video-wrapper {
        height: 300px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .apartment-detail-section {
        padding: 30px 0;
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .apartment-detail-section .container {
        padding: 0 16px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .detail-main-content {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
    
    .detail-sidebar {
        position: static;
        order: -1;
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }
    
    .booking-summary-card {
        position: static;
        width: 100%;
        max-width: 100%;
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
        box-sizing: border-box;
    }
    
    .inquiry-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .contact-quick {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .summary-title {
        font-size: 1.25rem;
        padding-bottom: 0.75rem;
    }
    
    .summary-dates {
        padding: 1rem;
    }
    
    .summary-date-item {
        gap: 0.75rem;
    }
    
    .summary-date-item i {
        font-size: 1rem;
    }
    
    .date-value {
        font-size: 0.95rem;
    }
    
    .summary-nights {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    .summary-breakdown {
        margin-bottom: 1rem;
    }
    
    .breakdown-item {
        padding: 0.5rem 0;
        font-size: 0.95rem;
    }
    
    .breakdown-item.total {
        font-size: 1.1rem;
        padding-top: 0.75rem;
    }
    
    .breakdown-value {
        font-size: 0.95rem;
    }
    
    .breakdown-value.total-amount {
        font-size: 1.2rem;
    }
    
    .coupon-section {
        margin-bottom: 1rem;
        padding-top: 1rem;
    }
    
    .coupon-input-group {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .coupon-input {
        width: 100%;
        padding: 0.875rem;
    }
    
    .btn-apply-coupon {
        width: 100%;
        padding: 0.875rem;
    }
    
    .btn-book-now {
        padding: 0.875rem;
        font-size: 1rem;
    }
    
    .booking-note {
        font-size: 0.8rem;
        padding: 0.5rem;
    }
    
    .price-display {
        margin-bottom: 1rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .btn-inquiry {
        padding: 1rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .detail-wrapper {
        padding: 0;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .detail-main-content {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .detail-sidebar {
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }
    
    .booking-summary-card {
        padding: 1rem;
        border-radius: 12px;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    
    .summary-title {
        font-size: 1.1rem;
    }
    
    .summary-dates {
        padding: 0.75rem;
    }
    
    .summary-date-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .summary-date-item i {
        align-self: flex-start;
    }
    
    .breakdown-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    
    .breakdown-value {
        align-self: flex-end;
    }
    
    .contact-quick {
        padding: 1rem;
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
    
    .contact-quick h3 {
        font-size: 1.1rem;
    }
    
    .quick-contact-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .inquiry-card {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
        margin-right: 0;
        box-sizing: border-box;
    }
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-blue);
    line-height: 1;
}

.price-period {
    font-size: 1.1rem;
    color: var(--medium-text);
    font-weight: 500;
}

.btn-inquiry {
    width: 100%;
    padding: 1.25rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 53, 128, 0.3);
}

.btn-inquiry:hover {
    background: #003366;
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 53, 128, 0.4);
}

.inquiry-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.inquiry-note i {
    color: var(--dark-blue);
}

.contact-quick {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid var(--yellow-accent);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.contact-quick h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-white);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    transition: all 0.3s;
    border: 2px solid var(--yellow-accent);
}

.quick-contact-item:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    transform: translateX(-5px);
    border-color: transparent;
}

.quick-contact-item.whatsapp:hover {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.quick-contact-item i {
    font-size: 1.3rem;
    color: var(--dark-blue);
    width: 30px;
    text-align: center;
}

.quick-contact-item:hover i {
    color: var(--primary-white);
}

.inquiry-modal {
    max-width: 600px;
}

.inquiry-form-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.inquiry-form-detail .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inquiry-form-detail label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.inquiry-form-detail input,
.inquiry-form-detail select,
.inquiry-form-detail textarea {
    padding: 0.875rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    font-family: inherit;
}

.inquiry-form-detail input:focus,
.inquiry-form-detail select:focus,
.inquiry-form-detail textarea:focus {
    outline: none;
    border-color: var(--yellow-accent);
    border-radius: 10px;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.15);
}

.btn-submit-inquiry {
    width: 100%;
    padding: 1.25rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 53, 128, 0.3);
    margin-top: 0.5rem;
}

.btn-submit-inquiry:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 53, 128, 0.4);
}

/* Booking Page Styles */
.search-bar-section {
    background: var(--dark-blue);
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
}

.search-bar-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    align-items: flex-end;
}

.search-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.search-item label {
    color: var(--primary-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.search-item input,
.search-item select {
    padding: 1rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--primary-white);
    transition: all 0.3s;
}

.search-item input:focus,
.search-item select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.2);
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
}

.btn-search {
    padding: 1rem 2rem;
    background: var(--yellow-accent);
    color: var(--black-text);
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
}

.btn-search:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.coupon-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.coupon-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.coupon-wrapper label {
    color: var(--primary-white);
    font-weight: 600;
    font-size: 0.95rem;
}

.coupon-input-group {
    display: flex;
    gap: 0.75rem;
    flex: 1;
    min-width: 300px;
}

.coupon-input-group input {
    flex: 1;
    padding: 0.875rem 1rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    font-size: 1rem;
    background: var(--primary-white);
}

.coupon-input-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.btn-apply-coupon {
    padding: 0.875rem 1.5rem;
    background: var(--yellow-accent);
    color: var(--black-text);
    border: none;
    border-radius: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-apply-coupon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.coupon-message {
    display: none;
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.coupon-message .success {
    color: #155724;
    background: #d4edda;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-message .error {
    color: #721c24;
    background: #f8d7da;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.booking-main-section {
    padding: 60px 0;
    background: var(--light-gray);
}

.booking-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.tab-btn {
    padding: 1rem 2rem;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--medium-text);
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: var(--dark-blue);
}

.tab-btn.active {
    color: var(--dark-blue);
    border-bottom-color: var(--dark-blue);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.availability-calendar-section h2,
.available-apartments-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--dark-text);
}

.calendar-wrapper {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.calendar-month {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.calendar-month h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.calendar-nav {
    background: var(--light-gray);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    cursor: pointer;
    color: var(--dark-blue);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.calendar-nav:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: 700;
    color: var(--medium-text);
    padding: 0.75rem;
    font-size: 0.9rem;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    background: var(--light-gray);
    color: var(--dark-text);
}

.calendar-day:hover:not(.empty):not(.booked) {
    background: var(--dark-blue);
    color: var(--primary-white);
    transform: scale(1.1);
}

.calendar-day.available {
    background: #d4edda;
    color: #155724;
}

.calendar-day.booked {
    background: #f8d7da;
    color: #721c24;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.selected {
    background: var(--dark-blue);
    color: var(--primary-white);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.3);
}

.calendar-day.empty {
    background: transparent;
    cursor: default;
}

.calendar-legend {
    display: flex;
    gap: 2rem;
    justify-content: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--medium-text);
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.legend-color.available {
    background: #d4edda;
}

.legend-color.booked {
    background: #f8d7da;
}

.legend-color.selected {
    background: var(--dark-blue);
}

.apartments-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.apartment-list-item {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 200px 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.apartment-list-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    border-color: var(--yellow-accent);
}

.apt-list-image {
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
}

.apt-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apt-list-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.apt-list-specs {
    display: flex;
    gap: 1.5rem;
    color: var(--medium-text);
}

.apt-list-specs i {
    color: var(--dark-blue);
    margin-left: 0.5rem;
}

.apt-list-price {
    text-align: center;
}

.price-per-night {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.price-per-night span {
    font-size: 1rem;
    color: var(--medium-text);
    font-weight: 500;
}

.btn-book-apt {
    padding: 0.875rem 2rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 53, 128, 0.3);
}

.btn-book-apt:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.offer-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
    position: relative;
    transition: all 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 53, 128, 0.3);
}

.offer-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: var(--dark-blue);
    color: var(--primary-white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-md);
}

.offer-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0 0.75rem;
    color: var(--dark-text);
}

.offer-card p {
    color: var(--medium-text);
}

/* Blog Page Styles */
.blog-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.blog-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.blog-main {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.blog-post {
    background: var(--primary-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.blog-post-image {
    position: relative;
    height: 350px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.blog-post:hover .blog-post-image img {
    transform: scale(1.1);
}

.blog-post-category {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--yellow-accent);
    color: var(--black-text);
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-md);
}

.blog-post-content {
    padding: 2rem;
}

.blog-post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: var(--medium-text);
}

.blog-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta i {
    color: var(--light-blue);
    font-size: 0.9rem;
}

.blog-post-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-post-excerpt {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--medium-text);
    margin-bottom: 1.5rem;
}

.blog-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.blog-post-read-more:hover {
    color: var(--light-blue);
    transform: translateX(-5px);
}

.blog-post-read-more i {
    transition: transform 0.3s;
}

.blog-post-read-more:hover i {
    transform: translateX(-3px);
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2rem;
}

.pagination-btn {
    padding: 0.75rem 1.25rem;
    background: var(--primary-white);
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    color: var(--dark-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

.pagination-btn.active {
    background: var(--dark-blue);
    color: var(--primary-white);
    border-color: var(--dark-blue);
}

.pagination-btn.next {
    background: var(--yellow-accent);
    color: var(--black-text);
}

.pagination-btn.next:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.sidebar-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--yellow-accent);
}

/* Blog Search */
.blog-search {
    display: flex;
    gap: 0.5rem;
}

.blog-search input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
}

.blog-search input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.blog-search button {
    padding: 0.875rem 1.5rem;
    background: var(--yellow-accent);
    color: var(--black-text);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.blog-search button:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    transform: translateY(-2px);
}

/* Category List */
.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.category-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem;
    background: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-list li a:hover {
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    border-color: var(--yellow-accent);
    transform: translateX(-5px);
}

.category-list li a span {
    background: var(--yellow-accent);
    color: var(--black-text);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

/* Recent Posts */
.recent-posts {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.recent-post-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.recent-post-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    border: 2px solid var(--yellow-accent);
}

.recent-post-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    line-height: 1.4;
}

.recent-post-item h4 a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s;
}

.recent-post-item h4 a:hover {
    color: var(--dark-blue);
}

.recent-post-item span {
    font-size: 0.85rem;
    color: var(--medium-text);
}

/* Tags Cloud */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border: 2px solid var(--yellow-accent);
    border-radius: 20px;
    text-decoration: none;
    color: var(--dark-text);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
}

.tag:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.3);
}

/* Tablet - Hero & Calendar */
@media (max-width: 968px) {
    .hero {
        padding: 70px 16px 50px;
        min-height: 380px;
        max-height: none;
    }

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

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .hero-search-form {
        padding: 1.5rem;
        max-width: 100%;
    }

    .booking-search-form {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .search-submit-btn {
        grid-column: 1 / -1;
    }

    .blog-wrapper {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-post-image {
        height: 250px;
    }
}

/* Blog Detail Page Styles */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--yellow-accent);
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.6);
}

.blog-post-detail {
    background: var(--primary-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.blog-post-image-detail {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.blog-post-image-detail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-header-detail {
    padding: 2.5rem;
    border-bottom: 2px solid var(--border-color);
}

.blog-post-title-detail {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.blog-post-meta-detail {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    font-size: 0.95rem;
    color: var(--medium-text);
}

.blog-post-meta-detail span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-post-meta-detail i {
    color: var(--light-blue);
    font-size: 0.9rem;
}

.blog-post-content-detail {
    padding: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--dark-text);
}

.blog-post-content-detail p {
    margin-bottom: 1.5rem;
}

.blog-post-content-detail h2,
.blog-post-content-detail h3,
.blog-post-content-detail h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--dark-blue);
    font-weight: 700;
}

.blog-post-content-detail h2 {
    font-size: 1.75rem;
}

.blog-post-content-detail h3 {
    font-size: 1.5rem;
}

.blog-post-content-detail h4 {
    font-size: 1.25rem;
}

.blog-post-content-detail ul,
.blog-post-content-detail ol {
    margin: 1.5rem 0;
    padding-right: 2rem;
}

.blog-post-content-detail li {
    margin-bottom: 0.75rem;
}

.blog-post-content-detail img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.blog-post-content-detail blockquote {
    border-right: 4px solid var(--yellow-accent);
    padding-right: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--medium-text);
}

.blog-post-tags {
    padding: 2rem 2.5rem;
    border-top: 2px solid var(--border-color);
    border-bottom: 2px solid var(--border-color);
}

.blog-post-tags h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tags-list .tag {
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--dark-text);
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.tags-list .tag:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

.blog-post-share {
    padding: 2rem 2.5rem;
    background: var(--light-gray);
}

.blog-post-share h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: var(--primary-white);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
}

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

.share-btn.twitter {
    background: #1DA1F2;
}

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

.share-btn.copy-link {
    background: var(--dark-blue);
    width: auto;
    padding: 0 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Related Posts */
.related-posts {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 3px solid var(--border-color);
}

.related-posts-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-text);
    margin-bottom: 2rem;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.related-post-item {
    background: var(--primary-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.related-post-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-post-image {
    height: 200px;
    overflow: hidden;
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.related-post-item:hover .related-post-image img {
    transform: scale(1.1);
}

.related-post-content {
    padding: 1.5rem;
}

.related-post-date {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-text);
    margin-bottom: 0.75rem;
}

.related-post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.related-post-content h3 a {
    color: var(--dark-text);
    text-decoration: none;
    transition: color 0.3s;
}

.related-post-content h3 a:hover {
    color: var(--dark-blue);
}

.related-post-content p {
    font-size: 0.95rem;
    color: var(--medium-text);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.related-post-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-blue);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.related-post-read-more:hover {
    color: var(--light-blue);
    transform: translateX(-5px);
}

.related-post-read-more i {
    transition: transform 0.3s;
}

.related-post-read-more:hover i {
    transform: translateX(-3px);
}

/* Responsive Blog Detail */
@media (max-width: 968px) {
    .blog-post-image-detail {
        height: 400px;
    }

    .blog-post-title-detail {
        font-size: 2rem;
    }

    .blog-post-header-detail,
    .blog-post-content-detail,
    .blog-post-tags,
    .blog-post-share {
        padding: 2rem;
    }

    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .blog-post-image-detail {
        height: 300px;
    }

    .blog-post-title-detail {
        font-size: 1.75rem;
    }

    .blog-post-meta-detail {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .blog-post-content-detail {
        font-size: 1rem;
        padding: 1.5rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
    }

    .share-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .blog-post-image-detail {
        height: 250px;
    }

    .blog-post-title-detail {
        font-size: 1.5rem;
    }

    .blog-post-header-detail,
    .blog-post-content-detail,
    .blog-post-tags,
    .blog-post-share {
        padding: 1.5rem;
    }

    .blog-post-meta-detail {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .hero {
        padding: 48px 10px 28px;
        min-height: 320px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-text {
        margin-bottom: 1.25rem;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        padding: 0 4px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.4;
        padding: 0 4px;
    }

    .hero-search-form {
        padding: 1rem;
        border-radius: 12px;
        margin: 0 auto;
    }

    .booking-search-form {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }

    .search-form-group label {
        font-size: 0.8rem;
        margin-bottom: 0.35rem;
    }

    .search-form-group input[type="date"],
    .search-form-group input[type="text"],
    .search-form-group select {
        padding: 0.75rem 0.75rem 0.75rem 2.25rem;
        font-size: 0.9rem;
        border-radius: 8px;
        min-height: 46px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    body[dir="rtl"] .search-form-group input[type="date"],
    body[dir="rtl"] .search-form-group input[type="text"],
    body[dir="rtl"] .search-form-group select {
        padding: 0.75rem 2.25rem 0.75rem 0.75rem;
    }

    .search-form-group input[type="date"]::-webkit-calendar-picker-indicator {
        opacity: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        cursor: pointer;
        right: 0;
        left: 0;
    }

    .search-form-group select {
        background-image: none;
    }

    .search-form-group i {
        right: 0.65rem;
        bottom: 0.75rem;
        font-size: 0.9rem;
        pointer-events: none;
        z-index: 1;
    }

    body[dir="ltr"] .search-form-group i {
        left: 0.65rem;
        right: auto;
    }

    .search-submit-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
        margin-top: 0.25rem;
        min-height: 46px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        white-space: nowrap;
    }

    .search-submit-btn i {
        font-size: 0.95rem;
    }

    .search-submit-btn span {
        font-weight: 600;
    }

    /* Improve touch targets on very small screens */
    .search-form-group input[type="date"]:active,
    .search-form-group input[type="text"]:active,
    .search-form-group select:active,
    .search-submit-btn:active {
        transform: scale(0.98);
    }
}

/* Services Page Styles */
.services-page-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.service-page-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
    padding: 2rem;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.service-page-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-page-item.reverse {
    direction: ltr;
}

.service-page-item.reverse .service-page-content {
    direction: rtl;
}

.service-page-image {
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid var(--yellow-accent);
}

.service-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.service-page-item:hover .service-page-image img {
    transform: scale(1.1);
}

.service-page-content {
    padding: 1rem;
}

.service-page-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--yellow-accent) 0%, #ffd700 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(254, 187, 2, 0.3);
    border: 2px solid var(--yellow-accent);
}

.service-page-icon i {
    font-size: 2.5rem;
    color: var(--black-text);
}

.service-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.service-page-description {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--medium-text);
    margin-bottom: 2rem;
}

.service-page-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-page-features li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--dark-text);
}

.service-page-features li i {
    color: var(--yellow-accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Responsive Services Page */
@media (max-width: 968px) {
    .service-page-item {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-page-item.reverse {
        direction: rtl;
    }

    .service-page-image {
        height: 300px;
    }

    .service-page-title {
        font-size: 1.75rem;
    }
}

/* Offers Page Styles */
.offers-page-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

.offer-apartment-card {
    background: var(--primary-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
    position: relative;
}

.offer-apartment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--dark-blue);
}

.offer-apartment-image {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.offer-apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.offer-apartment-card:hover .offer-apartment-image img {
    transform: scale(1.1);
}

.offer-badge-large {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--yellow-accent) 0%, #ff6b35 100%);
    color: var(--black-text);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(254, 187, 2, 0.4);
    z-index: 2;
    border: 2px solid var(--yellow-accent);
}

.offer-badge-large.hot {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: var(--primary-white);
}

.offer-badge-large.special {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    color: var(--primary-white);
}

.offer-validity-badge {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--primary-white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid var(--yellow-accent);
}

.offer-validity-badge i {
    color: var(--yellow-accent);
}

.offer-apartment-info {
    padding: 2rem;
}

.offer-apartment-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.offer-apartment-desc {
    color: var(--medium-text);
    margin-bottom: 1.25rem;
    line-height: 1.6;
}

.offer-apartment-features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.offer-apartment-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.offer-apartment-features i {
    color: var(--light-blue);
}

.offer-apartment-amenities {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.offer-apartment-amenities span {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.offer-apartment-amenities span:hover {
    background: var(--yellow-accent);
    transform: translateY(-3px);
}

.offer-apartment-amenities i {
    color: var(--dark-blue);
    font-size: 1rem;
}

.offer-price-section {
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 2px solid var(--yellow-accent);
}

.original-price {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--medium-text);
}

.original-price del {
    color: var(--medium-text);
    margin-right: 0.5rem;
}

.discounted-price {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.discounted-price strong {
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
}

.savings-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--yellow-accent);
    color: var(--black-text);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid var(--yellow-accent);
}

.savings-badge i {
    color: var(--dark-blue);
}

.btn-offer-book {
    width: 100%;
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border: 2px solid var(--dark-blue);
}

.btn-offer-book:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
    border-color: var(--light-blue);
}

/* Responsive Offers Page */
@media (max-width: 768px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }

    .offer-apartment-image {
        height: 250px;
    }

    .offer-badge-large {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* Checkout Page Styles */
.checkout-section {
    padding: 60px 0;
    background: var(--primary-white);
}

.checkout-wrapper {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

.checkout-form-section {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.checkout-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--yellow-accent);
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
    background: var(--primary-white);
    color: var(--dark-text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
    border-color: var(--dark-blue);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Payment Methods */
.payment-methods-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method-option {
    position: relative;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-white);
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.payment-label:hover {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    transform: translateX(-3px);
    border-color: #667eea;
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.payment-method-option input[type="radio"]:checked + .payment-label {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    transform: translateX(-3px);
}

.payment-method-option input[type="radio"]:checked + .payment-label .payment-name,
.payment-method-option input[type="radio"]:checked + .payment-label .payment-desc {
    color: var(--primary-white);
}

.payment-method-option input[type="radio"]:checked + .payment-label .payment-arrow {
    color: var(--primary-white);
    transform: translateX(-5px);
}

.payment-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e0e7ff;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.payment-method-option input[type="radio"]:checked + .payment-label .payment-icon {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.payment-icon i {
    font-size: 2rem;
    color: #667eea;
    transition: all 0.3s ease;
}

.payment-method-option input[type="radio"]:checked + .payment-label .payment-icon i {
    color: var(--primary-white);
    transform: scale(1.1);
}

.payment-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.payment-header-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-name {
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.payment-desc {
    font-size: 0.9rem;
    color: var(--medium-text);
    line-height: 1.5;
    transition: all 0.3s ease;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(102, 126, 234, 0.2);
}

.payment-arrow {
    color: #9ca3af;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-right: auto;
}

.payment-method-info {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    display: none;
}

.payment-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    border: 2px solid #3b82f6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.payment-info-card i {
    font-size: 1.5rem;
    color: #3b82f6;
    margin-top: 2px;
    flex-shrink: 0;
}

.payment-info-card strong {
    color: #1e40af;
    font-size: 1rem;
    display: block;
    margin-bottom: 8px;
}

.payment-info-card p {
    margin: 0;
    color: #1e3a8a;
    font-size: 0.95rem;
    line-height: 1.6;
}

.payment-label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--light-gray);
}

.payment-label.disabled:hover {
    background: var(--light-gray);
    transform: none;
}

.payment-method-option input[type="radio"]:disabled + .payment-label {
    opacity: 0.5;
    cursor: not-allowed;
    background: var(--light-gray);
}

/* Payment Account Details */
.payment-account-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-radius: 15px;
    border: 2px solid var(--dark-blue);
}

.account-details-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-details-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--dark-blue);
    border-radius: 2px;
}

.account-details-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--primary-white);
    border-radius: 10px;
    border: 1px solid rgba(0, 53, 128, 0.1);
}

.account-detail-item i {
    font-size: 1.5rem;
    color: var(--dark-blue);
    width: 40px;
    text-align: center;
}

.account-detail-item div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.account-label {
    font-size: 0.85rem;
    color: var(--medium-text);
    font-weight: 600;
}

.account-value {
    font-size: 1.1rem;
    color: var(--dark-text);
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.payment-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(254, 187, 2, 0.1);
    border-radius: 10px;
    border-right: 4px solid var(--yellow-accent);
}

.payment-note i {
    color: var(--yellow-accent);
    font-size: 1.25rem;
}

.payment-note span {
    color: var(--dark-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.account-details-subtitle {
    color: var(--medium-text);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 53, 128, 0.1);
}

.accounts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.account-item {
    background: var(--primary-white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid rgba(0, 53, 128, 0.1);
    transition: all 0.3s;
}

.account-item:hover {
    border-color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.1);
    transform: translateY(-2px);
}

.account-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-gray);
}

.account-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.account-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--yellow-accent);
    border-radius: 50%;
}

.account-number-copy {
    position: relative;
    transition: all 0.3s;
}

.account-number-copy:hover {
    color: var(--dark-blue);
    text-decoration: underline;
}

.account-number-copy::after {
    content: '📋';
    margin-right: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.6;
}

.account-number-copy:hover::after {
    opacity: 1;
}

.form-actions {
    margin-top: 1rem;
}

.btn-submit-checkout {
    width: 100%;
    padding: 1.25rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--dark-blue);
}

.btn-submit-checkout:hover {
    background: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
    border-color: var(--light-blue);
}

/* شريط ثابت أسفل صفحة الدفع على الموبايل */
.checkout-sticky-bottom {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 12px 16px;
    padding-bottom: max(12px, env(safe-area-inset-bottom));
    background: var(--primary-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
    border-top: 1px solid var(--border-color);
}

.checkout-sticky-bottom.is-visible {
    display: block;
}

.checkout-sticky-bottom-inner {
    max-width: 480px;
    margin: 0 auto;
}

.checkout-sticky-btn {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.2s;
}

.checkout-sticky-btn:active {
    transform: scale(0.98);
}

.checkout-sticky-btn:hover {
    background: #002a5c;
}

@media (min-width: 769px) {
    .checkout-sticky-bottom {
        display: none !important;
    }
}

@media (max-width: 768px) {
    body.checkout-sticky-visible .checkout-section {
        padding-bottom: 100px;
    }
}

/* Checkout Summary */
.checkout-summary-section {
    position: sticky;
    top: 100px;
}

.checkout-summary-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.summary-apartment {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--yellow-accent);
}

.summary-apartment-image {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--yellow-accent);
    flex-shrink: 0;
}

.summary-apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.summary-apartment-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
}

.summary-apartment-specs {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--medium-text);
}

.summary-apartment-specs i {
    color: var(--light-blue);
    margin-left: 0.5rem;
}

.summary-dates {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--yellow-accent);
}

.summary-date-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.summary-date-item i {
    width: 40px;
    height: 40px;
    background: var(--light-gray);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-blue);
    border: 2px solid var(--yellow-accent);
}

.summary-label {
    display: block;
    font-size: 0.85rem;
    color: var(--medium-text);
    margin-bottom: 0.25rem;
}

.summary-value {
    display: block;
    font-weight: 700;
    color: var(--dark-text);
    font-size: 1rem;
}

/* Coupon Section */
.summary-coupon-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--yellow-accent);
}

.summary-coupon-section label {
    display: block;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 0.75rem;
}

.coupon-input-wrapper {
    display: flex;
    gap: 0.5rem;
}

.coupon-input-wrapper input {
    flex: 1;
    padding: 0.875rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    font-size: 1rem;
}

.coupon-input-wrapper input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.1);
}

.btn-apply-coupon {
    padding: 0.875rem 1.5rem;
    background: var(--yellow-accent);
    color: var(--black-text);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    border: 2px solid var(--yellow-accent);
}

.btn-apply-coupon:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    border-color: var(--dark-blue);
}

.coupon-message {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
}

.coupon-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.coupon-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Price Breakdown */
.summary-prices {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    color: var(--dark-text);
}

.summary-price-item.discount {
    color: #28a745;
    font-weight: 600;
}

.summary-price-item.total {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    padding-top: 1rem;
    border-top: 2px solid var(--yellow-accent);
}

.summary-services {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--yellow-accent);
}

.summary-services h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

/* Responsive Checkout */
@media (max-width: 968px) {
    .checkout-wrapper {
        grid-template-columns: 1fr;
    }

    .checkout-summary-section {
        position: static;
    }
}

/* Thank You Page Styles */
.thankyou-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Invoice Page Styles */
.thankyou-section.invoice-page {
    padding: 40px 0;
    background: #f5f5f5;
}

.invoice-wrapper {
    max-width: 900px;
    margin: 0 auto;
    background: var(--primary-white);
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transform: scale(0.95);
    transform-origin: top center;
    direction: rtl;
    text-align: right;
}

.invoice-header {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--primary-white);
    direction: rtl;
}

.invoice-header-left h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 0 0 0.5rem 0;
    color: var(--primary-white);
}

.invoice-header-left p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

.success-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--yellow-accent);
    color: var(--black-text);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
}

.success-badge i {
    font-size: 1.5rem;
}

.invoice-title-section {
    padding: 1.25rem 2rem;
    background: var(--light-gray);
    border-bottom: 3px solid var(--yellow-accent);
    direction: rtl;
    text-align: right;
}

.invoice-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0 0 0.5rem 0;
    text-align: right;
}

.invoice-number {
    font-size: 1.1rem;
    color: var(--medium-text);
    margin: 0;
}

.invoice-number strong {
    color: var(--dark-blue);
    font-size: 1.2rem;
}

.invoice-content {
    padding: 1.5rem 2rem;
}

.invoice-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    direction: rtl;
}

.invoice-column {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--yellow-accent);
    direction: rtl;
    text-align: right;
}

.invoice-section-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--yellow-accent);
}

.invoice-detail-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.invoice-detail-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.9rem;
    direction: rtl;
    flex-direction: row-reverse;
}

.invoice-detail-item:last-child {
    border-bottom: none;
}

.invoice-label {
    font-weight: 600;
    color: var(--medium-text);
    min-width: 140px;
    text-align: right;
}

.invoice-value {
    font-weight: 700;
    color: var(--dark-text);
    text-align: right;
    flex: 1;
    direction: rtl;
}

.payment-status {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
}

.payment-status-paid {
    background: #d4edda;
    color: #155724;
}

.payment-status-pending {
    background: #fff3cd;
    color: #856404;
}

.payment-status-failed {
    background: #f8d7da;
    color: #721c24;
}

.payment-status-refunded {
    background: #d1ecf1;
    color: #0c5460;
}

.invoice-pricing-section {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--yellow-accent);
    margin-bottom: 1.25rem;
    direction: rtl;
    text-align: right;
}

.invoice-pricing-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    direction: rtl;
    flex-direction: row-reverse;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-label {
    color: var(--dark-text);
    font-weight: 500;
    text-align: right;
}

.pricing-value {
    font-weight: 700;
    color: var(--dark-text);
    text-align: left;
}

.pricing-row.discount-row {
    color: var(--dark-blue);
}

.pricing-row.discount-row .pricing-value {
    color: #dc3545;
}

.pricing-row.pricing-total {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 3px solid var(--yellow-accent);
    font-size: 1.3rem;
}

.pricing-row.pricing-total .pricing-label,
.pricing-row.pricing-total .pricing-value {
    font-size: 1.5rem;
    color: var(--dark-blue);
    font-weight: 800;
}

.invoice-notes-section,
.invoice-info-section {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 12px;
    border: 2px solid var(--yellow-accent);
    margin-bottom: 1.25rem;
}

.invoice-notes {
    color: var(--dark-text);
    line-height: 1.8;
    margin: 0;
}

.invoice-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.invoice-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem;
    background: var(--primary-white);
    border-radius: 10px;
    direction: rtl;
    flex-direction: row-reverse;
}

.invoice-info-list li i {
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.invoice-info-list li span {
    color: var(--dark-text);
    line-height: 1.6;
}

.invoice-footer {
    padding: 1.25rem 2rem;
    background: var(--light-gray);
    border-top: 3px solid var(--yellow-accent);
}

.invoice-footer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.invoice-footer-text {
    text-align: center;
    color: var(--medium-text);
    margin: 0;
    font-size: 0.9rem;
}

.thankyou-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.thankyou-icon {
    margin-bottom: 2rem;
}

.success-circle {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--yellow-accent) 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 30px rgba(254, 187, 2, 0.4);
    border: 4px solid var(--dark-blue);
    animation: scaleIn 0.6s ease-out;
}

.success-circle i {
    font-size: 3.5rem;
    color: var(--dark-blue);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.thankyou-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.thankyou-subtitle {
    font-size: 1.5rem;
    color: var(--light-blue);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.thankyou-message {
    font-size: 1.2rem;
    color: var(--medium-text);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Booking Details Card */
.thankyou-booking-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--yellow-accent);
}

.booking-card-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--yellow-accent);
    text-align: right;
}

.booking-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.booking-detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 15px;
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.booking-detail-item:hover {
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(254, 187, 2, 0.2);
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: var(--yellow-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 2px solid var(--yellow-accent);
}

.detail-icon i {
    font-size: 1.5rem;
    color: var(--black-text);
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    text-align: right;
    flex: 1;
}

.detail-label {
    font-size: 0.9rem;
    color: var(--medium-text);
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
}

.booking-total-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--yellow-accent);
}

.total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-blue);
}

/* Info Box */
.thankyou-info-box {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
    text-align: right;
}

.info-box-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--yellow-accent);
}

.info-box-header i {
    font-size: 1.5rem;
    color: var(--light-blue);
}

.info-box-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
}

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.info-list li:hover {
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    border-color: var(--yellow-accent);
}

.info-list li i {
    color: var(--dark-blue);
    font-size: 1.25rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.info-list li span {
    color: var(--dark-text);
    line-height: 1.6;
}

/* Action Buttons */
.thankyou-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-thankyou {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 2px solid;
    cursor: pointer;
}

.btn-thankyou.btn-primary {
    background: var(--dark-blue);
    color: var(--primary-white);
    border-color: var(--dark-blue);
}

.btn-thankyou.btn-primary:hover {
    background: var(--light-blue);
    border-color: var(--light-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 53, 128, 0.4);
}

.btn-thankyou.btn-secondary {
    background: var(--yellow-accent);
    color: var(--black-text);
    border-color: var(--yellow-accent);
}

.btn-thankyou.btn-secondary:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    border-color: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254, 187, 2, 0.4);
}

.btn-thankyou.btn-outline {
    background: transparent;
    color: var(--dark-blue);
    border-color: var(--dark-blue);
}

.btn-thankyou.btn-outline:hover {
    background: var(--dark-blue);
    color: var(--primary-white);
    transform: translateY(-3px);
}

/* Download Link */
.thankyou-download {
    text-align: center;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--primary-white);
    color: var(--dark-blue);
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.download-link:hover {
    background: var(--yellow-accent);
    color: var(--black-text);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(254, 187, 2, 0.3);
}

.download-link i {
    font-size: 1.25rem;
}

/* Responsive Thank You */
@media (max-width: 768px) {
    .thankyou-title {
        font-size: 2rem;
    }

    .thankyou-subtitle {
        font-size: 1.25rem;
    }

    .thankyou-message {
        font-size: 1rem;
    }

    .thankyou-booking-card {
        padding: 1.5rem;
    }

    .booking-details-grid {
        grid-template-columns: 1fr;
    }

    .thankyou-actions {
        flex-direction: column;
    }

    .btn-thankyou {
        width: 100%;
    }

    .success-circle {
        width: 100px;
        height: 100px;
    }

    .success-circle i {
        font-size: 2.5rem;
    }

    /* Invoice Responsive */
    .invoice-header {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .invoice-header-left h1 {
        font-size: 2rem;
    }

    .invoice-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .invoice-content {
        padding: 1.5rem;
    }

    .invoice-title-section {
        padding: 1.5rem;
    }

    .invoice-footer {
        padding: 1.5rem;
    }

    .invoice-footer-actions {
        flex-direction: column;
    }

    .invoice-footer-actions .btn-thankyou {
        width: 100%;
    }

    .pricing-row.pricing-total .pricing-label,
    .pricing-row.pricing-total .pricing-value {
        font-size: 1.2rem;
    }
}

/* Print Styles for Invoice */
@media print {
    body {
        background: white;
        padding: 0;
        margin: 0;
    }

    .thankyou-section.invoice-page {
        padding: 0;
        background: white;
        min-height: auto;
    }

    .invoice-wrapper {
        max-width: 100%;
        box-shadow: none;
        border-radius: 0;
        page-break-inside: avoid;
    }

    .invoice-header {
        padding: 1.5rem;
        page-break-inside: avoid;
    }

    .invoice-header-left h1 {
        font-size: 1.8rem;
    }

    .invoice-title-section {
        padding: 1rem 1.5rem;
        page-break-inside: avoid;
    }

    .invoice-title {
        font-size: 1.5rem;
    }

    .invoice-content {
        padding: 1.5rem;
    }

    .invoice-row {
        margin-bottom: 1.5rem;
        page-break-inside: avoid;
    }

    .invoice-column {
        padding: 1rem;
    }

    .invoice-section-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.75rem;
    }

    .invoice-detail-item {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .invoice-pricing-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
        page-break-inside: avoid;
    }

    .pricing-row {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }

    .pricing-row.pricing-total {
        margin-top: 0.75rem;
        padding-top: 1rem;
        font-size: 1.1rem;
    }

    .pricing-row.pricing-total .pricing-label,
    .pricing-row.pricing-total .pricing-value {
        font-size: 1.2rem;
    }

    .invoice-notes-section,
    .invoice-info-section {
        padding: 1rem;
        margin-bottom: 1.5rem;
        page-break-inside: avoid;
    }

    .invoice-info-list li {
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    .invoice-footer {
        padding: 1rem 1.5rem;
        page-break-inside: avoid;
        page-break-after: avoid;
    }

    .invoice-footer-actions {
        display: none;
    }

    .invoice-footer-text {
        font-size: 0.8rem;
    }

    /* Hide elements not needed in print */
    header,
    footer,
    .fixed-floating-buttons,
    .reviews-fixed-btn,
    .sidebar-menu {
        display: none !important;
    }

    /* Ensure no page breaks in middle of sections */
    .invoice-column,
    .invoice-pricing-table,
    .invoice-detail-list {
        page-break-inside: avoid;
    }

    /* Optimize spacing for print */
    .invoice-row {
        gap: 1rem;
    }

    .invoice-detail-list {
        gap: 0.5rem;
    }

    .invoice-info-list {
        gap: 0.5rem;
    }

    .invoice-pricing-table {
        gap: 0.5rem;
    }

    /* Reduce font sizes if needed */
    .invoice-label,
    .invoice-value {
        font-size: 0.85rem;
    }

    .invoice-value {
        font-weight: 600;
    }

    .pricing-label,
    .pricing-value {
        font-size: 0.85rem;
    }

    /* Force single page */
    @page {
        size: A4;
        margin: 0.8cm;
    }

    html, body {
        height: auto;
    }

    .invoice-wrapper {
        transform: scale(1);
    }
}

/* PDF Generation Styles */
.invoice-wrapper {
    position: relative;
}

/* Thank You Page - فاتورة احترافية (عرض + PDF) - خط عربي لالتصاق الحروف في PDF */
.thankyou-invoice-pdf-container {
    position: relative;
    max-width: 210mm;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    overflow: hidden;
    padding: 0;
    font-family: 'Noto Naskh Arabic', 'Traditional Arabic', 'Simplified Arabic', 'Segoe UI', Tahoma, Arial, sans-serif;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    direction: rtl;
    unicode-bidi: embed;
}

.thankyou-invoice-watermarks {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-invoice-wm {
    position: relative;
    width: 55%;
    max-width: 320px;
    height: auto;
    opacity: 0.28;
    transform: rotate(-15deg);
}

.thankyou-invoice-wm img {
    width: 100%;
    height: auto;
    display: block;
}

.thankyou-invoice-body-wrap {
    position: relative;
    z-index: 1;
    padding: 20px 24px 24px;
}

.thankyou-invoice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px 20px;
    background: linear-gradient(135deg, #0071C2 0%, #003580 100%);
    color: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.thankyou-invoice-header-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.thankyou-invoice-logo {
    width: 56px;
    height: 56px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 6px;
}

.thankyou-invoice-company {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.thankyou-invoice-tagline {
    font-size: 0.95rem;
    opacity: 0.95;
    margin: 0;
}

.thankyou-invoice-header-right .success-badge {
    background: rgba(255,255,255,0.25);
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.thankyou-invoice-title-section {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8e8e8;
}

.thankyou-invoice-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #003580;
    margin: 0 0 8px 0;
}

.thankyou-invoice-number {
    font-size: 1.05rem;
    color: #555;
    margin: 0 0 4px 0;
}

.thankyou-invoice-date {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.thankyou-invoice-tables-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.thankyou-invoice-box {
    background: #f8f9fa;
    padding: 14px 16px;
    border-radius: 8px;
    border-right: 4px solid #003580;
}

.thankyou-invoice-box-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #003580;
    margin: 0 0 12px 0;
}

.thankyou-invoice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.thankyou-invoice-table.info-table td {
    padding: 6px 0;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.thankyou-invoice-table .th-label {
    color: #555;
    font-weight: 600;
    width: 42%;
}

.thankyou-invoice-table .th-value {
    color: #222;
    font-weight: 500;
}

.thankyou-invoice-table.price-table {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.thankyou-invoice-table.price-table th,
.thankyou-invoice-table.price-table td {
    padding: 10px 14px;
    text-align: right;
    border-bottom: 1px solid #eee;
}

.thankyou-invoice-table.price-table thead th {
    background: #003580;
    color: #fff;
    font-weight: 700;
}

.thankyou-invoice-table.price-table tfoot .total-row td {
    background: #f0f4f8;
    font-weight: 700;
    font-size: 1.05rem;
    border-bottom: none;
}

.thankyou-invoice-pricing-section {
    margin-bottom: 20px;
}

.thankyou-invoice-notes {
    background: #f8f9fa;
    padding: 14px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
}

.thankyou-invoice-notes-text {
    margin: 0;
    color: #333;
    line-height: 1.7;
    white-space: pre-wrap;
}

.thankyou-invoice-footer-text {
    text-align: center;
    font-size: 0.85rem;
    color: #777;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #eee;
}

@media (max-width: 768px) {
    .thankyou-invoice-tables-row {
        grid-template-columns: 1fr;
    }
}

/* Reviews Fixed Button */
.reviews-fixed-btn {
    position: fixed;
    bottom: 30px;
    left: 30px;
    right: auto;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--yellow-accent) 0%, #ffd700 100%);
    border: 3px solid var(--dark-blue);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(254, 187, 2, 0.6), 0 0 0 0 rgba(254, 187, 2, 0.4);
    z-index: 999;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    color: var(--black-text);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 8px 30px rgba(254, 187, 2, 0.6), 0 0 0 0 rgba(254, 187, 2, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(254, 187, 2, 0.6), 0 0 0 10px rgba(254, 187, 2, 0);
    }
    100% {
        box-shadow: 0 8px 30px rgba(254, 187, 2, 0.6), 0 0 0 0 rgba(254, 187, 2, 0);
    }
}

.reviews-fixed-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 40px rgba(254, 187, 2, 0.8), 0 0 0 8px rgba(254, 187, 2, 0.2);
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
    color: var(--primary-white);
    border-color: var(--yellow-accent);
    animation: none;
}

.reviews-fixed-btn:active {
    transform: scale(1.05) translateY(-2px);
}

.reviews-fixed-btn::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--yellow-accent) 0%, #ffd700 100%);
    opacity: 0.3;
    z-index: -1;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.reviews-fixed-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.15rem;
    transition: transform 0.3s;
}

.reviews-fixed-btn:hover i {
    transform: rotate(15deg) scale(1.1);
}

.reviews-count {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    line-height: 1;
}

/* Sidebar Menu - General Styles */
.sidebar-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 320px;
    height: 100vh;
    z-index: 10000;
    transition: right 0.3s ease;
    pointer-events: none;
}

html[dir="rtl"] .sidebar-menu {
    right: auto;
    left: -100%;
    transition: left 0.3s ease;
}

.sidebar-menu.active {
    right: 0;
    pointer-events: auto;
}

html[dir="rtl"] .sidebar-menu.active {
    right: auto;
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.sidebar-menu.active .sidebar-overlay {
    opacity: 1;
    pointer-events: auto;
}

.sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: var(--primary-white);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

html[dir="rtl"] .sidebar-content {
    right: auto;
    left: 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 1.5rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar-close {
    background: transparent;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.sidebar-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    flex: 1;
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sidebar-nav li {
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.sidebar-nav a:hover {
    background: var(--light-gray);
    color: var(--dark-blue);
    padding-right: 2rem;
}

html[dir="ltr"] .sidebar-nav a:hover {
    padding-right: 1.5rem;
    padding-left: 2rem;
}

.sidebar-nav a.active {
    background: rgba(0, 71, 129, 0.1);
    color: var(--dark-blue);
    border-right: 4px solid var(--dark-blue);
    font-weight: 600;
}

html[dir="ltr"] .sidebar-nav a.active {
    border-right: none;
    border-left: 4px solid var(--dark-blue);
}

.sidebar-nav a i {
    margin-left: 1rem;
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
}

html[dir="ltr"] .sidebar-nav a i {
    margin-left: 0;
    margin-right: 1rem;
}

.sidebar-nav a span {
    flex: 1;
}

/* Fixed Floating Buttons */
.fixed-floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    border: 3px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3), 0 0 0 0 rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: visible;
}

.floating-btn:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4), 0 0 0 8px rgba(0, 0, 0, 0.1);
}

.floating-btn:active {
    transform: scale(1.05) translateY(-2px);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6), 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #075E54 100%);
    animation: none;
}

.chatbot-btn {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--light-blue) 100%);
}

.chatbot-btn:hover {
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--dark-blue) 100%);
}

.menu-toggle-btn {
    background: linear-gradient(135deg, var(--dark-blue) 0%, var(--primary-blue) 100%);
}

.menu-toggle-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
}

.btn-tooltip {
    position: absolute;
    right: 95px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--dark-text);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-right-color: var(--dark-text);
}

.floating-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 100px;
}

@media (max-width: 768px) {
    .fixed-floating-buttons {
        bottom: 10px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
        border-width: 2px;
    }
    
    .btn-tooltip {
        display: none;
    }
    
    .whatsapp-btn {
        animation: none;
    }
}

/* Reviews Modal */
.reviews-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    overflow-y: auto;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.reviews-modal-content {
    background: var(--primary-white);
    margin: 3% auto;
    max-width: 900px;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    border: 2px solid var(--yellow-accent);
    animation: slideUp 0.4s;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.reviews-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--yellow-accent);
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    border-radius: 20px 20px 0 0;
}

.reviews-modal-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.reviews-modal-close {
    width: 40px;
    height: 40px;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border: 2px solid var(--dark-blue);
}

.reviews-modal-close:hover {
    background: var(--light-blue);
    transform: rotate(90deg);
    border-color: var(--light-blue);
}

.reviews-modal-body {
    padding: 2rem;
    overflow-y: auto;
}

/* Overall Rating */
.reviews-overall {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 15px;
    border: 2px solid var(--yellow-accent);
}

.overall-rating {
    text-align: center;
}

.rating-number {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.rating-stars {
    font-size: 1.5rem;
    color: var(--yellow-accent);
    margin-bottom: 0.5rem;
}

.rating-count {
    color: var(--medium-text);
    font-size: 0.95rem;
}

.rating-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breakdown-label {
    width: 40px;
    font-weight: 600;
    color: var(--dark-text);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.breakdown-label i {
    color: var(--yellow-accent);
    font-size: 0.85rem;
}

.breakdown-bar {
    flex: 1;
    height: 10px;
    background: var(--primary-white);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--yellow-accent);
}

.breakdown-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--yellow-accent) 0%, #ffd700 100%);
    border-radius: 10px;
    transition: width 0.5s;
}

.breakdown-percent {
    width: 40px;
    text-align: left;
    font-size: 0.9rem;
    color: var(--medium-text);
    font-weight: 600;
}

/* Reviews List */
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    background: var(--primary-white);
    border-radius: 15px;
    padding: 1.5rem;
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.review-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(254, 187, 2, 0.2);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--yellow-accent) 0%, #ffd700 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--dark-blue);
}

.reviewer-avatar i {
    font-size: 1.5rem;
    color: var(--dark-blue);
}

.reviewer-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
}

.review-date {
    font-size: 0.85rem;
    color: var(--medium-text);
}

.review-rating {
    color: var(--yellow-accent);
    font-size: 1rem;
}

.review-text {
    color: var(--dark-text);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.review-apartment {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--medium-text);
    border: 2px solid var(--yellow-accent);
}

.review-apartment i {
    color: var(--dark-blue);
}

/* Responsive Reviews */
@media (max-width: 968px) {
    .reviews-modal-content {
        margin: 5% auto;
        max-width: 95%;
    }

    .reviews-overall {
        grid-template-columns: 1fr;
    }

    .reviews-fixed-btn {
        width: 55px;
        height: 55px;
        bottom: 100px;
        left: 20px;
        right: auto;
    }

    .reviews-fixed-btn i {
        font-size: 1.25rem;
    }

    .reviews-count {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .reviews-modal-header {
        padding: 1.5rem;
    }

    .reviews-modal-header h2 {
        font-size: 1.5rem;
    }

    .reviews-modal-body {
        padding: 1.5rem;
    }

    .rating-number {
        font-size: 3rem;
    }

    .review-header {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Add Review Form */
.add-review-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--yellow-accent);
}

.add-review-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 1.5rem;
}

.add-review-form {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--yellow-accent);
}

.add-review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.add-review-form .form-group {
    margin-bottom: 1rem;
}

.add-review-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
}

.add-review-form input[type="text"],
.add-review-form input[type="email"],
.add-review-form select,
.add-review-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.add-review-form input:focus,
.add-review-form select:focus,
.add-review-form textarea:focus {
    outline: none;
    border-color: var(--dark-blue);
    box-shadow: 0 0 0 3px rgba(0, 53, 128, 0.1);
}

.rating-input {
    margin-top: 0.5rem;
}

.star-rating {
    display: flex;
    gap: 0.5rem;
    direction: rtl;
    justify-content: flex-start;
}

.star-rating i {
    font-size: 1.5rem;
    color: #ddd;
    cursor: pointer;
    transition: all 0.2s;
}

.star-rating i.fas {
    color: #ffc107;
}

.star-rating i:hover,
.star-rating i:hover ~ i {
    color: #ffc107;
}

.btn-submit-review {
    width: 100%;
    padding: 1rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
}

.btn-submit-review:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 53, 128, 0.3);
}

.review-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.review-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.review-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

.no-reviews {
    text-align: center;
    padding: 3rem;
    color: var(--medium-text);
}

@media (max-width: 768px) {
    .add-review-form .form-row {
        grid-template-columns: 1fr;
    }
}

.offer-validity {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.offer-validity i {
    color: var(--dark-blue);
}

.services-header {
    margin-bottom: 2rem;
}

.services-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-text);
}

.services-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0efff 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 113, 194, 0.2);
    color: var(--dark-text);
    font-weight: 500;
    margin-bottom: 0;
}

.services-note i {
    color: var(--light-blue);
    font-size: 1.2rem;
}

.services-booking-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-booking-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--yellow-accent);
    transition: all 0.3s;
}

.service-booking-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(0, 53, 128, 0.3);
}

.service-booking-card i {
    font-size: 3rem;
    color: var(--dark-blue);
    margin-bottom: 1rem;
}

.service-booking-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--dark-text);
}

.service-booking-card p {
    color: var(--medium-text);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark-blue);
}

/* Complete Booking Styles */
.complete-booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.booking-summary-section h3,
.booking-form-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--dark-text);
}

.summary-card {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.summary-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--medium-text);
}

.summary-item-row:last-child {
    border-bottom: none;
}

.summary-item-row strong {
    color: var(--dark-text);
    font-weight: 600;
}

.summary-divider {
    height: 2px;
    background: var(--border-color);
    margin: 1rem 0;
}

.total-row {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    margin-top: 1rem;
}

.total-row span {
    color: var(--dark-text);
}

.total-amount {
    color: var(--dark-blue);
    font-size: 1.5rem;
}

.discount-amount {
    color: #28a745;
}

.complete-booking-form {
    background: var(--primary-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--yellow-accent);
}

.complete-booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.complete-booking-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.complete-booking-form label {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 0.95rem;
}

.complete-booking-form input,
.complete-booking-form textarea,
.complete-booking-form select {
    padding: 0.875rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s;
}

.complete-booking-form input:focus,
.complete-booking-form textarea:focus,
.complete-booking-form select:focus {
    outline: none;
    border-color: var(--yellow-accent);
    border-radius: 12px;
    box-shadow: 0 0 0 3px rgba(254, 187, 2, 0.15);
}

.payment-title {
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.payment-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border: 2px solid var(--yellow-accent);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--light-gray);
}

.payment-method:hover {
    border-color: var(--yellow-accent);
    border-radius: 12px;
    background: #f0f7ff;
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.2);
}

.payment-method input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.payment-method input[type="radio"]:checked + i,
.payment-method:has(input[type="radio"]:checked) {
    border-color: var(--yellow-accent);
    border-radius: 12px;
    background: linear-gradient(135deg, #fffef0 0%, #fff9e0 100%);
    color: var(--dark-blue);
    box-shadow: 0 4px 12px rgba(254, 187, 2, 0.25);
}

.payment-method i {
    font-size: 1.5rem;
    color: var(--medium-text);
}

.payment-method:has(input[type="radio"]:checked) i {
    color: var(--dark-blue);
}

.card-payment-details {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
    border: 2px solid var(--yellow-accent);
}

.terms-checkbox {
    margin: 2rem 0 1.5rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.terms-checkbox label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
    color: var(--medium-text);
}

.terms-checkbox input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
}

.terms-checkbox a {
    color: var(--dark-blue);
    text-decoration: none;
    font-weight: 600;
}

.terms-checkbox a:hover {
    text-decoration: underline;
}

.btn-complete-booking {
    width: 100%;
    padding: 1.25rem;
    background: var(--dark-blue);
    color: var(--primary-white);
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 53, 128, 0.3);
}

.btn-complete-booking:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 53, 128, 0.4);
}

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

    .booking-layout {
        grid-template-columns: 1fr;
    }

    .apartment-list-item {
        grid-template-columns: 1fr;
    }

    .apt-list-image {
        width: 100%;
    }

    .coupon-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .coupon-input-group {
        min-width: 100%;
    }

    .complete-booking-wrapper {
        grid-template-columns: 1fr;
    }

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

    .payment-methods {
        flex-direction: column;
    }
}

/* Hide default Chatbase bubble button */
#chatbase-bubble-button {
    display: none !important;
}

/* Hide Chatbase widget button */
#chatbase-widget-button,
.chatbase-widget-button,
[class*="chatbase"]:not(.chatbot-btn) {
    display: none !important;
}

/* ===== Welcome Coupon Popup - Compact & Professional ===== */
.welcome-coupon-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.welcome-coupon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.welcome-coupon-content {
    position: relative;
    background: linear-gradient(145deg, #1e3a5f 0%, #0d2137 100%);
    border-radius: 16px;
    max-width: 360px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255,255,255,0.06);
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.welcome-coupon-content.show {
    transform: scale(1);
    opacity: 1;
    top: -50px;
}

.welcome-coupon-close {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, transform 0.2s;
    z-index: 10;
}

.welcome-coupon-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.welcome-coupon-header {
    text-align: center;
    padding: 24px 20px 16px;
    color: white;
}

.welcome-icon {
    font-size: 36px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.welcome-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.02em;
}

.welcome-subtitle {
    font-size: 12px;
    opacity: 0.85;
    margin: 0;
}

.welcome-coupon-body {
    background: #fff;
    padding: 16px 20px;
}

.coupon-code-display {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 16px;
    text-align: center;
    margin-bottom: 12px;
}

.coupon-code-label {
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coupon-code-value {
    font-size: 20px;
    font-weight: 700;
    color: #0d2137;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.btn-copy-coupon {
    background: #0d2137;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, transform 0.15s;
}

.btn-copy-coupon:hover {
    background: #1e3a5f;
    transform: translateY(-1px);
}

.coupon-details {
    text-align: center;
    margin-bottom: 10px;
}

.coupon-discount {
    font-size: 14px;
    font-weight: 700;
    color: #059669;
    margin-bottom: 4px;
}

.coupon-description {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

.welcome-message {
    text-align: center;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 12px 0;
}

.welcome-coupon-footer {
    background: #f8fafc;
    padding: 14px 20px;
    display: flex;
    gap: 8px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-welcome-book {
    background: linear-gradient(135deg, #1e3a5f 0%, #0d2137 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(13, 33, 55, 0.25);
}

.btn-welcome-book:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 33, 55, 0.3);
}

.btn-welcome-later {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-welcome-later:hover {
    border-color: #94a3b8;
    color: #475569;
}

@media (max-width: 480px) {
    .welcome-coupon-content {
        max-width: 100%;
        border-radius: 14px;
    }
    
    .welcome-title {
        font-size: 16px;
    }
    
    .coupon-code-value {
        font-size: 18px;
    }
    
    .welcome-coupon-footer {
        flex-direction: column;
    }
}