/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #444;
    background-color: #fff;
    overflow-x: hidden;

}

/* main{
    padding-left: 40px;
    padding-right: 40px;
} */


.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

.text-center {
    text-align: center;
}

/* Topbar styles */
.topbar {
    background-color: #1a1a1a;
    color: rgba(255, 255, 255, 0.9);
    padding: 10px 0;
    font-size: 14px;
}

.topbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    align-items: center;
}

.contact-info i {
    margin-right: 8px;
    color: #f8f8f8;
}

.social-media {
    display: flex;
}

.social-icon {
    color: rgba(255, 255, 255, 0.9);
    margin-left: 15px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #3498db;
}

/* Navbar styles */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 70px;
    width: auto;
}

.menu {
    flex-grow: 1;
    text-align: center;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #202020;
    font-weight: 600;
    font-size: 12px; /* Reduced from 14px to 12px */
    position: relative;
    padding: 5px 0;
    letter-spacing: 0.5px;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #3498db;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.auth-buttons {
    display: flex;
}

.btn {
    display: inline-block;
    text-decoration: none;
    padding: 8px 20px; /* Reduced from 10px 25px */
    border-radius: 30px;
    font-weight: 600;
    font-size: 13px; /* Reduced from 14px */
    transition: all 0.3s ease;
    text-align: center;
}

.btn-register {
    background-color: #3498db;
    background-color: #3498db;
    color: #fff;
    border: 2px solid #3498db;
    margin-left: 15px; /* Increased from 10px for more spacing */
}

.btn-login {
    background-color: transparent;
    color: #333;
    margin-left: 15px; /* Increased from 10px for more spacing */
    border: 2px solid #e0e0e0;
}

.btn-primary {
    background-color: #3498db;
    color: #fff;
    border: none;
    padding: 12px 30px;
}

.enroll{
    margin-top: 15px;
}
.details{
    padding: 10px 20px;
    margin-top: 15px;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 25px;
    /* align-items: center; */
    /* display: flex; */
}
.btn-enroll{
     background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;

    /* align-items: center; */
    /* display: flex; */
    width: 100%;
}

.btn-register:hover {
    background-color: #2980b9;
    border-color: #2980b9;
    transform: translateY(-2px);
}

.btn-login:hover {
    background-color: #f5f5f5;
    border-color: #d0d0d0;
    transform: translateY(-2px);
}

.btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Banner styles */
.hero-banner {
    position: relative;
    height: 600px;
    background: none;
    /* background-image: url('../images/header-img.png'); */
    /* background-size: cover; */
    /* background-position: center; */
    /* background-repeat: no-repeat; */
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;

    margin-bottom: 0;
}



/* .hero-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(0, 0, 0);
    z-index: 1;
    object-fit: cover;
    pointer-events: none;
} */

.hero-banner .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px; /* Increased from 15px for more spacing between hero buttons */
}

/* Section styles */
section {
    padding: 80px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    /* color: #333; */
    color: #252525;
    margin-bottom: 15px;
    position: relative;
}

.section-subtitle {
    /* color: #777; */
    color: #242424;
    /* max-width: 700px; */
    margin: 0 auto;
}



/* Services Section */
.services-section {
    background-color: #f9f9f9;
  width: 100%;

}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

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

.service-icon {
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon i {
    font-size: 28px;
    color: #3498db;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #777;
    margin-bottom: 20px;
}

.service-link {
    color: #3498db;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
}

.service-link i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}


#services .grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
  margin: auto;
}

@media screen and (max-width: 700px) {
  #services .grid-container {
    display: flex;
    flex-direction: column;
  }
  #services .grid-item {
    width: 100%;
    margin-bottom: 18px;
    display: block;
  }
  #services .grid-container .grid-item.image-box:nth-of-type(1) { order: 1; }
  #services .grid-container .grid-item.text-box:nth-of-type(2) { order: 2; }
  #services .grid-container .grid-item.text-box:nth-of-type(4) { order: 3; }
  #services .grid-container .grid-item.image-box:nth-of-type(3) { order: 4; }

  .announcement-banner-content.announcement-banner-centered {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}


#services .grid-item {
  background: #fff;
  padding: 2rem;
  border-radius: 5px;
}

#services .grid-item.text-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#services .grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    font-size: 32px;
    color: #3498db;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: #777;
}

/* Stats Section */
.stats-section {
    /* background-color: #3498db; */
    /* color: #fff; */
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
}

/* Featured Course */
.featured-course {
            background: linear-gradient(120deg,rgb(2, 6, 10) 0%,rgb(0, 3, 5) 100%);

    /* background-color: #f9f9f9; */
    /* background-color: #3498db; */
    
    /* color: #fff; */

}

.content-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
}

.content-left, .content-right {
    flex: 1;
    min-width: 300px;
}

.content-wrap.reverse {
    flex-direction: row-reverse;
}

.description {
    margin-bottom: 25px;
}

.description .lead {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #3498db;
}

.description p {
    margin-bottom: 15px;
    color: #555;
}

.course-details {
    background-color: #fff;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.course-details p {
    margin-bottom: 10px;
}

.flyer-container {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
}

.flyer-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.flyer-container:hover .flyer-image {
    transform: scale(1.03);
}

