/* Contact Page Custom Styling */

.contact-page-section {
    position: relative;
    padding: 80px 0;
    background-color: #ffffff;
}

.contact-page-section .auto-container {
    position: relative;
}

/* Contact Info Styling */
.contact-column .inner-column {
    position: relative;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(78,6,82,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.contact-column .inner-column:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.contact-info {
    position: relative;
    margin-bottom: 0;
}

.contact-info li {
    position: relative;
    margin-bottom: 30px;
    padding-left: 70px;
    min-height: 50px;
}

.contact-info li:last-child {
    margin-bottom: 0;
}

.contact-info li .icon {
    position: absolute;
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-size: 20px;
    line-height: 50px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-info li:hover .icon {
    background-color: var(--primary-color);
    color: #ffffff;
}

.contact-info li p {
    margin: 0 0 5px 0;
    line-height: 24px;
    font-size: 15px;
    color: #777777;
}

.contact-info li p strong {
    font-weight: 600;
    font-size: 18px;
    display: block;
    color: #222222;
    margin: 0 0 10px 0;
}

.contact-info li p a {
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.contact-info li p a:hover {
    color: var(--secondary-color);
}

/* Contact Organization Names */
.contact-info .organization-name {
    margin-bottom: 10px;
    font-size: 16px;
    color: var(--text-color);
    font-weight: 600;
}

/* Form Styling */
.form-column .inner-column {
    position: relative;
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(78,6,82,0.08);
    height: 100%;
}

.contact-form {
    position: relative;
}

.contact-form .sec-title {
    margin-bottom: 30px;
}

.contact-form .sec-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.contact-form .sec-title .text {
    font-size: 15px;
    line-height: 1.6;
    color: #777777;
}

.contact-form .form-group {
    position: relative;
    margin-bottom: 25px;
}

.contact-form .form-group input[type="text"],
.contact-form .form-group input[type="email"],
.contact-form .form-group textarea {
    position: relative;
    display: block;
    width: 100%;
    height: 60px;
    font-size: 16px;
    color: #222222;
    font-weight: 400;
    padding: 10px 25px;
    background-color: #f5f5f5;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 300ms ease;
}

.contact-form .form-group textarea {
    height: 180px;
    resize: none;
    padding-top: 20px;
}

.contact-form .form-group.text-center {
    margin-top: 30px;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--secondary-color);
    background-color: #ffffff;
}

.contact-form .btn-style-one,
.btn-box .btn-style-one,
.theme-btn.btn-style-one {
    display: inline-block;
    min-width: 200px;
    text-align: center;
    text-decoration: none;
    min-height: 50px;
    line-height: 30px;
    padding: 10px 30px;
    background: linear-gradient(135deg, #002941, #006798);
    color: #ffffff;
    border-radius: 10px;
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.contact-form .btn-style-one:hover,
.btn-box .btn-style-one:hover,
.theme-btn.btn-style-one:hover {
    background: linear-gradient(135deg, #006798, #002941);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0, 41, 65, 0.2);
    border: 1px solid transparent;
}

.contact-form .btn-style-one:before,
.btn-box .btn-style-one:before,
.theme-btn.btn-style-one:before {
    display: none;
}

.contact-form .btn-style-one,
.btn-box .btn-style-one,
.theme-btn.btn-style-one {
    border: 1px solid transparent;
}

.contact-form .btn-style-one .btn-title,
.btn-box .btn-style-one .btn-title,
.theme-btn.btn-style-one .btn-title {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.contact-form .btn-style-one:hover .btn-title,
.btn-box .btn-style-one:hover .btn-title,
.theme-btn.btn-style-one:hover .btn-title {
    color: #ffffff;
}

/* Map Section */
.map-section {
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: var(--light-bg);
}

.map-section .auto-container {
    max-width: 1200px;
}

.map-section .map-outer {
    position: relative;
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(78,6,82,0.1);
    background-color: #ffffff;
    padding: 10px;
}

.map-section .map-outer iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    border-radius: 15px;
}

/* Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Social Media Contact */
.social-contact-section {
    padding: var(--section-padding);
    background-color: var(--light-bg);
}

.social-contact-section .sec-title {
    max-width: 700px;
    margin: 0 auto 40px;
}

.social-contact-section .sec-title h2 {
    margin-bottom: 15px;
    font-size: 32px;
    color: #005580;
    text-align: center;
    width: 100%;
}

.social-contact-section .sec-title .text {
    font-size: 16px;
    line-height: 1.6;
    color: #777777;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.social-contact-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px 0;
    margin-top: 20px;
}

.social-contact-item {
    flex: 0 0 210px;
    max-width: 210px;
    text-align: center;
    padding: 30px 20px;
    background-color: #ffffff;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(78,6,82,0.1);
}

.social-contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(78,6,82,0.15);
}

.social-contact-item .icon {
    display: inline-block;
    height: 70px;
    width: 70px;
    line-height: 70px;
    font-size: 28px;
    color: #ffffff;
    background: var(--primary-color);
    border-radius: 50%;
    margin-bottom: 15px;
    transition: all 300ms ease;
}

.social-contact-item:hover .icon {
    background: var(--secondary-color);
}

.social-contact-item h4 {
    position: relative;
    font-size: 18px;
    line-height: 1.2em;
    color: var(--text-color);
    margin-bottom: 15px;
}

.social-contact-item .link {
    position: relative;
    display: inline-block;
    font-size: 16px;
    line-height: 24px;
    color: var(--primary-color);
    font-weight: 500;
    transition: all 300ms ease;
}

.social-contact-item .link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* FAQ Section */
.faq-section {
    position: relative;
    padding: 80px 0;
    background-color: #f8f8f8;
}

.faq-section .sec-title {
    text-align: center;
    margin-bottom: 50px;
}

.faq-section .sec-title h2 {
    position: relative;
    display: block;
    font-size: 32px;
    line-height: 1.2em;
    color: #222222;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
}

.faq-section .sec-title .text {
    font-size: 16px;
    line-height: 1.6;
    color: #777777;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.faq-block {
    position: relative;
    margin-bottom: 20px;
}

.faq-block:last-child {
    margin-bottom: 0;
}

.faq-block .inner-box {
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-block .inner-box:hover {
    box-shadow: 0 10px 30px rgba(78,6,82,0.1);
}

.faq-block .question-box {
    position: relative;
    padding: 20px 30px;
    cursor: pointer;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.faq-block.active .question-box {
    background-color: var(--primary-color);
}

.faq-block .question-box h4 {
    position: relative;
    font-size: 18px;
    line-height: 28px;
    color: #222222;
    font-weight: 600;
    padding-right: 40px;
    transition: all 0.3s ease;
}

.faq-block.active .question-box h4 {
    color: #ffffff;
}

.faq-block .question-box .icon {
    position: absolute;
    right: 30px;
    top: 20px;
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-block.active .question-box .icon {
    transform: rotate(180deg);
    color: #ffffff;
}

.faq-block .answer-box {
    position: relative;
    padding: 20px 30px;
    display: none;
}

.faq-block.active .answer-box {
    display: block;
}

.faq-block .answer-box .text {
    position: relative;
    font-size: 15px;
    line-height: 26px;
    color: #777777;
}

/* Animation Effects */
.animate-box {
    opacity: 0;
    transition: all 0.5s ease;
}

.animate-box.animated {
    opacity: 1;
}

.fade-in-up {
    transform: translateY(40px);
}

.fade-in-up.animated {
    transform: translateY(0);
}

.fade-in-left {
    transform: translateX(-40px);
}

.fade-in-left.animated {
    transform: translateX(0);
}

.fade-in-right {
    transform: translateX(40px);
}

.fade-in-right.animated {
    transform: translateX(0);
}

.scale-in {
    transform: scale(0.8);
}

.scale-in.animated {
    transform: scale(1);
}

/* Enhanced Form Styling */
.contact-form .form-group.has-error input,
.contact-form .form-group.has-error textarea {
    border-color: #ff6666;
}

.contact-form .form-group .help-block {
    font-size: 13px;
    color: #ff6666;
    margin-top: 5px;
}

.contact-form .alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 8px;
}

.contact-form .alert-success {
    color: #3c763d;
    background-color: #dff0d8;
    border-color: #d6e9c6;
}

.contact-form .alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}

.contact-form .alert .close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000000;
    opacity: 0.2;
    background: none;
    border: none;
    cursor: pointer;
}

.contact-form .alert .close:hover {
    opacity: 0.5;
}

/* Responsive */
@media only screen and (max-width: 1023px) {
    .contact-page-section {
        padding: 70px 0;
    }
    
    .contact-column .inner-column,
    .form-column .inner-column {
        margin-bottom: 30px;
    }
    
    .contact-page-section .row {
        margin-bottom: 30px;
    }
    
    .contact-info li {
        padding-left: 60px;
    }
    
    .contact-info li .icon {
        height: 45px;
        width: 45px;
        line-height: 45px;
        font-size: 18px;
    }
}

@media only screen and (max-width: 767px) {
    .contact-page-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .map-section {
        padding-bottom: 50px;
    }
    
    .map-section .map-outer iframe {
        height: 350px;
    }
    
    .form-column .inner-column,
    .contact-column .inner-column {
        padding: 30px 20px;
    }
    
    .social-contact-item {
        width: 160px;
        padding: 20px 15px;
    }
    
    .social-contact-item .icon {
        height: 60px;
        width: 60px;
        line-height: 60px;
        font-size: 24px;
    }
    
    .faq-block .question-box {
        padding: 15px 20px;
    }
    
    .faq-block .question-box h4 {
        font-size: 16px;
        line-height: 24px;
        padding-right: 35px;
    }
    
    .faq-block .question-box .icon {
        right: 20px;
    }
    
    .faq-block .answer-box {
        padding: 15px 20px;
    }
}

/* Section Titles */
.sec-title {
    position: relative;
    margin-bottom: 40px;
}

.sec-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.sec-title h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    width: 50px;
    background: linear-gradient(90deg, rgba(78,6,82,1) 0%, rgba(157,42,149,1) 100%);
}

.sec-title .text {
    font-size: 16px;
    line-height: 1.8em;
    color: #555555;
    margin-bottom: 0;
}

.sec-title.text-center .text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.social-contact-section .sec-title,
.map-section .sec-title,
.faq-section .sec-title {
    text-align: center;
}

.social-contact-section .sec-title .text,
.map-section .sec-title .text,
.faq-section .sec-title .text {
    text-align: center;
    margin: 0 auto;
    padding: 0 15px;
}

/* Consistent Section Styling */
.social-contact-section,
.contact-page-section,
.map-section,
.faq-section {
    position: relative;
    padding: 80px 0;
}

/* Fix for Map Section */
.map-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.map-section .sec-title {
    margin-bottom: 40px !important;
}

/* Standardized Section Titles */
.sec-title {
    position: relative;
    margin-bottom: 40px;
}

.sec-title h2 {
    position: relative;
    display: block;
    font-size: 32px;
    line-height: 1.2em;
    color: #222222;
    font-weight: 600;
    margin-bottom: 15px;
}

.sec-title.text-center h2 {
    text-align: center;
    width: 100%;
}

.sec-title .text {
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 1.8em;
    color: #777777;
    margin-bottom: 0;
}

.sec-title.text-center .text {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/* Theme Colors */
:root {
    --primary-color: #005580;
    --secondary-color: #006798;
    --accent-color: #d8e6eb;
    --text-color: #333333;
    --light-bg: #f7f7f7;
    --section-padding: 80px 0;
    --title-margin: 0 0 50px;
}

.theme-btn.btn-style-one {
    background: var(--primary-color);
    background: linear-gradient(135deg, #002941, #006798);
}

.contact-info li .icon,
.social-contact-item .icon {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.contact-info li:hover .icon,
.social-contact-item:hover .icon,
.faq-block.active .question-box {
    background-color: var(--primary-color);
    color: #ffffff;
}

.contact-info li p a,
.social-contact-item .link {
    color: var(--primary-color);
}

.contact-info li p a:hover,
.social-contact-item .link:hover {
    color: var(--secondary-color);
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
    border-color: var(--secondary-color);
}

/* Fix for FAQ section */
.faq-section .sec-title {
    margin-bottom: 50px;
}

/* Contact Page Unified Styling */
.contact-page-section {
    padding: var(--section-padding);
    background-color: #ffffff;
}

/* Content Containers */
.inner-column {
    padding: 40px 30px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    height: 100%;
    transition: all 0.3s ease;
}

.form-column .inner-column,
.contact-column .inner-column {
    margin-bottom: 0;
}

/* Section Styles */
.contact-page-section,
.social-contact-section,
.map-section,
.faq-section {
    padding: var(--section-padding);
}

/* Section Title Styles */
.sec-title {
    position: relative;
    margin: var(--title-margin);
    text-align: center;
}

.sec-title h2 {
    font-size: 36px;
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.2em;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.sec-title h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 4px;
    width: 200px;
    background: linear-gradient(90deg, #002941 0%, #006798 100%);
}

.sec-title .text {
    font-size: 16px;
    line-height: 1.8em;
    color: #555555;
    margin-bottom: 0;
}

/* FAQ Question Icon */
.faq-block .question-box .icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    height: 30px;
    width: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 14px;
    color: var(--primary-color);
    transition: all 300ms ease;
}

.faq-block.active .question-box {
    background-color: var(--primary-color);
}

.faq-block.active .question-box .icon {
    transform: translateY(-50%) rotate(180deg);
    color: #ffffff;
}

/* FAQ Section Btn Box */
.faq-section .btn-box {
    position: relative;
    text-align: center;
    margin-top: 50px;
}

/* Section Separators */
.social-contact-section:after,
.contact-page-section:after,
.map-section:after {
    display: none;
}

/* Position fixes for sections */
.social-contact-section,
.contact-page-section,
.map-section,
.faq-section {
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
} 