/* --- START OF FILE contact.css --- */
/* Styles specific to the contact.html page */

/* ===== Enhanced Header / Hero Section Specific to Contact ===== */
.parallax-header {
    position: relative;
    padding: 8rem 0 6rem; /* Adjust padding as needed */
    background: linear-gradient(135deg, var(--bg-light, #f8f9fa) 0%, var(--bg-light-alt, #e9ecef) 100%); /* Use base light colors */
    overflow: hidden; /* Prevent pattern overflow */
    border-bottom: 1px solid var(--border-color); /* Add border for consistency */
}
:root.dark-mode .parallax-header {
    background: linear-gradient(135deg, var(--bg-light-dark, #1a1a1a) 0%, var(--bg-color-dark, #121212) 100%);
    border-bottom-color: var(--border-color-dark);
}

/* Uses .header-pattern, .header-content, .header-icon, .pulse-animation, .header-divider
   styles from the base style.css */

.quick-contact-badges { /* From original contact.html inline style */
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.quick-contact-badges .badge-item { /* From original contact.html inline style, inherits base .badge-item */
    position: relative; /* Needed for glow */
    overflow: hidden; /* Needed for glow */
}

/* Glowing effect for badges */
.glow-effect::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.3) 0%, rgba(var(--primary-rgb), 0) 70%); /* Use primary color */
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
    z-index: -1; /* Ensure it's behind content */
}
:root.dark-mode .glow-effect::after {
     background: radial-gradient(circle, rgba(var(--primary-rgb-dark), 0.3) 0%, rgba(var(--primary-rgb-dark), 0) 70%); /* Use primary dark color */
}
.glow-effect:hover::after {
    opacity: 1;
}

/* Support Status Indicator */
.support-status {
    display: inline-flex; /* Changed to inline-flex */
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    margin-inline-start: 0.5rem; /* Adjust spacing based on language */
    white-space: nowrap;
}
.support-status.available {
    background-color: rgba(76, 175, 80, 0.15); /* Use secondary color */
    color: var(--secondary-dark);
}
:root.dark-mode .support-status.available {
     background-color: rgba(105, 219, 124, 0.15);
     color: var(--secondary-light-dark);
}
.support-status.unavailable {
    background-color: rgba(220, 53, 69, 0.15); /* Use danger color */
    color: #dc3545;
}
:root.dark-mode .support-status.unavailable {
    background-color: rgba(224, 108, 120, 0.15); /* Lighter red */
    color: #e06c78;
}
.status-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    animation: pulse-status 2s infinite;
}
.available .status-dot { background-color: var(--secondary-dark); }
:root.dark-mode .available .status-dot { background-color: var(--secondary-light-dark); }
.unavailable .status-dot { background-color: #dc3545; }
:root.dark-mode .unavailable .status-dot { background-color: #e06c78; }

@keyframes pulse-status {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

/* Wave SVG Divider */
.wave-divider {
    position: absolute;
    bottom: -1px; /* Prevent thin line gap */
    left: 0;
    width: 100%;
    line-height: 0; /* Remove extra space */
    direction: ltr; /* Force LTR for SVG path */
    z-index: 1; /* Above header pattern */
}
.wave-divider svg {
    display: block; /* Remove bottom space */
    width: 100%;
    height: 70px; /* Adjust height as needed */
    /* Ensure fill matches the section below it */
    fill: var(--bg-color);
}
:root.dark-mode .wave-divider svg {
    fill: var(--bg-color-dark);
}

/* ===== Contact Details & Form Section ===== */
#contact-details-form {
     padding-top: 8rem; /* Add padding to account for wave */
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}
@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: minmax(350px, 1fr) 1.3fr; /* Column widths */
    }
    /* RTL adjustments if needed */
    html[lang="ar"] .contact-grid {
        grid-template-columns: 1.3fr minmax(350px, 1fr);
    }
    html[lang="ar"] .contact-info-col { grid-column: 2 / 3; }
    html[lang="ar"] .contact-form-col { grid-column: 1 / 2; grid-row: 1 / 2; }
}

.contact-info-col, .contact-form-col {
    background-color: var(--card-bg);
    border-radius: 12px; /* More rounded */
    box-shadow: var(--box-shadow);
    padding: 2rem 2.5rem; /* Adjusted padding */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}
:root.dark-mode .contact-info-col, :root.dark-mode .contact-form-col {
    background-color: var(--card-bg-dark);
    border-color: var(--border-color-dark);
    box-shadow: var(--box-shadow-dark);
}

.contact-info-col:hover, .contact-form-col:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}
:root.dark-mode .contact-info-col:hover, :root.dark-mode .contact-form-col:hover {
    box-shadow: var(--box-shadow-hover-dark);
}

