
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&display=swap');

:root {
  --pak-green: #04431b;
  --bright-green: #0cf50c;
  --olive-light-green: #eef2ef;
  --green: #7de697;

}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', 'Sofia Pro';
}

/* Top Bar Start*/
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--olive-light-green);
  color: var(--darkgrey-textcolor);
  padding: 10px 15px;
  font-size: 16px;
  z-index: 99;
}
.top-bar .contact-info a {
     color: var(--pak-green);
}



/* Contact Information Section */
.contact-info {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--pak-green);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-item i {
  color: var(--pak-green);
}

/* Social Media Section */
.social-icons {
  display: flex;
  margin-right: 60px;
  gap: 45px;
  justify-content: center;
}

.social-icon {
  color: var(--pak-green);
  font-size: 20px;
  text-decoration: none;
}

.social-icon:hover {
  color: var(--bright-green);
}

/* Media Queries for Small Devices (max-width: 600px) */
@media screen and (max-width: 600px) {
  /* Top Bar Layout */
  .top-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
  }

  /* Contact Info Layout */
  .contact-info {
    justify-content: center;
    gap: 20px;
    margin-bottom: 10px;
  }

  /* Social Icons Layout */
  .social-icons {
    justify-content: center;
    gap: 20px;
  }
}
/* Top Bar End*/


/* Navbar Start */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(85deg,  #01a601, #08642a);
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px;
  font-style: 'sans-serif';

}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li a {
  position: relative;
  padding: 10px 15px;
  text-decoration: none;
  color: white; /* Default text color */
  transition: all 0.3s ease;
  font-weight: 510;
}
.nav-links li a:hover {
  color:var(--bright-green); /* Hover color */
  border: 2px solid var(--bright-green); /* Box border on hover */
  padding: 8px 13px; /* Slightly reduce padding for a boxed effect */
  border-radius: 5px; /* Optional: rounded corners */
  box-shadow: #e3e7e4; /* Box shadow on hover */
}



/* Hamburger Menu for Small Screens */
.hamburger-menu {
  display: none;
  cursor: pointer;
  
}

.hamburger-menu i {
  font-size: 18px;
  margin-right: 10px;
  color: white;

}

/* Small Devices (max-width: 600px) */
@media screen and (max-width: 600px) {
  .navbar {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px;
  }

  .navbar-brand{
    font-size: 12px;
  }

  .hamburger-menu {
    order: 1;
    display: block;
  }

  .navbar-brand {
    order: 2;
    margin: 0 auto;
    flex-grow: 1;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background: linear-gradient(85deg,  #01a601, #08642a);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    padding: 10px 15px; /* Consistent padding for the links in mobile */
    color: white;
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    color: var(--bright-green); /* Hover color */
    border: 2px solid var(--bright-green); /* Box border on hover */
    padding: 8px 13px; /* Slightly reduce padding for a boxed effect */
    border-radius: 5px; /* Optional: rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Box shadow on hover */
  }
}

/* For Samsung Galaxy S8 (max-width: 360px) */
@media screen and (max-width: 360px) {
  .navbar {
    flex-direction: row;
    justify-content: flex-start;
    padding: 10px;
  }

  /* Hamburger icon on the left */
  .hamburger-menu {
    display: block;
    order: 1; /* Hamburger icon comes first */
  }

  /* Brand logo and text after the hamburger icon */
  .navbar-brand {
    order: 2;
    font-size: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .brand-logo {
    width: 15px; /* Adjust brand logo size */
    height: 15px;
  }

  /* Hide navigation links by default */
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 250px;
    background-color: var(--pak-green);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  /* Show nav-links when toggled */
  .nav-links.show {
    display: flex;
  }

  .nav-links li a {
    padding: 10px 15px;
    color: white;
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    color: var(--bright-green);
    border: 2px solid var(--bright-green);
    padding: 8px 13px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
}





/* For screens between 768px and 1024px (iPad Mini in Portrait Mode and Small Tablets) */
@media screen and (min-width: 768px) and (max-width: 1024px) {
  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background-color: var(--pak-green); /* Background color */
  }

  /* Hamburger icon is hidden on larger screens, will show on smaller ones */
  .hamburger-menu {
    display: none; /* Hide hamburger menu on iPad Air */
  }

  /* Navbar Brand */
  .navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px; /* Reduced font size */
    font-weight: 600;
  }

  .brand-logo {
    width: 20px;
    height: 20px;
    border-radius: 50%;
  }

  /* Navigation links */
  .nav-links {
    display: flex;
    gap: 20px; /* Spacing between links */
    list-style: none;
  }

  .nav-links li a {
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    font-size: 10px; /* Reduced font size */
    transition: all 0.3s ease;
  }

  .nav-links li a:hover {
    color: var(--bright-green);
    border: 2px solid var(--bright-green);
    padding: 8px 13px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  }
 }

 /* Navbar End */
/* Information Section Start */
.info-section {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 20px 5%;
  position: relative;
  top: -50px; /* Overlapping Header */
}

/* Styling for Each Box */
.info-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #004400, #008000);
  color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


/* Overlapping Effect */
.info-box:first-child {
  margin-left: -20px;
}
.info-box:last-child {
  margin-right: -20px;
}

/* Hover Effect */
.info-box:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 12px 30px rgba(0, 255, 0, 0.4);
}

