* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  scroll-behavior: smooth;
}
.body-margin {
  margin: 0 150px;
}

:root {
  --bg-color:linear-gradient(to left, #850101, #000);
  --main-color2: rgb(231, 226, 226);
  --text: white;
  --shadow: 0 1px 5px rgba(0, 0, 0, 0.8);
  --exra-color: rgb(185, 185, 185);
  --bg-color2: white;
  --text-color2: black;
  --main-color: #7D0000;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.8rem;
  padding: 2rem 9%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  transition: .3s;
  background: white;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
}

.header.sticky {
  background: var(--text);
}

.logo {
  position: relative;
  font-size: 2.5rem;
  color: var(--text);
  font-weight: 600;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.navbar {
  position: relative;

}

.navbar a {
  font-size: 1.2rem;
  color: black;
  font-weight: 500;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin-left: 3.5rem;
  transition: .3s;
}



.navbar a:hover,
.navbar a.active {
  color: rgb(104, 101, 101);
}

.navbar a.active:hover {
  color: var(--text);
}

#menu-icon {
  position: relative;
  font-size: 2.6rem;
  color: black;
  cursor: pointer;
  display: none;
}

.logo .animate,
.navbar .animate,
#menu-icon .animate {
  animation: showRight 1s ease forwards;
  animation-delay: calc(0.3s * var(--i));
}


.logo .animate,
.navbar .animate,
#menu-icon .animate {
  animation: showRight 4s ease forwards;
  animation-delay: calc(0.3s * var(--i));
}

@media (max-width: 768px) {
  .header {
    background: white;
  }
  
  #menu-icon {
    display: block;
  }
  
  .navbar {
    position: absolute;
    top: 100%;
    left: -100%;
    width: 100%;
    padding: 1rem 4%;
    background: white;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: 0.25s ease;
    transition-delay: 0.25s;
  }
  
  .navbar.active {
    left: 0;
    transition-delay: 0s;
  }
  
  .navbar .active-nav {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: white;
    border-top: 0.1rem solid rgba(0, 0, 0, 0.2);
    z-index: -1;
    transition: 0.25s ease;
    transition-delay: 0s;
  }
  
  .navbar.active .active-nav {
    left: 0;
    transition-delay: 0.25s;
  }
  
  .navbar a {
    display: block;
    font-size: 1.2rem;
    margin: 3rem 0;
    transform: translateX(-20rem);
    transition: 0.25s ease;
    transition-delay: 0s;
  }
  
  .navbar.active a {
    transform: translateX(0);
    transition-delay: 0.25s;
  }
}

.hero{
   background-image: url(../assets/contact_reach.jpg);
   width: 100%;
   height: 90vh;   
}

.backdrop{
  background-color: rgba(43, 42, 42, 0.6);
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-p{
  color: whitesmoke;
  text-align: center;
  font-size: 3em; 
  text-transform: capitalize;
  margin-bottom: 1em;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

span{
  color: orange;
}

.description{
  color: whitesmoke;
  text-align: center;
  font-size: 1em;
  padding: 0 10%; 
  line-height: 1.6;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

@media (max-width: 768px) {
  .hero-p {
      font-size: 2.5em; 
  }

  .description {
      font-size: 0.9em;
      padding: 0 5%;
  }

  .hero, .backdrop{
      height: 70vh; 
  }
}

@media (max-width: 480px) {
  .hero-p {
      font-size: 2em; 
  }

  .description {
      font-size: 20px;
  }
  .hero, .backdrop{
      height: 60vh;
  }
}

 .container {
  margin-top: 50px;
    padding: 20px;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-container, .map-container {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 300px;
}

 .form-container h2{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.map-container h2{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

input, textarea {
    width: 95%;
    padding: 10px;
    border: 1px solid #000000;
    border-radius: 5px;
    margin-bottom: 10px;
}

button {
    width: 95%;
    background-color: rgb(145, 8, 8);
    color: black;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

button:hover {
    background-color: gold;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .grid {
        flex-direction: column;
    }
} 


footer {
  width: 100%;
  position: relative; /* change from absolute to relative */
  background: linear-gradient(to left, #850101, #000);
  color: #fff;
  padding: 100px 0 30px;
  border-top-left-radius: 125px;
  font-size: 13px;
  line-height: 20px;
  margin-top: 5rem;
  /* top: -20rem;
  bottom: 100rem; */
}

.row {
  width: 85%;
  max-width: 1200px; /* Limit maximum width */
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
}
#log{
  margin-top:-5% ;

}

.col {
  flex-basis: 25%;
  padding: 10px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.col:nth-child(2), .col:nth-child(3) {
  flex-basis: 15%;
}

.logo {
  width: 80px;
  margin-top: 20px; /* Adjust margin for smaller screens */
}

.col h3 {
  margin-bottom: 20px;
  position: relative;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.email-id {
  border-bottom: 1px solid #ccc;
  margin: 10px 0;
}
#hr{
  border: 0;
  border-bottom: 2px solid #ccc;
  margin: 20px auto;
  margin-left: 5px;

}

ul li {
  margin-bottom: 12px;
}

ul li a {
  text-decoration: none;
  color: #ccc;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

form {
  margin-bottom: 30px; /* Adjust margin for smaller screens */
}

form input {
  width: 100%;
  background: transparent;
  color: #ccc;
  border: 0;
  outline: none;
}

hr {
  width: 90%;
  border: 0;
  border-bottom: 1px solid #ccc;
  margin: 20px auto;
}

.copyright {
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.underline {
  width: 100%;
  height: 5px;
  background: #767676;
  border-radius: 3px;
  position: absolute;
  top: 25px;
  left: 0;
  overflow: hidden;
}

.underline span {
  width: 15px;
  height: 100%;
  background: #fff;
  border-radius: 3px;
  position: absolute;
  top: 0;
  left: 10px;
  animation: moving 2s linear infinite;
}

@keyframes moving {
  0% {
      left: -20px;
  }
  100% {
      left: 100%;
  }
}

@media (max-width: 900px) {
  .row {
      justify-content: center;
  }
}

@media (max-width: 700px) {
  .col {
      flex-basis: 45%; /* Adjust column width for smaller screens */
      text-align: center;
  }
}

@media (max-width: 500px) {
  .col {
      flex-basis: 100%; /* Full width for smallest screens */
      margin-bottom: 30px;
  }

  .logo {
      width: 60px;
  }

  .underline {
      top: 20px;
  }
  #col2{
      margin-left: -10%;
  }
  #col1{
      margin-left: 30%;
  }
}