/* Specific styles for contact page */
:root {
    --primary-blue: #4f81bd;
    --primary-brown: #5a3a22;
    --light-gray: #f5f5f5;
    --border-radius: 8px;
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.banner img {
    width: 100%;
    display: block;
}

.contact-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.main-content {
    flex: 1;
    min-width: 280px;
}

.sidebar {
    width: 250px;
}

.contact-section {
    margin-bottom: 40px;
    animation: fadeIn 0.5s ease-out forwards;
}

.section-header {
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 22px;
    font-weight: 500;
    color: #333;
    position: relative;
    display: inline-block;
}

.highlight {
    color: var(--primary-blue);
}

.highlight-brown {
    color: var(--primary-brown);
}

.section-content {
    padding: 0;
}

.contact-info-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    transition: transform 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
}

.info-group {
    margin-bottom: 15px;
}

.info-group:last-child {
    margin-bottom: 0;
}

.info-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #555;
    font-size: 16px;
}

.info-value {
    line-height: 1.6;
}

.info-value p {
    margin-bottom: 10px;
}

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

.contact-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 5px;
}

.contact-phone i {
    color: var(--primary-blue);
}

.contact-phone a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-phone a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-email i {
    color: var(--primary-blue);
}

.contact-email a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-email a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 450px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Sidebar styles */
.logo-section {
    text-align: center;
    margin-bottom: 30px;
}

.social-card, .links-card {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 20px;
    margin-bottom: 30px;
}

.social-card h2, .links-card h2 {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-5px);
}

.social-icon i {
    font-size: 22px;
}

.social-icon.facebook {
    background-color: #3b5998;
}

.social-icon.facebook:hover {
    background-color: #2d4373;
}

.social-icon.twitter {
    background-color: #1da1f2;
}

.social-icon.twitter:hover {
    background-color: #0c85d0;
}

.social-icon.instagram {
    background: #d6249f;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    opacity: 0.9;
}

.useful-links {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.useful-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

.useful-link:hover {
    color: #3a6491;
    text-decoration: underline;
}

.partner-logo {
    margin-top: 15px;
    text-align: center;
}

.partner-logo img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

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

.contact-section:nth-child(1) { animation-delay: 0.1s; }
.contact-section:nth-child(2) { animation-delay: 0.2s; }
.contact-section:nth-child(3) { animation-delay: 0.3s; }

/* Responsive styles */
@media screen and (max-width: 768px) {
    .contact-layout {
        flex-direction: column-reverse;
    }
    
    .sidebar {
        width: 100%;
    }
    
    .social-card, .links-card {
        margin-bottom: 20px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .map-container {
        height: 350px;
    }
    
    .social-icons {
        justify-content: space-around;
    }
}

@media screen and (max-width: 480px) {
    .section-header h2 {
        font-size: 18px;
    }
    
    .info-label {
        font-size: 15px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon i {
        font-size: 20px;
    }
    
    .social-icon span {
        font-size: 11px;
    }
}