/* ===== CSS VARIABLES ===== */
:root {
    --primary-blue: #00a8e8;
    --dark-navy: #1a1f4d;
    --orange-gold: #ff9500;
    --black-bg: #000000;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, var(--primary-blue), var(--dark-navy));
    --gradient-2: linear-gradient(135deg, var(--orange-gold), var(--primary-blue));
    --gradient-3: linear-gradient(135deg, var(--dark-navy), var(--black-bg));
}

/* ===== LIGHT MODE VARIABLES ===== */
body.light-mode {
    --black-bg: #ffffff;
    --white: #1a1f4d;
    --dark-navy: #e8f4f8;
    --light-gray: #1a1f4d;
    --gradient-1: linear-gradient(135deg, #e8f4f8, #ffffff);
    --gradient-2: linear-gradient(135deg, #ffe5cc, #e8f4f8);
    --gradient-3: linear-gradient(135deg, #f0f0f0, #ffffff);
}

body.light-mode {
    background: #ffffff;
    color: #1a1f4d;
}

body.light-mode .navbar {
    background: linear-gradient(135deg, #e8f4f8, #ffffff);
    border-bottom: 2px solid var(--primary-blue);
    box-shadow: 0 2px 10px rgba(0, 168, 232, 0.2);
}

body.light-mode .nav-link {
    color: #1a1f4d;
}

body.light-mode .hamburger span {
    background: var(--primary-blue);
}

body.light-mode .slide-title {
    background: linear-gradient(45deg, #ffffff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.8));
}

body.light-mode .slide-text {
    color: #ffffff;
    font-weight: 600;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8), 
                 -1px -1px 4px rgba(0, 0, 0, 0.8),
                 0 0 8px rgba(0, 0, 0, 0.6);
}

body.light-mode .slide-bg::before {
    background: rgba(255, 255, 255, 0) !important;
}

body.light-mode .cta-button {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 168, 232, 0.4);
}

body.light-mode .cta-button:hover {
    background: var(--orange-gold);
    box-shadow: 0 6px 20px rgba(255, 149, 0, 0.5);
}

body.light-mode .section-title,
body.light-mode .about-text h3,
body.light-mode .service-content h3 {
    color: var(--primary-blue);
}

body.light-mode .product-card,
body.light-mode .service-item,
body.light-mode .stat-item,
body.light-mode .info-item,
body.light-mode .benefit-item {
    background: rgba(0, 168, 232, 0.05);
    border-color: var(--primary-blue);
}

body.light-mode .product-card::after {
    background: linear-gradient(145deg, rgba(232, 244, 248, 0.9), rgba(255, 255, 255, 0.9));
}

body.light-mode .contact-form,
body.light-mode .careers-form {
    background: rgba(0, 168, 232, 0.05);
}

body.light-mode .form-group input,
body.light-mode .form-group textarea,
body.light-mode .form-group select {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid var(--primary-blue);
    color: #1a1f4d;
}

body.light-mode .file-label {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-blue);
}

body.light-mode .footer {
    background: #f8f9fa;
    border-top: 2px solid var(--primary-blue);
}

body.light-mode .footer-col ul li a {
    color: #1a1f4d;
}

body.light-mode .newsletter-form input {
    background: rgba(255, 255, 255, 0.8);
    color: #1a1f4d;
}

body.light-mode .product-card h3,
body.light-mode .service-content p,
body.light-mode .about-text p {
    color: #1a1f4d;
}

body.light-mode .scroll-indicator i {
    color: var(--primary-blue);
}

/* ===== PRELOADER STYLES ===== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000, #1a1f4d);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
    animation: preloaderFadeIn 0.8s ease;
}

@keyframes preloaderFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preloader-logo {
    margin-bottom: 40px;
    animation: logoFloat 2s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.preloader-logo img {
    height: 80px;
    filter: drop-shadow(0 0 20px rgba(0, 168, 232, 0.6));
}

.preloader-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: spin 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    border-top-color: var(--primary-blue);
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
    border-right-color: var(--orange-gold);
    animation-duration: 2s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    border-bottom-color: var(--primary-blue);
    animation-duration: 2.5s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.preloader-text {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 600;
    letter-spacing: 3px;
    animation: textPulsePreloader 1.5s ease-in-out infinite;
}

@keyframes textPulsePreloader {
    0%, 100% {
        opacity: 0.6;
        text-shadow: 0 0 10px rgba(0, 168, 232, 0.3);
    }
    50% {
        opacity: 1;
        text-shadow: 0 0 20px rgba(0, 168, 232, 0.8);
    }
}

.preloader-progress {
    width: 250px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-blue), var(--orange-gold));
    border-radius: 10px;
    width: 0%;
    animation: progressLoad 2s ease-in-out forwards;
    box-shadow: 0 0 15px var(--primary-blue);
}

@keyframes progressLoad {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Light mode preloader */
body.light-mode .preloader {
    background: linear-gradient(135deg, #ffffff, #e8f4f8);
}

body.light-mode .preloader-text {
    color: #1a1f4d;
}

body.light-mode .preloader-logo img {
    filter: drop-shadow(0 0 20px rgba(0, 168, 232, 0.4));
}

/* ===== GLOBAL STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--black-bg);
    color: var(--white);
    overflow-x: hidden;
}

/* ===== CUSTOM SCROLLBAR ===== */
/* For Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--black-bg);
    border-left: 1px solid rgba(0, 168, 232, 0.2);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-blue), var(--orange-gold));
    border-radius: 10px;
    border: 2px solid var(--black-bg);
    transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--orange-gold), var(--primary-blue));
    box-shadow: 0 0 15px rgba(0, 168, 232, 0.6);
}

::-webkit-scrollbar-thumb:active {
    background: var(--primary-blue);
}

/* For Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--orange-gold) var(--primary-blue);
}

/* Light mode scrollbar */
body.light-mode ::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-left: 1px solid #e0e0e0;
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: #9e9e9e;
    border: 2px solid #f5f5f5;
}

body.light-mode ::-webkit-scrollbar-thumb:hover {
    background: #757575;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 2px solid var(--primary-blue);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05) rotate(2deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-blue);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: relative;
    width: 60px;
    height: 30px;
    background: var(--primary-blue);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    transition: all 0.3s ease;
    margin-left: 20px;
}

.theme-toggle:hover {
    background: var(--orange-gold);
    transform: scale(1.05);
}

.theme-toggle i {
    font-size: 0.9rem;
    color: var(--white);
    transition: all 0.3s ease;
    z-index: 2;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: var(--white);
    border-radius: 50%;
    left: 4px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

body.light-mode .theme-toggle::before {
    left: 34px;
}

.theme-toggle .fa-sun {
    opacity: 0.5;
}

.theme-toggle .fa-moon {
    opacity: 1;
}

body.light-mode .theme-toggle .fa-sun {
    opacity: 1;
}

body.light-mode .theme-toggle .fa-moon {
    opacity: 0.5;
}

/* ===== HOME SECTION - SLIDESHOW ===== */
.home-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slideshow-container {
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 1;
}

.slide-bg-1 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80');
    animation: gradientShift 15s ease infinite, zoomIn 20s ease infinite;
}

.slide-bg-2 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1639322537228-f710d846310a?w=1920&q=80');
    animation: gradientShift 15s ease infinite, zoomIn 20s ease infinite;
}

.slide-bg-3 {
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                      url('https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1920&q=80');
    animation: gradientShift 15s ease infinite, zoomIn 20s ease infinite;
}

@keyframes zoomIn {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.slide-content {
    text-align: center;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(45deg, var(--white), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px rgba(0, 168, 232, 0.5));
    }
    50% {
        filter: drop-shadow(0 0 20px rgba(0, 168, 232, 0.8));
    }
}

.slide-text {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.5);
}

