/* ══ SITE STYLES ══ */
:root {
    --gold: #D4AF37; --gold-dark: #B49023; --gold-light: #d4af37;
    --text-black: #1A1A1A; --text-grey: #4a4a4a;
    --bg-white: #FFFFFF; --bg-off-white: #FAFAFA;
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}
html.lenis, html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-smooth iframe {
    pointer-events: none;
}
/* Changed Font to Times New Roman */
html, body { max-width: 100%; background: #ffffff; font-family: "Times New Roman", Times, serif; }
body {
    margin: 0;
    padding: 0;
}

.btn { display: inline-block; padding: 12px 35px; background: var(--text-black); color: white; text-transform: uppercase; font-size: 13px; font-weight: 600; letter-spacing: 1px; border: 1px solid var(--text-black); transition: all 0.3s ease; cursor: pointer; text-decoration: none; font-family: "Times New Roman", Times, serif; }
.btn:hover { background: #333333; color: white; border-color: var(--gold); }
.center-btn { display: table; margin: 40px auto 0; }
section { padding: 80px 5%; }
.hero { position: relative; height: 90vh; width: 100%; overflow: hidden; padding: 0; }
.hero video { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }

/* ══ MATCHING PROPERTY CARDS (AVAILABLE PROPERTIES DESIGN) ══ */
.property-listing { 
    background: var(--bg-off-white); 
    padding: 80px 0; 
}

.custom-cards { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); /* Enforces strictly 3 columns */
    gap: 30px; 
    padding: 0 5%; 
    max-width: 1400px;
    margin: 40px auto 0;
}

/* Card responsive rules to shrink columns when on smaller screens */
@media (max-width: 1024px) {
    .custom-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .custom-cards { grid-template-columns: 1fr; }
}

.card { 
    background: #e5e5e5; 
    border-radius: 16px; /* Rounded card corners */
    padding: 15px;       /* Padding inside the card around the image */
    box-shadow: 0 4px 15px rgba(0,0,0,0.04); 
    border: 1px solid #f2f2f2; 
    transition: transform 0.3s ease, box-shadow 0.3s ease; 
    display: flex; 
    flex-direction: column; 
}

.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 12px 25px rgba(0,0,0,0.08); 
}

.card-img-wrapper {
    width: 100%;
    height: 280px; /* INCREASED HEIGHT */
    border-radius: 12px; /* Rounded image corners */
    overflow: hidden;
    margin-bottom: 20px;
}

.card-img-wrapper img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    display: block; 
    transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.1rem;
    margin: 0;
    color: var(--text-black);
    font-family: "Times New Roman", Times, serif;
    font-weight: bold;
    line-height: 1.3;
}

.card-price {
    font-weight: bold;
    color: black;
    font-size: 1.1rem;
    white-space: nowrap;
    font-family: "Times New Roman", Times, serif;
}
.card-location { 
    color: #777; 
    font-size: 0.85rem; 
    margin: 6px 0 18px; 
    
    /* These properties prevent the card from stretching */
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    width: 100%; 
    display: block; 
}

/* Adds spacing between the icon and the text since we removed flex gap */
.card-location i {
    margin-right: 5px;
}
/* ══ TAGS (LOCATION, BEDS, BATHS) ══ */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tag {
    font-size: 0.75rem;
    color: #666;
    border: 1px solid #eaeaea;
    padding: 6px 10px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f3f3f3;
    font-family: "Times New Roman", Times, serif;
}

.tag i {
    color: #999;
}

/* ══ ACTIONS (BUTTONS) ══ */
.card-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: auto;
}

.btn-view-details {
    flex: 1;
    background: #000000;
    color: white;
    text-align: center;
    padding: 14px;
    border-radius: 25px; /* Pill-shaped button */
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    font-family: "Times New Roman", Times, serif;
}

.btn-view-details:hover {
    background: #333333;
    color: #ffffff;
}

.btn-heart {
    width: 46px;
    height: 46px;
    border: 1px solid #eaeaea;
    background: #fdfdfd;
    border-radius: 50%; /* Circle button */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #555;
    font-size: 1.1rem;
}

.btn-heart:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: #fff9ea;
}
        
