/* Contact Page Specific Styles */

/* Active navigation state */
nav ul li a.active {
    color: #4ade80;
    font-weight: 600;
}

/* Contact Page Layout */
.contact-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem 0;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

/* Left Content Section */
.contact-content {
    padding: 2rem 0;
}

.contact-header {
    margin-bottom: 3rem;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(74, 222, 128, 0.1);
    color: #4ade80;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 2px solid rgba(74, 222, 128, 0.2);
}

.contact-badge i {
    font-size: 1.1rem;
}

.contact-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    min-height: auto;
}

.contact-description {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 3rem;
}

/* Contact Information */
.contact-info {
    margin-bottom: 3rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #4ade80;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-details h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.info-details p {
    color: #666;
    margin: 0;
}

.info-link {
    color: #4ade80;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-link:hover {
    color: #22c55e;
}

/* Social Media Section */
.contact-social {
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-social h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2));
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.social-link:hover::before {
    transform: translateX(100%);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.facebook {
    background: #1877f2;
}

.twitter {
    background: #1da1f2;
}

.linkedin {
    background: #0077b5;
}

.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

/* Right Map Section */
.contact-map {
    height: 80vh;
    min-height: 500px;
}

.map-container {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 3px solid #4ade80;
    position: relative;
}

.map-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #4ade80, #22c55e);
    border-radius: 23px;
    z-index: -1;
}

.map-container iframe {
    filter: grayscale(20%) contrast(1.2);
    transition: filter 0.3s ease;
}

.map-container:hover iframe {
    filter: grayscale(0%) contrast(1);
}

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.contact-badge {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Animation for Icons */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(74, 222, 128, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(74, 222, 128, 0);
    }
}

.info-icon {
    animation: pulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .contact-container {
        gap: 3rem;
    }
    
    .contact-title {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-map {
        height: 60vh;
        min-height: 400px;
    }
    
    .contact-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .contact-page {
        padding: 1rem 0;
    }
    
    .contact-container {
        padding: 0 1rem;
        gap: 2rem;
    }
    
    .contact-title {
        font-size: 2rem;
    }
    
    .contact-description {
        font-size: 1rem;
    }
    
    .info-item {
        padding: 1rem;
        gap: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .contact-map {
        height: 50vh;
        min-height: 300px;
    }
}

@media (max-width: 576px) {
    .contact-container {
        padding: 0 0.5rem;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-badge {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .contact-social {
        text-align: center;
        padding: 1.5rem;
    }
}

/* Loading animation for map */
.map-container {
    position: relative;
}

.map-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #4ade80;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Hover effects for the entire contact section */
.contact-content {
    transition: transform 0.3s ease;
}

.contact-content:hover {
    transform: translateY(-5px);
}

/* Gradient text effect for title */
.contact-title {
    background: linear-gradient(135deg, #1a1a1a 0%, #4ade80 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    animation: gradientShift 4s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}