/* Custom properties for futuristic theme */
:root {
    --primary: #00E5FF; /* Electric Cyan */
    --primary-dark: #00B8D9;
    --secondary: #9A00FF; /* Vibrant Purple */
    --secondary-dark: #7A00CC;
    --dark: #0A0A1A; /* Very dark blue/black background */
    --light: #E0F7FA; /* Light, desaturated blue for main text */
    --gray: #64748b; /* Keep existing gray for secondary text */
    --light-gray: #1a1a2e; /* Darker gray for outlines/borders */
    --shadow: 0 4px 15px rgba(0, 229, 255, 0.1), 0 2px 8px rgba(0, 229, 255, 0.05); /* Glowing shadow */
    --shadow-lg: 0 10px 30px rgba(0, 229, 255, 0.2), 0 4px 10px rgba(0, 229, 255, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smoother transitions */
    --border-radius: 12px;
}

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif; /* Modern, clean body font */
    color: var(--light); /* Light text on dark background */
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--dark); /* Dark background */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Orbitron', sans-serif; /* Futuristic heading font */
    font-weight: 700;
    line-height: 1.2;
    color: var(--light);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1280px; /* Slightly wider container */
    margin: 0 auto;
    padding: 0 25px;
}

.section-padding {
    padding: 100px 0; /* More padding for sections */
}

.btn {
    display: inline-flex; /* Use flex for icon alignment */
    align-items: center;
    gap: 8px;
    padding: 14px 28px; /* Larger buttons */
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--dark); /* Dark text on bright button */
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
    box-shadow: 0 5px 20px rgba(154, 0, 255, 0.3);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(154, 0, 255, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: var(--dark);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.3);
}

.btn-light {
    background-color: var(--light);
    color: var(--dark);
}

.btn-light:hover {
    background-color: rgba(224, 247, 250, 0.9);
    transform: translateY(-5px) scale(1.02);
}

.btn-outline-light {
    background-color: transparent;
    border-color: var(--light);
    color: var(--light);
}

.btn-outline-light:hover {
    background-color: rgba(224, 247, 250, 0.1);
    transform: translateY(-5px) scale(1.02);
}

.highlight {
    color: var(--primary);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
}

.preloader-hidden {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.loader {
    width: 80px; /* Larger loader */
    height: 80px;
    border: 6px solid rgba(0, 229, 255, 0.2); /* Thinner border, primary color subtle */
    border-top-color: var(--primary); /* Glowing top border */
    border-radius: 50%;
    animation: spin 1.2s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite, glow 1.5s ease-in-out infinite alternate;
    box-shadow: 0 0 15px var(--primary);
}

.loader-text {
    color: var(--light);
    font-size: 1.2em;
    margin-top: 20px;
    opacity: 0;
    animation: fadeInScale 1s forwards 0.5s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from { box-shadow: 0 0 10px var(--primary), 0 0 20px var(--primary); }
    to { box-shadow: 0 0 20px var(--primary), 0 0 30px var(--primary-dark); }
}

@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(10, 10, 26, 0.9); /* Slightly transparent dark background */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
    background-color: var(--dark); /* Solid on scroll */
    box-shadow: var(--shadow-lg);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    height: 60px; /* Adjusted logo size */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px; /* Larger logo text */
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary), var(--secondary)); /* Gradient text */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 8px rgba(0, 229, 255, 0.4);
}

.nav-menu {
    display: flex;
    gap: 40px; /* Wider spacing */
}

.nav-menu a {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    color: var(--light);
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px; /* Thicker underline */
    background-color: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Springy animation */
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary);
}

.header-cta {
    margin-left: 40px;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 35px; /* Larger hamburger icon */
    height: 25px;
    position: relative;
    z-index: 1001; /* Ensure it's above menu on mobile */
}

.hamburger {
    width: 100%;
    height: 3px;
    background: var(--primary); /* Glowing hamburger lines */
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger:nth-child(1) { top: 0; }
.hamburger:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger:nth-child(3) { bottom: 0; }

.menu-toggle:checked + .menu-icon .hamburger:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
}

.menu-toggle:checked + .menu-icon .hamburger:nth-child(2) {
    opacity: 0;
}

.menu-toggle:checked + .menu-icon .hamburger:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh; /* Make sure it takes full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2; /* Below hero content */
    opacity: 0.8;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 80px; /* Increased gap */
}

