:root {
  --primary-color: #2b4c7e;
  --primary-gradient: linear-gradient(135deg, #2b4c7e 0%, #1a365d 100%);
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
  --h1-font-size: clamp(1.75rem, 4vw, 2.5rem);
  --h2-font-size: clamp(1.5rem, 3vw, 2rem);
  --h3-font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  --body-font-size: clamp(0.875rem, 1.5vw, 1rem);
}

/* Hero CTA Buttons */
.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

.btn-get-started {
  background: var(--primary-gradient);
  color: #fff;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.3s;
  box-shadow: 0 4px 15px rgba(43, 76, 126, 0.2);
  border: none;
}

.btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 76, 126, 0.3);
}

.btn-learn-more {
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  transition: 0.3s;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Hero Section Text */
.hero .welcome h2 {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero .welcome p {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Resources Section */
.resources {
  color: #fff;
  background-color: #1a237e; /* Deep blue background */
  text-shadow: none;
}

.resources .section-title h2,
.resources .section-title p {
  color: #ffffff; /* White text for better contrast on deep blue */
  text-shadow: none;
}

.resource-card {
  padding: 35px;
  background: #333399 !important;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(31, 38, 135, 0.15);
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(31, 38, 135, 0.2);
  background: #2b2b80 !important;
}

.resource-card .icon {
  font-size: 38px;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: #ffffff;
  margin: 0 auto 25px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.resource-card h4 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
  letter-spacing: -0.2px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.resource-card p {
  font-size: 16px;
  line-height: 1.6;
  color: #f0f0f0;
  margin-bottom: 20px;
  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
}

.coming-soon-banner {
  display: inline-block;
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-top: 15px;
  box-shadow: 0 4px 15px rgba(43, 76, 126, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover .coming-soon-banner {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(43, 76, 126, 0.25);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.read-more:hover {
  color: #1a365d;
  gap: 12px;
}

.read-more i {
  transition: transform 0.3s ease;
}

.read-more:hover i {
  transform: translateX(3px);
}

/* Resources Section with Background */
.resources {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.resources .section-title h2,
.resources .section-title p {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.resources .resource-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
}

/* Industries Section */
.industries {
  color: #fff;
  background: linear-gradient(rgba(0, 44, 66, 0.95), rgba(0, 44, 66, 0.95)), url("../img/bg3.jpg") center/cover no-repeat fixed;
  padding: 80px 0;
}

.industries .section-title h2,
.industries .section-title p {
  color: #ffffff;
}

.industries .section-title h2:after {
  background: #fff;
}

.industry-card {
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  padding: 0;
  transition: all 0.3s ease;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.industry-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.15);
}

.industry-card .industry-image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.industry-card .industry-image:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
}

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

.industry-card:hover .industry-image img {
  transform: scale(1.1);
}

.industry-card h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 25px 25px 15px;
  position: relative;
  padding-bottom: 15px;
}

.industry-card h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: #00a6eb;
}

.industry-card p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.7;
  padding: 0 25px 25px;
  margin: 0;
}

@media (max-width: 991px) {
  .industry-card .industry-image {
    height: 200px;
  }
  
  .industry-card h3 {
    font-size: 1.35rem;
    margin: 20px 20px 12px;
  }
  
  .industry-card p {
    padding: 0 20px 20px;
  }
}

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

  .industry-card .industry-image {
    height: 180px;
  }
  
  .industry-card h3 {
    font-size: 1.25rem;
    margin: 15px 15px 10px;
  }
  
  .industry-card p {
    padding: 0 15px 20px;
  }
}

/* Contact Cards and Info Items - Base Styles with High Specificity */
body .contact .contact-card,
body #contact .contact-card,
.contact .contact-card,
#contact .contact-card,
.contact-card {
  background-color: #2453A3 !important;
  background: #2453A3 !important;
  backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: 8px;
  transition: all 0.3s ease;
  color: #f0f0f0;
}

body .contact .info-item,
body #contact .info-item,
.contact .info-item,
#contact .info-item,
.info-item {
  padding: 25px;
  background-color: #2453A3 !important;
  background: #2453A3 !important;
  border-radius: 15px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  text-align: center;
}

.contact .info-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  background-color: #2453A3 !important;
  background: #2453A3 !important;
  border-radius: 15px;
  margin-bottom: 20px;
}

.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  margin: 0 auto 15px;
  font-size: 20px;
}

.contact .info-item h3,
.contact .info-item p {
  width: 100%;
  text-align: center;
  margin: 0;
}

.info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
}

.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

.contact-card p {
  font-size: 1rem;
  color: #f0f0f0;
  line-height: 1.5;
}

