/* ===============================
   Base Reset & Variables
================================ */
:root {
    --primary: #0d6efd;        /* Bright Blue */
    --primary-dark: #084298;   /* Dark Blue */
    --secondary: #20c997;      /* Teal accent */
    --bg-light: #f8f9fa;
    --text-dark: #212529;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

/* ===============================
   Layout Helpers
================================ */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 0 20px;
}

/* ===============================
   Header & Navigation
================================ */
.header {
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.nav-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    position: relative;
}

.nav-menu a:hover {
    color: var(--secondary);
}

/* ===============================
   Dropdown Menu (Services)
================================ */
/* .dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    z-index: 1000;
}

.dropdown-content a {
    color: var(--text-dark);
    padding: 12px 16px;
    display: block;
    text-decoration: none;
    font-weight: 500;
}

.dropdown-content a:hover {
    background: var(--primary);
    color: var(--white);
}

.dropdown:hover .dropdown-content {
    display: block;
} */
 
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover 
{ background-color: #f1f1f1; }
.dropdown:hover .dropdown-content 
{ display: block; }

/* ===============================
   Hero Section
================================ */
.hero {
    background:
        linear-gradient(rgba(13,110,253,0.75), rgba(13,110,253,0.75)),
        url("../images/cs-logo.png") center / cover no-repeat;
    color: var(--white);
    text-align: center;
    padding: 110px 20px;
}

.hero h1 {
    font-size: 44px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    opacity: 0.95;
}

/* ===============================
   Sections
================================ */
.section {
    padding: 70px 0;
}

.section h1,
.section h2 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.section p {
    max-width: 850px;
}

/* ===============================
   Cards / Services Preview
================================ */
.services-preview {
    background: var(--white);
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ===============================
   Lists (Services Page)
================================ */
.service-list {
    list-style: none;
    margin-top: 20px;
}

.service-list li {
    padding: 12px 0;
    border-bottom: 1px solid #dee2e6;
    font-weight: 500;
}

/* ===============================
   Footer
================================ */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    text-align: center;
    padding: 18px 0;
    margin-top: 40px;
    font-size: 14px;
}

/* ===============================
   Mobile Responsive
================================ */
@media (max-width: 768px) {

    .nav-bar {
        flex-direction: column;
    }

    .nav-menu {
        flex-direction: column;
        margin-top: 12px;
    }

    .nav-menu a {
        margin: 10px 0;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
