@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* Corporate Real Estate Theme Variables */
:root {
    --brand-primary: #153059;
    --brand-primary-dark: #0d1f3b;
    --brand-accent: #facc3d;
    --brand-accent-hover: #e5b62b;
    --bg-light: #f8f9fa;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Global Container Width */
@media (min-width: 1200px) {
    .container {
        max-width: 75% !important;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 75% !important;
    }
}

/* Bootstrap Overrides */
.bg-primary {
    background-color: var(--brand-primary) !important;
}

.text-primary {
    color: var(--brand-primary) !important;
}

.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    border-radius: var(--border-radius);
    padding: 10px 24px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #fff;
}

.bg-warning {
    background-color: var(--brand-accent) !important;
}

.text-warning {
    color: var(--brand-accent) !important;
}

.btn-warning {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: var(--brand-primary);
    border-radius: var(--border-radius);
    padding: 10px 24px;
    font-weight: 600;
}

.btn-warning:hover {
    background-color: var(--brand-accent-hover);
    border-color: var(--brand-accent-hover);
    color: var(--brand-primary);
}

.btn-outline-primary {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    border-radius: var(--border-radius);
    padding: 10px 24px;
    font-weight: 600;
}

.btn-outline-primary:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

/* General Layout */
body {
    font-family: 'Inter', sans-serif;
    color: #333;
    background-color: #fff;
    padding-top: 80px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-primary);
    font-weight: 700;
}

section {
    padding-top: 50px;
    padding-bottom: 50px;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Navbar Enhancements */
.navbar {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-link {
    color: #444 !important;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-primary) !important;
    font-weight: 600;
}

/* Cards */
.card {
    border-radius: var(--border-radius);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero-label {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(21, 48, 89, 0.05);
    color: var(--brand-primary);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero-slider {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    z-index: 10;
}

/* Feature Strip */
.feature-card {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.feature-card:hover {
    border-bottom-color: var(--brand-accent);
}

/* Stats */
.stats-section {
    background-color: var(--brand-primary);
    color: #fff;
    padding: 50px 0;
}

.stat-item h2 {
    color: var(--brand-accent);
    font-weight: 700;
    margin-bottom: 0;
}

.stat-item p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Swiper Custom Styles */
.venturesSwiper {
    padding: 20px 0 60px 0 !important;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--brand-primary) !important;
    background: #fff;
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem !important;
    font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--brand-primary);
    color: #fff !important;
}

.swiper-pagination-bullet-active {
    background: var(--brand-primary) !important;
}

.swiper-pagination {
    bottom: 10px !important;
}

/* Animations */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

/* Gallery Styles */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: #eee;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 48, 89, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
    padding: 20px;
    text-align: center;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: var(--brand-accent);
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay i {
    transform: translateY(0);
}

.gallery-overlay h6 {
    color: #fff;
    margin-bottom: 5px;
    font-weight: 600;
    font-size: 0.95rem;
}

.gallery-overlay span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Category Filter */
.filter-btn {
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 10px rgba(21, 48, 89, 0.2);
}

/* Inner Hero */
.inner-hero {
    background-color: var(--brand-primary);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.inner-hero h1 {
    color: #fff !important;
    margin-bottom: 5px;
    font-weight: 700;
}

.inner-hero p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(250, 204, 61, 0.05));
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

/* Prose Styling for Rich Text Content */
.prose {
    color: #4a5568;
    line-height: 1.7;
}

.prose h1, .prose h2, .prose h3, .prose h4 {
    color: var(--brand-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.prose h1 { font-size: 1.875rem; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.125rem; }

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong, .prose b {
    color: #1a202c;
    font-weight: 700;
}

.prose a {
    color: var(--brand-primary);
    text-decoration: underline;
    font-weight: 600;
}

.prose table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.prose th, .prose td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}

.prose th {
    background-color: #f7fafc;
    font-weight: 700;
}

.prose blockquote {
    border-left: 4px solid var(--brand-accent);
    padding-left: 1rem;
    font-style: italic;
    color: #718096;
    margin: 1.5rem 0;
}