
  
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700;800&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

:root {
    --heading-font-size: 44px; /* For headings */
    --subheading-font-size: 34px; /* For subheadings */
    --paragraph-font-size: 1rem; /* For paragraphs */
  }

.contact-bg {
    height: 90vh;
    background: radial-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.8)), rgb(255, 252, 252) url(img_page/project_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 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%;
  }
}

/* Header */
.header {
    text-align: center;
    background-color: #333;
    color: white;
    padding:30px;
}

.header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.header p {
    font-size: 1.2rem;
    margin-top: 0;
}

/* Projects Section */
.projects {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    
}

.project-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 300px; /* Fixed width for the box */
    height: 300px; /* Fixed height for the box */
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
  
}

.project-card img {
    width: 100%;           /* Ensure the image takes up full width of the card */
    height: 200px;
    background-color: #7b2cbf;         
    object-fit: contain;   /* Ensures the image scales down and stays inside the box */
    border-bottom: 1px solid #ddd; /* Optional: Separates the image visually */      
}

.project-card h3 {
    font-size: 1.5rem;
    margin: 15px 0 10px;
}

.project-card p {
    color: #666;
    margin: 0 15px 20px;
}



.copywrite {
    padding-top: 15px;
    padding-bottom: 15px;
    text-align: center;
}



h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 400;
    margin-top: 30px;
    text-align: center;
  }
.projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
  }
  
  .project {
    background-color:  #753BBD;
    margin: 15px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-radius: 10px;
  }
  
  .logo {
    width: 100%;
    height: auto;
    max-width: 200px;
    background-color: #753BBD;
    border-radius: 10px;
  }
  
  .project-link {
    display: inline-block;
    text-decoration: none;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
  }
  

 /* Client Testimonials Section */
.testimonials {
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
  }
  
  .testimonials h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #333;
  }
  
  .testimonial-card {
    background-color: #f8f9fa;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    max-width: 600px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(50px);
    animation: slideIn 1s forwards;
  }
  
  .testimonial-card:nth-child(1) {
    animation-delay: 0.2s;
  }
  
  .testimonial-card:nth-child(2) {
    animation-delay: 0.4s;
  }
  
  .testimonial-card:nth-child(3) {
    animation-delay: 0.6s;
  }
  
  .quote {
    font-size: 1.25rem;
    font-style: italic;
    color: #555;
    margin-bottom: 10px;
  }
  
  .client-name {
    font-size: 1rem;
    color: #333;
    font-weight: bold;
  }
  
  .stars {
    margin: 10px 0;
  }
  
  .star {
    color: #FFD700; /* Golden star color */
    font-size: 1.5rem;
  }
  
  @keyframes slideIn {
    0% {
      opacity: 0;
      transform: translateY(50px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }


  .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.5%; /* 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;
}
}
