﻿
.mySlides {
    display: none;
}

    .mySlides img {
        width: 100%;
        border-radius: 8px;
    }

/* gallery */

.top-gallery {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.gallery-img {
    width: 220px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: transform .3s;
}

    .gallery-img:hover {
        transform: scale(1.05);
    }

.scroll-gallery {
    overflow: hidden;
    width: 100%;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.scroll-track {
    display: flex;
    gap: 20px;
    width: max-content;
    animation: scroll-left 35s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* training programs */

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 30px;
    margin-top: 40px;
}

.program-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    transition: transform .3s;
}

    .program-card:hover {
        transform: translateY(-6px);
    }

    .program-card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
    }

    .program-card h3 {
        padding: 15px;
        font-size: 20px;
    }

    .program-card p {
        padding: 0 15px 20px;
        font-size: 14px;
    }

/* machine training */

.machine-training {
    background: #f7f9fc;
    padding: 20px 0;
}

.machine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.machine-image img {
    width: 100%;
    border-radius: 10px;
}

.machine-content li {
    margin-bottom: 10px;
}

/* certification */

.certificate-section {
    padding: 20px 0;
}

.certificate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
    gap: 25px;
    margin-top: 40px;
}

.certificate-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 12px rgba(0,0,0,0.1);
}
/* SOCIAL BOTTOM */
.social-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

    .social-bottom a img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        padding: 6px;
        transition: 0.3s;
    }

        .social-bottom a img:hover {
            transform: scale(1.15);
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
        }
/* Common link style (Main Menu) */
#navLinks > li > a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s, color 0.3s;
}

    /* Hover effect */
    #navLinks > li > a:hover {
        background: #FF7F50;
        color: white;
    }

    /* Active/selected link */
    #navLinks > li > a.active {
        background: #FF7F50;
        color: white;
    }

/* 🔽 DROPDOWN MENU FIX */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff; /* WHITE menu */
    border: 1px solid #ddd;
    border-radius: 6px;
    list-style: none;
    padding: 5px 0;
    min-width: 160px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 1000;
}

    /* Remove underline from submenu links */
    .dropdown li a {
        color: #333 !important;
        display: block;
        padding: 8px 15px;
        border-radius: 0;
        text-decoration: none; /* ✅ REMOVE UNDERLINE */
        white-space: nowrap; /* ✅ PREVENT TEXT WRAP */
    }

        /* Dropdown hover */
        .dropdown li a:hover {
            background: #047E7C;
            color: #fff !important;
        }

/* Show dropdown on hover */
#navLinks li:hover .dropdown {
    display: block;
}

/* Button */
.renew-btn {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    background: #FFA500;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}
