body{
  font-family: 'Roboto-Regular';
background-color: #f8f9fa;

}

.bg-light{
  background-color: #f0f0f0 !important;
}

.btn {
  font-weight: 500;
  transition: .5s;
}

.btn.btn-primary {
  color: #FFFFFF;
}

.btn-sm-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-weight: normal;
}
.tm_top_bar {background-color: #bc4236;}
/* .tm_logo h2 {color: #12416b; font-size: 20px; font-weight: bold;} */

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-left: 30px;
  padding: 25px 0;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  outline: none;
}


.navbar-light .navbar-nav .nav-link.active {
  color: #000;
}

.navbar-light .navbar-nav .nav-link:hover,{
  color: #12416b;
}

@media (max-width: 991.98px) {
  .navbar-light .navbar-nav .nav-link  {
      margin-right: 0;
      padding: 10px 0;
  }

  .navbar-light .navbar-nav {
      border-top: 1px solid #EEEEEE;
  }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
  height: 75px;
}

.navbar-light .navbar-nav .nav-link {
  color: black;
  font-weight: 500;
}

.navbar-light.sticky-top {
  top: -100px;
  transition: .5s;
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
      display: block;
      border: none;
      margin-top: 0;
      top: 150%;
      opacity: 0;
      visibility: hidden;
      transition: .5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
      top: 100%;
      visibility: visible;
      transition: .5s;
      opacity: 1;
  }
}
.top_header_right a{text-decoration: none;}

/* Large dots for Owl Carousel */
.large-dots .owl-dot span {
  width: 15px;
  height: 15px;
  margin: 5px 7px;
  background: #ccc;
  display: block;
  border-radius: 50%;
  transition: background 0.3s;
}

.large-dots .owl-dot.active span {
  background: #2a9d8f;
}




/* Large Dots */
.large-dots1 {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.large-dots1 .owl-dot span {
  width: 50px;
  height: 14px;
  margin: 5px 7px;
  background: #c1bfbf;
  border-radius: 10px;
  display: inline-block;
}
.large-dots1 .owl-dot.active span {
  background: #fff;
}

/* Custom Nav Buttons */
.custom-nav1 {
  position: absolute;
  top: 45%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 1;
}
.custom-nav1 button {
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.3s;
}
.custom-nav1 button:hover {
  background: rgba(0,0,0,0.7);
}



.livelihood-tourism-section {margin: 50px 0px;}


.left-box {
  position: relative;
  background: #0b2244; /* solid color stays solid */
  color: #fff;
  overflow: hidden;
}

.left-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/bg.png") repeat;
  background-size: cover;
  opacity: 0.03; /* control image transparency */
  z-index: 0;
}

.left-box > * {
  position: relative;
  z-index: 1; /* keep text & icon above */
}

.right-box {
  position: relative;
  background: #0b2244; /* solid color stays solid */
  color: #fff;
  overflow: hidden;
}

.right-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../image/bg.png") repeat;
  background-size: cover;
  opacity: 0.07; /* control image transparency */
  z-index: 0;
}

.right-box > * {
  position: relative;
  z-index: 1; /* keep text & icon above */
}




.livelihood-tourism-section .left-box {
  
  
  min-height: 500px;
}
.livelihood-tourism-section .right-box {
  background: #b13a2e url('your-pattern-image-right.png') repeat;
  background-size: cover;
  min-height: 500px;
}
.livelihood-tourism-section h4 {
   margin: 10px 0px 20px 0px;
}
.livelihood-tourism-section i {
   font-size: 80px;
}
.livelihood-tourism-section p {margin: 10px 0px 50px 0px;}






