/* ===========================
   Global Styles & Variables
   =========================== */
:root {
    --primary-color: #0066ff;
    --secondary-color: #00d4ff;
    --dark-bg: #ffffff;
    /* Soft Light Gray Base */
    --darker-bg: #ffffff;
    /* White Base */
    --light-text: #1a1a1a;
    /* Dark Gray Text */
    --gray-text: #555555;
    /* Medium Gray Text */
    --accent-gradient: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    /* Glass Background */
    --card-border: rgba(255, 255, 255, 0.5);
    /* Glass Border */
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    /* Soft Shadow */
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding-top: 20px;
    background: transparent;
    transition: var(--transition);
    pointer-events: none;
}

.nav-container {
    display: flex;
    justify-content: center;
    /* Center the single main pill */
    align-items: center;
}

/* The Main Floating Pill Container */
.nav-floating-pill {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.95);
    /* Light pill background per reference */
    /* Alternatively for dark theme preference: background: rgba(22, 26, 46, 0.8); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.1); */

    /* Going with Light Theme Pill as requested "exactly same design" */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    /* Less padding right for button */
    border-radius: 100px;
    gap: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    min-width: 600px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-img {
    height: 50px;
    width: auto;
    /* Make logo dark for light pill */
}

.logo-text {
    color: #1a1a1a;
    /* Dark text for light pill */
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.2rem;
}

.logo-highlight {
    color: #1a1a1a;
    font-weight: 700;
}

/* Menu inside pill */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-menu li a {
    color: #666;
    /* Dark gray for light pill */
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 1rem;
    border-radius: 50px;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: #000;
    background: #fff;
    /* White pill for active item inside light grey bar? Or simple text highlight */
    background: rgba(0, 0, 0, 0.05);
}

/* Right Actions */
.nav-right-actions {
    display: flex;
    align-items: center;
}

.btn-nav-cta {
    background: #111;
    /* Dark button on light pill */
    color: #fff;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-nav-cta:hover {
    background: #333;
    transform: translateY(-2px);
}

.btn-nav-cta i {
    font-size: 0.8rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 5px;
    margin-left: 1rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #1a1a1a;
    /* Dark hamburger for light pill */
    transition: var(--transition);
}

/* Mobile Responsive */
@media (max-width: 968px) {
    .nav-floating-pill {
        flex-direction: row;
        width: 100%;
        min-width: auto;
        padding: 1rem;
        box-shadow: none;
        justify-content: space-between;
    }

    .logo-text {
        color: var(--light-text);
    }

    .logo-img {
        filter: brightness(0.1);
    }

    .hamburger span {
        background: var(--light-text);
    }

    .nav-menu {
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        z-index: 999;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        opacity: 0;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }

    .nav-menu li a {
        color: var(--light-text);
        font-size: 1.2rem;
    }

    .btn-nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Changed to left align to match reference */
    text-align: left;
    /* Changed to left align */
    padding-top: 80px;
    background: #0a0e27;
    /* Fallback */
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    /* Darker overlay for text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease;
}

.hero-logo {
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease;
}

.hero-logo-img {
    height: 180px;
    width: auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-title {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 2rem;
    margin-top: 45px;
}

.hero-text-block {
    display: inline-block;
    background-color: rgb(0 125 255 / 48%);
    /* Burnt orange from reference */
    color: white;
    font-size: 45px;
    /* Large font */
    font-weight: 800;
    padding: 0.5rem 1.5rem;
    line-height: 1.2;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-description {
    font-size: 1.15rem;
    color: var(--gray-text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    min-height: 4rem;
    /* Prevent layout shift */
}

/* Typewriter Cursor */
.typed-sentences::after {
    content: '_';
    display: inline-block;
    animation: blink-cursor 0.75s step-end infinite;
    color: var(--secondary-color);
    margin-left: 2px;
}

@keyframes blink-cursor {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: var(--accent-gradient);
    color: var(--light-text);
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--dark-bg);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 20px;
    height: 30px;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    position: relative;
}

.scroll-indicator span::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 8px;
    background: var(--secondary-color);
    border-radius: 2px;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% {
        opacity: 0;
        top: 5px;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        top: 15px;
    }
}

