/* NetCare360 - Production Ready CSS */
/* ---------------------------------- */

/* --- VARIABLES & BASE --- */
:root {
    --bg: #0D1117;
    --bg-secondary: #161B22;
    --border-color: #30363D;
    --text: #C9D1D9;
    --text-muted: #8B949E;
    --accent: #58A6FF;
    --accent-hover: #79B8FF;
    --success: #3FB950;
    --danger: #F85149;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35); /* Updated Shadow */
    --border-radius: 12px;
    --header-height: 70px;

    /* Category Accents */
    --accent-security: #ef4444;
    --accent-it: #3b82f6;
    --accent-cloud: #10b981;
    --accent-hardware: #6b7280;
    --accent-cctv: #f59e0b;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.7;
    background-image: linear-gradient(180deg, var(--bg) 0%, #0a0c10 100%),
        radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
    background-size: 100% 100%, 2rem 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 1.3;
    font-weight: 700;
    color: var(--text);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

h1 {
    font-size: 3rem;
    line-height: 1.15;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}

h3 {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
}

p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.7;
}

li {
    line-height: 1.7;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
    /* Increased padding */
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
}

/* --- UTILITIES --- */
.grid {
    display: grid;
    gap: 2.5rem;
    /* Increased gap */
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.grid-5 {
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.grid-responsive-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    /* Increased gap */
}

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

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

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    height: var(--header-height);
}

.header .container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

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

/* --- HERO --- */
.hero {
    padding-top: 6rem;
    padding-bottom: 6rem;
    text-align: center;
}

.hero h1 {
    font-size: 3.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-copy p {
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.hero .btn {
    margin: 0 0.5rem;
}

.vendor-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1.5rem;
}

.vendor-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.9rem;
    font-weight: 500;
}

/* --- PARTNER LOGOS --- */
.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 2rem;
    align-items: center;
    justify-items: center;
}

.partner-grid img {
    max-height: 48px;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.partner-grid img:hover {
    opacity: 1;
}

/* --- CARDS --- */
.card {
    background: linear-gradient(145deg, var(--bg-secondary), #11151c);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
    line-height: 1.7;
    font-size: 0.98rem;
}

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

.card.highlight {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(88, 166, 255, 0.2);
}

.card h3 {
    margin-bottom: 1rem;
}

.card ul {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.card ul li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* --- SERVICES SECTION --- */
.service-icon,
.industry-icon,
.plan-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.service-icon svg,
.industry-icon svg,
.plan-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--accent);
}

.service-card.cyber .service-icon svg {
    stroke: var(--accent-security);
}

.service-card.it .service-icon svg {
    stroke: var(--accent-it);
}

.service-card.cloud .service-icon svg {
    stroke: var(--accent-cloud);
}

.service-card.hardware .service-icon svg {
    stroke: var(--accent-hardware);
}

.service-card.cctv .service-icon svg {
    stroke: var(--accent-cctv);
}

.card.cyber {
    border-top: 3px solid var(--accent-security);
}

.card.it {
    border-top: 3px solid var(--accent-it);
}

.card.cloud {
    border-top: 3px solid var(--accent-cloud);
}

.card.hardware {
    border-top: 3px solid var(--accent-hardware);
}

.card.cctv {
    border-top: 3px solid var(--accent-cctv);
}

/* --- INDUSTRIES SECTION --- */
.industry-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: transform 0.2s ease;
}

.industry-card:hover {
    transform: translateY(-4px);
}

/* --- WHY US SECTION --- */
.checklist li {
    list-style: none;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.checklist li::before {
    content: "✔";
    color: var(--accent);
    margin-right: 0.5rem;
    position: absolute;
    left: 0;
}

.value-box {
    background: rgba(79, 70, 229, 0.15);
    border: 1px solid rgba(79, 70, 229, 0.4);
    padding: 1.2rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    font-weight: 600;
    text-align: center;
}

/* --- PROCESS SECTION --- */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.step-number {
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.1rem;
    background-color: var(--accent);
    color: var(--bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* --- PLANS SECTION --- */
.plan-price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--accent);
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.75rem;
}

/* --- CONTACT SECTION --- */
.contact-card {
    background: rgba(15, 23, 42, 0.9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 800px;
    margin: 2rem auto 0;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--muted);
    margin-top: 1rem;
    text-align: center;
}

/* --- FOOTER --- */
.footer {
    background-color: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info .logo {
    margin-bottom: 0.5rem;
    display: inline-block;
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.footer-links a {
    margin: 0 0.75rem;
    color: var(--text-muted);
}

.footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-partners img {
    height: 24px;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.footer-partners img:hover {
    opacity: 1;
}

.footer-copy {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* --- BUTTONS --- */
.btn {
    display: inline-block;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(88, 166, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--bg);
    transform: translateY(-2px);
}

/* --- FORMS --- */
.contact-form {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text);
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}


/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .grid-2, .grid-3, .grid-4, .grid-5 {
        grid-template-columns: 1fr;
    }

    .process-grid {
        grid-template-columns: 1fr;
    }
}

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

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card {
        padding: 1.5rem;
    }

    .header .nav-links {
        display: none; /* Simple responsive fix */
    }

    .grid-5 {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 721px) and (max-width: 1200px) {
    .grid-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 900px) {
    .process-grid {
        position: relative;
    }

    .process-grid::before {
        content: "";
        position: absolute;
        top: 1.1rem; /* Vertically center on the number */
        left: 5%;
        right: 5%;
        height: 2px;
        background: rgba(255, 255, 255, 0.08);
        z-index: -1;
    }
}