.testimonial-section {
  background: #f8f9fa;
  padding: 50px 0px 100px 0px;
}
.testimonial-item {
  max-width: 700px;
  margin: 0 auto;
}
.testimonial-img {
  border: 3px solid #dc3545; /* red border */
  width: 100px!important;
  display: inline!important;
  height: 100px;
  object-fit: cover;
}
.testimonial-text {
  font-size: 0.95rem;
  color: #333;
}
.owl-dots {
  margin-top: 20px;
}
.owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: #ccc;
  display: block;
  border-radius: 50%;
  margin: 5px;
}
.owl-dots .owl-dot.active span {
  background: #dc3545; /* red active dot */
}









.footer-section {
  padding-top: 30px; /* space for newsletter overlap */
  position: relative;
  background-color: #233151;
}
.newsletter-box {
  top: -72px;           /* moves newsletter up */
  width: 60%;           /* keep width at 80% */
  border-radius: 4px;   /* rounded corners */
  background-color: #114c91;
  padding: 50px 22px;
}

.newsletter-box input {
  border-radius: 0;
}
.newsletter-box button {
  border-radius: 0;
}
.footer-section ul li a:hover {
  color: #0dcaf0; /* Bootstrap info color */
}
.newsletter-box-text {width: 50%;}
.newsletter-box-text h5 {font-weight: bold; font-size: 28px;}
.about-us {background-color: #fff; margin: 30px 0px; padding: 80px 0px;}
.about-us h2 {
  font-size: 1.75rem;
  line-height: 1.4;
}
.about-us .btn-danger {
  border-radius: 0;
  font-weight: 500;
}
.about-us p {color: #666;
    margin-bottom: 20px;
    line-height: 1.8; text-align: justify;}














/* Services Section */
        .services-section {
            padding: 60px 0;
            background: #f8f9fa;
        }


        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .service-card {
            background: white;
            padding: 30px;
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            text-align: center;
            transition: transform 0.3s;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-card h3 {
            color: #1e3c72;
            margin-bottom: 15px;
            font-size: 1.3rem;
        }

        .service-card p {
            color: #666;
            margin-bottom: 20px;
        }

        .tm_btn {
            background: #d14c3a;
            color: white;
			 padding: 12px 25px;
            text-decoration: none;
            border-radius: 4px;
            font-weight: 500;
            transition: background 0.3s;
            display: inline-block;
        }

        .tm_btn:hover {
            background: #b83e2e;
        }







.button_tm {
    padding : 10px;
  background-color: #004A7F;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  border: none;
  color: #FFFFFF;
  cursor: pointer;
  display: inline-block;
  font-family: Arial;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  -webkit-animation: glowing 1500ms infinite;
  -moz-animation: glowing 1500ms infinite;
  -o-animation: glowing 1500ms infinite;
  animation: glowing 1500ms infinite;
}
@-webkit-keyframes glowing {
  0% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; }
  50% { background-color: #FF0000; -webkit-box-shadow: 0 0 40px #FF0000; }
  100% { background-color: #B20000; -webkit-box-shadow: 0 0 3px #B20000; }
}

@-moz-keyframes glowing {
  0% { background-color: #B20000; -moz-box-shadow: 0 0 3px #B20000; }
  50% { background-color: #FF0000; -moz-box-shadow: 0 0 40px #FF0000; }
  100% { background-color: #B20000; -moz-box-shadow: 0 0 3px #B20000; }
}

@-o-keyframes glowing {
  0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; }
  50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; }
  100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; }
}

@keyframes glowing {
  0% { background-color: #B20000; box-shadow: 0 0 3px #B20000; }
  50% { background-color: #FF0000; box-shadow: 0 0 40px #FF0000; }
  100% { background-color: #B20000; box-shadow: 0 0 3px #B20000; }
}















.section-title {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-title h2 {
            font-size: 2.5rem;
            color: #1e3c72;
            margin-bottom: 15px;
        }

        .section-title p {
            color: #666;
            font-size: 1.1rem;
            max-width: 600px;
            margin: 0 auto;
        }





  /* Gallery Section */
        .gallery-section {
            padding: 80px 0;
            background: #f8f9fa;
        }

        .gallery-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .gallery-item {
            height: 200px;
            background: #228B22;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            transition: transform 0.3s;
        }

        .gallery-item:hover {
            transform: scale(1.05);
        }

        /* Social Media Updates */
        .social-section {
            padding: 80px 0;
            background: white;
        }

        .social-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .social-card {
            background: #f8f9fa;
            padding: 30px;
            border-radius: 8px;
            border-left: 4px solid #d14c3a;
        }

        .social-card h4 {
            color: #1e3c72;
            margin-bottom: 15px;
        }

        .social-card p {
            color: #666;
            margin-bottom: 10px;
        }

        .social-date {
            color: #d14c3a;
            font-size: 12px;
            font-weight: bold;
        }
        
/* Statistics Section */
        .stats-section {
            background: #1e3c72;
            color: white;
            padding: 60px 0;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 40px;
            text-align: center;
        }

        .stat-item h3 {
            font-size: 3rem;
            margin-bottom: 10px;
            color: #ffd700;
        }

        .stat-item p {
            font-size: 1.1rem;
            opacity: 0.9;
        }


/* Scope of Works */
        .scope-section {
            padding: 80px 0;
            background: #f8f9fa;
        }

        .scope-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .scope-card {
            background: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 3px 10px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }

        .scope-card:hover {
            transform: translateY(-5px);
        }

        .scope-image {
            height: 200px;
            background: #228B22;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 3rem;
        }

        .scope-content {
            padding: 20px;
        }

        .scope-content h3 {
            color: #1e3c72;
            margin-bottom: 10px;
        }

        .scope-content p {
            color: #666;
            font-size: 14px;
        }        




h5.underline {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}

h5.underline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;   /* line width */
  height: 2px;   /* line thickness */
  background-color: #e74c3c; /* line color (red) */
}
.tm_quicklink li {margin-bottom: 5px;}
.tm_button {background-color: #0d6efd; border-radius: 10px; padding: 25px 4px; color: #fff; text-decoration: none; margin-left: 10px;}

/* ==========================================================================
   Mising Autonomous Council Footer Styles
   ========================================================================== */

.site-footer {
    margin-top: auto;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Policy Links Section */
.footer-policies {
    background-color: #4a4a4a;
    padding: 15px 0;
}

.policy-menu {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.policy-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.policy-menu a:hover {
    color: #cccccc;
    text-decoration: underline;
}

.policy-menu .separator {
    color: #ffffff;
    font-size: 14px;
    margin: 0 5px;
}

/* Main Footer Section */
.footer-main {
    background-color: #2d2d2d;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 20px;
}

/* Contact Information */
.footer-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-icon {
    font-size: 16px;
    color: #ffffff;
}

.contact-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

/* Social Media */
.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-text {
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: bold;
}

.social-link.facebook {
    background-color: #1877f2;
    color: #ffffff;
}

.social-link.twitter {
    background-color: #000000;
    color: #ffffff;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #ffffff;
}

.social-link:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.social-icon {
    font-size: 16px;
    line-height: 1;
}

/* Copyright */
.footer-copyright {
    text-align: center;
    border-top: 1px solid #4a4a4a;
    padding-top: 15px;
}

.footer-copyright p {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-container {
        padding: 0 15px;
    }
    
    .policy-menu {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .policy-menu .separator {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-contact {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .footer-policies {
        padding: 10px 0;
    }
    
    .footer-main {
        padding: 15px 0;
    }
    
    .policy-menu a {
        font-size: 12px;
        padding: 5px 0;
        display: block;
        width: 100%;
    }
    
    .contact-text {
        font-size: 12px;
        text-align: center;
    }
    
    .social-text {
        font-size: 12px;
    }
    
    .social-link {
        width: 28px;
        height: 28px;
    }
    
    .social-icon {
        font-size: 14px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .footer-contact {
        gap: 10px;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .contact-text {
        word-break: break-word;
        text-align: center;
    }
}