:root {
  --primary-bg: #1a1a1a;
  --secondary-bg: #2a2a2a;
  --text-color: #ffffff;
  --border-color: #ffffff;
  --bg-color: #ffffff;
  --header-bg: #f5f5f5;
  --header-shadow: rgba(0, 0, 0, 0.3);
  --hover-color: #f09400;
  --switch-bg: rgb(247, 93, 93);
  --switch-color: #ffffff;
  --form-bg-color: #d2d2d2;
  --form-text-color: #333333;
  --input-bg-color: #ffffff;
  --input-text-color: #333333;
  --button-bg-color: #333333;
  --button-text-color: #ffffff;
  --info-item-bg: #dddddd;
  --info-item-text: #333333;
  --btn-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --back-color: #ffffff;
  --text-color: #333333;

}

.dark-mode {
  --bg-color: #111111;
  --header-bg: #1d1d1d;
  --header-shadow: rgba(212, 212, 212, 0.5);
  --hover-color: #f39c12;
  --switch-bg: #ffffff;
  --switch-color: #f39c12;
  --form-bg-color: #333333;
  --form-text-color: #ffffff;
  --input-bg-color: #555555;
  --input-text-color: #ffffff;
  --button-bg-color: #f0b90b;
  --button-text-color: #333333;
  --info-item-bg: #444444;
  --info-item-text: #ffffff;
  --btn-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --back-color: #1a1a1a;
  --text-color: #ffffff;

 

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background-color 0.3s, color 0.3s;
}

body.dark-mode {
  background-color: var(--primary-bg);
  color: var(--text-color);
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background-color: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  box-shadow: 0 2px 10px var(--header-shadow);
  transition: background-color 0.3s, box-shadow 0.3s;
}

.logo h1 {
  font-size: 24px;
  color: var(--text-color);
  padding-left: 10px;
}

.nav-menu ul {
  display: flex;
  list-style: none;
  transition: all 0.3s;
  margin-top: 12px;
}

.nav-menu ul li {
  margin: 0 15px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: var(--text-color);
  font-size: 18px;
  transition: color 0.3s;
}

.nav-menu ul li a:hover {
  color: var(--hover-color);
}

.toggle-switch {
  position: relative;
  margin-right: 15px;
}

#theme-switch {
  display: none;
}

#theme-switch + label {
  width: 50px;
  height: 26px;
  background: var(--switch-bg);
  display: block;
  border-radius: 50px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s;
}

#theme-switch + label:before {
  content: '';
  width: 22px;
  height: 22px;
  background: var(--switch-color);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: 0.3s;
}

#theme-switch:checked + label:before {
  transform: translateX(24px);
  background-color: var(--switch-bg);
}

#theme-switch:checked + label {
  background: var(--switch-color);
}

.menu-toggle {
  display: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu ul {
      flex-direction: column;
      position: absolute;
      top: 80px;
      left: -100%;
      background-color: var(--header-bg);
      width: 100%;
      transition: left 0.3s ease-in-out;
      padding: 20px 0;
  }
  
  .nav-menu ul.active {
      left: 0;
  }
  
  .nav-menu ul li {
      margin: 15px 0;
      text-align: center;
  }
  
  .menu-toggle {
      display: block;
      margin-right: 20px;
  }
}

/*header*/

/*contact*/

.contact-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px;
}

h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.info-bar {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.info-item {
  background-color: var(--info-item-bg);
  color: var(--info-item-text);
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s;
}

.info-item:hover {
  opacity: 0.8;
}

.contact-container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.form-container, .map-container {
  width: 48%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--btn-box-shadow);
}

.form-container {
  background-color: var(--form-bg-color);
  padding: 20px;
}

form label {
  display: block;
  margin: 10px 0 5px;
  color: var(--form-text-color);
}

form input, form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
  background-color: var(--input-bg-color);
  color: var(--input-text-color);
}

form textarea {
  height: 120px;
}

.submit-btn {
  background-color: var(--button-bg-color);
  color: var(--button-text-color);
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: transform 0.2s;
  width: 180px;
  border-radius: 5px;
}

.submit-btn:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

#toast {
  visibility: hidden;
  min-width: 250px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 2px;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  bottom: 30px;
  font-size: 17px;
  transform: translateX(-50%);
}

#toast.show {
  visibility: visible;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@media (max-width: 768px) {
  .contact-container {
      flex-direction: column;
  }

  .form-container, .map-container {
      width: 100%;
      margin-bottom: 20px;
  }
}
  @media (max-width: 768px) {
    .contact-container {
      flex-direction: column;
    }
  
    .form-container, .map-container {
      width: 100%;
      max-width: 100%;
      margin: 0 0 20px 0;
    }
  
    .map-container {
      margin: 0;
    }
  }
  
  body.day-mode {
    background-color: #fff;
    color: #000;
  }
  
  body.day-mode .contact-section {
    background-color: #f0f0f0;
  }
  
  body.day-mode .info-item {
    background-color: #ddd;
    color: #000;
  }
  
  body.day-mode form input, body.day-mode form textarea {
    background-color: #ddd;
    color: #000;
  }
  
  body.day-mode .submit-btn {
    background-color: #000;
    color: #f0b90b;
  }
  
/*contact*/

/*social bar*/
.icon-bar {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
}

.icon-bar a {
  display: block;
  text-align: center;
  padding: 16px;
  transition: all 0.3s ease;
  color: white;
  font-size: 20px;
}

.icon-bar a:hover {
  background-color: #000;
}

.facebook {
  background: #3B5998;
  color: white;
}

.twitter {
  background: #55ACEE;
  color: white;
}

.google {
  background: #dd4b39;
  color: white;
}

.linkedin {
  background: #007bb5;
  color: white;
}

/*social bar*/

/*footer*/

footer {
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    text-align: center;
    padding: 20px;
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: center; /* Center both items horizontally */
    align-items: center;
    flex-direction: column; /* Stack items vertically */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer p {
    margin: 10px 0;
    font-size: 14px;
    text-align: center;
}

.brand {
    color: red;
    font-weight: bold;
}

.to-top {
    cursor: pointer;
    margin-top: 10px;
}

.circle {
    width: 50px;
    height: 50px;
    background-color: #fff; /* White circle background */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle i  {
    font-size: 20px;
    color: #000;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row; /* Place items in a row on larger screens */
        justify-content: space-between; /* Space the copyright and to-top button */
    }

    .circle {
        width: 40px;
        height: 40px;
    }

    .circle i  {
        font-size: 18px;
    }

    footer p {
        font-size: 16px;
    }
}

/*footer*/