.hero-text {
    flex: 1;
    max-width: 650px;
}

.hero-title {
    font-size: 58px; /* Larger title */
    margin-bottom: 25px;
    line-height: 1.15;
    background: linear-gradient(90deg, var(--primary), var(--light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.6); /* Subtle text glow */
}

.hero-subtitle {
    font-size: 19px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 25px;
    margin-bottom: 50px;
}

.hero-stats {
    display: flex;
    gap: 40px; /* Wider stats gap */
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.stat-text {
    font-size: 15px;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plus {
    color: var(--primary);
    font-size: 28px;
    vertical-align: super;
}

.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper img {
    width: 100%;
    max-width: 650px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
}

.floating-card {
    position: absolute;
    background: rgba(10, 10, 26, 0.8); /* Darker, slightly transparent */
    backdrop-filter: blur(8px);
    padding: 18px 25px; /* Larger cards */
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: var(--light);
    animation: float 4s ease-in-out infinite;
    border: 1px solid rgba(0, 229, 255, 0.3); /* Subtle border */
    transition: all 0.3s ease;
}

.floating-card:hover {
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
    transform: translateY(-20px) scale(1.05) rotateZ(2deg);
}

.floating-card i {
    font-size: 26px; /* Larger icons */
    color: var(--primary);
    text-shadow: 0 0 10px var(--primary);
}

.card-1 {
    top: 20%;
    left: -30px;
    animation-delay: 0.5s;
}

.card-2 {
    bottom: 20%;
    right: -30px;
    animation-delay: 1s;
}

@keyframes float {
    0% { transform: translateY(0) rotateZ(0deg); }
    50% { transform: translateY(-18px) rotateZ(1deg); }
    100% { transform: translateY(0) rotateZ(0deg); }
}

.hero-shape-1, .hero-shape-2 {
    position: absolute;
    z-index: -1;
    opacity: 0.2; /* More subtle shapes */
    filter: blur(50px); /* Soft blur */
}

.hero-shape-1 {
    top: -50px;
    right: -50px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), transparent 70%);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.hero-shape-2 {
    bottom: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary), transparent 70%);
    border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
}


/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px; /* More spacing */
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-header.text-left {
    text-align: left;
    margin-left: 0;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 15px;
    opacity: 0.8;
}

.section-title {
    font-size: 42px; /* Larger titles */
    margin-bottom: 20px;
    color: var(--light);
}

.section-description {
    color: var(--gray);
    font-size: 17px;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly larger min-width */
    gap: 35px; /* Larger gap */
}

