:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-muted: #555555;
    --accent-color: #0066ff; /* Electric blue, slightly darker for visibility on white */
    --card-bg: rgba(255, 255, 255, 0.9);
    --border-color: rgba(0, 0, 0, 0.08);
    --hover-shadow: 0 12px 40px rgba(0, 0, 0, 0.08); /* Soft drop shadow */
    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* Base Canvas for AI node visualization */
#ai-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    /* Clean white radial gradient */
    background: radial-gradient(circle at center, #ffffff 0%, #f7f9fa 100%);
}

.gradient-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0.9) 80%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    z-index: 1;
}

/* Utilities */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.relative-z {
    position: relative;
    z-index: 10;
}

.accent {
    color: var(--accent-color);
}

.text-center {
    text-align: center;
}

.pt-120 {
    padding-top: 120px;
}

.mt-auto {
    margin-top: auto;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

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

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:not(.btn):hover, .nav-links a.active {
    color: var(--accent-color);
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn-outline {
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
}

.btn-outline:hover {
    border-color: var(--text-color);
    background: rgba(0,0,0,0.03);
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.2);
}

.btn-primary:hover {
    background: #0050cc; /* Slightly darker electric blue on hover */
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4), 0 0 15px rgba(0, 102, 255, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
}

.btn-secondary:hover {
    background: var(--text-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.btn-white {
    background: #ffffff;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.btn-white:hover {
    background: #fafafa;
    border-color: rgba(0, 102, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.15);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle (Hamburger) */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-color);
    transition: 0.3s;
}

/* Typography & Hero */
.section {
    padding: 6rem 0;
}

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    padding-top: 80px;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.02);
    color: var(--text-muted);
}
.badge.highlight {
    border-color: rgba(0, 102, 255, 0.3);
    color: var(--accent-color);
    background: rgba(0, 102, 255, 0.05);
}

.hero h1 {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

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

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Tagline Slider Removed (Per user request) */

/* Used for about us section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 2.5rem;
    border-radius: 12px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 12px 40px rgba(0, 102, 255, 0.15), 0 0 20px rgba(0, 102, 255, 0.1);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    background: rgba(0,0,0,0.03);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.glass-card:hover .card-icon {
    color: var(--accent-color);
    background: rgba(0, 102, 255, 0.08);
}

.glass-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.glass-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Service Thumbnail / Details (services.html) */
.service-detail-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 4rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
}

.service-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f0f4f8 0%, #e1e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.service-thumbnail::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: placeholderShimmer 3s infinite linear;
}
@keyframes placeholderShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.service-thumbnail svg {
    width: 64px;
    height: 64px;
    color: var(--accent-color);
    opacity: 0.8;
}

.service-detail-content {
    padding: 3rem;
}
.service-detail-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* Dynamic Flowcharts CSS */
.flowchart-wrapper {
    margin-top: 2.5rem;
    padding: 2rem;
    background: #fafafb;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
}
.flowchart-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    text-align: center;
}
.flowchart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.flow-node {
    flex: 1;
    min-width: 150px;
    background: #fff;
    border: 1px solid var(--border-color);
    padding: 1.25rem 1rem;
    text-align: center;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
    position: relative;
    transition: transform 0.3s ease;
}

.flow-node.pulse {
    animation: flowPulse 2s infinite;
    border-color: rgba(0, 102, 255, 0.3);
}

.flow-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    position: relative;
    width: 40px;
    height: 24px;
}
.flow-arrow::after {
    content: '→';
    font-size: 1.5rem;
    animation: flowSlide 1.5s infinite;
    color: var(--accent-color);
}

@keyframes flowPulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.1); }
    70% { box-shadow: 0 0 0 10px rgba(0, 102, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 102, 255, 0); }
}

@keyframes flowSlide {
    0% { transform: translateX(-5px); opacity: 0.3; }
    50% { transform: translateX(5px); opacity: 1; }
    100% { transform: translateX(-5px); opacity: 0.3; }
}

@media (max-width: 768px) {
    .flowchart {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}


/* CTA Section */
.cta-banner {
    text-align: center;
    padding: 4rem 2rem;
    background: #fafafb;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cta-banner h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Leadership Page */
.leadership-profile {
    max-width: 900px;
    margin: 0 auto;
}

.profile-layout {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
}

.profile-frame {
    width: 100%;
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 3px; /* Prevents image cutting off the rotating border */
}
.profile-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    border-radius: 50%;
}

.profile-frame::after {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg, transparent 0%, transparent 80%, rgba(0, 102, 255, 0.2) 100%);
    animation: rotate 4s linear infinite;
}

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

.avatar-placeholder {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    background: #ffffff;
    border-radius: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-placeholder .initials {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: -2px;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--accent-color);
}

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

.bio-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.bio-content strong {
    color: var(--text-color);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(0,0,0,0.03);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--text-color);
}

/* Footer */
footer {
    background: #fafafb;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 0.9rem;
}

.link-group h4 {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 0.75rem;
}

.link-group ul a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.link-group ul a:hover {
    color: var(--text-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

/* Responsive */
@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .profile-frame {
        max-width: 300px;
        margin: 0 auto;
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #ffffff;
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
    }
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
