@import url('https://fonts.googleapis.com/css?family=Yantramanav:100,300');

*{
    padding: 0px;
    margin: 0px;
}

/* Center the navbar items */

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.navbar{
  --bs-navbar-padding-x: 1;
}
.bgtop{
  background-color: rgb(188,32,47);
  padding-left: 4%;
  padding-right: 4%;
}
.home-section{
    background-color: #F0F0F0;
}

.nav-text:hover{
  border-bottom: 2px solid rgb(188,32,47); 
}

li{
  font-size: 20px;
  padding-left: 2%;
}

.mainpra{
    font-size: 20px;
}

.home-section{
    background-color: #F0F0F0;
}

.nav-text{
  font-size: 20px;
  color: rgb(188,32,47);
}
.bottam-line {
  border-bottom: none; 
}

.bottam-line.scroll {
  border-bottom: 2px solid rgb(188, 32, 47); 
}

.slide-up {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-in-out;
}

.slide-down {
  max-height: 200px; 
  transition: max-height 0.5s ease-in-out;
}
#mobile-icon {
  display: none; /* Hide by default */
}
.txt{
    font-size: 18px;
}
.logo{
  width: 90px;
}

.navbar-nav {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hidden {
    display: none;
}
.nav-number {
  display: none;
  color: rgb(188, 32, 47);
  font-size: 14px;
  margin-left: auto;
  align-items: center;
  margin-right: 5%;
    margin-left: 1%;
  display: flex; /* Ensure the div uses flexbox for alignment */
}

.nav-number i {
  margin-right: 8px; /* Adjust space between icon and text */
}

.center-container {
    text-align: center; 
}

.inline-p {
    display: inline;
    margin-right: 10px;
}

.aa{
    padding-left: 8%;
    padding-right: 8%;
}


/*---------- Animation Css -------------*/


  .animation-contact {
    position: relative; 
    animation-name: exa;
    animation-duration: 3s;
}

@keyframes exa {
    0%   {left: 0px; top: -200px;}
    25%  {left: 0px; top: 0px;}
   
}


/*---------------- form CSS -------------*/


.container {
  max-width: 1170px;
  margin-left: auto;
  margin-right: auto;
  padding: 1em;
}

ul {
  list-style: none;
  padding: 0;
}

.brand {
  text-align: center;
	font-weight: 300;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.wrapper > * {
  padding: 1em;
}

.company-info {
  background: #fff;
  color: #000;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.company-info h3,
.company-info ul {
  text-align: center;
  margin: 0 0 1rem 0;
}

.contact {
  background: #f2ecef;
  color: #000;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.contact form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 20px;
}

.contact form label {
  display: block;
}

.contact form p {
  margin: 0;
}

.contact form .full {
  grid-column: 1 / 3;
}



.contact form button {
  width: 100%;
  padding: 1em;
  border: solid 1px #627EDC;
  border-radius: 4px;
}

.contact form input,
.contact form textarea{
    width: 100%;
    padding:4px;
    border: solid 1px #000;
    border: solid 1px #2b2c30;
    border-radius: 4px;
}

.contact form textarea {
  resize: none;
}

.contact form button {
  background: rgb(188,32,47);
  border: 0;
  color: #e4e4e4;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: bold;
}

.contact form button:hover,
.contact form button:focus {
  background: #fff;
  color: rgb(188,32,47);
  outline: 0;
  /* transition: background-color 1s ease-out; */
}


/*------------------- MEDIA QUERIES ------------------*/


@media only screen and (min-width: 700px) {
  .wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
  }

  .wrapper > * {
    padding: 2em;
  }

  .company-info {
    border-radius: 4px 0 0 4px;
  }

  .contact {
    border-radius: 0 4px 4px 0;
  }

  .company-info h3,
  .company-info ul,
  .brand {
    text-align: left;
  }

}

@media (max-width: 480px){
  .bgtop{
    padding-left: 0%;
    padding-right: 0%;
    }

    .bottam-line.scroll .nav-number {
      display: flex; /* Show when scrolled on small screens */
  }
  #mobile-icon {
    display: none; /* Hide by default */
}

.contact form .fulls {
  grid-column: 1 / 3;
}

#mobile-icon.scroll{
    display: block; 
}

    .logo {
        width: 70px;
    }

    .topnav {
      padding-top: 70px !important;
  }
    .nav-res{
      font-size: 12px;
  }
  
 
  .inline-p {
      display: inline;
      margin-right: 0px;
  }


}


@media (max-width: 768px){

.inline-p {
    display: inline;
    margin-right: 0px;
}

.nav-res{
    font-size: 12px;
}

}