/* Testimonials Section */
.testimonials-section {
    background-color: #fff;
}

.testimonial-slider {
    max-width: 700px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
}

.testimonial-content {
    margin-bottom: 30px;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    font-style: italic;
    position: relative;
}

.testimonial-content p::before,
.testimonial-content p::after {
    content: '"';
    font-size: 50px;
    color: #3498db;
    line-height: 0;
    position: absolute;
}

.testimonial-content p::before {
    top: 15px;
    left: -20px;
}

.testimonial-content p::after {
    bottom: -10px;
    right: -20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-info h4 {
    color: #333;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info span {
    color: #777;
    font-size: 14px;
}

/* Facility Section */
.facility-section {
      background-color: #fff;
      color: #111;
}

.facility-image {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Certifications Section */
.certifications-section {
    background-color: #f9f9f9;
}

.certifications-list {
    max-width: 800px;
    margin: 0 auto 40px;
}

.certification-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.certification-item i {
    color: #3498db;
    font-size: 24px;
    margin-right: 15px;
    margin-top: 2px;
}

.certification-item p {
    margin: 0;
}

.cert-card {
  background: rgba(255,255,255,0.08);
  color: #fff;
  padding: 32px 22px 28px 22px;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transition: box-shadow 0.22s, transform 0.22s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  border: 1px solid #e3e8ee;
  text-align: left;
}
.cert-card:hover {
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
  transform: translateY(-6px) scale(1.03);
  border-color: #b6c2d6;
}
.cert-card img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.cert-card h4 {
  font-size: 1.18rem;
  color: #1f2937;
  margin-bottom: 10px;
  font-weight: 700;
  text-align: left;
}
.cert-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 18px;
  text-align: left;
}
.view-course-link {
  display: inline-block;
  margin-top: 8px;
  color: #0a6ebd;
  font-weight: 600;
  text-decoration: underline;
  font-size: 1rem;
  transition: color 0.2s;
}
.view-course-link:hover {
  color: #e53935;
}
@media (max-width: 700px) {
  .cert-card {
    padding: 18px 8px 18px 8px;
    border-radius: 10px;
    align-items: flex-start;
    text-align: left;
  }
  .cert-card img {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
  }
  .cert-btn {
    padding: 8px 18px;
    font-size: 0.95rem;
    border-radius: 6px;
  }
  .view-course-link {
    font-size: 0.98rem;
  }
}

/* Footer styles */
.footer {
    background-color: #222;
    color: #fff;
    padding: 80px 0 0;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 50px;
}

.footer-contact, .footer-social, .footer-links {
    flex: 1;
    min-width: 250px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.footer h4 {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    font-weight: 600;
}

.footer h4 i {
    margin-right: 10px;
    font-size: 18px;
}

.footer-social p {
    margin-bottom: 20px;
    color: #aaa;
    line-height: 1.7;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    display: flex;
    margin-bottom: 20px;
}

.contact-list i {
    margin-right: 15px;
    color: #3498db;
    font-size: 18px;
    min-width: 20px;
    margin-top: 5px;
}

.contact-list p {
    color: #aaa;
    line-height: 1.7;
}

.social-icons {
    display: flex;
}

.footer .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background-color:#3498db;
    border-radius: 50%;
    margin-right: 10px;
    margin-bottom: 12px;
    color: #fff;
    transition: all 0.3s ease;
}

.social-icons .fb{
    margin-left: 0;
}

.footer .social-icon:hover {
    background-color: #3498db;
    color: #fff;
    transform: translateY(-3px);
}

.quick-links {
    list-style: none;
}

.quick-links li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.quick-links li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #3498db;
    font-size: 18px;
    line-height: 1;
}

.quick-links a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.quick-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    background-color: #1a1a1a;
    width: 100%;
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: #888;
    margin: 0;
}

/* Responsive styles */
@media screen and (max-width: 992px) {
    .menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-banner {
        height: 500px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .auth-buttons {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .topbar-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .social-media {
        margin-top: 10px;
    }
    
    .hero-banner {
        height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: row; /* Changed from column to row */
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap; /* Allow wrapping if needed */
    }
    
    .hero-buttons .btn {
        width: auto; /* Override full width */
        min-width: 140px; /* Give it a minimum width */
    }
    
    .btn {
        width: auto; /* Overriding full width */
        min-width: 120px; /* Adding minimum width */
        margin: 5px;
    }
    
    .content-wrap {
        flex-direction: column;
    }
    
    .service-card, .feature-card {
        padding: 30px 20px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    /* Center buttons on mobile */
    .featured-course .btn,
    .facility-section .btn,
    .certifications-section .btn {
        display: inline-block;
        width: auto;
        margin: 10px auto;
    }
    
    .text-center .btn {
        display: inline-block;
        width: auto;
    }
}

@media screen and (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-item {
        padding: 30px 20px;
    }
    
    .service-icon, .feature-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-icon i, .feature-icon i {
        font-size: 24px;
    }
    
    /* Additional mobile optimization */
    .container {
        width: 95%;
    }
    
    section {
        padding: 50px 0;
    }
    
    .service-card {
        padding: 25px 20px;
    }
}

@media screen and (max-width: 700px) {
  .partners-slider img {
    width: 110px !important;
    max-height: 70px !important;
    height: auto !important;
  }
}