/* Icon Styling */
.icon {
  font-size: 35px;
  color: #ffcc00;
  margin-right: 15px;
}

/* Content Layout */
.info-content {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Heading & Text */
h3 {
  font-size: 20px;
  margin: 0;
}

/* Call Number */
.call-number {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.call-number:hover {
  color: var(--bright-green);
  
  text-decoration: underline;
}

/* View Timetable Button */
.view-timetable {
  font-size: 16px;
  background: #ffcc00;
  color: var(--pak-green);
  padding: 5px 10px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
  transition: background 0.3s ease;
}
.view-timetable:hover {
  background: var(--bright-green);
  color: var(--pak-green);
}

/* Opening Hours Styling */
.hours p {
  margin: 3px 0;
}
.hours span {
  font-weight: bold;
  color: #ffcc00;
}

/* Responsive */
@media (max-width: 768px) {
  .info-section {
    flex-direction: column;
    align-items: center;
    top: -30px;
  }

  .info-box {
    width: 90%;
    margin: 10px 0;
  }

  .info-box:first-child,
  .info-box:last-child {
    margin: 0;
  }
}


* Call Number */
.call-number {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.call-number:hover {
  color: var(--bright-green);
  
  text-decoration: underline;
}

/* Call Number */
.email {
  font-size: 18px;
  color: #ffcc00;
  font-weight: bold;
  text-decoration: none;
  display: inline-block;
  margin-top: 5px;
}
.email:hover {
  color: var(--bright-green);
  
  text-decoration: underline;
}


 /* Information Section End */






/* Breadcrumb Background */
.bg-breadcrumb {
  background: url('images/service\ header.webp') no-repeat center center/cover;
  padding: 60px 0;
  position: relative;
}

/* Dark overlay effect */
.bg-breadcrumb::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(1, 52, 1, 0.7); /* Green overlay with transparency */
}

/* Breadcrumb Container */
.bg-breadcrumb .container {
  position: relative;
  z-index: 2; /* Ensures content appears above overlay */
}

/* Header Title */
.bg-breadcrumb h1 {
  font-weight: 700;
  color: #fff;
  font-size: 36px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  opacity: 0; /* Initially hidden */
  transform: translateY(30px); /* Start from slightly below */
  animation: fadeInUp 2s ease-out forwards; /* Animation applied */
}

/* Keyframes for the fade-in and slide-up effect */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Start from below */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the normal position */
  }
}


/* Breadcrumb Navigation */
.breadcrumb {
  background: transparent;
  padding: 10px 15px;
  display: inline-flex;
  border-radius: 5px;
}

.breadcrumb-item {
  font-size: 16px;
  font-weight: 500;
  color: #f8f9fa;
}

.breadcrumb-item a {
  color: var(--bright-green); /* Goldish color */
  transition: 0.3s;
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--olive-light-green); /* Lighter gold on hover */
}

/* Active Breadcrumb */
.breadcrumb-item.active.text-primary {
  color: yellow !important; /* Replace with your preferred color */
}


/* Responsive Design */
@media (max-width: 768px) {
  .bg-breadcrumb {
      padding: 40px 0;
  }

  .bg-breadcrumb h1 {
      font-size: 28px;
  }

  .breadcrumb-item {
      font-size: 14px;
  }
}

