/* ========================================
   HOME PAGE SPECIFIC STYLES
   ======================================== */

/* Hero Section Styles */
*{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.hero-main {
    margin-top: 50px;
}

.hero-carousel {
    width: auto;
    height: auto;
}

.hero-carousel .carousel-item img {
        margin-left: 5%;
        height: 8%;
        /* max-height: 180px;
        min-height: 180px; */
        object-fit: fill;
        width: 90%;
        transition: transform 0.3s ease;
        margin-top: 10px;
}

/* @media (min-width: 992px) {
    .hero-carousel .carousel-item img {
        height: 160px;
        max-height: 160px;
        min-height: 160px;
        margin-top: 150px;
    }
} */


.hero-carousel .carousel-item:hover img {
    transform: scale(1.02);
}

/*.hero-carousel .carousel-caption {*/
/*    background: rgba(0, 0, 0, 0.5);*/
/*    border-radius: 10px;*/
/*    padding: 20px;*/
/*    backdrop-filter: blur(10px);*/
/*}*/

/*.hero-carousel .carousel-caption h5 {*/
/*    font-size: 24px;*/
/*    color: white;*/
/*    text-shadow: 1px 1px 3px #000;*/
/*    margin-bottom: 10px;*/
/*    font-weight: 600;*/
/*}*/

/*.hero-carousel .carousel-caption p {*/
/*    font-size: 16px;*/
/*    color: white;*/
/*    text-shadow: 1px 1px 3px #000;*/
/*    margin: 0;*/
/*}*/

.video-container video {
    object-fit: contain;
}

/* Main Content Section */
.main-content {
    text-align: center;
    margin: 60px 0;
    padding: 0 15px;
    width: 100%;
}

.main-title {
    /*font-family: 'Montserrat', sans-serif;*/
    font-size: 40px;
    padding-left: 10%;
    padding-right: 10%;
    color: #1010ad;
    font-weight: bolder;
    line-height: 60px;
    margin-bottom: 20px;
}

.main-subtitle {
    /*font-family: 'Montserrat', sans-serif;*/
    font-size: 25px;
    padding-left: 10%;
    padding-right: 10%;
    padding-top: 20px;
    line-height: 20px;
    color: #333;
    margin-bottom: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    margin: 40px 0;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 15px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 20px;
    color: black;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: #007bff;
    margin-bottom: 10px;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: #333;
    font-weight: 500;
}

/* News Carousel */
.news-carousel {
    position: relative;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
    margin: 40px 0;
}

.news-list {
    display: flex;
    transition: transform 0.3s ease-in-out;
    background-color: #f8f9fa;
    width: 100%;
    padding: 20px 0;
}

.news-item {
    border: 1px solid #ddd;
    border-radius: 12px; /* Rounded corners */
    padding: 16px;
    margin: 10px;
    min-width: 300px; /* Set a minimum width */
    max-width: 320px; /* Set a maximum width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Card shadow */
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center; /* Center align content */
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.news-item strong {
    font-size: 18px; /* Larger title font */
    font-weight: 600;
    color: #333;
    margin-bottom: 12px; /* More space below title */
    font-family: 'Montserrat', sans-serif;
}

.news-item img {
    width: 100%;
    height: 180px; /* Fixed height for consistency */
    object-fit: contain; /* Fit image within the area, prevents cropping */
    border-radius: 8px; /* Rounded corners for image */
    margin-bottom: 12px;
    background: #f0f0f0; /* Add a light background for any empty space */
}

.news-item a {
    margin-top: auto; /* Push link to the bottom */
    padding-top: 10px;
    color: #007BFF;
    text-decoration: none;
    word-break: break-word;
    font-size: 14px;
    transition: color 0.3s ease;
}

.news-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: #007BFF;
    color: white;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 50%;
    z-index: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-button:hover {
    background-color: #0056b3;
    transform: translateY(-50%) scale(1.1);
}

.carousel-button.prev {
    left: 5px;
}

.carousel-button.next {
    right: 5px;
}

/* Image Gallery */
.image-gallery {
    width: 100%;
    margin: 40px 0;
    border-collapse: collapse;
}

.image-gallery td {
    padding: 10px;
    text-align: center;
    width: 100%;
}

.gallery-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Why DigiDARA Section */
.feature-section {
    width: 100%;
    margin: 15px 0;
}

.feature-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 30px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.feature-card h1 {
    font-size: 25px;
    text-align: center;
    /*font-family: 'Montserrat', sans-serif;*/
    font-weight: bolder;
    color: #1010ad;
    line-height: 32px;
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.feature-card:hover h1 {
    color: white;
}

.feature-card .card {
    height: 100%;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover .card {
    background-color: #ff6b35;
    color: white;
}

.feature-card .card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    width: 100%;
    transition: transform 0.3s ease;
}

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

.feature-card .card-text {
    font-size: 25px;
    line-height: 40px;
    text-align: left;
    margin-top: 10px;
    color: #333;
    /*font-family: 'Montserrat', sans-serif;*/
    transition: color 0.3s ease;
}

.feature-card:hover .card-text {
    color: white;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 50px 0;
    gap: 15px;

}

.section-title .line {
    flex-grow: 1;
    height: 1px;
    background-color: #ccc;
    border: none;
}

.section-title .text {
    font-size: 30px;
    /* font-weight: 600; */
    font-weight: bolder;
    color: #333;
    white-space: nowrap;
}

/* Course Images Section */
.course-section {
    width: 100%;
    padding: 0;
}

.course-section .row {
    margin: 30px 0;
    width: 100%;
}

.course-image {
    width: 100%;
    max-width: 400px;
    height: auto;
    transition: transform 0.3s ease;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.course-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.course-image-large {
    height: 400px;
    min-width: 100%;
    max-width: 100%;
    object-fit: cover;
}

.course-image-small {
    min-width: 100%;
    max-width: 100%;
    height: auto;
}


.social-icons a:hover img {
    filter: brightness(1.2);
}

/* Footer */
.site-footer {
    width: 100%;
}

.site-footer h3 {
    text-align: center;
    margin-top: 40px;
    padding: 20px 15px;
    font-size: 14px;
    color: #666;
    
    width: 100%;
    margin: 0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

/* Mobile View (≤600px) */
@media screen and (max-width: 600px) {
    .main-title {
        font-size: 20px;
        line-height: 30px;
        padding-left: 5%;
        padding-right: 5%;
    }
    
    .main-subtitle {
        font-size: 15px;
        margin-top: -15px;
        line-height: 30px;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 20px;
    }

    .hero-carousel .carousel-item img {
        margin-top: 0;
        height: 250px;
        width: 100%;
        margin-right: 50px;
    }

    .hero-carousel .carousel-caption h5 {
        font-size: 16px;
        margin-bottom: 5px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 12px;
    }

    .main-content {
        margin: 40px 0;
        padding: 0 10px;
        width: 100%;
    }

    .section-title {
        margin: 30px 0;
        gap: 8px;
        padding: 0 10px;
        width: 100%;
    }

    .section-title .text {
        font-size: 16px;
    }
    
    .image-gallery {
        display: block;
        width: 100%;
        overflow-x: hidden;
    }
    
    .image-gallery tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 20px;
    }

    .image-gallery td {
        flex: 0 0 100%;
        max-width: 100%;
        margin: 0;
        text-align: center;
    }

    .gallery-image {
        width: 100%;
        min-width: 500px;
        max-height: 300px;
        margin-top: 20px;
    }

    .news-carousel {
        width: 100%;
    }

    .news-item {
        min-width: 100%;
        max-width: 100%;
        margin: 10px 0;
        padding: 10px;
    }

    .news-item strong {
        font-size: 14px;
    }

    .news-item a {
        font-size: 12px;
    }

    .news-item img {
        width: 100%;
        max-width: 100%;
    }

    .carousel-button {
        padding: 6px 10px;
        font-size: 14px;
    }

    .feature-section {
        margin: 10px 0;
        width: 100%;
    }

    .feature-section .col {
        margin-bottom: 15px;
        width: 100%;
    }

    .feature-card h1 {
        font-size: 18px;
        line-height: 24px;
    }

    .feature-card .card-img-top {
        height: 160px;
        width: 100%;
    }

    .feature-card .card-text {
        font-size: 14px;
        line-height: 20px;
    }

    .course-section .row {
        margin: 20px 0;
        width: 100%;
    }

    .course-image {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
    }

    .course-image-large {
        min-height: 100px;
        max-width: 300px;
        margin-top: 20px;
    }

    

    .site-footer h3 {
        font-size: 12px;
        padding: 15px 10px;
        width: 100%;
    }
    
    .stats-section {
        padding: 40px 0;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    .hero-main{
        margin-top: 90px;
    }
}

/* Tablet View (601px–900px) */
@media screen and (min-width: 601px) and (max-width: 900px) {
    .hero-main{
        margin-top: 20px;
    }
    .main-title {
        font-size: 20px;
        line-height: 30px;
    }
    
    .main-subtitle {
        font-size: 15px;
        margin-top: -15px;
        line-height: 30px;
        
    }

    .hero-carousel .carousel-item img {
        height: 450px;
        width: 100%;
        margin-right: 50px;
    }

    .hero-carousel .carousel-caption h5 {
        font-size: 18px;
    }

    .hero-carousel .carousel-caption p {
        font-size: 14px;
    }

    .main-content {
        width: 100%;
    }

    .section-title {
        width: 100%;
    }

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

    .news-item {
        min-width: 48%;
        max-width: 48%;
    }

    .image-gallery {
        display: block;
        width: 100%;
    }

    .image-gallery tr {
        display: flex;
        flex-wrap: wrap;
        margin-bottom: 15px;
    }

    .image-gallery td {
        width: 50%;
        margin-left: 0 !important;
        padding: 8px 0;
    }

    .gallery-image {
        width: 100%;
        max-width: 100%;
    }

    .image-gallery td:nth-child(3) {
        display: none;
    }

    .feature-card h1 {
        font-size: 20px;
    }

    .feature-card .card-text {
        font-size: 15px;
        line-height: 22px;
    }

    .course-image {
        width: 100%;
        max-width: 100%;
    }

    .course-image-large {
        max-height: 200px;
    }

    .social-icons {
        width: 100%;
    }

    
    
    .stats-section {
        padding: 50px 0;
    }
    
    .stat-card {
        padding: 25px 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
}

/* Force single column for feature cards on tablets and below */
@media (max-width: 991.98px) {
    .feature-section .row.row-cols-md-2 .col {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    /* Ensure single column layout for feature cards on mobile and tablet */
    .row.row-cols-1.row-cols-md-1.row-cols-lg-3 .col {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    /* Additional mobile-specific styles */
    @media (max-width: 768px) {
        .row.row-cols-1.row-cols-md-1.row-cols-lg-3 .col {
            flex: 0 0 100%;
            max-width: 100%;
            margin-bottom: 30px;
        }
        
        .feature-card {
            margin-bottom: 20px;
        }
    }
}

/* Laptop View (>900px) */
@media screen and (min-width: 901px) {
    .image-gallery td:first-child {
        text-align: left;
    }

    .image-gallery td:nth-child(2) {
        text-align: center;
    }

    .image-gallery td:nth-child(3) {
        text-align: right;
    }
    
    .stats-section {
        padding: 80px 0;
    }
    
    .stat-card {
        padding: 40px 30px;
    }
    
    .stat-number {
        font-size: 3.5rem;
    }
    
    .stat-label {
        font-size: 1.2rem;
    }
    
    .main-title {
        font-size: 50px;
        line-height: 65px;
    }
    
    .main-subtitle {
        font-size: 28px;
        line-height: 55px;
    }
}

/* ========================================
   VIDEO SECTION STYLES
   ======================================== */

.video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.video-carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 50px; /* Space for nav buttons */
}

.video-carousel-wrapper {
    position: relative;
}

.video-carousel {
    display: flex;
    overflow: hidden;
    width: 100%;
    position: relative;
}

.video-item {
    min-width: 100%;
    transition: transform 0.5s ease-in-out;
    display: none; /* Hide all items by default */
}

.video-item.active {
    display: block; /* Show only the active item */
}

.video-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background-color: #000;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 15px;
    object-fit: contain; /* Ensures the video fits without being cropped */
}

.video-info {
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 0 0 15px 15px;
}

.video-info h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.video-info p {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* ========================================
   REVIEW COUNTS SECTION STYLES
   ======================================== */

.review-counts-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.review-counts-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" width="50" height="50" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>');
    pointer-events: none;
}

.review-counts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 40px 0;
}

.review-count {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    position: relative;
}

.review-count::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.review-count span {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

/* Video Navigation Buttons */
.video-nav-btn {
    position: absolute;
    top: 40%; /* Adjust vertical position */
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 8px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.video-nav-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.video-prev-btn {
    left: 5px; /* Position from left */
}

.video-next-btn {
    right: 5px; /* Position from right */
}

.video-indicators {
    text-align: center;
    margin-top: 20px;
}

.video-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin: 0 5px;
}

.video-dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.video-dot:hover {
    background: #007bff;
    transform: scale(1.1);
}

/* ========================================
   RESPONSIVE STYLES FOR VIDEO & REVIEW SECTIONS
   ======================================== */

/* Mobile View (≤600px) */
@media screen and (max-width: 600px) {
    .video-section {
        padding: 40px 0;
    }
    
    .video-carousel-container {
        padding: 0 20px;
    }
    
    .video-nav-btn {
        width: 30px;
        height: 30px;
        top: 35%;
    }
    
    .video-prev-btn {
        left: 2px;
    }
    
    .video-next-btn {
        right: 2px;
    }
    
    .video-info {
        padding: 12px;
    }
    
    .video-info h4 {
        font-size: 1.1rem;
    }
    
    .video-info p {
        font-size: 0.85rem;
    }
    
    .review-counts-section {
        padding: 30px 0;
    }
    
    .review-counts {
        gap: 20px;
        padding: 30px 0;
    }
    
    .review-count {
        font-size: 16px;
    }
    
    .review-count span {
        font-size: 20px;
    }
}

/* Tablet View (601px - 900px) */
@media screen and (min-width: 601px) and (max-width: 900px) {
    .video-section {
        padding: 50px 0;
    }
    
    .video-carousel-container {
        padding: 0 40px;
    }
    
    .video-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .video-info {
        padding: 18px;
    }
    
    .video-info h4 {
        font-size: 1.2rem;
    }
    
    .video-info p {
        font-size: 0.9rem;
    }
    
    .review-counts-section {
        padding: 40px 0;
    }
    
    .review-counts {
        gap: 25px;
        padding: 35px 0;
    }
    
    .review-count {
        font-size: 17px;
    }
    
    .review-count span {
        font-size: 22px;
    }
}

/* Laptop View (>900px) */
@media screen and (min-width: 901px) {
    .video-section {
        padding: 80px 0;
    }
    
    .video-carousel-container {
        padding: 0 50px;
    }
    
    .video-nav-btn {
        width: 45px;
        height: 45px;
    }
    
    .video-info {
        padding: 20px;
    }
    
    .video-info h4 {
        font-size: 1.4rem;
    }
    
    .video-info p {
        font-size: 1rem;
    }
    
    .review-counts-section {
        padding: 60px 0;
    }
    
    .review-counts {
        gap: 40px;
        padding: 50px 0;
    }
    
    .review-count {
        font-size: 18px;
    }
    
    .review-count span {
        font-size: 26px;
    }
}

/* ========================================
   GLOBAL STYLES
   ======================================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-weight: normal;
}

a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
    text-decoration: underline;
}

ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

button {
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
    box-sizing: border-box;
}

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

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

.pt-0 {
    padding-top: 0;
}

.pb-0 {
    padding-bottom: 0;
}

.rounded {
    border-radius: 0.25rem;
}

.shadow {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.transition {
    transition: all 0.3s ease;
}

/* Utilities */
.d-flex {
    display: flex;
}

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

.justify-content-center {
    justify-content: center;
}

.gap-15 {
    gap: 15px;
}

.p-15 {
    padding: 15px;
}

.m-0 {
    margin: 0;
}

.w-100 {
    width: 100%;
}

.h-auto {
    height: auto;
}

.max-w-400 {
    max-width: 400px;
}

.max-h-200 {
    max-height: 200px;
}

.object-fit-cover {
    object-fit: cover;
}

.object-fit-contain {
    object-fit: contain;
}

.text-shadow {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
}

/* ========================================
   PRINT STYLES
   ======================================== */

@media print {
    body {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print {
        display: none !important;
    }

    .page-break {
        page-break-after: always;
        break-after: always;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        break-after: avoid;
    }

    p, ul, ol {
        page-break-inside: avoid;
        break-inside: avoid;
    }

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

    table {
        width: 100%;
        border-collapse: collapse;
    }

    th, td {
        padding: 8px;
        text-align: left;
        border: 1px solid #ddd;
    }

    .hidden-print {
        display: none !important;
    }
}

.reviewCarouselContainer {
            max-width: 600px;
            margin: 0 auto;
            overflow: hidden;
            position: relative;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }

        .reviewCarousel {
            display: flex;
            transition: transform 0.5s ease-in-out;
            height: 400px; /* Default height */
        }

        .reviewCarousel img {
            width: 600px;
            height: 400px;
            object-fit: contain;
            flex-shrink: 0;
            display: block;
        }

        .reviewNavButtons {
            position: absolute;
            top: 50%;
            width: 100%;
            display: flex;
            justify-content: space-between;
            transform: translateY(-50%);
            padding: 0 10px;
        }

        .reviewNavButtons button {
            background: rgba(0, 0, 0, 0.5);
            color: white;
            border: none;
            padding: 10px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 5px;
        }

        .reviewNavButtons button:hover {
            background: rgba(0, 0, 0, 0.8);
        }

        .reviewDots {
            position: absolute;
            bottom: 10px;
            width: 100%;
            text-align: center;
        }

        .reviewDot {
            height: 10px;
            width: 10px;
            margin: 0 5px;
            background-color: #bbb;
            border-radius: 50%;
            display: inline-block;
            cursor: pointer;
        }

        .reviewDot.active {
            background-color: #333;
        }

        .reviewCarousel img.error {
            background-color: #f8d7da;
            color: #721c24;
            text-align: center;
            line-height: 400px;
            font-size: 16px;
            position: relative;
        }

        .reviewCarousel img.error::after {
            content: attr(data-error);
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 16px;
        }

        /* Responsive Design */
        @media (max-width: 768px) { /* Tablet */
            .reviewCarouselContainer {
                max-width: 400px;
            }
            .reviewCarousel img {
                width: 400px;
                height: 267px; /* Maintain aspect ratio (400/600 * 400) */
            }
            .reviewNavButtons button {
                padding: 8px;
                font-size: 16px;
            }
        }

        @media (max-width: 480px) { /* Mobile */
            .reviewCarouselContainer {
                max-width: 300px;
            }
            .reviewCarousel img {
                width: 300px;
                height: 200px; /* Maintain aspect ratio (200/300 * 400) */
            }
            .reviewNavButtons button {
                padding: 6px;
                font-size: 14px;
            }
            .reviewDots {
                bottom: 5px;
            }
            .reviewDot {
                height: 8px;
                width: 8px;
            }
        }




@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease both;
}

.hero-carousel .carousel-item img,
.main-content,
.section-title,
.stats-section,
.image-gallery,
.feature-section,
.course-section {
    opacity: 0;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.2s;
}

.hero-carousel .carousel-item.active img {
    opacity: 1;
    animation-delay: 0.2s;
}