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

/* Base font size for rem calculations */
:root {
    --base-font-size: 16px;
    --header-height: 4rem;
    --touch-target-size: 3rem; /* 48px */
    --container-padding: 1rem;
    --card-padding: 1.25rem;
    --grid-gap: 1rem;
}

/* Global Styles */
body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
    color: #333;
    font-size: var(--base-font-size);
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
}

body.about-page {
    background-image: url('images/apartment_room1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
}

body.about-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
    z-index: 0;
}

/* Responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}

/* Navbar - Optimized for touch */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.1875rem var(--container-padding);
    background-color: #2b6cb0;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 2.5rem; /* 40px */
    width: auto;
    object-fit: contain;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: 0.5px;
}

/* Search bar - Touch optimized */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-right: 0.5rem;
}

#search-input {
    width: 100%;
    max-width: 300px;
    height: var(--touch-target-size);
    padding: 0 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

#search-button {
    width: var(--touch-target-size);
    height: var(--touch-target-size);
    border: none;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hamburger menu - Touch optimized */
.hamburger {
    width: var(--touch-target-size);
    height: var(--touch-target-size);
    padding: 0;
    border: none;
    background: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cards and Grids */
.cards, .services-grid, .values-grid {
    display: grid;
    gap: var(--grid-gap);
    padding: var(--container-padding);
}

.card, .service-card, .value-card {
    padding: var(--card-padding);
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Responsive Typography */
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.5rem); }
p { font-size: clamp(1rem, 2vw, 1.125rem); }

/* Media Queries for Android Galaxy Devices */
/* Galaxy S21 Ultra (1080px) */
@media screen and (max-width: 1080px) {
    :root {
        --container-padding: 2rem;
        --card-padding: 1.5rem;
        --grid-gap: 1.5rem;
    }

    .cards, .services-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Galaxy S21/S20 (720px) */
@media screen and (max-width: 720px) {
    :root {
        --container-padding: 1.5rem;
        --card-padding: 1.25rem;
        --grid-gap: 1.25rem;
    }

    .cards, .services-grid, .values-grid {
        grid-template-columns: 1fr;
    }

    .search-bar {
        display: none;
    }

    #menu {
        width: 80vw;
        max-width: 300px;
    }
}

/* Galaxy S10e (360px) */
@media screen and (max-width: 360px) {
    :root {
        --container-padding: 1rem;
        --card-padding: 1rem;
        --grid-gap: 1rem;
    }

    .logo img {
        height: 2rem;
    }

    .brand-name {
        font-size: 1.1rem;
    }

    nav {
        padding: 0.5rem var(--container-padding);
    }

    .hamburger {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Galaxy S9 (412px) */
@media screen and (min-width: 361px) and (max-width: 412px) {
    :root {
        --container-padding: 1.25rem;
        --card-padding: 1.125rem;
        --grid-gap: 1.125rem;
    }

    .logo img {
        height: 2.25rem;
    }

    .brand-name {
        font-size: 1.15rem;
    }
}

/* Touch Target Optimizations */
button, 
a, 
input[type="submit"],
.card,
.service-card,
.value-card {
    min-height: var(--touch-target-size);
    min-width: var(--touch-target-size);
}

/* Image Optimizations */
img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Form Elements */
input, 
textarea, 
select {
    font-size: 1rem;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Footer */
footer {
    padding: 2rem var(--container-padding);
    text-align: center;
    background-color: #2b6cb0;
    color: white;
    margin-top: 3rem;
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* Navbar */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.375rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.75rem;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.hamburger:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.hamburger:active {
    background-color: rgba(255, 255, 255, 0.2);
}

.hamburger-icon {
    font-size: 1.75rem;
    line-height: 1;
    display: block;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    nav {
        padding: 0.5rem;
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
        z-index: 1000;
        box-sizing: border-box;
    }

    .nav-links {
        position: relative;
        display: flex;
        align-items: center;
    }

    .search-bar {
        display: none;
    }

    #menu {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 0;
        height: 100vh;
        background-color: #2b6cb0;
        flex-direction: column;
        padding: 60px 0 0 0;
        margin: 0;
        box-shadow: -2px 0 6px rgba(0, 0, 0, 0.1);
        z-index: 999;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        transition: width 0.3s ease;
    }

    #menu.active {
        display: flex;
        width: 250px;
    }

    #menu li {
        width: 100%;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    #menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    #menu a {
        padding: 1rem 1.5rem;
        width: 100%;
        display: block;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        color: white;
        text-decoration: none;
        box-sizing: border-box;
        white-space: nowrap;
    }

    #menu a:last-child {
        border-bottom: none;
    }

    #menu a:hover {
        background-color: rgba(255, 255, 255, 0.15);
    }

    #menu a.active {
        background-color: rgba(255, 255, 255, 0.2);
        font-weight: 600;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        z-index: 1001;
    }

    /* Add padding to main content to account for fixed header */
    main {
        padding-top: 80px;
    }

    /* Adjust hero section for fixed header */
    .hero, .contact-hero, .about-hero {
        padding-top: 6rem;
        padding-bottom: 3rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    nav {
        padding: 0.5rem 0.75rem;
    }

    .logo img {
        height: 28px;
    }
    
    .brand-name {
        font-size: 1.1rem;
    }

    .hamburger {
        padding: 0.5rem;
        width: 44px;
        height: 44px;
    }

    .hamburger-icon {
        font-size: 1.5rem;
    }

    #menu {
        width: 0;
    }

    #menu.active {
        width: 220px;
    }

    #menu a {
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }
}

