/* KISoft Enterprises - Enterprise Software Excellence Screen with Image Background */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1a1a1a;
    --accent: #0066ff;
    --light: #f5f5f5;
    --white: #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--primary);
    background: var(--white);
}

.container { max-width: 1280px; margin: 0 auto; padding: 0 40px; }

/* Header - STICKY */
header {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.logo img { 
    height: 140px; 
    width: auto; 
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.nav-links { display: flex; list-style: none; gap: 2rem; align-items: center; }
.nav-links a { 
    text-decoration: none; 
    color: white; 
    font-weight: 600; 
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--accent); }
.cta-nav { 
    background: var(--accent); 
    color: white; 
    padding: 0.75rem 1.5rem; 
    border-radius: 4px; 
    font-weight: 600; 
    cursor: pointer; 
    border: none; 
}

/* Hero - FULL BACKGROUND IMAGE, NO GRAY */
.hero {
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    position: relative;
    padding: 200px 40px 100px;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 140px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 110, 90.15);
    z-index: 1;
}

.hero .container { position: relative; z-index: 2; }

.hero h1 { 
    font-size: 4.5rem; 
    font-weight: 900; 
    line-height: 1.1; 
    margin-bottom: 1.5rem; 
    max-width: 900px; 
    text-shadow: 3px 3px 6px rgba(0,0,0,0.6);
}

.hero p { 
    font-size: 1.4rem; 
    margin-bottom: 2rem; 
    max-width: 600px; 
    opacity: 0.98; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-stats { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 2rem; 
    margin-top: 3rem; 
}

.stat { 
    background: rgba(255,255,255,0.12); 
    padding: 2rem; 
    border-radius: 8px; 
    backdrop-filter: blur(10px); 
    border: 1px solid rgba(255,255,255,0.25);
}

.stat-number { 
    font-size: 2.8rem; 
    font-weight: 900; 
    margin-bottom: 0.5rem; 
    display: block; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.stat-label { 
    font-size: 1rem; 
    opacity: 0.95;
}

.cta-button {
    background: var(--accent);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s;
    border: 2px solid var(--accent);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.cta-button:hover { background: transparent; color: white; }

/* Sections */
section { padding: 100px 0; }
.section-light { background: var(--light); }
.section-dark { background: var(--primary); color: white; }

h2 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; }
.subtitle { font-size: 1.3rem; color: #666; margin-bottom: 3rem; max-width: 700px; line-height: 1.6; }

/* Clients Grid */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.client-card {
    background: white;
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent);
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.client-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,102,255,0.15);
}

.client-name { font-size: 1.3rem; font-weight: 700; color: var(--accent); margin-bottom: 0.5rem; }
.client-description { font-size: 0.95rem; color: #666; line-height: 1.7; }

/* AI Section */
.ai-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 100px 0;
}

.ai-section h2 { color: white; }
.ai-section .subtitle { color: rgba(255,255,255,0.7); }

.ai-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.ai-card {
    background: rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
}

.ai-card:hover { background: rgba(255,255,255,0.1); transform: translateY(-5px); }
.ai-card h3 { font-size: 1.3rem; margin-bottom: 1rem; }
.badge { display: inline-block; background: var(--accent); color: white; padding: 0.5rem 1rem; border-radius: 20px; font-size: 0.8rem; font-weight: 700; margin-right: 0.5rem; margin-bottom: 0.5rem; }

/* Contact Form */
.contact-section { 
    background-image: url('img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: white;
    padding: 100px 0;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.contact-section .container {
    position: relative;
    z-index: 2;
}

.contact-section h2 { color: white; }
.contact-section .subtitle { color: rgba(255,255,255,0.9); }

.contact-form {
    max-width: 600px;
    margin: 3rem auto 0;
    background: rgba(26, 26, 26, 0.95);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
}

.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.5rem; color: white; }
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255,255,255,0.05);
    color: white;
    transition: border-color 0.3s;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255,255,255,0.08);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.submit-btn {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
}

.submit-btn:hover { background: #0052cc; }

/* Footer */
footer {
    background: var(--primary);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; margin-bottom: 3rem; }
.footer-section h3 { margin-bottom: 1rem; font-weight: 700; }
.footer-section a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s; }
.footer-section a:hover { color: white; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.5rem; }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); color: rgba(255,255,255,0.7); font-size: 0.9rem; }

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero { padding: 100px 20px 60px; min-height: auto; margin-top: 120px; }
    .hero h1 { font-size: 2.2rem; }
    .logo img { height: 80px; }
    h2 { font-size: 2rem; }
}