@media (max-width: 576px) {
  .bg-breadcrumb {
      padding: 30px 0;
  }

  .bg-breadcrumb h1 {
      font-size: 24px;
  }

  .breadcrumb-item {
      font-size: 13px;
  }
}

/*===============================*/
/* Start Features CSS */
/*===============================*/

.features {
  padding-top: 0;
  margin-top: 50px;
  margin-bottom: 30px;
}

.features.index2 {
  padding-top: 100px;
}

.features.testimonial-page {
  padding-top: 100px;
}

.features .single-features {
  text-align: center;
  position: relative;
  padding: 10px 20px;
  overflow: hidden; /* Hide any overflow */
}

.features .single-features::before {
  position: absolute;
  content: "";
  right: -72px;
  top: 60px;
  width: 118px;
  border-bottom: 3px dotted #0b9c40;
}

.features .single-features.last::before {
  display: none;
}

.features .single-features .signle-icon {
  position: relative;
}

.features .single-features .signle-icon i {
  font-size: 30px;
  color: #0b9c40;
  position: absolute;
  left: 50%;
  margin-left: -50px;
  top: 0;
  height: 100px;
  width: 100px;
  line-height: 100px;
  text-align: center;
  border: 1px solid #dddddd;
  border-radius: 100%;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.features .single-features:hover .signle-icon i {
  background: var(--pak-green);
  color: #fff;
  border-color: transparent;
}

.features .single-features h3 {
  padding-top: 128px;
  font-weight: 600;
  font-size: 21px;
}

.features .single-features p {
  margin-top: 20px;
}

/* Section Title Styling */
.section-title {
  text-align: center; /* Aligns text to center */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
  margin: 0 auto;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--pak-green);
  opacity: 0; /* Start with opacity 0 */
  animation: bounceIn 1.5s ease-out, pulse 2s ease-in 1.5s infinite; /* Combine bounce and pulse */
}

.section-title.visible h2 {
  opacity: 1; /* Fade in by changing opacity to 1 */
}


/* Bounce animation keyframes */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Start below */
  }
  50% {
    opacity: 1;
    transform: translateY(-10px); /* Slightly bounce up */
  }
  70% {
    opacity: 1;
    transform: translateY(5px); /* Bounce down */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Final position */
  }
}

/* Pulse animation keyframes */
@keyframes pulse {
  0% {
    transform: scale(1); /* Initial size */
  }
  50% {
    transform: scale(1.1); /* Slightly grow */
  }
  100% {
    transform: scale(1); /* Return to original size */
  }
}



.section-title img {
  margin-bottom: 20px;
}

.section-title p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
}

/*===============================
For small screens (phones in portrait mode)
===============================*/
@media (max-width: 576px) {
  .features .single-features {
    padding: 20px;
  }

  .features .single-features .signle-icon i {
    font-size: 24px;
    height: 80px;
    width: 80px;
    line-height: 80px;
  }

  .features .single-features h3 {
    font-size: 18px;
    padding-top: 100px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 14px;
  }

  /* Hide overflow on small screens */
  .features .single-features {
    overflow: hidden;
  }

  .features .single-features::before {
    border-bottom: none;
  }
}

/*===============================
For medium screens (tablets in portrait mode)
===============================*/
@media (max-width: 768px) {
  .features .single-features {
    padding: 20px;
  }

  .features .single-features .signle-icon i {
    font-size: 28px;
    height: 90px;
    width: 90px;
    line-height: 90px;
  }

  .features .single-features h3 {
    font-size: 20px;
    padding-top: 110px;
  }

  .section-title h2 {
    font-size: 32px;
  }

  .section-title p {
    font-size: 15px;
  }

  /* Hide overflow on medium screens */
  .features .single-features {
    overflow: hidden;
  }

  .features .single-features::before {
    border-bottom: none;
  }
}

