/* Main Variables */
:root {
    --brand-primary: #032c60;
    /* Deep Blue */
    --brand-accent: #0066cc;
    /* Brighter Blue for accents */
    --brand-neon: #0056b3;
    /* Darker blue for text visibility on white */
    --brand-bg: #f8f9fa;
    /* Light Background */
    --brand-surface: rgba(255, 255, 255, 0.7);
    /* White Glass */
    --text-main: #333333;
    --text-muted: #666666;
    --glass-border: rgba(0, 0, 0, 0.08);
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--brand-bg);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
    /* Light Animated Background */
    background: radial-gradient(circle at 10% 20%, #f0f4f8 0%, #e2e8f0 90%);
    min-height: 100vh;
}

/* --- Navigation --- */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.navbar-brand img {
    height: 45px;
    border-radius: 4px;
}

.nav-link {
    color: var(--brand-primary) !important;
    font-weight: 600;
    transition: all 0.3s ease;
    margin: 0 5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--brand-accent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--brand-accent) !important;
}

/* Custom Buttons */
.btn-neon {
    background: transparent;
    border: 2px solid var(--brand-accent);
    color: var(--brand-accent);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-neon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--brand-accent);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn-neon:hover::before {
    width: 100%;
}

.btn-neon:hover {
    color: white;
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary-custom {
    background: linear-gradient(45deg, var(--brand-primary), #004d99);
    border: none;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary-custom:hover {
    box-shadow: 0 5px 20px rgba(3, 44, 96, 0.4);
    transform: translateY(-2px);
    color: white;
}

/* --- Page & Sections --- */
.page-section {
    padding-top: 100px;
    /* Space for fixed nav */
    padding-bottom: 50px;
    min-height: 100vh;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 140px 0 100px;
    background: transparent;
    overflow: hidden;
    /* Hero Background Highlight */
}

/* Animated Background Blob */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.15) 0%, rgba(3, 44, 96, 0.05) 60%, transparent 80%);
    filter: blur(60px);
    z-index: -1;
    animation: pulseBlob 8s ease-in-out infinite alternate;
}

@keyframes pulseBlob {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(-20px, 20px);
    }
}

/* Hero Text */
.hero h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    letter-spacing: -1px;
}

.hero h1 span.highlight {
    background: linear-gradient(120deg, #0066cc, #00c6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero p.lead {
    font-size: 1.35rem;
    line-height: 1.8;
    color: #555;
    font-weight: 500;
    max-width: 600px;
    margin-bottom: 2.5rem;
}

/* Hero Visuals */
.hero-visual {
    position: relative;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Glowing Circle behind icons */
.hero-visual::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, rgba(3, 44, 96, 0.05), rgba(0, 242, 255, 0.1));
    border-radius: 50%;
    filter: blur(20px);
    z-index: -1;
    animation: rotateGlow 10s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

@keyframes rotateGlow {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Orbit Animation --- */
.orbit-container {
    position: relative;
    width: 350px;
    height: 350px;
    animation: rotateOrbit 20s linear infinite;
    z-index: 2;
    border-radius: 50%;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.1), transparent 70%);
    border-radius: 50%;
}

.pulse-circle {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.05);
    animation: pulseCenter 2s ease-in-out infinite;
}

@keyframes pulseCenter {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes rotateOrbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.orbit-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    /* No visual styles on the wrapper, just positioning */
}

/* 
   Logic regarding transforms:
   1. The container spins (0 -> 360).
   2. Items are placed at angles.
   3. Inner Icons must counter-rotate to stay upright.
      If Item 1 is at 0 degrees, it just needs counter-rotation (0 -> -360).
      If Item 2 is at 120 degrees, it needs static offset (-120) + counter-rotation.
      So Animation for Item 2 Icon: from { rotate(-120) } to { rotate(-480) }
*/

.orbit-item.item-1 {
    transform: rotate(0deg) translate(145px);
}

.orbit-item.item-2 {
    transform: rotate(120deg) translate(145px);
}

.orbit-item.item-3 {
    transform: rotate(240deg) translate(145px);
}

