/* ===============================
   Global Styles
================================= */
body {
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
}

.text-justify {
  text-align: justify;
}

h5 {
  color: #d3252e;
}

/* ===============================
   Navbar Styles
================================= */
.custom-nav .nav-link {
  color: #15499b !important;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Roboto', sans-serif;
  margin-left: 20px;
  transition: color 0.3s;
}

.custom-nav .nav-link:hover,
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #d3252e !important; /* Logo red */
}

.navbar-nav .dropdown-menu a:hover {
  background-color: #f8f9fa;
  color: #d3252e !important;
}
.navbar {
  min-height: 100px;
}
/* ===============================
   Carousel / Banner
================================= */
.carousel-item img {
  height: 60vh; 
  object-fit: cover;
}

.carousel-caption {
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
}

.carousel-caption h2 {
  font-size: 2.5rem;
}

.carousel-caption p {
  font-size: 1.2rem;
}

/* ===============================
   Section Titles
================================= */
.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50px;
  height: 3px;
  background-color: #d3252e;
  border-radius: 2px;
  transform: translateX(-50%);
}

.section-title p {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}
.section-title1 {
  text-align: center;
  margin-bottom: 20px;
}

.section-title1 h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  color: #fff;;
}

.section-title1 h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 50px;
  height: 3px;
  background-color: #d3252e;
  border-radius: 2px;
  transform: translateX(-50%);
}

.section-title1 p {
  font-size: 16px;
  color: #555;
  margin-top: 8px;
}
.banner-section {
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===============================
   Services
================================= */
.services-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

.service-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0 0 20px;
  text-align: center;
  height: 100%;
  width: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.service-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #00bcd4;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-desc {
  padding: 10px 20px;
  color: #555;
}
.text_white{
  color: #ffffff;
}
/* ===============================
   Right Row with Circle Icon
================================= */
.right-row {
  position: relative;
  margin-bottom: 20px;
  padding: 20px 20px 20px 80px;
  background: linear-gradient(135deg, #15499b, #15499b);
  border-radius: 10px;
  color: #fff;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.circle-icon {
  position: absolute;
  top: 50%;
  left: 20px;
  width: 40px;
  height: 40px;
  font-size: 16px;
  font-weight: bold;
  color: #000;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
}

/* ===============================
   Background Image Section
================================= */
.bg-image {
  position: relative;
  min-height: 400px;
  background: url("images/bg.jpg") no-repeat center center / cover;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  overflow: hidden;
}

.bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(21, 73, 156, 0.8);
  z-index: 0;
}

.bg-image .content {
  position: relative;
  z-index: 1;
  text-align: center;
}

