body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}

h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}

h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}

h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}

h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}

p {
  font-size: 15px;
}

p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}

a {
  color: #608dfd;
  font-weight: 400;
}

a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}

ul,
ol {
  list-style: none;
}

ul,
ol {
  padding: 0;
}

hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
#menu {
  padding: 15px;
  transition: all 0.8s;
}

.section-title {
  margin-bottom: 70px;
}

.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #8EE2F0 0%, #8EE2F0 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

.section-title p {
  font-size: 18px;
}

.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #111;
  background-color: #8EE2F0;
  background-image: linear-gradient(to right, #8EE2F0 0%, #8EE2F0 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}

.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #111;
  background-image: none;
  background-color: #8EE2F0;
}

.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7)),
    url(../img/banner.jpg) center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}

.intro h1 {
  font-family: "Poppins", sans-serif;
  color: #fff;
  font-size: 60px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 50px;
  letter-spacing: 5px;
}

.intro h1 span {
  font-weight: 800;
  color: #8EE2F0;
}

.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

header .intro-text {
  padding-top: 250px;
  padding-bottom: 200px;
}

.intro-text a {
  margin-right: 20px;
}

/* Features Section */
#features {
  background: #f6f6f6;
  padding: 6rem 0;
}

#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #8EE2F0 0%, #8EE2F0 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

#features .card-hover {
  transition: 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#features .card-hover:hover {
  background-color: #f9f9f9;
  transform: translateY(-15px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

/* Dark mode: keep card background dark on hover */
body.dark-mode .service-card:hover,
body.dark-mode #features .card-hover:hover {
  background: #111 !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

/* About Section */
#about {
  padding: 100px 0;
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  text-align: center;
}

#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #8EE2F0 0%, #8EE2F0 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}

#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #8EE2F0;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}

#about img {
  width: 520px;
  margin-top: 10px;
  background: #fff;
  border-right: 0;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

#about p {
  line-height: 24px;
  margin: 30px 0;
}

/* Services Section - Image Cards Version */
#services {
  padding: 100px 0;
  background: #f9f9f9; /* Light background to make cards stand out */
}

#services .section-title h2 {
  color: #000000;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}

#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(0, 0, 0, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}

#services .section-title p {
  color: rgba(0, 0, 0, 0.7);
  max-width: 800px;
  margin: 0 auto 50px;
}

/* Card Styling */
.service-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 30px;
  height: 40%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-img-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-weight: 600;
  color: #000000;
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.service-content p {
  color: rgba(0, 0, 0, 0.75);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .service-img-container {
    height: 180px;
  }
}

@media (max-width: 768px) {
  #services {
    padding: 60px 0;
  }

  .service-img-container {
    height: 160px;
  }

  .service-content {
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .service-img-container {
    height: 140px;
  }
}

/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(142, 226, 240, 0.8) 0%,
    rgba(142, 226, 240, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}

/* Enhanced Testimonials Section */
#testimonials {
  background: #fff;
  padding: 60px 0;
}

#testimonials .section-title h2 {
  color: #8EE2F0;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
#testimonials .section-title p {
  color: #666;
  margin-top: 10px;
  font-size: 16px;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 40px 30px 30px 30px;
  text-align: center;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.testimonial-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  object-fit: cover;
  background: #eee;
  z-index: 2;
}

.testimonial-quote {
  color: #222;
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  min-height: 90px;
}
.testimonial-quote .quote-icon {
  color: #8EE2F0;
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}
.testimonial-quote p {
  font-style: italic;
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-meta {
  margin-top: auto;
  font-size: 16px;
  font-weight: 500;
  color: #8EE2F0;
  letter-spacing: 0.5px;
}
.testimonial-name {
  color: #8EE2F0;
  font-weight: 700;
  font-size: 18px;
}
.testimonial-job {
  color: #888;
  font-size: 15px;
  font-weight: 400;
  margin-left: 6px;
}

/* Swiper navigation and pagination custom styling */
#testimonials .swiper-button-next,
#testimonials .swiper-button-prev {
  color: #8EE2F0;
  top: 50%;
  width: 36px;
  height: 36px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
#testimonials .swiper-button-next:hover,
#testimonials .swiper-button-prev:hover {
  background: #8EE2F0;
  color: #fff;
}
#testimonials .swiper-pagination-bullet {
  background: #8EE2F0;
  opacity: 0.5;
}
#testimonials .swiper-pagination-bullet-active {
  opacity: 1;
}