.orbit-icon {
    width: 70px;
    height: 70px;
    background: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    font-size: 2rem;
    position: absolute;
    transform: translate(-50%, -50%);
    /* Center the icon on the point */
}

.item-1 .orbit-icon {
    color: var(--brand-accent);
    animation: counterRotate1 20s linear infinite;
}

.item-2 .orbit-icon {
    color: var(--brand-primary);
    animation: counterRotate2 20s linear infinite;
}

.item-3 .orbit-icon {
    color: #00aaff;
    animation: counterRotate3 20s linear infinite;
}

@keyframes counterRotate1 {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

@keyframes counterRotate2 {
    from {
        transform: translate(-50%, -50%) rotate(-120deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-480deg);
    }
}

@keyframes counterRotate3 {
    from {
        transform: translate(-50%, -50%) rotate(-240deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(-600deg);
    }
}

/* --- Hero Stat Floating Cards --- */
.stat-float {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 5;
    animation: floatStat 5s ease-in-out infinite;
    border: 1px solid rgba(255, 255, 255, 0.8);
    min-width: 160px;
}

.stat-float strong {
    display: block;
    font-size: 1.1rem;
    color: var(--brand-primary);
    line-height: 1.2;
}

.stat-float small {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-float i {
    font-size: 1.5rem;
}

.card-1 {
    top: 15%;
    right: 5%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: 0%;
    animation-delay: 2.5s;
}

@keyframes floatStat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Decoration Circle */
.decoration-circle {
    position: absolute;
    width: 500px;
    height: 500px;
    border: 1px dashed rgba(3, 44, 96, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    pointer-events: none;
}

.decoration-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border: 1px solid rgba(3, 44, 96, 0.05);
    border-radius: 50%;
}

/* --- Cards --- */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    /* White glass */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft shadow */
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: var(--brand-accent);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    background: #fff;
}

.feature-icon {
    font-size: 3rem;
    color: var(--brand-accent);
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.glass-card:hover .feature-icon {
    transform: scale(1.1);
}

.glass-card h3,
.glass-card h4,
.glass-card h5 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.glass-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.glass-card small {
    color: #777;
}

.glass-card hr {
    border-color: #ddd !important;
}

/* --- General Section Styles --- */
.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.section-title p {
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.15rem;
}

/* --- Stats --- */
.metric-box {
    text-align: center;
    padding: 2rem;
    border-right: 1px solid var(--glass-border);
    transition: background 0.3s;
}

.metric-box:hover {
    background: rgba(0, 0, 0, 0.02);
}

.metric-box:last-child {
    border-right: none;
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-accent);
    margin-bottom: 0.5rem;
    /* text-shadow: 0 0 20px rgba(0, 102, 204, 0.2); */
}

.metric-box div:last-child {
    font-weight: 600;
    color: var(--brand-primary);
}

/* --- Footer (Updated) --- */
.footer {
    background: #001f4d;
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 30px;
    margin-top: 0;
    border-top: none;
    font-size: 0.95rem;
}

.footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.footer-text {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brand-accent);
    transform: translateY(-3px);
    color: #fff;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--brand-accent);
    transform: translateX(5px);
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--brand-accent);
    margin-top: 4px;
}

.footer-bottom {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: #fff;
}

/* --- Form --- */
.form-control {
    background: #f8f9fa;
    border: 1px solid #ddd;
    color: var(--text-main);
    padding: 0.8rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    background: #fff;
    border-color: var(--brand-accent);
    color: var(--text-main);
    box-shadow: 0 0 10px rgba(0, 102, 204, 0.1);
}

label.form-label {
    font-weight: 600;
    color: var(--brand-primary);
}

/* --- Lists --- */
.list-group-item {
    color: var(--text-main) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
}

.text-white,
.text-light {
    color: var(--text-main) !important;
}

.text-white-50 {
    color: var(--text-muted) !important;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .metric-box {
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
    }

    .glass-card {
        margin-bottom: 1rem;
    }

    .hero-visual {
        height: 250px;
    }
}

/* --- Three Pillars Section --- */
.pillars-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

/* Background blob for Pillars */
.pillars-section::before {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 40%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.08) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
}

