@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800&display=swap");

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.5;
    background-color: #f4f2f2;
    
}

:root {
  --heading-font-size: 44px; /* For headings */
  --subheading-font-size: 34px; /* For subheadings */
  --paragraph-font-size: 1rem; /* For paragraphs */
}

.contact-bg {
    height: 80vh;
    background: radial-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), rgb(255, 252, 252) url(img_page/contact_img.jpg);
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.center {
    text-align: center;
    
}

.contact-text h2 {
    font-size: 1.7rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    padding-top: 40px;
    text-align: center;
    font-weight: 500;
    color: #0e6414;
    text-shadow: 4px -6px 18px;
    background-color:  #fafafa;
    padding-bottom: 0px;
}
.contact-text a {
    text-decoration-line: none;
    color: #14721b;
    font-weight: 1500px;

}

.contact-text i {
    padding-top: 1.8rem;
    padding-right: 4.8rem;
    padding-left: 120px;
    color: #000;
}


/* Mobile devices (Portrait) */
@media only screen and (max-width: 480px) {
  .contact-bg {
      height: 60vh;
      padding: 0 1rem;
  }
  .contact-bg h2 {
      font-size: 1.8rem;
      letter-spacing: 2px;
  }
  .about-content p {
      padding: 20px;
      text-align: justify;
  }
  .contact-text h2 {
      font-size: 1.2rem;
      padding-top: 20px;
  }
  .contact-text i {
      padding: 0 10px 10px;
      padding-top: 10%;
  }
  .img {
      padding-left: 0;
      text-align: center;
  }
  .line div:nth-child(1),
  .line div:nth-child(2) {
      width: 50px;
  }
  .contact-form form div {
      grid-template-columns: 1fr;
  }
  .contact-form > div img {
      width: 100%;
  }
}

/* Tablets (Portrait) */
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .contact-bg {
      height: 70vh;
  }
  .contact-bg h2 {
      font-size: 2.2rem;
      letter-spacing: 3px;
  }
  .about-content p {
      padding-left: 50px;
      padding-right: 50px;
      padding-bottom: 50px;
      text-align: justify;
  }
  .contact-text h2 {
      font-size: 1.5rem;
      padding-top: 30px;
  }
  .contact-text i {
      padding-left: 50px;
      padding-right: 50px;
      padding-top: 20px;
  }
  .img {
      padding-left: 0;
      text-align: center;
  }
  .line div:nth-child(1),
  .line div:nth-child(2) {
      width: 60px;
  }
  .contact-form form div {
      grid-template-columns: 1fr;
  }
  .contact-form > div img {
      width: 90%;
  }
}

/* Laptops (Landscape) */
@media only screen and (min-width: 769px) and (max-width: 1024px) {
  .contact-bg {
      height: 75vh;
  }
  .contact-bg h2 {
      font-size: 2.5rem;
      letter-spacing: 3px;
  }
  .about-content p {
      padding-left: 150px;
      padding-right: 150px;
      padding-top: 35px;
      padding-bottom: 60px;
      text-align: justify;
  }
  .contact-text h2 {
      font-size: 1.6rem;
      padding-top: 35px;
  }
  .contact-text i {
      padding-left: 80px;
      padding-right: 80px;
      padding-top: 30px;
  }
  .img {
      padding-left: 0;
      text-align: center;
  }
  .line div:nth-child(1),
  .line div:nth-child(2) {
      width: 65px;
  }
  .contact-form > div img {
      width: 95%;
  }
}

/* Desktops (Large screens) */
@media only screen and (min-width: 1025px) {
  .contact-bg {
      height: 90vh;
  }
  .contact-bg h2 {
      font-size: 3rem;
      letter-spacing: 4px;
  }
  .about-content p {
      padding-left: 250px;
      padding-right: 250px;
      padding-top: 30px;
      padding-bottom: 100px;
      text-align: justify;
  }
  .contact-text h2 {
      font-size: 1.7rem;
      padding-top: 40px;
      padding-bottom: 50px;
  }
  .contact-text i {
      padding-left: 120px;
      padding-right: 120px;
      padding-top: 40px;
  }
  .img {
      padding-left: 500px;
      text-align: left;
  }
  .line div:nth-child(1),
  .line div:nth-child(2) {
      width: 70px;
  }
  .contact-form > div img {
      width: 85%;
  }
}