/* Hero Features */
.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
    opacity: 0.9;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
}

.hero-feature-item i {
    font-size: 1.1rem;
    color: white;
    /* Or secondary color if preferred */
}

/* ===========================
   Section Styles
   =========================== */
section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-text);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===========================
   Impact & Strategy Section
   =========================== */
.impact-section {
    background: var(--dark-bg);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.impact-content {
    max-width: 1000px;
    margin: 0 auto;
}

.impact-headline {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 3rem;
    color: var(--light-text);
}

.scroll-reveal-text {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.1) 50%, var(--light-text) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    background: linear-gradient(to right, var(--light-text) 50%, rgb(148 148 148) 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background-position 0.1s linear;
}

.pills-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.pill {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.pill i {
    font-size: 1.1rem;
}

/* Specific Pill Styles */
.pill-creativity {
    background: rgba(189, 147, 249, 0.1);
    color: #bd93f9;
    border-color: rgba(189, 147, 249, 0.8);
}

.pill-innovation {
    background: rgba(139, 233, 253, 0.1);
    color: #8be9fd;
    border-color: rgba(139, 233, 253, 0.8);
}

.pill-strategy {
    background: rgba(255, 184, 108, 0.1);
    color: #ffb86c;
    border-color: rgba(255, 184, 108, 0.8);
}

.pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stats-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.stat-prefix {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--light-text);
    vertical-align: top;
    line-height: 1;
}

.stat-number {
    font-size: 5rem;
    font-weight: 700;
    color: var(--light-text);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-text);
    margin-top: 1rem;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    display: none;
    /* Hidden on mobile by default, shown in MQ */
}

@media (min-width: 768px) {
    .stat-divider {
        display: block;
    }
}

/* ===========================
   IoT Showcase Section
   =========================== */
.iot-showcase {
    /* IoT Showcase Section */
    background-color: #f6f9fc;
    background-image: linear-gradient(90deg, rgba(0, 102, 255, 0.03) 1px, transparent 1px),
        linear-gradient(rgba(0, 102, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    padding: 6rem 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    /* Ensure it stays above/below correctly */
}

/* Ambient Glow for IoT Showcase */
.iot-showcase::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.iot-showcase .section-title {
    color: var(--light-text);
    background: linear-gradient(135deg, #1a1a1a 0%, #0066ff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.iot-showcase .section-subtitle {
    color: var(--gray-text);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 0.8fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 4rem;
}

.showcase-column {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.feature-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.showcase-column.left .feature-block {
    flex-direction: row-reverse;
    text-align: right;
}

.showcase-column.right .feature-block {
    flex-direction: row;
    text-align: left;
}

.feature-icon-circle {
    width: 60px;
    height: 60px;
    background: rgba(0, 102, 255, 0.08);
    /* Soft Blue Background */
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    /* Blue Icon */
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-block:hover .feature-icon-circle {
    background: var(--primary-color);
    color: #fff;
    /* White icon on hover */
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    transform: scale(1.1);
}

.feature-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--light-text);
    /* Dark text */
}

.feature-text p {
    color: var(--gray-text);
    /* Gray text */
    font-size: 0.95rem;
    line-height: 1.6;
}

.device-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.device-image {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 15px 15px rgba(64, 99, 253, 0.4));
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.4) 0%, transparent 70%);
    z-index: -1;
    filter: blur(40px);
}

