/* Mobile contact info styling - Removing this block as it is redefined below */
:root {
    --primary-color: #002b44; /* Logo Navy Blue */
    --secondary-color: #d4b062; /* Logo Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

/* Typography */
h1, h2, h3, h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn:hover {
    background-color: #bfa145;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* Header */
header {
    background-color: var(--bg-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--primary-color);
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.header-contact {
    font-weight: 600;
    color: var(--primary-color);
}

.header-contact i {
    color: var(--secondary-color);
    margin-right: 8px;
}

.mobile-menu-btn {
    display: none;
    border: none;
    background: none;
    padding: 0;
    line-height: 1;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.nav-links a:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 3px;
}

/* Video Section */
.video-section {
    width: 100%;
    margin-top: 80px; /* Offset fixed header */
    background: #000;
    overflow: hidden;
    line-height: 0;
}

.video-section-player {
    width: 100%;
    max-height: 80vh;
    object-fit: cover;
    display: block;
}

/* Hero Section */
.hero {
    min-height: calc(100vh - 80px);
    min-height: calc(100dvh - 80px);
    margin-top: 80px; /* push below fixed header */
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0, 43, 91, 0.7), rgba(0, 43, 91, 0.7));
    z-index: 2;
}

.hero-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-video-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5rem;
    color: white;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    flex: 0 1 calc((100% - 60px) / 3);
    max-width: calc((100% - 60px) / 3);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.icon-box {
    width: 100%;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin: 0 auto 20px;
}

.icon-box i {
    font-size: 2rem;
    color: var(--secondary-color);
}

.service-photo {
    width: 100%;
    height: 170px;
    border-radius: 10px;
    object-fit: cover;
}

.service-banner {
    width: 100%;
    height: 170px;
    border-radius: 10px;
    background: linear-gradient(135deg, #002b44 0%, #004268 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.service-banner::before {
    content: '';
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(212, 176, 98, 0.1);
    bottom: -35px;
    right: -35px;
}

.service-banner::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(212, 176, 98, 0.07);
    top: -20px;
    left: -20px;
}

.service-banner i {
    font-size: 3rem;
    color: #d4b062;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 3px 12px rgba(212, 176, 98, 0.35));
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

.service-card .service-lead {
    color: #4d4d4d;
    font-weight: 500;
    margin-bottom: 14px;
}

.service-card .service-points {
    text-align: left;
    margin: 0;
    padding-left: 18px;
}

.service-card .service-points li {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 10px;
    line-height: 1.55;
}

.service-card .service-points li:last-child {
    margin-bottom: 0;
}

.service-card .service-highlight {
    margin-top: 14px;
    color: var(--primary-color);
    font-weight: 700;
}

@media (max-width: 1024px) {
    .service-card {
        flex: 0 1 calc((100% - 30px) / 2);
        max-width: calc((100% - 30px) / 2);
    }
}

@media (max-width: 768px) {
    .service-card {
        flex: 0 1 100%;
        max-width: 100%;
    }
}

/* Featured Properties */
.properties {
    padding: 80px 0;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.property-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
}

.property-card:hover {
    border-bottom: 3px solid var(--secondary-color);
    transform: translateY(-5px);
}

.property-img-container {
    position: relative;
    overflow: hidden;
}

.property-img {
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 2px;
}

.property-info {
    padding: 20px;
}

.property-type {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.property-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.property-desc {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.property-price {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.property-features {
    display: flex;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid #eee;
    color: #666;
    font-size: 0.9rem;
}

.property-features span {
    display: flex;
    align-items: center;
}

.property-features i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.center-btn {
    text-align: center;
    margin-top: 40px;
}

/* Collaborators Section */
.collaborators {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 12% 16%, rgba(212, 176, 98, 0.2), transparent 40%),
        radial-gradient(circle at 88% 18%, rgba(0, 43, 68, 0.12), transparent 38%),
        linear-gradient(160deg, #f6f2e8 0%, #ffffff 48%, #eef4f7 100%);
    overflow: hidden;
}

.collaborators::before,
.collaborators::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.collaborators::before {
    width: 220px;
    height: 220px;
    left: -70px;
    bottom: -95px;
    background: rgba(0, 43, 68, 0.12);
}

.collaborators::after {
    width: 300px;
    height: 300px;
    right: -125px;
    top: -145px;
    background: rgba(212, 176, 98, 0.2);
}

.collaborators .container {
    position: relative;
    z-index: 1;
}

.collaborators .section-title p {
    max-width: 720px;
    margin: 0.2rem auto 0;
    color: #4f5d69;
}

.collaborators-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 24px;
}

.collaborator-card {
    position: relative;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 16px;
    text-align: center;
    padding: 20px 20px 22px;
    border: 1px solid rgba(0, 43, 68, 0.12);
    backdrop-filter: blur(5px);
    box-shadow: 0 14px 28px rgba(0, 30, 54, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    flex: 0 1 260px;
    max-width: 290px;
    width: 100%;
}

.collaborator-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 34px rgba(0, 30, 54, 0.15);
}

.collaborator-card::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(0, 43, 68, 0.3), rgba(212, 176, 98, 0.9));
}

.collaborator-icon {
    width: 100%;
    aspect-ratio: 16 / 11;
    height: auto;
    margin: 0 0 14px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.collaborator-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.collaborator-card h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
    color: var(--primary-color);
}

.collaborator-companies {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    min-height: 28px;
}

.collaborator-companies span {
    background: rgba(255, 255, 255, 0.92);
    color: var(--primary-color);
    border: 1px solid rgba(0, 43, 68, 0.2);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-weight: 600;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--primary-color);
    color: white;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    min-width: 300px;
}

.about-text h2 {
    color: white;
}

.about-text p {
    margin-bottom: 20px;
    color: #e0e0e0;
    overflow-wrap: anywhere;
}

.about-highlights {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
}

.about-highlight {
    color: var(--secondary-color);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.about-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    text-align: center;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contact Section */
.contact {
    padding: 80px 0;
}

.contact-container {
    display: flex;
    justify-content: center;
    gap: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-info {
        grid-template-columns: 1fr;
    }
}

.contact-info-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.contact-details p {
    color: #666;
}

.map-placeholder {
    width: 100%;
    height: 250px;
    background-color: #eee;
    margin-top: 30px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #888;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 40px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

textarea.form-control {
    resize: vertical;
    height: 120px;
}

/* Footer */
footer {
    background-color: #050f1e;
    color: white;
    padding: 50px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col {
    flex: 1;
    min-width: 200px;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #aaa;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background-color: rgba(255,255,255,0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

.copyright {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links, .header-contact {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    /* Mobile Menu Contact Layout */
    .mobile-contact-item {
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid #eee;
    }

    .mobile-contact-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-contact-info a,
    .mobile-contact-info span {
        display: flex; /* align icon and text */
        align-items: center;
        gap: 10px;
        color: var(--primary-color);
        font-size: 0.95rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .about-content {
        flex-direction: column;
        gap: 24px;
    }

    .about-text,
    .about-stats {
        min-width: 0;
        width: 100%;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .about-highlight {
        width: 100%;
    }

    .service-card {
        text-align: center;
    }

    .icon-box {
        border-radius: 10px;
    }

    .service-photo {
        height: 170px;
        border-radius: 10px;
    }

    .service-card .service-points {
        text-align: center;
        padding-left: 0;
    }

    .collaborators-grid {
        justify-content: center;
        gap: 18px;
    }

    .collaborator-card {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
    }

}

/* Hide mobile contact item on desktop */
@media (min-width: 769px) {
    .mobile-contact-item {
        display: none;
    }
}

/* 404 Page */
.error-page {
    min-height: 100vh;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.error-hero {
    height: auto;
    margin-top: 80px;
    min-height: calc(100dvh - 80px);
    background: linear-gradient(rgba(0, 43, 91, 0.78), rgba(0, 43, 91, 0.78)), url('photos/Photo 10-2-26, 4 06 28 PM.jpg');
    background-size: cover;
    background-position: center;
    padding: 40px 0;
}

.error-content {
    text-align: center;
    width: 100%;
    max-width: 720px;
}

.error-code {
    font-size: 1rem;
    letter-spacing: 0.3rem;
    text-transform: uppercase;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .error-hero {
        min-height: calc(100dvh - 80px);
        padding: 24px 0;
    }

    .error-content {
        padding: 0 16px;
    }

    .error-content .hero h1,
    .error-content h1 {
        font-size: 2.1rem;
        line-height: 1.2;
    }

    .error-content p {
        font-size: 1rem;
        word-break: break-word;
    }

    .error-code {
        letter-spacing: 0.18rem;
    }
}
/* ===== Floating WhatsApp Button ===== */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 9999;
    background-color: #25D366;
    color: #fff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.whatsapp-float:hover {
    background-color: #1da851;
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(0,0,0,0.28);
}
