body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    height: 100vh;
}


/* Header styles */
header {
    background: linear-gradient(to bottom, #333333, #444444); /* Gradient effect */
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow effect */
    display: flex;
    flex-direction: column;
    gap: 10px; /* Space between elements on smaller screens */

  }
  
  /* For medium and larger screens, align items horizontally */
  @media (min-width: 768px) {
    header {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }
  
  /* Logo styling */
  #logo-img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    border-radius: 10%; /* Rounded corners */
    margin-right: 10px; /* Space between logo and heading */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6), 
                -5px -5px 10px rgba(255, 255, 255, 0.2); /* 3D shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Hover effect for logo */
  #logo-img:hover {
    transform: scale(1.05) rotate(3deg); /* Slight hover effect */
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.7), 
                -8px -8px 15px rgba(255, 255, 255, 0.3); /* Enhanced shadow on hover */
  }
  
  /* H1 Styling */
  h1 {
    margin: 0;
    font-size: 2.2rem; /* Smaller default font size for mobile */
    color: #ff6e00;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center; /* Center-align on smaller screens */
  }
  
  @media (min-width: 768px) {
    h1 {
      
      text-align: left; /* Align to the left on larger screens */
    }
  }
  
  /* H1 Heading Styling */
  #h1_heading {
    color: #007bff; /* Initial color */
    background: linear-gradient(60deg, #ff6e00, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  /* H1 Heading Hover Effect */
  #h1_heading:hover {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
    transform: scale(1.02);
  }
  
  /* Responsive layout adjustments */
  @media (max-width: 767px) {
    header {
      text-align: center;
      gap: 15px;
    }
    #logo-img {
      margin-right: 0; /* Remove right margin for better centering */
    }
    h1 {
      flex-direction: column; /* Stack heading and subheading vertically */
      gap: 5px; /* Adjust spacing for stacked layout */
    }
  }

  /* Logo styling */
  #logo-img {
    width: 100px; /* Adjust size as needed */
    height: auto;
    border-radius: 10%; /* Rounded corners */
    margin-right: 10px; /* Space between logo and heading */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6), 
                -5px -5px 10px rgba(255, 255, 255, 0.2); /* 3D shadow effect */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Hover effect for logo */
  #logo-img:hover {
    transform: scale(1.05) rotate(3deg); /* Slight hover effect */
    box-shadow: 8px 8px 20px rgba(0, 0, 0, 0.7), 
                -8px -8px 15px rgba(255, 255, 255, 0.3); /* Enhanced shadow on hover */
  }
  
  /* H1 Styling */
  h1 {
    margin: 0;
    font-size: 2.2rem; /* Smaller default font size for mobile */
    color: #ff6e00;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center; /* Center-align on smaller screens */
  }
  
  @media (min-width: 768px) {
    h1 {
      
      text-align: left; /* Align to the left on larger screens */
    }
  }
  
  /* H1 Heading Styling */
  #h1_heading {
    color: #007bff; /* Initial color */
    background: linear-gradient(60deg, #ff6e00, #007bff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  /* H1 Heading Hover Effect */
  #h1_heading:hover {
    color: #00ff88;
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.7);
    transform: scale(1.02);
  }
  
  /* Responsive layout adjustments */
  @media (max-width: 767px) {
    header {
      text-align: center;
      gap: 15px;
    }
    #logo-img {
      margin-right: 0; /* Remove right margin for better centering */
    }
    h1 {
      flex-direction: column; /* Stack heading and subheading vertically */
      gap: 5px; /* Adjust spacing for stacked layout */
    }
  }
  


/* Main layout container */
.main-container {
    display: flex;
    height: calc(100vh - 60px); /* Full height minus the header */
    position: relative;
}

/* Map container */
#map {
    flex: 1; /* Take up remaining space */
    height: 100%;
}


 #sidebar {
    width: 250px;
    background: black;
    color: white;
    padding: 20px;
    position: absolute;
    top: 0;
    left: -250px; 
    height: 100%;
    transition: left 0.3s ease-in-out;
    z-index: 2000;
}


#close-sidebar-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: red;
    color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

#close-sidebar-btn:hover {
    color: #ccc;
} */
#aside {
padding: 20px; /* Add left padding */
}


