/* Main Content */
.contact-main {
    padding: 60px 0;
    background-color: #f8f9fa;
}

/* Offices Grid */
.offices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

/* Office Card */
.office-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.office-card:hover {
    transform: translateY(-5px);
}

.office-header {
    background: var(--primary-color);
    color: #fff;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.office-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.office-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.office-icon i {
    font-size: 1.2rem;
    color: #fff;
}

.office-content {
    padding: 25px;
}

/* Address Styles */
address {
    font-style: normal;
    margin-bottom: 20px;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Info */
.contact-info {
    margin-bottom: 20px;
}

.contact-person {
    margin-bottom: 15px;
}

.contact-person p {
    margin: 5px 0 0;
    color: var(--text-color);
}

.contact-details p {
    margin: 0 0 5px;
    color: var(--text-color);
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #1a4534;
}

/* Map Button */
.btn-map {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.btn-map::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.btn-map:hover {
    color: #1a4534;
}

.btn-map:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Personal Contacts Section */
.personal-contacts {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contacts-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.contacts-container h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.contacts-container p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.contacts-container a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts-container a:hover {
    color: #1a4534;
}

/* Search Section */
.search-section {
    margin-top: 30px;
}

.search-section h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.search-box {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.search-box .form-control {
    border: 2px solid #e9ecef;
    border-radius: 30px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-box .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
    outline: none;
}

.btn-search {
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-search:hover {
    background: #1a4534;
    transform: translateY(-2px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .offices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 991px) {
    .contact-main {
        padding: 40px 0;
    }

    .office-header h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 767px) {
    .offices-grid {
        grid-template-columns: 1fr;
    }

    .personal-contacts {
        padding: 30px 20px;
    }

    .contacts-container h2 {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }
} 