body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

/* Styles for the navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 10vh;
  padding: 0 20px;
  background-color: #d8c6c2;
  transition: all 0.3s ease;
}

.logo {
  height: 60px;
  width: auto;
  transition: all 0.3s ease;
}

.nav-links {
  position: absolute;
  bottom: 14px;
  right: 30px;
  display: flex end;
  gap: 15px;
}

.nav-links a {
  color: rgb(36, 35, 35);
  text-decoration: none;
  padding: 14px 20px;
  transition: color 0.3s, transform 0.3s;
  position: relative;
}

.nav-links a:hover {
  color: red;
  transform: scale(1.1);
}

.nav-links a::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 8px;
  left: 0;
  background-color: red;
  transition: width 0.3s;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a.active::before {
  width: 100%;
}

.nav-links a.active {
  color: red;
  transform: scale(1.1);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: calc(100% + 12px); /* Adjust to position below the dropdown toggle */
  left: 0;
  background-color: #d8c6c2;
  min-width: 230px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  flex-direction: column;
  font-size: small;
  font-family: Arial, Helvetica, sans-serif;
}

.dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  transition: background-color 0.3s;
}

.dropdown-content a:hover {
  background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
  display: flex;
}

.social-icons {
  position: absolute;
  top: 15px;
  right: 50px;
  display: flex;
  gap: 10px;
}

.social-icons i {
  color: rgb(15, 14, 14);
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.hamburger i {
  font-size: 24px;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
      position: fixed;
      top: 10vh;
      left: 0;
      width: 100%;
      height: 50vh;
      background-color: #d8c6c2;
      flex-direction: column;
      display: flex;
      align-items: center;
      justify-content: center;
      transform: translateX(-100%);
      transition: transform 0.3s ease-in-out;
      z-index: 999;
  }

  .nav-links.show {
      transform: translateX(0);
  }

  .nav-links a {
      padding: 8px;
      font-size: 15px;
  }

  .dropdown-content {
      position: relative;

  }

  .dropdown-content {
      position: absolute;
      top: 130%;
      min-width: 250px;
      min-height: 700%;
      font-size: xx-small;
      
      

  }

  .social-icons {
    position: absolute;
    top: 29px;
    right: 50%;
    transform: translateX(50%);
}

  .hamburger {
      display: block;
  }
}


.maincon img{
    width: 100%;
}

.header h1{
    margin-left: 26%;
    margin-top: 2%;
    
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
  }
  .container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
    margin-left: 25%;
  }
  .section {
    margin-bottom: 40px;
  }
  .flex-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap; /* Allow content to wrap */
    position: relative;
  }
  .flex-container img {
    
    margin-right: 20px;
    max-width: 230px; /* Adjust as needed */
    height: auto;
  }
  .flex-container .content {
    width: calc(80% - 220px); /* Adjust as needed */
  }
  .flex-container h2, .flex-container p {
    color: black; /* Default text color */
  }

  

  
  .flex-container a {
    /* text-decoration: none; */
    font-size: small;
    color: black;
    /* font-weight: bold; */
    display: inline-block;
    margin-top: 10px;
  }
  .flex-container a:hover {
    color: red;
  }
  hr {
    width: 83%;
    margin: 30px 0;
  }

  .hidden-content {
    display: none;
  }

  
  

  .view-more, .view-less {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
  }

/* Normal CSS styles remain the same */

/* Media Queries */
@media only screen and (max-width: 1200px) {
    .container {
      margin-left: 10%; /* Adjust margin for smaller screens */
    }
    
    .flex-container img {
      max-width: 180px; /* Reduce image size */
    }
    
    .flex-container .content {
      width: calc(100% - 180px); /* Adjust content width */
    }
    
    /* Center-align h2 headings in smaller screens */
    .flex-container .content h2 {
      text-align: center;
    }
  }
  
  @media only screen and (max-width: 768px) {
    .container {
      margin-left: 5%; /* Further adjust margin for smaller screens */
      padding: 0 10px; /* Adjust padding */
    }
    
    .flex-container {
      flex-direction: column; /* Stack items vertically */
    }
    
    .flex-container img {
      margin-right: 0;
      margin-bottom: 10px; /* Adjust spacing */
      max-width: 100%; /* Make images full-width */
    }
    
    .flex-container .content {
      width: 100%; /* Full width for content */
    }
    
    /* Center-align h2 headings in smaller screens */
    .flex-container .content h2 {
      text-align: center;
    }
  }
  
  @media only screen and (max-width: 480px) {
    .content h2 {
      font-size: 18px; /* Decrease heading font size */
    }
    
    .flex-container p {
      font-size: 14px; /* Decrease paragraph font size */
    }
    
    .flex-container a {
      font-size: 12px; /* Decrease link font size */
    }
    
    /* Center-align h2 headings in smallest screens */
    .flex-container .content h2 {
      text-align: center;
    }
  }
  

/* General Footer Styling */
.footer {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #333;
    color: white;
}

.footer-column {
    flex: 1;
    margin: 0 40px;
}

.footer-column img {
    width: 160px;
    margin: 10px;
}

.footer-column a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 8px 0;
    margin-top: 20px;
    margin-left: 40px;
    transition: color 0.3s; /* Add transition effect */
}

.footer-column a:hover {
    color: red; /* Change color on hover */
}

.footer-column input {
    padding: 8px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.footer-column button {
    padding: 10px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 45px;
    transition: background-color 0.3s; /* Add transition effect */
}

.footer-column button:hover {
    background-color: darkred; /* Change color on hover */
}

.social-icons1 {
    display: flex;
    justify-content: flex-end; /* Align icons to the right */
    position: relative; /* Ensure proper positioning */
    right: 6%;
}

.social-icons1 i {
    font-size: 20px;
    cursor: pointer;
    margin: 0 2px; /* Adjusted margin between icons */
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    .footer {
        flex-direction: column; /* Stack columns vertically */
        align-items: center; /* Center align items */
        text-align: center; /* Center align text */
    }

    .footer-column {
        flex: 1 0 auto;
        margin: 10px 0;
        text-align: center;
    }

    .footer-column img {
        max-width: 120px; /* Adjust logo size for smaller screens */
    }

    .social-icons1 {
        justify-content: center; /* Center align social icons */
        margin-top: 20px;
    }

    .footer-column a {
        display: inline-block; /* Display links inline */
        margin: 5px 10px; /* Adjust margin for links */
        font-size: 12px; /* Adjust font size for smaller screens */
    }

    .footer-column p,
    .footer-column button {
        width: 100%; /* Make paragraphs and buttons full width */
        font-size: 10px; /* Adjust font size for smaller screens */
    }

    .footer-column input[type="email"] {
        width: 100%; /* Make input full width */
        margin-bottom: 10px; /* Adjust margin for input */
    }

    .footer-column button {
        height: 30px; /* Adjusted height for button on smaller screens */
        width: auto; /* Allow button width to adjust naturally */
    }
}
