/*
Theme Name: Polidmex
Theme URI: https://www.polidmex.pl/
Author: Polidmex
Description: Szablon WordPress dla biura nieruchomosci - z systemem zarzadzania ofertami, filtrami i karuzelami
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polidmex
*/

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

/* CSS Variables */
:root {
    --primary-color: #1a5276;
    --primary-dark: #154360;
    --secondary-color: #e67e22;
    --secondary-dark: #d35400;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #27ae60;
    --error-color: #e74c3c;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --font-family: 'Catamaran', sans-serif;
    --header-height: 80px;
    --header-small-height: 60px;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-dark);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    background-color: var(--bg-white);
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.site-header.scrolled {
    height: var(--header-small-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-top: 15px;
}

.site-logo img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.site-header.scrolled .site-logo img {
    height: 40px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-menu {
    display: flex;
    gap: 25px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-color);
    padding: 10px 0;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Location Buttons */
.location-buttons {
    display: flex;
    gap: 10px;
}

.location-btn {
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    color: var(--primary-color);
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
}

.location-btn:hover,
.location-btn.active {
    background: var(--primary-color);
    color: var(--bg-white);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(26, 82, 118, 0.85) 0%, rgba(21, 67, 96, 0.85) 100%),
                url('/wp-content/images/rodzina-polidmex.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 0;
    color: var(--bg-white);
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.hero-content {
    text-align: left;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* Hero Search Box */
.hero-search-box {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.hero-search-box h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-align: center;
}

.hero-search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.search-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.search-field select,
.search-field input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition);
}

.search-field select:focus,
.search-field input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.range-inputs {
    display: flex;
    gap: 10px;
}

.range-inputs input {
    width: 50%;
}

.search-submit {
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.search-submit:hover {
    background: var(--secondary-dark);
}

.hero-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
}

.hero-btn.primary {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.hero-btn.primary:hover {
    background: var(--secondary-dark);
}

.hero-btn.secondary {
    background: transparent;
    border: 2px solid var(--bg-white);
    color: var(--bg-white);
}

.hero-btn.secondary:hover {
    background: var(--bg-white);
    color: var(--primary-color);
}

/* Property Filters */
.filters-section {
    background: var(--bg-light);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 5px;
}

.filter-group select,
.filter-group input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: var(--bg-white);
    transition: var(--transition);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.filter-range {
    display: flex;
    gap: 10px;
}

.filter-range input {
    width: 50%;
}

.filter-submit {
    padding: 12px 30px;
    background: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    align-self: flex-end;
}

.filter-submit:hover {
    background: var(--secondary-dark);
}

.filter-checkboxes {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 15px 0;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-color);
}

/* Properties Section */
.properties-section {
    padding: 60px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
}

.section-link {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.section-link:hover {
    color: var(--secondary-color);
}

/* Property Card */
.property-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

.property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.property-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
}

.property-badge {
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.property-badge.sale {
    background: var(--success-color);
    color: var(--bg-white);
}

.property-badge.rent {
    background: var(--secondary-color);
    color: var(--bg-white);
}

.property-badge.special {
    background: var(--error-color);
    color: var(--bg-white);
}

.property-badge.virtual {
    background: var(--primary-color);
    color: var(--bg-white);
}

.property-content {
    padding: 20px;
}

.property-type {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
}

.property-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.property-features {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

.property-feature {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.property-feature strong {
    color: var(--text-color);
}

.property-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.property-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.property-price-sqm {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.property-id {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Properties Grid */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Swiper Carousel */
.properties-carousel {
    position: relative;
    padding: 0 50px;
}

.properties-carousel .swiper-button-prev,
.properties-carousel .swiper-button-next {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    background: var(--bg-white);
    border-radius: 50%;
    box-shadow: var(--shadow);
}

.properties-carousel .swiper-button-prev::after,
.properties-carousel .swiper-button-next::after {
    font-size: 18px;
}

.properties-carousel .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Single Property Page */
.single-property {
    padding: 20px 0 40px;
}

.property-gallery {
    margin-bottom: 30px;
}

.property-gallery-main {
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 15px;
}

.property-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-gallery-thumbs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.property-gallery-thumb {
    width: 100px;
    height: 70px;
    flex-shrink: 0;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
}

.property-gallery-thumb.active,
.property-gallery-thumb:hover {
    opacity: 1;
}

.property-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.property-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.property-info-location {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.property-description {
    line-height: 1.8;
    margin-bottom: 30px;
}

.property-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
}

.property-spec {
    display: flex;
    flex-direction: column;
}

.property-spec-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.property-spec-value {
    font-size: 1.1rem;
    font-weight: 600;
}

.property-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 20px);
}

.property-price-box {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 20px;
}

.property-price-box .price {
    font-size: 2rem;
    font-weight: 700;
}

.property-price-box .price-sqm {
    font-size: 1rem;
    opacity: 0.8;
}

.property-contact-box {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 10px;
}

.property-contact-box h3 {
    margin-bottom: 15px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-info a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.contact-info a:hover {
    color: var(--primary-color);
}

.contact-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.contact-btn:hover {
    background: var(--secondary-dark);
}

/* Footer */
.site-footer {
    background: var(--primary-dark);
    color: var(--bg-white);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-section p,
.footer-section li {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Archive Page */
.archive-header {
    background: var(--bg-light);
    padding: 40px 0;
}

.archive-title {
    font-size: 2rem;
    margin-bottom: 10px;
}

.archive-count {
    color: var(--text-light);
}

.archive-content {
    padding: 40px 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--primary-color);
    color: var(--bg-white);
    border-color: var(--primary-color);
}

/* Loading Spinner */
.loading {
    display: flex;
    justify-content: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 992px) {
    .property-details {
        grid-template-columns: 1fr;
    }

    .property-sidebar {
        position: static;
    }
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .hero-buttons {
        justify-content: center;
    }

    .hero-search-box {
        max-width: 450px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .nav-menu,
    .location-buttons {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav.active .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        padding: 20px;
        box-shadow: var(--shadow);
    }

    .hero-section {
        padding: 50px 0;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .filters-form {
        grid-template-columns: 1fr;
    }

    .properties-carousel {
        padding: 0 30px;
    }

    .property-gallery-main {
        height: 300px;
    }

    .property-specs {
        grid-template-columns: 1fr;
    }
}

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

    .hero-section {
        padding: 40px 0;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

/* ==================== */
/* Contact Page Styles  */
/* ==================== */

.contact-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 60px 0;
    padding-top: var(--header-height);
    text-align: center;
}

.contact-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.contact-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 30px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.contact-card:last-child {
    margin-bottom: 0;
}

.contact-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--secondary-color);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 1.2rem;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.contact-item a {
    color: var(--primary-color);
}

.contact-item a:hover {
    color: var(--secondary-color);
}

/* Contact Person */
.contact-person .person-info {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.person-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.person-title {
    font-size: 0.95rem;
    color: var(--text-light);
}

.person-license {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Company Info */
.company-info {
    background: var(--bg-light);
}

/* Contact Form */
.contact-form-section .contact-card:only-child {
    height: 100%;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-consent {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
}

.form-consent label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-light);
    cursor: pointer;
}

.form-consent input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--primary-color);
    flex-shrink: 0;
}

.form-submit {
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.form-submit:hover {
    background: var(--secondary-dark);
}

/* Contact Form 7 form elements - full width */
.contact-page .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance) {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-page .wpcf7-form-control:not(.wpcf7-submit):not(.wpcf7-acceptance):focus {
    border-color: var(--primary-color);
    outline: none;
}

.contact-page .wpcf7-textarea {
    min-height: 120px;
    resize: vertical;
}

/* Contact Form 7 submit button - same style as form-submit */
.contact-page .wpcf7-submit {
    width: 100%;
    padding: 15px 30px;
    background: var(--secondary-color);
    color: var(--bg-white);
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.contact-page .wpcf7-submit:hover {
    background: var(--secondary-dark);
}

/* Map Section */
.contact-map {
    padding: 40px 0 0;
}

.contact-map h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    background: var(--bg-light);
}

.map-wrapper iframe {
    display: block;
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 40px 0;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-content {
        padding: 40px 0;
    }

    .contact-card {
        padding: 20px;
    }

    .map-wrapper {
        height: 350px;
    }
}

/* ==================== */
/* About Page Styles    */
/* ==================== */

.about-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.about-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.about-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
}

.about-content {
    padding: 60px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.about-text h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-stats {
    background: var(--bg-light);
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* Mission Section */
.about-mission {
    background: var(--primary-color);
    color: var(--bg-white);
    padding: 60px 0;
}

.mission-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.mission-content h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.mission-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

/* Services Section */
.about-services {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-services .section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

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

.service-card {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.service-card > p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    color: var(--text-color);
    font-size: 0.95rem;
}

.service-features li:last-child {
    margin-bottom: 0;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
}

/* CTA Section */
.about-cta {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.about-cta h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.about-cta p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 25px;
}

.cta-btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--bg-white);
    color: var(--secondary-color);
    border-radius: 5px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.cta-btn:hover {
    background: var(--primary-dark);
    color: var(--bg-white);
}

/* About Page Responsive */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 1;
        min-width: 150px;
    }

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

@media (max-width: 768px) {
    .about-hero {
        padding: 40px 0;
    }

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

    .about-content {
        padding: 40px 0;
    }

    .about-mission {
        padding: 40px 0;
    }

    .about-services {
        padding: 50px 0;
    }

    .service-card {
        padding: 25px;
    }

    .about-cta {
        padding: 40px 0;
    }

    .about-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .about-stats {
        flex-direction: column;
    }

    .stat-item {
        width: 100%;
    }
}

/* ======================== */
/* Privacy Policy Styles    */
/* ======================== */

.privacy-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    padding: 60px 0;
    text-align: center;
}

.privacy-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

.privacy-content {
    padding: 60px 0;
}

.privacy-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.privacy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.privacy-section h2 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.privacy-section h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 20px 0 15px;
}

.privacy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-section p:last-child {
    margin-bottom: 0;
}

.privacy-section ul {
    list-style: disc;
    padding-left: 25px;
    margin: 15px 0;
}

.privacy-section ul li {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.privacy-section a {
    color: var(--primary-color);
}

.privacy-section a:hover {
    color: var(--secondary-color);
}

.privacy-date {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Footer Links */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--secondary-color);
}

/* Privacy Page Responsive */
@media (max-width: 768px) {
    .privacy-hero {
        padding: 40px 0;
    }

    .privacy-hero h1 {
        font-size: 2rem;
    }

    .privacy-content {
        padding: 40px 0;
    }

    .privacy-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }

    .privacy-section h2 {
        font-size: 1.2rem;
    }
}
