/* --- Variables inherited from home.css (ensure linked) --- */

/* Hero Section */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 100px 20px 60px;
    /* Top padding for fixed header */
}

.contact-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Contact Layout */
.contact-section {
    padding: 50px 0;
    background: #f9f9f9;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

/* Info Cards */
.info-cards {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.info-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    transition: 0.3s;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.info-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.info-card p {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
}

.info-card small {
    color: #888;
    font-size: 0.8rem;
}

/* Form */
.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-container h2 {
    margin-bottom: 20px;
    color: #333;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #f8f8f8;
    outline: none;
    transition: 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: #fff;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: #004494;
}

/* Right Section */
.map-box {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    height: 300px;
    margin-bottom: 30px;
    border: 4px solid #fff;
}

/* FAQ */
.faq-box h2 {
    margin-bottom: 15px;
    color: #333;
    font-size: 1.5rem;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #eee;
}

.faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #444;
    background: #fff;
    transition: 0.2s;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 15px;
    background: #fafafa;
    color: #666;
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    max-height: 100px;
    padding: 15px;
    border-top: 1px solid #eee;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .info-cards {
        flex-direction: column;
    }
}