

/* Button hover color override - More specific selectors to override Bootstrap */
.btn:hover,
.btn:focus,
.btn:active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f909 !important;
}

/* Specific button hover styles with higher specificity */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
}

.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
}

/* Override for all Bootstrap button variants */
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
}

/* Override for anchor tags styled as buttons */
a.btn:hover,
a.btn:focus,
a.btn:active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
    text-decoration: none !important;
}

/* Specific override for view-more-btn */
.view-more-btn:hover,
.view-more-btn:focus,
.view-more-btn:active {
    color: #ffffff !important;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color)) !important;
    border-color: #09f949 !important;
}






/* Override for banner buttons */
.banner-button:hover,
.banner-button:focus,
.banner-button:active {
    color: #ffffff !important;
    background: #09f949 !important;
    text-decoration: none !important;
}

/* Override for read-more links styled as buttons */
.read-more:hover,
.read-more:focus,
.read-more:active {
    color: #ffffff !important;
    background-color: var(--accent-color) !important;
    text-decoration: none !important;
}

/* Override for start-btn */
.start-btn:hover,
.start-btn:focus,
.start-btn:active {
    color: #ffffff !important;
    background-color: #1ed85f !important;
}

/* Override for social media buttons */
.btn-floating:hover,
.btn-floating:focus,
.btn-floating:active {
    color: #ffffff !important;
    background-color: #09f949 !important;
    border-color: #09f949 !important;
}

.nav-link:hover::after {
    width: 100%;
    }
    .navbar-brand {
      color: rgb(255, 255, 255) !important;
      font-weight: bold;
    
    }
    
    .header-bg {
        
  background-image: url('../images/main_image.jpg');
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.header-bg .overlay {
    background: rgba(0, 0, 0, 0.5); /* Dark overlay */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
 
  z-index: 0;
}

.header-bg .z-1 {
  z-index: 1;
}

.stats-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    color: white;
    overflow: hidden; /* Ensures video and overlay don't overflow */
}

/* Background Video and Overlay */
.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: -2;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(30, 96, 64, 0.9); /* Dark green with 90% opacity */
    z-index: -1;
}

/* Content Styling */
.stats-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;

}

.stats-title {
    font-size: 2.5em;
    margin-bottom: 40px;
}

/* Statistics Cards Styling */
.stats-section {
    margin-top: 50px;
    padding-top: 40px;
    position: relative;
    width: 100%;
    min-height: 60vh; /* <-- CHANGE THIS LINE */
    color: white;
    overflow: hidden; 
}
.stats-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.stats-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 250px;
}

.stats-icon {
    background-color: white;
    color: #076126;
    border-radius: 50%;
    width: 70px;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5em;
    margin-bottom: 15px;
}

.stats-number {
    font-size: 2em;
    font-weight: bold;
    margin: 0;
}

.stats-description {
    font-size: 1em;
    color: #ddd;
    margin: 5px 0 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .stats-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .stats-cards {
        gap: 20px;
    }

    .stats-card {
        padding: 20px;
        width: 180px;
    }

    .stats-icon {
        width: 60px;
        height: 60px;
        font-size: 2em;
    }
    
    .stats-number {
        font-size: 1.5em;
    }

    .stats-description {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .stats-title {
        font-size: 1.5em;
        margin-bottom: 15px;
    }

    .stats-cards {
        padding: 20px;
        flex-direction: row;
        align-items: center;
    }

    .stats-card {
        width: 100%; /* Takes up most of the screen width */
    }
}


/* Courses */
.courses-grid {
            display: grid;
            grid-template-columns: 2fr; /* Default: 1 column */
            gap: 2rem;
            padding: 0 5rem;
        }
@media (max-width: 768px) {
    .courses-grid {
        padding: 0 1rem; /* Use a smaller, more suitable padding for mobile */
    }
}

 
@media (min-width: 480px) {
    .courses-grid {
        grid-template-columns: repeat(2, r); /* Desktop: 3 columns */
    }
}

@media (min-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr); /* Desktop: 3 columns */
    }
}

/* Fix spacing between Learn More and Apply buttons */
.course-card .d-flex {
    gap: 1rem;
    flex-wrap: wrap;
}

