/* Contact Page Specific Styles */
.contact-page {
    padding-top: 80px; /* Account for fixed header */
}

.contact-hero {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.95), rgba(76, 175, 80, 0.95));
    color: white;
    text-align: center;
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI1NiIgaGVpZ2h0PSIxMDAiPgo8cmVjdCB3aWR0aD0iNTYiIGhlaWdodD0iMTAwIiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMSI+PC9yZWN0Pgo8cGF0aCBkPSJNMjggNjZMMCA1MEwyOCAzNGwyOCAxNnptMC0zMkwwIDE4TDI4IDJsMjggMTZ6IiBmaWxsPSIjZmZmIiBmaWxsLW9wYWNpdHk9IjAuMSI+PC9wYXRoPgo8L3N2Zz4=');
    opacity: 0.1;
}

.contact-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contact-hero p {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.contact-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(5px);
}

.badge i {
    font-size: 1.2rem;
}

.badge span {
    font-weight: 500;
}

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

/* Contact Information Cards */
.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.info-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    z-index: 1;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1);
}

.info-card h3 {
    margin-bottom: 1rem;
    color: #1a1a1a;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-card p {
    color: #4a4a4a;
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
}

.info-card a {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    white-space: normal;
    display: inline-block;
}

.info-card a:hover {
    color: #4CAF50;
}

/* Specific card styles */
.location-card {
    background: linear-gradient(135deg, #E3F2FD, #FFFFFF);
    border-color: #BBDEFB;
}

.contact-card {
    background: linear-gradient(135deg, #E8F5E9, #FFFFFF);
    border-color: #C8E6C9;
}

.call-card {
    background: linear-gradient(135deg, #FBE9E7, #FFFFFF);
    border-color: #FFCCBC;
}

.email-card {
    background: linear-gradient(135deg, #FCE4EC, #FFFFFF);
    border-color: #F8BBD0;
}

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

.contact-form-container h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    color: var(--text-color);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s, background-color 0.3s;
}

.submit-btn:hover {
    transform: translateY(-3px);
    background-color: #15407a;
}

/* Map Section */
.map-section {
    padding: 4rem 2rem;
    background-color: var(--light-bg);
}

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

.map-container {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

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

    .contact-info {
        order: 2;
    }

    .contact-form-container {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

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

    .map-container iframe {
        height: 300px;
    }
}