.pillar-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 24px;
    padding: 3rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    text-align: center;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    pointer-events: none;
}

/* --- AI Network Animation --- */
.ai-network-container {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ai-network-grid {
    position: relative;
    width: 300px;
    height: 300px;
}

.ai-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: visible;
}

.connection-line {
    stroke: var(--brand-accent);
    stroke-width: 2;
    stroke-opacity: 0.2;
    stroke-dasharray: 10;
    animation: flowLine 2s linear infinite;
}

@keyframes flowLine {
    to {
        stroke-dashoffset: -20;
    }
}

.ai-node {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--brand-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--brand-accent);
    z-index: 2;
    animation: pulseNode 3s infinite ease-in-out;
}

.node-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.node-2 {
    top: 20%;
    left: 80%;
    animation-delay: 0.5s;
}

.node-3 {
    top: 80%;
    left: 20%;
    animation-delay: 1s;
}

.node-4 {
    top: 80%;
    left: 80%;
    animation-delay: 1.5s;
}

.node-5 {
    top: 10%;
    left: 50%;
    animation-delay: 2s;
}

.node-6 {
    top: 50%;
    left: 90%;
    animation-delay: 2.5s;
}

@keyframes pulseNode {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.5);
        opacity: 1;
        box-shadow: 0 0 20px var(--brand-accent);
    }
}

.ai-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    z-index: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.core-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.2);
    animation: corePulse 2s infinite;
}

.core-icon {
    font-size: 2.5rem;
    color: var(--brand-primary);
    background: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 102, 204, 0.3);
    position: relative;
    z-index: 4;
}

@keyframes corePulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.pillar-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 102, 204, 0.15);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 102, 204, 0.2);
}

.pillar-icon-box {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #f0f4f8, #ffffff);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.4s ease;
}

.pillar-card:hover .pillar-icon-box {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.15);
}

.pillar-icon-box i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

.pillar-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.pillar-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.pillar-link {
    font-weight: 600;
    color: var(--brand-accent);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.pillar-link i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.pillar-card:hover .pillar-link {
    opacity: 1;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

/* --- Why Nuvviaa Section (Dark Premium) --- */
.why-section {
    padding: 120px 0;
    position: relative;
    background: linear-gradient(135deg, #032c60 0%, #001f4d 100%);
    color: #fff;
    overflow: hidden;
}

/* Background accents for depth */
.why-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 242, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.why-section h2 {
    color: #fff !important;
}

.why-section p.lead {
    color: rgba(255, 255, 255, 0.7) !important;
}

.feature-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

/* Subtle glow on hover */
.feature-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 242, 255, 0.1), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover::after {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 242, 255, 0.3);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.feature-icon-small {
    min-width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.1);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00f2ff;
    font-size: 1.5rem;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 242, 255, 0.2);
}

.feature-item:hover .feature-icon-small {
    background: #00f2ff;
    color: #032c60;
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.feature-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #fff;
    letter-spacing: 0.5px;
}

.feature-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.6;
}

