* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
}

.header {
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(250, 250, 250, 0.7), rgba(16, 30, 80, 0.7)), url(PIC/mac2.jpg);
    background-position: center;
    background-size: cover;
    position: relative;

}

.navbar {
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;

    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}


.logo {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.logo-img{
    margin-right: 10px;
}

.logo-text{
    color: rgb(34, 34, 34);
    text-align: left;
}

@media (max-width: 768px) {
    .logo-text{
    display: none;
}
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li a {
    font-size: 1.05rem;
    font-weight: 500;
    text-decoration: none;
    color: #111;
    transition: 0.3s;
}

.nav-links li a:hover {
    color: #2f9e44;
    text-shadow: 0 0 10px rgba(47, 158, 68, 0.6);
}

.menu-icon {
    font-size: 28px;
    cursor: pointer;
    display: none;
    color: #111;
}

/* 📱 MOBILE DROPDOWN (GLASS TOO) */
@media (max-width: 768px) {

    .nav-links {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;

        background: rgba(255, 255, 255, 0.55);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);

        flex-direction: column;
        align-items: center;

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
    }

    .nav-links.active {
        max-height: 350px;
    }

    .nav-links li {
        padding: 15px 0;
    }

    .nav-links li a {
        color: #000;
    }

    .menu-icon {
        display: block;
    }
}


/* nav {
    display: flex;
    padding: 2% 6%;
    justify-content: space-between;
    align-items: center;
}

nav img {
    width: 150px;
}

.nav-links {
    flex: 1;
    text-align: right;
}

.nav-links ul li {
    list-style: none;
    display: inline-block;
    padding: 8px 12px;
    position: relative;
}

.nav-links ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
}

.nav-links ul li::after {
    content: '';
    width: 0%;
    height: 2px;
    background: #f44336;
    display: block;
    margin: auto;
    transition: 0.5s;
}

.nav-links ul li:hover::after {
    width: 100%;
} */

.text-box {
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.text-box h1 {
    font-size: 40px;
    color: white;
    /* inner text color */
    text-shadow:
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;

}

.text-box p {
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}

.hero-btn {
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.hero-btn:hover {
    border: 1px solid #f44336;
    background: #f44336;
    transition: 1s;
}

nav .fa {
    display: none;
}

@media(max-width: 700px) {
    .text-box h1 {
        font-size: 20px;
    }

    .nav-links ul li {
        display: block;
    }

    .nav-links {
        position: absolute;
        background: #f44336;
        height: 100vh;
        width: 200px;
        top: 0;
        right: -200px;
        text-align: left;
        z-index: 2;
        transition: 1s;
    }

    nav .fa {
        display: block;
        color: #fff;
        margin: 10px;
        font-size: 22px;
        cursor: pointer;
    }

    .nav-links ul {
        padding: 30px;
    }
}

.course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 100px;
}

h1 {
    font-size: 36px;
    font-weight: 600;
}

p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
}

.row {
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
}

.course-col {
    flex-basis: 31%;
    background: #fff3f3;
    border-radius: 10px;
    margin-bottom: 5%;
    padding: 20px 12px;
    box-sizing: border-box;
    transition: 0.5s;
}

h3 {
    text-align: center;
    font-weight: 600;
    margin: 10px 0;
}

.course-col:hover {
    box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);

}

@media(max-width: 700px) {
    .row {
        flex-direction: column;
    }
}

.campus {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
}

.slideshow {
    width: 80%;
    margin: auto;
    text-align: center;
    padding: 80px 0;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Slides stacked */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Active slide */
.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Dots */
.dots {
    margin-top: 15px;
}

.dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.dot.active {
    background-color: #f44336;
}

/* Branch Locations Section */
.branches-section {
    background-color: #f8fbfd;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Grid Layout */
.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 80px;
    margin-right: 15%;
}

/* Individual Branch Card */
.branch-card {
    background: #9cf6b5;
    border-radius: 16px;
    padding: 20px 10px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 250px;
    height: 100;
    margin-left: 30%;

}

.branch-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* Icon */
.branch-card i {
    font-size: 36px;
    color: #800808;
    margin-bottom: 15px;
}

/* Branch Name */
.branch-card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #222;
    margin-bottom: 8px;
}

/* Address */
.branch-card p {
    font-size: 15px;
    color: #666;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .branches-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }
}