@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #0d1b2a; /* Very dark navy */
    --secondary-color: #e0e1dd; /* Off-white/light grey */
    --accent-color: #415a77; /* Muted blue/grey */
    --text-color: #1b263b; /* Dark text */
    --light-text-color: #ffffff;
    --background-color: #ffffff;
    --font-family: 'Inter', sans-serif;
    --container-width: 1140px;
    --border-radius: 4px;
}

/* --- Reset & Base Styles --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--primary-color);
    font-weight: 600;
    line-height: 1.3;
}

p {
    margin-bottom: 1.5rem;
    max-width: 75ch; /* Improve readability */
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* --- Header --- */
.main-header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    z-index: 1001;
}

.logo img {
    height: 80px;
    width: auto;
    vertical-align: middle;
}

.main-nav {
    display: flex;
}

.nav-links {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.main-nav a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.5rem;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1001;
    color: var(--primary-color);
}

/* --- Hero Section --- */
.hero {
    background-color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: var(--light-text-color);
    padding: 8rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(13, 27, 42, 0.7); /* Dark overlay */
}

.hero .container {
    position: relative;
    z-index: 2;
}


.hero h1 {
    font-size: 3.5rem;
    color: var(--light-text-color);
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    max-width: 60ch;
    margin: 0 auto 2rem;
    color: var(--secondary-color);
    font-weight: 300;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text-color);
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background-color: #5a7a9a;
    color: var(--light-text-color);
    transform: translateY(-3px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.btn-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* --- General Section Styling --- */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: #6c757d;
    max-width: 65ch;
    margin: 0 auto 4rem;
}

.bg-light {
    background-color: #f8f9fa;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

/* --- Grid Layouts --- */
.grid {
    display: grid;
    gap: 2.5rem;
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* --- Visual Core Services Section --- */
.core-services-visualizer {
    position: relative;
    height: 500px;
    margin-top: 4rem;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.service-node {
    position: absolute;
    width: 180px;
    height: 180px;
    background-color: var(--primary-color);
    color: var(--light-text-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: float 6s ease-in-out infinite;
}

.service-node h4 {
    color: var(--light-text-color);
    font-size: 1.1rem;
}

.service-node-1 { top: 10%; left: 20%; animation-delay: 0s; }
.service-node-2 { top: 10%; right: 20%; animation-delay: 1.5s; }
.service-node-3 { top: 60%; left: 30%; animation-delay: 3s; }
.service-node-4 { top: 60%; right: 30%; animation-delay: 4.5s; }


/* --- Feature/Service Item --- */
.feature-item {
    background-color: var(--background-color);
    padding: 2.5rem;
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
}

.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* --- Client Logos --- */
.client-logos {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    filter: grayscale(100%);
    opacity: 0.7;
}

/* --- Status Page --- */
.status-list .status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #f0f0f0;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.status-indicator {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.status-indicator.operational {
    background-color: #d4edda;
    color: #155724;
}

.status-indicator.maintenance {
    background-color: #fff3cd;
    color: #856404;
}

.status-indicator.down {
    background-color: #f8d7da;
    color: #721c24;
}

/* --- Footer --- */
.main-footer {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 4rem 0;
}

.main-footer .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-about, .footer-links {
    flex: 1;
    min-width: 250px;
}

.footer-about h4, .footer-links h4 {
    color: var(--light-text-color);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links a {
    color: var(--secondary-color);
    display: block;
    margin-bottom: 0.8rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--accent-color);
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .mobile-nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(13, 27, 42, 0.98); /* Dark overlay */
        backdrop-filter: blur(10px);
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-nav .nav-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .main-nav .nav-links a {
        color: var(--light-text-color);
        font-size: 2rem;
        font-weight: 600;
    }

    .main-nav.active {
        transform: translateX(0);
    }
}


@media (max-width: 768px) {
    .grid-cols-2, .grid-cols-3, .grid-cols-4 {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .core-services-visualizer {
        display: none; /* Hide complex visual on small screens for clarity */
    }

    .status-list .status-item {
        flex-direction: column;
        gap: 1rem;
    }
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}