/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    color: #333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.btn {
    display: inline-block;
    background: #002B5B;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #003d5b;
    transform: translateY(-2px);
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    color: #005792;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 1.2rem;
    color: #666;
}

/* Header Styles */
header {
    background: transparent;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 15px 0;
    transition: background 0.3s ease;
}

header.scrolled {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.3s ease;
}

header.scrolled .logo {
    color: #005792;
}

.logo span {
    color: #d4af37;
}

/* Hero Section with Carousel */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

.carousel {
    height: 100%;
    position: relative;
}

.carousel-inner {
    height: 100%;
    width: 100%;
    position: relative;
}

.carousel-item {
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 87, 146, 0.7), rgba(0, 87, 146, 0.7));
}

.carousel-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
    margin-top: 60px; /* Space for the header */
}

.carousel-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.carousel-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: white;
    transform: scale(1.2);
}

/* Investment Highlights */
.highlights {
    padding: 80px 0;
    background: #f8f9fa;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.highlight-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-10px);
}

.highlight-icon {
    font-size: 2.5rem;
    color: #005792;
    margin-bottom: 20px;
}

.highlight-card h3 {
    margin-bottom: 15px;
    color: #005792;
}

/* Property Toggle */
.property-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    background: white;
    border-radius: 50px;
    padding: 5px;
    width: 300px;
    margin: 0 auto 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.toggle-btn {
    padding: 12px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    flex: 1;
}

.toggle-btn.active {
    background: #005792;
    color: white;
}

/* Properties Section */
.property-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.property-card:hover {
    transform: translateY(-5px);
}

.property-img-slideshow {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 0.5s ease;
}

.property-type {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #00A8CC;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    z-index: 5;
}

