/* Design System & Variables */
:root {
    /* Dark Theme (Default) */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #7c3aed;
    --accent: #06b6d4;
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: rgba(255, 255, 255, 0.8);
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass: rgba(15, 23, 42, 0.03);
    --glass-border: rgba(15, 23, 42, 0.1);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

h1,
h2,
h3,
h4,
.logo-text {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

.text-gradient {
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-light {
    background: white;
    color: #0f172a;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.header.scrolled {
    background: var(--bg-dark);
    opacity: 0.95;
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    background: linear-gradient(90deg, var(--text-main), var(--text-muted));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-sub {
    font-size: 0.6rem;
    letter-spacing: 3px;
    color: var(--primary);
    font-weight: 700;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.theme-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--primary);
    color: white;
}

.nav-links a:hover {
    color: var(--primary);
}

/* Mobile Menu Styles */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: var(--transition);
}

@media (max-width: 992px) {
    .mobile-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 1000;
        backdrop-filter: blur(20px);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }

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

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

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }
}

/* Hero Slider Section */
.hero-slider-section {
    position: relative;
    height: 100vh;
    min-height: 800px;
    overflow: hidden;
    background-color: var(--bg-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(124, 58, 237, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(37, 99, 235, 0.1) 0px, transparent 50%);
}

.hero-slider-section::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    animation: rotate 60s linear infinite;
    pointer-events: none;
}

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

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

.hero-slider {
    height: 100%;
    position: relative;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    height: 100%;
    padding-top: 80px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 2rem;
}

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

.hero-image-container {
    position: relative;
    height: 500px;
}

.main-hero-img {
    height: 100%;
    width: 100%;
    border-radius: 40px;
    object-fit: cover;
    display: block;
}

/* Hero Navigation */
.hero-slider-nav {
    position: absolute;
    bottom: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.hero-slider-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.hero-slider-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

.hero-slider-dots {
    display: flex;
    gap: 1rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 10px;
}

/* Sections General */
section {
    padding: 8rem 0;
}

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

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

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

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

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    border-radius: 24px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 1);
    border-color: var(--primary);
}

.service-card:hover .service-title {
    color: var(--primary) !important;
}

.service-card:hover .service-description {
    color: var(--primary) !important;
}

.service-card.active {
    border-color: var(--primary);
    box-shadow: 0 10px 30px -10px rgba(37, 99, 235, 0.2);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.service-icon i {
    display: block;
}

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

/* Systems Slider (Homepage) */
.systems-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    padding: 2rem 0;
}

.systems-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 2rem;
}

.systems-slider .system-card {
    flex: 0 0 32%;
    min-width: 350px;
    opacity: 0.5;
    transform: scale(0.9);
    transition: var(--transition);
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
}

.systems-slider .system-card.active {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.3);
    border-color: var(--primary);
}

.system-image {
    width: 100%;
    aspect-ratio: 16/10;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.system-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.system-card:hover .system-image img {
    transform: scale(1.05);
}

.system-info {
    padding: 2rem;
}

.system-icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.system-icon-header i {
    font-size: 1.5rem;
    color: var(--primary);
}

.system-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.system-info p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.link-more {
    font-weight: 600;
    color: var(--primary);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

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

/* Video Showcase Section */
.video-section {
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.1), transparent);
}

.video-container-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.video-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 40px;
    padding: 1rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 40px 80px -15px rgba(37, 99, 235, 0.2);
}

.video-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 30px;
    overflow: hidden;
}

.video-inner video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.8));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition);
}

.video-card:hover .video-overlay {
    background: linear-gradient(rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.6));
}

.play-btn {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
    transition: var(--transition);
    z-index: 5;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--secondary);
}

.video-text {
    text-align: center;
    color: white;
}

.video-text h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.video-text p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Connectivity */
.connectivity-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(124, 58, 237, 0.1));
    border-radius: 40px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.connectivity-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.connectivity-list li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
}

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

.connections-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.connection-line {
    fill: none;
    stroke: url(#line-grad);
    stroke-width: 2;
    stroke-dasharray: 10, 10;
    stroke-linecap: round;
    opacity: 0.3;
    animation: flow 20s linear infinite;
}

@keyframes flow {
    to {
        stroke-dashoffset: -200;
    }
}

.node {
    position: absolute;
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    z-index: 2;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.node:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary);
    box-shadow: 0 8px 32px 0 rgba(37, 99, 235, 0.3);
}

