/* Common styles shared across all pages */

/* Universal Box-Sizing */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root variables for colors */
:root {
    --primary: #d32f2f;
    --secondary: #001833;
    --heading-color: #222;
    --text-color: #444;
    --border-color: #eee;
}

/* General Body Styling */
body {
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #fff;
    color: #222;
    overflow-x: hidden;
}

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

/* Navbar - Shared across all pages */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    width: 100%;
}

.logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    text-decoration: none;
    color: #001833;
    font-size: 0.9rem;
    transition: color 0.2s ease;
    cursor: pointer;
    font-weight: bold;
}

.nav-links li a:hover {
    color: #d32f2f;
}

.contact-btn {
    padding: 0.5rem 1rem;
    border: 1px solid #d32f2f;
    border-radius: 50px;
    color: #d32f2f;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #fff4e6;
}

.burger {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

/* Sidebar - Shared across all pages */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: right 0.3s ease;
    z-index: 1001;
}

.sidebar.open {
    right: 0;
}

.sidebar .close-btn {
    font-size: 2rem;
    align-self: flex-end;
    cursor: pointer;
    margin-bottom: 1rem;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li a {
    color: #001833;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.sidebar ul li a:hover {
    color: #d32f2f;
}

.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.sidebar-overlay.active {
    display: block;
}

/* Button styles */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-family: inherit;
    border: none;
    background: none;
}

.primary-btn {
    background-color: var(--primary);
    color: #fff;
}

.primary-btn:hover {
    background-color: #b71c1c;
}

.secondary-btn {
    border: 1px solid var(--primary);
    background-color: transparent;
    color: var(--primary);
}

.secondary-btn:hover {
    background-color: #fbeaea;
}

/* Form styles */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #444;
    font-size: 0.95em;
}

.form-group input,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    width: 100%;
    transition: border-color 0.2s ease-in-out;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #2196F3;
    outline: none;
    box-shadow: 0 0 5px rgba(33, 150, 243, 0.2);
}

/* Mobile responsive breakpoints */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }

    .burger {
        display: block;
    }

    .sidebar {
        display: flex;
    }

    .navbar {
        padding: 1rem 1rem;
    }
}