/*
 * C:\Users\anand\Desktop\New folder\assets\css\style.css
 * Futuristic, Premium Design System for ANKAVYA Multi-Page Web Portal
 */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Color Palette */
    --bg-deep: #0B0F14;
    --bg-card: rgba(15, 22, 32, 0.65);
    --bg-card-hover: rgba(20, 32, 50, 0.8);
    
    --color-blue: #0066FF;
    --color-cyan: #00E5FF;
    --color-neon-purple: #9D4EDD;
    
    --text-white: #FFFFFF;
    --text-silver: #B0C4DE;
    --text-muted: #64748B;
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
    --grad-text: linear-gradient(135deg, #FFFFFF 30%, var(--text-silver) 70%, var(--color-cyan) 100%);
    --grad-glow: linear-gradient(90deg, var(--color-blue), var(--color-cyan), var(--color-neon-purple));
    
    /* Layout and Effects */
    --border-glass: 1px solid rgba(0, 229, 255, 0.15);
    --border-glass-hover: 1px solid rgba(0, 229, 255, 0.4);
    --shadow-glow-blue: 0 0 25px rgba(0, 102, 255, 0.35);
    --shadow-glow-cyan: 0 0 25px rgba(0, 229, 255, 0.4);
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Styling */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-silver);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px; /* Offset for sticky header across all pages */
}

/* Background Mesh & Grid Patterns */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.07) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 229, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(157, 78, 221, 0.04) 0%, transparent 50%);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.007) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.007) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-white);
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 1.05rem;
    color: var(--text-silver);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 255, 0.3);
    border-radius: 4px;
    border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-cyan);
}

/* Reusable Components & Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.gradient-text {
    background: var(--grad-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cyan-glow-text {
    color: var(--color-cyan) !important;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--grad-primary);
    color: var(--bg-deep);
    box-shadow: var(--shadow-glow-cyan);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(0, 229, 255, 0.7);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: var(--border-glass);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
    transition: var(--transition-smooth);
    position: relative;
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-cyan);
    box-shadow: 0 12px 40px rgba(0, 229, 255, 0.15), var(--shadow-glass);
    background: var(--bg-card-hover);
}

.section-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--color-cyan);
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    padding-left: 1.5rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-cyan);
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

/* ================= HEADER ================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(11, 15, 20, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Futuristic Brand Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: 0.05em;
    position: relative;
}

.logo-icon {
    position: relative;
    width: 32px;
    height: 32px;
}

.logo-icon::before, .logo-icon::after {
    content: '';
    position: absolute;
    border: 2.5px solid var(--color-blue);
    width: 100%;
    height: 100%;
    border-radius: 6px;
    box-sizing: border-box;
}

.logo-icon::before {
    transform: rotate(45deg);
    border-color: var(--color-blue);
    animation: rotateLogo 8s linear infinite;
}

.logo-icon::after {
    transform: rotate(15deg);
    border-color: var(--color-cyan);
    animation: rotateLogoBack 12s linear infinite;
}

.logo-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: var(--text-white);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
}

.logo-text span {
    color: var(--color-cyan);
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

/* Nav Links */
nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    color: var(--text-silver);
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--grad-primary);
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--text-white);
}

nav a:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-white);
    transition: var(--transition-smooth);
}