/* --- Metrics Section --- */
.metrics-section {
    padding: 80px 0;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.metric-item {
    text-align: center;
    padding: 1rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.metric-label {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Vertical divider for metrics on large screens */
@media (min-width: 992px) {
    .col-lg-3:not(:last-child) .metric-item {
        border-right: 1px solid rgba(0, 0, 0, 0.05);
    }
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMSIgY3k9IjEiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4xKSIvPjwvc3ZnPg==');
    opacity: 0.3;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.cta-text {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.btn-cta-white {
    background: white;
    color: var(--brand-primary);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid white;
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta-white:hover {
    background: transparent;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* --- Cloud Hero (Centered) --- */
.hero-centered {
    text-align: center;
    padding: 120px 0 0px;
    /* Reduced top padding, removed bottom padding redundancy */
    position: relative;
    overflow: hidden;
    padding-bottom: 120px;
    /* Sufficient space for divider */
}

/* Hero Background Glow */
.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.15) 0%, rgba(0, 242, 255, 0.05) 50%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
    animation: pulseGlow 8s infinite alternate;
    pointer-events: none;
}

@keyframes pulseGlow {
    0% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(0.8);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Gradient Text Highlight */
.hero-centered h1 span.highlight {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 50%, #00f2ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.hero-divider svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 60px;
    /* Height of the wave */
}

.hero-divider .shape-fill {
    fill: #f8faff;
    /* Matched to .bg-light-alt */
}

/* Background Utility for Cloud Section */
.bg-light-alt {
    background-color: #f8faff;
}

/* Compact Section Padding */
.section-compact {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    min-height: auto !important;
    /* Override min-height if needed */
}

/* Mobile Adjustments for Cloud Hero */
@media (max-width: 768px) {
    .hero-centered {
        padding: 120px 0 60px;
    }

    .hero-centered h1 {
        font-size: 2.8rem !important;
    }

    .hero-centered p.lead {
        font-size: 1.15rem !important;
        margin-bottom: 2rem;
    }
}

.hero-centered h1 {
    font-size: 4.5rem;
    /* Matched to .hero h1 */
    font-weight: 800;
    line-height: 1.1;
    color: var(--brand-primary);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 5;
    letter-spacing: -1px;
}

.hero-centered p.lead {
    font-size: 1.35rem;
    /* Matched to .hero p.lead */
    line-height: 1.8;
    color: #555;
    font-weight: 500;
    max-width: 800px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 5;
}

/* --- Modern Service Cards (Compact Horizontal) --- */
.service-card-modern {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.02);
    height: 100%;
    display: flex;
    /* Horizontal Layout */
    align-items: flex-start;
    gap: 1.5rem;
    z-index: 1;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--brand-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-modern:hover::before {
    opacity: 1;
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 204, 0.08);
    border-color: rgba(0, 102, 204, 0.1);
}

.card-icon-modern {
    width: 50px;
    height: 50px;
    background: rgba(0, 102, 204, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    color: var(--brand-accent);
    flex-shrink: 0;
    /* Prevent icon from shrinking */
    transition: all 0.3s ease;
    margin-bottom: 0;
    /* Remove bottom margin for flex layout */
}

.service-card-modern:hover .card-icon-modern {
    background: var(--brand-accent);
    color: white;
}

/* Internal content wrapper */
.service-card-content {
    flex-grow: 1;
}

.service-card-modern h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 0.5rem;
}

.service-card-modern ul {
    margin-bottom: 0.8rem;
    padding-left: 0;
}

.service-card-modern ul li {
    margin-bottom: 0.4rem;
    color: #6c757d;
    font-size: 0.95rem;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.service-card-modern ul li i {
    font-size: 0.8rem;
}

.service-card-modern .badge-modern {
    background: transparent;
    border: 1px solid rgba(0, 102, 204, 0.2);
    color: var(--brand-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 0.5rem;
}

/* Mobile: Stack vertically */
@media (max-width: 576px) {
    .service-card-modern {
        flex-direction: column;
    }
}

/* Background Decoration for Cloud Hero */
.hero-centered::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* --- Cloud Hero (Split) --- */
.hero-cloud {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-cloud h1 {
    font-size: 4rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-cloud .lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

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

.hero-cloud-visual img {
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    max-width: 100%;
}

@keyframes floatCloud {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Mobile responsive */
@media (max-width: 991px) {
    .hero-cloud {
        padding-top: 120px;
        text-align: center;
    }

    .hero-cloud .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cloud-visual {
        margin-top: 3rem;
    }
}

/* --- Network of Trust Hero Visual --- */
.hero-network-visual {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Central Glowing Node */
.network-center-node {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #fff, var(--brand-accent));
    border-radius: 50%;
    position: absolute;
    z-index: 10;
    box-shadow: 0 0 60px rgba(0, 102, 204, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    animation: pulseNode 3s infinite ease-in-out;
}

.network-center-node img {
    width: 60px;
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

@keyframes pulseNode {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 60px rgba(0, 102, 204, 0.6);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 80px rgba(0, 102, 204, 0.8);
    }
}

/* Floating Value Cards */
.network-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-weight: 700;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 5;
    animation: floatNetwork 6s ease-in-out infinite;
    white-space: nowrap;
}

.network-card i {
    color: var(--brand-accent);
}

.nc-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.nc-2 {
    top: 15%;
    right: 10%;
    animation-delay: 1s;
}

.nc-3 {
    bottom: 20%;
    left: 15%;
    animation-delay: 2s;
}

.nc-4 {
    bottom: 25%;
    right: 5%;
    animation-delay: 3s;
}

.nc-5 {
    top: 75%;
    left: 45%;
    animation-delay: 1.5s;
}

@keyframes floatNetwork {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Connecting Lines */
.network-lines {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    opacity: 0.3;
}

.network-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
    transform-origin: left center;
}

.nl-1 {
    transform: rotate(-145deg) translate(0, 0);
    width: 320px;
}

.nl-2 {
    transform: rotate(-35deg) translate(0, 0);
    width: 300px;
}

.nl-3 {
    transform: rotate(135deg) translate(0, 0);
    width: 280px;
}

.nl-4 {
    transform: rotate(30deg) translate(0, 0);
    width: 340px;
}

.nl-5 {
    transform: rotate(90deg) translate(0, 0);
    width: 200px;
}

/* --- Utilities --- */
.text-gradient {
    background: linear-gradient(120deg, var(--brand-accent), #00c6ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* --- About Page Unique Design --- */

/* Minimal Hero */
.hero-minimal {
    padding: 180px 0 120px;
    text-align: center;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-minimal h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    color: var(--brand-primary);
    position: relative;
    z-index: 2;
}

.hero-minimal p.lead {
    font-size: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-muted);
    font-weight: 400;
    line-height: 1.8;
}

/* Timeline Section */
.timeline-section {
    position: relative;
    padding: 100px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 0, 0, 0.1);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
    text-align: left;
}

.timeline-dot {
    position: absolute;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--brand-accent);
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.05);
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-year {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.05);
    line-height: 1;
    margin-bottom: 10px;
    display: block;
}

.timeline-content h4 {
    font-weight: 700;
    color: var(--brand-primary);
}

/* Values List (Editorial Style) */
.values-list-section {
    padding: 100px 0;
    background: #fff;
}

.value-list-item {
    display: flex;
    align-items: flex-start;
    padding: 40px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.value-list-item:hover {
    background: rgba(248, 249, 250, 0.5);
    padding-left: 20px;
    /* Subtle shift */
}

.value-icon-large {
    font-size: 2.5rem;
    color: var(--brand-accent);
    margin-right: 40px;
    width: 60px;
    text-align: center;
    flex-shrink: 0;
}

.value-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--brand-primary);
}

.value-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 0;
    max-width: 600px;
}

/* Mobile Adjustments for Timeline */
@media (max-width: 768px) {
    .hero-minimal h1 {
        font-size: 3rem;
    }

    .timeline-line {
        left: 20px;
    }

    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 50px !important;
        padding-right: 0 !important;
        text-align: left !important;
    }

    .timeline-dot {
        left: 10px !important;
        right: auto !important;
    }
}

/* --- Live Hero Animation (About Page) --- */
.hero-live-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.live-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 20s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--brand-accent), transparent);
    animation-duration: 25s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #00c6ff, transparent);
    animation-duration: 30s;
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(3, 44, 96, 0.2), transparent);
    animation-duration: 18s;
    animation-delay: -10s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, 30px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 60px) scale(0.9);
    }

    100% {
        transform: translate(20px, -40px) scale(1.05);
    }
}

