/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Wide container for large screens */
@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
        padding: 0 30px;
    }
}

/* Medium screens padding adjustment */
@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 1140px;
        padding: 0 25px;
    }
}

/* Tablet padding adjustment */
@media (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 720px;
        padding: 0 20px;
    }
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
}

.nav-brand i {
    margin-right: 0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2c5aa0;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
    background: white;
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
    background: white;
}

/* Contact section in nav menu */
.nav-contact {
    display: none; /* Hidden on desktop */
    margin-top: 0.2rem;
    padding-top: 0.2rem;
    width: 100%;
}

.nav-contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.3rem 1rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: -2px 0 0 0;
    line-height: 1.1;
    min-height: 40px;
}

.nav-contact-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ff6b6b;
}

.nav-contact-item i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #ff6b6b;
}

.nav-contact-item span {
    font-size: 0.95rem;
    font-weight: 500;
}
/* Hero Section with Carousel */
.hero {
    position: relative;
    min-height: 100vh;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    max-height: 700px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease-in-out;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1), rgba(102, 126, 234, 0.1));
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-slide .hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-slide .hero-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.7), rgba(102, 126, 234, 0.5));
    z-index: 1;
}

.hero-slide .hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    color: white;
    width: 100%;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 107, 107, 0.9);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.hero-features i {
    color: #ff6b6b;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Navigation Arrows */
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.hero-prev {
    left: 2rem;
}

.hero-next {
    right: 2rem;
}

/* Slide Indicators */
.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    outline: none;
}

.indicator.active,
.indicator:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
}

/* Welcome Section */
.welcome-section {
    background: white;
    padding: 2rem 0 1rem 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
}

.welcome-content {
    text-align: center;
}

.welcome-content h2 {
    font-size: 2.5rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.welcome-content p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Availability Search Card */
.availability-search-card {
    width: 100%;
    margin: 0;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.search-card-header {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    flex-shrink: 0;
}

.search-card-header h3 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.search-card-content {
    padding: 1.5rem;
    text-align: left;
}

.rental-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-left: 4px solid #ff6b6b;
    text-align: left;
}

.info-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.info-text {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.info-text strong {
    display: block;
    color: #2c5aa0;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
}

.info-text span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    text-align: left;
}

.search-card-action {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e9ecef;
}

.btn-large {
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3);
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
}

.search-note {
    color: #666;
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: #ff6b6b;
    color: white;
}

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

.btn-whatsapp {
    background: #25d366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128c7e;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #2c5aa0;
}

/* Features Section */
.features {
    background: #f8f9fa;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

/* Enhanced grid for larger screens */
@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2.5rem;
    }
    
    /* Enhanced availability search card for large screens */
    .rental-info {
        gap: 1.2rem;
        text-align: left;
    }
    
    .info-item {
        padding: 1rem;
        gap: 0.8rem;
        text-align: left;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .info-text strong {
        font-size: 1.05rem;
    }
    
    .info-text span {
        font-size: 0.95rem;
    }
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}
/* Services Section */
.services-section {
    background: white;
    padding: 2rem 0 4rem 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Responsive services grid */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .service-item {
        padding: 1.5rem;
        gap: 1.2rem;
    }
    
    .service-item h3 {
        font-size: 1.2rem;
    }
    
    .service-content {
        gap: 1rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-item {
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .service-item h3 {
        font-size: 1.1rem;
    }
    
    .service-content {
        gap: 0.8rem;
    }
    
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 1.3rem;
    }
    
    .service-item p {
        font-size: 0.9rem;
    }
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.service-item:hover {
    background: #e9ecef;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.service-icon i {
    font-size: 1.8rem;
    color: white;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 0;
    color: #2c5aa0;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.service-content {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    width: 100%;
}

.service-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    flex: 1;
}

/* Apartment Types - Updated */
.apartment-types {
    background: #f8f9fa;
}

.apartment-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.apartment-card:hover {
    transform: translateY(-10px);
}

.apartment-image {
    height: 250px;
    overflow: hidden;
}

.apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.apartment-card:hover .apartment-image img {
    transform: scale(1.1);
}

.apartment-info {
    padding: 2rem;
}

.apartment-info h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.apartment-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.apartment-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.apartment-features i {
    color: #ff6b6b;
    width: 20px;
}

/* Contact Info */
.contact-info {
    background: #2c5aa0;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-card {
    text-align: center;
    padding: 2rem;
}

.contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.contact-card a {
    color: white;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ff6b6b;
}

/* Contact Info Styling */
.footer-section p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.footer-section p:last-child {
    margin-bottom: 0;
}

.footer-section p i {
    margin-right: 0.5rem;
    width: 18px;
    text-align: center;
}

.footer-section p a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #ff6b6b;
}

