@import url("https://fonts.googleapis.com/css2?family=Jacques+Francois+Shadow&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Battambang:wght@100;300;400;700;900&family=Inknut+Antiqua:wght@300;400;500;600;700;800;900&display=swap");


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: Arial, sans-serif;
  /* background-color: rgb(80, 251, 197) ; */
  background-color:white;
}
html,
body {
  overflow-x: hidden;
}
header {
  display: flex;
  justify-content: flex-end;
  padding: 10px 20px;
}
.navs {
  background-color: white;
}
.logo {
  font-size: 1.5em;
  color: #fff;
  font-weight: bold;
}
.logo1 {
  font-size: 1.5em;
  color: #fff;
  font-weight: bold;
  visibility: hidden;
}
.logo-img {
  /* position: absolute; */
  top: 0;
  /* right: 430px; */
}
.Sabari {
  position: relative;
  /* right: 510px; */

  font-family: "Inknut Antiqua", serif;
  font-weight: 500;
  font-style: normal;
  font-size: 45px;
  color: #880808;
}
.slogan {
  font-size: 18px;

  left: 25px;
  position: absolute;
  top: 10;
}

.logo {
  display: flex;
  align-items: center;
  text-align: center;
}


.navbar {
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #444; */
  padding: 10px 20px;
  position: relative;
  margin-top: 50px;
  background-color: rgb(89, 121, 121);
  height: 10vh;
}

.nav-links {
  list-style: none;
  display: flex;
}

.nav-links li {
  margin: 0 35px;
  position: relative;
  left: 0px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.6em;
  transition: color 0.3s ease;
  font-weight: 600;
  /* margin-top: 25px; */
}

.nav-links a:hover {
  color: #ff6347;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 4px 0;
}

/* Dropdown menu styling */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fbf8f8;
  min-width: 360px;
  z-index: 1;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-content li {
  margin: 0;
  list-style: none;
}

.dropdown-content a {
  padding: 10px 15px;
  color: rgb(15, 14, 14);
  text-decoration: none;
  display: block;
  font-size: 18px;
}

.dropdown-content a:hover {
  background-color: #555;
}

/* Show the dropdown on hover */
.nav-links li.dropdown:hover .dropdown-content {
  display: block;
}

/* Hamburger menu styling for responsiveness */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .line {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 4px 0;
}
/* Responsive Styles */

/* @media only screen and (min-width: 768px) and (max-width: 991px) {

  .nav-links li {
    margin: 0 0;
    position: relative;
    left: 0px;
  }
} */
/* @media (min-width: 1200px) and (max-width: 1500px) { .nav-links li {
  margin: 0 15px ;
  position: relative;
  left: 0px;
}
.logo {
  font-size: 1.5em;
  color: white;
  font-weight: bold;
  position: relative;
  left: 160px;
}

} */
@media (max-width: 768px) {
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 60px;
    left: -100%;
    width: 100%;
    background-color: #333;
    transition: left 0.3s ease;
  }

  .navbar.active .nav-links {
    left: 0;
  }

  .nav-links li {
    margin: 0;
    width: 100%;
  }
  .nav-links a {
    color: black;
  }
  .dropdown-content {
    position: static;
    box-shadow: none;
  }

  .hamburger {
    display: flex;
  }
}

/* When a link is clicked, close the navbar (for mobile view) */
.nav-links li a {
  padding: 10px 20px;
  display: block;
  width: 100%;
}

@media (max-width: 768px) {
  header {
    display: visible;
    height: 0px;
    position: relative;
    left: 0px;
    top: 0px;
    z-index: 1;
  }

  .navbar {
    justify-content: space-between;
    /* position: relative; */
    background-color: rgb(72, 139, 139);
    top: -20px;
  }

  .logo {
    order: 3;
    margin-left: auto;
  }

  .logo1 {
    order: 3;
    margin-left: auto;
    visibility: hidden;
  }

  .nav-links {
    /* position:relative; */
    position: absolute;
    left: -100%;
    top: 60px;
    flex-direction: column;
    width: 100%;
    background-color: white;
    transition: left 0.3s ease;
    /* z-index: 99; */
  }

  .nav-links li {
    text-align: center;
    margin: 15px 0;
    color: black;
  }

  .navbar.active .nav-links {
    left: 0;
  }

  .hamburger {
    display: flex;
  }
}