/* ================= INNER PAGE HERO HEADER ================= */
.inner-hero {
    position: relative;
    padding: 100px 0 60px 0;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.inner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 50% 120%, rgba(0, 102, 255, 0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.inner-hero .container {
    position: relative;
    z-index: 1;
}

.inner-hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.inner-hero-desc {
    color: var(--text-silver);
    font-size: 1.15rem;
    max-width: 700px;
    font-weight: 300;
}

/* ================= HOME HERO ================= */
.hero {
    position: relative;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    padding: 60px 0;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: all;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-tag {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-tag::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulseGlow 2s infinite alternate;
}

.hero-title {
    font-size: 4.2rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-silver);
    margin-bottom: 2.5rem;
    max-width: 550px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hologram-container {
    width: 400px;
    height: 400px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(0, 229, 255, 0.2);
    animation: rotateLogo 20s linear infinite;
}

.hologram-circle-1 {
    width: 100%;
    height: 100%;
    border: 1.5px solid rgba(0, 102, 255, 0.1);
    border-top-color: rgba(0, 229, 255, 0.6);
    border-bottom-color: rgba(157, 78, 221, 0.6);
    animation: rotateLogo 15s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.hologram-circle-2 {
    width: 80%;
    height: 80%;
    border: 1px dashed rgba(0, 229, 255, 0.3);
    animation: rotateLogoBack 25s linear infinite;
}

.hologram-circle-3 {
    width: 60%;
    height: 60%;
    border: 1.5px solid rgba(0, 102, 255, 0.15);
    border-left-color: rgba(0, 229, 255, 0.5);
    animation: rotateLogo 8s linear infinite;
}

.hologram-core {
    position: absolute;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.2) 0%, rgba(0, 229, 255, 0.05) 70%);
    border: 2px solid var(--color-cyan);
    border-radius: 12px;
    transform: rotate(45deg);
    box-shadow: var(--shadow-glow-cyan), inset 0 0 15px rgba(0, 229, 255, 0.5);
    animation: pulseCore 4s ease-in-out infinite alternate;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hologram-core svg {
    transform: rotate(-45deg);
    width: 50px;
    height: 50px;
    fill: var(--text-white);
    filter: drop-shadow(0 0 8px var(--color-cyan));
}

.floating-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 12px var(--color-cyan);
}

.fp-1 { top: 15%; left: 20%; animation: floatItem 6s ease-in-out infinite; }
.fp-2 { bottom: 15%; right: 20%; animation: floatItem 8s ease-in-out infinite 1s; }
.fp-3 { top: 75%; left: 15%; animation: floatItem 7s ease-in-out infinite 2s; }
.fp-4 { top: 30%; right: 10%; animation: floatItem 5s ease-in-out infinite 1.5s; }

/* ================= ABOUT ENTITY ================= */
.about {
    padding: 80px 0;
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-visual {
    position: relative;
}

.tech-grid-block {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.tech-grid-item {
    background: rgba(15, 22, 32, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
}

.tech-grid-item:hover {
    border-color: var(--color-cyan);
    background: rgba(0, 229, 255, 0.03);
    transform: translateY(-5px);
}

.tech-grid-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.tech-grid-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* ================= SERVICES ================= */
.services {
    padding: 80px 0;
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: rgba(0, 102, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 102, 255, 0.2);
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: var(--color-cyan);
    border-color: var(--color-cyan);
    box-shadow: var(--shadow-glow-cyan);
}

.service-card:hover .service-icon svg {
    stroke: var(--bg-deep);
    fill: var(--bg-deep);
}

.service-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--color-cyan);
    fill: none;
    stroke-width: 1.5;
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.service-card:hover h3 {
    color: var(--color-cyan);
}

.service-card p {
    color: var(--text-silver);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.service-link {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-cyan);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link svg {
    width: 16px;
    height: 16px;
    stroke: var(--color-cyan);
    stroke-width: 2;
    fill: none;
    transition: var(--transition-smooth);
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* ================= SERVICE DETAILS PAGE LAYOUT ================= */
.service-details-layout {
    padding: 80px 0;
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.details-content h3 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem 0;
}

.details-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    margin: 2rem 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.feature-list-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
}

.feature-list-item svg {
    width: 20px;
    height: 20px;
    stroke: var(--color-cyan);
    stroke-width: 2.5;
    fill: none;
    margin-top: 0.2rem;
}

.sidebar-card {
    border: var(--border-glass);
    background: rgba(15, 22, 32, 0.4);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-card h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.sidebar-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-links a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-silver);
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
}

.sidebar-links a:hover, .sidebar-links a.active {
    color: var(--color-cyan);
}

/* ================= SUCCESS STORIES / CAROUSEL ================= */
.success {
    padding: 80px 0;
    position: relative;
}

.success-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.success-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    gap: 2rem;
}

.success-slide {
    min-width: calc(50% - 1rem);
    box-sizing: border-box;
}

.success-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.success-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.client-logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--text-white);
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.success-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-cyan);
    border: 1px solid var(--color-cyan);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.success-quote {
    font-size: 1.15rem;
    color: var(--text-white);
    font-style: italic;
    font-weight: 300;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.client-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--grad-primary);
    padding: 2px;
}

.client-avatar-inner {
    width: 100%;
    height: 100%;
    background: var(--bg-deep);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 600;
    color: var(--color-cyan);
}

.client-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

/* ================= CONTACT SECTION & FORM ================= */
.contact {
    padding: 80px 0;
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 5rem;
    align-items: flex-start;
}

.contact-info-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(0, 102, 255, 0.08);
    border: 1px solid rgba(0, 102, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-cyan);
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.contact-info-details h4 {
    font-size: 1.05rem;
    margin-bottom: 0.3rem;
    color: var(--text-white);
}

.contact-info-details p {
    font-size: 0.95rem;
    color: var(--text-silver);
}

/* Cyber Form Layout */
.contact-form {
    padding: 3rem;
}

.form-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-full {
    grid-column: span 2;
}

.form-label {
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-silver);
    letter-spacing: 0.02em;
}

.form-input {
    background: rgba(11, 15, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.9rem 1.2rem;
    border-radius: 8px;
    color: var(--text-white);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.15);
    background: rgba(11, 15, 20, 0.95);
}

