/* --- VARIABLES --- */
:root {
    --navy: #0A1A3A;
    --dark-navy: #050d1f;
    --cyan: #06B6D4;
    --cyan-dark: #0891b2;
    --purple: #7C3AED;
    --light-purple: #f3e8ff;
    --light-cyan: #ecfeff;
    --gray: #94A3B8;
    --gradient: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--navy);
}

/* --- COLORS & UTILS --- */
.bg-navy { background-color: var(--navy) !important; }
.bg-dark-navy { background-color: var(--dark-navy) !important; }
.bg-light-purple { background-color: var(--light-purple) !important; }
.bg-light-cyan { background-color: var(--light-cyan) !important; }

.text-navy { color: var(--navy) !important; }
.text-cyan { color: var(--cyan) !important; }
.text-cyan-dark { color: var(--cyan-dark) !important; }
.text-purple { color: var(--purple) !important; }
.text-gray { color: var(--gray) !important; }
.text-gradient {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    background-color: var(--navy);
    overflow: hidden;
    padding-top: 80px;
}

#neural-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.glass-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--cyan);
}

/* --- BUTTONS --- */
.btn-gradient {
    background: var(--gradient);
    border: none;
    color: white;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.4);
    color: white;
}

.btn-navy {
    background-color: var(--navy);
    color: white;
}
.btn-navy:hover {
    background-color: #0d224a;
    color: white;
}

/* --- CARDS & SERVICES --- */
.service-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

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

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- MISC --- */
.grayscale { filter: grayscale(100%); transition: 0.3s; }
.grayscale:hover { filter: grayscale(0%); opacity: 1 !important; }

.spacing-2 { letter-spacing: 2px; }

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 26, 58, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
/* --- FOOTER STYLING --- */
.footer-section {
    background-color: #050d1f; /* Darkest Navy (Blackish Blue) */
    position: relative;
    color: white;
    font-family: 'Inter', sans-serif;
}

/* Gradient Top Border */
.footer-top-line {
    height: 4px;
    background: linear-gradient(90deg, #06B6D4, #7C3AED);
    width: 100%;
}

/* Big Brand Logo Styling */
.footer-brand {
    font-size: 2.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -1px;
    display: inline-block;
}

/* "Z" aur "Tech" ka style (Logo jaisa) */
.brand-z {
    color: white; /* Ya Silver #C0C0C0 kar sktay hain */
    font-size: 3rem;
    position: relative;
}
.brand-tech {
    color: #06B6D4; /* Cyan Blue */
    font-weight: 400;
}
.footer-brand:hover {
    opacity: 0.9;
}

/* Headings */
.footer-heading {
    color: white;
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Links Styling */
.footer-links li {
    margin-bottom: 12px;
}
.footer-links a {
    color: #94A3B8; /* Muted Grey */
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.95rem;
}
.footer-links a:hover {
    color: #06B6D4; /* Cyan on hover */
    padding-left: 5px; /* Slide effect */
}

/* Social Icons */
.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: white;
    margin-right: 10px;
    transition: 0.3s;
    text-decoration: none;
}
.social-icons a:hover {
    background: #06B6D4;
    color: #050d1f;
    transform: translateY(-3px);
}

/* Newsletter Input */
.newsletter-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}
.newsletter-form input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
    border-color: #7C3AED;
    color: white;
}

/* Copyright Bar */
.border-white-10 {
    border-color: rgba(255, 255, 255, 0.1) !important;
}
.legal-links a:hover {
    color: white;
    text-decoration: underline !important;
}

/* --- SERVICES PAGE STYLING --- */

