body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  font-family: 'Afacad', Tahoma, Geneva, Verdana, sans-serif;
  scroll-behavior: smooth;
}

/* Color Variables */
:root {
  --primary-color: #153b8d;
  --accent-color: #1ad687;
  --light-bg: #f8f9fa;
}

/* Floating Navigation Bar Styles */
.navbar {
  margin: 50px 100px 0 100px;
  border-radius: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
  padding: 0.8rem 2rem;
  transition: all 0.3s ease;
}

.navbar-logo {
  width: 50px;
  margin-right: 10px;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}

.navbar-brand span {
  color: var(--accent-color);
}

.nav-link {
  font-weight: 500;
  color: #2d3748 !important;
  margin: 0 0.3rem;
  padding: 0.5rem 1rem !important;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background-color: rgba(21, 59, 141, 0.1);
  transform: translateY(-2px);
}

.nav-link.active {
  color: white !important;
  background-color: var(--primary-color);
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
  border-radius: 50%;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.btn-get-started {
  background-color: var(--accent-color);
  color: white;
  border-radius: 30px;
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background-color: #16c279;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(26, 214, 135, 0.3);
}

/* Hero Section Styles */
.hero-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.hero-img {
  padding: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 40px;
  filter: brightness(87%);
}

.hero-text {
  position: absolute;
  top: 50%;
  left: 48%;
  transform: translate(-50%, -50%);
  color: white;
  z-index: 2;
  width: 80%;
}

.hero-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  text-shadow: 4px 8px 8px rgba(0, 0, 0, 0.7);
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.5rem;
  color: var(--light-bg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin-bottom: 2rem;
}

.btn-hero {
  background-color: var(--accent-color);
  border: none;
  padding: 12px 30px;
  font-size: 1.1rem;
  border-radius: 30px;
  transition: all 0.3s ease;
  color: white;
  font-weight: 600;
}

.btn-hero:hover {
  background-color: #16c279;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Services Section */
.services-section {
  padding: 0 0 50px 0;
  background-color: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title h2:after {
  content: '';
  position: absolute;
  width: 60%;
  height: 4px;
  background: var(--accent-color);
  bottom: -10px;
  left: 20%;
  border-radius: 2px;
}

.section-title p {
  color: #6c757d;
  max-width: 700px;
  margin: 0 auto;
}

/* Services Grid */
.services-container {
  max-width: 90%;
  margin: 0 auto;
  padding: 0 10px;
}

.services-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.service-box {
  flex: 1;
  min-width: 0;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 5px 20px rgba(187, 13, 13, 0.1);
  transition: all 0.3s ease;
}

.service-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease;
  z-index: 1;
}

.service-box:hover .service-bg {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(21, 59, 141, 0.9) 0%,
    rgba(21, 59, 141, 0.5) 50%,
    rgba(21, 59, 141, 0.3) 100%
  );
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  color: white;
}

.service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--accent-color);
  background: rgba(255, 255, 255, 0.2);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.service-box:hover .service-icon {
  background: var(--accent-color);
  color: white;
  transform: rotateY(180deg);
}

.service-box h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.service-box p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  opacity: 0.9;
}

