:root {
    --navy-blue: #003B5C;
    --gold: #D4AF37;
    --light-gold: #F5E6C8;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #6C757D;
    --text-dark: #212529;
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--navy-blue) 0%, #004d76 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.spinner-border {
    width: 4rem;
    height: 4rem;
    border-width: 0.4em;
}

.navbar {
    background: var(--navy-blue) !important;
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.logo-placeholder {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
}

.logo-placeholder i {
    font-size: 2rem;
    color: var(--gold);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.navbar-nav .nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link:hover {
    color: var(--gold) !important;
}

.dropdown-menu {
    background: var(--white);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 0.5rem 0;
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-item {
    padding: 0.7rem 1.5rem;
    color: var(--navy-blue);
    font-weight: 500;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-gold);
    color: var(--navy-blue);
    padding-left: 2rem;
}

.dropdown-item i {
    color: var(--gold);
}

.btn-gold {
    background: var(--gold);
    color: var(--navy-blue);
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #C19B2E;
    color: var(--navy-blue);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
}

.btn-navy {
    background: var(--navy-blue);
    color: var(--white);
    border: none;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-navy:hover {
    background: #004d76;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 59, 92, 0.4);
}

.hero-section {
    min-height: 90vh;
    position: relative;
}

.hero-slide {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.animate-slide-up {
    animation: slideUp 1s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-buttons .btn {
    margin: 0.5rem;
}

.stats-section {
    background: var(--white);
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
    display: inline-block;
    transition: all 0.5s ease;
}

.rotate-on-hover {
    animation: rotateIcon 3s ease-in-out infinite;
}

@keyframes rotateIcon {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(10deg); }
    75% { transform: rotate(-10deg); }
}

.stat-card:hover .stat-icon {
    transform: rotate(360deg);
    color: var(--navy-blue);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--dark-gray);
    font-weight: 500;
}

.section-title {
    margin-bottom: 3rem;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 1rem auto;
    border-radius: 2px;
}

.fade-in {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.property-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.property-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.property-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.property-card:hover .property-image img {
    transform: scale(1.1);
}

.property-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--navy-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    z-index: 2;
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 59, 92, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.property-card:hover .property-overlay {
    opacity: 1;
}

.property-content {
    padding: 1.5rem;
}

.property-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.property-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--navy-blue);
}

.property-location {
    color: var(--dark-gray);
    margin-bottom: 1rem;
}

.property-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.property-features span {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.property-features i {
    color: var(--gold);
    margin-right: 0.3rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
    border: 2px solid transparent;
}

.service-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
    color: var(--navy-blue);
}

.service-card h4 {
    color: var(--navy-blue);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.service-link {
    color: var(--navy-blue);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--gold);
}

.why-choose {
    position: relative;
}

.why-choose-image img {
    border-radius: 10px;
    transition: all 0.3s ease;
}

.why-choose-image img:hover {
    transform: scale(1.02);
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.feature-icon {
    font-size: 2rem;
    color: var(--gold);
    min-width: 50px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.2);
    color: var(--navy-blue);
}

.feature-text h5 {
    color: var(--navy-blue);
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--dark-gray);
    margin-bottom: 0;
}

.testimonials-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #004d76 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,64L48,85.3C96,107,192,149,288,154.7C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
    opacity: 0.3;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--gold);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h6 {
    margin-bottom: 0;
    color: var(--navy-blue);
    font-weight: 700;
}

.author-info p {
    margin-bottom: 0;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #1a4d6f 100%);
}

.footer {
    background: #1a1a1a;
    color: var(--white);
}

.footer h5 {
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--navy-blue);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--navy-blue);
    transform: translateY(-5px);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.7rem;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 10px;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-contact a {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-link {
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--gold);
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.5);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.7);
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--navy-blue);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 59, 92, 0.3);
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    background: var(--gold);
    transform: translateY(-5px);
}

.modal-content {
    border-radius: 10px;
    border: none;
}

.modal-header {
    background: var(--navy-blue);
    color: var(--white);
    border-radius: 10px 10px 0 0;
}

.modal-header .btn-close {
    filter: invert(1);
}

.form-control, .form-select {
    border: 2px solid #e0e0e0;
    padding: 0.7rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

@media (max-width: 991px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.7rem 1rem !important;
    }
    
    .expert-help-btn {
        margin-top: 1rem;
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem !important;
    }
    
    .hero-content .lead {
        font-size: 1rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-slide {
        min-height: 70vh;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .scroll-top {
        bottom: 80px;
        right: 20px;
    }
}

.page-header {
    background: linear-gradient(135deg, var(--navy-blue) 0%, #004d76 100%);
    padding: 100px 0 60px;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,138.7C960,139,1056,117,1152,101.3C1248,85,1344,75,1392,69.3L1440,64L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.breadcrumb {
    background: transparent;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--light-gold);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light-gold);
}

.filter-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.filter-btn {
    margin: 0.3rem;
}

.agent-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    text-align: center;
}

.agent-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.agent-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.agent-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.agent-card:hover .agent-image img {
    transform: scale(1.1);
}

.agent-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gold);
    color: var(--navy-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
}

.agent-content {
    padding: 1.5rem;
}

.agent-rating {
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: 100%;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--gold);
    min-width: 40px;
}

.pricing-table {
    background: var(--white);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.pricing-table:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.pricing-table.featured {
    border: 3px solid var(--gold);
}

.pricing-header {
    margin-bottom: 2rem;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--navy-blue);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.7rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.pricing-features i {
    color: var(--gold);
    margin-right: 0.5rem;
}

.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-content {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    position: relative;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--navy-blue);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 700;
    z-index: 2;
}

@media (max-width: 767px) {
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        left: 20px;
        transform: translateX(0);
    }
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.parallax {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
