/* Vividh Technologies - Master Stylesheet
   Final Version: Locked Contrast & Compact Spacing
*/

:root {
    --sky-dark: #0288D1;
    --sky-main: #03A9F4;
    --sky-light: #B3E5FC;
    --sky-bg: #E3F2FD;
    --navy: #01579B;
    --white: #ffffff;
    --gray: #f8f9fa;
    --text-dark: #334155;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background-color: var(--sky-bg);
    scroll-behavior: smooth;
}

/* --- Navigation --- */
nav {
    background: var(--white);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(1, 87, 155, 0.1);
}

.logo-area { display: flex; align-items: center; }
.nav-logo-img { max-height: 40px; margin-right: 12px; }
.logo-text { font-weight: 800; color: var(--sky-dark); font-size: 1.3rem; text-transform: uppercase; letter-spacing: 0.5px; }

nav ul { list-style: none; display: flex; }
nav ul li { margin-left: 25px; }
nav ul li a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 0.95rem; transition: 0.3s; padding-bottom: 5px; }
nav ul li a:hover, nav ul li a.active { color: var(--sky-main); border-bottom: 2px solid var(--sky-main); }

/* --- Headers (LOCKED WHITE & LIGHT BLUE COLORS) --- */
.hero, .page-header {
    background: linear-gradient(135deg, #03A9F4 0%, #01579B 100%) !important;
    text-align: center;
    padding: 35px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff !important; /* Forces all header text to white base */
}

.hero h1, .page-header h1 { 
    font-size: 2.5rem; 
    margin-bottom: 10px; 
    font-weight: 900; 
    text-transform: uppercase;
    color: #ffffff !important; /* Locked White Title */
}

.hero-logo { max-width: 110px; margin-bottom: 15px; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2)); }

.headline { 
    font-weight: 600; 
    font-size: 1.2rem; 
    color: #B3E5FC !important; /* Locked Light Blue Subtitle */
    margin-bottom: 15px;
}

/* Header Description (White on Blue) */
.hero .description, .page-header .description {
    color: #ffffff !important;
    opacity: 0.95;
    max-width: 850px;
}

/* --- Layout Sections --- */
.detail-content {
    max-width: 1100px;
    margin: 10px auto; 
    padding: 30px 20px;
}

.bg-light { background: var(--white); border-top: 1px solid var(--sky-light); border-bottom: 1px solid var(--sky-light); }
.container { max-width: 1000px; margin: 0 auto; }
.text-center { text-align: center; }

/* --- Service Cards --- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; margin-top: 30px; }
.service-card-link { text-decoration: none; color: inherit; display: block; }
.service-card { 
    background: white; padding: 35px; border-radius: 15px; text-align: center; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s ease; height: 100%; 
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(1, 87, 155, 0.15); }

.service-icon-bg { min-height: 110px; display: flex; justify-content: center; align-items: center; margin-bottom: 15px; }
.eng-service-img { max-width: 130px; }
.mp-service-img { max-width: 140px; }
.mfg-service-img { max-width: 160px; }
.service-intro { font-weight: 600; color: var(--sky-dark); font-size: 0.95rem; }

/* --- Full-Width Content --- */
.text-block-full { width: 100%; text-align: justify; }
.text-block-full h2 { color: var(--navy); margin-bottom: 15px; font-size: 1.8rem; margin-top: 0; }

/* Body Description (Dark on White) */
.description { 
    font-size: 1.05rem; 
    line-height: 1.8; 
    margin-bottom: 20px; 
    color: #334155; 
}

.full-width-diagram { 
    max-width: 100%; height: auto; margin: 25px auto; display: block; 
    border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); 
}

/* --- Contact Page --- */
.contact-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; background: white; padding: 40px; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.address-box { margin-bottom: 20px; line-height: 1.8; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid var(--sky-light); border-radius: 8px; background: var(--gray); font-family: inherit; }
.contact-form button { width: 100%; padding: 15px; background: var(--sky-dark); color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; transition: 0.3s; }
.contact-form button:hover { background: var(--navy); }