@media (max-width: 568px) {
  header {
    display: visible;

    height:80px;
    position: relative;
    left: 0px;
    top: 0px;
  }
  .Sabari {
    font-size: 23px;
  }
  .slogan {
    font-size: 12px;
  }

  .navbar {
    justify-content: space-between;
  }

  .logo {
    order: 3;
    margin-left: auto;
  }

  .logo1 {
    order: 3;
    margin-left: auto;
    visibility: hidden;
  }

  .nav-links {
    position: absolute;
    left: -100%;
    top: 60px;
    flex-direction: column;
    width: 100%;
    background-color: white;
    transition: left 0.3s ease;
    z-index: 99;
  }

  .nav-links li {
    text-align: center;
    margin: 15px 0;
  }

  .navbar.active .nav-links {
    left: 0;
  }

  .hamburger {
    display: flex;
  }
}
/* contact us */
.contacts-section {
  background-color: #e6e6fa;
  background-image: url(/image/background.jpeg);
  /* background-color: rgba(130, 190, 197, 0.652); */
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
h1 {
  font-family: "Times New Roman", serif;
  font-weight: bold;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  color: black;
}

.map-container {
  position: relative;
  opacity: 0;
  animation: slideInLeft 1s ease-out forwards;
}

.contact-info p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #0f0e0e;
  opacity: 0;
  animation: slideInRight 1s ease-out forwards;
  animation-delay: 0.5s;
}
.contact-info {
  left: 150px;
  position: relative;
}

.contact-info i {
  font-size: 20px;
  color: #a94442;
  margin-right: 10px;
}

.form-control {
  border-radius: 8px;
  border: 1px solid #dcdcdc;
  padding: 10px 15px;
  opacity: 0;
  animation: fadeIn 1s ease-out forwards;
  animation-delay: 1s;
}

textarea.form-control {
  resize: none;
}
.send-button {
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.send-button:hover {
  background-color: #004085;
  transform: scale(1.1);
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.animate-slide-in-left {
  animation: slideInLeft 1s ease-out forwards;
}

.animate-slide-in-right {
  animation: slideInRight 1s ease-out forwards;
}

@media (max-width: 568px) {
  .contact-info {
    left: 10px;
    position: relative;
  }
}

h3 {
  font-weight: bold;
}

.list-unstyled li {
  margin-bottom: 10px;
}

i {
  margin-right: 8px;
}

.captcha {
  font-weight: bold;
  font-size: 1.2rem;
  font-family: "Courier New", Courier, monospace;
  border: 1px solid #ccc;
  padding: 5px;
  background-color: #f8f9fa;
}

form {
  background-color: #f4f4f4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateX(50px);
  animation: slideInRight 0.5s forwards;
  animation-delay: 0.3s;
}

form .form-control {
  border-radius: 5px;
}

.btn-primary {
  background-color: #4a49c2;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 16px;
}

.btn-primary:hover {
  background-color: #3b3aa0;
}

/* Animation Keyframes */
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Initially hide elements for animation */
.address,
.contact-form {
  opacity: 0;
}

.visible {
  animation: slideInLeft 0.5s forwards;
}

.visible-right {
  animation: slideInRight 0.5s forwards;
}

.list-unstyled li {
  font-size: 18px;
  line-height: 40px;
}
.px-5 {
  position: relative;
  /* top:90px; */
  left: 80px;
}
.form {
  position: relative;
  right: 120px;
}
#contact {
  /* background: linear-gradient(135deg, #6E48AA, #9D50BB); */
  color: white;
}

h2 {
  font-size: 36px;
  font-weight: 600;
}

.form-control {
  border: 1px solid #9d50bb;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  color: #0c0b0b;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background-color: #9d50bb;
  border-color: #9d50bb;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-primary:hover {
  background-color: #6e48aa;
  border-color: #6e48aa;
}

#formAlert {
  text-align: center;
}
#contactForm {
  border: 1px solid white;
  padding: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.477);
  /* background: transparent; */
}
label {
  color: black;
}

@media (max-width: 768px) {
  #contact {
    padding: 2rem 1rem;
  }

  h2 {
    font-size: 28px;
  }
  .heading {
    font-size: 40px;
  }

  .form-control {
    font-size: 14px;
  }
  .px-5 {
    position: relative;
    /* top:90px; */
    left: 0px;
  }
  .form {
    position: relative;
    right: 0px;
  }
  .px-5 {
    top: -50px;
  }
}
/* footer */
.footer {
  background-color: #333;
  color: #fff;
  padding: 30px 0;
}

.footer h4 {
  margin-bottom: 20px;
  color: #fff;
}

.footer p {
  margin: 0;
  color: #ccc;
}

.footer .form-group input,
.footer .form-group textarea {
  background-color: #444;
  border: 1px solid #555;
  color: #fff;
}

.footer .form-group input::placeholder,
.footer .form-group textarea::placeholder {
  color: #ccc;
}

.footer .btn-primary {
  background-color: #ff9000;
  border-color: #ff9000;
}

.footer .btn-primary:hover {
  background-color: #e87e00;
  border-color: #e87e00;
}

.footer .map-container iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

.footer .fa-phone,
.footer .fa-envelope {
  margin-right: 10px;
}