/* Information Fields Styling */
.info-field {
    margin-bottom: 15px;
}

.info-field label {
    font-weight: bold;
    font-size: 1rem;
    color: #ddd;
}

.info-field input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    background-color: #495057;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    text-align: left;
}

footer {
    text-align: center;
    padding: 20px;
    color: wheat;
    font-size: larger;
    font-family: 'Times New Roman', Times, serif;
    background: #232526;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to right, #414345, #232526);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to right, #414345, #232526); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */ 
    }
    
    footer a {
    color: wheat;
    text-decoration: none; 
    }
    
    footer a:hover {
    text-decoration: underline;
    }
    
    footer button {
    color: black;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    }
    
    footer button:hover {
    background-color: #dc7311;
    }
    .social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    }
    
    .social-links a img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
    }
    
    .social-links a img:hover {
    transform: scale(1.2);
    }
    
    /* subscribe-section */
    .subscribe-section {
    /* background-color: #1c1c1c; */
    color: #ffffff;
    padding: 1px;
    text-align: center;
    font-family: 'Times New Roman', Times, serif;
    border-radius: 8px;
    max-width: 400px;
    margin: auto;
    }
    
    .subscribe-section h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    }
    
    .custom-measure-control {
      background: rgba(255, 255, 255, 0.9); /* Light background */
      border: 1px solid #ccc; /* Border for visibility */
      border-radius: 8px; /* Rounded corners */
      padding: 500px; /* Padding inside the container */
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for elevation */
  }

  
    .subscribe-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    }
    
    .subscribe-form input {
    flex: 1;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    }
    
    .subscribe-form input:focus {
    border-color: #007bff;
    }
    
    .subscribe-form button {
    background-color: #007bff;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    }
    
    .subscribe-form button:hover {
    background-color: #0056b3;
    }

    /* ---------------------------------------------------------------------------------------- */

    #latlong {
      position: absolute;
      /* Positioning relative to the #map container */
      bottom: 10px;
      /* Offset from the bottom edge */
      left: 10px;
      /* Offset from the left edge */
      background-color: rgba(0, 0, 0, 0.7);
      /* Semi-transparent background for readability */
      color: #fff;
      /* Text color for better contrast */
      padding: 10px;
      /* Adds space inside the box */
      border-radius: 5px;
      /* Rounded corners for a cleaner look */
      font-family: Arial, sans-serif;
      /* A clean and simple font */
      font-size: 10px;
      /* Adjust the font size for better readability */
      z-index: 1999;
      /* Ensures it stays above the map content */
      box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.3);
      /* Subtle shadow for depth */
    }

    #aside {
      font-family: Arial, sans-serif;
    }

    .form-group {
      margin-bottom: 15px;
    }

    label {
      font-weight: bold;
      display: block;
      margin-bottom: 5px;
    }

    select {
      width: 100%;
      padding: 8px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }

   
    /* Sidebar container styling */
    #sidebar {
      position: absolute;
      left: -300px;
      /* Initially hidden */
      top: 0;
      width: 300px;
      height: 100%;
      background: black;
      border-right: 1px solid #ccc;
      /* Subtle border for separation */
      padding: 15px;
      transition: left 0.3s ease-in-out;
      overflow-y: auto;
      /* Enable scrolling for overflow content */
      box-shadow: 2px 0px 8px rgba(0, 0, 0, 0.4);
      /* Shadow for depth */
      z-index: 2000;
    }

    /* When sidebar is open */
    #sidebar.open {
      left: 0;
    }

    /* Close button styling */
    #close-sidebar-btn {
      position: absolute;
      top: 15px;
      right: 15px;
      font-size: 15px;
      color: #ecf0f1;
      /* Light text color */
      background: red;
      border: none;
      cursor: pointer;
      transition: color 0.3s ease;
      /* padding: 5px 5px; */
      
    }

    #close-sidebar-btn:hover {
      color: #e74c3c;
      /* Red hover effect */
    }

    /* Sidebar title and content */
    #sidebar p {
      font-size: 18px;
      color: #ecf0f1;
      /* Light text color */
      margin-bottom: 20px;
    }

    #sidebar #tower_details {
      margin-top: 20px;
    }

    /* General content padding inside aside section */
    #aside {
      padding: 20px;
    }

    /* Sidebar form and input styling */
    #tower_details_form {
      display: flex;
      flex-direction: column;
      gap: 15px;
      padding: 20px;
      background: linear-gradient(to bottom, #333333, #444444);
      /* Slightly lighter background for contrast */
      border-radius: 10px;
      /* Rounded corners */
      box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.4);
      /* Shadow for depth */
      max-height: calc(100% - 40px);
      /* Adjust height to fit within the sidebar */
      overflow-y: auto;
      /* Scrollable for overflow */
    }

    /* Individual field styling */
    #tower_details_form div {
      display: flex;
      flex-direction: column;
    }

    /* Label styling */
    #tower_details_form label {
      font-weight: bold;
      color: #bdc3c7;
      /* Subtle gray for labels */
      margin-bottom: 8px;
      font-size: 14px;
    }

    /* Input field styling */
    #tower_details_form input {
      padding: 10px;
      font-size: 14px;
      border: none;
      border-radius: 8px;
      background-color: #2c3e50;
      /* Matches sidebar background for consistency */
      color: white;
      box-shadow: inset 0px 2px 4px rgba(0, 0, 0, 0.3);
      /* Inner shadow for depth */
      transition: transform 0.2s ease, box-shadow 0.2s ease;
      cursor: not-allowed;
      /* Read-only appearance */
    }

    /* Read-only input hover effect */
    #tower_details_form input:hover {
      transform: scale(1.02);
      /* Slight zoom on hover */
      box-shadow: inset 0px 4px 6px rgba(0, 0, 0, 0.5);
    }

    /* Custom scrollbar styling for sidebar */
    #sidebar::-webkit-scrollbar {
      width: 8px;
      /* Thin scrollbar */
    }

    #sidebar::-webkit-scrollbar-thumb {
      background: #95a5a6;
      /* Light gray thumb */
      border-radius: 10px;
    }

    #sidebar::-webkit-scrollbar-thumb:hover {
      background: #7f8c8d;
      /* Darker gray on hover */
    }

    #sidebar::-webkit-scrollbar-track {
      background: #2c3e50;
      /* Matches sidebar background */
    }
    /* ---------------------------------------------------------- */

   /* General styling for the aside section */