/* Responsive for testimonials */
@media (max-width: 1024px) {
  .testimonial-card {
    min-height: 380px;
    padding: 32px 18px 24px 18px;
  }
}
@media (max-width: 768px) {
  .testimonial-card {
    min-height: 340px;
    padding: 28px 10px 20px 10px;
  }
  .testimonial-img {
    width: 64px;
    height: 64px;
  }
}
@media (max-width: 576px) {
  .testimonial-card {
    min-height: 320px;
    padding: 20px 4px 16px 4px;
  }
  .testimonial-img {
    width: 56px;
    height: 56px;
  }
}

/* Team Section */
#team {
  padding: 100px 0;
}

#team h4 {
  margin: 5px 0;
}

#team .team-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
}

/* Specific positioning for Usman's image to show face better */
#team .team-img[src*="usman.jpg"] {
  object-position: center 25%;
}

#team .thumbnail {
  background: transparent;
  border: 0;
}

#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}

/* Responsive team images */
@media (max-width: 768px) {
  #team .team-img {
    width: 200px;
    height: 200px;
  }
  
  #team .team-img[src*="usman.jpg"] {
    object-position: center 25%;
  }
}

@media (max-width: 576px) {
  #team .team-img {
    width: 180px;
    height: 180px;
  }
  
  #team .team-img[src*="usman.jpg"] {
    object-position: center 25%;
  }
}

/* Footer Section */
#footer {
  background: #f8f9fa;
  padding: 30px 0;
  text-align: center;
}

#footer p {
  color: #777;
  font-size: 14px;
  margin: 0;
}

#footer a {
  color: #8EE2F0;
  text-decoration: none;
  font-weight: 500;
}

#footer a:hover {
  border-bottom: 2px solid #8EE2F0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  #contact .col-md-8,
  #contact .col-md-3 {
    width: 100%;
    padding: 0 15px;
  }

  #contact h3 {
    margin-top: 40px;
  }
}

/* How It Works Section */
#how-it-works {
  position: relative;
  padding: 100px 0;
  background: #fff;
  text-align: center;
  overflow: hidden;
  z-index: 1;
}

/* Add background image with reduced opacity */
#how-it-works::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/img/pinkBG.jpg") no-repeat center center;
  background-size: cover;
  opacity: 0.15; /* adjust as needed */
  z-index: -1;
}

#how-it-works .steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

#how-it-works .step-card {
  background: #fff;
  padding: 40px 30px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

#how-it-works .step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: #8EE2F0;
}

#how-it-works .step-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(to right, #8EE2F0 0%, #8EE2F0 100%);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: 700;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid #fff;
}

#how-it-works .step-content {
  margin-top: 20px;
}

#how-it-works .step-content h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #333;
  position: relative;
  padding-bottom: 15px;
}

#how-it-works .step-content h3::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 3px;
  background: #8EE2F0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#how-it-works .step-content p {
  color: #666;
  line-height: 1.6;
  margin-top: 15px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  #how-it-works .steps-container {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 50px auto 0;
  }

  #how-it-works .step-card {
    margin-bottom: 50px;
  }
}

@media (max-width: 768px) {
  #how-it-works {
    padding: 60px 0;
  }
}

/* === Blog Section === */
.blog-section {
  padding: 5rem 2rem;
  background-color: #f9f9fb;
  text-align: center;
  margin-top: 70px;
  position: relative;
}

.blog-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: #1d1b49;
  margin-bottom: 1rem;
}

