body {
  font-family: "Crimson Text", serif;
}

/* Smooth Scroll Animation */
html {
  scroll-behavior: smooth;
}

h1,
h2 {
  font-size: 2.5rem;
}

.topbar {
  background-color: #198754; /* Bootstrap green */
  color: #fff;
  padding: 8px 15px;
  font-size: 18px;
}
.topbar a {
  color: #fff;
  text-decoration: none;
}
/* Custom Button */
.btn-partner {
  background-color: #28a745; /* lighter green */
  color: #fff;
  font-size: 18px;
  padding: 6px 14px;
  border: none;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.btn-partner:hover {
  background-color: #1e7e34; /* darker green on hover */
  color: #fff;
}

@media only screen and (max-width: 600px) {
  h1,
  h2 {
    font-size: 1.5rem;
  }

  .carousel-item img {
    height: 500px !important;
  }

  .carousel-caption h2 {
    font-size: 2rem !important;
    padding-top: 150px !important;
  }

  .parallax h2 {
    font-size: 1.5rem !important;
    width: 300px;
  }

  .contact-section h2 {
    font-size: 2rem !important;
  }
}

.btn-custom:hover {
  background: #1d3564;
  border-color: #1d3564;
}

.navbar-nav .nav-link {
  font-size: 20px;
  color: #1d3564;
  font-weight: 500;
}

/*.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-item {
  position: relative;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay 
  z-index: 1;
}
.carousel-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  color: white;
  text-align: center;
  width: 80%;
}
.carousel-caption h2 {
  font-size: 3.5rem;
  font-weight: 700;
}
.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 10px;
  padding: 12px 0px;
}

/**/

/* Custom CTA Button */
.btn-custom {
  background-color: #198754 !important;
  border: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  padding: 10px 15px;
  font-size: 16px !important;
}
.btn-custom:hover {
  background-color: #146c43;
}

/* Carousel Captions (clean spacing) */
#heroCarousel h2 {
  font-size: 2rem;
}
#heroCarousel p {
  font-size: 1.1rem;
  color: #444;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #heroCarousel h2 {
    font-size: 1.5rem;
  }
  #heroCarousel p {
    font-size: 1rem;
  }
  #heroCarousel img {
    margin-top: 20px;
    max-height: 250px;
  }
}

/*=======gradient about=============*/

/* Section with Pattern Background */
.pattern-section {
  position: relative;
  background: url("https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png")
    repeat;
  background-size: auto;
  color: #fff;
}

/* Dark Overlay */

.pattern-section .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1); /* dark transparent layer */
  z-index: 1;
}

/* Make content above overlay */
.pattern-section .container {
  position: relative;
  z-index: 2;
}

/* Typography scoped to this section */
.pattern-section h1,
.pattern-section h2,
.pattern-section h3,
.pattern-section h4,
.pattern-section h5,
.pattern-section h6 {
  font-weight: 800;
  color: #198754;
  font-size: 35px;
}

.pattern-section p {
  font-weight: 400;
  line-height: 1.7;
  font-size: 16px;
  color: #333;
}

/* Left Column Cards */
.custom-card {
  background-color: #fff !important;
  color: #222;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Right Column Box */
.content-box {
  background-color: rgba(255, 255, 255, 0.95);
  color: #222;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Image Hover Effect */
.image-container {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.image-container img {
  transition: transform 0.5s ease-in-out;
}

.image-container:hover img {
  transform: scale(1.1);
}

/* Button Hover Effect */
.hover-effect {
  transition: all 0.3s ease-in-out;
}

.hover-effect:hover {
  background-color: #ff6600;
  color: #fff;
  transform: scale(1.05);
}

/* Section highlights */
.highlights-section {
  margin: 50px 0;
  padding: 50px 0; /* Adds margin at top and bottom */
}

h5.card-title {
  font-size: 22px;
  font-weight: bold;
}

/* Card Styling */
.highlight-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 10px;
  overflow: hidden;
}

/* Card Hover Effect */
.highlight-card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Image Hover Effect */
.highlight-card img {
  width: 120px;
  margin: 15px auto;
  padding: 12px;
  transition: transform 0.3s ease-in-out;
}

.highlight-card:hover img {
  transform: scale(1.05);
}

/* Parallax effect */
.parallax {
  position: relative;
  background-image: url("../assets/images/banner.jpg"); /* Replace with your image URL */
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  height: 600px; /* Adjust height as needed */
  color: white;
}

/* Overlay */
.parallax::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  background: rgba(0, 0, 0, 0.5); /* Dark overlay */
}

/* Content inside parallax */
.parallax-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.parallax h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: bold;
  color: #fff;
}