.service-card {
    background: rgba(10, 10, 26, 0.7); /* Subtle dark background with transparency */
    backdrop-filter: blur(5px);
    padding: 40px; /* More padding */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray); /* Subtle border */
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.05) 0%, transparent 70%);
    transition: transform 0.8s ease;
    transform: scale(0);
    z-index: 0;
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02); /* More pronounced hover effect */
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-icon {
    width: 70px; /* Larger icon container */
    height: 70px;
    background-color: rgba(0, 229, 255, 0.1); /* Lighter primary tint */
    border-radius: 15px; /* Slightly more rounded */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.service-icon i {
    font-size: 32px; /* Larger icon */
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

.service-title {
    font-size: 24px;
    margin-bottom: 18px;
    color: var(--light);
}

.service-description {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.service-link i {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}

.service-link:hover {
    gap: 12px;
    color: var(--primary-dark);
}

.service-link:hover i {
    transform: translateX(5px);
}

/* About Section */
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-image {
    flex: 1;
    position: relative;
    padding: 20px; /* Add padding for badge positioning */
}

.about-image img {
    width: 100%;
    max-width: 550px; /* Increased max-width */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary); /* Stronger border */
    position: relative;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: -30px; /* Adjusted position */
    right: 0; /* Adjusted position */
    background: linear-gradient(45deg, var(--primary), var(--secondary)); /* Gradient background */
    color: white;
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 2;
    transform: rotate(-3deg); /* Slight rotation */
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    from { transform: scale(1) rotate(-3deg); box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4); }
    to { transform: scale(1.03) rotate(-3deg); box-shadow: 0 10px 35px rgba(0, 229, 255, 0.6), 0 0 20px rgba(154, 0, 255, 0.5); }
}

.exp-number {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 36px;
    font-weight: 800;
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.exp-text {
    font-size: 15px;
    font-weight: 500;
}

.about-content {
    flex: 1;
}

.about-text {
    color: var(--gray);
    margin-bottom: 25px;
    font-size: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 35px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--light);
    font-weight: 500;
}

.feature-item i {
    color: var(--secondary);
    font-size: 1.4em;
    text-shadow: 0 0 5px var(--secondary);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted min-width for team cards */
    gap: 40px;
}

.team-card {
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    position: relative;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 320px; /* Fixed height for consistent image size */
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(80%); /* Desaturated for futuristic feel */
}

.team-card:hover .team-image img {
    transform: scale(1.1);
    filter: grayscale(0%); /* Color on hover */
}

.team-social {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent); /* Fade in social icons */
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.team-card:hover .team-social {
    opacity: 1;
    transform: translateY(0);
}

.social-link {
    width: 45px; /* Larger social icons */
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.social-link:hover {
    background: var(--secondary);
    color: var(--light);
    transform: translateY(-5px) rotate(10deg);
    box-shadow: 0 0 15px var(--secondary);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-name {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--light);
}

.team-position {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 15px;
}

.team-location {
    color: var(--gray);
    font-size: 14px;
}

/* Products Section */
.products-wrapper {
    display: flex;
    flex-direction: column;
    gap: 80px; /* More space between products */
}

.product-card {
    display: flex;
    align-items: center;
    gap: 60px;
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(5px);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease; /* Add transition for hover */
}

/* Hover effect for product cards */
.product-card:hover {
    transform: translateY(-10px); /* Lift slightly on hover */
    box-shadow: 0 15px 40px rgba(0, 229, 255, 0.3), 0 5px 15px rgba(0, 229, 255, 0.15); /* Stronger, more vibrant shadow */
    border-color: var(--primary); /* Highlight border */
}


.product-card.reverse {
    flex-direction: row-reverse;
}

.product-image {
    flex: 1;
    min-height: 300px; /* REDUCED IMAGE SIZE HERE - from 400px to 300px */
    position: relative; /* For potential future animated overlays */
    overflow: hidden; /* Ensure image within stays contained */
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block; /* Remove extra space below image */
    transition: transform 0.5s ease; /* Smooth zoom on hover */
}

.product-card:hover .product-image img {
    transform: scale(1.05); /* Slight zoom on image within card hover */
}


.product-content {
    flex: 1;
    padding: 50px; /* More padding */
}

.product-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(0, 229, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Product icon glow on card hover */
.product-card:hover .product-icon {
    background-color: rgba(0, 229, 255, 0.2);
    box-shadow: 0 0 15px var(--primary), 0 0 25px rgba(0, 229, 255, 0.4);
}

.product-icon i {
    font-size: 32px;
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.product-card:hover .product-icon i {
    color: var(--light); /* Change icon color on hover */
    text-shadow: 0 0 12px var(--light), 0 0 20px var(--primary);
}


.product-title {
    font-size: 30px;
    margin-bottom: 20px;
    color: var(--light);
}

.product-description {
    color: var(--gray);
    margin-bottom: 30px;
    font-size: 16px;
}

.product-features {
    margin-bottom: 35px;
}

.product-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--light);
    font-weight: 500;
}

.product-features i {
    color: var(--secondary);
    font-size: 1.4em;
    text-shadow: 0 0 5px var(--secondary);
}

/* Tech Stack Section */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* Slightly larger min-width */
    gap: 25px; /* Wider gap */
}

.tech-item {
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(5px);
    padding: 25px;
    border-radius: var(--border-radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
    cursor: pointer;
}

.tech-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.tech-item i {
    font-size: 55px; /* Larger tech icons */
    color: var(--primary);
    text-shadow: 0 0 12px var(--primary);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.tech-item:hover i {
    color: var(--secondary);
    text-shadow: 0 0 15px var(--secondary);
}

.tech-item span {
    color: var(--light);
    font-weight: 600;
    font-size: 16px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--secondary)); /* Vibrant gradient */
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin: 80px 0; /* Add margin to make it stand out */
    background-size: 200% 200%;
    animation: gradientFlow 10s ease infinite alternate;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.cta-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
}

.cta-title {
    font-size: 42px;
    margin-bottom: 20px;
    color: white;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.cta-text {
    font-size: 19px;
    opacity: 0.9;
    max-width: 700px;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 25px;
}

.btn-light {
    color: var(--primary); /* Text color from primary */
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

.btn-outline-light {
    border-color: white;
    color: white;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.cta-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08); /* More visible background shapes */
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite alternate;
}

.cta-shape-1 {
    top: -80px;
    right: -80px;
    width: 350px;
    height: 350px;
    animation-delay: 0s;
}

.cta-shape-2 {
    bottom: -120px;
    left: -120px;
    width: 450px;
    height: 450px;
    animation-delay: 1.5s;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.08; }
    50% { transform: scale(1.05); opacity: 0.12; }
    100% { transform: scale(1); opacity: 0.08; }
}

/* Contact Section */
.contact-wrapper {
    display: flex;
    gap: 60px;
}

.contact-info {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.contact-card {
    display: flex;
    gap: 25px;
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(5px);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--light-gray);
}

.contact-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.contact-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(0, 229, 255, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

.contact-icon i {
    font-size: 30px;
    color: var(--primary);
    text-shadow: 0 0 8px var(--primary);
}

.contact-details h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--light);
}

