/* Contact Page Specific Styles */

/* Hero Section */
.contact-hero {
    padding-top: 180px;
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
}

/* Contact Information Section */
/* .contact-info {
    padding: 100px 0;
    background: white;
} */

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.contact-card:hover::before {
    opacity: 1;
}

.contact-card:hover h3,
.contact-card:hover p,
.contact-card:hover a {
    color: white;
}

/* .contact-icon {
    width: 80px;
    height: 80px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 1.75rem;
    transition: all 0.3s ease;
} */

/* .contact-card:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1) rotate(15deg);
} */

.contact-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.contact-card p {
    margin-bottom: 0;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card:hover a {
    color: white;
    text-decoration: underline;
}

/* Map Section Styles */
.map-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.map-embed {
    position: relative;
    height: 450px;
}

.map-overlay-content {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 8px;
    max-width: 280px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.map-info h3 {
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.map-info p {
    color: #64748b;
    margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-section {
        padding: 3rem 0;
    }
    
    .map-overlay-content {
        position: relative;
        top: auto;
        left: auto;
        max-width: 100%;
        margin-top: -50px;
        z-index: 2;
        background: white;
    }
    
    .map-embed {
        height: 400px;
    }
}

/* Quick Links Section */
.quick-links {
    padding: 100px 0;
    background: white;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.link-card {
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.link-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.link-card:hover::before {
    opacity: 1;
}

.link-card:hover h3,
.link-card:hover p {
    color: white;
}

.link-icon {
    width: 70px;
    height: 70px;
    background: rgba(108, 99, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: scale(1.1) rotate(10deg);
}

.link-card h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
    transition: color 0.3s ease;
}

.link-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .links-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding-top: 150px;
        padding-bottom: 80px;
    }
    
    /* .contact-info,
    .contact-form-section,
    .quick-links {
        padding: 80px 0;
    } */
    
    .map-placeholder {
        padding: 40px 20px;
    }
}

@media (max-width: 576px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .links-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-card,
    .link-card {
        padding: 25px 20px;
    }
}

/* Contact Animation Effects */
.contact-card {
    animation-delay: calc(var(--index, 0) * 0.1s);
}

.link-card {
    animation-delay: calc(var(--index, 0) * 0.1s);
}

/* Print Styles */
@media print {
    .contact-hero,
    .map-section,
    .quick-links {
        display: none;
    }
}

footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