.service-cta {
  color: var(--accent-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.service-box:hover .service-cta {
  opacity: 1;
  transform: translateY(0);
}

.service-cta i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.service-cta:hover i {
  transform: translateX(5px);
}

/* Bento Grid Styles (Note: these were from an incomplete section) */
.bento-item {
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.bento-item:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--accent-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.bento-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.bento-item:hover:before {
  transform: scaleX(1);
}

.bento-item .service-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: var(--primary-color);
  background: rgba(21, 59, 141, 0.1);
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.bento-item:hover .service-icon {
  background: var(--primary-color);
  color: white;
}

.bento-item h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.bento-item p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Individual Bento Items */
.bento-cta {
  grid-column: 1 / 13;
  grid-row: 4 / 7;
  background: linear-gradient(135deg, var(--primary-color) 0%, #0e2a6b 100%);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.bento-cta h3 {
  color: white;
  font-size: 2rem;
  margin-bottom: 20px;
}

.bento-cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-bottom: 30px;
}

/* Additional content styling */
.content-section {
  padding: 20px 0;
}

.content-section h3 {
  color: var(--primary-color);
}

.content-section i {
  color: var(--primary-color);
}

/* Trusted Partners Section Styles */
.partners-section {
    background-color: #f8f9fa; /* A light background for contrast */
    padding: 80px 0;
}

.partners-section .section-title {
    margin-bottom: 50px;
}

.partner-logo {
    opacity: 0.6; /* Make logos subtle initially */
    transition: all 0.3s ease;
    filter: grayscale(100%); /* Desaturate for a clean look */
    max-height: 70px; /* Limit the height to keep them uniform */
}

.partner-logo:hover {
    opacity: 1; /* Full opacity on hover */
    filter: grayscale(0%); /* Full color on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}


.embd-pdf{
                width: 50%;
                height: 90%;
            }

/* Footer Section Styles */
.footer-section {
    background-color: var(--primary-color);
    color: white;
    padding-top: 50px;
    padding-bottom: 0;
}

.footer-logo {
    width: 60px;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.footer-brand span {
    color: var(--accent-color);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.social-links .social-icon {
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.social-links .social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.footer-heading:after {
    content: '';
    position: absolute;
    width: 80%;
    height: 3px;
    background: var(--accent-color);
    bottom: -8px;
    left: 0;
    border-radius: 2px;
}

.footer-links li a,
.footer-contact-info li {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.footer-links li a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-contact-info li i {
    color: var(--accent-color);
}

.footer-bottom {
    background-color: #0d1e46;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Floating WhatsApp Button */
.whatsapp-button {
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366; /* WhatsApp Green */
    color: white;
    font-size: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
}

.whatsapp-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}


/* Testimonials Section */
.testimonials-section {
    background-color: var(--light-bg);
    padding: 80px 0;
}

.testimonial-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    height: 100%; /* Ensures all cards have the same height */
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.testimonial-quote {
    font-style: italic;
    color: #495057;
    margin-bottom: 20px;
    flex-grow: 1; /* Pushes the author to the bottom */
}

.testimonial-quote i {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-right: 10px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: 20px;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-color);
    margin-right: 15px;
}

.author-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--primary-color);
}

.author-info span {
    font-size: 0.85rem;
    color: #6c757d;
}


/* Certificates Section */
.certificates-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.certificate-card {
    background-color: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.certificate-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-icon {
    transform: rotateY(180deg);
}

.certificate-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.certificate-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #6c757d;
    flex-grow: 1;
}

.btn-secondary-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Navigation Dots */
.nav-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.nav-dot.active {
    background-color: var(--primary-color);
}


/* Responsive adjustments for smaller screens */
@media (max-width: 576px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
        font-size: 1.8rem;
        bottom: 15px;
        right: 15px;
    }

    .embd-pdf{
                width: 90%;
                height: 90%;
            }

    .navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color) !important;
}


}

/* Responsive adjustments for footer */
@media (max-width: 768px) {

        .certificates-carousel {
        /* Hide the scrollbar for a cleaner look */
        -ms-overflow-style: none; /* for Internet Explorer, Edge */
        scrollbar-width: none; /* for Firefox */
    }

    /* Hide the scrollbar for Webkit browsers (Chrome, Safari) */
    .certificates-carousel::-webkit-scrollbar {
        display: none;
    }
    
    /* Ensure cards have a specific width to enable scrolling */
    .certificates-carousel .col-12 {
        min-width: 80%; /* Each card takes up 80% of the viewport width */
        flex-shrink: 0;
    }
    
    /* Add some left padding to the first card for spacing */
    .certificates-carousel .col-12:first-child {
        padding-left: 24px; 
    }

    .footer-heading {
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .footer-heading:after {
        width: 40px;
    }

    .navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color) !important;
}

}


/* Responsive adjustments */
@media (max-width: 1200px) {
  .navbar {
    margin: 30px 50px 0 50px;
  }
}

@media (max-width: 992px) {
  .navbar {
    margin: 30px 50px 0 50px;
    border-radius: 15px;
  }

  .navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}


  
  .navbar {
    margin: 30px 50px 0 50px;
    border-radius: 15px;}
    .nav-item1{
            margin-top:30px ;}
    .nav-last{
                margin-bottom:30px ;
            }
  

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 15px;
  }

  .bento-cta {
    grid-column: 1 / 3;
    grid-row: 4;
    min-height: 200px;
  }

  /* Services Grid */
  .services-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
  }

  .services-grid::-webkit-scrollbar {
    height: 6px;
  }

  .services-grid::-webkit-scrollbar-thumb {
    background: var(--accent-color);
    border-radius: 3px;
  }

  .service-box {
    flex: 0 0 85%;
    scroll-snap-align: start;
  }
}

@media (max-width: 768px) {
  .navbar {
    margin: 15px 20px 0 20px;
    padding: 0.6rem 1rem;
  }

  .navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--primary-color) !important;
}


  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    font-size: 1.2rem;
  }

  .btn-get-started {
    margin-top: 1rem;
    width: 100%;
  }

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-cta {
    grid-column: 1;
    grid-row: 6;
  }

  /* Services Grid */
  .service-box {
    flex: 0 0 90%;
  }
}

@media (max-width: 576px) {
  .navbar {
    margin: 10px;
    border-radius: 12px;
  }

  .navbar-brand {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--primary-color) !important;
}


  .hero-text h1 {
    font-size: 2rem;
  }

  .hero-text p {
    font-size: 1rem;
  }

  .btn-hero {
    padding: 10px 25px;
    font-size: 1rem;
  }

  .services-section {
    padding: 20px 0;
  }

  .service-box {
    flex: 0 0 92%;
  }
}