.blog-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  width: 340px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  text-align: left;
  cursor: pointer;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-image {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.blog-heading {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1d1b49;
  padding: 1.2rem 1.25rem 0.5rem;
  line-height: 1.6;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 0 1.25rem 1.25rem;
  color: #777;
  border-top: 1px solid #eee;
  margin-top: auto;
}

/* Optional: Add subtle hover underline on title */
.blog-card:hover .blog-heading {
  text-decoration: underline;
  color: #00a651;
}

/* Responsive */
@media (max-width: 768px) {
  .blog-cards {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .blog-card {
    width: 95%;
  }

  .blog-title {
    font-size: 2rem;
  }
}
/*breadcrumb*/
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem 0;
  font-size: 0.95rem;
  color: #000000;
  background-color: #F9F9FB; /* Added background color */
  padding: 0.5rem 1rem; /* Added padding for better visibility */
  border-radius: 4px; /* Optional: slight rounding of corners */
}

.breadcrumb-link {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb-link:hover {
  color: #000000;
  text-decoration: underline;
}

.breadcrumb-separator {
  margin: 0 0.5rem;
  color: #000000;
}

.breadcrumb-current {
  color: #000000;
  font-weight: 500;
}

/* Large left variant - now with background */
.breadcrumb.blog-breadcrumb-large-left {
  font-size: 2rem;
  font-weight: bold;
  justify-content: center;
  margin: 2rem 0;
  position: relative;
  top: auto;
  left: auto;
  z-index: 2;
  background-color: #F9F9FB; /* Added background */
  padding: 1rem 2rem; /* Larger padding for larger text */
}
/* === Footer Section === */
.footer-section {
  background: linear-gradient(to right, #8EE2F0 0%, #8EE2F0 100%) !important;;
  color: #fff !important;
  padding: 6rem 3rem 3rem;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.footer-top {
  border-bottom: 1px solid #ddd;
  padding-bottom: 3rem; /* More breathing room */
  margin-bottom: 3rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  max-width: 1300px; /* Slightly wider */
  margin: 0 auto;
}

.footer-about {
  flex: 1 1 350px;
  max-width: 450px;
}

.footer-logo {
  font-size: 5rem; /* Bigger logo text */
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 1.2rem;
}

.footer-logo .e-dot {
  color: #00a651;
  font-weight: bold;
}

.footer-about p {
  font-size: 1.3rem; /* Slightly larger text */
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #e3e9f7 !important;
}

/* === Social Icons === */
.social-icons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.8rem;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1d62f0 !important;
  color: #fff !important;
  font-size: 1.8rem; /* Bigger icons */
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transition: background-color 0.3s, color 0.3s, transform 0.2s;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: #ffcc00 !important;
  color: #2563eb !important;
  transform: scale(1.1);
}

/* === Useful Links and Contact === */
.footer-links,
.footer-contact {
  flex: 1 1 250px;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 2rem; /* Slightly bigger heading */
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: #fff !important;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  color: #e3e9f7 !important;
}

.footer-links ul li a {
  text-decoration: none;
  color: #fff !important;
  transition: color 0.3s;
}

.footer-links ul li a:hover {
  color: #ffcc00 !important;
}

/* === Contact Icons === */
.footer-contact ul li i {
  margin-right: 0.75rem;
  color: #00a651;
  font-size: 1.6rem; /* Increased icon size */
  width: 24px;
  text-align: center;
}

/* === Bottom Footer === */
.footer-bottom {
  text-align: center;
  font-size: 0.95rem;
  color: #fff !important;
  margin-top: 2rem;
}

.footer-bottom .developer {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: #fff !important;
  text-decoration: none;
}

.footer-bottom .green-link {
  color: #00a651;
  border-bottom: 1px solid #00a651;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    width: 100%;
    max-width: 100%;
  }

  .social-icons {
    justify-content: flex-start;
  }

  .footer-bottom {
    text-align: left;
    padding-left: 1rem;
  }
}

/* Navbar Logo Styling */
.navbar-logo-img {
  height: 60px;
  margin-right: 10px;
  display: inline-block;
  vertical-align: middle;
}

/* Header Font Enhancement */
h1,
.main-blog-heading {
  font-family: "Poppins", sans-serif;
}

/* Prevent content from being hidden behind the fixed navbar */
body {
  margin-top: 80px;
}

@media (max-width: 767px) {
  body {
    margin-top: 100px;
  }
}

.contact-success {
  color: #155724;
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 600;
}

.contact-error {
  color: #721c24;
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 10px 15px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-weight: 600;
}

.btn[disabled],
.btn-custom[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}

#contact .form-control:disabled {
  background: #f5f5f5;
  color: #aaa;
}

/* --- Testimonials Section: Blue Theme & Dark Mode --- */
#testimonials .section-title h2 {
  color: #8EE2F0;
}
#testimonials .section-title p {
  color: #666;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  padding: 40px 30px 30px 30px;
  text-align: center;
  position: relative;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s;
}
.testimonial-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.testimonial-img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
}
.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 5px solid #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  object-fit: cover;
  background: #eee;
  z-index: 2;
}