.course-card .read-more {
    margin: 0;
    flex: 1;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 400px) {
    .course-card .d-flex {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .course-card .read-more {
        width: 100%;
    }
}

        .course-card {
            background-color: var(--white);
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            perspective: 1000px;
            transform-style: preserve-3d;
            position: relative;
        }

        .course-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
        }

        .course-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 5px;
            background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
        }

        .course-image {
            height: 275px;
            overflow: hidden;
        }

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

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

        .course-content {
            padding: 1.5rem;
        }

        .course-title {
            font-size: 1.3rem;
            margin-bottom: 0.5rem;
            color: var(--primary-color);
        }

        .course-duration {
            display: inline-block;
            background-color: var(--light-color);
            color: var(--dark-color);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-bottom: 1rem;
        }

        .course-description {
            margin-bottom: 1rem;
            color: #666;
        }

        .read-more {
            display: inline-block;
            background-color: var(--primary-color);
            color: var(--white);
            padding: 0.5rem 1rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .read-more:hover {
            background-color: var(--accent-color);
        }

        .timings-container {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
        }

        .courses-intro {
    text-align: center;
    color: #757575;
    font-size: 1.2rem;
    margin-bottom: 50px;
    padding: 0.8rem 2rem;
}

@media (min-width: 768px) {
    .courses-intro {
        padding: 0.8rem 7rem;
    }
}

/* Banners Section */
.banners {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
    padding: 0 20px;
}

.banner {
    position: relative;
    flex: 1 1 calc(50% - 20px);
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    
}

.banner img {
    width: 100%;
    height: 500px;
    display: block;
    transition: transform 0.3s ease;
}

.banner:hover img {
    transform: scale(1.05);
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    background: #076126c4; 
    padding: 40px;
    border-radius: 10px;
}

.banner-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.banner-content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

.banner-button {
    padding: 10px 20px;
    background: #08d951e2;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.banner-button:hover {
    background: #09f949;
}

/* Responsive Design */
@media (max-width: 800px) {
    .banner {
        flex: 1 1 100%;
    }
}
/* View More Button */
.view-more-btn {
    
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  color: #fff;
  border: none;
  border-radius: 30px;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.75rem 2.5rem;
  box-shadow: 0 4px 16px rgba(30, 199, 227, 0.15);
  transition: background 0.3s, transform 0.2s;
  letter-spacing: 1px;
}

.view-more-btn:hover, .view-more-btn:focus {
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 24px rgba(30, 199, 227, 0.25);
  text-decoration: none;
}
/* End of Banners Section */
.banner-section {
    position: relative;
    background: url('../images/Home-Page/ban-3.jpg') center/cover no-repeat;
    padding: 60px 0;
    color: white;
    overflow: hidden;
}

.banner-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* dark overlay */
    z-index: 1;
}

    .feature-box {
      background-color: #076126cb; /* Teal overlay */
      padding: 30px;
      height: 100%;
      border-radius: 5px;
    }

    .highlight-line {
      width: 60px;
      height: 4px;
      background: linear-gradient(to right, rgb(43, 255, 0) 33%, transparent 0%) repeat-x;
      background-size: 20px 4px;
      margin-bottom: 10px;
    }

    .info-box {
      background: white;
      color: black;
      padding: 30px;
      border-radius: 5px;
      height: 100%;
    }

    .info-box h5 {
      color: #555;
    }

    .btn-arrow::before {
      content: '▶ ';
      color: black;
    }

     .course-card {
      border-radius: 20px;
      background: linear-gradient(to right, #fff, #f9f9f9);
      padding: 30px;
    }

    .course-image {
      width: 100%;
      height: auto;
      border-radius: 20px;
      object-fit: cover;
    }

    .feature-list i {
      color: #076126; /* Blue icon */
      margin-right: 8px;
    }

    .start-btn {
      background-color: #076126;
      border: none;
      color: #fff;
      font-weight: bold;
      padding: 12px 25px;
      border-radius: 50px;
    }

  

    .badge-dot {
      height: 10px;
      width: 10px;
      background-color: #00ff08; /* Yellow */
      border-radius: 50%;
      display: inline-block;
      margin-right: 6px;
    }

     .counter-bar {

  
  padding: 20px 40px; /* Increased vertical and horizontal space */
  color: white;
  font-family: Arial, sans-serif;
 
}
    .counter-item {
      text-align: center;
      padding: 0 25px 5px;
    }
    .counter-number {
      font-size: 1.5em;
      font-weight: bold;
    }

.footer-full-width {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