@keyframes float {

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

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

@media (max-width: 968px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    /* On mobile, reorder so image is first or in middle naturally */
    .showcase-column.center {
        order: -1;
        /* Image first */
        margin-bottom: 2rem;
    }

    .showcase-column.left .feature-block {
        flex-direction: row;
        text-align: left;
    }
}

/* ===========================
   Platform Overview Section
   =========================== */
.platform-overview {
    /* Tall container for scroll track */
    height: auto;
    /* changed from 300vh */
    padding: 0;
    position: relative;
}

.platform-sticky-wrapper {
    position: relative;
    /* changed from sticky */
    top: 0;
    width: 100%;
    height: auto;
    /* changed from 100vh */
    overflow: visible;
    /* changed from hidden */
    background: url('../images/bg-tablet.jpg') no-repeat center center;
    background-color: #0a0e27;
    background-size: cover;
    display: flex;
    flex-direction: column;
    /* Added to stack content vertically */
    align-items: center;
    /* Center content */
    justify-content: flex-start;
    z-index: 1;
    padding-top: 100px;
    padding-bottom: 5rem;
    /* Add padding at bottom */
}

.platform-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.platform-overview .container {
    position: relative;
    z-index: 2;
    /* Content on top */
}

.platform-visual {
    position: relative;
    text-align: center;
}

.platform-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(139, 233, 253, 0.15) 0%, transparent 70%);
    z-index: 0;
    filter: blur(60px);
}

.platform-tablet-img {
    position: relative;
    z-index: 1;
    max-width: 60%;
    height: auto;
    border-radius: 12px;
    transition: var(--transition);
    animation: float-tablet 6s ease-in-out infinite;
}

@keyframes float-tablet {

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

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

.platform-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: #0a0e27;
    padding: 4rem 2rem;
    border-radius: 20px;
    margin-top: 4rem;
}

.feature-detail {
    text-align: left;
    padding: 0 2rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-detail:last-child {
    border-right: none;
}

.feature-detail h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #fff;
}

.feature-detail p {
    color: #a0a4b8;
    line-height: 1.7;
    font-size: 1rem;
}

@media (max-width: 968px) {
    .platform-features {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .feature-detail {
        text-align: center;
        padding: 0;
        border-right: none;
    }
}

/* ===========================
   Innovation Services Section
   =========================== */
.innovation-services {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    /* Ensure canvas doesn't overflow */
    background: #ffffff;
    text-align: center;
    z-index: 2;
    /* Stacks above sticky wrapper */
}

#innovation-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    /* Behind connection cards */
    pointer-events: none;
}

.innovation-services .container {
    position: relative;
    z-index: 1;
    /* Content on top */
}

.innovation-headline {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    line-height: 1.2;
    color: #a0a0a0;
    /* Start Light Grey */
    transition: color 1s ease;
}

.innovation-headline.active {
    color: #000000;
    /* Scroll to Black */
}

.text-aesthetics {
    font-family: 'Playfair Display', serif;
    /* Ensure this font is available or fallback */
    font-style: italic;
    font-weight: 400;
    color: #a0a0a0;
    /* Slightly softer white */
}

.services-card-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 5rem;
}

.service-card-item {
    flex: 1;
    min-width: 200px;
    max-width: 240px;
    padding: 2.5rem 1.5rem;
    border-radius: 20px;
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 200px;
}

.service-card-item:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.service-card-item h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    color: var(--dark-bg);
    /* Text color on colored cards */
}

/* Card Specific Colors (Glassmorphism effect) */
.card-purple {
    background: rgb(169 138 252 / 60%);
    border-color: rgba(169, 138, 252, 0.3);
}

.card-purple:hover {
    background: rgba(187, 163, 255, 0.9);
}

.card-purple .card-icon,
.card-purple h3 {
    color: #1a1a1a;
}

.card-purple:hover .card-icon,
.card-purple:hover h3 {
    color: #1a1a1a;
}

.card-pink {
    background: rgb(255 192 203 / 60%);
    border-color: rgba(255, 192, 203, 0.3);
}

.card-pink:hover {
    background: rgba(255, 192, 203, 0.9);
}

