/* ===============================
   Base Reset & Variables
================================ */
:root {
    --primary: #0d6efd;        /* Bright Blue */
    --primary-dark: #0a4fbf;   /* Bright deep blue for logo contrast */
    --secondary: #2bb8ff;      /* Light blue 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
================================ */
.site-header {
    width: 100%;
    background: var(--primary-dark);
    padding: 10px 24px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    overflow: visible; /* IMPORTANT */
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center; /* vertically centers logo */
    justify-content: space-between;
}

.site-logo {
    height: auto;          /* adjust if needed */
    width: 300px;
    max-width: 100%;
    object-fit: contain;   /* IMPORTANT */
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.35));
    transition: transform 0.2s ease;
}

.logo:hover .site-logo {
    transform: scale(1.03);
}

.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 {
    display: flex;
    align-items: center;
    font-size: 30px;
    font-weight: 700;
    color: var(--white);
}

/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    flex-direction: row;   /* 🔑 FORCE horizontal */
    gap: 20px;             /* spacing between links */
}

.menu-toggle {
    display: none;
    border: 1px solid #ffffff;
    background: transparent;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.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/office-team.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) {

    .header-inner {
        flex-wrap: wrap;
    }

    .site-logo {
        width: 230px;
    }

    .menu-toggle {
        display: inline-block;
        margin-left: auto;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 12px;
    }

    .nav-menu.is-open {
        display: flex;
    }

    .nav-menu a {
        margin: 0;
        padding: 10px 0;
        width: 100%;
    }

    .dropdown {
        width: 100%;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        border-radius: 0;
        width: 100%;
    }

    .dropdown:hover .dropdown-content,
    .dropdown:focus-within .dropdown-content {
        display: block;
    }

    .hero {
        padding: 80px 20px;
    }

    .hero h1 {
        font-size: 30px;
    }

    .grid {
        grid-template-columns: 1fr;
    }
}