/*===============================
For iPad Air (768px to 1024px width)
===============================*/
@media (min-width: 768px) and (max-width: 1024px) {
  .features .single-features {
    padding: 30px;
  }

  .features .single-features .signle-icon i {
    font-size: 32px;
    height: 100px;
    width: 100px;
    line-height: 100px;
  }

  .features .single-features h3 {
    font-size: 22px;
    padding-top: 130px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .section-title p {
    font-size: 16px;
  }

  /* Hide overflow on iPad Air */
  .features .single-features {
    overflow: hidden;
  }

  .features .single-features::before {
    border-bottom: none;
  }
}

/*===============================
For large screens (desktops and larger tablets)
===============================*/
@media (min-width: 992px) {
  .features .single-features {
    padding: 30px;
  }

  .features .single-features .signle-icon i {
    font-size: 32px;
    height: 100px;
    width: 100px;
    line-height: 100px;
  }

  .features .single-features h3 {
    font-size: 22px;
    padding-top: 130px;
  }

  .section-title h2 {
    font-size: 36px;
  }

  .section-title p {
    font-size: 16px;
  }

  /* Hide overflow on larger screens if necessary */
  .features .single-features {
    overflow: hidden;
  }
}




/* 🟠 Service Section Styles */
.service-section {
  height: auto;
  width: 100%;
  display: grid;
  place-items: center;
  margin-top: 30px;
  margin-bottom: 20px;
  padding: 0 1.5em;
  opacity: 0;               /* Initially hidden */
  transform: translateY(20px); /* Start lower for fade-up effect */
  /* Note: Remove the animation property from here */
}

/* When the section is visible, trigger the fade-up animation */
.service-section.visible {
  animation: fadeUp 3s ease-out forwards;
}

/* Fade-up animation keyframes */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Start lower */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the original position */
  }
}

/* Other service section styles remain unchanged */
.service-section .row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.service-section .column {
  width: 100%;
  padding: 0 1em 1em 1em;
  text-align: center;
}

.service-section .card {
  margin-top: 20px;
  width: 100%;
  height: 100%;
  padding: 2em 1.5em;
  background: linear-gradient(#ffffff 50%, #0b9c40 50%);
  background-size: 100% 200%;
  background-position: 0 2.5%;
  border-radius: 15px;
  box-shadow: 0 0 35px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: 0.5s;
  animation: bounceIn 2.5s ease-out;

}
/* Service section heading styles */
.service-section h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--pak-green);
  margin-bottom: 10px;
  opacity: 0; /* Initially hidden */
  transform: translateY(20px); /* Start from the bottom */
  /* Remove animation from the default state */
}

/* When the service section is visible, trigger the animations */
.service-section.visible h2 {
  opacity: 1;
  transform: translateY(0); /* Slide to original position */
  animation: fadeUp 2.5s ease-out forwards; /* Apply fade-up animation */
}

/* Fade-up animation keyframes */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px); /* Start from the bottom */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* End at the original position */
  }
}


.service-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: #1f194c;
  margin: 1em 0;
}

.service-section p {
  color: #575a7b;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.03em;
  margin-bottom: 1em;
}

.service-section .icon-wrapper {
  background-color: var(--bright-green);
  position: relative;
  margin: auto;
  font-size: 30px;
  height: 2.5em;
  width: 2.5em;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: 0.5s;
}

/* Hover Effects */
.service-section .card:hover {
  background-position: 0 100%;
}

.service-section .card:hover .icon-wrapper {
  background-color: #ffffff;
  color: var(--bright-green);
}

.service-section .card:hover h3 {
  color: #ffffff;
}

.service-section .card:hover p {
  color: #f0f0f0;
}

/* Landscape Mode for iPad Mini & iPad Air (Width: 1024px) */
@media (max-width: 1024px) {
  .service-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .service-section .column {
    flex: 1 1 48%; /* Two columns with some space between them */
    padding: 1em;
  }

  .service-section h2 {
    font-size: 34px; /* Slightly bigger font size for landscape */
  }

  .service-section h3 {
    font-size: 21px; /* Adjust h3 size */
  }

  .service-section p {
    font-size: 15px; /* Adjust paragraph size */
  }
}

/* Responsive Styles for Larger Screens (like desktop) */
@media (min-width: 1025px) {
  .service-section .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .service-section .column {
    flex: 1 1 30%; /* Three columns in a row for larger screens */
  }
}


/* Responsive Styles for Two Columns */
@media (max-width: 767px) {
  .service-section .column {
    flex: 1 1 45%; /* Two columns for medium screens */
  }
}

/* Responsive Styles for One Column */
@media (max-width: 576px) {
  .service-section .column {
    flex: 1 1 100%; /* Single column on small screens */
  }
}