.map-preview {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.map-preview i {
    color: #d9534f;
    font-size: 18px;
}

.map-popup {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 150px;
    height: 80px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    overflow: hidden;
}

.map-popup iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Hover effect for map preview */
.map-preview:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

.property-content {
    padding: 20px;
}

.property-content h3 {
    color: #002B5B;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.property-content p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.currency-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.currency-btn {
    padding: 4px 10px;
    background: #f0f0f0;
    border-radius: 15px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.currency-btn.active {
    background: #005792;
    color: white;
}

.property-price {
    font-size: 1.3rem;
    font-weight: bold;
    color: #002B5B;
    margin-bottom: 20px;
}

/* .property-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #002B5B;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
} */

.price-range {
    font-size: 1.1rem;
    margin-top: 5px;
}

.price-separator {
    margin: 0 5px;
    font-weight: normal;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: #f8f9fa;
}

.testimonial-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-container {
    display: flex;
    overflow: hidden;
}

.testimonial {
    min-width: 100%;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.testimonial-text {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 20px;
    color: #555;
}

.testimonial-author {
    font-weight: bold;
    color: #002B5B;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.testimonial-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.testimonial-dot.active {
    background: #005792;
}

/* Dubai Advantages Section */
.dubai-advantages {
    padding: 80px 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: #005792;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.advantage-content h3 {
    color: #002B5B;
    margin-bottom: 10px;
}

/* Contact & FAQ Section */
.contact-faq {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-faq-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-form-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-container h3 {
    color: #002B5B;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.faq-accordion {
    border-radius: 8px;
    overflow: hidden;
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f8f9fa;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h4 {
    margin: 0;
    color: #002B5B;
    font-size: 1.1rem;
    font-weight: 600;
}

.faq-toggle {
    color: #005792;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 20px;
    margin: 0;
    color: 555;
    line-height: 1.6;
}

/* Form Styles */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #002B5B;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.form-group textarea {
    min-height: 150px;
}

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 15px 0;
    display: flex;
    justify-content: center;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* Darker background for better contrast */
    z-index: 2000;
    overflow-y: auto;
}

.modal-content {
    background: white;
    margin: 50px auto;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.close-modal:hover {
    color: #000;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #002B5B;
    font-size: 24px;
}

.modal-header p {
    color: #00A8CC;
    font-weight: 500;
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Modal Details - clean two-column table */
.modal-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 20px;
    margin-bottom: 30px;
}

.detail-item {
    background: none;
    padding: 0;
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.4;
}

.detail-item h4 {
    display: inline-block;
    font-weight: 600;
    color: #002B5B;
    margin-right: 8px;
    font-size: 0.9rem;
}

.detail-item p {
    display: inline-block;
    margin: 0;
    color: #555;
    font-size: 0.9rem;
}

.modal-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Footer Styles */
footer {
    background: #005792;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.footer-column {
    margin-bottom: 20px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 20px;
}

.footer-column p {
    margin-bottom: 20px;
    font-size: 14px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 20px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #00A8CC;
}

.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.copyright p {
    margin: 0;
    line-height: 1.6;
}

.copyright .designed-by {
    display: block;
    font-size: 0.75rem;
    color: #aaa;
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 40px;
    gap: 10px;
}

.pagination a {
    display: inline-block;
    padding: 8px 15px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a.active {
    background: #005792;
    color: white;
}

.pagination a:hover:not(.active) {
    background: #ddd;
}

/* Alert Styles */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Admin Access Link */
.admin-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #002B5B;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

/* Slideshow Styles */
.property-slideshow {
    position: relative;
    margin-bottom: 20px;
}

.slideshow-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.slideshow-prev,
.slideshow-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slideshow-dot.active {
    background: #005792;
}

/* Property Slideshow Styles */
.property-img-slideshow {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 0.5s ease;
}

.property-slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.property-img-slideshow:hover .property-slideshow-controls {
    opacity: 1;
}

.property-slideshow-prev,
.property-slideshow-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.property-slideshow-prev:hover,
.property-slideshow-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.property-slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 5;
}

.property-slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.property-slideshow-dot.active {
    background: white;
}

/* Map Popup Styles */
.map-popup {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 200px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 100;
    padding: 15px;
}

.map-popup h4 {
    color: #002B5B;
    margin-bottom: 8px;
    font-size: 14px;
}

.map-popup p {
    color: #666;
    font-size: 13px;
    margin: 0;
}

/* Modal Description Styles */
.modal-description {
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.modal-description h4 {
    color: #002B5B;
    margin-bottom: 10px;
}

.modal-description p {
    color: #555;
    line-height: 1.6;
}

/* Modal Details Grid */
.modal-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.detail-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.detail-item h4 {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.detail-item p {
    color: #002B5B;
    font-weight: 500;
    margin: 0;
    font-size: 16px;
}

/* Remove duplicate styles and ensure proper modal styling */
.modal-content {
    background: white;
    margin: 50px auto;
    max-width: 800px;
    border-radius: 8px;
    position: relative;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #666;
    z-index: 10;
}

.close-modal:hover {
    color: #000;
}

.modal-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-header h3 {
    color: #002B5B;
    font-size: 24px;
    margin-bottom: 5px;
}

.modal-header p {
    color: #00A8CC;
    font-weight: 500;
    margin: 0;
}

/* Slideshow Styles */
.property-slideshow {
    position: relative;
    margin-bottom: 20px;
}

.slideshow-container {
    position: relative;
    height: 300px;
    overflow: hidden;
    border-radius: 8px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    background-size: cover;
    background-position: center;
}

.slide.active {
    opacity: 1;
}

.slideshow-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
}

.slideshow-prev,
.slideshow-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.3s;
}

.slideshow-prev:hover,
.slideshow-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slideshow-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    gap: 5px;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.slideshow-dot.active {
    background: #005792;
}

/* WhatsApp Button */
.whatsapp-btn {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.whatsapp-btn:hover {
    background: #128C7E;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        padding: 20px;
        max-height: 95vh;
        overflow-y: auto;
    }
    
    .modal-details {
        grid-template-columns: 1fr;
    }
    
    .slideshow-container {
        height: 200px;
    }
    
    .map-popup {
        width: 150px;
        right: -30px;
    }
}
.property-img-slideshow {
    height: 250px;
    background-size: cover;
    background-position: center;
    position: relative;
    transition: background-image 0.5s ease;
}

.property-img-slideshow img {
    display: none; /* Hide the img element, we're using background-image */
}

/* Ensure the slideshow controls are visible on hover */
.property-img-slideshow:hover .property-slideshow-controls {
    opacity: 1;
}

/* Make sure the slideshow dots are visible */
.property-slideshow-dots {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 5;
}

/* Video Section */
/* Video Background Section */
/* Video Background Section */
.video-background-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    width: 100%;
    overflow: hidden;
    isolation: isolate; /* Creates a new stacking context */
}

.video-background-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 1; /* Video behind overlay */
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 47, 85, 0.85) 0%, rgba(0, 27, 55, 0.8) 100%);
    z-index: 2; /* Overlay on top of video */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Added for text centering */
}

.video-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 3; /* Content on top of overlay */
    width: 100%; /* Ensure it takes full width */
}