select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300E5FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2em;
    padding-right: 3rem;
}

select.form-input option {
    background: var(--bg-deep);
    color: var(--text-white);
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-message {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgb(16, 185, 129);
    color: rgb(52, 211, 153);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgb(239, 68, 68);
    color: rgb(248, 113, 113);
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.05rem;
}

/* ================= DYNAMIC BLOG SECTION ================= */
.blog-layout {
    padding: 80px 0;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    display: flex;
    flex-direction: column;
}

.blog-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-card-category {
    color: var(--color-cyan);
    font-weight: 600;
}

.blog-card h3 {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.blog-card p {
    font-size: 0.95rem;
    color: var(--text-silver);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.blog-card-link {
    color: var(--color-cyan);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-link svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
    transition: var(--transition-smooth);
}

.blog-card:hover .blog-card-link svg {
    transform: translateX(5px);
}

/* Dynamic Blog Detail Post Styling */
.post-detail-layout {
    padding: 80px 0;
}

.post-header {
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 2rem;
}

.post-category {
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    display: inline-block;
}

.post-title {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.post-meta-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.post-meta-info strong {
    color: var(--text-white);
}

.post-body-container {
    max-width: 800px;
    margin: 0 auto;
}

.post-body-container p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-silver);
}

.post-body-container h3 {
    font-size: 1.75rem;
    margin: 3rem 0 1rem 0;
}

.post-body-container blockquote {
    border-left: 3px solid var(--color-cyan);
    padding-left: 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--text-white);
}

/* ================= CASE STUDY LISTING & DETAILS ================= */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 80px 0;
}

.case-study-detail-layout {
    padding: 80px 0;
}

.case-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: flex-start;
}

.case-detail-block h3 {
    font-size: 1.75rem;
    margin: 2.5rem 0 1rem 0;
    color: var(--color-cyan);
}

.case-detail-block p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ================= CAREERS PAGE ACCORDIONS ================= */
.careers-layout {
    padding: 80px 0;
}

.job-list {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.job-card-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.job-card-meta span {
    color: var(--color-cyan);
    font-weight: 500;
}

.job-card-btn {
    margin-top: 1.5rem;
}

/* ================= FOOTER ================= */
footer {
    background: #06090D;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 80px 0 30px 0;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 229, 255, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 4rem;
    margin-bottom: 50px;
}

.footer-logo-desc p {
    font-size: 0.95rem;
    margin-top: 1.5rem;
    color: var(--text-muted);
}

.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--color-cyan);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-col a {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.footer-col a:hover {
    color: var(--color-cyan);
    padding-left: 5px;
}

.system-status {
    background: rgba(15, 22, 32, 0.8);
    border: var(--border-glass);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-white);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10B981;
    animation: pulseGlow 1.5s infinite alternate;
}

.system-status p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-icon:hover {
    color: var(--color-cyan);
    border-color: var(--color-cyan);
    background: rgba(0, 229, 255, 0.05);
    transform: translateY(-3px);
}

.social-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* ================= ANIMATIONS ================= */
@keyframes rotateLogo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotateLogoBack {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; box-shadow: 0 0 4px var(--color-cyan); }
    100% { opacity: 1; box-shadow: 0 0 15px var(--color-cyan); }
}

@keyframes pulseCore {
    0% { transform: rotate(45deg) scale(0.95); box-shadow: 0 0 15px rgba(0, 229, 255, 0.3); }
    100% { transform: rotate(45deg) scale(1.05); box-shadow: 0 0 35px rgba(0, 229, 255, 0.6); }
}

@keyframes floatItem {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Scroll Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3.2rem;
    }
    .services-grid, .blog-grid, .case-study-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid, .contact-grid, .service-details-grid, .case-detail-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    body {
        padding-top: 70px;
    }
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }
    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-actions {
        justify-content: center;
    }
    .hologram-container {
        width: 320px;
        height: 320px;
    }
    .about-grid, .contact-grid, .service-details-grid, .case-detail-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    .about-visual {
        order: 2;
    }
    .services-grid, .blog-grid, .case-study-grid {
        grid-template-columns: 1fr;
    }
    .success-slide {
        min-width: 100%;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    .menu-toggle {
        display: flex;
    }
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(11, 15, 20, 0.95);
        backdrop-filter: blur(20px);
        z-index: 100;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition-smooth);
        border-left: 1px solid rgba(0, 229, 255, 0.15);
    }
    nav.open {
        right: 0;
    }
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
    nav a {
        font-size: 1.3rem;
    }
    .nav-cta {
        display: none;
    }
    .contact-form {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .form-group-full {
        grid-column: span 1;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
    }
}