.node-icon {
    width: 45px;
    height: 45px;
    background: var(--glass);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary);
}

.central-node {
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    justify-content: center;
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.central-node .node-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
}

.central-node span {
    font-weight: 700;
    color: white;
}

.p1 {
    top: 10%;
    left: 15%;
    animation: float 4s ease-in-out infinite;
}

.p2 {
    top: 20%;
    right: 15%;
    animation: float 4.5s ease-in-out infinite;
}

.p3 {
    bottom: 10%;
    left: 45%;
    animation: float 5s ease-in-out infinite;
}

@keyframes float {

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

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

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.4);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 99, 235, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
    }
}

.central-node {
    animation: pulse 3s infinite;
}

/* Clients */
.clients {
    overflow: hidden;
    padding: 4rem 0;
    position: relative;
    background: linear-gradient(to right, var(--bg-dark), transparent 10%, transparent 90%, var(--bg-dark));
}

.clients::before,
.clients::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

.clients::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

.clients-slider {
    display: flex;
    overflow: hidden;
    /* Masking for smooth edges */
    -webkit-mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
    mask-image: linear-gradient(90deg, transparent, #fff 20%, #fff 80%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    /* Ensure hardware acceleration */
    will-change: transform;
}

.clients-track:hover {
    animation-play-state: paused;
}

.client-logo-img {
    height: 9rem;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    /* No filters or transparency by default */
    filter: none;
    opacity: 1;
    transition: var(--transition);
    cursor: pointer;
}

.client-logo-img:hover {
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 2rem));
        /* Adjust based on duplication logic */
    }
}

/* Light Mode Adjustments for Logos */
[data-theme="light"] .client-logo-img {
    filter: none;
    opacity: 1;
}

[data-theme="light"] .client-logo-img:hover {
    transform: scale(1.1);
}

[data-theme="light"] .clients::before {
    background: linear-gradient(to right, var(--bg-dark), transparent);
}

[data-theme="light"] .clients::after {
    background: linear-gradient(to left, var(--bg-dark), transparent);
}

/* Home CTA Premium Section */
.cta-section {
    padding: 10rem 0;
    position: relative;
    overflow: hidden;
    background: var(--bg-dark);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.cta-premium-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(124, 58, 237, 0.15));
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 48px;
    padding: 6rem 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.cta-premium-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.05;
}

.cta-premium-card h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-main);
}

.cta-premium-card p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Footer */
.footer {
    padding: 6rem 0 2rem;
    background: #020617;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 10;
}

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

.footer-brand p {
    margin-top: 1.5rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
    color: white;
}

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

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links ul li a:hover {
    color: var(--primary);
}

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

.footer .social-icons a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.1rem;
    color: white;
    transition: var(--transition);
}

.footer .social-icons a:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-3px);
}

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

/* Theme-specific Overrides for Footer */
[data-theme="light"] .footer {
    background: #f8fafc;
    color: #475569;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .footer-brand p {
    color: #64748b;
}

[data-theme="light"] .footer-links h4,
[data-theme="light"] .footer-social h4 {
    color: #0f172a;
}

[data-theme="light"] .footer-links ul li a {
    color: #475569;
}

[data-theme="light"] .footer-links ul li a:hover {
    color: var(--primary);
}

[data-theme="light"] .footer .social-icons a {
    color: #0f172a;
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #94a3b8;
}