/* Hero Section Improvements */
.hero {
    padding: 0.405rem 1.5rem 4rem;
    text-align: center;
    background-image: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)), url('images/apartment_building1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.hero-logo {
    width: 100%;
    max-width: 180px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.hero-logo img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.hero-text {
    width: 100%;
    max-width: 800px;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #2b6cb0;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Quick Action Buttons */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 0 1rem;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.25rem 2rem;
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
}

.action-button:hover {
    transform: translateY(-3px);
    background: #2c5282;
    box-shadow: 0 6px 16px rgba(43, 108, 176, 0.3);
}

.action-button i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.action-button:hover i {
    transform: translateX(4px);
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
    .hero {
        padding: 0.30375rem 1rem 3rem;
        min-height: 80vh;
    }

    .hero-content {
        padding: 1.5rem;
        gap: 2rem;
        margin: 0 1rem;
    }

    .hero-logo {
        max-width: 140px;
    }

    .hero-logo img {
        max-height: 140px;
    }

    .hero h1 {
        font-size: clamp(1.75rem, 4vw, 2.5rem);
        margin-bottom: 1rem;
    }

    .hero p {
        font-size: clamp(1rem, 2vw, 1.15rem);
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }

    .quick-actions {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .action-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    .hero {
        padding: 0.253125rem 0.75rem 2.5rem;
        min-height: 75vh;
    }

    .hero-content {
        padding: 1.25rem;
        gap: 1.5rem;
    }

    .hero-logo {
        max-width: 120px;
    }

    .hero-logo img {
        max-height: 120px;
    }

    .hero h1 {
        font-size: clamp(1.5rem, 3vw, 2rem);
    }

    .hero p {
        font-size: clamp(0.95rem, 1.5vw, 1.1rem);
        padding: 0;
    }

    .action-button {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Touch Optimizations */
@media (hover: none) {
    .hero-content {
        transform: none !important;
    }

    .action-button {
        padding: 1.5rem 2rem;
        margin-bottom: 0.5rem;
    }

    .action-button:active {
        transform: scale(0.98);
        background: #2c5282;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .hero {
        background-image: linear-gradient(rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.98)), url('images/apartment_building1.jpg');
    }

    .hero h1 {
        color: #1a4971;
    }

    .hero p {
        color: #333;
    }

    .action-button {
        background: #1a4971;
        border: 2px solid #000;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-content,
    .hero-logo,
    .action-button {
        transition: none;
    }
}

/* Newsletter Section */
.newsletter {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    padding: 5rem 2rem;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/apartment_building1.jpg') center/cover;
    opacity: 0.08;
    z-index: 1;
}

.newsletter-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
}

.newsletter h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.newsletter-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.newsletter-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
}

.feature i {
    color: #4ade80;
    font-size: 1.25rem;
}

.feature span {
    font-size: 1rem;
    font-weight: 500;
}

.newsletter-form {
    width: 100%;
    max-width: 600px;
}

.newsletter .form-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.newsletter input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.newsletter input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter input[type="email"]:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.subscribe-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: #4ade80;
    color: #064e3b;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.subscribe-button:hover {
    background: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.2);
}

