@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
html {
  color: #fff;
  line-height: 1.2;
  width: 100%;
}
#myVideo {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
}

.navbar-heading {
  color: cadetblue !important;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
}
.navbar {
  padding: 2rem !important;
  --bs-navbar-toggler-focus-width: 0.1rem !important;
  --bs-navbar-toggler-border-radius: 6.1rem !important;
  --bs-navbar-toggler-border-color: rgba(205, 205, 205, 0.877);
}

.navbar-toggler {
  border: none !important;
}
.navbar-toggler-icon {
  width: 1.2em !important;
  height: 1.9em !important;
}
.nav-link {
  font-family: "Poppins", sans-serif;
  font-size: large !important;
  font-weight: 400;
}
.nav-link:hover {
  font-size: medium;
  font-weight: 400;
  color: aliceblue;
  transition: all 0.5s ease-in;
  border-bottom: 0.5px solid #6e2a00;
}

section {
  scroll-margin-top: 60px;
  min-height: 5em;
  padding: 60px 1%;
}
p {
  font-size: 1.1rem;
}

#home {
  padding-top: 4rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  margin-left: 2rem;
  margin-right: 2rem;
  background-color: #ffffff45;
  border-radius: 12px;
}
cccccccccccccccccccccccccccc .city {
  color: #20c997;
  text-decoration: none;
  font-weight: bold;
}
.city:hover {
  color: #5ed0ae;
  border-bottom: 1px solid #5ed0ae;
  transition: all 0.3s ease-in-out;
}
.btn {
  border-radius: 40px !important;
  color: var(--bs-light) !important;
}
.btn:hover {
  background-color: #2c365a !important;
}
input {
  border-radius: 40px !important;
}
.temp-bg {
  background-image: url(../assets/img/Marathon_Clark_line2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
}
.humidity-bg {
  background-image: url(../assets/img/humidity-2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
}
.wind-bg {
  background-image: url(../assets/img/wind-2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  border-bottom-left-radius: 0.4rem;
  border-bottom-right-radius: 0.4rem;
}
.list-unstyled li {
  color: #000000 !important;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}
#container-width {
  width: 70%;
}
/* About Page*/
.about {
  margin-bottom: 1rem;
}
.about h3 span {
  border-bottom: 2px solid teal;
}
.about-content {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  border: 1px solid black;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 5rem;
  /* margin-bottom: 3rem; */
  margin-bottom: 4rem;
  background-color: var(--bs-light);
  box-shadow: 0 0 10px rgba(135, 135, 135, 0.3);
}
.about-content p {
  /* font-size: 1rem; */
  color: #656565eb;
}
.name a {
  color: rgb(0, 96, 110);
  text-decoration: none;
}
.name a:hover {
  color: rgb(38, 18, 141);
  text-decoration: none;
  border-bottom: 1px solid rgb(38, 18, 141);
  transition: all 0.5s ease-in;
}
.data a {
  color: rgb(0, 96, 110);
  text-decoration: none;
}
.data a:hover {
  color: rgb(38, 18, 141);
  text-decoration: none;
  border-bottom: 1px solid rgb(38, 18, 141);
  transition: all 0.5s ease-in;
}
/* How to Used Page */
.usage-info {
  margin-bottom: 1rem;
}
.usage-info h3 span {
  border-bottom: 2px solid teal;
}
.usage-content {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  border: 1px solid black;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 5rem;
  margin-bottom: 3rem;
  background-color: var(--bs-light);
  box-shadow: 0 0 10px rgba(135, 135, 135, 0.3);
}
.usage-content h5 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.usage-content p {
  /* font-size: 1.2rem; */
  color: #656565eb;
}
.data-source p {
  color: #ffffff;
  font-size: small;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  margin-left: 2rem;
  padding-top: 1rem;
}
/* Footer */
#footer {
  margin-top: 2rem;
  font-size: small;
  font-family: "Poppins", sans-serif;
}
.footer a {
  color: orange;
  text-decoration: none;
  transition: all 0.5s ease-in;
}
.footer a:hover {
  color: #20c997;
  text-decoration: none !important;
}
#credit {
  font-size: small;
  font-weight: 300;
  color: #fff;
  background-color: rgb(26, 26, 26);
  padding: 1.5rem;
  margin-bottom: 0;
}
.copy-right {
  background-color: rgb(26, 26, 26);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  font-size: small;
  padding: 2px;
  margin: 0;
}
/* Media Query */
@media (max-width: 992px) {
  ul {
    padding-top: 2rem;
    text-align: center;
  }
  .data-source p {
    text-align: center;
    margin-left: 0;
  }
}
@media (max-width: 576px) {
  ul {
    padding-top: 2rem;
    text-align: center;
  }
  #container-width {
    width: 95%;
  }
  .data-source p {
    text-align: center;
    margin-left: 0;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  /* Center the modal vertically and horizontally */
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 800px;
  height: 200px;
}

/* Close button styles */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

/* Container styling */
.callback-section {
  background: linear-gradient(145deg, #2d3131, #242727);
  color: #f3f4f6;
  padding: 2.5rem;
  margin: 2rem auto;
  border-radius: 16px;
  max-width: 800px;
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.3),
    0 8px 10px -6px rgba(0, 0, 0, 0.3);
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}

.callback-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.section-subtitle {
  text-align: center;
  color: #9ca3af;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Form layouts */
.callback-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

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

.group-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #cbd5e1;
}

/* Smart Grid for Checkboxes instead of rigid breaks */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  background: rgba(0, 0, 0, 0.15);
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: #3b82f6; /* Modern Blue Accent */
  cursor: pointer;
}

.checkbox-wrapper label {
  cursor: pointer;
  font-size: 0.95rem;
  color: #e2e8f0;
  user-select: none;
}

/* Textarea / Code Editor styling */
.textarea-container {
  position: relative;
}

#callbackFunction {
  width: 100%;
  box-sizing: border-box;
  padding: 1rem;
  background-color: #1a1d1d;
  color: #34d399; /* Code-friendly Green tint */
  font-family: "Fira Code", Consolas, Monaco, monospace;
  font-size: 0.9rem;
  border: 1px solid #4a4e4e;
  border-radius: 8px;
  resize: vertical;
  outline: none;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}

#callbackFunction:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* Modernized Button */
.form-actions {
  display: flex;
  justify-content: center;
}

.btn-submit {
  background-color: #2563eb;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition:
    background-color 0.2s,
    transform 0.1s;
  box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

.btn-submit:hover {
  background-color: #1d4ed8;
}

.btn-submit:active {
  transform: scale(0.98);
}

/* Elegant info/note section */
.section-note {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}

.section-note code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
  color: #f43f5e; /* Highlight pink/red for variables */
  font-family: monospace;
}