.info-item i,
.info-item h3,
.info-item p {
  color: #f0f0f0;
}

/* Improve card readability on dark backgrounds - excluding contact cards and info items */
.service-item:not(.contact-card):not(.info-item),
.resource-card:not(.contact-card):not(.info-item),
.testimonial-item:not(.contact-card):not(.info-item) {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Contact Cards and Info Items with maximum specificity */
.contact-card,
.info-item,
#contact .contact-card,
#contact .info-item,
body #contact .contact-card,
body #contact .info-item,
body .contact .contact-card,
body .contact .info-item,
.contact .contact-card,
.contact .info-item {
  background: #2453A3 !important;
  background-color: #2453A3 !important;
  color: #ffffff !important;
}

/* Strong text color enforcement for all text elements */
.contact-card h3,
.contact-card p,
.contact-card span,
.contact-card i,
.contact-card a:not(.btn),
.info-item h3,
.info-item p,
.info-item span,
.info-item i,
.info-item a:not(.btn),
#contact .contact-card h3,
#contact .contact-card p,
#contact .contact-card span,
#contact .contact-card i,
#contact .info-item h3,
#contact .info-item p,
#contact .info-item span,
#contact .info-item i,
body #contact .contact-card *:not(.btn),
body #contact .info-item *:not(.btn) {
  color: #ffffff !important;
}

/* Override any other background colors in media queries */
@media (max-width: 768px) {
  #contact {
    background: rgba(51, 102, 204, 0.1);
  }

  body .contact .contact-card,
  body #contact .contact-card,
  .contact .contact-card,
  #contact .contact-card,
  .contact-card,
  body .contact .info-item,
  body #contact .info-item,
  .contact .info-item,
  #contact .info-item,
  .info-item {
    background-color: #2453A3 !important;
    background: #2453A3 !important;
  }

  #contact .contact-card h3,
  #contact .contact-card p,
  #contact .info-item h3,
  #contact .info-item p,
  #contact .info-item i,
  .contact-card .bi,
  .contact-card a:not(.btn) {
    color: #f0f0f0 !important;
  }

  .contact-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }

  .contact-card p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .contact-card i.bi {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .contact-card .btn {
    width: 100%;
    max-width: 200px;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
  }

  .social-links.professional {
    gap: 12px;
  }

  .social-links.professional a {
    width: 35px;
    height: 35px;
  }

  .qr-code img {
    max-width: 180px;
    padding: 12px;
  }

  #contact .info-item i {
    font-size: 32px;
    margin-bottom: 15px;
    display: inline-block;
  }

  .footer {
    background: #4da6ff !important;
  }

  #resources .resource-card {
    background: #333399 !important;
  }
  
  #resources .resource-card:hover {
    background: #2b2b80 !important;
  }
  
  #resources .resource-card .icon {
    color: #ffffff !important;
    background: none;
    -webkit-text-fill-color: #ffffff !important;
  }

  /* Improve card readability on dark backgrounds */
  .service-item,
  .resource-card,
  .testimonial-item {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }

  /* Keep the green background for contact cards and info items */
  .contact-card,
  .info-item,
  #contact .contact-card,
  #contact .info-item,
  body #contact .contact-card,
  body #contact .info-item,
  body .contact .contact-card,
  body .contact .info-item {
    background: #2453A3 !important;
    padding: 25px 20px;
  }
}

@media (max-width: 576px) {
  .contact-card {
    margin-bottom: 15px;
  }
  
  .contact-card h3 {
    font-size: 1.2rem;
  }

  .contact-card p {
    font-size: 0.9rem;
  }

  .contact-card i.bi {
    font-size: 1.75rem;
  }

  .social-links.professional a {
    width: 32px;
    height: 32px;
  }
}

.social-links.professional {
  gap: 15px;
}

.social-links.professional a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: white;
  transform: scale(1);
  margin: 0 5px;
  transition: all 0.3s ease;
}

.social-links.professional a:hover {
  transform: scale(1.15);
  box-shadow: 0 5px 15px rgba(43, 76, 126, 0.3);
}

.qr-code img {
  border: 2px solid var(--primary-color);
  padding: 15px;
  border-radius: 15px;
  background: white;
  transition: all 0.3s ease;
}

.qr-code img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(43, 76, 126, 0.2);
}

/* Testimonials Section */
.testimonials {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  background-color: #009900;
}