.subscribe-button i {
    transition: transform 0.3s ease;
}

.subscribe-button:hover i {
    transform: translateX(4px);
}

.privacy-note {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Newsletter Mobile Responsive */
@media (max-width: 768px) {
    .newsletter {
        padding: 3rem 1.5rem;
    }

    .newsletter h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .newsletter-description {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .newsletter-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0 1rem;
    }

    .newsletter .form-group {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter input[type="email"] {
        width: 100%;
        padding: 0.875rem 1.25rem;
        font-size: 1rem;
    }

    .subscribe-button {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .newsletter {
        padding: 2.5rem 1rem;
    }

    .newsletter h2 {
        font-size: 1.75rem;
    }

    .newsletter-description {
        font-size: 1rem;
    }

    .feature {
        font-size: 0.9rem;
    }

    .feature i {
        font-size: 1.1rem;
    }

    .privacy-note {
        font-size: 0.8rem;
        padding: 0 1rem;
    }
}

/* Cards Section with Gradients */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(43, 108, 176, 0.1);
    backdrop-filter: blur(8px);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
    background: rgba(255, 255, 255, 0.9);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.2);
}

.card:hover .card-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(43, 108, 176, 0.3);
}

.card h3 {
    font-family: 'Manrope', sans-serif;
    color: #2b6cb0;
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
}

.card p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Blog Section Styles */
.blog {
    padding: 4rem 2rem;
    background-color: #fff;
    max-width: 1200px;
    margin: 0 auto;
}

/* Featured Blog Section */
.featured-blog-section {
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 2px solid #e2e8f0;
}

.featured-blog-section .section-title {
    color: #2b6cb0;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

/* Blog Carousel Section */
.blog-carousel-section {
    padding-top: 2rem;
}

.blog-carousel-section .section-title {
    color: #2b6cb0;
    font-size: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
}

.blog-carousel-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    padding: 2rem;
    margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog {
        padding: 3rem 1rem;
    }

    .featured-blog-section {
        margin-bottom: 3rem;
        padding-bottom: 3rem;
    }

    .featured-blog-section .section-title,
    .blog-carousel-section .section-title {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .blog-carousel-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog {
        padding: 2rem 0.75rem;
    }

    .featured-blog-section {
        margin-bottom: 2rem;
        padding-bottom: 2rem;
    }

    .featured-blog-section .section-title,
    .blog-carousel-section .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }

    .blog-carousel-card {
        padding: 1.25rem;
    }
}

/* Post Page Specific Styles */
.loading-spinner {
    text-align: center;
    padding: 2rem;
    color: #666;
    font-size: 1.2rem;
}

.error-message {
    color: #dc3545;
    text-align: center;
    padding: 2rem;
    background: #f8d7da;
    border-radius: 4px;
}

