/* ===== Contact Page Styles ===== */

/* Banner Section */
.contact-banner {
    background: linear-gradient(rgba(0, 50, 95, 0.9), rgba(0, 50, 95, 0.8)), 
                url('../images/page%20banners/Contact%20Us.jpg') center/cover no-repeat;
    padding: 8rem 0 6rem;
    color: #fff;
    text-align: center;
    position: relative;
}

.contact-banner .banner-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    padding: 0 1.5rem;
}

.contact-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.contact-banner p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.banner-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Main Contact Section */
.contact-main {
    padding: 4rem 0;
    background-color: #fff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Contact Info Card */
.contact-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    padding: 2.5rem;
    height: 100%;
    border: 1px solid var(--neutral-100);
}

.contact-card h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-card h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.contact-intro {
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-item {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--neutral-100);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-right: 1.25rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-text h3 {
    color: var(--neutral-900);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-text p {
    color: var(--neutral-600);
    margin: 0;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Social Links */
.social-links {
    margin-top: 2.5rem;
}

.social-links h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--neutral-900);
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--neutral-50);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.04);
    padding: 1.75rem;
    border: 1px solid var(--neutral-100);
}

.contact-form-container h2 {
    color: var(--primary-color);
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.form-intro {
    color: var(--neutral-600);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}

.form-group {
    margin-bottom: 0.85rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-800);
}

.required {
    color: #e53e3e;
    margin-left: 0.25rem;
}

.form-control {
    width: 100%;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--neutral-200);
    border-radius: 5px;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    background-color: var(--neutral-50);
    height: auto;
    line-height: 1.4;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 50, 95, 0.1);
}

textarea.form-control {
    min-height: 90px;
    resize: vertical;
    line-height: 1.5;
}

.form-check {
    display: flex;
    align-items: flex-start;
    margin: 1.2rem 0 1rem;
}

.form-check-input {
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--neutral-700);
    line-height: 1.4;
    margin-top: 0.1rem;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.form-check-label a:hover {
    text-decoration: underline;
}

.btn-block {
    display: block;
    width: 100%;
    padding: 0.6rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.25rem;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background: #00284f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 50, 95, 0.15);
}

.btn i {
    margin-left: 0.5rem;
}

/* Map Section */
.map-container {
    margin-top: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1.5rem;
}

.map-container h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-subtitle {
    text-align: center;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.map-iframe {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-iframe iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .map-container {
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .contact-banner h1 {
        font-size: 2.25rem;
    }
    
    .contact-banner p {
        font-size: 1.1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-card,
    .contact-form-container {
        padding: 1.75rem;
    }
    
    .contact-item {
        padding-bottom: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .contact-banner {
        padding: 6rem 0 4rem;
    }
    
    .banner-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .banner-cta .btn {
        width: 100%;
        text-align: center;
    }
    
    .contact-card,
    .contact-form-container {
        padding: 1.5rem;
    }
}

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

/* Responsive Adjustments */
@media (max-width: 992px) {
    .contact-banner {
        min-height: 400px;
    }
    
    .contact-banner h1 {
        font-size: 2.8rem;
    }
    
    .contact-banner p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .contact-banner {
        min-height: 350px;
        padding: 4rem 0;
    }
    
    .contact-banner h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-banner p {
        font-size: 1rem;
    }
    
    .banner-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .banner-cta .btn {
        width: 100%;
        max-width: 250px;
        justify-content: center;
    }
}

/* Contact Form Styling */
.contact-form-container {
    background: #fff;
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.contact-form h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.contact-form > p {
    color: var(--neutral-600);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

/* Form Layout */
.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-group {
    flex: 1;
    margin-bottom: 0.9rem;
    position: relative;
}

/* Form Labels */
.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--neutral-800);
    font-size: 0.95rem;
}

/* Form Inputs - Black Background */
.form-control {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 2px solid transparent;
    border-radius: 6px;
    font-size: 0.98rem;
    transition: all 0.3s ease;
    background-color: #000000;
    color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Placeholder Text */
.form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* Focus State */
.form-control:focus {
    outline: none;
    border-color: var(--secondary-color);
    background-color: #111111;
    box-shadow: 0 0 0 3px rgba(253, 177, 3, 0.25);
}

/* Textarea Specific */
textarea.form-control {
    min-height: 110px;
    resize: vertical;
    line-height: 1.55;
}

/* Select Dropdown */
select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 12px;
    padding-right: 2.5rem;
}

/* Form Buttons */
.btn-submit {
    background: var(--secondary-color);
    color: #000;
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.btn-submit:hover {
    background: #e6a500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(253, 177, 3, 0.3);
}

/* Form Validation */
.form-group.error .form-control {
    border-color: #ff4444;
    background-color: #1a0000;
}

.error-message {
    color: #ff6b6b;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error .error-message {
    display: block;
}

/* Success Message */
.form-success {
    display: none;
    background: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .contact-form h2 {
        font-size: 1.5rem;
    }
}

/* Hover Effects */
.form-control:not(textarea):hover {
    background-color: #111111;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    animation: fadeIn 0.4s ease-out forwards;
    opacity: 0;
}

/* Staggered Animation */
.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }
.form-group:nth-child(3) { animation-delay: 0.3s; }
.form-group:nth-child(4) { animation-delay: 0.4s; }
.form-group:nth-child(5) { animation-delay: 0.5s; }
.form-group:nth-child(6) { animation-delay: 0.6s; }