/* Services Intro Section */
#services-intro-section {
  padding-top: 60px;
  padding-bottom: 60px;
  margin-bottom: 30px;
}

/* Centered Heading */
#services-intro-section .about-heading {
  text-align: center;
  margin-bottom: 30px;
}

#services-intro-section .about-heading h2 {
  font-size: 36px;
  font-weight: bold;
  color: var(--pak-green);
  margin-bottom: 10px;
  opacity: 0;
  animation: bounceIn 1.5s ease-out, pulse 2s ease-in 1.5s infinite;
}

#services-intro-section.visible .about-heading h2 {
  opacity: 1;
}

/* Shared underline image */
#services-intro-section .underline-image {
  display: block;
  margin: 0 auto;
  width: 150px;
}

/* Image Styling */
#services-intro-section .image-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

#services-intro-section .main-image {
  width: 100%;
  max-width: 500px;
  height: 360px;
  border-radius: 10px;
  display: block;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

#services-intro-section .main-image.visible {
  opacity: 1;
  transform: translateX(0);
}

#services-intro-section .main-image:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Text Content */
#services-intro-section .text-content {
  text-align: left;
}

#services-intro-section .text-content p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-out, visibility 1s ease-out;
}

#services-intro-section .text-content p.visible {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 2s ease-out forwards;
}

/* Keyframes (reuse) */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  50% {
    opacity: 1;
    transform: translateY(-10px);
  }
  70% {
    opacity: 1;
    transform: translateY(5px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  #services-intro-section .main-image {
    max-width: 450px;
  }

  #services-intro-section .text-content {
    text-align: left;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  #services-intro-section .about-heading h2 {
    font-size: 28px;
  }

  #services-intro-section .underline-image {
    width: 120px;
  }

  #services-intro-section .main-image {
    max-width: 400px;
  }

  #services-intro-section .text-content p {
    margin-top: 10px;
    font-size: 15px;
  }
}

@media (max-width: 576px) {
  #services-intro-section .about-heading h2 {
    font-size: 24px;
  }

  #services-intro-section .underline-image {
    width: 100px;
  }

  #services-intro-section .main-image {
    max-width: 100%;
  }

  #services-intro-section .text-content {
    margin-top: 10px;
    text-align: left;
  }

  #services-intro-section .text-content p {
    font-size: 14px;
  }
}


/*==========================
	Start Appointment CSS
============================*/
   /* ========== GENERAL STYLES ========== */
        .appointment-form-container * {
          
            box-sizing: border-box;
        }

        
        body .appointment-form-container {
            margin: 0;
            padding: 0;
        }
        
        .appointment-form-container .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }
        
        .appointment-form-container .row {
            display: flex;
            flex-wrap: wrap;
            margin: 0 -15px;
        }
        
        .appointment-form-container .col-lg-6, 
        .appointment-form-container .col-lg-12, 
        .appointment-form-container .col-md-6, 
        .appointment-form-container .col-md-12, 
        .appointment-form-container .col-12 {
            padding: 0 15px;
            position: relative;
            width: 100%;
        }
        
        @media (min-width: 768px) {
            .appointment-form-container .col-md-6 {
                width: 50%;
            }
        }
        
        @media (min-width: 992px) {
            .appointment-form-container .col-lg-6 {
                width: 50%;
            }
            .appointment-form-container .col-lg-12 {
                width: 100%;
            }
        }
        
        /* ========== SECTION TITLE ========== */

/* Section Title Styling */
.section-title {
  text-align: center; /* Aligns text to center */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers content horizontally */
  margin: 0 auto;
}

.section-title h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--pak-green);
  opacity: 0; /* Start with opacity 0 */
  animation: bounceIn 1.5s ease-out, pulse 2s ease-in 1.5s infinite; /* Combine bounce and pulse */
}

.section-title.visible h2 {
  opacity: 1; /* Fade in by changing opacity to 1 */
}


/* Bounce animation keyframes */
@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: translateY(30px); /* Start below */
  }
  50% {
    opacity: 1;
    transform: translateY(-10px); /* Slightly bounce up */
  }
  70% {
    opacity: 1;
    transform: translateY(5px); /* Bounce down */
  }
  100% {
    opacity: 1;
    transform: translateY(0); /* Final position */
  }
}

