/* ==========================================================================
   Vonnetics Unified Master Premium CSS (Modern Light Slate/Blue Theme)
   ========================================================================== */

:root {
    --primary-blue: #0d6efd;
    --accent-blue: #0072ff;
    --dark-bg: #f4f7fa;             /* Light Slate background */
    --dark-section-bg: #e9eff5;     /* Halka dark section variation */
    --border-color: rgba(13, 110, 253, 0.1); /* Soft blue borders */
    --card-bg: #ffffff;             /* Saare cards ab clean white hain */
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark-bg);
    color: #212529;                 /* Light bg ke liye dark text */
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* --- Global Navbar Setup --- */
.navbar {
    background-color: rgba(244, 247, 250, 0.95) !important; /* Light transparent look */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1.2rem 0;
    z-home: 9999;
}

.navbar-brand {
    font-size: 1.6rem;
    letter-spacing: 1px;
    color: #1a2530 !important;       /* Dark color brand name ke liye */
}

.navbar-brand span {
    color: var(--primary-blue);
}

.nav-link {
    color: rgba(26, 37, 48, 0.7) !important; /* Darker nav links */
    font-weight: 500;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-blue) !important;
}

/* --- Hero Layout Configuration --- */
.hero {
    background: linear-gradient(to right, rgba(244, 247, 250, 0.95) 35%, rgba(13, 110, 253, 0.15) 100%), 
                url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920') no-repeat center center/cover;
    min-height: 100vh;
    width: 100vw;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-sizing: border-box;
}

.hero-inner-container {
    padding: 120px 5rem 180px 5rem; /* Dynamic padding to protect bottom absolute features */
}