.card-pink .card-icon,
.card-pink h3 {
    color: #1a1a1a;
}

.card-pink:hover .card-icon,
.card-pink:hover h3 {
    color: #1a1a1a;
}

.card-blue {
    background: rgb(135 206 250 / 60%);
    border-color: rgba(135, 206, 250, 0.3);
}

.card-blue:hover {
    background: rgba(135, 206, 250, 0.9);
}

.card-blue .card-icon,
.card-blue h3 {
    color: #1a1a1a;
}

.card-blue:hover .card-icon,
.card-blue:hover h3 {
    color: #1a1a1a;
}

.card-orange {
    background: rgb(255 200 150 / 60%);
    border-color: rgba(255, 200, 150, 0.3);
}

.card-orange:hover {
    background: rgba(255, 200, 150, 0.9);
}

.card-orange .card-icon,
.card-orange h3 {
    color: #1a1a1a;
}

.card-orange:hover .card-icon,
.card-orange:hover h3 {
    color: #1a1a1a;
}

.card-green {
    background: rgb(152 251 152 / 60%);
    border-color: rgba(152, 251, 152, 0.3);
}

.card-green:hover {
    background: rgba(152, 251, 152, 0.9);
}

.card-green .card-icon,
.card-green h3 {
    color: #1a1a1a;
}

.card-green:hover .card-icon,
.card-green:hover h3 {
    color: #1a1a1a;
}


/* CTA Bar */
.cta-bar {
    background: #0a0e27;
    /* Dark background */
    border-radius: 100px;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-content {
    text-align: left;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: #ffffff;
    /* Force White */
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: #a0a4b8;
    /* Light Gray */
    font-size: 1rem;
    margin: 0;
}

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

.btn-white {
    background: #ffffff;
    /* Force White */
    color: #000000;
    /* Dark Text */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-white:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-outline-white {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    /* Force White */
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 968px) {
    .services-card-row {
        flex-direction: column;
        align-items: center;
    }

    .service-card-item {
        width: 100%;
        max-width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .service-card-item h3 {
        text-align: left;
    }

    .cta-bar {
        flex-direction: column;
        padding: 2rem;
        border-radius: 20px;
        gap: 2rem;
    }

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

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===========================
   Vision & Mission
   =========================== */
.vision-mission {
    background: var(--darker-bg);
}

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

.vm-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.vm-card:hover::before {
    transform: scaleX(1);
}

.vm-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.vm-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.vm-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.vm-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ===========================
   Services Section
   =========================== */
.services {
    background: var(--dark-bg);
}

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

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

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.2);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 102, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ===========================
   Why Us Section
   =========================== */
.why-us {
    background: var(--darker-bg);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--secondary-color);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ===========================
   Industries Section
   =========================== */
.industries {
    background: var(--dark-bg);
}

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

.industry-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
    transition: var(--transition);
    text-align: center;
}

.industry-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.1) 0%, rgba(0, 212, 255, 0.1) 100%);
    border-color: var(--primary-color);
}

.industry-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.5rem;
}

.industry-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.industry-card p {
    color: var(--gray-text);
    line-height: 1.8;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    background: var(--darker-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 1.5rem;
    border-radius: 15px;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--primary-color);
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--gray-text);
    line-height: 1.6;
}

.contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--primary-color);
}

.contact-form-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 2.5rem;
    border-radius: 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    /* Semi-transparent white */
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    color: var(--light-text);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.social-links {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
}

