@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Open Sans", sans-serif;
}

section {
  margin: 0;
  padding: 0;
  gap: 0;
}

html,
body {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease;
}

.slide {
  position: relative;
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  color: white;
  font-size: 1.5rem;
  text-align: center;
  opacity: 0;
  transition: top 0.8s ease, opacity 0.8s ease, transform 0.8s ease;
}

.slide.active .caption {
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}

.caption p {
  width: 500px;
  font-weight: 300;
  letter-spacing: 1px;
  visibility: visible;
  font-size: 40px;
  margin-bottom: 10px;
}
.caption a {
  text-decoration: none;
  background-color: rgb(34, 34, 34);
  color: white;
  padding: 10px 14px;
  font-size: 8px;
  letter-spacing: 2px;
  font-weight: 800;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.185);
  color: white;
  border: none;
  padding: 40px;
  cursor: pointer;
  z-index: 2;
  opacity: 0.8;
  transition: background-color 0.3s;
}

.slider-btn:hover {
  background-color: white;
  color: gray;
}

.prev {
  left: 0;
  font-size: 20px;
}

.next {
  right: 0;
  font-size: 20px;
}

.prev-img,
.next-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%) scale(0.8);
  width: 110px;
  height: 110px;
  display: none;
  z-index: 1;
  object-fit: cover;
  transition: transform 0.3s ease, opacity 0.3s ease;
  animation: fadeIn 0.5s ease forwards; /* New animation */
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}

.prev-img {
  left: 100px;
}

.next-img {
  right: 100px;
}

.slider-btn:hover + .prev-img {
  display: block;
  transform: translateY(-50%) translateX(-50px);
  opacity: 1;
}

.slider-btn:hover + .next-img {
  display: block;
  transform: translateY(-50%) translateX(50px);
  opacity: 1;
}

.slide.active .caption {
  top: 50%;
  transform: translate(-50%, -50%);
  opacity: 1;
}
@media only screen and (max-width: 1024px) {
  .slider-container {
    height: 450px;
  }

  .caption p {
    font-size: 2rem;
    width: 80%;
    margin: 10px auto;
  }

  .slider-btn {
    padding: 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    font-size: 18px;
    padding: 12px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .prev-img,
  .next-img {
    width: 90px;
    height: 90px;
  }

  .caption a {
    font-size: 14px;
    padding: 8px 12px;
  }

  .slider-btn {
    padding: 15px;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .caption {
    visibility: hidden;
  }

  .slide.active .caption {
    visibility: visible;
  }
}

@media only screen and (max-width: 768px) {
  .slider-container {
    height: 350px;
  }

  .caption p {
    font-size: 1.5rem;
    width: 90%;
    margin: 10px auto;
  }

  .slider-btn {
    padding: 15px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    font-size: 16px;
    padding: 10px;
  }

  .slider-btn.prev {
    left: 10px;
  }

  .slider-btn.next {
    right: 10px;
  }

  .prev-img,
  .next-img {
    width: 70px;
    height: 70px;
  }

  .caption a {
    font-size: 12px;
    padding: 6px 10px;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .caption {
    visibility: hidden;
  }

  .slide.active .caption {
    visibility: visible;
  }
}

@media only screen and (max-width: 480px) {
  .slider-container {
    height: 300px;
  }

  .caption p {
    font-size: 1rem;
    width: 300px;
    font-weight: 300;
  }

  .caption a {
    font-size: 2px;
  }

  .slider-btn {
    padding: 12px;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
  }

  .slider-btn.prev,
  .slider-btn.next {
    font-size: 14px;
    padding: 8px;
  }

  .slider-btn.prev {
    left: 5px;
  }

  .slider-btn.next {
    right: 5px;
  }

  .prev-img,
  .next-img {
    width: 60px;
    height: 60px;
  }

  .caption a {
    font-size: 10px;
    padding: 5px 8px;
  }

  .slider-btn {
    padding: 8px;
  }
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 10;
}
.nav_container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgb(34, 34, 34);
  height: 80px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-heading {
  padding-left: 30px;
  color: white;
  font-weight: 900;
  font-size: 16px;
}

.logo-heading h1 {
  font-weight: bold;
}

.nav-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 5rem;
}

.nav-bar a {
  text-decoration: none;
  margin: 20px;
  color: rgb(76, 85, 67);
  font-size: 14px;
}


.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
  height: 25px;
  width: 30px;
  margin-right: 20px;
  background: transparent;
  border: none;
}

.menu-toggle span {
  width: 30px;
  height: 3px;
  background-color: white;
}

.nav-bar a:hover,
.nav-bar a.active {
  color:white;
}



@media (max-width: 768px) {
  .nav-bar {
    display: none;
    width: 100%;
    position: absolute;
    top: 80px;
    left: 0;
    background-color: rgb(34, 34, 34);
    flex-direction: column;
    align-items: center;
  }

  .nav-bar a {
    margin: 10px;
    font-size: 18px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-bar.active {
    display: flex;
  }
}

.back-image{
  width: 100%;
  height: 300px;
  background-image: url('assets/imagebg.jpg');
  filter:opacity(0.9);
}

.back-image p{
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  font-size: 55px;
  font-weight: 900;
  color: white;
  letter-spacing: 2px;
}


@media (max-width: 768px) {
  .back-image {
    height: 150px;
    background-size: cover;
  }

  .back-image p {
    font-size: 40px;
    padding-top: 40px;
  }
}

@media (max-width: 480px) {
  .back-image {
    height: 120px;
    background-size: cover;
  }

  .back-image p {
    font-size: 28px;
    padding-top: 30px;
    text-align: center;
  }
}





.contact-card{
  display:flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 50px;
}

.contact-card1{
  text-align: center;
  width: 300px;
  height: 220px;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.1);
  border: none;
}
.contact-card1 .contact-img{
  padding: 30px;
  font-size: 55px;
}

.contact-card1 .contact-card-info a{
  text-decoration: none;
  color: rgb(116, 118, 128);
}

.contact-card1 .contact-card-info a:hover{
  color: rgb(34, 34, 34);
}

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
  .contact-card {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 30px 20px;
  }

  .contact-card1 {
    width: 100%;
    max-width: 400px;
    height: auto;
    padding: 20px;
    box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.1);
  }

  .contact-card1 .contact-img {
    font-size: 45px;
    padding: 20px;
  }

  .contact-card1 .contact-card-info a {
    font-size: 14px;
    text-align: center;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .contact-card {
    margin: 20px 10px;
    gap: 20px;
  }

  .contact-card1 {
    width: 100%;
    max-width: 300px;
    padding: 15px;
  }

  .contact-card1 .contact-img {
    font-size: 35px;
    padding: 15px;
  }

  .contact-card1 .contact-card-info a {
    font-size: 12px;
    text-align: center;
  }
}


