/* Contact Public Page Styles */
:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --primary-purple: #667eea;
    --secondary-purple: #764ba2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --hover-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

body.dark-mode {
    --text-dark: #e2e8f0;
    --text-light: #cbd5e0;
    background-color: #1a202c;
}

/* Active Link Styling */
.nav-links a.active {
    color: var(--primary-purple);
    font-weight: 500;
}

/* Hero Section */
.contact-hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 2rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    font-weight: 500;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    animation: fadeInUp 1s ease;
    opacity: 0.9;
}

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

/* Contact Info Section */
.contact-info-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f7fafc 0%, #ffffff 100%);
}

body.dark-mode .contact-info-section {
    background: linear-gradient(to bottom, #2d3748 0%, #1a202c 100%);
}

.contact-card-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

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

body.dark-mode .contact-info-card {
    background: #2d3748;
}

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

.card-icon-wrapper {
    width: 100px;
    height: 100px;
    margin: 0 auto 2rem;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.card-icon-wrapper i {
    font-size: 3rem;
    color: white;
}

.contact-info-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-purple);
    text-align: center;
}

body.dark-mode .contact-info-card h2 {
    color: #a78bfa;
}

.academy-tagline {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    font-style: italic;
}

.contact-details-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

body.dark-mode .contact-detail-item {
    background: #1a202c;
}

.contact-detail-item:hover {
    transform: translateX(5px);
    background: #edf2f7;
}

body.dark-mode .contact-detail-item:hover {
    background: #4a5568;
}

.contact-detail-item > i {
    font-size: 1.8rem;
    color: var(--primary-purple);
    min-width: 30px;
    margin-top: 0.2rem;
}

.detail-text {
    flex: 1;
}

.detail-text strong {
    display: block;
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

body.dark-mode .detail-text strong {
    color: var(--text-dark);
}

.detail-text span,
.detail-text a {
    display: block;
    color: var(--text-light);
    line-height: 1.6;
}

.detail-text a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail-text a:hover {
    color: var(--primary-purple);
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-primary {
    background: var(--primary-gradient);
    color: white;
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
}

.cta-secondary {
    background: white;
    color: var(--primary-purple);
    border: 2px solid var(--primary-purple);
}

body.dark-mode .cta-secondary {
    background: #2d3748;
    border-color: #a78bfa;
    color: #a78bfa;
}

.cta-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.cta-btn i {
    font-size: 1.2rem;
}

/* Map Section */
.map-section {
    padding: 5rem 0;
    background: white;
}

body.dark-mode .map-section {
    background: #1a202c;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

body.dark-mode .section-title {
    color: var(--text-dark);
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    max-width: 1200px;
    margin: 0 auto;
}

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

/* Footer */
.footer {
    background: var(--primary-gradient);
    color: white;
    padding: 3rem 0 1rem;
    position: relative;
    overflow: hidden;
}

.footer-cracks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.footer-about {
    opacity: 0.9;
    line-height: 1.6;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info i {
    font-size: 1.2rem;
    margin-top: 0.2rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .contact-info-section {
        padding: 3rem 1rem;
    }

    .contact-info-card {
        padding: 2rem 1.5rem;
    }

    .contact-info-card h2 {
        font-size: 2rem;
    }

    .card-icon-wrapper {
        width: 80px;
        height: 80px;
    }

    .card-icon-wrapper i {
        font-size: 2.5rem;
    }

    .contact-detail-item {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }

    .map-container iframe {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .contact-info {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .contact-info-card {
        padding: 1.5rem 1rem;
    }

    .contact-info-card h2 {
        font-size: 1.8rem;
    }

    .contact-detail-item {
        padding: 1rem;
    }

    .contact-detail-item > i {
        font-size: 1.5rem;
    }

    .detail-text strong {
        font-size: 1rem;
    }

    .cta-btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}