.parallax p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.parallax .btn {
  font-size: 1.1rem;
  padding: 10px 20px;
}

/*--------new contact form style -----------*/

.contact-section {
  background: url("https://www.toptal.com/designers/subtlepatterns/uploads/double-bubble-outline.png")
    repeat;
  background-size: auto;
  position: relative;
}

/* Dark overlay */
.contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.contact-section .container {
  position: relative;
  z-index: 2;
}

/* Divider line */
.contact-line {
  width: 100px;
  height: 3px;
  background: #fff;
  border: none;
  opacity: 1;
  margin-top: 10px;
}

/* Form box */
.contact-form {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-form h4 {
  color: #222;
}

.contact-form .form-control {
  border: 1px solid #ddd;
  font-size: 14px;
  padding: 10px 15px;
}

.contact-form .btn-danger {
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Info box */
.contact-info {
  background: #198754; /* dark red */
  border-radius: 20px;
  height: 100%;
}

/* Google Map Styling */
.google-map {
  width: 100%;
  height: 350px;
}

/* Enquiry Form Styling */
.enquiry-form input,
.enquiry-form textarea {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.enquiry-form button {
  background-color: #0056b3;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.enquiry-form button:hover {
  background-color: #1d3564;
  border: 1px solid #ccc;
}
/* Footer Section Styling */

/* Footer Section Styling */
.footer-section {
  background-color: #000;
  color: white;
  padding: 60px 0; /* Added more padding on top and bottom */
}

/* Logo and paragraph styling */
.footer-logo img {
  max-width: 150px;
}

.footer-logo p {
  font-size: 0.9rem;
  margin-top: 10px;
}

/* Quick Links */
.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 10px 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: white;
  transition: color 0.3s ease-in-out;
}

.footer-links ul li a:hover {
  color: #1d3564;
}

/* Contact Info */

.contact-section {
  padding: 0px 0px;
}
.contact-info i {
  margin-right: 15px;
  color: #fff;
}

.contact-info span {
  margin-left: 20px;
  color: #fff;
}

.contact-info p {
  margin: 5px 0;
}

/* Social Media */
.social-media a {
  color: white;
  font-size: 1rem;
  margin-right: 10px;
  text-decoration: none; /* Removed underline */
  transition: color 0.3s ease-in-out;
}

.social-media a:hover {
  color: #1d3564;
}

/* Horizontal Line */
.footer-line {
  border-top: 1px solid #444;
  margin: 30px 0;
}

/* Copyright Text */
.footer-copy {
  text-align: center;
  font-size: 0.9rem;
  padding: 10px 0;
}

/*======Inner Pages=====*/

/* Banner Background */
.inner-banner {
  background: linear-gradient(135deg, #f5f9f6, #eaf6ef);
}

/* Heading */
.inner-banner .banner-heading {
  font-size: 2.5rem;
  color: #0d503d;
}

/* Subtext */
.inner-banner .banner-subtext {
  font-size: 1.1rem;
  color: #444;
  margin-top: 10px;
}

/* Image */
.inner-banner img {
  max-height: 350px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .inner-banner .banner-heading {
    font-size: 2rem;
  }
  .inner-banner img {
    max-height: 250px;
  }
}

/* Parallax Section */
.inner-parallax-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust height as needed */
  background-image: url("../assets/images/banner.jpg"); /* Replace with your image */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax Effect */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

/* Dark Overlay */
.inner-parallax-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Adjust overlay darkness */
}

/* Heading Inside Parallax */
.inner-parallax-content {
  position: relative;
  z-index: 1;
}

.inner-parallax-content h1 {
  font-size: 48px;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 150px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .inner-parallax-section {
    height: 350px;
  }
  .inner-parallax-content h1 {
    font-size: 32px;
  }
}

/*certificate verification  */

/* Certificate Verification Section */
.certificate-section {
  background-color: #f8f9fa; /* Light grey background */
  padding: 50px 0;
  text-align: center;
}

/* Search Box and Button */
.search-box {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto;
}

.search-box input {
  border: 2px solid #007bff;
  border-right: none;
  border-radius: 5px 0 0 5px;
  padding: 10px;
  width: 100%;
}

.search-box button {
  border: 2px solid #007bff;
  border-left: none;
  background-color: #007bff;
  color: white;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.search-box button:hover {
  background-color: #0056b3;
}

/* Image Section */
.certificate-image {
  margin-top: 30px;
}

.certificate-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* courses Section Styling */
.affiliation-section {
  padding: 50px 0;
  background-color: #f9f9f9;
}

/* Affiliation Link Styling */
.affiliation-link {
  text-decoration: none; /* Remove underline */
  display: flex;
  flex-direction: column;
  align-items: center;
  color: inherit; /* Inherit text color */
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.affiliation-link:hover {
  transform: scale(1.05); /* Slight zoom on hover */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Affiliation Logo Styling */
.affiliation-logo {
  max-width: 40%;
  height: auto;
  display: block;
  margin: 0 auto;
  min-height: 100px; /* Ensures consistent logo height */
  object-fit: contain; /* Keeps logo aspect ratio */
}

/* Title and Description Styling */
.affiliation-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
  color: #333;
}

.affiliation-description {
  font-size: 0.9rem;
  text-align: center;
  color: #666;
  margin-top: 5px;
}

/* Swiper Styling */
.swiper {
  padding: 20px 0;
}

.swiper-slide {
  text-align: center;
  display: flex;
  justify-content: center;
}

/* Navigation Button Styling */
.swiper-button-next,
.swiper-button-prev {
  color: #333;
  font-size: 14px; /* Make navigation buttons smaller */
  background-color: transparent;
  display: none !important;
}

/* Pagination Bullet Styling */
.swiper-pagination-bullet {
  background: #000 !important;
}

/* Active Pagination Bullet */
.swiper-pagination-bullet-active {
  background: #000 !important;
}

.testimonial-section {
  padding: 50px 0;
  background: #f9f9f9;
  text-align: center;
}

.testimonial-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  margin: auto;
}

.client-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.client-feedback {
  font-style: italic;
  font-size: 16px;
  margin-bottom: 10px;
}

.client-name {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 5px;
}

.client-role {
  font-size: 14px;
  color: gray;
}

.client-carousel > h2 {
  color: #0d503d !important;
}

.swiper-button-next.testimonial-next,
.swiper-button-prev.testimonial-prev {
  color: #333;
}

.swiper-pagination.testimonial-pagination {
  position: relative;
  margin-top: 10px;
}

.blog-section {
  padding: 50px 0;
  background: #f9f9f9;
}

.blog-section h2 {
  color: #0d503d;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.blog-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 15px;
}

.read-more {
  display: inline-block;
  color: #007bff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}

.read-more:hover {
  color: #0056b3;
}

/*======================*/

.course-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  margin-bottom: 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.course-card img {
  width: 30%;
  object-fit: cover;
}
.course-info {
  padding: 15px;
  flex: 1;
}
.course-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}
.course-description {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}
.enquiry-btn {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  text-decoration: none;
}
.enquiry-btn:hover {
  background-color: #0056b3;
}
@media (max-width: 768px) {
  .course-card {
    flex-direction: column;
  }
  .course-card img {
    width: 100%;
  }
}

/*=========blog single===========*/

.blog-container {
  max-width: 900px;
  margin: auto;
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.blog-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 15px;
}
.blog-meta {
  color: #777;
  font-size: 14px;
  margin-bottom: 20px;
}
.blog-meta span {
  margin-right: 15px;
}
.blog-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
}
.blog-content {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}
.sidebar {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.sidebar h5 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
}
.recent-posts li {
  margin-bottom: 10px;
}
.recent-posts a {
  text-decoration: none;
  color: #007bff;
}
.categories li {
  list-style: none;
  padding: 5px 0;
}
.social-icons a {
  display: inline-block;
  font-size: 18px;
  color: #555;
  margin-right: 10px;
  transition: color 0.3s;
}
.social-icons a:hover {
  color: #007bff;
}

/* Section background */
.latest-news {
  background: url("https://www.toptal.com/designers/subtlepatterns/uploads/memphis-mini.png");
  background-size: auto;
  position: relative;
}

/* Overlay for better contrast */
.latest-news::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
}

.latest-news .container {
  position: relative;
  z-index: 2;
}

/* Card styling */
.news-card {
  border-radius: 16px;
  border: none;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card h5 {
  color: #198754;
}

.news-card p {
  color: #555;
}

/* Buttons */
.news-card .btn {
  font-weight: 600;
  font-size: 14px;
}

.client-logo {
  max-height: 80px;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.client-logo:hover {
  filter: grayscale(0%);
}