/* Digital Grid Overlay */
.digital-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(0, 102, 204, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 102, 204, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* --- Mission Section (About Page) --- */
.mission-section {
    padding: 100px 0;
    background: #fff;
}

.mission-card {
    background: var(--brand-bg);
    padding: 3rem 2rem;
    border-radius: 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: left;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 102, 204, 0.2);
}

.mission-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: var(--brand-accent);
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.mission-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--brand-primary);
}

.mission-card p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --- Bento Grid Section (About Page) --- */
.bento-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, minmax(250px, auto));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.bento-card {
    background: #fff;
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    z-index: 2;
}

/* Grid Spans */
.span-2x2 {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, #032c60, #001f4d);
    color: white;
}

.span-1x2 {
    grid-column: span 1;
    grid-row: span 2;
    background: linear-gradient(to bottom, #fff, #f0f8ff);
}

.span-2x1 {
    grid-column: span 2;
    grid-row: span 1;
}

.span-1x1 {
    grid-column: span 1;
    grid-row: span 1;
}

/* Specific Card Styles */
.bento-card h3 {
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.bento-card p {
    font-size: 1.1rem;
    opacity: 0.8;
    position: relative;
    z-index: 2;
}

.span-2x2 h3 {
    font-size: 2.5rem;
    background: linear-gradient(120deg, #fff, #a2d9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bento-bg-anim {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 198, 255, 0.2), transparent 70%);
    animation: pulseBento 5s infinite alternate;
}

@keyframes pulseBento {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Vertical Progress Bar for Tall Card */
.vertical-progress {
    width: 6px;
    height: 150px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.progress-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--brand-accent);
    animation: fillUp 3s infinite ease-in-out;
    border-radius: 10px;
}

@keyframes fillUp {
    0% {
        height: 0%;
        opacity: 0;
    }

    50% {
        height: 70%;
        opacity: 1;
    }

    100% {
        height: 100%;
        opacity: 0;
    }
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .span-2x2 {
        grid-column: span 2;
    }

    .span-1x2 {
        grid-column: span 1;
        grid-row: span 1;
        height: 300px;
    }

    .span-2x1 {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .span-2x2,
    .span-1x2,
    .span-2x1,
    .span-1x1 {
        grid-column: span 1;
        grid-row: span 1;
        min-height: 250px;
    }
}

/* --- Comparison Section (Radar Chart) --- */
.comparison-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.chart-container-wrapper {
    position: relative;
    height: 500px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* --- Integrated Pipeline (Tech Stack) --- */
.tech-stack-section {
    padding: 120px 0;
    background: #0b0d15;
    position: relative;
    overflow: hidden;
    color: white;
}

.pipeline-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1100px;
    margin: 60px auto 0;
    padding: 20px;
}

/* Connecting Line (The Data Flow) */
.pipeline-connector {
    position: absolute;
    top: 50%;
    left: 50px;
    right: 50px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-50%);
    z-index: 1;
}

.pipeline-connector::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--brand-accent), transparent);
    background-size: 50% 100%;
    animation: flowLine 3s linear infinite;
}