/* Social Links Styling */
.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #333;
    color: #ccc;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-links a:hover {
    background: #ff6b6b;
    color: white;
    transform: translateY(-2px);
}

/* Social Links Responsive */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .social-links .x-icon {
        font-size: 0.9rem;
    }
}

/* X Icon Styling */
.social-links .x-icon {
    font-family: "Times New Roman", serif;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #ccc;
}

/* Footer Keywords Section */
.footer-keywords {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #333;
}

.keywords-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

.keywords-container a {
    display: block;
    color: #ccc;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    padding: 0.2rem 0;
    line-height: 1.4;
}

.keywords-container a:hover {
    color: #ff6b6b;
}

/* Keywords Responsive */
@media (max-width: 992px) {
    .keywords-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem 1.2rem;
    }
    
    .keywords-container a {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .keywords-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
    }
    
    .keywords-container a {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .keywords-container {
        grid-template-columns: 1fr;
        gap: 0.4rem;
        text-align: center;
    }
    
    .keywords-container a {
        font-size: 0.85rem;
        padding: 0.3rem 0;
    }
}
/* Page Header */
.page-header {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    padding: 120px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Apartment Detail Pages */
.apartments-detail {
    padding: 60px 0;
    background: white;
}

.apartment-detail {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid #eee;
}

.apartment-detail:last-child {
    border-bottom: none;
}

/* Same as Arabic version - Grid with 2 columns */
.apartment-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.apartment-images {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* For homepage - two images side by side */
.apartment-types .apartment-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    flex-direction: unset;
}

.apartment-image {
    width: 100%;
}

.apartment-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
}

.apartment-images .main-image {
    margin-bottom: 1rem;
    width: 100%;
}

.apartment-images .main-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
}

