/* Contact Page Styles */

/* Hero Section */
.contact-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
    margin-top: 80px; /* Navbar height compensation (positive value) */
}

.contact-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.contact-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
    z-index: 2;
}

.hero-content-wrapper {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    display: inline-block;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
}

.hero-content-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content-wrapper p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Content Section */
.contact-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info-side {
    width: 100%;
    max-width: 800px;
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.section-header-left {
    margin-bottom: 40px;
    text-align: center;
}

.section-header-left .sub-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
}

.section-header-left h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 15px;
}

.section-header-left p {
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.info-card {
    background: #fcfcfc;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(15, 125, 92, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.info-card:hover .icon-box {
    background: var(--primary-color);
    color: #fff;
}

.info-details h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333;
}

.info-details p {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

.contact-link {
    display: inline-block;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #0b5c43;
    text-decoration: underline;
}

.address-text {
    display: block;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
}

/* Social Media Section */
.contact-social {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.contact-social h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #444;
}

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

.social-icons a {
    width: 45px;
    height: 45px;
    background: #f4f4f4;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-icons a:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
}

/* Map Section */
.map-section {
    height: 450px;
    width: 100%;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.map-section iframe:hover {
    filter: grayscale(0%);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .hero-content-wrapper h1 {
        font-size: 2.8rem;
    }
    
    .info-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-hero {
        height: 50vh;
        margin-top: 0; /* Reset for mobile header */
        padding-top: 60px;
    }

    .hero-content-wrapper h1 {
        font-size: 2.2rem;
    }
    
    .hero-content-wrapper p {
        font-size: 1rem;
    }

    .contact-section {
        padding: 40px 0;
    }

    .contact-info-side {
        padding: 25px;
        border-radius: 15px;
        margin: 0 15px; /* Side margins */
    }

    .info-cards {
        grid-template-columns: 1fr; /* Stack cards */
        gap: 20px;
    }

    .info-card {
        padding: 20px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 20px;
    }

    .icon-box {
        margin: 0;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .info-details {
        flex: 1;
    }

    .info-details h3 {
        margin-bottom: 5px;
        font-size: 1rem;
    }

    .info-details p {
        margin-bottom: 5px;
        font-size: 0.85rem;
    }

    .section-header-left h2 {
        font-size: 1.8rem;
    }
    
    .map-section {
        height: 350px;
    }
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}