/* --- Components --- */
.btn { 
    display: inline-block; padding: 12px 30px; background: var(--sky-dark); color: white !important; 
    text-decoration: none; border-radius: 50px; font-weight: bold; transition: 0.3s; 
}
.btn:hover { background: var(--navy); transform: scale(1.05); }

footer { background: var(--navy); color: var(--sky-light); text-align: center; padding: 40px 20px; margin-top: 40px; }
.footer-logo { font-weight: bold; color: white; display: block; margin-bottom: 5px; }

/* --- Mobile Fixes --- */
@media (max-width: 768px) {
    nav { flex-direction: column; text-align: center; padding: 1rem; }
    nav ul { margin-top: 15px; }
    nav ul li { margin: 0 10px; }
    .hero h1, .page-header h1 { font-size: 1.8rem; }
}
/* --- Vision & Mission Box Outlines --- */
.vision-mission-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 50px auto;
    padding: 0 20px;
}

.vm-box {
    background: #ffffff;
    border: 1px solid var(--sky-light); /* Light blue outline */
    border-top: 5px solid var(--navy);    /* Strong Navy top accent bar */
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(1, 87, 155, 0.08); /* Soft blue shadow */
    transition: transform 0.3s ease;
}

.vm-box:hover {
    transform: translateY(-5px); /* Gentle lift on hover */
    border-color: var(--sky-main);
}

.vm-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.vm-icon {
    font-size: 2rem;
    margin-right: 15px;
}

.vm-box h2 {
    color: var(--navy);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.5rem;
    margin: 0;
}

.vm-subtitle {
    font-weight: 700;
    color: var(--sky-dark);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.vm-content p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .vision-mission-container {
        grid-template-columns: 1fr;
    }
}
/* Update the Hero container to act as the boundary */
.hero, .page-header {
    position: relative; /* Essential for absolute positioning of the watermark */
    overflow: hidden;   /* Prevents the watermark from bleeding into Vision/Mission */
    background: linear-gradient(135deg, #03A9F4 0%, #01579B 100%) !important;
    text-align: center;
    padding: 60px 20px; /* Increased padding to give the watermark more room */
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ffffff !important;
}

/* The Watermark: Positioned behind the text */
.hero-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;       /* Adjust size as needed */
    opacity: 0.15;      /* Low opacity for maximum transparency */
    z-index: 0;         /* Places it behind the text content */
    pointer-events: none;
}

/* Force text content to stay in front of the watermark */
.hero h1, 
.hero .headline, 
.hero .description {
    position: relative;
    z-index: 1;         /* Higher than the watermark z-index */
}
/* Update: Nandi image is now relative to the footer */
.footer-wrapper {
    position: relative; /* This acts as the anchor for the image */
    background: var(--navy);
    padding: 40px 20px;
    text-align: center;
    color: var(--sky-light);
}

.bottom-right-image {
    position: absolute; /* Anchors it to the footer-wrapper */
    bottom: 10px;       /* Distance from bottom of the footer */
    right: 20px;        /* Distance from right of the footer */
    max-height: 80px;   /* Adjusted size for the ribbon */
    width: auto;
    z-index: 10;
}

/* Remove fixed footer padding if it was forcing extra space */
footer {
    padding: 0 !important;
}
/* Primary Button Style (Used across the site) */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--sky-white); /* Your primary blue */
    color: navy !important;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: 0.3s;
    border: 2px solid var(--sky-dark);
}

.btn:hover {
    background: var(--white);
    border-color: var(--navy);
}

/* Updated Secondary Button: Now matches the primary button color */
.btn-secondary {
    background: var(--sky-white) !important;
    color: navy !important;
    border: 2px solid var(--sky-dark);
}

.btn-secondary:hover {
    background: var(--white) !important;
    border-color: var(--navy);
}
/* Remove underline from the company name in the logo area */
.logo-area-wrapper {
    text-decoration: none !important;
}