:root {
    --primary-blue: #1E5BA8;
    --accent-red: #C41E3A;
    --text-dark: #2c3e50;
    --text-light: #555;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
}

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

/* ===== HEADER & LOGO (now TRULY takes up the whole top bar) ===== */
header {
    background-color: var(--bg-white);
    border-bottom: 2px solid var(--primary-blue);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    min-height: 200px;           /* ← Made much taller */
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-img {
    height: 180px;               /* ← Significantly larger */
    width: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1)); /* subtle polish */
}

/* Hide any leftover nav in header */
.navbar .nav-links {
    display: none;
}

/* ===== SIDEBAR NAVIGATION (new) ===== */
.sidebar {
    width: 260px;
    background-color: var(--bg-white);
    border-right: 3px solid var(--primary-blue);
    padding: 2.5rem 1.5rem;
    position: sticky;
    top: 200px; /* just below the header */
    height: calc(100vh - 140px);
    overflow-y: auto;
    box-shadow: 3px 0 12px rgba(0, 0, 0, 0.1);
    z-index: 90;
    border-radius: 0 12px 12px 0;
}

.sidebar .nav-links {
    display: flex;
    flex-direction: column;
    list-style: none;
    gap: 0.75rem;
}

.sidebar .nav-links a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: block;
    border-left: 4px solid transparent;
}

.sidebar .nav-links a:hover {
    background-color: var(--primary-blue);
    color: var(--bg-white);
    border-left-color: var(--accent-red);
    transform: translateX(6px);
}

/* ===== MAIN CONTENT WRAPPER (new — puts sidebar + content side-by-side) ===== */
.content-wrapper {
    display: flex;
    max-width: 1480px; /* slightly wider to accommodate sidebar + original container */
    margin: 0 auto;
    padding: 0 20px;
    gap: 2rem;
}

.main-content {
    flex: 1;
    min-width: 0;
}

/* ===== HERO SECTION (unchanged) ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 91, 168, 0.05) 0%, rgba(196, 30, 58, 0.05) 100%);
}

.hero-content h1 {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

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

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(30, 91, 168, 0.15);
}

/* ===== SERVICES SECTION (unchanged) ===== */
.services {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.services h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(30, 91, 168, 0.15);
}

.service-card h3 {
    color: var(--accent-red);
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 0.5rem;
    margin: 0;
}

.service-card p {
    color: var(--text-light);
    padding: 0 1.5rem 1.5rem;
    flex-grow: 1;
    font-size: 0.95rem;
}

/* ===== ABOUT SECTION (unchanged) ===== */
.about {
    padding: 100px 0;
    background-color: var(--bg-white);
}

.about h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-align: center;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-light);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    color: var(--text-dark);
    font-size: 1.05rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    font-weight: 500;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.about-license {
    background-color: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    border-left: 5px solid var(--primary-blue);
    text-align: center;
}

.about-license h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.about-license img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.about-license p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===== CONTACT SECTION (unchanged) ===== */
.contact {
    padding: 100px 0;
    background-color: var(--bg-light);
}

.contact h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    text-align: center;
    margin-bottom: 4rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    background-color: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.contact-info h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.info-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.info-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.info-item strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.info-item a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-blue);
    text-decoration: underline;
}

.info-item p {
    color: var(--text-light);
    margin: 0;
}

/* ===== CONTACT FORM (unchanged) ===== */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 0.9rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-dark);
    transition: border-color 0.3s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #999;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(30, 91, 168, 0.1);
}

/* ===== BUTTONS (unchanged) ===== */
.cta-button {
    background: linear-gradient(135deg, var(--accent-red), #a01629);
    color: var(--bg-white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(196, 30, 58, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.4);
}

.cta-button:active {
    transform: translateY(0);
}

/* ===== FOOTER (unchanged) ===== */
footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    text-align: center;
    padding: 2.5rem 0;
}

footer p {
    margin: 0.5rem 0;
}

footer a {
    color: var(--accent-red);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ff4555;
}

/* ===== RESPONSIVE DESIGN (updated for sidebar) ===== */
@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .sidebar {
        position: relative;
        top: 0;
        width: 100%;
        border-right: none;
        border-bottom: 3px solid var(--primary-blue);
        height: auto;
        padding: 1.5rem;
        border-radius: 12px;
        margin-bottom: 2rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    }
    
    .sidebar .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    .sidebar .nav-links a {
        text-align: center;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
    
    .main-content .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 50px 0;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services h2,
    .about h2,
    .contact h2 {
        font-size: 2rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .services,
    .about,
    .contact {
        padding: 60px 0;
    }

    .logo-img {
        height: 120px;
    }

    header {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 0.8rem;
        font-size: 0.8rem;
    }

    .logo-img {
        height: 65px;
    }

    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.95rem;
    }
}