/* Systems Page Specifics */
.systems-hero {
    padding: 14rem 0 8rem;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.hero-content-center {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-bg-accent {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.systems-grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
}

.system-card-premium {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.card-image {
    position: relative;
    height: 240px;
}

.card-image .image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.system-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.card-content h3 {
    font-size: 1.5rem;
    color: var(--text-main);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.card-features {
    margin-bottom: 2.5rem;
    list-style: none;
}

.card-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.card-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

.card-footer {
    margin-top: auto;
}

/* Contact Page Specifics */
.contact-hero {
    padding: 10rem 0 4rem;
    text-align: center !important;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 6rem;
}

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

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.info-icon {
    font-size: 1.5rem;
    width: 60px;
    height: 60px;
    background: var(--glass);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    color: var(--primary);
    border: 1px solid var(--glass-border);
}

.info-text h4 {
    margin-bottom: 0.3rem;
}

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

.social-panel {
    margin-top: 1rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), transparent);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.social-panel h4 {
    margin-bottom: 1.5rem;
}

.contact-form-panel {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    border-radius: 30px;
}

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

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    padding: 1rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.btn-block {
    width: 100%;
}

.map-container {
    width: 100%;
    margin: 4rem 0 8rem;
    border-radius: 40px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.map-container iframe {
    filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

[data-theme="light"] .map-container iframe {
    filter: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
}

.whatsapp-float::before {
    content: 'WhatsApp Us';
    position: absolute;
    right: 70px;
    background: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
    pointer-events: none;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.whatsapp-float:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
}

.whatsapp-float i {
    animation: whatsapp-pulse 2s infinite;
}

@keyframes whatsapp-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* CTA Banner (Systems Page) */
.cta-banner {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 6rem;
    border-radius: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.cta-banner h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: white;
}

.cta-banner p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
}

/* Responsive Tweaks */
@media (max-width: 1200px) {
    :root {
        --container-width: 100%;
    }
}

@media (max-width: 1100px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .systems-slider .system-card {
        flex: 0 0 45%;
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
        gap: 3rem;
    }

    .hero-title {
        font-size: 3rem;
        margin-bottom: 1.5rem;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-image-container {
        height: 400px;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .connectivity-box {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3rem 2rem;
    }

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

@media (max-width: 768px) {
    section {
        padding: 5rem 0;
    }

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

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

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

    .systems-slider .system-card {
        flex: 0 0 85%;
        min-width: 280px;
    }

    .cta-premium-card {
        padding: 4rem 2rem;
        border-radius: 32px;
    }

    .cta-premium-card h2 {
        font-size: 2.2rem;
    }

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

    .systems-grid-premium {
        grid-template-columns: 1fr;
    }

    .map-container {
        margin: 3rem 0 5rem;
        border-radius: 24px;
    }

    .hero-slide {
        height: auto;
        min-height: 100vh;
        padding-bottom: 100px;
    }

    .hero-slider-section {
        height: auto;
        min-height: 100vh;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

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

    .cta-actions {
        flex-direction: column;
    }

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

    .nav-links {
        width: 100%;
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 90px;
        right: 25px;
    }

    .whatsapp-float::before {
        display: none;
    }
}

/* --- New Content Styles --- */

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.about-text-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text-content h3:first-child {
    margin-top: 0;
}

.about-text-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.about-cards-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.vision-mission-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 20px;
    transition: var(--transition);
}

.vision-mission-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

.vision-mission-card .icon-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vision-mission-card .icon-header i {
    font-size: 1.5rem;
    color: var(--accent);
}

.vision-mission-card h4 {
    font-size: 1.25rem;
}

.core-principles h3 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-main);
}

.principles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.principle-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.principle-item:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.principle-item i {
    color: var(--accent);
}

.principle-item:hover i {
    color: white;
}

/* Professional Services */
.prof-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.prof-service-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.prof-service-item:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.prof-service-item i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.prof-service-item h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.prof-service-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Technology Section */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    background: linear-gradient(145deg, var(--bg-card), rgba(30, 41, 59, 0.4));
    padding: 2.5rem 2rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: var(--transition);
}

.tech-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.tech-card i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Team Section */
.team-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.team-intro {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    position: relative;
}

.quote-icon {
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.3;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.testimonial-author {
    border-top: 1px solid var(--glass-border);
    padding-top: 1rem;
}

.author-name {
    font-weight: 700;
    color: var(--primary);
}

/* Careers */
.careers-content {
    text-align: center;
}

.roles-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.role-tag {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: var(--secondary);
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.role-tag:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-3px);
}

/* Footer Contact Info */
.contact-info-footer {
    margin-top: 1.5rem;
}

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-info-footer i {
    color: var(--primary);
}

/* Responsive Adjustments for New Sections */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .principles-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .principle-item {
        justify-content: center;
    }
}