* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary-color: #005792;
    --secondary-color: #00bbf0;
    --accent-color: #fdb44b;
    --dark-color: #333;
    --light-color: #f4f9ff;
    --text-color: #444;
    --shadow: 0 4px 12px rgba(0,0,0,0.1);
}

body {
    background-color: #f0f5ff;
    color: var(--text-color);
    position: relative;
}
 
.header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    padding: 0rem 1.3rem;  
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: fixed;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo a {
  color: white;
  text-decoration: none; /* remove underline */
}

.logo a:visited {
  color: white;
  text-decoration: none; /* remove underline for visited links */
}

.logo a:hover {
  color: #e0e0e0;
  text-decoration: none; /* still no underline on hover */
}

.logo a:active {
  color: #cccccc;
  text-decoration: none; /* no underline when clicked */
}

.logo h1 {
  font-size: 25px;
  font-weight: 600;
  color: white;
  margin: 0;
}


.toggle-btn {
    background-color: transparent;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 10px;
    margin-right: 10px;
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100%;
    width: 280px;
    background-color: white;
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    transition: left 0.3s ease;
    z-index: 990;
    box-shadow: var(--shadow);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    color: var(--primary-color);
    font-size: 24px;
    margin: 15px 0;
    text-align: center;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    margin-top: 20px;
}

.sidebar a {
    color: var(--dark-color);
    text-decoration: none;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.sidebar a:hover, .sidebar a.active {
    background-color: rgba(0, 87, 146, 0.1);
    border-left: 4px solid var(--primary-color);
    color: var(--primary-color);
}

.sidebar a i {
    width: 24px;
    text-align: center;
}

/* Main Content Styles */
.main-content {
    padding-top: 80px;
    transition: margin-left 0.3s ease;
    min-height: 100vh;
}

.container {
    max-width: 800px;
    margin: 20px auto;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

h1 {
    text-align: center;
    color: var(--primary-color);
    margin: 20px 0;
    font-size: 2rem;
}

h2 {
    text-align: center;
    color: var(--primary-color);
    margin: 15px 0;
}

p {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 15px;
}

#map {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

/* Media Queries */
@media (min-width: 993px) {
    .sidebar.active ~ .main-content {
        margin-left: 280px;
    }
}

@media (max-width: 992px) {
    .sidebar.active ~ .main-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .main-content {
        padding-top: 70px;
    }
    
    .container {
        width: 90%;
        padding: 15px;
        margin: 10px auto;
    }
    
    #map {
        height: 300px;
    }
}