/* ============================
   CONTACT PAGE STYLES
   ============================ */

/* 1. HERO SECTION */
.contact-hero {
    position: relative;
    height: 40vh;
    min-height: 350px;
    background: url('https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: var(--nav-height);
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

}

.hero-text {
    position: relative;
    z-index: 2;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    font-family: 'Oswald', sans-serif;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: white;
}

.line-center {
    width: 80px;
    height: 4px;
    background: var(--secondary);
    margin: 0 auto 20px;
}

/* 2. MAIN LAYOUT */
.contact-wrapper {
    padding: 80px 0;
    background-color: var(--bg-body);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    /* Info chota, Form bada */
    gap: 50px;
    align-items: start;
}

/* 3. INFO CARDS (Left Side) */
.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s;
}

.info-card:hover {
    transform: translateX(5px);
}

.icon-box {
    width: 45px;
    height: 45px;
    background: #fff3e0;
    color: var(--secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 5px;
    font-family: 'Oswald', sans-serif;
}

.info-text a,
.info-text p {
    display: block;
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 2px;
    text-decoration: none;
}

.info-text a:hover {
    color: var(--secondary);
}

.sub-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Trust Box */
.trust-box {
    margin-top: 30px;
    padding: 25px;
    background: var(--primary);
    color: white;
    border-radius: 8px;
}

.trust-box h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.trust-box ul {
    list-style: none;
    padding: 0;
}

.trust-box li {
    margin-bottom: 10px;
    font-size: 0.95rem;
    display: flex;
    gap: 10px;
}

/* 4. FORM SECTION (Right Side) */
.form-box {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 30px;
}

.form-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.form-header p {
    color: var(--text-muted);
}

/* Inputs */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    background: #f8fafc;
    transition: 0.3s;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    background: white;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1);
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Oswald', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    background: #1e293b;
    transform: translateY(-2px);
}

/* Loader */
.loader-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    display: none;
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 20px;
    animation: fadeIn 0.5s ease;
}

.check-circle {
    width: 70px;
    height: 70px;
    background: #dcfce7;
    color: #16a34a;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.reset-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 10px 20px;
    margin-top: 20px;
    cursor: pointer;
    border-radius: 4px;
    color: var(--text-muted);
}

.reset-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .form-box {
        padding: 25px;
    }

    .contact-hero h1 {
        font-size: 2.2rem;
    }
}

/* =========================================
   MANUFACTURING PLANT SECTION (PREMIUM)
   ========================================= */

:root {
    --plant-primary: #0f172a;
    /* Dark Navy (Brand) */
    --plant-accent: #f97316;
    /* Industrial Orange */
    --plant-steel: #cbd5e1;
    /* Light Steel */
    --plant-text: #94a3b8;
    /* Muted Text */
    --plant-bg: #f8fafc;
    /* Background */
}

.plant-section-wrapper {
    width: 100%;
    position: relative;
    background-color: var(--plant-bg);
    padding-bottom: 80px;
    font-family: 'Manrope', sans-serif;
    /* Fallback to sans-serif */
}

/* --- 1. CINEMATIC IMAGE AREA --- */
.plant-visual {
    position: relative;
    width: 100%;
    height: 60vh;
    /* Cinematic height */
    min-height: 450px;
    overflow: hidden;
}

.plant-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Realistic Steel Plant Image */
    background-image: url('/public/Images/plant.png');
    background-position: center;
    background-size: cover;
    /* Subtle Zoom Effect on Load */
    animation: slowZoom 10s ease-out forwards;
}

.plant-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient for text readability */
    z-index: 1;
}

/* --- 2. FLOATING INFO CARD --- */
.plant-card-container {
    position: relative;
    z-index: 5;
    max-width: 1000px;
    margin: -120px auto 0;
    /* Overlaps the image */
    padding: 0 20px;
}

.plant-info-card {
    background: white;
    border-top: 4px solid var(--plant-accent);
    padding: 50px;
    border-radius: 4px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    text-align: center;

    /* Animation Entry */
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFade 0.8s ease-out 0.3s forwards;
}

/* Badge */
.plant-badge {
    display: inline-block;
    background: var(--plant-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Typography */
.plant-heading {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem;
    color: var(--plant-primary);
    margin: 0 0 20px 0;
    text-transform: uppercase;
    line-height: 1.2;
}

.plant-description {
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Stats / Details Grid */
.plant-details-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    border-top: 1px solid var(--plant-steel);
    padding-top: 30px;
    flex-wrap: wrap;
}

.plant-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.plant-icon {
    width: 24px;
    height: 24px;
    fill: var(--plant-accent);
    margin-bottom: 5px;
}

.detail-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--plant-text);
    font-weight: 600;
    letter-spacing: 1px;
}

.detail-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--plant-primary);
    font-family: 'Oswald', sans-serif;
}

/* --- ANIMATIONS --- */
@keyframes slowZoom {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 768px) {
    .plant-visual {
        height: 40vh;
    }

    .plant-card-container {
        margin-top: -60px;
    }

    .plant-info-card {
        padding: 30px 20px;
    }

    .plant-heading {
        font-size: 1.8rem;
    }

    .plant-details-grid {
        gap: 30px;
        flex-direction: column;
    }
}