.social-links h4 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-icons a {
    width: 50px;
    height: 50px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    font-size: 1.3rem;
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--accent-gradient);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: linear-gradient(to top, #eef2f5, #ffffff);
    padding: 80px 0 30px;
    color: #4a5568;
    font-size: 0.95rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

/* Brand Column */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo .logo-accent {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 2px;
}

.footer-desc {
    margin-bottom: 25px;
    line-height: 1.6;
    max-width: 300px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.contact-list li i {
    color: var(--primary-color);
    width: 16px;
}

.btn-outline-footer {
    display: inline-block;
    padding: 12px 30px;
    border: 1px solid rgba(0, 102, 255, 0.2);
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
    width: fit-content;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.btn-outline-footer:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

/* Links Columns (Cards) */
.links-col {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.links-col:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 255, 255, 0.9);
}

.footer-heading {
    color: #1a1a1a;
    font-size: 1.4rem;
    /* Larger heading */
    margin-bottom: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

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

.footer-links li {
    margin-bottom: 18px;
    /* More spacing */
}

.footer-links a {
    color: #555;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    font-size: 1rem;
}

.footer-links a i {
    font-size: 0.8rem;
    color: var(--primary-color);
    /* Cyan accent for arrow */
    opacity: 0.7;
    transition: var(--transition);
}

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

.footer-links a:hover i {
    opacity: 1;
    color: var(--primary-color);
}

/* ===========================
   Blogs Section
   =========================== */
.blogs-section {
    padding: 100px 0;
    background: transparent;
    /* Rely on body bg or create gradient */
}

.blogs-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

.blogs-header-row .section-title {
    margin-bottom: 0;
    text-align: left;
}

.blogs-header-row .btn-primary {
    background-color: #0066ff;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.blogs-header-row .btn-primary:hover {
    background-color: #004ecc;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.4);
}

.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--glass-shadow);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.blog-img-wrapper {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.blog-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(5px);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.blog-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

.blog-date {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.blog-title {
    color: var(--light-text);
    font-size: 1.5rem;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: var(--primary-color);
}

.blog-desc {
    color: var(--gray-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 40px;
    /* Space for button */
    flex-grow: 1;
}

.blog-arrow-btn {
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    border-radius: 8px;
    /* Slightly rounded square */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
    margin-top: auto;
    transition: background 0.3s, transform 0.3s;
}

.blog-arrow-btn i {
    transform: rotate(45deg);
    /* Point up-right */
    transition: transform 0.3s;
}

.blog-arrow-btn:hover {
    background: white;
    color: var(--primary-color);
}

.blog-arrow-btn:hover i {
    transform: rotate(45deg) translate(2px, -2px);
}

@media (max-width: 768px) {
    .blogs-header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .brand-col {
        grid-column: span 2;
    }
}

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

    .brand-col {
        grid-column: span 1;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 100px;
        flex-direction: column;
        background: rgba(252, 252, 252, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
        border-radius: 20px;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

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

    .section-title {
        font-size: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .hero-logo-img {
        height: 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .vm-grid,
    .services-grid,
    .features-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Features Tabs Section
   =========================== */
.features-tabs-section {
    background: linear-gradient(135deg, #f2f4f8 0%, #ffffff 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.pill-label {
    display: inline-block;
    background: rgba(0, 212, 255, 0.1);
    color: var(--secondary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

/* Tab Navigation */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}

.tab-btn {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    color: var(--gray-text);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    font-family: 'Inter', sans-serif;
}

.tab-btn:hover {
    background: rgba(0, 102, 255, 0.05);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 10px 20px rgba(0, 102, 255, 0.3);
}

.tab-btn i {
    font-size: 1.1rem;
}

/* Tab Content */
.tabs-content-wrapper {
    position: relative;
    min-height: 400px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

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

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

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

/* Text Column */
.tab-text-col h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--light-text);
}

.tab-lead {
    font-size: 1.1rem;
    color: var(--gray-text);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.tab-feature-list {
    list-style: none;
    margin-bottom: 2rem;
}

.tab-feature-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--light-text);
    font-weight: 500;
}

.tab-feature-list li i {
    color: var(--secondary-color);
}

/* Visual Column & Cards */
.tab-visual-col {
    position: relative;
    display: flex;
    justify-content: center;
}

.visual-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
    /* Light shadow */
    overflow: hidden;
    position: relative;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.visual-card.centered-content {
    justify-content: center;
    align-items: center;
}

.visual-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--light-text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 1rem;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: #00d4ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00d4ff;
    animation: blink 1.5s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

/* --- Visual 1: Real-Time --- */
.visual-body-realtime {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.chart-bar-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 120px;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
}

.chart-bar {
    width: 12%;
    background: linear-gradient(to top, var(--primary-color), var(--secondary-color));
    border-radius: 5px 5px 0 0;
    animation: barHeight 2s ease-in-out infinite alternate;
}

.b1 {
    height: 40%;
    animation-delay: 0s;
}

.b2 {
    height: 70%;
    animation-delay: 0.2s;
}

.b3 {
    height: 50%;
    animation-delay: 0.4s;
}

.b4 {
    height: 90%;
    animation-delay: 0.1s;
}

.b5 {
    height: 60%;
    animation-delay: 0.5s;
}

@keyframes barHeight {
    0% {
        transform: scaleY(0.8);
    }

    100% {
        transform: scaleY(1.1);
    }
}

.metric-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.metric-box {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 10px;
    text-align: center;
    flex: 1;
}

.metric-box .label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-bottom: 0.3rem;
}

.metric-box .val {
    font-weight: 700;
    color: var(--light-text);
}

/* --- Visual 2: Analytics --- */
.visual-body-analytics {
    flex: 1;
}

.graph-line-svg {
    height: 100px;
    margin-bottom: 1.5rem;
    width: 100%;
}

.line-chart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.line-chart-svg polyline {
    fill: none;
    stroke: var(--secondary-color);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.5));
    animation: drawLine 3s ease forwards;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.data-table-preview {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dt-row {
    height: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    width: 100%;
}

.dt-row.header {
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 0.5rem;
}

/* --- Visual 3: Alerts --- */
.notification-bell {
    position: relative;
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.bell-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    opacity: 0;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        width: 100%;
        height: 100%;
        opacity: 0.8;
    }

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

.alert-toast {
    background: rgba(255, 87, 34, 0.15);
    border: 1px solid rgba(255, 87, 34, 0.4);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.alert-toast i.warning {
    color: #ff5722;
    font-size: 1.5rem;
}

.toast-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.t-title {
    font-weight: 700;
    color: #ff5722;
    font-size: 0.9rem;
}

.t-msg {
    font-size: 0.8rem;
    color: #1a1919;
}


/* --- Visual 4: Security --- */
.security-shield {
    font-size: 5rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lock-icon {
    position: absolute;
    font-size: 2rem;
    color: white;
}

.user-badge-row {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    justify-content: center;
}

.u-badge {
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.u-badge.admin {
    background: rgba(0, 102, 255, 0.2);
    color: #3f98f1;
    border: 1px solid rgba(0, 102, 255, 0.3);
}

.u-badge.operator {
    background: rgba(0, 212, 255, 0.2);
    color: #32adc5;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.u-badge.viewer {
    background: rgb(238 207 179 / 28%);
    color: #f7a55c;
    border: 1px solid #f2c093;
}


/* Responsive */
@media (max-width: 968px) {
    .tabs-nav {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .tab-btn {
        flex-shrink: 0;
    }

    .tab-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .tab-text-col {
        order: 2;
        text-align: center;
    }

    .tab-visual-col {
        order: 1;
    }

    .tab-feature-list {
        display: inline-block;
        text-align: left;
    }
}

/* ===========================
   Funfact Scroll Section
   =========================== */
/* --- Text Section --- */
.funfact-text-section {
    padding: 6rem 0 2rem 0;
    text-align: center;
    background: var(--dark-bg);
}

/* --- Visuals Section --- */
.funfact-visuals-section {
    padding: 2rem 0 6rem 0;
    background: var(--dark-bg);
}

/* --- Header --- */
.funfact-header {
    /* Reset simplified styles */
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
}

.funfact-header .pill-label {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.funfact-header .section-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1a1a1a 0%, #0066ff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -1px;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.funfact-header .section-subtitle {
    color: var(--gray-text);
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    opacity: 0.9;
}

.funfact-outer-box {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Stack vertically */
    justify-content: center;
    align-items: center;
}

.funfact-image-list {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}



.funfact-center-box {
    position: relative;
    width: 80%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}



.funfact-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Play Button --- */
.play-button-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 10;
}

.play-button-wrapper:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--accent-gradient);
}

/* Responsive */
@media (max-width: 991px) {
    .funfact-image-list {
        flex-direction: column;
        height: auto;
        position: relative;
        overflow: visible;
    }

    /* Removed unused funfact-outer-box and funfact-section styles */

    .funfact-center-box {
        width: 95%;
    }
}

/* Global Section Divider */
.section-divider {
    height: 3px;
    background: linear-gradient(to right, transparent, rgb(0 125 255), transparent);
    width: 80%;
    margin: 0 auto;
}

/* =========================================
   Mobile Responsiveness (Max Width: 768px)
   ========================================= */
@media (max-width: 768px) {

    /* Global Adjustments */
    .container {
        padding: 0 1.5rem;
    }

    section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 4rem;
    }

    .hero-title {
        margin-top: 2rem;
    }

    .hero-text-block {
        font-size: 28px;
        /* Reduced from 45px */
        padding: 0.4rem 1rem;
    }

    .hero-description {
        font-size: 1.1rem !important;
        /* Force override inline styles if needed, though class is better */
        text-align: left !important;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    /* Impact Section */
    .impact-headline {
        font-size: 2rem;
    }

    .pills-container {
        gap: 1rem;
    }

    .pill {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
    }

    .stats-container {
        flex-direction: column;
        gap: 2rem;
    }

    .stat-divider {
        display: none;
        /* Hide vertical lines on mobile */
    }

    .stat-number {
        font-size: 3.5rem;
    }

    /* IoT Showcase (Seamless Control) */
    .showcase-grid {
        grid-template-columns: 1fr;
        /* Stack columns */
        gap: 3rem;
        margin-top: 2rem;
    }

    /* Reorder: Image First, then Left Text, then Right Text OR Text blocks then Image */
    /* Let's keep DOM order but align text */
    .showcase-column.left .feature-block {
        flex-direction: row;
        /* Reset from row-reverse */
        text-align: left;
        /* Reset from right-align */
    }

    .showcase-column.center {
        order: -1;
        /* Move image to top */
        margin-bottom: 1rem;
    }

    .feature-icon-circle {
        margin-right: 0;
        /* Reset margins if any specific ones existed */
    }

    /* Platform Overview */
    .platform-visual {
        margin-bottom: 2rem;
    }

    .platform-features {
        grid-template-columns: 1fr;
    }

    /* Innovation Services */
    .innovation-headline {
        font-size: 2.2rem;
    }

    .services-card-row {
        gap: 1rem;
    }

    .service-card-item {
        width: 100%;
        /* Full width cards */
        flex: 1 1 100%;
    }

    .cta-bar {
        flex-direction: column;
        border-radius: 20px;
        padding: 2rem;
        gap: 2rem;
        text-align: center;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .cta-actions .btn {
        width: 100%;
    }

    /* Section Divider */
    .section-divider {
        width: 90%;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* ===========================
   Contact Modal Styles
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 2.5rem;
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #888;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close-btn:hover {
    color: #000;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }

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

/* Ensure inputs in modal look good */
.modal .contact-form .form-group {
    margin-bottom: 1.2rem;
}

.modal .contact-form .form-group input,
.modal .contact-form .form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    background: #f9f9f9;
}

.modal .contact-form .form-group input:focus,
.modal .contact-form .form-group textarea:focus {
    border-color: #0066ff;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}