.testimonial-quote {
  color: #222;
  font-size: 16px;
  margin-bottom: 24px;
  position: relative;
  min-height: 90px;
}
.testimonial-quote .quote-icon {
  color: #8EE2F0;
  font-size: 22px;
  margin-bottom: 8px;
  display: block;
}
.testimonial-quote p {
  font-style: italic;
  margin: 0;
  color: #222;
  font-size: 16px;
  line-height: 1.6;
}

.testimonial-meta {
  margin-top: auto;
  font-size: 16px;
  font-weight: 500;
  color: #8EE2F0;
  letter-spacing: 0.5px;
}
.testimonial-name {
  color: #8EE2F0;
  font-weight: 700;
  font-size: 18px;
}
.testimonial-job {
  color: #888;
  font-size: 15px;
  font-weight: 400;
  margin-left: 6px;
}

#testimonials .swiper-button-next,
#testimonials .swiper-button-prev {
  color: #8EE2F0;
  background: #fff;
}
#testimonials .swiper-button-next:hover,
#testimonials .swiper-button-prev:hover {
  background: #8EE2F0;
  color: #fff;
}
#testimonials .swiper-pagination-bullet {
  background: #8EE2F0;
  opacity: 0.5;
}
#testimonials .swiper-pagination-bullet-active {
  opacity: 1;
}

/* --- Dark Mode for Testimonials --- */
body.dark-mode #testimonials {
  background: #181a20;
}
body.dark-mode .testimonial-card {
  background: #232634;
  box-shadow: 0 4px 24px rgba(0,0,0,0.32);
}
body.dark-mode .testimonial-img {
  border: 5px solid #232634;
  background: #222;
}
body.dark-mode #testimonials .section-title h2 {
  color: #8EE2F0;
}
body.dark-mode #testimonials .section-title p {
  color: #bbb;
}
body.dark-mode .testimonial-quote {
  color: #eee;
}
body.dark-mode .testimonial-quote .quote-icon {
  color: #8EE2F0;
}
body.dark-mode .testimonial-quote p {
  color: #eee;
}
body.dark-mode .testimonial-meta,
body.dark-mode .testimonial-name {
  color: #8EE2F0;
}
body.dark-mode .testimonial-job {
  color: #aaa;
}
body.dark-mode #testimonials .swiper-button-next,
body.dark-mode #testimonials .swiper-button-prev {
  color: #8EE2F0;
  background: #232634;
}

#testimonials .swiper {
  position: relative;
  padding-bottom: 10px;
  margin-left: -8px;
  margin-right: -8px;
}
#testimonials .swiper-slide {
  padding-left: 8px;
  padding-right: 8px;
}

@media (max-width: 768px) {
  #testimonials .swiper {
    margin-left: 0;
    margin-right: 0;
  }
  #testimonials .swiper-slide {
    padding-left: 2px;
    padding-right: 2px;
  }
}

.testimonial-card {
  min-height: 180px;
  padding: 20px 14px 16px 14px;
}
#testimonials .swiper,
#testimonials .swiper-wrapper,
#testimonials .swiper-slide {
  height: auto !important;
}
#testimonials .swiper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

