/* ================= GLOBAL RESETS & FONTS ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #fefcfd;
    font-family: 'Italiana', serif;
    overflow-x: hidden;
    width: 100%;
}

h1, h2, h3, p {
    font-family: 'Italiana', serif;
    margin: 0;
}

/* ================= NAVBAR ================= */
.navbar {
    border-radius: 12px;
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 1000px;
    padding: 0.6rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(38, 62, 110, 0.85); /* Slightly darker for better contrast */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo img {
    height: 48px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-links {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}
.navbar-links:hover {
    color: #ccc;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    height: 24px;
    width: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 0;
}

.bar {
    height: 2px;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Toggle Animation */
.navbar-toggle.active .bar:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.navbar-toggle.active .bar:nth-child(2) { opacity: 0; }
.navbar-toggle.active .bar:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.bttn {
    background: rgba(255, 255, 255, 0.15);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-family: 'Inter', sans-serif;
}
.bttn:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* ================= HERO SECTION ================= */
.reales-hero {
    position: relative;
    width: 90%;
    max-width: 1400px;
    height: 60vh;
    overflow: hidden;
    margin: 120px auto 40px auto; /* Adjusted top margin for fixed nav */
    border-radius: 30px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
}

.reales-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
    opacity: 0.8;
}

.reales-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.reales-hero-text {
    text-align: center;
    color: white;
    padding: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    width: 90%;
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    margin-bottom: 20px;
}
.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 400;
}

/* ================= PARTNER CARDS ================= */
.property-cards {
    margin: 60px auto;
    padding: 0 20px;
    width: 100%;
    max-width: 1400px;
}

.section-title {
    color: rgb(74, 74, 74);
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-desc {
    color: rgb(74, 74, 74);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 30px auto;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
}

.realestate-premium__scroll-container {
    position: relative;
    padding: 1rem 0;
    display: flex;
    align-items: center;
}

.realestate-premium__card-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 25px 5px;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    width: 100%;
    -ms-overflow-style: none; /* IE/Edge */
    scrollbar-width: none; /* Firefox */
}
.realestate-premium__card-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.realestate-premium__card {
    scroll-snap-align: center;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.3s ease;
}
.realestate-premium__card:hover {
    transform: translateY(-5px);
}

.realestate-premium__image-wrapper {
    height: 250px;
    position: relative;
}

.realestate-premium__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.realestate-premium__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.3s;
}
.realestate-premium__image-wrapper:hover .realestate-premium__video {
    opacity: 1;
}
.realestate-premium__overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.realestate-premium__card-content {
    text-align: center;
    padding: 15px;
}
.realestate-premium__subtitle {
    font-weight: 800;
    font-size: 1.2rem;
    color: #0d1b2a;
    margin-top: 10px;
}
.realestate-premium__description {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 10px;
    font-family: 'Inter', sans-serif;
}

.card-btn {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
}
.card-btnn {
    background: #263e6e;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
}
.card-btnn:hover {
    background: #1a2a4a;
}

.scroll-nav {
    background: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    z-index: 2;
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
}
.scroll-nav:hover {
    background: #f0f0f0;
}
.scroll-left { left: 0; }
.scroll-right { right: 0; }

/* ================= VISION & MISSION ================= */
.ali {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 60px;
}

.Vision {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
    padding: 30px;
    width: 90%;
    max-width: 1200px;
}

.background {
    background-color: #ffe5bc;
    border-radius: 30px;
}