.contact {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-right: 40px;
}

.heading-contact {
  color: white;
  margin: auto;
  margin-bottom: 20px;
  width: 230px;
  text-align: center;
}
.heading-contact h2 {
  background-color: rgb(34, 34, 34);
  font-weight: 200;
  font-size: 30px;
  letter-spacing: 1px;
  padding: 5px 0px 5px 0px;
}


.contact-section {
  width: 50%;
  margin: 20px;
  padding: 70px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

label {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

input[type="text"],
input[type="email"] {
  width: 100%;
  padding: 10px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
}

input[type="text"]:focus,
input[type="email"]:focus {
  outline: none;
  border-color: #007bff;
}

input[type="submit"] {
  background-color: rgb(116, 118, 128);
  color: white;
  padding: 10px 50px;
  font-size: 16px;
 margin: auto;
  align-items: center;
  border: none;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
  background-color: rgb(34, 34, 34);
  color: white;
}

#nameError,
#emailError,
#phoneError,
#messageError {
  font-size: 14px;
  margin-top: 4px;
  color: red;
}

.map {
  margin-top: 10px;
  width: 50%;
}

iframe {
  width: 100%;
  height: 550px;
  border: none;
  border-radius: 8px;
}

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
  .contact {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-right: 0;
    padding: 0 20px;
  }

  .contact-section {
    width: 100%;
    margin: 0;
    padding: 50px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-group {
    width: 100%;
  }

  .map {
    width: 100%;
    margin-top: 20px;
  }

  iframe {
    height: 400px;
  }

  .heading-contact h2 {
    font-size: 24px;
    padding: 10px 0;
  }

  label {
    font-size: 14px;
  }

  input[type="text"],
  input[type="email"] {
    font-size: 13px;
  }

  input[type="submit"] {
    padding: 10px 30px;
    font-size: 14px;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .contact-section {
    padding: 30px 15px;
  }

  .heading-contact h2 {
    font-size: 20px;
  }

  .form-row {
    gap: 10px;
  }

  label {
    font-size: 12px;
  }

  input[type="text"],
  input[type="email"] {
    padding: 8px;
    font-size: 12px;
  }

  input[type="submit"] {
    padding: 8px 20px;
    font-size: 12px;
  }

  .map iframe {
    height: 300px;
  }
}




/* General Footer Styling */
footer {
  background-color: rgb(42, 42, 42);
  color: white;
  padding: 20px 0;
}

.footer-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-card2{
  margin-left: 40px;
}
.footer-card1,
.footer-card2 {
  width: 300px;
  padding: 20px;
  margin-top: 30px;
  box-sizing: border-box;
}


.n1{
  background-color: white;
  height: 4px;
  margin-left: 0px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 80px;
}
.n2{
  background-color: white;
  height: 4px;
  margin-left: 100px;
  margin-top: 10px;
  margin-bottom: 20px;
  width: 80px;
}
.footer-card3 {
  width: 400px;
  padding: 20px;
  margin-top: 25px;
  margin-left: 50px;
  box-sizing: border-box;
}

/* Heading Styling */
.footer-card1 .heading h2,
.footer-card2 .heading h2,
.footer-card3 .heading h2 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 2px;
}

.footer-card2 .heading h2{
  text-align: center;
}

/* Social Icon Styling */
.social-icon {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.footer-card1 a {
  text-decoration: none;
  border-radius: 50%;
  padding: 4px;
  border: 2px solid white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-card1 a i {
  color: white;
  padding: 10px;
  font-size: 20px;
}


.footer-card2 .links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-card2 .links a {
  text-decoration: none;
  text-align: left;
  margin-left: 100px;
  color: white;
  font-size: 16px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}
.footer-card1 .social-icon a:hover{
  background-color: white;
}

.footer-card1 .social-icon a i:hover{
  color: black;
}

.footer-card2 .links a:hover {
  color: rgb(116, 118, 128);
}

/* Contact Info Section */
.footer-card3 .footer-contact-info {
  margin-bottom: 20px;
}

.footer-card3 .footer-contact-info .address,
.footer-card3 .footer-contact-info .contact {
  display: flex;
  align-items: center;
}

.footer-card3 .footer-contact-info h2 {
  margin: 0;
  font-size: 16px;
  color: rgb(248, 245, 245);
}

.footer-card3 .address-main,
.footer-card3 .contact-main,
.footer-card3 .email-main {
  padding-top: 10px;
  font-size: 16px;
  color: #adadad;
  margin-left: 30px;
}

.footer-card3 .address-main a,
.footer-card3 .contact-main a,
.footer-card3 .email-main a {
  text-decoration: none;  
  font-size: 16px;
  color: white;
  padding-top: 0;
  transition: color 0.3s ease;
}

.footer-card3 .address-main a:hover,
.footer-card3 .contact-main a:hover,
.footer-card3 .email-main a:hover {
  color: rgb(73, 76, 92);
}

/* Tablet Devices (768px and below) */
@media (max-width: 768px) {
  .footer-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
  }

  .footer-card1,
  .footer-card2,
  .footer-card3 {
    width: 100%;
    margin: 0;
    padding: 20px 10px;
    text-align: center; /* Central alignment for tablet devices */
  }

  .footer-card2 .links a {
    margin-left: 10px;
    font-size: 14px;
    text-align: center;
  }

  .footer-card3 .address-main,
  .footer-card3 .contact-main,
  .footer-card3 .email-main {
    margin-left: 0;
    padding-top: 5px;
    text-align: left;
    font-size: 14px;
  }

  .footer-card1 a i {
    font-size: 16px;
    padding: 8px;
  }

  .footer-card3 .footer-contact-info h2 {
    font-size: 14px;
  }

  .n1, .n2 {
    width: 50px;
    margin-top: 10px;
    margin-left: 0;
  }
}

/* Mobile Devices (480px and below) */
@media (max-width: 480px) {
  .footer-cards {
    gap: 10px;
  }

  .footer-card1,
  .footer-card2,
  .footer-card3 {
    padding: 10px;
    text-align: center;
  }

  .footer-card1 a i {
    font-size: 14px;
    padding: 6px;
  }

  .footer-card1 .heading h2,
  .footer-card2 .heading h2,
  .footer-card3 .heading h2 {
    text-align: center;
    padding: 15px;
  }

  .footer-card2 .links a {
    margin-left: 0;
    text-align: center;
    font-size: 12px;
  }

  .social-icon {
    justify-content: center;
    gap: 15px;
  }

  .footer-card3 .footer-contact-info h2 {
    font-size: 12px;
  }

  .footer-card3 .address-main,
  .footer-card3 .contact-main,
  .footer-card3 .email-main {
    font-size: 12px;
  }

  .footer-contact{
    margin-left: 20px;
  }

  .footer-card3 i {
    padding-right: 20px;
  }

  .n1 {
    width: 50px;  
    margin: auto;
    margin-bottom: 15px;/* Center alignment for n1 */
  }

  .n2 {
    width: 50px;
    margin: auto; 
    margin-bottom: 15px;
  }
}
