/* =========================================
   CONTACT & GLOBAL CONNECT - ELITE V11 (ULTIMATE REFINED)
   Theme: High-Vis Clinical Precision & Glassmorphism
   ========================================= */

:root {
    --ct-forest: #064e3b;
    --ct-emerald: #10b981;
    --ct-mint: #34d399;
    --ct-sky: #f0fdf4;
    --ct-dark: #0f172a;
    --ct-body: #475569;
    --ct-bg: #f8fafc;
    /* Brand specific colors for icons */
    --clr-whatsapp: #25D366;
    --clr-mail: #ea4335;
    --clr-location: #4285F4;
    --font-main: 'Outfit', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-main);
    background: #fff;
    color: var(--ct-dark);
}

.serif-italic {
    font-family: var(--font-heading);
    font-style: italic;
    font-weight: 700;
}

/* 1. CINEMATIC HERO (CAPABILITIES EXACT SYNC) */
.contact-hero-v11 {
    position: relative;
    height: 75vh;
    min-height: 550px;
    background: url('/images/Home/hero_bg_slide1_new.webp') center/cover no-repeat fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.hero-overlay-v11 {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(6, 78, 59, 1) 100%);
    backdrop-filter: blur(1px);
    z-index: 1;
}

.hero-content-v11 {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
}

.hero-badge-v11 {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    letter-spacing: 3px;
    font-size: 0.7rem;
    margin-bottom: 25px;
    display: inline-block;
    color: #fff;
    backdrop-filter: blur(10px);
}

.hero-title-v11 {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    margin-bottom: 25px;
    text-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    color: white;
    letter-spacing: -3px;
    line-height: 1;
}

.hero-lead-v11 {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.5;
}

/* 2. CONNECT GRID (REFRESHED GLASS BUTTONS) */
.contact-grid-v11 {
    padding: 120px 0;
}

.connect-card-v11 {
    background: #fff;
    border-radius: 35px;
    padding: 50px 40px;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.connect-card-v11:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 60px rgba(6, 78, 59, 0.1);
    border-color: var(--ct-emerald);
}

.card-icon-box-v11 {
    width: 90px;
    height: 90px;
    background: #f8fafc;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.8rem;
    margin: 0 auto 30px;
    transition: 0.4s;
}

.card-icon-box-v11.wa {
    color: var(--clr-whatsapp);
}

.card-icon-box-v11.mail {
    color: var(--clr-mail);
}

.card-icon-box-v11.loc {
    color: var(--clr-location);
}

.connect-card-v11:hover .card-icon-box-v11 {
    transform: scale(1.1) rotate(5deg);
}

.connect-card-v11 h5 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.connect-card-v11 p {
    color: var(--ct-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Luminous Glassmorphism Button System */
.unified-btn-v11 {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.9);
    /* Luminous White Glass */
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1.5px solid var(--ct-emerald);
    color: var(--ct-forest);
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none !important;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    width: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    /* Vivid Emerald Glow */
}

/* Advanced Sheen Animation */
.unified-btn-v11::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.9),
            transparent);
    transition: 0.8s ease-in-out;
}

.unified-btn-v11:hover::after {
    left: 150%;
}

.unified-btn-v11:hover {
    background: #ffffff;
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.3);
    color: var(--ct-emerald);
}

/* 3. VIBRANT VIDEO HUB (RESTORED SIZE + BOLD GREEN) */
.factory-v11 {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: #000;
}

.video-player-v11 {
    width: 100%;
    height: 100%;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast; /* Sharpen rendering in Chrome/Safari */
    image-rendering: high-quality;
    filter: contrast(1.05) brightness(1.05) saturate(1.1); /* Pop the colors */
}

.video-overlay-v11 {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
    z-index: 5;
}

.video-content-v11 {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Premium Scanline Overlay to Mask Blur */
.factory-v11::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 6;
    opacity: 0.3;
}

.factory-label-bold {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 950;
    color: var(--ct-emerald);
    text-transform: uppercase;
    letter-spacing: 8px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
}