/* Glass Card Design */
.glass-card {
    background: rgba(30, 41, 59, 0.4); /* Semi-transparent Slate */
    backdrop-filter: blur(12px); /* Blur effect */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.4s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(6, 182, 212, 0.3); /* Cyan Glow Border */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Icon Wrapper inside card */
.icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-link-custom {
    color: #06B6D4;
    text-decoration: none;
    font-weight: 600;
    margin-top: auto; /* Push to bottom */
    display: inline-block;
    transition: 0.3s;
}

.btn-link-custom:hover {
    color: #7C3AED;
    transform: translateX(5px);
}

/* --- SERVICE DETAIL HERO --- */
.service-hero {
    background-color: #0A1A3A;
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Gradient Overlay for Hero */
.gradient-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(124, 58, 237, 0.15), transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.min-vh-50 {
    min-height: 50vh;
}

/* --- ABOUT PAGE STYLING --- */

.about-hero {
    min-height: 60vh;
    background-color: var(--navy);
    padding-top: 100px;
}

/* Glow Circles Background */
.glow-circle {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: 1;
}

.top-right {
    top: -100px;
    right: -100px;
    background: var(--purple);
}

.bottom-left {
    bottom: -100px;
    left: -100px;
    background: var(--cyan);
}

/* Team Card Hover Effect */
.team-card img {
    transition: transform 0.5s ease;
}

.team-card:hover img {
    transform: scale(1.1);
}

.team-overlay {
    background: linear-gradient(to top, rgba(10, 26, 58, 0.9), transparent);
}

/* Background Gradient for CTA */
.bg-gradient-navy {
    background: linear-gradient(135deg, var(--navy) 0%, var(--purple) 100%);
}

.btn-white {
    background-color: white;
    color: var(--navy);
    transition: 0.3s;
}

.btn-white:hover {
    background-color: var(--cyan);
    color: var(--navy);
    transform: translateY(-3px);
}

/* --- CASE STUDIES PAGE --- */

.case-card {
    background: #0E1A35; /* Slightly lighter than navy background */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(6, 182, 212, 0.3); /* Cyan border glow */
}

/* Client Logo Placeholder */
.client-logo-box {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Metrics Box Styling */
.metrics-container {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.1);
}

.text-success {
    color: #00E676 !important; /* Bright Neon Green */
    text-shadow: 0 0 10px rgba(0, 230, 118, 0.2);
}

.text-danger {
    color: #FF5252 !important; /* Soft Red */
    text-decoration: line-through; /* Visual cue for 'old way' */
    opacity: 0.7;
}

/* --- CASE STUDY DETAIL STYLING --- */

.cs-hero {
    background-color: #0A1A3A;
    padding-top: 140px;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.cs-hero-bg {
    position: absolute;
    top: 0; right: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(6, 182, 212, 0.1), transparent 60%);
    pointer-events: none;
}

/* Impact Badge (The big circle) */
.impact-badge {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
}

/* Architecture Placeholder */
.architecture-mockup {
    border: 2px dashed rgba(255,255,255,0.1) !important;
    transition: 0.3s;
}
.architecture-mockup:hover {
    border-color: #06B6D4 !important;
    background: rgba(6, 182, 212, 0.05) !important;
}

/* Text Colors */
.text-success { color: #00E676 !important; text-shadow: 0 0 10px rgba(0,230,118,0.2); }
.text-danger { color: #FF5252 !important; }

/* --- BLOG STYLING --- */

.blog-card {
    background: #0E1A35;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.5); /* Cyan Glow */
}

.blog-img-wrapper {
    height: 200px;
}
.blog-img-wrapper img {
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}
.blog-card:hover img {
    transform: scale(1.05);
}

.blog-title {
    line-height: 1.4;
    transition: 0.3s;
}
.blog-card:hover .blog-title {
    color: #06B6D4 !important;
}

.author-circle {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- BLOG DETAIL TYPOGRAPHY --- */
.blog-content {
    font-family: 'Georgia', serif; /* Serif font for better reading */
    font-size: 1.15rem;
    line-height: 1.8;
}

.blog-content h2 {
    color: white;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.blog-content p {
    margin-bottom: 20px;
}

.blog-content blockquote {
    border-left: 4px solid #06B6D4;
    padding-left: 20px;
    font-style: italic;
    color: white;
    font-size: 1.4rem;
    margin: 40px 0;
}

.blog-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.blog-content li {
    margin-bottom: 10px;
}

/* --- CONTACT PAGE STYLING --- */

.contact-section {
    min-height: 100vh;
    background-color: #0A1A3A;
    padding-top: 100px;
    padding-bottom: 50px;
    overflow: hidden;
}

/* Background Glowing Blobs */
.glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.2;
    z-index: 1;
}

.blob-1 {
    top: -200px;
    left: -200px;
    background: #7C3AED; /* Purple */
}

.blob-2 {
    bottom: -200px;
    right: -200px;
    background: #06B6D4; /* Cyan */
}

/* Icon Circles */
.icon-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Google Map Container */
.map-container {
    filter: grayscale(100%) invert(90%); /* Dark Mode Map Effect */
    transition: 0.3s;
}
.map-container:hover {
    filter: grayscale(0%) invert(0%);
}

/* --- GLASS FORM --- */
.glass-form-card {
    background: rgba(14, 26, 53, 0.6); /* Semi-transparent dark blue */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Dark Inputs */
.form-dark {
    background-color: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 8px;
    padding: 12px 15px;
    transition: all 0.3s ease;
}

.form-dark:focus {
    background-color: rgba(0, 0, 0, 0.5) !important;
    border-color: #06B6D4 !important; /* Cyan Glow on Focus */
    box-shadow: 0 0 0 4px rgba(6, 182, 212, 0.1) !important;
    outline: none;
}

.form-dark::placeholder {
    color: #64748B;
}

/* Custom Select Dropdown Arrow */
select.form-dark {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

/* Glowing Submit Button */
.btn-glow {
    background: linear-gradient(135deg, #06B6D4 0%, #7C3AED 100%);
    border: none;
    color: white;
    box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
    letter-spacing: 1px;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(124, 58, 237, 0.6);
    color: white;
}
/* Navbar Active State */
.navbar-dark .navbar-nav .nav-link.active {
    color: #06B6D4 !important; /* Cyan */
    font-weight: 700;
    border-bottom: 2px solid #06B6D4;
}

/* --- FAQ ACCORDION DARK MODE --- */
.accordion-button::after {
    filter: invert(1); /* Arrow ko white karega */
}

.accordion-button:not(.collapsed) {
    color: #06B6D4; /* Open hone par Text Cyan */
    background-color: rgba(6, 182, 212, 0.1); /* Open hone par halka background */
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(255,255,255,0.1);
}