/* CONTACT PAGE STYLES */
.contact-hero {
    padding: 90px 0 20px;
    text-align: center;
}
.contact-hero p {
    max-width: 750px;
    margin: 10px auto 0;
    color: var(--light-grey);
}

/* SOCIAL ICONS ROW — centered horizontally, responsive wrap */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); /* flexible cards */
    justify-content: center;   /* center leftover space */
    align-items: start;
    gap: 20px;
    margin: 40px auto;
    max-width: 1100px; /* optional to keep a nice centered width */
}
.social-card {
    max-width: 260px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}
.social-card img {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}
.social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* MAP + IMAGE SECTION — horizontal on desktop */
.map-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}
.map-box,
.image-box {
    height: 350px;
    overflow: hidden;
    border-radius: var(--border-radius-large);
}
.map-box iframe,
.image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 0;
}

/* CONTACT FORM */
.contact-form-section {
    padding: 30px;
    margin-bottom: 60px;
}
.contact-form .form-group {
    margin-bottom: 20px;
}
.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--glass-border);
    background: var(--glass-bg);
    color: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--cyber-purple);
    box-shadow: var(--shadow-neon);
}

/* FOOTER BADGE FIX — make sure footer images are small */
.certification-badges img {
    height: 35px;
    width: auto;
    object-fit: contain;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .map-image {
        grid-template-columns: 1fr;
        height: auto;
    }
}