/* ===============================
   Team Section
================================= */
.team-card {
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-card:hover {
  transform: translateY(-5px);
}

.team-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.team-card .card-body {
  text-align: center;
}

.team-card .card-title {
  font-weight: 700;
}

.team-card .role {
  margin-bottom: 10px;
  font-weight: 600;
  color: #007f5f;
}

.team-icons i {
  font-size: 1.2rem;
  margin: 0 8px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
}

.team-icons i:hover {
  color: #007f5f;
}

/* ===============================
   About Us - Mission & Vision
================================= */
.mission,
.vision {
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  color: #fff;
  text-align: left;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.mission {
  background: linear-gradient(135deg, #15499b, #15499b);
}

.mission h5 {
  color: #fff;
}

.vision {
  background: linear-gradient(135deg, #d3252e, #d3252e);
}

.vision h5 {
  color: #fff;
}

/* ===============================
   Testimonial Carousel
================================= */
.section-bg {
  background-color: aliceblue;
}

.testimonial-carousel {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slide {
  text-align: center;
  padding: 20px;
}

.testimonial-slide img {
  width: 150px;
  height: 150px;
  margin-bottom: 20px;
  border-radius: 50%;
}

.carousel-control-prev,
.carousel-control-next {
  top: 50%;
  width: 40px;
  height: 40px;
  background: rgba(0,0,0,0.5);
  border-radius: 50%;
  transform: translateY(-50%);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  color: #fff;
}



/* ===============================
   transformer
================================= */

.section-title {
      font-size: 28px;
      font-weight: 700;
      color: #15499b;
      margin-bottom: 20px;
    }
    
.section-title1 {
      font-size: 28px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 20px;
    }
    .service-card {
      border: none;
      border-radius: 15px;
      padding: 25px;
      background: #fff;
      box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
      transition: transform 0.3s ease;
      height: 100%;
    }
     .service-card span{
      font-size: 14px;
      color: #15499c;
      font-weight: 600;
     }
    .service-card:hover {
      transform: translateY(-5px);
    }
    .service-icon {
      font-size: 40px;
      color: #198754;
      margin-bottom: 15px;
    }
    .highlight-box {
      background: #15499b;
      color: #fff;
      padding: 30px;
      border-radius: 15px;
    }
    .highlight-box h4 {
      font-weight: bold;
    }
    .why-list li {
      margin-bottom: 10px;
    }
/* ===============================
   substations
================================= */
    .highlight-box {
      background: #15499b;
      color: #fff;
      padding: 40px;
      border-radius: 15px;
    }
    .feature-card {
      border: none;
      border-radius: 15px;
      padding: 25px;
      background: #fff;
      box-shadow: 0px 4px 15px rgba(0,0,0,0.08);
      height: 100%;
      transition: transform 0.3s ease;
    }
    .feature-card:hover {
      transform: translateY(-5px);
    }
    .cta-btn {
      background: #198754;
      border: none;
      padding: 12px 30px;
      font-weight: 600;
      border-radius: 30px;
      color: #fff;
    }
    .cta-btn:hover {
      background: #145c32;
    }
    .icon-box {
      font-size: 40px;
      color: #15499b;
      margin-bottom: 15px;
    }
    .why-list li {
      margin-bottom: 10px;
    }

/*news*/
.news-card {
      border-radius: 10px;
      overflow: hidden;
      border: 1px solid #e0e0e0;
      transition: transform 0.2s ease-in-out;
    }
    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: 0px 4px 12px rgba(0,0,0,0.1);
    }
    .news-img {
      height: 100%;
      object-fit: cover;
    }
    .news-category {
      color: #d9534f;
      font-weight: 600;
      font-size: 14px;
    }
    .news-meta {
      font-size: 13px;
      color: #6c757d;
    }


/* ===============================
   Footer
================================= */
.footer-bg {
  background: #f9f8ff;
  border-top: 5px solid #d3252e;
}

.footer-link,
.footer-icon {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover,
.footer-icon:hover,
footer a:hover {
  color: #d3252e !important;
}


.form-control:focus {
  border-color: inherit !important; /* keep normal border */
  box-shadow: none !important;      /* remove glow */
}

.counter-box {
  display: block;
  background: #ffffff;
  padding: 60px 60px;
  margin: 20px;
  text-align: center;
  border-radius: 20px;
}

.counter-box p {
  margin: 5px 0 0;
  padding: 0;
  color: #727272;
  font-size: 1rem;
  font-weight: 500
}

.counter-box i {
  font-size: 60px;
  margin: 0 0 15px;
  color: #d2d2d2
}

.counter {
  display: block;
  font-size: 4rem;
  font-weight: 700;
  color: #154999;
  line-height: 28px;
  padding-bottom: 20px;
}

.counter-box.colored {
  background: #154999;
}

.counter-box.colored p,
.counter-box.colored i,
.counter-box.colored .counter {
  color: #fff
}
.counter-box1 {
  display: block;
  background: #f1f2f6;
  padding: 40px 20px;
  margin: 20px;
  text-align: center;
  border-radius: 20px;
}

.counter-box1 p {
  margin: 5px 0 0;
  padding: 0;
  color: #727272;
  font-size: 1rem;
  font-weight: 500
}

.counter-box1 i {
  font-size: 60px;
  margin: 0 0 15px;
  color: #d2d2d2
}

.counter1 {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: #154999;
  line-height: 28px;
  padding-bottom: 20px;
}

.counter-box1.colored1 {
  background: #154999;
}

.counter-box1.colored1 p,
.counter-box1.colored1 i,
.counter-box1.colored1 .counter1 {
  color: #fff
}