.contact-details p {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.5;
}

.contact-details a {
    color: var(--primary);
    transition: var(--transition);
}

.contact-details a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

.contact-form-wrapper {
    flex: 1;
}

.contact-form {
    background: rgba(10, 10, 26, 0.7);
    backdrop-filter: blur(5px);
    padding: 50px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--light-gray);
}

.form-header {
    margin-bottom: 40px;
}

.form-header h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--light);
}

.form-header p {
    color: var(--gray);
    font-size: 16px;
}

.form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 25px;
}

.form-group {
    flex: 1;
    margin-bottom: 0; /* Remove default margin-bottom as form-row handles it */
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--light);
    font-size: 15px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px; /* Larger inputs */
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    transition: var(--transition);
    background-color: rgba(0, 0, 0, 0.3); /* Darker input background */
    color: var(--light);
    font-size: 16px;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(224, 247, 250, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.2);
    background-color: rgba(0, 0, 0, 0.5);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-block {
    display: block;
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--dark);
    color: white;
    padding-top: 80px;
    border-top: 1px solid var(--light-gray);
}

.footer-top {
    padding-bottom: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Adjusted min-width */
    gap: 50px; /* Larger gap */
}

.footer-about {
    grid-column: span 2; /* Span two columns for description on larger screens */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 50px;
}

.footer-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 28px;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 1px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-description {
    color: rgba(224, 247, 250, 0.7);
    margin-bottom: 30px;
    max-width: 450px;
    font-size: 16px;
}

.social-icons {
    display: flex;
    gap: 18px;
}

.social-icon {
    width: 48px; /* Larger social icons */
    height: 48px;
    border-radius: 50%;
    background: rgba(224, 247, 250, 0.1);
    color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.4em;
    border: 1px solid rgba(224, 247, 250, 0.2);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--dark);
    transform: translateY(-5px) rotate(5deg);
    box-shadow: 0 0 15px var(--primary);
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    color: var(--light);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px; /* Longer underline */
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
}

.footer-menu li {
    margin-bottom: 12px;
}

.footer-menu a {
    color: rgba(224, 247, 250, 0.7);
    transition: var(--transition);
    font-size: 16px;
}

.footer-menu a:hover {
    color: var(--primary);
    padding-left: 8px; /* More noticeable slide */
}

.newsletter-form {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    font-family: inherit;
    background-color: rgba(0, 0, 0, 0.4);
    color: var(--light);
    font-size: 16px;
    border: 1px solid var(--light-gray);
}

.newsletter-form input:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 229, 255, 0.2);
    border-color: var(--primary);
}

.newsletter-form .btn-primary {
    padding: 14px 25px;
    white-space: nowrap; /* Prevent button text from wrapping */
}

