
  :root {
    --primary-color: #218B82;
    --text-color: #ffffff;
    --secondary-color: #f8f9fa;
    --overlay-color: rgba(112, 95, 95, 0.5); /* 705F5F with 50% opacity */
    --gray-overlay: rgba(0, 0, 0, 0.5); /* Gray overlay with 50% opacity */
    --news-title-bg: #5EB691; /* Background color for news title */
    
  }
  .navbar {
    background-color: var(--text-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .navbar-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .navbar-brand img {
    height: 40px;
    margin-right: 10px;
    transition: transform 0.3s ease, rotate 0.3s ease; /* Logo image animation */
  }

  .navbar-brand:hover img {
    transform: scale(1.1) rotate(5deg); /* Scale up and rotate on hover */
  }

  .navbar-brand span {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .navbar-brand span::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
  }

  .navbar-brand:hover span {
    color: #155e57;
  }

  .navbar-brand:hover span::after {
    width: 100%; /* Underline animation on hover */
  }

  .nav-link {
    color: var(--primary-color) !important;
    margin: 0 10px;
    font-weight: bold; /* Bold text */
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
  }

  .nav-link:hover {
    color: #155e57 !important;
  }

  .nav-link:hover::after {
    width: 100%; /* Underline animation on hover */
  }

  /* Active Page Highlight */
  .nav-link.active {
    background-color: var(--primary-color);
    color: var(--text-color) !important;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }

  .nav-link.active::after {
    display: none; /* Remove underline for active page */
  }

  /* Collapsible Menu */
  .navbar-toggler {
    border-color: var(--primary-color);
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(33, 139, 130, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .navbar-collapse {
    background-color: var(--text-color);
  }

  .navbar-collapse .nav-link {
    color: var(--primary-color) !important;
    font-weight: bold; /* Bold text in collapsible menu */
  }

  .navbar-collapse .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
  }

  .navbar-collapse .nav-link:hover {
    color: #155e57 !important;
  }

  .navbar-collapse .nav-link:hover::after {
    width: 100%; /* Underline animation on hover */
  }

  .navbar-collapse .nav-link.active {
    background-color: var(--primary-color);
    color: var(--text-color) !important;
    border-radius: 4px;
    padding: 0.5rem 1rem;
  }

  .navbar-collapse .nav-link.active::after {
    display: none; /* Remove underline for active page */
  }


  .navbar-collapse.show ~ .overlay {
    display: block;
  }

  .navbar .btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0.70rem 1rem;
    font-size: 1rem;
    font-weight: bold;
  }

  .navbar .btn:hover {
    background-color: #155e57;
  }


    /* Hero Section */
   /* Hero Section */
  /* Hero Section */
  .hero-section {
    background-image: url(CLIENT/assets/landscape_barags.jpg); 
    background-size: cover;
    background-position: center;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate; /* Creates new stacking context */
  }

  .hero-section::before {
      content: '';
      position: absolute;
      inset: 0; /* Shorthand for top/right/bottom/left */
      background-color: rgba(79, 79, 79, 0.6); /* Pure black with 60% opacity */
      backdrop-filter: blur(2px); /* Subtle blur for depth */
  }

  .hero-section .container {
      position: relative;
      z-index: 1;
      text-align: center;
      color: var(--text-color);
      padding: 0 90px;
      max-width: 1200px; /* Prevent text from stretching too wide */
      margin: 0 auto;
  }

  .hero-section .title {
      font-size: clamp(2rem, 5vw, 3rem); /* Responsive font sizing */
      font-weight: 700;
      margin-bottom: 1.5rem;
      line-height: 1.2;
      text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3); /* Better text contrast */
  }

  .hero-section .welcome-text {
      font-size: 1.1rem;
      margin-bottom: 2.5rem;
      text-align: justify;
      line-height: 1.6;
      max-width: 800px;
      margin-left: auto;
      margin-right: auto;
      text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); /* Subtle shadow for readability */
  }

  .hero-section .btn {
      background-color: var(--primary-color);
      color: white;
      border: none;
      padding: 0.75rem 2rem;
      font-size: 1rem;
      font-weight: 600;
      border-radius: 4px; /* Slight rounding for modern look */
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Depth effect */
  }

  .hero-section .btn:hover {
      background-color: #155e57;
      transform: translateY(-2px); /* Subtle lift effect */
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  /* Responsive Adjustments for Hero Section */
  @media (max-width: 768px) {
    .hero-section .title {
      font-size: 1.5rem; /* Smaller font size for mobile */
    }

    .hero-section .welcome-text {
      font-size: 0.9rem; /* Smaller font size for mobile */
    }

    .hero-section .btn {
      padding: 0.5rem 1.5rem; /* Smaller button for mobile */
    }
  }


    /* Footer */
    footer {
      background-color: var(--primary-color);
      color: var(--text-color);
      padding: 2rem 0;
    }

    .footer-logo {
      display: flex;
      align-items: center;
      justify-content: center;
      height: 100%;
    }

    .footer-logo img {
      max-height: 150px; /* Adjust as needed */
      width: auto;
      margin: 1rem; /* Margin around the logo */
      transition: transform 0.3s ease, rotate 0.3s ease; /* Logo image animation */
    }

    .footer-logo:hover img {
      transform: scale(1.1) rotate(5deg); /* Scale up and rotate on hover */
    }

    .footer-contact {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .footer-contact p {
      margin: 0;
      text-align: justify; /* Justified text */
    }

    .footer-links {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .footer-links a {
      color: var(--text-color);
      text-decoration: none;
      margin: 5px 0;
      font-weight: bold; /* Bold text */
      position: relative;
      transition: color 0.3s ease;
    }

    .footer-links a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      background-color: var(--text-color);
      bottom: -5px;
      left: 0;
      transition: width 0.3s ease;
    }

    .footer-links a:hover {
      color: #d1e7dd; /* Lighter color on hover */
    }

    .footer-links a:hover::after {
      width: 100%; /* Underline animation on hover */
    }

    .footer-divider {
      border-left: 2px solid var(--text-color);
      height: 100%;
      margin: 0 20px;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .footer-logo, .footer-contact, .footer-links {
        text-align: center;
        margin-bottom: 1.5rem;
      }

      .footer-logo img {
        max-height: 100px;
      }

      .footer-contact p {
        text-align: center; /* Center text in mobile view */
      }

      .footer-divider {
        display: none;
      }
    }

    /* Buttons */
    .btn-primary {
      background-color: var(--primary-color);
      border: none;
      padding: 0.75rem 2rem;
      font-size: 1rem;
      font-weight: bold;
      transition: transform 0.8s ease, box-shadow 0.8s ease;
    }

    .btn-primary:hover {
      background-color: #155e57;
      transform: translateY(-5px);
      transition: transform 0.3s ease-in-out;
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }



     /* About Us Section */
    /* About Us Section */
   /* About Us Section */
   .about-section {
    padding: 4rem 0;
  }

  .about-section img {
    width: 100%;
    border-radius: 8px;
    margin-top: 3rem;
  }

  .about-section h1 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2.5rem;
  }

  .about-section p {
    color: #555;
    font-size: 1.1rem;
    text-align: justify; 
    margin-bottom: 1.5rem; /* Space for the button */
  }

  .about-section .learn-more-btn {
    display: flex;
    justify-content: flex-end;
  }

  .about-section .btn {
    background-color: var(--primary-color);
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: bold;
  }

  .about-section .btn:hover {
    background-color: #155e57;
  }



     /* Home Page */
   
    /* News Section */
    .news-section {
      padding: 4rem 0;
      background-color: var(--secondary-color);
    }

    .news-section h1 {
      color: var(--primary-color);
      font-weight: bold;
      margin-bottom: 2.5rem;
      text-align: center;
    }

    .news-card {
      background-color: var(--text-color);
      border: 1px solid #ddd;
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      margin-bottom: 2rem; /* Space between cards */
      position: relative;
    }

    .news-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    }

    .news-card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      transition: transform 0.3s ease;
    }

    .news-card:hover img {
      transform: scale(1.1);
    }

    .news-card .title {
      background-color: var(--news-title-bg);
      color: var(--text-color);
      padding: 0.75rem;
      font-size: 1rem;
      font-weight: bold;
      text-align: center;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .news-card .content {
      padding: 1rem;
    }

    .news-card .content p {
      color: #555;
      display: -webkit-box;
      -webkit-line-clamp: 3; /* Limit to 3 lines */
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
      text-align: justify; /* Justified text */
    }

    .news-card .footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem;
      border-top: 1px solid #ddd;
    }

    .news-card .footer .date {
      color: #777;
      font-size: 0.9rem;
    }

    .news-card .footer .read-more {
      color: var(--primary-color);
      font-weight: bold;
      text-decoration: none;
      transition: color 0.3s ease;
    }

    .news-card .footer .read-more:hover {
      color: #155e57;
    }

     /* View More Button */
     .view-more-btn {
      text-align: center;
      margin-top: 2rem;
    }

    .view-more-btn .btn {
      background-color: var(--primary-color);
      border: none;
      padding: 0.75rem 2rem;
      font-size: 1rem;
      font-weight: bold;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .view-more-btn .btn:hover {
      background-color: #155e57;
      transform: translateY(-5px);
      box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    }


   /* Services Section */
   .services-section {
    padding: 4rem 0;
    background-color:  #f8f9fa;
   
    
  }

  .services-section h1 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 2.5rem;
    text-align: center;
  }

  .service-card {
    background-color: var(--text-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 1.5rem; /* Space between cards in mobile view */
    position: relative;
  }

  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .service-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
  }

  .service-card:hover i {
    transform: rotate(15deg) scale(1.2);
  }

  .service-card h3 {
    color: var(--primary-color);
    font-weight: bold;
  }

  .service-link {
    text-decoration: none;
    color: inherit;
  }
  
  .service-link:hover {
    text-decoration: none;
  }
  
  .login-btn {
    color: rgb(9, 7, 7) !important; /* Ensure text color remains white */
    background: none !important; /* Remove background */
    border: none !important; /* Remove any borders */
    padding: 8px 15px;
    transition: color 0.3s ease-in-out;
  }
  
  .login-btn:hover {
    color: #ddd !important; /* Change text color on hover instead of blue */
    background: none !important; /* Prevent Bootstrap's blue hover effect */
    text-decoration: none; /* Remove underline */
  }
  


   /* About Page */