/* Pipeline Stages */
.pipeline-stage {
    position: relative;
    z-index: 2;
    background: #151922;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    width: 200px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pipeline-stage:hover {
    transform: translateY(-10px);
    border-color: var(--brand-accent);
    box-shadow: 0 15px 40px rgba(0, 198, 255, 0.15);
}

/* Stage Icons Group */
.stage-icons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    border-radius: 50px;
}

.stage-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 5px;
    font-weight: 700;
}

.stage-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0;
}

/* Stage 4: Security Shield Wrapper */
.pipeline-stage.stage-security {
    border-color: #00ff88;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
}

.pipeline-stage.stage-security .stage-icons {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

/* Animations */
@keyframes flowLine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Responsive */
@media (max-width: 992px) {
    .pipeline-container {
        flex-direction: column;
        height: auto;
    }

    .pipeline-connector {
        width: 4px;
        height: 100%;
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        background: linear-gradient(180deg, transparent, var(--brand-accent), transparent);
    }

    .pipeline-connector::after {
        width: 100%;
        height: 50%;
        background: linear-gradient(180deg, transparent, var(--brand-accent), transparent);
        animation: flowLineVertical 3s linear infinite;
    }

    .pipeline-stage {
        width: 100%;
        max-width: 300px;
        margin-bottom: 40px;
    }
}

@keyframes flowLineVertical {
    0% {
        background-position: 0 -100%;
        top: -50%;
    }

    100% {
        background-position: 0 200%;
        top: 100%;
    }
}

/* The Core (Spinning Cube/Sphere Representation) */
.hologram-core {
    width: 100px;
    height: 100px;
    position: relative;
    transform-style: preserve-3d;
    animation: spinCore 10s infinite linear;
}

.core-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.5);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: #00c6ff;
}

