* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== General Styles ===== */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  /* background-color: #f9f9f9; */
  background: url('./service\ bc\ img.jpeg') no-repeat center center / cover fixed;
}

span{
  color: #ffcc00;
  font-weight: bold;
}

.hamburger{
  display: none;
}

.navBar{
  display:inline-block;
}

.navBar{
  /* background-color: rgb(47, 101, 87); */
  background: linear-gradient(to right, rgb(48, 110, 97), rgb(33, 82, 70));
  display: flex;
  flex-direction: row;
  gap: 120px;
  margin-top: 20px;
  

  position: sticky;
  top: 0;
  z-index: 9999;
}

.logo{
  display: flex;
  flex-direction: row;
  gap: 20px;
  margin-left: 20px;
  align-items: center;
  margin-left: 70px;
}

.logo img {
  height: 80px;
  width: 80px;
}

.logo h3{
  color:#ffcc00;
  font-size: 30px;
}

.navLinks{
  display: flex;
  flex-direction: row;
  gap: 100px;
}

.linkLeft{
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.linkRight{
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.linkLeft, .linkRight {
  display: flex;
  align-items: center;

  list-style: none;
  padding: 0;
  margin: 0;
}

.linkLeft a, .linkRight a {
  text-decoration: none;
  color:white;
  font-weight:bold;
}

.linkLeft a.active {
  color:#ffcc00; /* Highlight active link */
}

/* Search Input Styling */
.linkRight input[type="search"] {
  padding: 5px 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 40px;
}

/* SignIn Button Styling */
.linkRight button {
  padding: 6px 15px;
  border: none;
  background-color: #ffcc00;
  color:black;
  /* border-radius: 5px; */
  cursor: pointer;
  font-weight: bold;
  height: 40px;
  width: 130px;
  border-bottom-right-radius: 40px;
}

.linkRight button:hover {
  background-color:rgb(2, 49, 39);
  color: white;
}

/* Hamburger Button */
.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
}

/* Mobile Styles */
@media (max-width: 450px) {
  .hamburger {
    display: block;
    font-size: 40px;
  }

  .navBar{
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px;

    position: static;
    background-color: transparent;
  }
  .navBar.active{
    display:flex;
    flex-direction: column;
    gap: 20px;
  }
  .navBar .logo{
    margin-left: 2px;
  }
  .navBar .logo{
    margin-left: 2px;
  }
  .navLinks{
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
    margin-top: 40px;
  }
  .linkLeft{
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .linkLeft a:hover{
    color: #ffcc00;
  }
  .linkRight{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
  }
  
  .linkLeft, .linkRight {
    flex-direction: column;
    gap: 10px;
  }

  .linkRight input[type="search"] {
    width: 70%;
  }

  .linkRight button:hover {
  background-color:rgb(2, 51, 40);
  color: white;
  }

  .linkRight button {
    width: 27%;
  }

  .logo{
    margin-left: 140px;
  }
  
  
}






/*==== Section 1 ====*/
/*== About Us Banner ==*/
.about-banner {
  /* background: #e8f6e8 url("circuit-pattern.png") no-repeat center top;  */
  /* Replace circuit-pattern.png with your image */
  /* background-color:#ffcc00; */
  background-color:rgb(47, 101, 87);
  border: 5px solid #ffcc00;
  background-size: cover;
  text-align: center;
  padding: 60px 20px;
  width: 50%;
  margin-top: 150px;
  margin-left: 380px;
  border-radius: 20px 20px 0 0; /* Rounded top corners */
}

.about-banner-content {
  max-width: 900px;
  margin: auto;
}

.about-banner .breadcrumb {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
}

.about-banner .breadcrumb a {
  color:white; /* yellow-orange link */
  text-decoration: none;
  font-weight: 500;
}

.about-banner .breadcrumb span {
  color: #000;
  font-weight: 600;
}



.about-banner h1 {
  position: relative;
  display: inline-block;
  font-size: 2.5rem;
  font-weight: bold;
  color:#ffcc00;
  margin-top: 30px;
  cursor: pointer;
  /* font-family: cursive; */
}

/* Create underline using ::after */
.about-banner h1::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px; /* space below text */
  width: 0;
  height: 3px;
  background-color:#ffcc00; /* underline color */
  animation: underlineGrow 1s ease infinite;
  animation-delay: 0.3s; /* little delay for effect */
}

/* Keyframes */
@keyframes underlineGrow {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}


/* Media query for mobile screens 450px and below */
@media (max-width: 450px) {
  .about-banner {
    width: 90%;             /* Take almost full width */
    margin: 100px auto 0;   /* Center horizontally, adjust top margin */
    padding: 40px 15px;     /* Reduce padding for smaller screens */
    border-radius: 15px 15px 0 0; /* Slightly smaller rounding */
  }

  .about-banner h1 {
    font-size: 1.8rem;      /* Smaller heading */
  }

  .about-banner .breadcrumb {
    font-size: 14px;        /* Smaller breadcrumb text */
  }

  .about-banner .breadcrumb a {
    font-weight: 400;       /* Adjust weight if needed */
  }
}






.blog-hero {
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
}

span{
    color: #ffcc00;
}

.blog-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: 2.75rem;
  margin-bottom: 20px;
  /* font-family: cursive; */
}

