:root {
    /* Color Palette - Deep Blue, Vibrant Accents, Techy */
    --primary-color: #0b1a33;
    /* Deep Blue Background */
    --secondary-color: #1a2c4e;
    /* Slightly lighter blue for cards/sections */
    --accent-color: #00d4ff;
    /* Vibrant Cyan/Electric Blue */
    --text-color: #e0e6ed;
    /* Off-white for readability on dark */
    --text-muted: #94a3b8;
    --white: #ffffff;
    --black: #000000;
    --success: #10b981;

    /* Typography */
    --font-heading: 'inter', sans-serif;
    /* Modern, clean */
    --font-body: 'inter', sans-serif;

    /* Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--white);
    margin-bottom: var(--spacing-md);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--accent-color);
    color: var(--primary-color);
    font-weight: 600;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 0.95rem;
    /* Slightly larger to compensate for lack of uppercase */
}

.btn:hover {
    background-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.section-padding {
    padding: var(--spacing-xl) 0;
}

/* Header & Nav */
header {
    background-color: rgba(11, 26, 51, 0.85);
    /* Glassmorphism background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 120px;
    /* Increased from 80px for larger logo */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 90px;
    /* Much larger */
    width: auto;
    /* mix-blend-mode removed since background matches */
}

/* Removed text logo styles */

.logo .highlight {
    color: var(--accent-color);
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color);
    position: relative;
    padding: 5px 0;
}

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

/* Animated underline for links */
.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition-normal);
}

.nav-links a:not(.btn-nav):hover::after {
    width: 100%;
}

.btn-nav {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    border-radius: 4px;
    transition: var(--transition-normal);
}

.btn-nav:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--white);
    transition: var(--transition-normal);
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

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

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 80px;
        gap: 0;
        flex-direction: column;
        background-color: var(--primary-color);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .nav-links li {
        width: 100%;
        margin: 1.5rem 0;
    }
}

/* Hero Section */
.hero {
    min-height: 60vh;
    /* Reduced from 100vh to remove excessive blank space */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 180px;
    /* Increased slightly to offset header elegantly */
    padding-bottom: 100px;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.1;
}

.text-gradient {
    background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
}

/* Button Variants */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #00a8cc);
    color: var(--primary-color);
}

.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 10px 22px;
    /* Adjust for border */
}

.btn-outline:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: rgba(0, 212, 255, 0.05);
}

/* Hero Background Glow */
.hero-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, rgba(11, 26, 51, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    filter: blur(50px);
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        flex-direction: column;
    }


    .hero {
        height: auto;
        padding-bottom: var(--spacing-xl);
        min-height: 50vh;
        /* Reduced to avoid huge blank space on mobile */
    }
}

/* Services Section */
.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-sm);
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

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

.service-card {
    background-color: var(--secondary-color);
    padding: var(--spacing-lg);
    border-radius: 12px;
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.service-card .icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-md);
    display: inline-block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

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

/* About / Why Choose Us */
.bg-darker {
    background-color: #081326;
    /* Darker shade of primary */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.features-list {
    margin-top: var(--spacing-lg);
}

.features-list li {
    display: flex;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.check {
    color: var(--accent-color);
    font-size: 1.2rem;
    background: rgba(0, 212, 255, 0.1);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.features-list strong {
    color: var(--white);
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

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

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-lg);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 5px;
}

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

/* Customer Logos Section (Light Background for JPEGs) */
.customer-logos-section {
    margin-top: var(--spacing-lg);
    text-align: center;
    background: #bfc2c3;
    /* Light gray/white background so JPEGs blend perfectly */
    padding: var(--spacing-md) var(--spacing-lg);
    /* Reduced vertical padding */
    border-radius: 12px;
}

.customer-logos-heading {
    font-size: 1.1rem;
    color: #475569;
    /* Dark text for contrast */
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    /* Tightened up distance between text and logos */
}

.customer-logos-grid {
    display: flex;
    flex-wrap: wrap;
    /* Allows wrapping on smaller screens, but tries to keep on one line */
    justify-content: center;
    gap: 1rem;
    /* Smaller gap to squeeze larger images into one line */
    align-items: center;
}

.customer-logo-item {
    padding: 0;
    background: transparent;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition-normal);
}

.customer-logo-item img {
    max-width: 155px;
    /* Further increased */
    max-height: 65px;
    object-fit: contain;
    /* Gentle normalize: grayscale with lowered opacity */
    filter: grayscale(100%) opacity(0.6) mix-blend-mode(multiply);
    mix-blend-mode: multiply;
    /* Kills white backgrounds */
    transition: var(--transition-normal);
}

.customer-logo-item img.logo-larger {
    max-width: 195px;
    /* Further increased */
    max-height: 80px;
}

/* Utilities to hide native image lines */
.crop-right {
    clip-path: inset(0 8% 0 0);
}

.crop-left {
    clip-path: inset(0 0 0 8%);
}

.customer-logo-item:hover img {
    /* Full color on hover */
    filter: grayscale(0%) opacity(1) mix-blend-mode(normal);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-container {
    max-width: 800px;
}

.contact-form {
    background: var(--secondary-color);
    padding: var(--spacing-xl);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    background: rgba(11, 26, 51, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

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

/* Custom Contact Buttons */
.btn-cal {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    /* Vivid blue, professional */
    color: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
    padding: 15px 30px;
    border-radius: 8px;
}

.btn-cal:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-3px);
    color: var(--white);
}

.btn-submit {
    background: rgba(0, 212, 255, 0.05);
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.05rem;
    padding: 15px 30px;
    border-radius: 8px;
    width: 100%;
}

.btn-submit:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

/* Footer */
footer {
    background-color: #060e1c;
    padding-top: var(--spacing-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.footer-logo p {
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

@media (max-width: 768px) {

    .about-content,
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .contact-form {
        padding: var(--spacing-lg);
    }
}