.Vision video, .Vision img {
    width: 50%;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vision-text {
    width: 50%;
}

.vision-title {
    font-size: 3rem;
    font-weight: bolder;
    color: rgb(74, 74, 74);
    margin-bottom: 20px;
}

.vision-desc {
    font-size: 1.1rem;
    font-weight: lighter;
    color: rgb(74, 74, 74);
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

/* ================= CONTACT SECTION ================= */
.contactpro {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    padding: 60px 20px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.contact_cont {
    flex: 1;
    min-width: 300px;
}
.contact_cont img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-section {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 40px;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.contact-heading { 
    color: #1a1a1a; 
    font-size: 2.5rem; 
    margin-bottom: 10px; 
}
.contact-subtitle { 
    color: #555; 
    margin-bottom: 30px; 
    font-family: 'Inter', sans-serif; 
}

.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    outline: none;
    font-size: 1rem;
}
.contact-form button {
    padding: 15px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
    font-size: 1rem;
}
.contact-form button:hover {
    background: #1ebc57;
    transform: translateY(-2px);
}

/* ================= MAP ================= */
.map-container {
    width: 90%;
    max-width: 1400px;
    height: 400px;
    margin: 20px auto 80px auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* ================= LUXURY FOOTER (MATCHING INDEX) ================= */
.luxury-footer {
    background-color: #121212; /* Deep Black */
    color: #EBDDBF; /* Brand Beige */
    font-family: 'Inter', sans-serif;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid #333;
}

/* --- Newsletter Section --- */
.footer-newsletter {
    border-bottom: 1px solid rgba(235, 221, 191, 0.1);
    padding-bottom: 60px;
    margin-bottom: 60px;
    display: flex;
    justify-content: center;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
}

.newsletter-content h3 {
    font-family: 'Italiana', serif;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 10px;
}

.newsletter-content p {
    color: #999;
    margin-bottom: 30px;
    font-weight: 300;
    /* ADD THESE TWO LINES */
    font-family: 'Inter', sans-serif; /* Forces it to match the Index page */
    font-weight: 600; /* Makes it bold */
}

.newsletter-form {
    position: relative;
    display: flex;
    align-items: center;
}

.newsletter-form input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 15px 0;
    color: #fff;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-form input:focus {
    border-bottom-color: #C43A2A; /* Brand Red */
}

.newsletter-form button {
    background: none;
    border: none;
    color: #C43A2A;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 10px;
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.newsletter-form button:hover {
    transform: translateX(5px);
}

/* --- Main Footer Content --- */
.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 60px;
    padding: 0 40px;
}

.footer-col h4 {
    font-family: 'Italiana', serif;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.footer-logo {
    height: 60px;
    margin-bottom: 25px;
    filter: brightness(0) invert(1) sepia(0.2) saturate(0.5) hue-rotate(20deg); 
}

.brand-desc {
    color: #888;
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: bold;
    /* ADD THESE TWO LINES */
    font-family: 'Inter', sans-serif; /* Forces it to match the Index page */
    font-weight: 600; /* Makes it bold */
    
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    position: relative;
}

.footer-col a:hover {
    color: #C43A2A; /* Brand Red */
    padding-left: 5px;
}

.phone-link {
    display: block;
    margin-top: 15px;
    font-size: 1.1rem;
    color: #fff !important;
}

/* --- Social Icons --- */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #C43A2A;
    border-color: #C43A2A;
    color: #fff;
    transform: translateY(-3px);
}

/* --- Bottom Bar --- */
.footer-bottom {
    margin-top: 80px;
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
}

/* Add this to about.css to fix the copyright font */
.footer-bottom p {
    font-family: 'Inter', sans-serif;
    font-weight: 400; /* Optional: adjust weight if needed */
    letter-spacing: 0.5px; /* Optional: improves readability for small text */
}

.legal-links a {
    color: #666;
    margin-left: 20px;
    transition: color 0.3s;
}

.legal-links a:hover {
    color: #C43A2A;
}

/* ================= MOBILE MEDIA QUERIES ================= */
@media screen and (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 768px) {
    /* Navbar Mobile */
    .navbar {
        width: 95%;
        top: 10px;
        padding: 0.5rem 1rem;
    }
    .navbar-toggle { display: flex; }
    .navbar-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: rgba(40, 40, 40, 0.95);
        backdrop-filter: blur(20px);
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    }
    .navbar-menu.active {
        max-height: 500px;
        padding: 20px 0;
    }
    .navbar-item { width: 100%; text-align: center; margin: 10px 0; }
    .navbar-links { font-size: 1.1rem; }

    /* Hero Mobile */
    .reales-hero {
        width: 95%;
        height: 50vh;
        margin-top: 100px;
    }
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1rem; }

    /* Cards Mobile */
    .property-cards h1 { font-size: 1.8rem; }
    .scroll-nav { display: none; }
    .realestate-premium__card-track { padding-left: 10px; } 

    /* Vision & Mission Mobile */
    .ali { margin-bottom: 20px; }
    .Vision {
        flex-direction: column;
        width: 95%;
        padding: 20px;
        gap: 30px;
    }
    .reverse-mobile { flex-direction: column-reverse; }

    .Vision video, .Vision img, .vision-text {
        width: 100%;
    }
    .vision-title { font-size: 2rem; text-align: center; }
    .vision-desc { font-size: 1rem; text-align: center; }

    /* Contact Mobile */
    .contactpro {
        flex-direction: column;
        padding: 40px 15px;
    }
    .contact-heading { font-size: 1.8rem; text-align: center; }
    .contact-subtitle { text-align: center; }

    /* Footer Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-newsletter {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }
    
    .social-links {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .legal-links a {
        margin: 0 10px;
    }
}