.slide-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-blue);
    transform: scale(1.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator i {
    font-size: 2rem;
    color: var(--primary-blue);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.title-underline {
    width: 100px;
    height: 4px;
    background: var(--primary-blue);
    margin: 0 auto 20px;
    position: relative;
    animation: expandWidth 1s ease;
}

@keyframes expandWidth {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.title-underline::before,
.title-underline::after {
    content: '';
    position: absolute;
    top: 0;
    width: 30px;
    height: 4px;
    background: var(--orange-gold);
}

.title-underline::before {
    left: -40px;
}

.title-underline::after {
    right: -40px;
}

.section-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 40px 0;
    background: linear-gradient(180deg, var(--black-bg), var(--dark-navy));
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 168, 232, 0.1) 0%, transparent 70%);
    animation: rotateGlow 20s linear infinite;
}

@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    animation: slideInLeft 1s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--primary-blue);
    margin-bottom: 18px;
    animation: textPulse 3s ease-in-out infinite;
}

@keyframes textPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(0, 168, 232, 0.3);
    }
    50% {
        text-shadow: 0 0 40px rgba(0, 168, 232, 0.6);
    }
}

.about-text p {
    line-height: 1.7;
    margin-bottom: 18px;
    opacity: 0.9;
    font-size: 1rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: 8px;
    border: 1px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(0, 168, 232, 0.2);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Circuit Animation */
.circuit-animation {
    position: relative;
    width: 100%;
    height: 450px;
    animation: slideInRight 1s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.circuit-line {
    position: absolute;
    background: var(--primary-blue);
    animation: pulse 2s ease-in-out infinite;
    box-shadow: 0 0 10px var(--primary-blue);
}

.line-1 {
    width: 280px;
    height: 5px;
    top: 80px;
    left: 60px;
    animation: pulseLine1 2s ease-in-out infinite;
}

.line-2 {
    width: 5px;
    height: 220px;
    top: 80px;
    left: 340px;
    animation: pulseLine2 2s ease-in-out infinite 0.3s;
}

.line-3 {
    width: 250px;
    height: 5px;
    top: 300px;
    left: 90px;
    animation: pulseLine3 2s ease-in-out infinite 0.6s;
}

.line-4 {
    width: 5px;
    height: 150px;
    top: 150px;
    left: 180px;
    animation: pulseLine1 2s ease-in-out infinite 0.9s;
}

.line-5 {
    width: 180px;
    height: 5px;
    top: 150px;
    left: 180px;
    animation: pulseLine2 2s ease-in-out infinite 1.2s;
}

@keyframes pulseLine1 {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 10px var(--primary-blue);
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px var(--primary-blue), 0 0 50px rgba(0, 168, 232, 0.5);
        transform: scaleX(1.02);
    }
}

@keyframes pulseLine2 {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 10px var(--primary-blue);
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px var(--primary-blue), 0 0 50px rgba(0, 168, 232, 0.5);
        transform: scaleY(1.02);
    }
}