.post-meta {
    color: #666;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Social Share Buttons */
.social-share {
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.share-button {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.2s, opacity 0.2s;
}

.share-button:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-button.facebook {
    background-color: #4267B2;
    color: white;
}

.share-button.instagram {
    color: white;
    background: #e4405f;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Main Content Area */
main {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.post-content {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    line-height: 1.6;
}

.post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Related Posts Section */
.related-posts {
    margin-top: 4rem;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.related-posts h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.post-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    transform: translateY(-4px);
}

.post-card h3 {
    margin-bottom: 1rem;
    color: #333;
}

.post-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.read-more {
    display: inline-block;
    color: #2b6cb0;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

.read-more:hover {
    color: #2c5282;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 1rem;
    }

    .post-content {
        padding: 1.5rem;
    }

    .social-share {
        flex-direction: column;
        align-items: center;
    }

    .share-button {
        width: 100%;
        max-width: 300px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}

/* About Page Styles */
.about-hero {
    padding: 0.405rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 4rem;
    z-index: 1;
}

.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
}

.about-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: #2b6cb0;
    margin: 1.5rem 0 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-hero p {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-main {
    position: relative;
    z-index: 1;
    background: none;
}

/* Section Styles */
.section-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 1;
}

.section-content h2 {
    color: #2b6cb0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-align: center;
}

.section-content p {
    color: #4a5568;
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Services Section */
.services-section {
    margin: 4rem 0;
    position: relative;
    z-index: 1;
}

.services-section h2 {
    text-align: center;
    color: #2b6cb0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.service-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 2.5rem;
    color: #2b6cb0;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: #2b6cb0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Collaboration Section */
.collaboration-section {
    margin: 4rem 0;
    padding: 4rem 1.5rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.collaboration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.collab-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.collab-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.collab-card .card-icon {
    font-size: 2.5rem;
    color: #2b6cb0;
    margin-bottom: 1.5rem;
}

.collab-card h3 {
    color: #2b6cb0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.collab-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.collab-card li {
    color: #4a5568;
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.collab-card li::before {
    content: "•";
    color: #2b6cb0;
    position: absolute;
    left: 0;
}

.collaboration-benefits {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.collaboration-benefits h3 {
    color: #2b6cb0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Values Section */
.values-section {
    margin: 4rem 0;
    position: relative;
    z-index: 1;
}

.values-section h2 {
    text-align: center;
    color: #2b6cb0;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 3rem;
    font-weight: 700;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.value-card {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    position: relative;
    z-index: 1;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.value-card .card-icon {
    font-size: 2.5rem;
    color: #2b6cb0;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    color: #2b6cb0;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.value-card p {
    color: #4a5568;
    line-height: 1.6;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    body.about-page {
        background-attachment: scroll;
    }

    .about-hero {
        padding: 0.30375rem 1rem 3rem;
        min-height: 80vh;
    }

    .section-content,
    .service-card,
    .collab-card,
    .value-card,
    .collaboration-benefits {
        background: rgba(255, 255, 255, 0.85);
    }

    .about-hero::before {
        background: linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6));
    }

    .about-hero-content,
    .section-content,
    .service-card,
    .collab-card,
    .value-card,
    .collaboration-benefits {
        background: rgba(255, 255, 255, 0.85);
        padding: 1.5rem;
    }

    .about-main {
        padding: 2rem 1rem;
    }

    .section-content {
        padding: 1.5rem;
    }

    .services-grid,
    .collaboration-grid,
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card,
    .collab-card,
    .value-card {
        padding: 1.5rem;
    }

    .collaboration-section {
        padding: 2rem 1rem;
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .about-hero {
        padding: 0.253125rem 0.75rem 2rem;
        min-height: 75vh;
    }

    .about-hero::before {
        background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7));
    }

    .about-hero-content,
    .section-content,
    .service-card,
    .collab-card,
    .value-card,
    .collaboration-benefits {
        background: rgba(255, 255, 255, 0.85);
        padding: 1.25rem;
    }

    .service-icon,
    .collab-card .card-icon,
    .value-card .card-icon {
        font-size: 2rem;
    }

    .collaboration-section {
        padding: 1.5rem 0.75rem;
    }
}

/* Ensure minimum content width */
@media screen and (max-width: 360px) {
    .about-hero {
        min-height: 60vh;
    }

    .about-hero-content,
    .section-content,
    .service-card,
    .collab-card,
    .value-card,
    .collaboration-benefits {
        width: 98%;
        min-width: 280px;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.85);
    }

    .about-hero h1 {
        font-size: 1.8rem;
    }

    .about-hero p {
        font-size: 1.1rem;
    }

    .service-icon,
    .collab-card .card-icon,
    .value-card .card-icon {
        font-size: 1.75rem;
    }

    .service-card h3,
    .collab-card h3,
    .value-card h3 {
        font-size: 1.2rem;
    }

    .service-card p,
    .collab-card li,
    .value-card p {
        font-size: 1rem;
    }
}

/* Mobile Layout Adjustments */
@media screen and (max-width: 768px) {
    /* Navigation Bar */
    nav {
        padding: 0.5rem;
        width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between; /* Changed from center to space-between */
        align-items: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        height: 4.4rem;
    }

    .logo {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        max-width: 70%; /* Reduced from 100% to allow space for hamburger */
        overflow: hidden;
        margin-top: 0.4rem;
        text-align: center;
    }

    .hamburger {
        display: flex;
        width: 40px;
        height: 40px;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        padding: 0;
        margin-right: 15%; /* Added 15% margin from right */
        z-index: 1001;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 480px) {
    nav {
        padding: 0.5rem 0.75rem;
        height: 4rem;
    }

    .logo {
        margin-top: 0.3rem;
    }

    .hamburger {
        width: 36px;
        height: 36px;
        margin-right: 15%; /* Maintain 15% margin on smaller screens */
    }
}

/* Ensure minimum width for readability */
@media screen and (max-width: 360px) {
    nav {
        height: 3.8rem;
    }

    .logo {
        margin-top: 0.25rem;
    }

    .hamburger {
        width: 32px;
        height: 32px;
        margin-right: 15%; /* Maintain 15% margin on very small screens */
    }
}

@media (max-width: 768px) {
    .blog-post-main {
        margin: 1rem auto;
        padding: 0 1rem;
    }

    .blog-post {
        border-radius: 8px;
    }

    .blog-post-header {
        padding: 1.5rem;
    }

    .blog-post-category {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }

    .blog-post-title {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
        padding: 0 0.5rem;
    }

    .blog-post-meta {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
        font-size: 0.9rem;
    }

    .blog-post-image {
        padding: 1rem;
    }

    .blog-post-image img {
        max-height: 300px;
        border-radius: 6px;
    }

    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
    }
}

/* Contact Page Styles */
.contact-page {
    background-color: #f5f7fa;
    min-height: 100vh;
}

.contact-hero {
    text-align: center;
    padding: 0;
    background: linear-gradient(135deg, rgba(43, 108, 176, 0.9) 0%, rgba(44, 82, 130, 0.9) 100%), url('images/apartment_building2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    margin-bottom: 3rem;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.contact-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.contact-hero p {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.contact-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Contact Methods Cards */
.contact-info {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
    color: #2b6cb0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.contact-card {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.contact-card i {
    font-size: 2rem;
    color: #2b6cb0;
    margin-bottom: 1rem;
}

.contact-card h3 {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.contact-card p {
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.contact-link {
    color: #2b6cb0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #2c5282;
}

/* Contact Form Card */
.contact-form-container {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form-container h2 {
    color: #2b6cb0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 1.5rem;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: #4a5568;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.submit-button {
    background: #2b6cb0;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background: #2c5282;
    transform: translateY(-2px);
}

/* Social Connect Card */
.social-connect {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.social-connect h2 {
    color: #2b6cb0;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 200px;
}

.social-link.facebook {
    background: #1877f2;
}

.social-link.instagram {
    background: #e4405f;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        min-height: 250px;
        padding: 2rem 1rem;
        background-attachment: scroll;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .social-link {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 200px;
        padding: 1.5rem 1rem;
    }

    .contact-info,
    .contact-form-container,
    .social-connect {
        padding: 1.5rem;
    }

    .contact-card {
        padding: 1.25rem;
    }

    .submit-button {
        width: 100%;
    }
}

/* Loading State */
.loading-state {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #2b6cb0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Carousel Navigation */
.carousel-container {
    position: relative;
    overflow: hidden;
    padding: 0 3rem;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #2b6cb0;
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel-button:hover {
    background: #2c5282;
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 0;
}

.carousel-button.next {
    right: 0;
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: translateY(-50%);
}

/* Carousel Track */
.carousel-track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.carousel-item {
    flex: 0 0 300px;
    background: #f8fafc;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.carousel-item:hover {
    transform: translateY(-5px);
}

.carousel-item-image {
    height: 200px;
    width: 100%;
    overflow: hidden;
}

.carousel-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.carousel-item:hover .carousel-item-image img {
    transform: scale(1.05);
}

.carousel-item-content {
    padding: 1.5rem;
}

.carousel-item-category {
    display: inline-block;
    background: #2b6cb0;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 16px;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

.carousel-item h2 {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.carousel-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #718096;
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .carousel-container {
        padding: 0 2.5rem;
    }

    .carousel-button {
        width: 36px;
        height: 36px;
    }

    .carousel-item {
        flex: 0 0 280px;
    }

    .carousel-item-image {
        height: 180px;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        padding: 0 2rem;
    }

    .carousel-button {
        width: 32px;
        height: 32px;
    }

    .carousel-item {
        flex: 0 0 260px;
    }

    .carousel-item-image {
        height: 160px;
    }
}

/* Reviews Section Styles */
.reviews-section {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.reviews-header h2 {
    margin: 0;
    font-size: 1.8rem;
}

.rating-summary {
    display: flex;
    gap: 2rem;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.average-rating {
    text-align: center;
    padding-right: 2rem;
    border-right: 1px solid #e2e8f0;
}

.rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2b6cb0;
    line-height: 1;
    display: block;
    margin-bottom: 0.5rem;
}

.stars {
    color: #f6ad55;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.total-reviews {
    color: #718096;
    font-size: 0.875rem;
}

.rating-breakdown {
    flex-grow: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.rating-label {
    width: 60px;
    color: #4a5568;
}

.bar-container {
    flex-grow: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.bar {
    height: 100%;
    background: #f6ad55;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.rating-count {
    width: 40px;
    text-align: right;
    color: #4a5568;
}

.reviews-list {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-card {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.review-rating .fa-star {
    color: #cbd5e0;
    font-size: 1.25rem;
}

.review-rating .fa-star.active {
    color: #f6ad55;
}

.review-date {
    color: #718096;
    font-size: 0.875rem;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-weight: 600;
    color: #2d3748;
}

.review-title {
    font-size: 1.25rem;
    color: #2d3748;
    margin-bottom: 0.75rem;
}

.review-content {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
}

.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

.review-image {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.image-preview-container {
    position: relative;
    width: 100%;
    height: 100px;
    overflow: hidden;
    border-radius: 4px;
}

.review-image:hover {
    transform: scale(1.05);
}

/* Write Review Button */
.write-review-btn {
    background: #2b6cb0;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.write-review-btn:hover {
    background: #1a56db;
    transform: translateY(-2px);
}

.write-review-btn i {
    font-size: 0.875rem;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (max-width: 768px) {
    .reviews-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .write-review-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Review Form Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal.active {
    display: block;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    margin: 0;
    color: #2d3748;
    font-size: 1.5rem;
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #718096;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #2d3748;
}

.review-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: #4a5568;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.rating-input {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.star-rating {
    display: flex;
    gap: 0.25rem;
}

.star {
    font-size: 1.5rem;
    color: #cbd5e0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.star:hover,
.star.active {
    color: #f6ad55;
}

.tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    min-height: 2.5rem;
    background: white;
}

.tags-input input {
    border: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    min-width: 120px;
    flex: 1;
}

.tags-input input:focus {
    outline: none;
    box-shadow: none;
}

.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex: 1;
}

.tag {
    background: #e2e8f0;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tag button {
    background: none;
    border: none;
    color: #718096;
    cursor: pointer;
    padding: 0;
    font-size: 1rem;
    line-height: 1;
}

.tag button:hover {
    color: #e53e3e;
}

.tag-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.tag-suggestion {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    color: #4a5568;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tag-suggestion:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    color: #2d3748;
}

.photo-upload {
    border: 2px dashed #ccc;
    border-radius: 4px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 15px;
    transition: border-color 0.3s ease;
}

.photo-upload:hover {
    border-color: #666;
}

.photo-upload input[type="file"] {
    display: none;
}

.photo-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.preview-image {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 4px;
    overflow: hidden;
}

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

.remove-photo {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
}

.remove-photo:hover {
    background: rgba(0, 0, 0, 0.7);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 640px) {
    .modal {
        width: 95%;
        padding: 1.5rem;
    }

    .photo-preview {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}

/* Property Selection in Review Form */
.property-select-container {
    position: relative;
    margin-bottom: 1rem;
}

.property-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
    background-color: white;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234a5568' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.25rem;
    padding-right: 2.5rem;
}

.property-select:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.add-property-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: 1px dashed #2b6cb0;
    color: #2b6cb0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.875rem;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.add-property-button:hover {
    background: rgba(43, 108, 176, 0.1);
    border-color: #2c5282;
    color: #2c5282;
}

.add-property-button i {
    font-size: 1rem;
}

/* Property Creation Form */
.property-form {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.property-form.active {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.property-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.property-form .form-group {
    margin-bottom: 1rem;
}

.property-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #4a5568;
}

.property-form input,
.property-form select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.property-form input:focus,
.property-form select:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

.property-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.cancel-property-button {
    background: #e2e8f0;
    color: #4a5568;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-property-button:hover {
    background: #cbd5e0;
}

.save-property-button {
    background: #2b6cb0;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.save-property-button:hover {
    background: #2c5282;
}

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

/* Responsive Design for Property Form */
@media (max-width: 640px) {
    .property-form-grid {
        grid-template-columns: 1fr;
    }

    .property-form-actions {
        flex-direction: column;
    }

    .cancel-property-button,
    .save-property-button {
        width: 100%;
    }
}

/* Load More Reviews Button */
.load-more-container {
    text-align: center;
    margin: 20px 0;
}

.load-more-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

.load-more-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(2px);
}

/* Admin Login Styles */
.admin-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    padding: 2rem;
}

.admin-login-box {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.admin-login-box h1 {
    color: #2b6cb0;
    text-align: center;
    margin-bottom: 2rem;
}

/* Admin Dashboard Styles */
.admin-dashboard {
    min-height: 100vh;
    background: #f7fafc;
}

.admin-header {
    background: white;
    padding: 1rem 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.logout-button {
    background: #e53e3e;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.logout-button:hover {
    background: #c53030;
}

.admin-main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reviews-table-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.reviews-table {
    width: 100%;
    border-collapse: collapse;
}

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

.reviews-table th {
    background: #f7fafc;
    font-weight: 600;
    color: #4a5568;
}

.review-row {
    transition: background-color 0.3s;
}

.review-row:hover {
    background: #f7fafc;
}

.review-content-preview {
    max-width: 300px;
}

.review-content-preview p {
    margin: 0.5rem 0 0;
    color: #4a5568;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.approved {
    background: #dcfce7;
    color: #166534;
}

.status-badge.removed {
    background: #fee2e2;
    color: #991b1b;
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-buttons button {
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.approve-btn {
    color: #059669;
}

.approve-btn:hover {
    background: #dcfce7;
}

.delete-btn {
    color: #dc2626;
    font-weight: 500;
}

.delete-btn:hover {
    background: #fee2e2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .admin-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .admin-controls {
        width: 100%;
        justify-content: center;
    }

    .reviews-table th,
    .reviews-table td {
        padding: 0.75rem;
    }

    .review-content-preview {
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 1rem;
    }

    .reviews-table th,
    .reviews-table td {
        padding: 0.5rem;
    }

    .review-content-preview {
        max-width: 150px;
    }

    .status-badge {
        padding: 0.25rem 0.5rem;
        font-size: 0.75rem;
    }
}

.review-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.review-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.review-thumbnail:hover {
    transform: scale(1.1);
}

.review-content-preview {
    max-width: 400px;
}

.review-content-preview p {
    margin: 0.5rem 0;
    color: #4a5568;
}

@media (max-width: 768px) {
    .review-content-preview {
        max-width: 300px;
    }
    
    .review-thumbnail {
        width: 50px;
        height: 50px;
    }
}

@media (max-width: 480px) {
    .review-content-preview {
        max-width: 200px;
    }
    
    .review-thumbnail {
        width: 40px;
        height: 40px;
    }
}

/* Image Preview Styles */
.image-preview-container {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background-color 0.3s;
}

.remove-image-btn:hover {
    background: rgba(255, 0, 0, 0.9);
}

.image-preview-modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: hidden;
}

.image-preview-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.image-container {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    border-radius: 5px;
    transition: background-color 0.3s;
    z-index: 1001;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

.image-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 10px;
    border-radius: 15px;
    z-index: 1001;
}

/* Review Images Preview */
.review-images-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.image-preview-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 5px;
}

.review-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s;
    display: block;
}

.review-thumbnail:hover {
    transform: scale(1.05);
}

.remove-image-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: background-color 0.3s;
    z-index: 1;
}

.remove-image-btn:hover {
    background: rgba(255, 0, 0, 0.9);
}

/* Review Images in Review Cards */
.review-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.review-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: block;
}

.review-image:hover {
    transform: scale(1.05);
}

/* Image Preview Modal */
.image-preview-modal {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    overflow: hidden;
}

.image-preview-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-preview {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 1001;
}

.image-container {
    max-width: 90%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.reviews-per-page {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reviews-per-page label {
    color: #4a5568;
    font-size: 0.9rem;
}

.reviews-per-page select {
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    background-color: white;
    color: #4a5568;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reviews-per-page select:hover {
    border-color: #cbd5e0;
}

.reviews-per-page select:focus {
    outline: none;
    border-color: #2b6cb0;
    box-shadow: 0 0 0 3px rgba(43, 108, 176, 0.1);
}

/* Update existing load-more-btn styles */
.load-more-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 5px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    color: #495057;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.load-more-btn:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
    transform: translateY(-1px);
}

/* Responsive styles */
@media (max-width: 640px) {
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .reviews-per-page {
        width: 100%;
        justify-content: center;
    }

    .load-more-btn {
        width: 100%;
        justify-content: center;
    }
}

.reviews-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.filter-group {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #4a5568;
    font-weight: 500;
}

.filter-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background-color: white;
    font-size: 0.95rem;
    color: #2d3748;
    transition: all 0.2s ease;
}

.filter-group select:hover {
    border-color: #cbd5e0;
}

.filter-group select:focus {
    outline: none;
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.15);
}

.no-reviews {
    text-align: center;
    padding: 2rem;
    color: #718096;
    font-style: italic;
    background-color: #f8f9fa;
    border-radius: 8px;
    margin: 1rem 0;
}

@media (max-width: 768px) {
    .reviews-filters {
        flex-direction: column;
        gap: 0.75rem;
    }

    .filter-group {
        max-width: none;
    }

    .filter-group label {
        margin-bottom: 0.25rem;
    }
}

.form-help {
    color: #718096;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.privacy-notice {
    background-color: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 1rem;
    margin: 1rem 0;
}

.privacy-notice p {
    color: #4a5568;
    font-size: 0.875rem;
    margin: 0;
}

.reviewer-name {
    color: #4a5568;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.reviewer-info {
    margin-bottom: 0.75rem;
}

.review-location {
    margin-bottom: 0.75rem;
}

.review-district {
    color: #4a5568;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
    padding: 0.25rem 0.5rem;
    background-color: #f7fafc;
    border-radius: 4px;
}

/* Blog Post Content Styles */
.blog-post-content {
    padding: 2rem;
    line-height: 1.6;
    color: #2d3748;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.blog-post-content h1 {
    font-size: 2.5rem;
    margin: 2rem 0 1.5rem;
    color: #2b6cb0;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 1.75rem 0 1.25rem;
    color: #2b6cb0;
}

.blog-post-content h3 {
    font-size: 1.75rem;
    margin: 1.5rem 0 1rem;
    color: #2b6cb0;
}

.blog-post-content ul, 
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Responsive Design for Blog Post Content */
@media (max-width: 768px) {
    .blog-post-content {
        padding: 1.5rem;
    }

    .blog-post-content p {
        font-size: 1.4rem; /* Increased from 1.25rem */
        line-height: 1.8;
        margin-bottom: 1.75rem;
    }

    .blog-post-content h1 {
        font-size: 2.2rem;
        margin: 2rem 0 1.5rem;
    }

    .blog-post-content h2 {
        font-size: 2rem;
        margin: 1.75rem 0 1.25rem;
    }

    .blog-post-content h3 {
        font-size: 1.8rem;
        margin: 1.5rem 0 1rem;
    }

    .blog-post-content ul, 
    .blog-post-content ol {
        margin: 1.5rem 0;
        padding-left: 1.5rem;
    }

    .blog-post-content li {
        font-size: 1.4rem; /* Increased from 1.25rem */
        margin-bottom: 1.2rem;
        line-height: 1.8;
    }
}

@media (max-width: 480px) {
    .blog-post-content {
        padding: 1.25rem;
    }

    .blog-post-content p {
        font-size: 1.35rem; /* Increased from 1.2rem */
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }

    .blog-post-content h1 {
        font-size: 2rem;
        margin: 1.75rem 0 1.25rem;
    }

    .blog-post-content h2 {
        font-size: 1.8rem;
        margin: 1.5rem 0 1rem;
    }

    .blog-post-content h3 {
        font-size: 1.6rem;
        margin: 1.25rem 0 1rem;
    }

    .blog-post-content li {
        font-size: 1.35rem; /* Increased from 1.2rem */
        margin-bottom: 1.2rem;
        line-height: 1.8;
    }
}