/* Contact Page Styles */

/* Banner Styles */
.contact-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/contact-banner.jpg');
    background-color: #1a3c6e; /* Fallback background color */
    background-size: cover;
    background-position: center;
    padding: 120px 0 100px;
    text-align: center;
    color: #fff;
    position: relative;
    margin-top: 80px; /* Increased space between header and banner */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* For animation elements */
}

.contact-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a3c6e 0%, #2a5298 100%);
    opacity: 0.85;
    z-index: 1;
}

/* Animated elements */
.contact-banner::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    top: -100px;
    right: -100px;
    z-index: 1;
    animation: float 15s infinite linear;
}

.animated-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.circle-1 {
    width: 120px;
    height: 120px;
    bottom: -60px;
    left: 10%;
    animation: float 20s infinite ease-in-out;
}

.circle-2 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 5%;
    animation: float 15s infinite ease-in-out reverse;
}

.circle-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    right: 10%;
    animation: float 18s infinite ease-in-out 2s;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

.contact-banner .banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-banner h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff; /* White text */
    display: inline-block;
    border-bottom: 2px solid #4a90e2; /* Blue underline */
}

.contact-banner h1 span {
    position: relative;
    display: inline-block;
    animation: pulse 2s infinite;
    color: #ffffff; /* White text */
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.banner-divider {
    height: 4px;
    width: 80px;
    background-color: #4a90e2;
    margin: 25px auto;
    border-radius: 2px;
    position: relative;
    animation: expandWidth 1.5s ease-out;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}

.contact-banner p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
    color: #ffffff; /* Ensure text is white */
    animation: fadeIn 2s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Main Contact Section */
.contact-main-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* Contact Form Styles */
.contact-form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 40px;
}

.contact-form-container h2 {
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
    text-align: center;
}

.contact-form .form-group {
    margin-bottom: 20px;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #4a90e2;
    outline: none;
}

.contact-form .submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

/* Contact Info Styles */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
}

.contact-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-info-header i {
    font-size: 1.5rem;
    color: #4a90e2;
    margin-right: 15px;
}

.contact-info-header h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 0;
}

.contact-info-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 10px;
}

.contact-info-card p:last-child {
    margin-bottom: 0;
}

.contact-info-card .hours {
    font-style: italic;
    color: #888;
}

.contact-info-card a {
    color: #4a90e2;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-info-card a:hover {
    color: #2a70c2;
    text-decoration: underline;
}

.contact-info-card .social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.contact-info-card .social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: #555;
    transition: all 0.3s;
}

.contact-info-card .social-links a:hover {
    background-color: #4a90e2;
    color: #fff;
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    padding: 60px 0;
}

.map-section h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 1.8rem;
}

#map {
    height: 400px;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    font-size: 1.8rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

.faq-toggle {
    color: #4a90e2;
    font-size: 1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-banner h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .contact-main-section,
    .map-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .contact-form-container,
    .contact-info-card {
        padding: 25px;
    }
    
    .contact-banner {
        padding: 80px 0;
    }
    
    .contact-banner h1 {
        font-size: 2.8rem;
    }
    
    .contact-banner p {
        font-size: 1.1rem;
    }
    
    #map {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-form-container,
    .contact-info-card {
        padding: 20px;
    }
    
    .contact-banner {
        padding: 60px 0;
    }
    
    .contact-banner h1 {
        font-size: 2.2rem;
    }
    
    .contact-banner p {
        font-size: 1rem;
    }
    
    .banner-divider {
        margin: 15px auto;
        width: 60px;
    }
} 