/* --- Internal Pages Shared Hero Banner --- */
.page-hero {
    background: linear-gradient(135deg, #e9eff5 0%, #f4f7fa 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 160px 0 70px 0;
}

.page-hero h1 {
    color: #1a2530 !important;
}

.page-hero h1 span {
    color: var(--primary-blue);
}

.page-hero p {
    color: #4a5568 !important;
}

/* --- Content Typo Framework --- */
.hero-content { max-width: 750px; }
.hero-subtitle { font-size: 0.85rem; letter-spacing: 3px; color: var(--primary-blue); display: block; margin-bottom: 1rem; }
.hero-title { font-size: 3.5rem; font-weight: 800; line-height: 1.2; color: #1a2530; }
.hero-title span { color: var(--primary-blue); }
.hero-line { width: 60px; height: 4px; background-color: var(--primary-blue); margin: 1.5rem 0; }
.hero-text { font-size: 1.15rem; color: #4a5568; line-height: 1.6; }

/* Section Utilities */
.bg-dark-section {
    background-color: var(--dark-section-bg);
}

.text-accent {
    color: var(--primary-blue) !important;
}

.text-light-muted {
    color: #4a5568;
}

.text-secondary {
    color: #6c757d !important;
}

.text-white h2, .text-white h1 {
    color: #1a2530 !important;
}

/* --- Interactive Premium Grid Panels --- */
.card {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: #212529 !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease, box-shadow 0.3s ease !important;
}

.card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
    box-shadow: 0 10px 30px rgba(13, 110, 253, 0.08) !important;
}

.custom-img {
    border: 1px solid var(--border-color);
    filter: brightness(1);
}

/* --- Buttons Design --- */
.btn-primary {
    background: linear-gradient(135deg, #0052cc 0%, #0072ff 100%);
    border: none !important;
    padding: 0.75rem 2rem;
    font-weight: 600;
    color: #ffffff !important;
}

.btn-outline-light {
    border: 1px solid rgba(13, 110, 253, 0.4);
    color: var(--primary-blue) !important;
    padding: 0.75rem 2rem;
}

.btn-outline-light:hover {
    background-color: var(--primary-blue);
    color: #ffffff !important;
}

/* --- Tech Pill Badges --- */
.tech-stack { margin-top: 2rem; display: flex; gap: 1.5rem; flex-wrap: wrap; }
.tech-stack span { font-size: 0.9rem; color: #4a5568; display: inline-flex; align-items: center; gap: 0.5rem; }

/* --- Absolute Layout Fix for Bottom Feature Panels --- */
.feature-container-block {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    padding: 0 5rem;
    box-sizing: border-box;
}

.feature-wrapper {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.feature-box {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    flex: 1;
}

.feature-box i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    background: rgba(13, 110, 253, 0.08);
    padding: 0.5rem;
    border-radius: 6px;
}

.feature-box h5 { font-size: 0.95rem; margin-bottom: 0.2rem; font-weight: 600; color: #1a2530; }
.feature-box p { font-size: 0.8rem; color: #6c757d; margin: 0; line-height: 1.3; }

/* --- Accordions & Maps styling --- */
.accordion-item {
    background-color: var(--card-bg) !important;
    border: 1px solid var(--border-color) !important;
    color: #212529 !important;
}

.accordion-button {
    background-color: transparent !important;
    color: #1a2530 !important;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-blue) !important;
    box-shadow: none !important;
    background-color: var(--dark-section-bg) !important;
}

.map-clean iframe {
    filter: none;
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

/* --- Footer Area --- */
footer {
    background-color: #1a2530 !important;
    border-top: 1px solid var(--border-color);
    color: rgba(255, 255, 255, 0.6);
}

footer h3, footer h3 span {
    color: #ffffff !important;
}

footer .text-light-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

footer .text-secondary {
    color: rgba(255, 255, 255, 0.5) !important;
}


/* ==========================================================================
   CLEAN & FLUID RESPONSIVE MEDIA QUERIES (Mobile, Tablet, Laptop, Desktop)
   ========================================================================== */

/* --- 1. Large Laptops / Tablets (Landscape) --- */
@media (max-width: 1200px) {
    .hero {
        height: auto;
        min-height: 100vh;
    }
    .hero-inner-container {
        padding: 140px 3rem 40px 3rem; /* Changed bottom padding to remove absolute overlapping */
    }
    .hero-title {
        font-size: 3.2rem; /* Clean reduction from 3.5rem */
    }
    .feature-container-block {
        position: relative; /* Pulled out of absolute positioning safely */
        bottom: 0;
        padding: 0 3rem;
        margin-top: 2rem;
        margin-bottom: 3rem;
    }
    .feature-wrapper {
        flex-direction: row !important; /* Keep items side-by-side on medium screens */
        flex-wrap: wrap;
    }
    .feature-box {
        flex: 1 1 45%; /* Wrap into neat 2x2 grid if space runs out */
    }
}

/* --- 2. Small Tablets & iPad (Portrait) --- */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.8rem;
    }
    .feature-wrapper {
        flex-direction: column !important; /* Stack vertical when layout gets tight */
        gap: 1.5rem;
    }
    .feature-box {
        width: 100%;
    }
}

/* --- 3. Standard & Small Mobile Screens --- */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    .navbar-brand {
        font-size: 1.4rem;
    }
    .hero-inner-container {
        padding: 120px 1.5rem 30px 1.5rem !important;
    }
    .hero-title {
        font-size: 2.2rem !important; /* Resizes dynamically so it never clips out of mobile boundaries */
        line-height: 1.2;
    }
    .hero-text {
        font-size: 1rem;
    }
    /* Buttons expand full-width on mobile viewports for easy thumb-tapping */
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 25px;
    }
    .hero-buttons .btn {
        width: 100%;
        margin-right: 0 !important;
    }
    .tech-stack {
        gap: 10px;
    }
    .feature-container-block {
        padding: 0 1.5rem;
        margin-top: 1.5rem;
    }
    .page-hero {
        padding: 120px 1.5rem 40px;
    }
    .page-hero h1 {
        font-size: 2rem;
    }
}