.footer-bottom {
    padding: 25px 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(224, 247, 250, 0.1);
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright {
    color: rgba(224, 247, 250, 0.6);
    font-size: 15px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: rgba(224, 247, 250, 0.6);
    font-size: 15px;
    transition: var(--transition);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px; /* Larger icon */
    height: 60px;
    background: var(--primary);
    color: var(--dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    font-size: 2em;
    border: 2px solid var(--primary);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 229, 255, 0.5);
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .container {
        padding: 0 20px;
    }
    .hero-content {
        gap: 50px;
    }
    .hero-title {
        font-size: 48px;
    }
    .hero-image-wrapper img {
        max-width: 550px;
    }
    .product-image { /* Adjusted for 1200px breakpoint */
        min-height: 280px;
    }
}

@media (max-width: 1024px) {
    .section-padding {
        padding: 80px 0;
    }
    .hero-section {
        padding: 150px 0 80px;
        min-height: auto; /* Allow height to adjust on smaller screens */
    }
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    .hero-text {
        max-width: 100%;
    }
    .hero-cta {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        flex-wrap: wrap; /* Allow stats to wrap */
    }
    .floating-card {
        position: relative; /* Make floating cards inline */
        margin: 20px auto;
        animation: none; /* Disable float animation on small screens */
        box-shadow: var(--shadow);
    }
    .card-1, .card-2 {
        top: auto;
        left: auto;
        bottom: auto;
        right: auto;
        animation-delay: 0s;
    }
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 60px;
    }
    .about-image {
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .experience-badge {
        position: relative; /* Keep badge near image on smaller screens */
        bottom: auto;
        right: auto;
        margin-top: 30px;
        transform: none;
        animation: none;
    }
    .section-header.text-left {
        text-align: center;
        margin-left: auto;
    }
    .products-wrapper .product-card {
        flex-direction: column;
        text-align: center;
    }
    .product-card.reverse {
        flex-direction: column;
    }
    .product-content {
        padding: 40px;
    }
    .product-icon {
        margin: 0 auto 25px; /* Center product icon */
    }
    .product-features {
        text-align: left; /* Keep features left-aligned for readability */
        padding-left: 20px;
    }
    .cta-wrapper {
        flex-direction: column;
        text-align: center;
    }
    .cta-buttons {
        justify-content: center;
    }
    .contact-wrapper {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Adjust for smaller screens */
    }
    .footer-about {
        grid-column: span 1; /* Reset span for small screens */
        text-align: center;
    }
    .footer-logo, .social-icons {
        justify-content: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 0;
    }
    .logo-img {
        height: 50px;
    }
    .logo-text {
        font-size: 24px;
    }
    .nav-menu {
        position: fixed;
        top: 0; /* Cover full height when open */
        right: -100%; /* Off-screen */
        width: 70%; /* Take up 70% of screen width */
        height: 100vh;
        background: rgba(10, 10, 26, 0.95); /* Darker overlay */
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        justify-content: center; /* Center items vertically */
        padding: 60px 0;
        gap: 30px;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
        transition: right 0.4s ease-in-out;
        z-index: 999;
    }

    .nav-menu.active {
        right: 0; /* Slide in */
    }
    .menu-icon {
        display: flex;
    }
    .header-cta {
        display: none; /* Hide CTA button on mobile nav */
    }

    .hero-title {
        font-size: 38px;
    }
    .hero-subtitle {
        font-size: 17px;
    }
    .hero-cta {
        flex-direction: column;
        gap: 18px;
    }
    .hero-stats {
        flex-direction: column;
        gap: 25px;
    }
    .section-title {
        font-size: 34px;
    }
    .service-card {
        padding: 35px;
    }
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .contact-form {
        padding: 40px 30px;
    }
    .form-row {
        flex-direction: column;
        gap: 0; /* Remove gap if stacking */
        margin-bottom: 0;
    }
    .form-group {
        margin-bottom: 20px; /* Add margin back for stacked inputs */
    }
    .product-image { /* Adjusted for 768px breakpoint */
        min-height: 250px;
    }
    .cta-title {
        font-size: 34px;
    }
    .cta-text {
        font-size: 17px;
    }
    .back-to-top {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        bottom: 20px;
        right: 20px;
    }
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-about, .footer-links, .footer-services, .footer-newsletter {
        text-align: center;
    }
    .footer-logo, .social-icons {
        justify-content: center;
    }
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }
    .stat-number {
        font-size: 36px;
    }
    .section-title {
        font-size: 28px;
    }
    .service-title {
        font-size: 20px;
    }
    .product-title {
        font-size: 26px;
    }
    .tech-item i {
        font-size: 45px;
    }
    .product-image { /* Adjusted for 480px breakpoint */
        min-height: 200px;
    }
    .cta-title {
        font-size: 28px;
    }
    .cta-text {
        font-size: 17px;
    }
}