.thumbnail-images {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.thumbnail-images img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.thumbnail-images img:hover {
    opacity: 0.8;
}

.apartment-info {
    width: 100%;
    margin-top: 0;
    padding-top: 0;
}

.apartment-info h2 {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 600;
    margin-top: 0;
    padding-top: 0;
    line-height: 1.2;
}

.apartment-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.apartment-features h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-weight: 600;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.feature-item i {
    color: #ff6b6b;
    width: 20px;
    font-size: 1rem;
}

.feature-item span {
    color: #333;
    font-size: 0.95rem;
}

.apartment-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Gallery Styles */
.gallery-filter {
    background: #f8f9fa;
    padding: 2rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #ddd;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
    background: #2c5aa0;
    color: white;
    border-color: #2c5aa0;
}

.gallery-grid {
    padding: 60px 0;
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Enhanced gallery grid for larger screens */
@media (min-width: 1200px) {
    .gallery-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1600px) {
    .gallery-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 2.5rem;
    }
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-info {
    color: white;
}

.gallery-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.gallery-zoom {
    background: #ff6b6b;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.gallery-zoom:hover {
    background: #ff5252;
}
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 2001;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
}

.lightbox-prev,
.lightbox-next {
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Contact Page */
.contact-section {
    padding: 60px 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form-section h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 2.5rem;
}

.contact-form-section p {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Map Section */
.map-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.map-container {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.map-container h2 {
    text-align: center;
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Google Maps Styling */
.mapouter {
    position: relative;
    text-align: right;
    height: 500px;
    width: 100%;
    margin-bottom: 2rem;
}

.gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 500px;
    width: 100%;
}

.gmap_canvas iframe {
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Location Info */
.location-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    text-align: center;
}

.location-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.location-actions .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.location-actions .btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.location-actions .btn-outline:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

.location-actions .btn-whatsapp {
    background: #25d366;
    color: white;
    border: 2px solid #25d366;
}

.location-actions .btn-whatsapp:hover {
    background: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .map-container {
        padding: 1rem;
    }
    
    .mapouter,
    .gmap_canvas {
        height: 350px;
    }
    
    .location-actions {
        flex-direction: column;
    }
    
    .location-actions .btn {
        justify-content: center;
        text-align: center;
    }
}

.map-placeholder {
    color: #666;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-question h3 {
    color: #2c5aa0;
    font-size: 1.1rem;
}

.faq-question i {
    color: #2c5aa0;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: #666;
    line-height: 1.6;
}
/* Booking Page */
.booking-steps {
    background: #f8f9fa;
    padding: 2rem 0;
}

.steps-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    opacity: 0.6;
}

.step.active {
    opacity: 1;
    background: #2c5aa0;
    color: white;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step.active .step-number {
    background: white;
    color: #2c5aa0;
}

.step-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.step-info p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Booking Form */
.booking-form-section {
    padding: 60px 0;
}

.booking-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.form-step {
    display: none;
    padding: 3rem;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    color: #2c5aa0;
    margin-bottom: 2rem;
    text-align: center;
}

/* Apartment Selection */
.apartment-selection {
    display: grid;
    gap: 1.5rem;
}

.apartment-option {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 1.5rem;
    padding: 1.5rem;
    border: 2px solid #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    align-items: center;
}

.apartment-option:hover {
    border-color: #2c5aa0;
}

.apartment-option.selected {
    border-color: #2c5aa0;
    background: #f0f4ff;
}

.apartment-option .apartment-image {
    width: 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
}

.apartment-option .apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apartment-details h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.features-list i {
    color: #ff6b6b;
    width: 16px;
}

.apartment-price {
    text-align: center;
}

.price-label {
    display: block;
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.price-contact {
    font-weight: 600;
    color: #2c5aa0;
}

.selection-indicator {
    width: 30px;
    height: 30px;
    border: 2px solid #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.apartment-option.selected .selection-indicator {
    background: #2c5aa0;
    border-color: #2c5aa0;
    color: white;
}

/* Apartment selection improvements */
.apartment-option {
    position: relative;
    transition: all 0.3s ease;
    display: none; /* Hidden by default, shown by JavaScript */
}

.apartment-option.available {
    display: grid !important;
}

.apartment-option.loading {
    display: grid !important;
    opacity: 0.5;
    pointer-events: none;
}

.apartment-option.loading::after {
    content: 'Loading...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-weight: 500;
    color: #666;
    z-index: 10;
}

/* Alert styles for no apartments message */
.alert {
    padding: 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.375rem;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert.text-center {
    text-align: center;
}

.alert h4 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.alert p {
    margin-bottom: 0;
}

/* Notification section styles */
.notification-section {
    background: #f8f9fa;
    padding: 3rem 0;
    margin-top: 2rem;
}

.notification-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.notification-content h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.notification-content p {
    color: #666;
    margin-bottom: 2rem;
}

.notification-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.notification-form .form-group {
    text-align: left;
}

.notification-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.notification-form .form-group input,
.notification-form .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.notification-form .form-group input:focus,
.notification-form .form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 8px;
    font-weight: bold;
    color: #2c5aa0;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

/* Booking Summary */
.booking-summary {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.summary-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #ddd;
}

.summary-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-section h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.pricing-section {
    background: #e3f2fd;
    padding: 1.5rem;
    border-radius: 8px;
}

.pricing-note {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.pricing-note i {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

/* Quick Contact */
.quick-contact {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.quick-contact-content h2 {
    margin-bottom: 1rem;
}

.quick-contact-content p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: rgba(255,255,255,0.2);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.contact-btn.whatsapp {
    background: #25d366;
}

.contact-btn.whatsapp:hover {
    background: #128c7e;
}

/* Notification Section (from availability.php) */
.notification-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.notification-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.notification-content h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.notification-content p {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.notification-form .form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}

.alert {
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.alert-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

.alert h4 {
    margin-bottom: 1rem;
    color: #856404;
}

.alert p {
    margin: 0;
    color: #856404;
}

/* Responsive for notification section */
@media (max-width: 768px) {
    .notification-content {
        padding: 2rem 1rem;
    }
    
    .notification-content h2 {
        font-size: 1.5rem;
    }
    
    .notification-form .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
        cursor: pointer;
        z-index: 1001;
    }
    
    /* Hero title responsive */
    .hero-title {
        font-size: 2.8rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(26, 26, 26, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 3.5rem 1.5rem 1.5rem 1.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateX(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 1000;
        margin: 0;
        list-style: none;
        pointer-events: none;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    .nav-menu li {
        margin: -2px 0;
        padding: 0;
        width: 100%;
        text-align: left;
        list-style: none;
        display: block;
    }
    
    .nav-menu a {
        font-size: 1.1rem;
        padding: 0.3rem 1rem;
        display: flex;
        align-items: center;
        text-align: left;
        color: white;
        background: none;
        border: none;
        transition: color 0.3s ease;
        width: 100%;
        margin: 0;
        line-height: 1.1;
        min-height: 40px;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        color: #ff6b6b;
        background: rgba(255, 255, 255, 0.05);
    }
    
    /* Show contact section only on mobile */
    .nav-contact {
        display: block !important;
    }
    
    /* Hero Carousel Responsive */
    .hero {
        min-height: 70vh;
    }
    
    .hero-carousel {
        height: 60vh;
        min-height: 450px;
        max-height: 550px;
    }
    
    .hero-content {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 1.8rem;
        white-space: nowrap;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .hero-features {
        gap: 1rem;
    }
    
    .hero-features span {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .hero-prev {
        left: 1rem;
    }
    
    .hero-next {
        right: 1rem;
    }
    
    .welcome-content h2 {
        font-size: 2rem;
    }
    
    .welcome-content p {
        font-size: 1rem;
    }
    
    /* Welcome Section Responsive */
    .welcome-section {
        padding: 2rem 0 1rem 0;
        background: white;
        position: relative;
        z-index: 1;
    }
    
    /* Services Section Responsive */
    .services-section {
        padding: 2rem 0 3rem 0;
        background: white;
        position: relative;
        z-index: 1;
    }
    
    /* Availability Search Card Responsive */
    .availability-search-card {
        margin: 0;
        border-radius: 15px;
    }
    
    .search-card-header {
        padding: 1rem 1.5rem;
        gap: 0.8rem;
    }
    
    .search-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .search-card-header h3 {
        font-size: 1.3rem;
    }
    
    .search-card-content {
        padding: 1.5rem;
        text-align: left;
    }
    
    .rental-info {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1.5rem;
        text-align: left;
    }
    
    .info-item {
        padding: 1rem;
        gap: 0.8rem;
        text-align: left;
    }
    
    .info-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .info-text strong {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }
    
    .info-text span {
        font-size: 0.9rem;
    }
    
    .search-card-action {
        padding-top: 1.2rem;
    }
    
    .btn-large {
        padding: 0.65rem 1.6rem;
        font-size: 0.95rem;
        gap: 0.6rem;
        margin-bottom: 0.6rem;
    }
    
    .search-note {
        font-size: 0.8rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .apartments-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .apartment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .apartment-images .main-image img {
        height: 300px;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }
    
    .thumbnail-images img {
        height: 70px;
    }
    
    .apartment-info h2 {
        font-size: 1.6rem;
    }
    
    .apartment-description {
        font-size: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .apartment-actions {
        flex-direction: column;
    }
    
    .apartment-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
    }
    
    .filter-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        max-width: 100%;
    }
    
    .filter-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
        flex: 0 1 auto;
        min-width: fit-content;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .apartment-option {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .apartment-option .apartment-image {
        width: 100%;
        height: 200px;
        justify-self: center;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-options {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-carousel {
        height: 50vh;
        min-height: 400px;
        max-height: 450px;
    }
    
    .hero-title {
        font-size: 1.6rem;
        white-space: nowrap;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .welcome-stats {
        grid-template-columns: 1fr;
    }
    
    /* Welcome and Services Section Mobile */
    .welcome-section {
        padding: 1rem 0 0.5rem 0;
    }
    
    .services-section {
        padding: 1rem 0 2.5rem 0;
    }
    
    /* Availability Search Card Mobile */
    .search-card-header {
        padding: 0.8rem 1rem;
        gap: 0.7rem;
    }
    
    .search-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .search-card-header h3 {
        font-size: 1.1rem;
    }
    
    .search-card-content {
        padding: 1.2rem;
        text-align: left;
    }
    
    .rental-info {
        gap: 0.8rem;
        margin-bottom: 1.2rem;
        text-align: left;
    }
    
    .info-item {
        padding: 0.9rem;
        gap: 0.7rem;
        border-radius: 10px;
        text-align: left;
    }
    
    .info-icon {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
    
    .info-text strong {
        font-size: 0.95rem;
    }
    
    .info-text span {
        font-size: 0.85rem;
    }
    
    .search-card-action {
        padding-top: 1rem;
    }
    
    .btn-large {
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .search-note {
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .feature-card,
    .apartment-card {
        margin: 0 10px;
    }
    
    .apartment-info {
        padding: 1.5rem;
    }
    
    /* Apartment Detail Pages Mobile */
    .apartment-images {
        margin-bottom: 1.5rem;
    }
    
    .apartment-images .main-image img {
        height: 300px;
    }
    
    .thumbnail-images {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .thumbnail-images img {
        height: 100px;
    }
    
    .apartment-info h2 {
        font-size: 1.4rem;
    }
    
    .apartment-description {
        font-size: 0.95rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form,
    .booking-form .form-step {
        padding: 2rem 1.5rem;
    }
    
    .lightbox-nav {
        padding: 0 1rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.4rem;
        white-space: nowrap;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.8rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-section,
    .quick-contact {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .page-header {
        background: none;
        color: #333;
        padding: 20px 0;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        border: 2px solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
    
    .feature-icon,
    .service-icon,
    .contact-icon {
        background: #000;
    }
}

/* Focus styles for accessibility */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Skip link for screen readers */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2c5aa0;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    z-index: 1001;
}

.skip-link:focus {
    top: 6px;
}
/* Simple Booking Styles */
.simple-booking-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.apartments-grid {
    margin-bottom: 3rem;
    width: 100%;
}

.apartments-grid h2 {
    text-align: center;
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 2rem;
}
}

/* Apartment Cards - Removed conflicting styles */

.apartment-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.apartment-card.selected {
    border-color: #2c5aa0;
    background: #f0f4ff;
}

.card-header {
    text-align: center;
    margin-bottom: 1rem;
}

.card-header h3 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.apartment-type {
    color: #666;
    font-size: 0.9rem;
    background: #e8f4fd;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    display: inline-block;
}

.features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.feature {
    background: #e8f4fd;
    color: #2c5aa0;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.feature i {
    margin-right: 0.25rem;
}

.pricing {
    text-align: center;
    margin-bottom: 1rem;
}

.price-main {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c5aa0;
}

.price-discount {
    font-size: 0.9rem;
    color: #28a745;
    margin-top: 0.25rem;
}

.card-footer {
    text-align: center;
}

.select-apartment-btn {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #2c5aa0;
    background: transparent;
    color: #2c5aa0;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.select-apartment-btn:hover,
.apartment-card.selected .select-apartment-btn {
    background: #2c5aa0;
    color: white;
}

/* Simple Form */
.simple-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    height: fit-content;
}

.simple-booking-form .form-group {
    margin-bottom: 1.5rem;
}

.simple-booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.simple-booking-form input,
.simple-booking-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.simple-booking-form input:focus,
.simple-booking-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    box-shadow: 0 0 0 2px rgba(44, 90, 160, 0.1);
}

.simple-booking-form .btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Loading and No Apartments */
.loading-message,
.no-apartments {
    text-align: center;
    padding: 3rem 1rem;
    color: #666;
}

.loading-message i {
    font-size: 2rem;
    color: #2c5aa0;
    margin-bottom: 1rem;
}

.no-apartments i {
    font-size: 3rem;
    color: #f39c12;
    margin-bottom: 1rem;
}

.no-apartments h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

/* Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.success-modal .modal-content {
    background: white;
    padding: 3rem;
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.3s ease;
}

.success-modal .success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 1rem;
}

.success-modal .reference-number {
    background: #f0f4ff;
    padding: 1rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    color: #2c5aa0;
    font-weight: 600;
}

.success-modal .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .apartment-cards {
        grid-template-columns: 1fr;
    }
    
    .features {
        justify-content: center;
    }
    
    .success-modal .modal-actions {
        flex-direction: column;
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
/* Price Display Styles */
.price-display {
    margin: 2rem 0;
    animation: slideDown 0.3s ease;
}

.price-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 2px solid #2c5aa0;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.1);
}

.price-card h3 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.3rem;
}

.price-breakdown {
    margin-bottom: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #dee2e6;
}

.price-row:last-child {
    border-bottom: none;
}

.price-label {
    font-weight: 500;
    color: #495057;
}

.price-value {
    font-weight: 600;
    color: #2c5aa0;
    font-size: 1.1rem;
}

.price-value.discount {
    color: #28a745;
}

.price-row.discount-row {
    background: rgba(40, 167, 69, 0.1);
    margin: 0 -0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    border: none;
}

.price-row.total-row {
    background: rgba(44, 90, 160, 0.1);
    margin: 0.5rem -0.5rem 0;
    padding: 0.75rem 0.5rem;
    border-radius: 8px;
    border: none;
}

.price-row.total-row .price-value {
    font-size: 1.3rem;
    font-weight: 700;
}

.price-note {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(44, 90, 160, 0.1);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #2c5aa0;
    margin-top: 1rem;
}

.price-note i {
    color: #2c5aa0;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Price Display */
@media (max-width: 768px) {
    .price-card {
        padding: 1rem;
    }
    
    .price-card h3 {
        font-size: 1.1rem;
    }
    
    .price-value {
        font-size: 1rem;
    }
    
    .price-row.total-row .price-value {
        font-size: 1.2rem;
    }
    
    .price-note {
        font-size: 0.8rem;
    }
}
/* Pricing Confirmed Styles */
.pricing-confirmed {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid #28a745;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #155724;
}

.pricing-confirmed i {
    color: #28a745;
    font-size: 1.2rem;
}

.pricing-confirmed p {
    margin: 0;
    font-size: 0.95rem;
}
/* Enhanced Apartment Display for Booking Page */
.apartment-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.apartment-option {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 3px solid transparent;
}

.apartment-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.2);
}

.apartment-option.selected {
    border-color: #2c5aa0;
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(44, 90, 160, 0.3);
}

.apartment-option .apartment-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
}

.apartment-option .apartment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.apartment-option:hover .apartment-image img {
    transform: scale(1.05);
}

.apartment-option .apartment-details {
    padding: 1.5rem;
}

.apartment-option .apartment-details h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-align: center;
}

.apartment-option .features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.apartment-option .features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #555;
    padding: 0.25rem 0;
}

.apartment-option .features-list li i {
    color: #28a745;
    font-size: 0.8rem;
    width: 12px;
}

.apartment-option .apartment-price {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 1rem;
}

.apartment-option .apartment-price .price-main {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.5rem;
}

.apartment-option .apartment-price .price-discount {
    font-size: 0.9rem;
    color: #28a745;
    font-weight: 500;
}

.apartment-option .selection-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.apartment-option.selected .selection-indicator {
    opacity: 1;
    transform: scale(1);
    background: #2c5aa0;
    color: white;
}

.apartment-option .selection-indicator i {
    font-size: 1.2rem;
}

/* Loading State */
.apartment-option.loading {
    opacity: 0.6;
    pointer-events: none;
}

.apartment-option.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #2c5aa0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* No Apartments Available */
.no-apartments {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.no-apartments i {
    font-size: 4rem;
    color: #f39c12;
    margin-bottom: 1.5rem;
}

.no-apartments h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-apartments p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Loading Message */
.loading-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.loading-message i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.loading-message p {
    color: #666;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .apartment-selection {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .apartment-option .apartment-image {
        height: 200px;
    }
    
    .apartment-option .apartment-details {
        padding: 1.2rem;
    }
    
    .apartment-option .apartment-details h3 {
        font-size: 1.2rem;
    }
    
    .apartment-option .features-list {
        grid-template-columns: 1fr;
        gap: 0.3rem;
    }
    
    .apartment-option .features-list li {
        font-size: 0.85rem;
    }
    
    .apartment-option .apartment-price .price-main {
        font-size: 1.1rem;
    }
    
    .apartment-option .apartment-price .price-discount {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .apartment-selection {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .apartment-option .apartment-image {
        height: 180px;
    }
    
    .apartment-option .apartment-details {
        padding: 1rem;
    }
    
    .apartment-option .apartment-details h3 {
        font-size: 1.1rem;
    }
    
    .apartment-option .apartment-price {
        padding: 0.8rem;
    }
}
/* Enhanced Booking Form Styles */
.booking-form-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 70vh;
}

.booking-form {
    max-width: 900px;
    margin: 0 auto;
}

.form-step {
    display: none;
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.form-step.active {
    display: block;
    animation: slideInUp 0.5s ease;
}

.form-step h2 {
    color: #2c5aa0;
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.form-step h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    border-radius: 2px;
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group input:invalid,
.form-group select:invalid {
    border-color: #dc3545;
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.form-navigation .btn {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 25px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.form-navigation .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Booking Summary */
.booking-summary {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.summary-section {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
}

.summary-section h3 {
    color: #2c5aa0;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.summary-item {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total-item {
    background: rgba(44, 90, 160, 0.1);
    margin: 0.5rem -1rem 0;
    padding: 1rem;
    border-radius: 10px;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Checkbox Groups */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    transform: scale(1.2);
    accent-color: #2c5aa0;
}

.checkbox-group label {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    cursor: pointer;
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design for Forms */
@media (max-width: 768px) {
    .booking-form-section {
        padding: 2rem 0;
    }
    
    .form-step {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .form-step h2 {
        font-size: 1.6rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .form-navigation .btn {
        width: 100%;
        justify-content: center;
    }
    
    .summary-section {
        padding: 1.2rem;
    }
}

@media (max-width: 480px) {
    .form-step {
        padding: 1.5rem 1rem;
    }
    
    .form-step h2 {
        font-size: 1.4rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.7rem 0.8rem;
        font-size: 0.95rem;
    }
}
/* Enhanced Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.success-modal .modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.success-modal .success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    animation: bounce 0.6s ease;
}

.success-modal h2 {
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-modal p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.success-modal .reference-number {
    background: linear-gradient(135deg, #f0f4ff, #e8f4fd);
    border: 2px solid #2c5aa0;
    padding: 1.2rem;
    border-radius: 12px;
    margin: 2rem 0;
    color: #2c5aa0;
    font-weight: 600;
    font-size: 1.1rem;
}

.success-modal .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.success-modal .modal-actions .btn {
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.success-modal .modal-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Enhanced Step Indicators */
.booking-steps {
    background: white;
    padding: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 2px solid transparent;
}

.step.active {
    background: linear-gradient(135deg, #2c5aa0, #667eea);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(44, 90, 160, 0.3);
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.step.active .step-number {
    background: rgba(255, 255, 255, 0.3);
}

.step-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.step-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        transform: translateY(50px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

/* Responsive Steps */
@media (max-width: 768px) {
    .steps-container {
        gap: 1rem;
    }
    
    .step {
        padding: 0.8rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .step-info h3 {
        font-size: 1rem;
    }
    
    .step-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .steps-container {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .step {
        flex-direction: row;
        width: 100%;
        max-width: 250px;
    }
}

/* Simple Booking Section */
.simple-booking-section {
    padding: 6rem 0 4rem;
    background: #f8f9fa;
    width: 100%;
}

.simple-booking-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.booking-container {
    max-width: 1200px;
    margin: 0 auto;
}

.apartments-grid {
    margin-bottom: 3rem;
}

.apartments-grid h2 {
    text-align: center;
    color: #2c5aa0;
    margin-bottom: 2rem;
    font-size: 2rem;
}

/* Simple Form Container */
.simple-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.simple-form-container h2 {
    text-align: center;
    color: #2c5aa0;
    margin-bottom: 1.5rem;
}

.simple-booking-form .form-group {
    margin-bottom: 1.5rem;
}

.simple-booking-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.simple-booking-form input,
.simple-booking-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.simple-booking-form input:focus,
.simple-booking-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
}

.simple-booking-form .btn-large {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

@media (max-width: 768px) {
    .simple-booking-section {
        padding: 4rem 0 2rem;
    }
    
    .simple-form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .apartments-grid h2 {
        font-size: 1.5rem;
    }
}
/* Placeholder Images */
.placeholder-image {
    background: #2c3e50;
    border: 2px solid #34495e;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.placeholder-image:hover {
    border-color: #3498db;
    transform: scale(1.02);
}

.placeholder-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 25%, 
        rgba(255,255,255,0.02) 25%, 
        rgba(255,255,255,0.02) 50%, 
        transparent 50%, 
        transparent 75%, 
        rgba(255,255,255,0.02) 75%);
    background-size: 20px 20px;
    pointer-events: none;
    border-radius: 6px;
}

/* Loading state for images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Image error state */
.image-error {
    background: #e74c3c;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
}

.image-error::before {
    content: '⚠️ Image not found';
    font-weight: 500;
}

/* Enhanced Success Modal */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.success-modal .modal-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.success-modal .success-icon {
    font-size: 4rem;
    color: #28a745;
    margin-bottom: 1.5rem;
    animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.success-modal h2 {
    color: #2c5aa0;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.success-modal p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.success-modal .reference-number {
    background: linear-gradient(135deg, #e8f4fd, #f0f8ff);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border: 2px solid #2c5aa0;
}

.success-modal .reference-number strong {
    color: #2c5aa0;
    font-size: 1.1rem;
}

.success-modal .modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.success-modal .modal-actions .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.success-modal .modal-actions .btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    border: none;
}

.success-modal .modal-actions .btn-secondary {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.success-modal .modal-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

@media (max-width: 480px) {
    .success-modal .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .success-modal .modal-actions {
        flex-direction: column;
    }
    
    .success-modal .modal-actions .btn {
        width: 100%;
    }
}
/* Step-based Booking Styles */
.booking-step {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.booking-step.active {
    display: block;
}

.step-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Fix apartment cards width issue - Final version */
.apartments-grid {
    width: 100%;
    max-width: none;
    margin: 0 auto 3rem auto;
    padding: 0;
}

.apartment-cards {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

/* Simple fix - make Step 1 container match Step 2 exactly */
#step1 .apartments-grid,
#step1 .apartment-cards {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Real-time validation styles */
.customer-booking-form input.valid,
.customer-booking-form textarea.valid {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1) !important;
}

.customer-booking-form input.invalid,
.customer-booking-form textarea.invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1) !important;
}

.validation-error {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

.validation-success {
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Remove all overrides - let the original selected-apartment-summary class handle styling */

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.step-header h2 {
    color: #2c5aa0;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.step-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Selected Apartment Summary */
.selected-apartment-summary {
    background: linear-gradient(135deg, #f0f4ff, #e8f2ff);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.selected-apartment-summary::before {
    display: none;
}

.summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.summary-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.change-apartment-btn {
    background: transparent;
    color: #2c5aa0;
    border: 1px solid #2c5aa0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.change-apartment-btn:hover {
    background: #2c5aa0;
    color: white;
}

.summary-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.summary-info h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.summary-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.summary-feature {
    background: white;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #2c5aa0;
}

.summary-pricing {
    text-align: right;
}

.summary-price-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.25rem;
}

.summary-price-discount {
    color: #28a745;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Customer Form Container */
.customer-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    max-width: 800px;
    margin: 0 auto;
}

.customer-booking-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.customer-booking-form .form-group {
    margin-bottom: 1.5rem;
}

.customer-booking-form label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customer-booking-form label i {
    color: #2c5aa0;
    width: 16px;
}

.customer-booking-form input,
.customer-booking-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.customer-booking-form input:focus,
.customer-booking-form textarea:focus {
    outline: none;
    border-color: #2c5aa0;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f4ff;
}

.form-actions .btn {
    flex: 1;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-actions .btn-secondary {
    background: transparent;
    color: #6c757d;
    border: 2px solid #6c757d;
}

.form-actions .btn-secondary:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-2px);
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    border: none;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

/* Responsive Design for Steps */
@media (max-width: 768px) {
    .step-header h2 {
        font-size: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .summary-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .summary-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .customer-booking-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .customer-form-container {
        padding: 1.5rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .summary-pricing {
        text-align: left;
    }
}
/* Updated Apartment Cards - Fix width issue */
.apartment-card {
    background: linear-gradient(135deg, #f0f4ff, #e8f2ff);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
    margin: 0 0 2rem 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.apartment-card::before {
    display: none;
}

.apartment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(44, 90, 160, 0.15);
}

.apartment-card .card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.apartment-card .apartment-title {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.apartment-card .apartment-title h3 {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.apartment-card .apartment-type {
    background: transparent;
    color: #2c5aa0;
    border: 1px solid #2c5aa0;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
}

.apartment-card .card-body {
    margin-bottom: 1.5rem;
}

.apartment-card .apartment-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.apartment-card .apartment-info h4 {
    color: #2c5aa0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.apartment-card .apartment-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.apartment-card .apartment-feature {
    background: white;
    color: #2c5aa0;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    border: 1px solid #2c5aa0;
}

.apartment-card .apartment-pricing {
    text-align: right;
}

.apartment-card .price-main {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c5aa0;
    margin-bottom: 0.25rem;
}

.apartment-card .price-discount {
    color: #28a745;
    font-weight: 600;
    font-size: 0.85rem;
}

.apartment-card .card-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid #f0f4ff;
}

.apartment-card .select-apartment-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #2c5aa0, #4a90e2);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.apartment-card .select-apartment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.3);
}

/* Responsive design for apartment cards */
@media (max-width: 768px) {
    .apartment-card {
        padding: 1.5rem;
    }
    
    .apartment-images {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .apartment-image img {
        height: 200px;
    }
    
    .apartment-card .card-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .apartment-card .apartment-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .apartment-card .apartment-pricing {
        text-align: left;
    }
    
    .apartment-card .price-main {
        font-size: 1.2rem;
    }
}
/* Ensure selected apartment summary matches card width */
.selected-apartment-summary {
    background: linear-gradient(135deg, #f0f4ff, #e8f2ff);
    border: none;
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: none;
}

.customer-form-container {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: none;
    margin: 0;
}

/* Brand Logo Styles - Unified size for English pages */
.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.brand-link:hover {
    text-decoration: none;
    color: inherit;
    transform: scale(1.02);
}

.brand-logo {
    height: 40px;
    width: auto;
    max-width: none;
    margin-right: 12px;
    transition: all 0.3s ease;
    object-fit: contain;
}

.brand-link:hover .brand-logo {
    transform: scale(1.05);
}

.nav-brand h1 {
    margin: 0;
    color: #2c5aa0;
    font-size: 1.8rem;
    font-weight: 600;
}

/* Responsive logo for English pages */
@media (max-width: 768px) {
    .brand-logo {
        height: 35px;
        margin-right: 8px;
    }
    
    .nav-brand h1 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .brand-logo {
        height: 30px;
        margin-right: 6px;
    }
    
    .nav-brand h1 {
        font-size: 1.3rem;
    }
}
/* Footer Logo Styles for English pages */
.footer-logo {
    height: 35px;
    width: auto;
    margin-right: 10px;
    vertical-align: middle;
    object-fit: contain;
}

.footer-section h3 {
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .footer-logo {
        height: 30px;
        margin-right: 8px;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        height: 28px;
        margin-right: 6px;
    }
/* Additional mobile styles for filter buttons */
@media (max-width: 480px) {
    .filter-buttons {
        gap: 0.4rem;
        padding: 0 1rem;
    }
    
    .filter-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 20px;
    }
}

@media (max-width: 360px) {
    .filter-buttons {
        gap: 0.3rem;
    }
    
    .filter-btn {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
        border-radius: 15px;
    }
}