.section-title::after {
  content: unset;
}

.card:hover i {
  color: inherit !important;
}

.card i {
  color: inherit !important;
}

/* ========================================= */
/* CONTACT PAGE STYLES */
/* ========================================= */

/* General Section Styling */
.section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.subheading {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title {
    color: var(--text-color);
    font-size: 2.5rem;
}

.lead {
    color: var(--text-color);
    opacity: 0.8;
}

/* --- Section Backgrounds --- */
.bg-light {
    background-color: var(--light-bg) !important;
}
.bg-alt {
    background-color: var(--alt-bg) !important; /* New background for map section */
}

/* --- Contact Form & Details Cards --- */

/* Card General Styling */
.card {
    border: none;
    border-radius: 1rem; /* Slightly larger border radius for modern feel */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-light);
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

/* Styling the form elements */
.form-label {
    color: var(--text-color);
    font-size: 0.95rem;
}

.form-control {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-color-rgb), 0.25); 
    outline: none;
}

/* Submit Button */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important; /* Force white text for better contrast on primary button */
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* --- Contact Details Column (Enhanced Visuals) --- */

.contact-details-card {
    background: var(--gradient-primary); /* Use primary gradient for a vivid look */
    color: #fff; /* Ensure text is white for contrast */
    box-shadow: var(--shadow-hover);
}

/* Overriding icon and text color specifically for the details card */
.contact-details-card h3,
.contact-details-card h6,
.contact-details-card p {
    color: #fff !important;
}

.contact-details-card i.fa-2x {
    color: var(--accent-color) !important; /* Use accent color for details icons for a pop */
}

.contact-details-card .text-light-link {
    color: #fff !important;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.contact-details-card .text-light-link:hover {
    opacity: 1;
}

/* Social Icons in Details Card */
.social-icons-alt a {
    color: #fff; /* White base color */
    opacity: 0.8;
    transition: color 0.2s ease, opacity 0.2s;
}

.social-icons-alt a:hover {
    color: var(--accent-color); /* Highlight with accent color on hover */
    opacity: 1;
}

/* --- Map Embed Section --- */

.map-container {
    border: 5px solid var(--alt-bg);
    box-shadow: var(--shadow-hover);
    border-radius: 1rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .section-title {
        font-size: 2rem;
    }
    .col-lg-5 {
        margin-top: 2rem;
    }
}