.testimonials .section-title h2,
.testimonials .section-title p {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.testimonials .swiper {
  background-color: #b3ffb3;
  padding: 20px;
  border-radius: 10px;
}

.testimonials .testimonial-item {
  background: #006600 !important;
  backdrop-filter: blur(15px);
  color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.testimonials .testimonial-item h3,
.testimonials .testimonial-item h4,
.testimonials .testimonial-item p,
.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #ffffff;
}

.testimonials .info h3 {
  color: #ffffff;
  margin-bottom: 20px;
}

.testimonials .testimonial-item span {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .testimonials .testimonial-item span {
    -webkit-line-clamp: 4;
    line-clamp: 4;
  }
  
  .testimonials .testimonial-item span.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    -moz-line-clamp: unset;
    -ms-line-clamp: unset;
    line-clamp: unset;
  }
  
  .testimonials .testimonial-item .read-more-btn {
    display: inline-block;
    color: #ffffff;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    padding: 8px 20px;
    border-radius: 25px;
    margin-top: 15px;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-weight: 500;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(0);
  }
  
  .testimonials .testimonial-item .read-more-btn:hover {
    background: linear-gradient(135deg, #27ae60 0%, #219a52 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
  }
  
  .testimonials .testimonial-item .read-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.2);
  }
}

@media (min-width: 769px) {
  .testimonials .testimonial-item .read-more-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  #testimonials .testimonial-item {
    background: #006600 !important;
    border-color: rgba(255, 255, 255, 0.2);
  }
}

/* Service Items - Base Styling */
.service-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 30px 20px;
  min-height: 340px;
  border-radius: 10px;
  background: #006666;
  color: #ffffff;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

#services .service-item,
.services .service-item {
  background-color: #006666 !important;
}

#services .service-item:hover,
.services .service-item:hover {
  background-color: #006666 !important;
}

.service-item h3,
.service-item p,
.service-item ul li,
.service-item ul li::marker,
.service-item .text-decoration-none {
  color: #ffffff !important;
}

.service-item .text-decoration-none.text-dark {
  color: #ffffff !important;
}

.service-item h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.service-item p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 15px;
}

.service-item ul li {
  font-size: 14px;
  margin-bottom: 8px;
}

/* Service Item Image */
.service-item .service-image {
    width: 100%;
    height: 200px;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
}

.service-item .service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

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

/* Remove the old icon styles */
.service-item .service-icon {
    display: none;
}