/* 4. CONTACT DIRECTORS (HD TEAM SYNC) */
.directors-v11 {
    padding: 120px 0;
    background: var(--ct-bg);
}

.dir-card-v11 {
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    transition: 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.dir-card-v11:hover {
    transform: translateY(-15px);
    box-shadow: 0 50px 100px rgba(6, 78, 59, 0.12);
}

.dir-img-box {
    width: 45%;
    background: var(--ct-dark);
}

.dir-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 2%;
    /* Prevents scalp/head clipping */
    transition: 1s;
}

/* Specific fix for Mr. Sharath Kumar to prevent head cut-off */
.delay-1 .dir-img-box {
    width: 50%;
    /* Wider box reduces vertical zooming */
}

.delay-1 .dir-content-v11 {
    width: 50%;
}

.delay-1 .dir-img-box img {
    object-fit: contain !important;
    object-position: center !important;
    padding: 0;
    /* Remove padding for maximum visibility */
    background: transparent;
    transform: none !important;
    /* Block any automatic scaling */
}

.dir-content-v11 {
    width: 55%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dir-tag {
    font-weight: 800;
    color: var(--ct-emerald);
    letter-spacing: 2px;
    font-size: 0.75rem;
    margin-bottom: 10px;
    display: block;
}

.dir-name {
    font-size: 2rem;
    font-weight: 950;
    margin-bottom: 25px;
    color: var(--ct-dark);
}

/* Glass-Refined Director Link */
.dir-link {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    /* Prevent phone number from wrapping */
    gap: 12px;
    padding: 14px 25px;
    /* Slightly reduced horizontal padding */
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: var(--ct-forest);
    font-weight: 800;
    text-decoration: none;
    transition: all 0.4s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.dir-link:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: var(--ct-emerald);
    transform: scale(1.05);
}

/* 5. ENQUIRY CANVAS (ULTRA REFINED) */
.enquiry-v11 {
    padding: 140px 0;
    background: #fff;
}

.enquiry-canvas-v11 {
    max-width: 1150px;
    margin: 0 auto;
    background: #fff;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 60px 120px rgba(0, 0, 0, 0.1);
    display: flex;
}

.enquiry-visual-v11 {
    width: 45%;
    position: relative;
    background: var(--ct-dark);
}

.enquiry-visual-v11 img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.enquiry-form-side-v11 {
    width: 55%;
    padding: 90px;
}

.modern-input-v11 {
    position: relative;
    margin-bottom: 30px;
}

.field-v11 {
    width: 100%;
    padding: 30px 25px 12px; /* Top padding increased for label clearance */
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    background: #f8fafc;
    font-size: 1.05rem;
    font-weight: 600;
    transition: 0.4s;
    outline: none;
    color: var(--ct-dark);
}

.field-v11:focus {
    border-color: var(--ct-emerald);
    background: #fff;
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.08);
}

.label-v11 {
    position: absolute;
    top: 22px; /* Better default vertical center for empty state */
    left: 25px;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.19, 1, 0.22, 1);
    color: #64748b;
    font-weight: 500;
}

.field-v11:focus + .label-v11,
.field-v11:not(:placeholder-shown) + .label-v11 {
    transform: translateY(-40px) scale(0.85); /* Float up but keep visible */
    color: var(--ct-emerald);
    font-weight: 800;
    opacity: 1; /* Ensure visibility */
    left: 20px;
}

/* 6. VIBRANT MAP HUB (Full Color) */
.map-canvas-v11 {
    height: 600px;
    margin: 100px 0;
    border-radius: 60px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    background: #f1f5f9;
}

.map-box-v11 {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.map-box-v11 iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(0.2) contrast(1.1);
}

.hq-vibrant-card {
    position: absolute;
    bottom: 50px;
    right: 50px;
    background: #fff;
    padding: 60px;
    border-radius: 45px;
    width: 500px;
    z-index: 20;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    border-left: 10px solid var(--ct-forest);
}

/* REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
