:root {
    --primary-color: #006400;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --transition: all 0.3s ease;
}

/* Hero Section */
.contact-hero {
    position: relative;
    height: 300px;
    background-image: url('../images/contact-hero.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 100, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.contact-logo {
    width: 80px;
    height: auto;
}

.logo-section h1 {
    color: #006400;
    font-size: 1.8rem;
    margin: 0;
    font-weight: 600;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

/* Contact Info */
.contact-info h2 {
    color: #006400;
    margin-bottom: 30px;
    font-size: 2em;
}

.info-items {
    display: grid;
    gap: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    width: 100%;
    overflow: hidden;
}

.info-item i {
    font-size: 24px;
    color: #006400;
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.info-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
}

.info-content h3 {
    color: #333;
    margin-bottom: 8px;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.info-content p {
    color: #666;
    margin: 0;
    line-height: 1.5;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    white-space: pre-wrap;
}

/* No Data Message */
.no-data-message {
    background: white;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    border: 2px dashed #e0e0e0;
    margin: 20px 0;
}

.no-data-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.no-data-content i {
    font-size: 48px;
    color: #bbb;
}

.no-data-content p {
    color: #999;
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Map Container */
.map-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* This creates a 4:3 aspect ratio */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Directory Section */
.directory-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.directory-section h2 {
    text-align: center;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.directory-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.directory-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.directory-card ul {
    list-style: none;
}

.directory-card li {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.directory-card li:last-child {
    border-bottom: none;
}

.office {
    flex: 1;
    padding-right: 1rem;
}

.local {
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .map-container {
        padding-bottom: 56.25%; /* 16:9 aspect ratio for smaller screens */
    }
}

@media (max-width: 768px) {
    .logo-section {
        flex-direction: column;
        gap: 0.5rem;
    }

    .logo-section h1 {
        font-size: 1.5rem;
    }

    .info-item {
        flex-direction: column;
        text-align: center;
    }

    .info-item i {
        margin: 0 0 15px 0;
    }

    .no-data-message {
        padding: 30px 15px;
        margin: 15px 0;
    }

    .no-data-content i {
        font-size: 36px;
    }

    .no-data-content p {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-logo {
        width: 60px;
    }

    .logo-section h1 {
        font-size: 1.2rem;
    }
    
    .map-container {
        padding-bottom: 100%; /* Square aspect ratio for very small screens */
    }
} 