.logo-slider { width: 100%; overflow: hidden; position: relative; padding: 40px 0; background: #ffffff; }
.logos-track { display: flex; width: max-content; animation: slide-infinite 45s linear infinite; margin-top: 30px; }
.logos-track img { height: 140px; width: auto; margin: 0 40px; flex-shrink: 0; } /* INCREASED HEIGHT */
@keyframes slide-infinite { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Updated Achievements Design */
.achievement { background: #ffffff; padding-bottom: 80px; }
.achievement-lists { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; padding: 0 5%; }
.achievement-item { 
    background: #fff; 
    border-left: 2px solid #D4AF37; /* Thin golden line */
    padding: 20px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.03); 
    transition: transform 0.3s ease; 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}
.achievement-item:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0,0,0,0.08); }
.ach-year { font-weight: bold; color: #D4AF37; font-size: 1.2rem; min-width: 50px; }
.ach-title { font-weight: normal; color: #333; line-height: 1.3; font-size: 1rem; }
@media (max-width: 1024px) { .achievement-lists { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .achievement-lists { grid-template-columns: 1fr; } }

/* Updated Brand/Mission Design */
.brand { 
    background-color: #444444; /* Changed to dark backgroun to match images */
    color: #ffffff; 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    padding: 100px 5%;
}
.brand h1 { color: #D4AF37; letter-spacing: 5px; font-size: 3rem; font-family: "Times New Roman", Times, serif; margin-bottom: 20px; }
.brand-text { max-width: 700px; margin: 20px auto 40px; color: #dddddd; font-size: 1.1rem; font-weight: 300; text-transform: uppercase; letter-spacing: 1px; }
.brand-btn { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.brand-btn:hover { background: var(--gold); color: #111; border-color: var(--gold); }

.founder { display: flex; align-items: center; justify-content: space-between; padding: 80px 10%; background: var(--bg-white); gap: 50px; }
.about-founder { flex: 1; } .about-founder h2 { font-size: 2.5rem; font-family: "Times New Roman", Times, serif; } .about-founder p { margin: 20px 0 30px; color: var(--text-grey); }
.read-more { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 15px; border-bottom: 2px solid var(--gold); padding-bottom: 2px; text-decoration: none; }
.founder-image { flex: 1; } .founder-image img { width: 100%; max-width: 450px; height: auto; border-radius: 2px; box-shadow: 20px 20px 0px var(--gold-light); }

/* --- UPDATED FOOTER DESKTOP STYLES --- */
.footer { 
    background: white; 
    border-top: 4px solid #D4AF37; 
    padding: 25px 5%; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    flex-wrap: wrap; 
    gap: 20px;
}
.footer-left { 
    display: flex; 
    align-items: center; 
    gap: 25px; 
} 
.footer-left img { 
    height: 150px; 
    padding-right: 25px; 
    border-right: 1px solid #ddd; 
}
.footer-center {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-center p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    display: flex;
    align-items: center;
    gap: 12px;
}
.footer-center p i {
    color: var(--gold, #D4AF37);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}
.footer-center a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-center a:hover {
    color: var(--gold, #D4AF37);
}
.socials { display: flex; gap: 15px; } 
.socials a { color: var(--text-black); text-decoration: none; font-size: 1.2rem; } 
.socials i { transition: transform 0.3s ease, color 0.3s ease; }
.socials a:hover i { color: #D4AF37; transform: translateY(-2px); } 
.footer-right p { 
    color: #888; 
    font-size: 0.85rem; 
    margin: 0;
}

@media (max-width: 768px) {
    .nav-links { display: none; flex-direction: column; position: absolute; top: 70px; right: 0; background: white; width: 100%; padding: 20px 0; box-shadow: 0 10px 10px rgba(0,0,0,0.1); }
    .hamburger { display: flex; }
    .founder { flex-direction: column-reverse; text-align: center; }
    .founder-image img { max-width: 90%; box-shadow: 10px 10px 0px var(--gold-light); }
    .brand h1 { font-size: 2rem; }
    
    /* --- UPDATED MOBILE FOOTER STACKING --- */
    .footer { 
        flex-direction: column; 
        gap: 30px; 
        text-align: center; 
        padding: 40px 5%;
    } 
    .footer-left { 
        flex-direction: column; 
    } 
    .footer-left img { 
        border-right: none; 
        padding-right: 0; 
        padding-bottom: 20px;
        border-bottom: 1px solid #ddd;
    }
    .footer-center {
        align-items: center; /* Centers the text and icons on mobile */
    }
    
    /* --- NEW HERO VIDEO FIX FOR MOBILE --- */
    .hero { 
        height: auto;           /* Removes the strict 90vh height */
        aspect-ratio: 16 / 9;   /* Locks the container into a standard widescreen video ratio */
        background: #000;       /* Gives it a black background like a real video player */
    }
    .hero video { 
        object-fit: contain;    /* Shrinks the video to be 100% visible instead of cropping */
    }
}

/* Refined Section Headers */
.section-header { width: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 10px; margin-bottom: 20px; text-align: center; }
.section-header h2 { font-family: "Times New Roman", Times, serif; font-size: 2.5rem; font-weight: 700; color: black; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 2px; word-spacing: 5px; }
.underline { width: 60px; height: 4px; background-color: #f39c12; border-radius: 2px; transition: width 0.3s ease; }
.section-header:hover .underline { width: 120px; }

/* ══ SCROLL REVEAL ANIMATIONS ══ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Slight variants for visual variety */
.reveal-left  { opacity: 0; transform: translateX(-50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-left.active  { opacity: 1; transform: translateX(0); }

.reveal-right { opacity: 0; transform: translateX(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right.active { opacity: 1; transform: translateX(0); }

.reveal-scale { opacity: 0; transform: scale(0.9); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-scale.active { opacity: 1; transform: scale(1); }

/* Stagger children (e.g. property cards, achievement items) */
.custom-cards .card,
.achievement-lists .achievement-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.custom-cards.active .card,
.achievement-lists.active .achievement-item {
    opacity: 1;
    transform: translateY(0);
}
.custom-cards.active .card:nth-child(1) { transition-delay: 0.05s; }
.custom-cards.active .card:nth-child(2) { transition-delay: 0.15s; }
.custom-cards.active .card:nth-child(3) { transition-delay: 0.25s; }
.custom-cards.active .card:nth-child(4) { transition-delay: 0.35s; }
.achievement-lists.active .achievement-item:nth-child(1) { transition-delay: 0.05s; }
.achievement-lists.active .achievement-item:nth-child(2) { transition-delay: 0.1s; }
.achievement-lists.active .achievement-item:nth-child(3) { transition-delay: 0.15s; }
.achievement-lists.active .achievement-item:nth-child(4) { transition-delay: 0.2s; }


/* =========================================================
   OFFICE LOCATION & CONTACT SECTION
   ========================================================= */
.office-location {
    padding: 60px 8%;
    background-color: #fcfcfc;
}

.location-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
    margin-top: 30px;
}

/* --- Left Column: Contact Details & Form --- */
.contact-details {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-details h3 {
    font-size: 1.8rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.contact-subtext {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 25px;
    line-height: 1.5;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    color: #333;
    font-size: 0.95rem;
}

.info-list li i {
    color: var(--gold, #d4af37);
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.quick-inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-inquiry-form input,
.quick-inquiry-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: "Times New Roman", Times, serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.quick-inquiry-form input:focus,
.quick-inquiry-form textarea:focus {
    border-color: var(--gold, #d4af37);
}

.contact-btn {
    align-self: flex-start;
    padding: 12px 30px;
    background-color: var(--gold, #d4af37);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: opacity 0.3s ease;
    font-family: "Times New Roman", Times, serif;
}

.contact-btn:hover {
    opacity: 0.9;
}

/* --- Right Column: Map Container --- */
.map-wrapper {
    width: 100%;
    min-height: 420px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 2px solid rgba(212, 175, 55, 0.3); /* Subtle gold accent border */
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Responsive adjustments for mobile/tablets */
@media (max-width: 900px) {
    .location-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .map-wrapper {
        min-height: 320px;
    }
}

/* --- Branch Tabs Styling --- */
.branch-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    background-color: #eee;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    color: #555;
    transition: all 0.3s ease;
    font-family: "Times New Roman", Times, serif;
}

.tab-btn:hover {
    background-color: #e0e0e0;
}

.tab-btn.active {
    background-color: var(--gold, #d4af37);
    color: #fff;
    border-color: var(--gold, #d4af37);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

/* --- Map Toggle Functionality --- */
.branch-map {
    display: none; /* Hide maps by default */
}

.branch-map.active-map {
    display: block; /* Only show the active map */
}