/* INFOGENA SYSTEMS MASTER STYLESHEET
    Theme: Enterprise Security (Sophos-Inspired)
    Colors: Deep Navy (#003366), Electric Blue (#00a3e0)
*/

:root {
    --primary: #003366;
    --accent: #00a3e0;
    --dark: #0a0a0a;
    --text-main: #333333;
    --text-muted: #666666;
    --bg-light: #f4f7fa;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-main);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: 0 auto;
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary);
    font-weight: 800;
}

.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--primary); color: var(--white); }

/* --- NAVIGATION --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: 0.3s;
}

nav.scrolled {
    padding: 12px 8%;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary);
}

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

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

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

.btn-cta {
    background: var(--accent);
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(rgba(0,51,102,0.85), rgba(0,51,102,0.85)), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&q=80&w=2072');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    color: var(--white);
}

.hero-content {
    width: 60%;
}

.badge {
    background: rgba(0, 163, 224, 0.2);
    color: var(--accent);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid var(--accent);
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

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

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.9;
}

.btn-primary {
    background: var(--accent);
    color: white;
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 14px 35px;
    text-decoration: none;
    border-radius: 5px;
    margin-left: 15px;
    display: inline-block;
}

/* --- INFINITE MARQUEE (PARTNERS) --- */
.partners-bar {
    padding: 60px 0;
    background: var(--white);
    overflow: hidden;
    border-bottom: 1px solid #edf2f7;
}

.partners-title {
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 600;
}

.marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    gap: 80px;
    animation: scroll 40s linear infinite;
}

.partner-item {
    flex-shrink: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #cbd5e0;
    transition: 0.3s;
}

.partner-item:hover {
    color: var(--accent);
    transform: scale(1.1);
}

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

/* --- SERVICES DEEP DIVE --- */
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
}

.service-block {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eef2f6;
    transition: 0.3s;
}

.service-block:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

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

.sub-service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
}

.sub-card {
    background: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    border-left: 3px solid var(--accent);
}

/* --- INDUSTRY CASE STUDIES --- */
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.case-card {
    background: #fdfdfd;
    padding: 35px;
    border: 1px solid #e2e8f0;
    border-left: 5px solid var(--primary);
    border-radius: 0 10px 10px 0;
    transition: 0.4s;
}

.case-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border-left-color: var(--accent);
}

.case-tag {
    display: inline-block;
    background: rgba(0, 163, 224, 0.1);
    color: var(--accent);
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    margin-bottom: 15px;
}

.impact {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #cbd5e0;
}

.impact span {
    font-weight: 800;
    font-size: 0.8rem;
    color: var(--primary);
}

/* --- CONTACT FORM --- */
.contact-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.form-card {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}

.form-card input, .form-card select, .form-card textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover {
    background: var(--accent);
}

/* --- FOOTER --- */
footer {
    background: #001a33;
    color: #888;
    text-align: center;
    padding: 50px 0;
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 900px) {
    .hero-content { width: 100%; text-align: center; }
    .hero { padding-top: 80px; }
    .btn-outline { margin-left: 0; margin-top: 15px; }
    .services-container, .contact-flex { grid-template-columns: 1fr; }
    .nav-links { display: none; } /* Add a hamburger menu later if needed */
}
