/* 
   Contact Page Styles for Unlocking the Girl-Child Potential Initiative
   Color Palette:
   - Base background: #EEEAE7
   - Primary accent: #ED6596
   - Secondary accent: #C62A7E
   - Text: #232323
*/

/* Base Styles and Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #232323;
    background-color: #EEEAE7;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    color: #C62A7E;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ED6596;
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #232323;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #ED6596;
}

h3 {
    font-size: 1.5rem;
}

section {
    padding: 70px 0;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #ED6596;
    color: white;
}

.btn-primary:hover {
    background-color: #C62A7E;
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid #ED6596;
    color: #ED6596;
}

.btn-outline:hover {
    background-color: #ED6596;
    color: white;
    text-decoration: none;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.8rem;
}

/* Header and Navigation Styles */
#header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    padding: 15px 0;
}

.logo img {
    height: 60px;
    width: auto;
}

#main-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: #232323;
    transition: all 0.3s ease;
}

#nav-links {
    display: flex;
    list-style: none;
}

#nav-links li {
    margin-left: 25px;
}

#nav-links a {
    color: #232323;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}

#nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #ED6596;
    transition: width 0.3s ease;
}

#nav-links a:hover::after,
#nav-links a.active::after {
    width: 100%;
}

#nav-links a.active {
    color: #ED6596;
}

/* Page Banner */
#page-banner {
    background-color: #C62A7E;
    color: white;
    text-align: center;
    padding: 60px 0;
    margin-bottom: 50px;
}

#page-banner h1 {
    color: white;
    margin-bottom: 15px;
}

#page-banner p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Information Section */
#contact-info {
    background-color: white;
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-card {
    background-color: #EEEAE7;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    background-color: #ED6596;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 1.8rem;
    color: white;
}

.contact-card h3 {
    margin-bottom: 15px;
    color: #C62A7E;
}

.contact-card p {
    margin-bottom: 10px;
}

.contact-card address {
    font-style: normal;
    line-height: 1.8;
}

/* Contact Form Section */
#contact-form-section {
    background-color: #EEEAE7;
    padding: 70px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.form-header {
    background-color: #C62A7E;
    color: white;
    padding: 25px 30px;
    text-align: center;
}

.form-header h2 {
    color: white;
    margin-bottom: 10px;
}

.form-header h2::after {
    background-color: white;
    margin: 15px auto 0;
    left: 50%;
    transform: translateX(-50%);
}

.form-header p {
    font-size: 1.1rem;
}

.contact-form {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.full-width {
    grid-column: span 2;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.required {
    color: #C62A7E;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #ED6596;
}

textarea {
    resize: vertical;
    min-height: 150px;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin-bottom: 0;
}

.form-message {
    min-height: 30px;
    grid-column: span 2;
}

.success-message {
    color: #28a745;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    padding: 10px 15px;
    border-radius: 5px;
}

.error-message {
    color: #dc3545;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    border-radius: 5px;
}

/* Map Section */
#map-section {
    padding: 70px 0;
}

.map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.map-placeholder {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

.map-directions {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.map-directions h3 {
    margin-bottom: 20px;
    color: #C62A7E;
}

.direction-method {
    margin-bottom: 20px;
}

.direction-method h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.direction-method i {
    color: #ED6596;
    margin-right: 10px;
}

.map-directions .btn {
    margin-top: 15px;
}

/* FAQ Section */
#faq-section {
    background-color: #EEEAE7;
    padding: 70px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f9f9f9;
}

.faq-question h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    flex: 1;
}

.faq-toggle {
    color: #ED6596;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px;
    max-height: 200px;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Social Media Section */
#social-media {
    padding: 70px 0;
    text-align: center;
}

#social-media p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.social-card {
    background-color: white;
    padding: 25px 20px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.social-card:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.social-card i {
    font-size: 2rem;
    margin-bottom: 15px;
}

.social-card span {
    font-weight: 600;
}

.facebook {
    color: #3b5998;
}

.twitter {
    color: #1da1f2;
}

.instagram {
    color: #e1306c;
}

.linkedin {
    color: #0077b5;
}

.youtube {
    color: #ff0000;
}

/* Newsletter Section */
#newsletter {
    background-color: #C62A7E;
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h2 {
    color: white;
}

.newsletter-content h2::after {
    background-color: white;
    left: 50%;
    transform: translateX(-50%);
}

.newsletter-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.newsletter-form .form-group {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex-grow: 1;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border: none;
}

.newsletter-form button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    background-color: #232323;
}

.newsletter-form button:hover {
    background-color: #444;
}

/* Footer */
#footer {
    background-color: #232323;
    color: white;
    padding: 70px 0 20px;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    height: 60px;
    width: auto;
}

.footer-col h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-menu {
    list-style: none;
}

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a,
.contact-info a {
    color: #ccc;
}

.footer-menu a:hover,
.contact-info a:hover {
    color: #ED6596;
    text-decoration: none;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-info i {
    color: #ED6596;
    margin-right: 10px;
    width: 15px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #ED6596;
    transform: translateY(-3px);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #ccc;
}

/* Back to top button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #ED6596;
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background-color: #C62A7E;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #232323;
    color: white;
    padding: 15px 0;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

/* Media Queries for Responsive Design */
@media (max-width: 992px) {
    .map-container {
        grid-template-columns: 1fr;
    }
    
    .map-directions {
        order: -1;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.7rem;
    }
    
    #header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    #menu-toggle {
        display: block;
    }
    
    #nav-links {
        position: fixed;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }
    
    #nav-links.active {
        transform: translateY(0);
    }
    
    #nav-links li {
        margin: 15px 0;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .newsletter-form .form-group {
        flex-direction: column;
    }
    
    .newsletter-form input {
        border-radius: 5px;
        margin-bottom: 10px;
    }
    
    .newsletter-form button {
        border-radius: 5px;
        width: 100%;
    }
    
    .cookie-banner .container {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    #page-banner {
        padding: 40px 0;
    }
    
    .contact-grid {
        gap: 20px;
    }
    
    .social-grid {
        gap: 15px;
    }
    
    .footer-top {
        gap: 30px;
    }
    
    #back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}