.conatct {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 7rem;
    background-color: #fafafa;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .form {
    width: 100%;
    max-width: 820px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    background-color: #4ddb75;
    position: relative;
    
  }
  
  .circle {
    border-radius: 50%;
    background: linear-gradient(135deg, transparent 20%, #149279);
    position: absolute;
  }
  
  .circle.one {
    width: 130px;
    height: 130px;
    top: 130px;
    right: -40px;
  }
  
  .circle.two {
    width: 80px;
    height: 80px;
    top: 10px;
    right: 30px;
  }
  
  .contact-form:before {
    
    position: absolute;
    width: 26px;
    height: 26px;
    background-color: #4ddb75;
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
  }
  
  form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
  }
  
  .title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
  }
  
  .input-conatct {
    position: relative;
    margin: 1rem 0;
  }
  
  .input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
  }
  
  textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 22px;
    resize: none;
    overflow-y: auto;
  }

  .btn {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    color: #4ddb75;
    line-height: 1;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
  }
  
  .btn:hover {
    background-color: transparent;
    color: #fff;
  }
  

  
 

  .contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
  }
  
  .contact-info .title {
    color:#4ddb75;
  }
  
  .text {
    color: #333;
    margin: 1.5rem 0 2rem 0;
  }
  
  .information {
    display: flex;
    color: #555;
    margin: 0.7rem 0;
    align-items: center;
    font-size: 0.95rem;
  }
  
  .icon {
    width: 28px;
    margin-right: 0.7rem;
  }
  
  .social-media {
    padding: 2rem 0 0 0;
  }
  
  .social-media p {
    color: #333;
  }
  
  .social-icons {
    display: flex;
    margin-top: 0.5rem;
  }
  
  .social-icons a {
    width: 35px;
    height: 35px;
    border-radius: 5px;
    background: linear-gradient(#4ddb75 #5bfc80);
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    transition: 0.3s;
  }
  
  .social-icons a:hover {
    transform: scale(1.05);
  }
  
  .contact-info:before {
    content: "";
    position: absolute;
    width: 110px;
    height: 100px;
    border: 22px solid a;
    border-radius: 50%;
    bottom: -77px;
    right: 50px;
    opacity: 0.3;
  }
  .contact map iframe{
      height: 500px;
      width:100%
  }
  
  @media (max-width: 850px) {
    .form {
      grid-template-columns: 1fr;
    }
  
    .contact-info:before {
      bottom: initial;
      top: -75px;
      right: 65px;
      transform: scale(0.95);
    }
  
    .contact-form:before {
      top: -13px;
      left: initial;
      right: 70px;
    }
  
    .square {
      transform: translate(140%, 43%);
      height: 350px;
    }
  
    .big-circle {
      bottom: 75%;
      transform: scale(0.9) translate(-40%, 30%);
      right: 50%;
    }
  
    .text {
      margin: 1rem 0 1.5rem 0;
      /* Ensures the text stays on one line */
      overflow: hidden; /* Prevents overflow if the text exceeds the container width */
      text-overflow: ellipsis;
   
    }
  
    .social-media {
      padding: 1.5rem 0 0 0;
    }
    .contact map iframe {
          height: 500px;  
          width: 90%; 
  }

  @media (max-width: 480px) {
    .conatct {
      padding: 1.5rem;
    }
  
    .contact-info:before {
      display: none;
    }
  
    .square,
    .big-circle {
      display: none;
    }
  
    form,
    .contact-info {
      padding: 1.7rem 1.6rem;
    }
  
    .text,
    .information,
    .social-media p {
      font-size: 0.8rem;
    }
  
    .title {
      font-size: 1.15rem;
    }
  
    .social-icons a {
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
  
    .icon {
      width: 23px;
    }
  
    .input {
      padding: 0.45rem 1.2rem;
    }
  
    .btn {
      padding: 0.45rem 1.2rem;
    }
    .contact map iframe {
      height: 300px;  
      width: 100%;}
  }
}

  /* Map Section */
.map-section {
    padding:80px 20px;
    /* Increased padding for better spacing */
    background-color:#f5f5f5;
    text-align:center;
    position:relative;
    overflow:hidden;
    /* Prevent overflow when scaling */
  }
  .map-section .map-heading {
    font-size:2.3rem;
    /* Increased font size */
    font-weight:700;
    
    margin-bottom:30px;
    transition:transform 0.4s ease,color 0.4s ease;
    letter-spacing:1px;
    /* Added letter spacing for a more stylish look */
  }
  .map-section .map-description {
    font-size:18px;
    /* Increased font size */
    color:#777;
    margin-bottom:30px;
    transition:color 0.3s ease;
    line-height:1.5;
    /* Increased line height for better readability */
  }
  .map iframe {
    width:100%;
    height:450px;
    border:none;
    box-shadow:0 4px 20px rgba(0,0,0,0.15);
    /* Enhanced box shadow for depth */
    border-radius:10px;
    /* Rounded corners for a smoother look */
    transition:transform 0.3s ease,box-shadow 0.3s ease;
    filter:brightness(90%);
    /* Slight dimming for an elegant feel */
  }
  .map iframe:hover {
    transform:scale(1.05);
    /* Zoom effect on hover */
    box-shadow:0 10px 30px rgba(123,44,191,0.3);
    /* Glowing shadow on hover */
    filter:brightness(100%);
    /* Brighten on hover */
  }
  /* Map Section Animation */
  .map-section {
    animation:fadeInUp 1s ease-out forwards;
    /* Added fade-in and slide-up effect */
  }
  @keyframes fadeInUp {
    from {
    opacity:0;
    transform:translateY(20px);
  }
  to {
    opacity:1;
    transform:translateY(0);
  }
  }/* Additional Hover Effects for Map Container */


  .copywrite {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
    
}



.navbar-home{
  padding-left: 1700%;
}



/* Navbar Styling */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #14330a60;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand a {
  font-size: var(--subheading-font-size);
  font-weight: bold;
  margin-left: 25px;
  text-decoration: none;
  color: #ffff;
}

/* Align hamburger menu near SarabaN font */
.navbar-toggle {
  cursor: pointer;
  font-size: 1.5rem;
  color: white;
  display: flex;
  margin-left: 20px;
}

/* Logo placement */
.navbar-logo {
  width: auto;
  height: 60px;
  margin-right: 20px;
}

/* Navbar Links Styling */
.navbar-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  background-color: #14330a60;
  position: fixed;
  top: 0;
  left: -100%; /* Start off-screen to the left */
  width: 15%; /* Adjust width as needed */
  height: 100%; /* Full height */
  padding: 2rem 1rem;
  padding-left: 40px;
  transition: left 0.4s ease; /* Smooth transition */
}