@keyframes pulseLine3 {
    0%, 100% {
        opacity: 0.4;
        box-shadow: 0 0 10px var(--orange-gold);
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px var(--orange-gold), 0 0 50px rgba(255, 149, 0, 0.5);
        transform: scaleX(1.02);
    }
}

.circuit-node {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--orange-gold);
    border-radius: 50%;
    animation: nodePulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 20px var(--orange-gold);
}

.node-1 {
    top: 65px;
    left: 45px;
    animation-delay: 0s;
}

.node-2 {
    top: 65px;
    left: 325px;
    animation-delay: 0.3s;
}

.node-3 {
    top: 285px;
    left: 325px;
    animation-delay: 0.6s;
}

.node-4 {
    top: 285px;
    left: 75px;
    animation-delay: 0.9s;
}

.node-5 {
    top: 135px;
    left: 165px;
    animation-delay: 1.2s;
}

.node-6 {
    top: 135px;
    left: 345px;
    animation-delay: 1.5s;
}

@keyframes nodePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 20px var(--orange-gold), 0 0 40px rgba(255, 149, 0, 0.3);
    }
    50% {
        transform: scale(1.5);
        box-shadow: 0 0 40px var(--orange-gold), 0 0 80px rgba(255, 149, 0, 0.6);
    }
}

/* Add data flow particles */
.circuit-animation::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--primary-blue);
    border-radius: 50%;
    top: 80px;
    left: 60px;
    animation: dataFlow 4s linear infinite;
    box-shadow: 0 0 15px var(--primary-blue);
}

@keyframes dataFlow {
    0% {
        left: 60px;
        top: 80px;
        opacity: 1;
    }
    25% {
        left: 340px;
        top: 80px;
        opacity: 0.8;
    }
    50% {
        left: 340px;
        top: 300px;
        opacity: 0.6;
    }
    75% {
        left: 90px;
        top: 300px;
        opacity: 0.4;
    }
    100% {
        left: 60px;
        top: 80px;
        opacity: 1;
    }
}

/* ===== PRODUCTS SECTION ===== */
.products-section {
    padding: 40px 0;
    background: var(--black-bg);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.product-card {
    background: linear-gradient(145deg, rgba(26, 31, 77, 0.5), rgba(0, 0, 0, 0.5));
    padding: 30px 25px;
    border-radius: 15px;
    border: 1px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        var(--primary-blue),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

.product-card:hover::before {
    opacity: 1;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: linear-gradient(145deg, rgba(26, 31, 77, 0.8), rgba(0, 0, 0, 0.8));
    border-radius: 18px;
    z-index: 1;
}

.product-card > * {
    position: relative;
    z-index: 2;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 168, 232, 0.4);
}

.product-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white);
}

