:root {
    /* Core Branding Colors */
    --primary: #84bcdd;
    --primary-dark: #2c7bac;
    --primary-light: #A3D4EE;
    --secondary: #00E5D4;
    --accent: #FFC107;
    --dark: #000000;
    --light: #FFFFFF;
    --bg-light: #f1f2f4;
    --bg-white: #ffffff;

    /* Text Colors */
    --text-dark: #212121;
    --text-main: #424242;
    --text-medium: #555555;
    --text-light: #757575;
    --text-muted: rgba(255, 255, 255, 0.7);
    --text-white: #ffffff;
    --heading-color: var(--text-white);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #84bcdd 0%, #6BA4C5 100%);
    --gradient-secondary: linear-gradient(90deg, #212121 0%, #424242 100%);
    --gradient-hero: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-cta: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    --gradient-blue: linear-gradient(135deg, #3949ab, #5c6bc0);

    /* Layout & Spacing */
    --container-max-width: 1400px;
    --section-padding-large: 100px 0;
    --section-padding-medium: 80px 0;
    --section-padding-small: 50px 0;

    /* UI Elements */
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-full: 50px;
    --shadow-soft: 0 5px 15px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.12);
    --shadow-text: 0 2px 4px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

/* REAL ESTATE INDUSTRY SOLUTIONS PAGE STYLES */
.real-estate-hero {
    background: url('/static/assets/hero.jpeg') center 40% / cover no-repeat;
    position: relative;
    text-align: center;
    overflow: hidden;
    padding: 5rem 0 0 0;
    min-height: 95vh;
    display: flex;
    align-items: center;
}

.real-estate-hero::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 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

/* Dark overlay for better text readability */
.real-estate-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.real-estate-hero .container {
    position: relative;
    z-index: 10;
}

.real-estate-hero h1 {
    font-size: 56px;
    color: var(--text-white);
    margin-bottom: 20px;
    font-weight: 700;
    animation: fadeInDown 0.8s ease-out;
}

.real-estate-hero p {
    color: var(--text-white);
    animation: fadeInUp 0.8s ease-out 0.2s both;
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Solutions Section */
.real-estate-solutions {
    padding: 80px 0;
    background: #f1f2f4;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #1a2980;
    font-size: 44px;
    margin-bottom: 15px;
    font-weight: 900;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: white;
    border: 2px solid #3a2570;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.solution-card:hover {
    background: #84bcdd;
    border-color: #84bcdd;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.solution-icon {
    font-size: 50px;
    color: #84bcdd;
    margin-bottom: 20px;
    display: block;
}

.solution-card:hover .solution-icon {
    color: white;
}

.solution-card h3 {
    color: #1a2980;
    font-size: 20px;
    margin: 20px 0 15px;
    font-weight: 600;
}

.solution-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.solution-card:hover h3,
.solution-card:hover p {
    color: white;
}

/* Benefits Section */
.real-estate-benefits {
    padding: 80px 0;
    background: white;
}

.real-estate-benefits h2 {
    color: #1a2980;
    font-size: 44px;
    margin-bottom: 60px;
    text-align: center;
    font-weight: 900;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: linear-gradient(135deg, rgba(26, 41, 128, 0.05) 0%, rgba(132, 188, 221, 0.05) 100%);
    padding: 40px 30px;
    border-radius: 12px;
    border-left: 4px solid #84bcdd;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #84bcdd;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.2);
}

.benefit-icon {
    font-size: 40px;
    color: #84bcdd;
    margin-bottom: 15px;
    display: block;
}

.benefit-card:hover .benefit-icon {
    color: white;
}

.benefit-card h3 {
    color: #1a2980;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
}

.benefit-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.benefit-card:hover h3,
.benefit-card:hover p {
    color: white;
}

/* Responsive Design */

/* CTA Section */
.real-estate-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a2980 0%, #26d0ce 100%);
    text-align: center;
}

.real-estate-cta h2 {
    color: white;
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
}

.real-estate-cta p {
    color: #bbb;
    font-size: 18px;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #84bcdd;
    font-size: 16px;
    margin: 0 10px;
}

.cta-btn.primary {
    background: #84bcdd;
    color: white;
}

.cta-btn.secondary {
    background: transparent;
    color: #84bcdd;
}

.cta-btn.primary:hover {
    background: transparent;
    color: #84bcdd;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}

.cta-btn.secondary:hover {
    background: #84bcdd;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(132, 188, 221, 0.3);
}

@media (max-width: 992px) {

    .solutions-grid,
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .real-estate-hero {
        background: url('/static/assets/office-workspace.jpg') no-repeat center 40%;
        background-size: cover;
        min-height: 95vh;
        padding: 180px 0 100px;
        text-align: center;
        position: relative;
    }

    .real-estate-hero h1 {
        font-size: 36px;
    }

    .section-header h2,
    .real-estate-benefits h2 {
        font-size: 32px;
    }

    .real-estate-cta h2 {
        font-size: 28px;
    }

    .solutions-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .solution-card,
    .benefit-card {
        padding: 30px 20px;
    }
}

/* Hero Text Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}