* {
  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;
  }
  .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: 100px;
  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 */
  }
}







/* Hero Section Styles */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  /* background: url('./service\ bc\ img.jpeg') no-repeat center center / contain fixed; */
  position: relative;
  color: #ffffff;
  text-align: center;
  margin-top: 100px;
}

.hero span {
  color: #ffcc00; /* Accent color for branding highlight */
}


.hero h1 {
  font-size: 2.75rem;
  margin-bottom:40px;
  line-height: 1.2;
  /* font-family: 'Courier New', Courier, monospace; */
}

.hero-content p {
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    line-height: 1.6;
    width: 600px;
    margin-left: 60px;
}

.btn-primary {
  background-color: #ffcc00;
  color:black;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: bold;
  transition: background-color 0.2s ease;
  margin-top: 50px;
  border-bottom-right-radius: 200px;
}

#services-intro .btn-primary {
  display: inline-block; /* ensures margin works */
  margin-top: 40px !important; /* override other styles */
}

.btn-primary:hover {
  background-color:rgb(1, 37, 28);
  color:white;
  font-weight: bold;
}

/* Responsive Styles */
@media screen and (max-width: 450px) {
  .hero {
    padding: 50px 15px;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .hero-content p {
    font-size: 0.95rem;
    width: 100%;
    margin-left: 0;
    line-height: 1.4;
  }

  .btn-primary {
    padding: 12px 20px;
    font-size: 0.9rem;
    margin-top: 30px !important;
  }
}








/* ===== Section Container ===== */
#additional-services {
  padding: 60px 20px;
  /* max-width: 1200px; */
  margin: 0 auto;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  /* background-color: #f5f5f5; */
}

span{
    color:#ffcc00;
}


#additional-services h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  color:black ;
  /* font-family: garamond; */
}

#additional-services p {
  text-align: center;
  font-size: 1rem;
  color:white;
  margin-bottom: 40px;
  line-height: 1.6;
  font-weight: bold;
  font-style: italic;
}

#additional-services strong{
    color:#e67e22;
}

/* ===== Flex Container for Service Cards ===== */
.seviceFlex {
  display: flex;
  flex-wrap: wrap;               /* Allows cards to wrap */
  gap: 20px;                     /* Space between cards */
  justify-content: space-between;
}

/* ===== Individual Service Card ===== */
.service-card {
  /* background-color: #ffffff; */
  /* background: linear-gradient(45deg, rgb(33, 73, 63) 50%, white 50%); */
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
  flex: 1 1 calc(48% - 20px);   /* Two cards per row on desktop */
  box-sizing: border-box;
  border: 3px solid white;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 20px;
  border-radius: 10px;
  transition: color 0.5s ease; /* for text color change */
}

/* Optional: add background animation as discussed */
.service-card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color:white; /* color to fill */
  transform: scaleY(0); /* start hidden */
  transform-origin: bottom; /* grow from bottom */
  transition: transform 0.5s ease; /* smooth animation */
  z-index: 0;
}

.service-card:hover::before {
  transform: scaleY(1); /* animate to full height */
}

.service-card * {
  position: relative;
  z-index: 1; /* ensure text stays above overlay */
  transition: color 0.5s ease;
}

.service-card:hover h3,
.service-card:hover p,
.service-card:hover a {
  /* color:rgb(0, 178, 143);  */
  color:rgb(172, 144, 0); 
  /* font-family: cursive; */
}
.service-card:hover .btn-service {
    color:white;
    background-color:rgb(46, 103, 91);
}

.service-card:hover span {
    color:rgb(172, 144, 0);
}

.service-card:hover p {
  color: black !important;
}

.service-card h3 {
  font-size: 1.3rem;
  color:#ffcc00;
  margin-bottom: 10px;
  /* font-family: cursive; */
  margin-bottom: 20px;
}

.service-card p {
  font-size: 0.95rem;
  color: white !important;
  margin-bottom: 10px;
  line-height: 1.5;
  font-weight: bold;
  
}

.service-card .why-choose {
  font-style: italic;
  margin-bottom: 15px;
  /* font-family: cursive; */
}

/* ===== Buttons ===== */
.btn-service {
  display: inline-block;
  padding: 10px 20px;
  background-color:#ffcc00 ;
  color:#555;
  font-weight: bold;
  /* border-radius: 6px; */
  border-bottom-right-radius: 200px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn-service:hover {
  background-color: #d35400;
}

/* ===== Card Hover Effect ===== */
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* ===== Responsive Adjustments ===== */
@media screen and (max-width: 450px) {

  /* Section padding */
  #additional-services {
    padding: 40px 15px;
  }

  /* Section heading */
  #additional-services h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }

  /* Section paragraph */
  #additional-services p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 25px;
    width: 100%;
  }

  /* Flex container for cards */
  .seviceFlex {
    flex-direction: column; /* stack cards vertically */
    gap: 15px;
  }

  /* Individual service cards */
  .service-card {
    flex: 1 1 100%; /* full width on mobile */
    padding: 15px;
    border-radius: 8px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  /* Buttons */
  .btn-service {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}












.services-agents {
  padding: 60px 20px;
  background-color: #f9fafb;
  text-align: center;
}

.services-agents h2 {
  font-size: 2.75rem;
  margin: 40px 0 20px;
  color:black;
  /* font-family: cursive; */
}

.services-grid{
    font-weight: bold;
}

.agent-profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.agent-card {
  background-color:rgb(33, 73, 63);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  width: calc(33% - 40px);
  max-width: 320px;
  padding: 25px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.agent-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.agent-card img {
  width: 100%;
  border-radius: 4px;
  margin-bottom: 15px;
}

.agent-card h3 {
  font-size: 1.25rem;
  margin-bottom: 20px;
  color:white;
  /* font-family: garamond; */
}

.agent-bio {
  font-size: 0.95rem;
  color:white;
  margin-bottom: 12px;
  font-weight: bold;
}

.agent-stats {
  font-size:1rem;
  color:white;
  margin-bottom: 18px;
  margin-top: 20px;
  /* font-family: garamond; */
}

.down{
  margin-top: 45px;
}

.btn-agent {
  display: inline-block;
  background-color:white;
  color:black;
  font-weight: bold;
  padding: 10px 20px;
  /* border-radius: 4px; */
  border-bottom-right-radius: 200px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.btn-agent:hover {
  background-color:rgb(44, 139, 114);
  color: white;
}



@media (max-width:450px) {
  .agent-card {
    width: calc(45% - 40px);
  }
}

@media (max-width:450px) {
  .agent-card {
    width: 100%;
  }
}