.product-card p {
    opacity: 0.8;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.product-features {
    list-style: none;
    margin-bottom: 20px;
}

.product-features li {
    padding: 6px 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.product-features i {
    color: var(--orange-gold);
    margin-right: 8px;
}

.product-btn {
    display: inline-block;
    padding: 8px 25px;
    background: transparent;
    color: var(--primary-blue);
    text-decoration: none;
    border: 2px solid var(--primary-blue);
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-top: auto;
    align-self: center;
}

.product-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 40px 0;
    background: linear-gradient(180deg, var(--dark-navy), var(--black-bg));
}

.services-container {
    display: grid;
    gap: 20px;
}

.service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding: 20px;
    background: rgba(0, 168, 232, 0.05);
    border-left: 3px solid var(--primary-blue);
    border-radius: 8px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 168, 232, 0.1), transparent);
    transition: left 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateX(10px);
    background: rgba(0, 168, 232, 0.1);
    box-shadow: 0 10px 30px rgba(0, 168, 232, 0.2);
}

.service-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--orange-gold);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.service-item:hover .service-number {
    opacity: 1;
    transform: scale(1.1);
}

.service-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.service-content h3 i {
    margin-right: 8px;
}

.service-content p {
    opacity: 0.8;
    line-height: 1.5;
    font-size: 0.95rem;
}

/* ===== STATS COUNTER IN ABOUT SECTION ===== */
.stats-counter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
    margin-top: 35px;
    position: relative;
    z-index: 2;
}

.counter-item {
    text-align: center;
    padding: 20px 12px;
    background: rgba(0, 168, 232, 0.1);
    border-radius: 12px;
    border: 1px solid var(--primary-blue);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInScale 0.6s ease backwards;
}

.counter-item:nth-child(1) { animation-delay: 0.1s; }
.counter-item:nth-child(2) { animation-delay: 0.2s; }
.counter-item:nth-child(3) { animation-delay: 0.3s; }
.counter-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.counter-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 168, 232, 0.3),
        transparent 30%
    );
    animation: rotate 4s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.counter-item::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(26, 31, 77, 0.6));
    border-radius: 13px;
    z-index: 1;
}

.counter-item:hover::before {
    opacity: 1;
}

.counter-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 168, 232, 0.4);
    border-color: var(--orange-gold);
}

.counter-icon {
    font-size: 1.7rem;
    color: var(--primary-blue);
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}

.counter-number {
    font-size: 2.2rem;
    font-weight: bold;
    color: var(--primary-blue);
    margin-bottom: 6px;
    font-family: 'Courier New', monospace;
    position: relative;
    z-index: 2;
}

.counter-label {
    font-size: 0.85rem;
    color: var(--white);
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Light mode adjustments for counter */
body.light-mode .counter-item {
    background: rgba(0, 168, 232, 0.08);
    border-color: var(--primary-blue);
}

body.light-mode .counter-item::after {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 248, 0.9));
}

body.light-mode .counter-icon,
body.light-mode .counter-number {
    color: var(--primary-blue);
}

body.light-mode .counter-label {
    color: #1a1f4d;
}

body.light-mode .counter-item:hover {
    border-color: var(--primary-blue);
}

body.light-mode .stat-item {
    background: rgba(0, 168, 232, 0.08);
}

body.light-mode .stat-number {
    color: var(--primary-blue);
}

body.light-mode .stat-label {
    color: #1a1f4d;
}

/* ===== CLIENTS SECTION ===== */
.clients-section {
    padding: 40px 0;
    background: var(--black-bg);
    overflow: hidden;
}

body.light-mode .clients-section {
    background: #f8f9fa;
}

.marquee-container {
    display: flex;
    overflow: hidden;
    user-select: none;
    margin-top: 30px;
    position: relative;
    width: 100%;
}

.marquee {
    display: flex;
    gap: 100px;
    animation: scroll 40s linear infinite;
    flex-shrink: 0;
    min-width: 100%;
    padding-right: 100px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

.marquee-container:hover .marquee {
    animation-play-state: paused;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.client-logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    transform: scale(1.05);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    padding: 40px 0;
    background: linear-gradient(180deg, var(--dark-navy), var(--black-bg));
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: rgba(0, 168, 232, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(0, 168, 232, 0.1);
    transform: translateX(10px);
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-top: 3px;
}

.info-item h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1rem;
}

.info-item p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 232, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
}