.video-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.video-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers horizontally */
    justify-content: center; /* This centers vertically if needed */
    text-align: center;
    margin: 0 auto; /* Center the container itself */
}

.video-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin: 50px 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
    width: 100%; /* Ensure full width */
}

.stat-item {
    text-align: center;
    animation: fadeInUp 1s ease-out 0.6s both;
    flex: 0 0 auto; /* Don't allow items to grow/shrink */
}

.stat-item:nth-child(2) {
    animation-delay: 0.8s;
}

.stat-item:nth-child(3) {
    animation-delay: 1s;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
    animation: fadeInUp 1s ease-out 1.2s both;
    display: inline-block; /* Changed from default to inline-block */
    margin-top: 20px; /* Added some spacing from stats */
}

.btn-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff7d4d 0%, #f8a34a 100%);
}

/* Animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .video-content h2 {
        font-size: 3rem;
    }
    
    .video-content p {
        font-size: 1.2rem;
    }
}

@media (max-width: 992px) {
    .video-content h2 {
        font-size: 2.5rem;
    }
    
    .video-content p {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .video-stats {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .video-background-section {
        min-height: 500px;
    }
    
    .video-content h2 {
        font-size: 2rem;
    }
    
    .video-content p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .video-stats {
        gap: 30px;
        margin: 30px 0;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 30px);
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .btn-large {
        padding: 12px 30px;
        font-size: 1.1rem;
    }
}

@media (max-width: 576px) {
    .video-content h2 {
        font-size: 1.8rem;
    }
    
    .video-content p {
        font-size: 0.95rem;
    }
    
    .video-stats {
        gap: 20px;
        flex-direction: column; /* Stack stats vertically on mobile */
        align-items: center;
    }
    
    .stat-item {
        flex: 0 0 auto;
        width: 100%;
        max-width: 200px;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .btn-large {
        padding: 10px 25px;
        font-size: 1rem;
    }
}

/* Fallback for browsers that don't support video */
.no-video .video-background-section {
    background: linear-gradient(135deg, #002f55 0%, #001b37 100%);
    background-image: url('../assets/video/video-poster.jpg');
    background-size: cover;
    background-position: center;
}

/* Responsive Properties Grid */
@media (max-width: 992px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
        gap: 20px;
    }
    .property-img-slideshow {
        height: 220px;
    }
}

@media (max-width: 600px) {
    .property-grid {
        grid-template-columns: 1fr; /* 1 per row on mobile */
        gap: 20px;
    }
    .property-card {
        max-width: 100%;
    }
    .property-img-slideshow {
        height: 200px;
    }
    .property-content h3 {
        font-size: 1rem;
    }
    .property-content p {
        font-size: 0.85rem;
    }
    .currency-toggle {
        justify-content: center;
    }
}

/* Mobile-friendly pagination */
@media (max-width: 600px) {
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    .pagination a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
}

/* Responsive Contact + FAQ Section */
@media (max-width: 992px) {
    .contact-faq-container {
        grid-template-columns: 1fr; /* stack vertically */
        gap: 30px;
    }

    .contact-form-container,
    .faq-container {
        width: 100%;
    }
}

/* Improve FAQ on small screens */
@media (max-width: 600px) {
    .faq-question {
        padding: 15px;
    }
    .faq-question h4 {
        font-size: 1rem;
    }
    .faq-toggle {
        font-size: 1rem;
    }
    .faq-answer p {
        font-size: 0.9rem;
    }
}
@media (max-width: 600px) {
    .property-price {
        font-size: 1rem;   /* smaller on mobile */
        text-align: center;
    }
}
/* Mobile modal details stack */
@media (max-width: 600px) {
    .modal-details {
        grid-template-columns: 1fr;
    }
}
/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 20px;
    z-index: 1000;
    display: none;
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.cookie-consent p {
    margin: 0;
    flex: 1;
    min-width: 300px;
}

.cookie-consent-buttons {
    display: flex;
    gap: 10px;
}

.cookie-consent-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.cookie-consent-accept {
    background: #4CAF50;
    color: white;
}

.cookie-consent-reject {
    background: #f44336;
    color: white;
}

.cookie-consent-settings {
    background: #2196F3;
    color: white;
}

/* Privacy Policy Link in Footer */
.privacy-link {
    color: #fff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Privacy Policy Modal */
.privacy-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    overflow-y: auto;
}

.privacy-modal-content {
    background: white;
    margin: 50px auto;
    padding: 30px;
    border-radius: 10px;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-privacy-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}