/* About Section Text Styling */
.about {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.about h3 {
  color: #fff;
}

.about p {
  color: #f0f0f0;
}

.about ul li i {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.about ul li h5 {
  color: #fff;
}

/* Mission Vision Section Styles */
.mission-vision h2 {
  font-size: 2rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mission-vision p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.value-item {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.value-item h5 {
  font-size: 1.25rem;
  font-weight: 600;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.value-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.statement-card {
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.statement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.5);
}

.statement-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.statement-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 0;
}

.statement-card p strong {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
  .statement-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .statement-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .statement-card p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .statement-card p strong {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .mission-vision h2 {
    font-size: 1.75rem;
  }
  
  .mission-vision p {
    font-size: 1rem;
  }
  
  .value-item {
    margin-bottom: 20px;
  }
  
  .value-item h5 {
    font-size: 1.1rem;
  }
  
  .value-item p {
    font-size: 0.9rem;
  }
}

/* Services Section Text Styling */
.services {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.services.section {
  background: #669999;
}

.services .section-title h2 {
  color: var(--primary-color);
  text-shadow: none;
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.services .section-title p {
  color: var(--primary-color);
  text-shadow: none;
  font-weight: 500;
}

.services .section-title h2,
.services .section-title p {
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.services .service-item {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  background-color: #0080ff;
  color: #ffffff;
}

.services .service-item h3,
.services .service-item p,
.services .service-item ul li {
  color: #ffffff;
}

.services .service-item ul li::marker {
  color: #ffffff;
}

.services .service-icon i {
  color: #ffffff;
}

/* Contact Section with Background */
.contact {
  color: #fff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.contact .section-title h2,
.contact .section-title p {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.contact .info-item,
.contact .contact-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
}

.contact .info-item i,
.contact .info-item h3,
.contact .info-item p,
.contact .contact-card h3,
.contact .contact-card p {
  color: #2b2b2b;
}

/* Header Styling */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(31, 38, 135, 0.1);
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    display: block;
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.3s;
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }

  .header .logo {
    margin-left: 60px;
  }

  .navmenu {
    position: fixed;
    top: 60px;
    right: auto;
    left: 10px; /* Changed from right: 10px to left: 10px */
    width: max-content;
    min-width: 200px;
    max-width: 80%;
    bottom: auto;
    z-index: 9998;
    overflow-y: auto;
    background: white;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  }

  .navmenu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  .navmenu li {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-in-out;
  }

  .navmenu.mobile-nav-active {
    visibility: visible;
    opacity: 1;
    max-height: calc(100vh - 70px);
  }

  .navmenu.mobile-nav-active li {
    opacity: 1;
    transform: translateY(0);
  }

  .navmenu li:nth-child(1) { transition-delay: 0.1s; }
  .navmenu li:nth-child(2) { transition-delay: 0.2s; }
  .navmenu li:nth-child(3) { transition-delay: 0.3s; }
  .navmenu li:nth-child(4) { transition-delay: 0.4s; }
  .navmenu li:nth-child(5) { transition-delay: 0.5s; }
  .navmenu li:nth-child(6) { transition-delay: 0.6s; }

  .navmenu a {
    display: block;
    padding: 12px 20px;
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
  }

  .navmenu a:hover,
  .navmenu .active {
    background: rgba(25, 119, 204, 0.1);
  }

  .header .container {
    position: relative;
  }
}

/* Position the toggle button properly */
.header .container {
  position: relative;
}

/* General Elements */
.section-title h2::after {
  background: var(--primary-gradient);
}

/* Background Image Handling */
.section[style*="background"] {
  position: relative;
  z-index: 1;
}

.section[style*="background"]::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* Lighter overlay for desktop */
  z-index: -1;
  transition: background 0.3s ease;
}

/* Adjust overlay darkness based on screen size */
@media (min-width: 992px) {
  .section[style*="background"]::before {
    background: rgba(0, 0, 0, 0.2); /* Even lighter for larger screens */
  }
  
  /* Section-specific overlay adjustments */
  #about.section[style*="background"]::before {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
  }
  
  #services.section[style*="background"]::before {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  }
  
  #testimonials.section[style*="background"]::before {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1));
  }
  
  #resources.section[style*="background"]::before {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  }
  
  #contact.section[style*="background"]::before {
    background: linear-gradient(to left, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  }
}

@media (max-width: 991px) {
  .section[style*="background"]::before {
    background: rgba(0, 0, 0, 0.4); /* Slightly darker for tablets */
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }

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

  .section-title h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

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

  /* Hero Section */
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    opacity: 1;
    z-index: 2;
  }

  .hero .welcome h2 {
    position: relative;
    z-index: 3;
    font-size: 32px;
    text-align: center;
    color: #ffffff !important;
  }

  .hero .welcome p {
    position: relative;
    z-index: 3;
    font-size: 18px;
    text-align: center;
    color: #ffffff !important;
  }

  .hero .content {
    position: relative;
    z-index: 3;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-get-started,
  .btn-learn-more {
    width: 100%;
    text-align: center;
    max-width: 280px;
  }

  /* Services Section */
  .service-item {
    min-height: auto;
    padding: 25px 15px;
  }

  .service-item .service-icon {
    width: 60px;
    height: 60px;
  }

  .service-item .service-icon i {
    font-size: 24px;
  }

  .service-item h3 {
    font-size: 20px;
  }

  /* Resources Section */
  .resource-card {
    padding: 25px;
    margin-bottom: 20px;
  }

  .resource-card .icon {
    font-size: 32px;
  }

  .resource-card h4 {
    font-size: 20px;
  }

  /* Resources Cards */
  #resources .resource-card {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-color: rgba(255, 255, 255, 0.2);
  }

  #resources .resource-card h4,
  #resources .resource-card p {
    color: #ffffff !important;
  }

  #resources .resource-card .icon {
    color: #0080ff;
    background: none;
    -webkit-text-fill-color: #0080ff;
  }

  #resources .resource-card .coming-soon-banner {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
  }

  /* Contact Section */
  .contact-card {
    margin-bottom: 20px;
  }

  .social-links.professional {
    justify-content: center;
    gap: 10px;
  }

  .social-links.professional a {
    width: 35px;
    height: 35px;
  }

  .qr-code img {
    max-width: 150px;
  }

  .section[style*="background"] {
    background-attachment: scroll !important;
    position: relative;
  }

  .section[style*="background"]::before {
    background: rgba(0, 0, 0, 0.7);
  }

  /* Improve text readability on mobile */
  .section[style*="background"] h2,
  .section[style*="background"] h3,
  .section[style*="background"] p {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  /* Specific section adjustments */
  #about.section[style*="background"] {
    background-position: center !important;
    background-size: cover !important;
  }

  #services.section[style*="background"] {
    background-position: center !important;
    background-size: cover !important;
  }

  #testimonials.section[style*="background"] {
    background-position: center !important;
    background-size: cover !important;
  }

  #testimonials.section[style*="background"]::before {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    opacity: 1;
  }

  #testimonials .info h3,
  #testimonials .section-title h2,
  #testimonials .section-title p {
    color: #ffffff !important;
    position: relative;
    z-index: 3;
  }

  #testimonials .testimonial-item {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    border-color: rgba(255, 255, 255, 0.2);
  }

  #testimonials .testimonial-item h3,
  #testimonials .testimonial-item h4,
  #testimonials .testimonial-item p {
    color: #ffffff !important;
  }

  #testimonials .testimonial-item .quote-icon-left,
  #testimonials .testimonial-item .quote-icon-right {
    color: rgba(255, 255, 255, 0.6);
  }

  #resources.section[style*="background"] {
    background-position: center !important;
    background-size: cover !important;
  }

  #contact.section[style*="background"] {
    background-position: center !important;
    background-size: cover !important;
  }

  /* Improve card readability on dark backgrounds */
  .service-item,
  .resource-card,
  .testimonial-item,
  .contact-card,
  .info-item {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
}