.navbar-links.active {
  left: 0; /* Slide into view */
}

.navbar-links li {
  padding: 0.7rem 0;
}

.navbar-links a {
  text-decoration: none;
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.navbar-links a:hover {
  color: #229d00;
}



/* Close button styling */
.navbar-links .close-btn {
  align-self: flex-end; /* Align the button to the right */
  margin-right: 10px;
  margin-bottom: 1rem;
  cursor: pointer;
}

.navbar-links .close-btn i {
  font-size: 1.5rem;
  color: white;
  transition: color 0.3s ease;
}


/* Mobile devices (up to 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 15px 10px; /* Reduce padding for smaller screens */
    display:flex;
  }

  .navbar-brand a {
    font-size: 1.2rem; /* Adjust font size for mobile */
  }

  .navbar-toggle {
    font-size: 1.5rem; /* Hamburger menu size */
  }

  .navbar-logo {
    height: 50px; /* Logo smaller on mobile */
  }

  .navbar-links {
    width: 50%; /* Adjust navbar width for mobile */
    padding-left: 30px; /* Reduce padding */
    padding-top: 25px;
  }

  .navbar-links li {
    padding: 0.5rem 0; /* Adjust padding for list items */
  }

  .navbar-links a {
    font-size: 1.4rem; /* Adjust font size */
  }
  .navbar-home {
    position: absolute;
    top: 25px;
    right: 20px;
    padding-right: 30px;
}
}