/* Contact Info Items */
.contact-info-col h2, .contact-form-col h2 {
    text-align: start;
    margin-bottom: 1rem;
    font-size: 1.6rem; /* Slightly smaller */
}
.contact-info-col p:first-of-type, .contact-form-col p:first-of-type {
    margin-bottom: 2rem;
    color: var(--text-muted-color);
    font-size: 1rem;
}
:root.dark-mode .contact-info-col p:first-of-type,
:root.dark-mode .contact-form-col p:first-of-type { color: var(--text-muted-color-dark); }

.contact-info-item {
    display: flex;
    align-items: flex-start; /* Align icon to top */
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}
.contact-info-item:last-of-type { /* Target last item specifically */
    border-bottom: none;
    margin-bottom: 0; /* No margin for last item before social icons */
    padding-bottom: 0;
}
:root.dark-mode .contact-info-item { border-bottom-color: var(--border-color-dark); }

.contact-icon { /* Specific to contact info column */
    flex: 0 0 45px; /* Slightly smaller */
    height: 45px;
    background-color: rgba(0, 90, 156, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-inline-end: 1rem;
    color: var(--primary-color);
    font-size: 1.1rem; /* Slightly smaller */
    transition: all 0.3s ease;
}
:root.dark-mode .contact-icon { background-color: rgba(77, 171, 247, 0.1); color: var(--primary-color-dark); }

.contact-info-item:hover .contact-icon {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotateY(180deg);
}
:root.dark-mode .contact-info-item:hover .contact-icon { background-color: var(--primary-color-dark); color: #111; }


.contact-text h4 { margin-bottom: 0.5rem; font-size: 1.1rem; color: var(--text-color); }
:root.dark-mode .contact-text h4 { color: var(--text-color-dark); }

.contact-text p { margin-bottom: 0.5rem; color: var(--text-muted-color); font-size: 0.95rem; }
:root.dark-mode .contact-text p { color: var(--text-muted-color-dark); }

.contact-text p a { color: inherit; transition: color 0.3s ease; display: inline; /* Allow multiple links per line */ margin-right: 0.5rem; }
.contact-text p a:hover { color: var(--primary-color); text-decoration: underline; }
:root.dark-mode .contact-text p a:hover { color: var(--primary-color-dark); }

.map-link {
    display: inline-flex; align-items: center; color: var(--secondary-color);
    font-size: 0.9rem; font-weight: 600; text-decoration: none; transition: color 0.3s ease;
    margin-top: 0.3rem;
}
.map-link:hover { color: var(--secondary-dark); text-decoration: underline; }
:root.dark-mode .map-link { color: var(--secondary-color-dark); }
:root.dark-mode .map-link:hover { color: var(--secondary-light-dark); }
.map-link i { margin-inline-start: 0.3rem; font-size: 0.8rem; }

.contact-social-icons { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
:root.dark-mode .contact-social-icons { border-top-color: var(--border-color-dark); }
.contact-social-icons h4 { margin-bottom: 1rem; font-size: 1.1rem; color: var(--text-color); }
:root.dark-mode .contact-social-icons h4 { color: var(--text-color-dark); }

.contact-social-icons a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    background-color: rgba(0, 90, 156, 0.1);
    border-radius: 50%; color: var(--primary-color);
    margin-inline-end: 0.5rem; transition: all 0.3s ease; font-size: 1rem;
}
:root.dark-mode .contact-social-icons a { background-color: rgba(77, 171, 247, 0.1); color: var(--primary-color-dark); }

.contact-social-icons a:hover {
    background-color: var(--primary-color); color: #fff; transform: translateY(-3px);
}
:root.dark-mode .contact-social-icons a:hover { background-color: var(--primary-color-dark); color: #111; }

/* Enhanced Contact Form */
.form-accent-divider {
    height: 4px; width: 60px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-color));
    margin-bottom: 2rem; border-radius: 2px;
}
:root.dark-mode .form-accent-divider { background: linear-gradient(to right, var(--primary-color-dark), var(--accent-color-dark)); }


.contact-form { margin-bottom: 2rem; }
/* Uses .form-floating and .form-control styles from base style.css */

/* Submit Button Specific Styling */
.submit-btn {
    /* Uses base .btn and .btn-primary styles */
    min-width: 180px; /* Ensure minimum width */
}
.submit-btn .spinner-border { width: 1em; height: 1em; border-width: .15em; }


/* Alternative Contact Methods */
.alternative-contact { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
:root.dark-mode .alternative-contact { border-top-color: var(--border-color-dark); }
.alternative-contact p { margin-bottom: 0.8rem; font-size: 0.95rem; color: var(--text-muted-color); }
:root.dark-mode .alternative-contact p { color: var(--text-muted-color-dark); }

.alt-contact-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.5rem 1rem; background-color: rgba(0, 90, 156, 0.08);
    border-radius: 50px; color: var(--primary-color); text-decoration: none;
    transition: all 0.3s ease; margin-top: 0.5rem; font-size: 0.9rem;
}
:root.dark-mode .alt-contact-btn { background-color: rgba(77, 171, 247, 0.1); color: var(--primary-color-dark); }

.alt-contact-btn:hover {
    background-color: rgba(0, 90, 156, 0.15); transform: translateX(5px);
}
html[lang="en"] .alt-contact-btn:hover { transform: translateX(-5px); } /* Corrected LTR hover */
:root.dark-mode .alt-contact-btn:hover { background-color: rgba(77, 171, 247, 0.2); }

.alt-contact-btn i { font-size: 1rem; }

/* ===== Immediate Assistance CTA Section ===== */
.cta-section { /* Inherits base section styles */
    position: relative; padding: 4rem 0;
    background: var(--bg-light);
}
:root.dark-mode .cta-section { background: var(--bg-light-dark); }

.cta-section .section-title { margin-bottom: 1rem; }
.cta-section .section-subtitle { margin-bottom: 2rem; }

.cta-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.cta-buttons .btn { /* Inherits base .btn styles */ }
.btn-whatsapp { color: #fff; background-color: #25d366; border-color: #25d366; }
.btn-whatsapp:hover { background-color: #20ba5a; border-color: #20ba5a; transform: translateY(-3px); box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2); }

/* ===== Map Section ===== */
.map-section { padding: 0; /* Removed default padding if not needed */ }
.map-container {
    border-radius: 0; /* Full width, no radius */
    overflow: hidden;
    box-shadow: none; /* No shadow for full width map */
    position: relative;
    z-index: 1;
    line-height: 0; /* Remove line height for iframe */
}
.map-container iframe { display: block; border: 0; width: 100%; height: 450px; }

/* ===== Feedback Section ===== */
#feedback-section { background-color: var(--bg-light); padding-top: 4rem; padding-bottom: 4rem; }
:root.dark-mode #feedback-section { background-color: var(--bg-light-dark); }
.feedback-form-container {
    max-width: 600px; margin: 2rem auto 0;
    background-color: var(--card-bg); border-radius: 12px;
    box-shadow: var(--box-shadow); padding: 2.5rem; /* Increased padding */
    border: 1px solid var(--border-color);
}
:root.dark-mode .feedback-form-container {
    background-color: var(--card-bg-dark);
    box-shadow: var(--box-shadow-dark);
    border-color: var(--border-color-dark);
}
.rating-container { margin-bottom: 1.5rem; text-align: center; }
.rating-container p { margin-bottom: 0.8rem; font-weight: 600; color: var(--text-color); }
:root.dark-mode .rating-container p { color: var(--text-color-dark); }
.star-rating { display: inline-flex; flex-direction: row-reverse; justify-content: center; }
.star-rating input { display: none; }
.star-rating label { cursor: pointer; width: 30px; height: 30px; margin: 0 3px; position: relative; display: block; }
.star-rating label::before { content: '\f005'; font-family: 'Font Awesome 6 Free'; font-weight: 400; /* Regular star */ position: absolute; font-size: 28px; color: #ccc; top: 0; left: 0; transition: color 0.2s ease, transform 0.2s ease; }
.star-rating input:checked ~ label::before,
.star-rating label:hover::before,
.star-rating label:hover ~ label::before { content: '\f005'; font-weight: 900; /* Solid star */ color: var(--star-color); }
:root.dark-mode .star-rating label:hover::before,
:root.dark-mode .star-rating label:hover ~ label::before,
:root.dark-mode .star-rating input:checked ~ label::before { color: var(--star-color-dark); }

.star-rating label:hover { transform: scale(1.15); }

.feedback-form-container .form-floating { margin-bottom: 1.5rem; }
.feedback-form-container .btn { /* Uses base button styles */ display: block; width: 100%; margin-top: 1rem; }

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-grid { grid-template-columns: 1fr !important; } /* Force single column */
    .contact-info-col, .contact-form-col { padding: 2rem; }
}

@media (max-width: 768px) {
    .parallax-header { padding: 6rem 0 5rem; }
    .quick-contact-badges { flex-direction: column; align-items: center; gap: 1rem; }
    .quick-contact-badges .badge-item { width: 85%; justify-content: center; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 80%; max-width: 300px; justify-content: center; }
    .feedback-form-container { padding: 2rem 1.5rem; }
}
/* --- END OF FILE contact.css --- */