.contact-form {
    background: rgba(0, 168, 232, 0.05);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--primary-blue);
    display: flex;
    /* flex-direction: column; */
    align-items: center;
}

.contact-form form {
    width: 100%;
    max-width: 500px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-row .form-group {
    margin-bottom: 0;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-blue);
    border-radius: 6px;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange-gold);
    box-shadow: 0 0 15px rgba(0, 168, 232, 0.3);
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-btn:hover::before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    background: var(--orange-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.4);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
    animation: fadeIn 1s ease;
    margin-top: 20px;
}

.map-container iframe {
    height: 350px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ===== FOOTER ===== */
.footer {
    background: linear-gradient(180deg, var(--dark-navy), var(--black-bg));
    padding: 40px 0 15px;
    border-top: 3px solid var(--primary-blue);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, rgba(0, 168, 232, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-blue);
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-col p {
    opacity: 0.85;
    line-height: 1.6;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    font-size: 0.9rem;
}

.footer-col ul li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-blue);
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
    opacity: 1;
    padding-left: 20px;
}

.footer-col ul li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-social-links {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social-link {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 168, 232, 0.1);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    color: var(--primary-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.footer-social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px) rotate(360deg);
    box-shadow: 0 5px 15px rgba(0, 168, 232, 0.4);
}

body.light-mode .footer-social-link {
    background: rgba(0, 168, 232, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

body.light-mode .footer-social-link:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 168, 232, 0.3);
    opacity: 0.7;
    font-size: 0.85rem;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        backdrop-filter: blur(10px);
    }

    body.light-mode .nav-menu {
        background: rgba(255, 255, 255, 0.98);
        border-bottom: 2px solid var(--primary-blue);
        box-shadow: 0 5px 20px rgba(0, 168, 232, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .slide-title {
        font-size: 2.5rem;
    }

    .slide-text {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social-links {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

/* ===== CAREERS SECTION ===== */
.careers-section {
    padding: 40px 0;
    background: linear-gradient(180deg, var(--black-bg), var(--dark-navy));
}

.careers-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.careers-info h3 {
    font-size: 1.6rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
}

.benefit-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding: 15px;
    background: rgba(0, 168, 232, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(0, 168, 232, 0.1);
    transform: translateX(10px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-blue);
    margin-top: 3px;
}

.benefit-item h4 {
    color: var(--primary-blue);
    margin-bottom: 5px;
    font-size: 1rem;
}

.benefit-item p {
    opacity: 0.8;
    line-height: 1.5;
    font-size: 0.9rem;
}

.careers-application-card {
    background: rgba(0, 168, 232, 0.05);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--primary-blue);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.careers-application-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent,
        rgba(0, 168, 232, 0.1),
        transparent 30%
    );
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.careers-application-card:hover::before {
    opacity: 1;
}

.careers-application-card::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.8), rgba(26, 31, 77, 0.6));
    border-radius: 12px;
    z-index: 1;
}

.careers-application-card > * {
    position: relative;
    z-index: 2;
}

.application-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    animation: iconFloat 3s ease-in-out infinite;
}

.careers-application-card h3 {
    font-size: 1.4rem;
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-weight: 700;
}

.application-description {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

.application-instructions {
    background: rgba(0, 168, 232, 0.1);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-blue);
    margin-bottom: 20px;
    text-align: left;
}

.application-instructions h4 {
    color: var(--primary-blue);
    font-size: 1rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.application-instructions h4 i {
    font-size: 1.1rem;
}

.application-instructions p {
    opacity: 0.9;
    line-height: 1.5;
    font-size: 0.9rem;
}

.email-application-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-bottom: 15px;
    position: relative;
    overflow: hidden;
}

.email-application-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.email-application-btn:hover::before {
    width: 400px;
    height: 400px;
}

.email-application-btn:hover {
    background: var(--orange-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 149, 0, 0.5);
}

.email-application-btn i {
    font-size: 1rem;
}

.email-display {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(0, 168, 232, 0.1);
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    font-size: 0.9rem;
    color: var(--primary-blue);
    font-weight: 500;
}

.email-display i {
    font-size: 1rem;
}

body.light-mode .careers-application-card {
    background: rgba(0, 168, 232, 0.08);
}

body.light-mode .careers-application-card::after {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(232, 244, 248, 0.9));
}

body.light-mode .application-instructions {
    background: rgba(0, 168, 232, 0.15);
}

/* ===== RESPONSIVE UPDATES ===== */
@media (max-width: 768px) {
    .careers-content {
        grid-template-columns: 1fr;
    }
}
