/* Professional Real Estate Pages */

/* Page Header - Corporate Style with Dark Geometric Theme */
.page-header {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95)), 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                linear-gradient(45deg, transparent 24%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 76%, transparent 77%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
    padding: 60px 0 40px; /* Reduced padding for more compact header */
    position: relative;
    margin-top: 0;
    display: flex;
    align-items: center;
    min-height: 200px; /* Fixed height instead of min-vh-50 */
}

/* Sell Properties Header - Dark Geometric Theme */
.page-header.bg-seller {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95)), 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                linear-gradient(45deg, transparent 24%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 76%, transparent 77%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
}

/* Buy Properties Header - Dark Geometric Theme */
.page-header.bg-buy {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95)), 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                linear-gradient(45deg, transparent 24%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 76%, transparent 77%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
}

/* Rental Properties Header - Dark Geometric Theme */
.page-header.bg-rental {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(52, 73, 94, 0.95)), 
                radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
                linear-gradient(45deg, transparent 24%, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.05) 26%, transparent 27%, transparent 74%, rgba(255, 255, 255, 0.05) 75%, rgba(255, 255, 255, 0.05) 76%, transparent 77%);
    background-size: 100% 100%, 100% 100%, 100% 100%, 30px 30px;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.page-header .lead {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-nav {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 2rem;
}

.breadcrumb-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb-nav a:hover {
    color: white;
}

/* Professional Option Cards */
.options-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    margin-bottom: 2.4rem;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 0.95rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.professional-card {
    background: white;
    border-radius: 12px;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.professional-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.professional-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: white;
}

.professional-card h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.6rem;
}

.professional-card h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.6rem;
}

.professional-card .description {
    color: #6c757d;
    margin-bottom: 1.2rem;
    line-height: 1.6;
    font-size: 0.85rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.features-list li {
    padding: 0.5rem 0;
    color: #495057;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: #27ae60;
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.btn-professional {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.05rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.btn-professional:hover {
    background: linear-gradient(135deg, #2980b9, #3498db);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    color: white;
    text-decoration: none;
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background: white;
}

.service-item {
    text-align: center;
    padding: 1.2rem 0.6rem;
}

.service-icon {
    width: 42px;
    height: 42px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.9rem;
    font-size: 0.9rem;
    color: #3498db;
    transition: all 0.3s ease;
}

.service-item:hover .service-icon {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

.service-item h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    font-size: 0.9rem;
}

.service-item h6 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
}

.service-item p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.85rem;
}

/* Statistics Section */
.stats-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
}

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
    color: #3498db;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.trust-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    height: 100%;
}

.trust-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: white;
}

.trust-item h4 {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.trust-item p {
    color: #6c757d;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    padding: 20px 0;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.btn-cta-primary {
    background: white;
    color: #e74c3c;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    color: #e74c3c;
    text-decoration: none;
}

.btn-cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 13px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background: white;
    color: #e74c3c;
    text-decoration: none;
}

/* Contact Info Bar */
.contact-bar {
    background: #2c3e50;
    color: white;
    padding: 1rem 0;
    font-size: 0.95rem;
}

.contact-bar a {
    color: #3498db;
    text-decoration: none;
}

.contact-bar a:hover {
    color: #5dade2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0 30px; /* Further reduced for mobile */
        min-height: 150px; /* Smaller height on mobile */
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.2rem;
    }
    
    .professional-card {
        padding: 1.2rem 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .options-section,
    .services-section,
    .trust-section {
        padding: 60px 0;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        display: block;
        margin: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.professional-card,
.service-item,
.trust-item {
    animation: fadeInUp 0.6s ease-out;
}

.professional-card:nth-child(2) {
    animation-delay: 0.2s;
}