.header {
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

@media(max-width:768px) {
    .header {
        height: 70vh;
    }
}

.header-img {
    object-fit: contain;
    height: 100%;
    filter: brightness(60%);
    overflow: hidden;
}

.header-title {
    font-size: 3rem;
}

.header-subtitle {
    font-size: 1.5rem;
}

.overlay {
    background-color: rgba(0, 0, 0, 0);
}

.head-img img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-top: -220px;
    z-index: 1;
    position: relative;
}

@keyframes zoomLoop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.logo-animate {
    animation: zoomLoop 10s ease-in-out infinite;
    transition: transform 0.3s ease-in-out;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.01);
}



.course {
    background-image: url('../image/1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    z-index: 0;
    /* ensure it sits above the pseudo element */
    overflow: hidden;
    /* ensure the pseudo-element doesn't spill */
}

@media(max-width:768px) {
    .course {
        height: 100%;
    }
}

.course::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.course-card {
    background: linear-gradient(135deg, #ffffff 0%, #c7c7c7 100%);
    border-radius: 15px;
    padding: 1rem;
    color: rgb(0, 0, 0);
    height: 100%;
    transition: transform 0.3s ease;
}

.course-card:hover {
    transform: translateY(-10px);
}

.card-image-wrapper img {
    height: 300px;
    width: 550px;
    object-fit: cover;
}

@media(max-width:768px) {
    .card-image-wrapper img {
        height: 200px;
        width: 100%;
    }
}

.card-title-overlay {
    margin-top: 20px;
    font-style: italic;
}

.testimonial-card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #f39c12;
}

.instructor-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.btn-custom {
    background: linear-gradient(135deg, #ffffff 0%, #757473 100%);
    border: none;
    color: rgb(0, 0, 0);
    padding: 12px 30px;
    border-radius: 10px;
    transition: all 0.8s ease;
}

.btn-custom:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #000000 0%, #898989 100%);
    color: white;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    margin-top: 3rem;
    text-align: center;
    color: #ffffff;
}



@media (max-width: 768px) {
    .head-img img {
        height: 220px;
        margin-top: 0;
    }

    .header-title {
        font-size: 2rem;
    }

    .header-subtitle {
        font-size: 1rem;
    }

    .gallery-img {
        height: 200px;
    }

    .instructor-img {
        height: 250px;
    }
}



/* home carosel  */
.carousel-img {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    object-position: center;
  }

  @media (max-width: 768px) {
    .carousel-img {
      height: 250px;
    }
  }