/* Pulse animation keyframes */
@keyframes pulse {
  0% {
    transform: scale(1); /* Initial size */
  }
  50% {
    transform: scale(1.1); /* Slightly grow */
  }
  100% {
    transform: scale(1); /* Return to original size */
  }
}
  .section-title img {
    margin-bottom: 20px;
  }
  
  /* Section Title Paragraph */
.section-title p {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 30px;
  opacity: 0; /* Initially hidden */
  visibility: hidden; /* Initially hidden */
  transition: opacity 3s ease-in-out, transform 1s ease-in-out;
}

/* Fade-in animation keyframes */
@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden; /* Initially hidden */
  }
  100% {
    opacity: 1;
    visibility: visible; /* Make visible when fully in view */
  }
}

/* Visible class to trigger the animation */
.section-title.visible p {
  opacity: 1;
  visibility: visible;
  animation: fadeIn 2s ease-in forwards; /* Trigger fade-in animation */
}

        
        .appointment-form-container .section-title img {
            margin-bottom: 20px;
            width: 150px;
            height: auto;
        }
        
        .appointment-form-container .section-title p {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 30px;
            opacity: 0;
            visibility: hidden;
            max-width: 600px;
        }
        
        .appointment-form-container .section-title.visible p {
            opacity: 1;
            visibility: visible;
            animation: appointmentFadeIn 2s ease-in forwards;
        }
        
        /* ========== ANIMATIONS ========== */
        @keyframes appointmentBounceIn {
            0% { opacity: 0; transform: translateY(30px); }
            50% { opacity: 1; transform: translateY(-10px); }
            70% { opacity: 1; transform: translateY(5px); }
            100% { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes appointmentPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @keyframes appointmentFadeIn {
            0% { opacity: 0; visibility: hidden; }
            100% { opacity: 1; visibility: visible; }
        }
        
    
/* Center and style the form */
.appointment-form {
  max-width: 700px;
  margin: 30px auto;   /* center horizontally */
  width: 100%;
  margin-top: 30px;
}

/* Form groups */
.appointment-form .form-group {
  margin-bottom: 20px;
  position: relative;
}

/* Inputs & textarea */
.appointment-form input,
.appointment-form textarea,
.appointment-form select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
  outline: none;
  border-color: #4a90e2;
  box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.appointment-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Button styling */
.appointment-btn {
  background-color: var(--pak-green);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.3s, transform 0.2s;
  text-transform: uppercase;
  display: inline-block;
}

.appointment-btn:hover {
  background-color: var(--bright-green);
  transform: scale(1.05);
}
        
      
        /* Flag styling */
.iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags.png");
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .iti__flag {
        background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/img/flags@2x.png");
    }
}

/* Ensure wrapper takes full width */
.iti {
  width: 100% !important;
}

/* Ensure phone input expands inside */
.phone-input {
  display: block;
  width: 100% !important;   /* force full width */
  height: 45px;
  padding-left: 60px;       /* space for flag */
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 16px;
  line-height: 1.4;
  box-sizing: border-box;
}

/* Ensure flag container is visible */
.iti__flag-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/*==========================
	End Appointment CSS
============================*/



.footer {
  background-color: var(--pak-green);
  color: white;
  padding: 30px 0;
}

.footer h5 {
  font-size: 18px;
  margin-bottom: 15px;
}

.footer p {
  font-size: 14px;
}

.footer .footer-links {
  list-style: none;
  padding-left: 0;
}


.footer h5{
  color: yellow;
  font-weight: 600;
}

.footer .footer-links li {
  margin: 10px 0;
}

.footer .footer-links li a {
  color: #ddd;
  text-decoration: none;
}

.footer .footer-links li a:hover {
  color: var(--bright-green);
}

.footer .social-icons {
  margin-top: 30px;
  list-style: none;
  padding-left: 0;
}

.footer .social-icons li {
  display: inline;
  margin-right: 15px;
}

.footer .social-icons li a {
  color: white;
  font-size: 20px;
}

.footer .social-icons li a:hover {
  color: var(--bright-green);
}

.footer .col-md-4 a {
  color: #fff; /* make them white */
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer .col-md-4 a:hover {
  color: var(--bright-green); /* hover effect */
}

.footer-bottom {
  margin-top: 20px;
  font-size: 14px;
}

.footer-bottom a {
  color: white; /* Makes the link white */
  text-decoration: none; /* Optional: removes underline */
}