.blog-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}

.blog-hero .btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color:#ffcc00;
  color:#555;
  font-weight: bold;
  /* border-radius: 8px; */
  border-bottom-right-radius:200px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.blog-hero .btn-primary:hover {
  background-color:rgb(2, 51, 40);
  color: white;
}

@media screen and (max-width: 450px) {

  .blog-hero {
    padding: 60px 15px;
  }

  .blog-hero h1 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  .blog-hero p {
    font-size: 0.95rem;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .blog-hero .btn-primary {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}









.blog-stats {
  display: flex;
  justify-content: space-around;
  gap: 20px;
  margin: 40px auto;
  max-width: 1000px;
  text-align: center;
}

.blog-stats div {
  background: rgb(34, 82, 70);
  border-radius: 12px;
  padding: 20px;
  flex: 1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 3px solid white;
}

.blog-stats div:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  background-color: white;
}

.blog-stats div:hover h3{
    color: rgb(34, 82, 70);
}

.blog-stats div:hover p {
    color: black;
}

.blog-stats h3 {
  font-size: 1.7rem;
  color:#ffcc00; /* dark red for highlight */
  margin-bottom: 10px;
  /* font-family: garamond; */
}

.blog-stats p {
  font-size: 0.95rem;
  color:white;
  line-height: 1.4;
}


@media screen and (max-width: 450px) {

  .blog-stats {
    flex-direction: column; /* stack stats vertically */
    gap: 15px;
    margin: 100px 10px;
  }

  .blog-stats div {
    padding: 15px;
    border-radius: 10px;
  }

  .blog-stats h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
  }

  .blog-stats p {
    font-size: 0.9rem;
    line-height: 1.3;
  }
}









.title {
  text-align: center;
  margin-bottom: 40px;
  padding: 10px 20px;
}

.title h2 {
  font-size: 2rem;
  font-weight: 700;
  color:#ffcc00;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
  /* font-family: cursive; */
  margin-top: 70px;
  margin-bottom: 40px;
}

.title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background:#ffcc00; /* Accent color */
  margin: 8px auto 0;
  border-radius: 2px;
}

.title .blog-intro {
  font-size: 1rem;
  color:white;
  font-weight: bold;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-card {
  flex: 1 1 calc(33.33% - 20px);
  background-color:rgb(34, 82, 70);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  border: 3px solid white;
}



.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 50%;
  height: 200px;
  object-fit: cover;
  margin-left:130px;
}

.blog-content {
  padding: 15px 20px;
}

.blog-content h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color:#ffcc00;
  /* font-family:cursive; */
}

.blog-content p {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color:white;
}

.read-more {
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
  font-style: italic;
}

.read-more:hover {
  color:red;
}



@media screen and (max-width: 450px) {

  .title {
    padding: 5px 10px;
    margin-bottom: 25px;
    margin-top: 150px;
  }

  .title h2 {
    font-size: 1.5rem;
  }

  .title h2::after {
    width: 40px;
    height: 2px;
    margin-top: 5px;
  }

  .title .blog-intro {
    font-size: 0.9rem;
    max-width: 100%;
    line-height: 1.4;
  }

  .blog-grid {
    flex-direction: column;
    width: 300px;
    gap: 25px;
    margin-left:25px;
  }

  .blog-card {
    flex: 1 1 60%;
    /* margin-left: 2px; */
  }

  .blog-card img {
    width: 90%;
    height: 180px;
    margin-left: 0;
  }

  .blog-content h3 {
    font-size: 1rem;
  }

  .blog-content p {
    font-size: 0.9rem;
  }

  .read-more {
    font-size: 0.9rem;
  }
}













/* ==== Blog Article Styling ==== */
.blog-article {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px 25px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  /* font-family: "Segoe UI", Tahoma, sans-serif; */
  line-height: 1.7;
  margin-top: 150px;
}

.blog-article h2 {
  font-size: 30px;
  margin-bottom: 15px;
  color:rgb(7, 211, 160);
  /* font-family: 'Courier New', Courier, monospace; */
  margin-left: 120px;
}

.blog-article p {
  font-size: 16px;
  color:rgb(34, 82, 70);
  margin-bottom: 20px;
  font-weight: bold;
}

/* ==== Social Share Styling ==== */
.blog-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #eee;
  padding-top: 15px;
  margin-top: 20px;
}

.blog-socials p {
  margin: 0;
  font-weight:bold;
  color:rgb(7, 211, 160);
  font-size: 25px;
  margin-left: 200px;
  /* font-family: 'Courier New', Courier, monospace; */
}

.blog-socials a img {
  width: 35px;
  height: 35px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.blog-socials a img:hover {
  transform: scale(1.15);
  opacity: 0.8;
}



@media screen and (max-width: 450px) {

  .blog-article {
    padding: 15px 15px;
    margin: 150px 10px;
  }

  .blog-article h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .blog-article p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  /* Social share styling */
  .blog-socials {
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 10px;
    margin-top: 15px;
  }

  .blog-socials p {
    font-size: 13px;
    margin-left: 0;
    margin-bottom: 5px;
  }

  .blog-socials a img {
    width: 24px;
    height: 24px;
  }
}

