/* Base Styles */
:root {
    --primary-blue: #0b3d91; /* dark corporate blue */
    --secondary-blue: #1a5ab3;
    --accent: #f8f9fa;
    --dark: #121518;
    --light-gray: #f4f6f9;
    --text-color: #555555;
    --heading-color: #222222;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 15px;
}

.bg-light {
    background-color: var(--light-gray);
}

.text-center {
    text-align: center;
}

.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

/* Typography */
h1, h2, h3, h4, h5 {
    color: var(--heading-color);
    font-weight: 600;
}

.subheading {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.lead {
    font-size: 18px;
    color: var(--heading-color);
    font-weight: 500;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

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

/* Top Bar */
.top-bar {
    background: var(--white);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
}

.logo span {
    font-weight: 400;
    font-size: 16px;
    color: var(--text-color);
}

.top-contact {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-color);
}

.top-contact i {
    color: var(--primary-blue);
    margin-right: 5px;
}

/* Navigation */
.navbar {
    background: var(--dark);
    position: sticky;
    top: 0;
    z-index: 999;
    transition: all 0.3s;
    padding: 10px 0;
}

.navbar.sticky {
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.mobile-logo {
    display: none;
    margin-right: 20px;
}

.mobile-logo img {
    height: 40px;
    width: auto;
    border-radius: 30%;
    display: block;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: rgba(255,255,255,0.7);
    font-weight: 500;
    font-size: 15px;
    padding: 8px 0;
}

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

.mobile-menu-btn {
    display: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

/* Hero Wrap */
.hero-wrap {
    width: 100%;
    height: 600px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-wrap .overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-content h1 {
    color: var(--white);
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content h2 {
    color: #e2e8f0;
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 20px;
}

.hero-content p {
    color: rgba(255,255,255,0.8);
    font-size: 18px;
    margin-bottom: 30px;
}

/* Features */
.features-section {
    padding: 0 0 60px 0;
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-card {
    background: var(--white);
    padding: 40px 30px;
    border-right: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11,61,145,0.2);
}

.feature-card .icon {
    font-size: 40px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    transition: all 0.3s;
}

.feature-card:hover .icon, .feature-card:hover h3, .feature-card:hover p {
    color: var(--white);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.feature-card p {
    margin-bottom: 0;
    transition: all 0.3s;
}

/* About */
.about-section {
    padding: 100px 0;
}

.col-text {
    max-width: 800px;
}

.col-text p {
    margin-bottom: 20px;
}

/* Vision */
.vision-section {
    background: var(--primary-blue);
    padding: 80px 0;
}

.vision-icon-large {
    font-size: 60px;
    color: rgba(255,255,255,0.3);
    margin-bottom: 20px;
}

.text-white { color: var(--white); }
.text-white-50 { color: rgba(255,255,255,0.7); }

/* Products */
.products-section {
    padding: 100px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.prod-card {
    background: var(--white);
    border: 1px solid #eee;
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s;
}

.prod-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-color: transparent;
}

.prod-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    color: var(--primary-blue);
    font-size: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.prod-card:hover .prod-icon {
    background: var(--primary-blue);
    color: var(--white);
}

.prod-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

/* Stats */
.stats-section {
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.stat-text {
    font-size: 18px;
    font-weight: 500;
    color: var(--heading-color);
}

/* Partner/Client Slideshow */
.partners-section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #f3f7ff 100%);
}

.partners-heading {
    max-width: 720px;
    margin: 0 auto 40px;
}

.partners-heading p {
    color: var(--text-color);
    font-size: 17px;
    margin-top: 12px;
}

.partners-marquee {
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}

.partners-marquee::before,
.partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.partners-marquee::before {
    left: 0;
    background: linear-gradient(to right, rgba(248, 251, 255, 1), rgba(248, 251, 255, 0));
}

.partners-marquee::after {
    right: 0;
    background: linear-gradient(to left, rgba(248, 251, 255, 1), rgba(248, 251, 255, 0));
}

.partners-track {
    display: flex;
    width: max-content;
    gap: 24px;
    will-change: transform;
    animation: partners-scroll var(--partners-duration, 28s) linear infinite;
}

.partner-card {
    flex: 0 0 220px;
    background: var(--white);
    border: 1px solid rgba(11, 61, 145, 0.08);
    border-radius: 15px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(11, 61, 145, 0.08);
}

.partner-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

@keyframes partners-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 12px));
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 70px 0;
    }

    .partner-card {
        flex-basis: 180px;
        padding: 12px;
    }

    .partner-card img {
        height: 100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .partners-track {
        animation: none;
        transform: none;
    }
}

/* Contact */
.contact-section {
    background: var(--dark);
    padding: 100px 0;
}

.contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
}

.info-item {
    display: flex;
    margin-bottom: 30px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.05);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    margin-right: 20px;
}

.info-text h4 {
    color: var(--white);
    margin-bottom: 5px;
    font-size: 18px;
}

.info-text p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 0;
}

.contact-form {
    flex: 1;
    min-width: 300px;
    background: var(--white);
    padding: 40px;
    border-radius: 4px;
}

.contact-form h3 {
    margin-bottom: 25px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 15px;
    color: var(--text-color);
    background: var(--light-gray);
    outline: none;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: var(--primary-blue);
    background: var(--white);
}

.submit-btn {
    width: 100%;
    border: none;
}

/* Footer */
.footer {
    background: #0a0a0a;
    padding: 60px 0 20px;
    color: rgba(255,255,255,0.5);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 40px;
}

.footer-logo h2 {
    color: var(--white);
    margin-bottom: 15px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 20px;
}

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

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

.footer-links ul li a:hover {
    color: var(--primary-blue);
    padding-left: 5px;
}

.footer-links ul li i {
    font-size: 12px;
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar { display: none; }
    
    .nav-container {
        justify-content: space-between;
    }

    .mobile-logo {
        display: block;
    }

    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--dark);
        position: absolute;
        top: 64px;
        left: 0;
        padding: 20px;
        gap: 15px;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
        margin-left: auto;
    }

    .hero-content h1 { font-size: 36px; }
    .hero-content h2 { font-size: 18px; }
    
    .features-section {
        margin-top: 40px;
    }
}