/* --- Dark Mode for Contact Page --- */
body.dark-mode #contact {
  background: #181a20;
  color: #e3e9f7;
}
body.dark-mode #contact .container {
  background: #232634;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.32);
  padding: 2rem 2rem 2.5rem 2rem;
}
body.dark-mode #contact .section-title h2,
body.dark-mode #contact .section-title p {
  color: #8EE2F0;
}
body.dark-mode #contact .form-control {
  background: #232634;
  color: #e3e9f7;
  border: 1px solid #444;
}
body.dark-mode #contact .form-control:disabled {
  background: #232634;
  color: #888;
}
body.dark-mode #contact .form-error {
  color: #ff6b6b;
}
body.dark-mode #contact .btn-custom {
  background: linear-gradient(to right, #2563eb 0%, #8EE2F0 100%);
  color: #fff;
}
body.dark-mode #contact .btn-custom:hover {
  background: #2563eb;
  color: #fff;
}
body.dark-mode #contact .contact-info {
  background: #232634;
  border-radius: 12px;
  color: #e3e9f7;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}
body.dark-mode #contact .contact-item h3,
body.dark-mode #contact .contact-item span,
body.dark-mode #contact .contact-item p {
  color: #e3e9f7;
}
body.dark-mode #contact .contact-item i {
  color: #8EE2F0 !important;
}
body.dark-mode #contact .social a {
  background: #232634 !important;
  color: #8EE2F0 !important;
  border: 1px solid #8EE2F0;
}
body.dark-mode #contact .social a:hover {
  background: #8EE2F0 !important;
  color: #fff !important;
}
body.dark-mode #contact .map-heading h2,
body.dark-mode #contact .map-heading p {
  color: #8EE2F0;
}
body.dark-mode #contact .map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.18);
}

.footer-section,
.footer-section .footer-about,
.footer-section .footer-links,
.footer-section .footer-contact,
.footer-section .footer-bottom,
.footer-section .footer-logo,
.footer-section .footer-links ul li,
.footer-section .footer-contact ul li,
.footer-section .footer-about p,
.footer-section .footer-links h3,
.footer-section .footer-contact h3 {
  color: #111 !important;
}

.footer-section .footer-links ul li a {
  color: #111 !important;
}
.footer-section .footer-links ul li a:hover {
  color: #111 !important;
}
.footer-section .footer-contact ul li a {
  color: #111 !important;
}
.footer-section .footer-contact ul li a:hover {
  color: #111 !important;
}

.footer-section .footer-bottom,
.footer-section .footer-bottom a,
.footer-section .footer-bottom span {
  color: #111 !important;
}

body.dark-mode .footer-section,
body.dark-mode .footer-section .footer-about,
body.dark-mode .footer-section .footer-links,
body.dark-mode .footer-section .footer-contact,
body.dark-mode .footer-section .footer-bottom,
body.dark-mode .footer-section .footer-logo,
body.dark-mode .footer-section .footer-links ul li,
body.dark-mode .footer-section .footer-contact ul li,
body.dark-mode .footer-section .footer-about p,
body.dark-mode .footer-section .footer-links h3,
body.dark-mode .footer-section .footer-contact h3,
body.dark-mode .footer-section .footer-links ul li a,
body.dark-mode .footer-section .footer-links ul li a:hover,
body.dark-mode .footer-section .footer-contact ul li a,
body.dark-mode .footer-section .footer-contact ul li a:hover,
body.dark-mode .footer-section .footer-bottom,
body.dark-mode .footer-section .footer-bottom a,
body.dark-mode .footer-section .footer-bottom span {
  color: #fff !important;
}

body.dark-mode .btn-custom {
  background: #111 !important;
  color: #fff !important;
}

body.dark-mode .social-icons a,
body.dark-mode .social-icons i.fa {
  color: #fff !important;
  background: #23232b !important;
}
body.dark-mode .social-icons a:hover,
body.dark-mode .social-icons i.fa:hover {
  color: #fff !important;
  background: #111 !important;
  box-shadow: none !important;
  border: none !important;
}