#aside {
  background: linear-gradient(to bottom, #ffffff, #f9f9f9); /* Light gradient */
  border-radius: 8px;
  padding: 20px;
  box-shadow: inset 0 4px 6px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.1); /* Inner and outer shadows */
  max-width: 225px;
  margin: 20px;
  font-family: Arial, sans-serif;
}

/* Styling for heading */
#aside h4 {
  font-size: 1.25rem;
  color: #333; /* Dark text for contrast */
  margin-bottom: 20px;
  font-weight: bold;
}

/* Label styling */
label {
  font-size: 0.9rem;
  color: #555; /* Subtle gray for labels */
  margin-bottom: 6px;
  display: inline-block;
}

/* Styling for the select dropdowns */
select {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px;
  border-radius: 4px;
  border: 1px solid #ccc;
  background-color: #f1f1f1; /* Light background */
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1); /* Inner shadow */
  color: #333; /* Dark text */
}

/* Apply shadow on focus */
select:focus {
  border-color: #4CAF50;
  outline: none;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.5);
}

/* Styling for the hidden sections of OFF NET and ON NET */
#off_net_section, #on_net_section {
  display: block;
}

/* Styling for the dropdown sections */
#off_net_section, #on_net_section {
  background-color: #fff; /* White background for sections */
  border: 1px solid #e0e0e0;
  padding: 10px;
  border-radius: 6px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Inner shadow */
}

/* Transition effects for the dropdowns */
#off_net_section, #on_net_section {
  transition: all 0.3s ease-in-out;
}

/* Styling for the select elements in the dropdown sections */
#off_net, #on_net {
  margin-top: 10px;
}

/* Styling for select options */
select option {
  color: #333; /* Dark text for visibility */
  background-color: #fff; /* White background */
}
/* Glowing effect for the sidebar */
.glow {
  border-radius: 10px;
  box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.8);
  /* Glowing orange outline */
  /* border: 2px solid rgba(255, 165, 0, 0.8); */
  transition: box-shadow 0.01s ease, border 0.01s ease; /* Smooth transition */
}