@media (max-width: 576px) {
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Testimonials */
  .testimonials .info h3 {
    font-size: 28px;
    text-align: center;
  }

  .testimonial-item {
    padding: 20px;
  }

  /* Info Items */
  .info-item {
    padding: 20px;
    text-align: center;
  }

  .info-item i {
    margin-bottom: 10px;
  }

  /* Section Titles */
  .section-title h2 {
    font-size: 26px;
  }

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

@media (max-width: 480px) {
  /* Hero Section */
  .hero .welcome h2 {
    font-size: 26px;
  }

  .hero .content .why-box h3 {
    font-size: 24px;
  }

  /* Services */
  .service-item {
    margin: 0 10px;
  }

  .service-item h3 {
    font-size: 18px;
  }

  /* Resources */
  .resource-card h4 {
    font-size: 18px;
  }
}

/* Tablet Specific Adjustments */
@media (min-width: 769px) and (max-width: 991px) {
  .service-item {
    min-height: 320px;
  }

  .resource-card {
    min-height: 300px;
  }
}

/* Responsive Base Layout */
.container {
  width: 100%;
  padding-right: var(--bs-gutter-x, 1rem);
  padding-left: var(--bs-gutter-x, 1rem);
  margin-right: auto;
  margin-left: auto;
}

section {
  padding: 60px 0;
  overflow: hidden;
}

/* Responsive Typography */
h1 { font-size: var(--h1-font-size); }
h2 { font-size: var(--h2-font-size); }
h3 { font-size: var(--h3-font-size); }
p, li, a { font-size: var(--body-font-size); }

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Fluid Spacing */
.section > .container {
  max-width: min(100% - 2rem, 1320px);
  margin-inline: auto;
}

/* Box Sizing Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Footer styling */
.footer {
    background-color: #1a365d !important;
    color: #ffffff;
    padding: 60px 0 30px;
}

.footer h4 {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.footer p, 
.footer li {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 0;
}

.footer a:hover {
    color: #ffffff;
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.footer .footer-links ul li {
    margin-bottom: 12px;
}

.footer .footer-links ul li a {
    display: inline-block;
    position: relative;
}

.footer .footer-links ul li a::before {
    content: "→";
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer .footer-links ul li a:hover::before {
    opacity: 1;
    left: -20px;
}

/* Enhanced section headings */
.footer .section-heading {
    font-size: 18px;
    font-weight: 600;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}

.footer .section-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 40px;
    background: rgba(255, 255, 255, 0.5);
}

.footer .social-links {
    margin-top: 1.5rem;
}

.footer .social-links a {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.footer .social-links a i {
    color: #ffffff;
    font-size: 16px;
    line-height: 0;
}

.footer .copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.15);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .copyright p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin: 0;
}

/* Footer link visibility enhancements */
.footer .footer-links ul a,
.footer .services ul a,
.footer .solutions ul a {
    color: #ffffff !important;
    display: inline-block;
    line-height: 1;
    opacity: 0.9;
    font-weight: 400;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer .footer-links ul a:hover,
.footer .services ul a:hover,
.footer .solutions ul a:hover {
    color: #ffffff !important;
    opacity: 1;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Ensure headings are visible */
.footer h4 {
    color: #ffffff !important;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Make list items visible */
.footer ul li {
    color: #ffffff !important;
    opacity: 0.9;
    margin-bottom: 10px;
}

/* Improve footer readability on mobile */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }

    .footer h4 {
        font-size: 1.2rem;
        margin-bottom: 1.25rem;
    }

    .footer p, 
    .footer li {
        font-size: 0.9rem;
    }

    .footer .social-links a {
        width: 32px;
        height: 32px;
    }
}