.core-face:nth-child(1) {
    transform: rotateY(0deg) translateZ(50px);
}

.core-face:nth-child(2) {
    transform: rotateY(90deg) translateZ(50px);
}

.core-face:nth-child(3) {
    transform: rotateY(180deg) translateZ(50px);
}

.core-face:nth-child(4) {
    transform: rotateY(-90deg) translateZ(50px);
}

.core-face:nth-child(5) {
    transform: rotateX(90deg) translateZ(50px);
}

.core-face:nth-child(6) {
    transform: rotateX(-90deg) translateZ(50px);
}

/* Orbit Rings */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-style: preserve-3d;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%) rotateX(70deg);
}

.ring-1 {
    width: 300px;
    height: 300px;
    animation: rotateRing 20s infinite linear;
}

.ring-2 {
    width: 450px;
    height: 450px;
    animation: rotateRing 30s infinite linear reverse;
}

.ring-3 {
    width: 600px;
    height: 600px;
    animation: rotateRing 40s infinite linear;
}

/* Tech Icons on Orbit */
.tech-icon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 50px;
    background: rgba(11, 13, 21, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 10px rgba(0, 198, 255, 0.3);
    /* Counter-rotate to keep upright relative to screen */
    animation: counterRotateIcon 20s infinite linear reverse;
    transform-origin: center center;
    transform: translate(-50%, -50%) rotateX(-70deg);
}

/* Positioning Icons on the Ring circle */
/* We use a wrapper to rotate along the ring, then the icon inside counter-rotates */
.icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    transform-style: preserve-3d;
}

/* Animations */
@keyframes spinCore {
    0% {
        transform: rotateX(0deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(360deg) rotateY(360deg);
    }
}

@keyframes rotateRing {
    0% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotateX(75deg) rotateZ(360deg);
    }
}

@keyframes counterRotateIcon {

    /* This complex because the ring is tilted. 
      For MVP, we just let them spin with the ring or use 'billboard' technique.
      A simpler approach for 'billboarding' in CSS 3D is hard without JS updating rotation.
      We will just rotate them flat against the ring for now or use a simpler 2.5D approach if needed.
      Let's try to keep them somewhat upright.
   */
    0% {
        transform: rotateZ(0deg) rotateX(-75deg);
    }

    100% {
        transform: rotateZ(-360deg) rotateX(-75deg);
    }
}

/* Update: Simpler Billboarding attempt */
.ring-1 .tech-icon {
    animation-duration: 20s;
}

.ring-2 .tech-icon {
    animation-duration: 30s;
    animation-direction: normal;
    /* ring is reverse */
}

.ring-3 .tech-icon {
    animation-duration: 40s;
}

/* Responsive */
@media (max-width: 768px) {
    .hologram-scene {
        transform: scale(0.6);
    }
}

/* --- Contact Page Modern Redesign --- */
.contact-split-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    /* Offset for fixed navbar */
    background: radial-gradient(circle at 10% 20%, rgba(0, 198, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 50, 150, 0.05) 0%, transparent 40%),
        #f8f9fa;
    /* Light clean base */
}

.contact-left {
    padding-right: 50px;
}

.contact-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #032c60 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-details-box {
    margin-top: 50px;
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.detail-icon {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brand-accent);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-right: 20px;
    font-size: 1.25rem;
}

.detail-text h5 {
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--brand-primary);
}

.detail-text p {
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Glass Form Card */
.contact-form-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.form-floating-custom {
    position: relative;
    margin-bottom: 20px;
}

.form-control-modern {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control-modern:focus {
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 4px rgba(0, 198, 255, 0.1);
    outline: none;
    background: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .contact-split-section {
        padding: 120px 0 80px;
        height: auto;
    }

    .contact-left {
        padding-right: 0;
        margin-bottom: 50px;
        text-align: center;
    }

    .contact-hero-title {
        font-size: 2.5rem;
    }

    .detail-item {
        justify-content: center;
        text-align: left;
    }
}