@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700&display=swap');

:root {
    --primary-blue: #00a8cc; /* Matched to logo cyan-teal */
    --secondary-blue: #0056b3;
    --dark-blue: #1e1e1e; /* Matched to logo background */
    --light-blue: #e7f1ff;
    --text-color: #333;
    --text-light: #666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --accent-color: #00d4ff; /* Logo cyan */
    --transition: all 0.3s ease;
    --max-width: 1200px;
    --header-height: 80px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

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

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

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

.section {
    padding: 100px 0;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

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

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

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

/* Header & Nav */
header {
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-main {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 2px;
    text-transform: uppercase;
}

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

.logo-sub {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 3px;
    margin-top: -2px;
    text-transform: uppercase;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

/* Cleaned up duplicate logo styles */

.nav-links {
    display: flex;
    gap: 40px; /* Increased menu item gap */
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--dark-blue);
    color: white;
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

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

.footer-col ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

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

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.product-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

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

.product-info {
    padding: 30px;
}

.product-info h3 {
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.product-features {
    margin-bottom: 20px;
}

.product-features li {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

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

/* Clients Section */
.clients-container {
    background: var(--bg-light);
    padding: 80px 0;
    overflow: hidden;
}

.clients-slider {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    position: relative;
}

.clients-track {
    display: flex;
    width: calc(250px * 14); /* Adjusted for 7 original + 7 duplicated items */
    animation: scroll 45s linear infinite;
}

.client-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 180px;
    margin: 0 10px;
    flex-shrink: 0;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-250px * 7)); } /* Reset after first 7 items */
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    cursor: pointer;
}

.client-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.client-logo {
    width: 85px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 15px;
    opacity: 1;
    transition: var(--transition);
}

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

.client-info h5 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: var(--dark-blue);
}

.client-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff; /* Solid White for readability */
        padding: 50px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        text-align: center;
        gap: 30px;
        z-index: 1001;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    .nav-links.active {
        display: flex;
        opacity: 1;
        visibility: visible;
    }
    .nav-links a {
        font-size: 1.2rem;
        padding: 15px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    .nav-links a:last-child {
        border-bottom: none;
    }
    .mobile-menu-btn {
        display: block;
        color: var(--primary-blue);
        font-size: 2rem;
        cursor: pointer;
        z-index: 1100;
    }
    header {
        background: white !important; /* Force solid background on mobile */
    }
    .section {
        padding: 60px 0;
    }
    .hero-section h1 {
        font-size: 2.5rem !important;
    }
}
