/* Contact Section Styles */
.contact-section {
    padding: 60px 0;
}

.contact-info-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 5px solid #e94e1b;
    overflow: hidden;
}

.contact-info-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-info-header {
    background-color: #f8f9fa;
    padding: 15px;
    margin: -30px -30px 20px -30px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.contact-info-header h3 {
    font-weight: 700;
    font-size: 22px;
    color: #072E4D;
    margin-bottom: 5px;
}

.contact-details {
    margin-top: 20px;
}

.contact-detail-item {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.6;
}

.contact-detail-item strong {
    display: block;
    margin-bottom: 5px;
    color: #072E4D;
    font-weight: 600;
}

.section-title span {
    color: #e94e1b;
    font-weight: 700;
}

.section-divider {
    height: 4px;
    width: 60px;
    background: linear-gradient(to right, #e94e1b, #072E4D);
    margin: 15px auto;
    border-radius: 2px;
}

/* Quick Contact Section */
.quick-contact {
    background-color: #f8f9fa;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item .icon {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.contact-item .icon i {
    font-size: 20px;
    color: #e94e1b;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.contact-item .content {
    text-align: center;
}

.contact-item .content h5 {
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 600;
    color: #072E4D;
}

.contact-item .content p {
    margin-bottom: 0;
    font-size: 14px;
    color: #666;
}

.contact-item .content a {
    color: #666;
    transition: all 0.3s ease;
    word-break: break-word;
}

.contact-item .content a:hover {
    color: #e94e1b;
}

/* Form Styles */
.contact-form-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 5px solid #e94e1b;
    overflow: hidden;
}

.contact-form-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-form-header {
    background-color: #f8f9fa;
    padding: 15px;
    margin: -30px -30px 20px -30px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.contact-form-header h3 {
    font-weight: 700;
    font-size: 24px;
    color: #072E4D;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #072E4D;
}

.form-control {
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #e94e1b;
    box-shadow: 0 0 0 0.2rem rgba(233, 78, 27, 0.15);
}

.form-control::placeholder {
    color: #aaa;
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(to right, #e94e1b, #d03b0a);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #d03b0a;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 78, 27, 0.3);
}

/* Map Container */
.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    min-height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 300px;
    border: none;
}

/* Secretariat Section */
.secretariat-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.secretariat-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    border-top: 5px solid #e94e1b;
    overflow: hidden;
}

.secretariat-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.secretariat-title {
    font-weight: 700;
    color: #072E4D;
    margin-bottom: 15px;
    font-size: 20px;
}

.secretariat-address {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.secretariat-contacts {
    text-align: left;
}

.secretariat-contacts a {
    color: #e94e1b;
    text-decoration: none;
    transition: all 0.3s ease;
}

.secretariat-contacts a:hover {
    color: #d03b0a;
}

.contact-icon {
    background-color: rgba(233, 78, 27, 0.1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.contact-icon i {
    font-size: 35px;
    color: #e94e1b;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .contact-section {
        padding: 40px 0;
    }
    
    .contact-info-card, 
    .contact-form-card,
    .secretariat-card {
        margin-bottom: 30px;
    }
    
    .map-container {
        margin-top: 30px;
        min-height: 350px;
    }

    .contact-item {
        margin-bottom: 10px;
    }
}

@media (max-width: 767.98px) {
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-info-card, 
    .secretariat-card {
        padding: 20px;
    }
    
    .contact-form-card {
        padding: 25px;
    }
    
    .contact-info-header h3,
    .contact-form-header h3,
    .secretariat-title {
        font-size: 20px;
    }
    
    .map-container {
        min-height: 250px;
    }
    
    .map-container iframe {
        min-height: 250px;
    }

    .quick-contact {
        padding: 20px 0;
    }

    .contact-item {
        margin-bottom: 15px;
        flex-direction: column;
        text-align: center;
    }

    .contact-item .icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .contact-item .content {
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .quick-contact {
        padding: 15px 0;
    }
    
    .contact-item {
        padding: 5px;
    }
    
    .contact-item .content h5 {
        font-size: 15px;
    }
    
    .contact-item .content p, 
    .contact-item .content a {
        font-size: 13px;
    }
    
    .form-control {
        font-size: 13px;
        padding: 10px;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .secretariat-card {
        padding: 15px;
    }
}

/* Contact Page Footer Specific Fixes */
.footer-section {
    position: relative !important;
    z-index: 999 !important;
    pointer-events: auto !important;
    user-select: text !important;
}

.footer-section * {
    pointer-events: auto !important;
    user-select: text !important;
    position: relative !important;
}

.footer-section .footer-links a {
    display: flex !important;
    align-items: center !important;
}

.footer-section .footer-links a i {
    margin-right: 10px !important;
}

/* Footer Specific Styles */
.footer-section .secretariat-title {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    margin-top: 10px;
}

/* Footer responsive fixes for Contact page */
@media (max-width: 767.98px) {
    .footer-section {
        text-align: center !important;
    }
    
    .footer-heading::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 80px !important;
    }
    
    .secretariat-info {
        text-align: center !important;
    }
    
    .secretariat-contacts {
        text-align: center !important;
    }
    
    .secretariat-contacts p {
        text-align: center !important;
        display: block !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .email-text {
        text-align: center !important;
        justify-content: center !important;
        display: flex !important;
        align-items: center !important;
    }
    
    .footer-links li {
        justify-content: center !important;
        display: flex !important;
    }
    
    .organiser-contacts p {
        justify-content: center !important;
        display: flex !important;
    }
    
    .copyright-bar .text-md-end {
        text-align: center !important;
        margin-top: 5px !important;
    }
}

@media (max-width: 575.98px) {
    .footer-section {
        padding: 20px 0 0 !important;
    }
    
    .footer-heading {
        font-size: 18px !important;
        margin-top: 10px !important;
        margin-bottom: 12px !important;
    }
    
    .organiser-logo-img {
        max-width: 70px !important;
    }
    
    .col-lg-3.col-md-6 {
        margin-bottom: 5px !important;
    }
}

/* Thank You Message Styling */
.thank-you-message {
    transition: all 0.5s ease-in-out;
}

.thank-you-content {
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #28a745;
    margin-top: 20px;
}

.success-icon {
    color: #28a745;
    animation: pulse 2s infinite;
}

.next-steps {
    background-color: rgba(233, 78, 27, 0.1);
    padding: 15px;
    border-radius: 8px;
}

.next-steps a {
    color: #e94e1b;
    font-weight: 500;
}

.next-steps a:hover {
    color: #d03b0a;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
} 