/* Tablet devices (481px to 768px) */
@media (min-width: 481px) and (max-width: 768px) {
  .navbar {
    padding: 20px 15px; /* Adjust padding */
  }

  .navbar-brand a {
    font-size: 1.5rem; /* Slightly larger text for tablet */
  }

  .navbar-toggle {
    font-size: 1.5rem; /* Same as mobile */
  }

  .navbar-logo {
    height: 55px; /* Slightly larger logo */
  }

  .navbar-links {
    width: 50%; /* Adjust navbar width */
    padding-left: 35px; /* Adjust padding */
    padding-top: 27px;
  }

  .navbar-links a {
    font-size: 1.5rem; /* Slightly larger font size */
  }
  .navbar-home {
    position: absolute;
    top: 30px;
    right: 20px;
    padding-right: 40px;
  }
}

/* Laptop devices (769px to 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    padding: 25px 20px; /* Standard padding */
  }

  .navbar-brand a {
    font-size: 1.7rem; /* Adjust font size */
  }

  .navbar-toggle {
    font-size: 1.7rem; /* Consistent hamburger size */
  }

  .navbar-logo {
    height: 60px; /* Standard logo size */
  }

  .navbar-links {
    width: 33%; /* More space for links */
    padding-left: 40px; /* Standard padding */
    padding-top: 35px;
  }

  .navbar-links a {
    font-size: 1.4rem; /* Larger font size */
  }
  .navbar-home {
    position: absolute;
    top: 30px;
    right: 20px;
    padding-right: 40px;
}
}

/* Desktop devices (1025px and above) */
@media (min-width: 1025px)  {
  .navbar {
    padding: 25px 20px; /* Keep standard padding */
  }

  .navbar-brand a {
    font-size: 1.8rem; /* Larger font size for desktops */
  }

  .navbar-toggle {
    font-size: 1.8rem; /* Adjust hamburger menu size */
  }

  .navbar-logo {
    height: 50px; /* Larger logo size for desktop */
  }

  .navbar-links {
    width: 25%; /* Adjust width for larger screens */
    padding-left: 50px; /* Slightly larger padding */
    padding-top: 30px;
  }

  .navbar-links a {
    font-size: 1.5rem; /* Larger font size for desktop */
  }
  .navbar-home {
    position: absolute;
    top: 30px;
    right: 20px;
    padding-right: 40px;
}

}
@media (min-width: 1414px) {
  .navbar {
    padding: 25px 20px; /* Keep standard padding */
  }

  .navbar-brand a {
    font-size: 1.8rem; /* Larger font size for desktops */
  }

  .navbar-toggle {
    font-size: 1.8rem; /* Adjust hamburger menu size */
  }

  .navbar-logo {
    height: 50px; /* Larger logo size for desktop */
  }

  .navbar-links {
    width: 15%; /* Adjust width for larger screens */
    padding-left: 50px; /* Slightly larger padding */
    padding-top: 30px;
  }

  .navbar-links a {
    font-size: 1.5rem; /* Larger font size for desktop */
  }
  .navbar-home {
    position: absolute;
    top: 30px;
    right: 20px;
    padding-right: 40px;
}
}

@media (max-width:479px){
  .navbar {
    padding: 15px 10px; /* Reduce padding for smaller screens */
    
  }

  .navbar-brand a {
    font-size: 1.2rem; /* Adjust font size for mobile */
  }

  .navbar-toggle {
    font-size: 1.5rem; /* Hamburger menu size */
  }

  .navbar-logo {
    height: 50px; /* Logo smaller on mobile */
  }

  .navbar-links {
    width: 75%; /* Adjust navbar width for mobile */
    padding-left: 30px; /* Reduce padding */
    padding-top: 25px;
  }

  .navbar-links li {
    padding: 0.5rem 0; /* Adjust padding for list items */
  }

  .navbar-links a {
    font-size: 1.4rem; /* Adjust font size */
  }
  .navbar-home {
    position: absolute;
    top: 25px;
    right: 20px;
    padding-right: 10px;
}
}