#header, header {
  background: #8EE2F0 !important;
}

.register-btn {
  background: #8EE2F0 !important;
  color: #111 !important;
}
body.dark-mode .register-btn {
  background: #111 !important;
  color: #fff !important;
}

@media (max-width: 768px) {
  .intro {
    display: block;
    padding: 0;
    min-height: 400px;
  }
  .intro h1 {
    font-size: 32px;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
    word-break: break-word;
    line-height: 1.1;
  }
  .intro p {
    font-size: 16px;
    line-height: 1.3;
    margin-bottom: 32px;
  }
  header .intro-text {
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
  }
  .btn-custom {
    width: 100%;
    margin-right: 0;
    margin-bottom: 12px;
    font-size: 15px;
    padding: 12px 0;
  }
}

@media (max-width: 480px) {
  .intro h1 {
    font-size: 22px;
    margin-bottom: 16px;
    padding: 0 4px;
  }
  .btn-custom {
    font-size: 14px;
    padding: 10px 0;
  }
  header .intro-text {
    padding-top: 60px;
    padding-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .navbar-logo img {
    max-width: 120px;
    height: auto;
    margin: 8px 0 8px 8px;
    display: block;
  }
}
@media (max-width: 480px) {
  .navbar-logo img {
    max-width: 90px;
    margin: 6px 0 6px 6px;
  }
}

@media (max-width: 991px) {
  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    padding-top: 40px;
    padding-bottom: 40px;
    gap: 18px;
    position: relative;
  }
  .nav-menu .register-btn {
    margin-top: auto;
    margin-bottom: auto;
    align-self: center;
  }
}
@media (max-width: 480px) {
  .nav-menu .nav-link,
  .nav-menu .register-btn {
    font-size: 16px;
    padding: 12px 0;
  }
  .nav-menu {
    gap: 12px;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}

@media (max-width: 992px) {
  .registration-main {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .registration-image-container {
    width: 100%;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
  }
  .registration-form-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }
}
@media (max-width: 768px) {
  .registration-header-title {
    font-size: 1.5rem;
    padding: 12px 0;
  }
  .registration-main {
    padding: 0 8px;
    gap: 20px;
  }
  .registration-card-enhanced {
    padding: 18px 8px;
    border-radius: 12px;
  }
  .registration-form-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .registration-input,
  .registration-select {
    width: 100%;
    font-size: 15px;
    padding: 10px 12px 10px 36px;
  }
  .registration-form-btn-row {
    justify-content: center;
  }
  .registration-form-btn {
    width: 100%;
    font-size: 16px;
    padding: 12px 0;
    border-radius: 20px;
  }
}
@media (max-width: 480px) {
  .registration-header-title {
    font-size: 1.1rem;
    padding: 8px 0;
  }
  .registration-card-enhanced {
    padding: 10px 2px;
    border-radius: 8px;
  }
  .registration-form-btn {
    font-size: 15px;
    padding: 10px 0;
  }
}

@media (max-width: 600px) {
  .registration-form-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .registration-form-grid .input-icon-group,
  .registration-form-grid .full-width.input-icon-group {
    margin-bottom: 24px;
    transition: box-shadow 0.2s, border 0.2s;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(37,99,235,0.06);
    border: 1.5px solid transparent;
    padding: 6px 0 6px 0;
  }
  .registration-form-grid .input-icon-group:focus-within {
    border: 1.5px solid #8EE2F0;
    box-shadow: 0 4px 16px rgba(37,99,235,0.10);
    background: #f8fcff;
  }
  .registration-form-grid .input-icon-group:not(:first-child) {
    margin-top: 0;
  }
  .registration-input,
  .registration-select {
    background: transparent;
    border: none;
    box-shadow: none;
    outline: none;
    width: 100%;
    font-size: 16px;
    padding: 12px 12px 12px 36px;
    border-radius: 8px;
  }
  .registration-form-btn-row {
    margin-top: 12px;
  }
}
