/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 100%;
    transition: all 0.3s;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    display: block;
    padding: 8px 0;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #FF6633;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    border-radius: 8px;
    padding: 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    padding: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    color: #fff;
    font-size: 14px;
    padding: 12px 20px;
    transition: background 0.3s;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.sub-dropdown {
    position: relative;
}

.sub-dropdown-menu {
    position: absolute;
    left: 100%;
    top: 0;
    background: #333;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s;
    border-radius: 8px;
    padding: 0;
    z-index: 1002;
}

.sub-dropdown:hover .sub-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-dropdown-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-dropdown-menu li:last-child {
    border-bottom: none;
}

.header-buttons .btn {
    padding: 10px 20px;
    background: #FF6633;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: background 0.3s;
}

.header-buttons .btn:hover {
    background: #e65c2e;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-only {
    display: none;
}

.mobile-btn {
    display: inline-block;
    margin-top: 10px;
    text-align: center;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #00E5E5 0%, #009999 100%);
    padding: 80px 0 40px 0;
    /* Reduced bottom padding */
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: center;
    position: relative;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
}

.hero-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    margin: 0;
}

.hero-text .btn {
    margin-top: 10px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
}

.hero-image::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    right: -50px;
    bottom: -50px;
    z-index: 1;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: #FF6633;
    color: #fff;
}

.btn-primary:hover {
    background: #e65c2e;
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}

/* Programs Section */
.programs {
    padding: 40px 0 80px 0;
    /* Reduced top padding */
    background: #f8f9fa;
    margin-top: 0;
    /* Ensure no margin */
}

.section-title {
    text-align: center;
    color: #333;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}

.section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FF6633;
    margin: 15px auto 0;
    border-radius: 2px;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.program-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.program-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #FF6633;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.program-header {
    padding: 25px 25px 15px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.program-header h3 {
    color: #333;
    margin: 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    flex: 1;
}

.program-tag {
    background: #00E5E5;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    white-space: nowrap;
}

.program-tag-badge {
    background: #00E5E5;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 10px;
    white-space: nowrap;
    margin-top: 25px;
}

.program-image {
    padding: 0 25px;
    text-align: center;
    margin-bottom: 20px;
}

.program-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #f0f0f0;
}

.program-features {
    padding: 0 25px;
    margin-bottom: 20px;
}

.program-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.program-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    color: #555;
    font-size: 14px;
    line-height: 1.5;
}

.program-features li i {
    color: #FF6633;
    margin-right: 10px;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.program-features li.feature-highlight {
    color: #FF6633;
    font-weight: 600;
}

.program-features li.feature-highlight i {
    color: #FFCC00;
}

.program-info {
    padding: 0 25px;
    margin-bottom: 20px;
}

.program-info p {
    color: #FF6633;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

.program-action {
    padding: 0 25px;
    margin-bottom: 25px;
}

.program-action .btn {
    width: 100%;
    text-align: center;
}

.program-footer {
    background: linear-gradient(135deg, #00E5E5 0%, #009999 100%);
    color: #fff;
    padding: 15px 25px;
    margin-top: auto;
}

.program-footer p {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
    }
}

/* About Section */
.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #00E5E5 0%, #009999 100%);
    color: #fff;
}

.about .section-title {
    text-align: center;
    color: #fff;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}

.about .section-title:after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #FF6633;
    margin: 15px auto 0;
    border-radius: 2px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-color: white;
    border-radius: 15px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.2);
}

.feature-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.feature-card h6 {
    font-size: 16px;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    font-weight: 700;
}

.feature-card p {
    font-size: 14px;
    line-height: 1.5;
    position: relative;
    z-index: 2;
}

@media (max-width: 992px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* Faculty Section */
.faculty {
    padding: 80px 0;
    background: #f8f9fa;
}

.faculty h3 {
    text-align: center;
    color: #FF6633;
    margin-bottom: 50px;
    font-size: 2rem;
}

.faculty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.faculty-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.faculty-card:hover {
    transform: translateY(-5px);
}

.faculty-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 10px;
    margin-bottom: 20px;
}

.faculty-card h4 {
    color: #FF6633;
    margin-bottom: 10px;
}

.faculty-card p {
    color: #666;
    margin-bottom: 20px;
    font-style: italic;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: linear-gradient(135deg, #00E5E5 0%, #009999 100%);
    color: #fff;
}

.testimonials h3 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.testimonial-card h5 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-card p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h6 {
    color: #fff;
    margin-bottom: 5px;
}

.stars {
    color: #ffd700;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    opacity: 0.9;
}

.author-info p img {
    width: 20px;
    height: 20px;
    margin-right: 5px;
    vertical-align: middle;
}

.testimonials-cta {
    text-align: center;
    margin-top: 50px;
}

/* Road to Success Section */
.road-to-success {
    padding: 80px 0;
    background: #fff;
}

.road-to-success .section-title {
    text-align: center;
    color: #333;
    margin-bottom: 60px;
    font-size: 2.5rem;
    font-weight: 700;
}

.road-row {
    display: flex;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.road-row:last-child {
    margin-bottom: 0;
}

.road-card {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    width: 48%;
    margin-right: auto;
    position: relative;
}

.road-card.right {
    margin-left: auto;
    margin-right: 0;
}

.road-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.road-icon {
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #009999;
    font-size: 24px;
    border: 2px solid #009999;
}

.road-card h3 {
    color: #009999;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 700;
}

.road-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .road-card {
        width: 100%;
        margin-right: 0;
        margin-bottom: 30px;
    }

    .road-card.right {
        margin-left: 0;
    }

    .road-row {
        margin-bottom: 0;
    }
}

/* Teachers Section */
.teachers {
    padding: 80px 0;
    background: linear-gradient(135deg, #00E5E5 0%, #009999 100%);
    color: #fff;
}

.teachers h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2rem;
    color: white;
}

.teachers-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.teacher-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.teacher-card h6 {
    color: #fff;
    margin-bottom: 5px;
}

.rating {
    color: #ffd700;
    margin-bottom: 5px;
    font-size: 14px;
}

.teacher-card p {
    font-size: 14px;
    opacity: 0.9;
}

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

.teachers-cta i {
    font-size: 24px;
    margin: 0 10px;
    opacity: 0.7;
}

/* Schedule Section */
.schedule {
    padding: 80px 0;
    background: #f8f9fa;
}

.schedule h2 {
    text-align: center;
    color: #0fab8e;
    margin-bottom: 50px;
    font-size: 2rem;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.schedule-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Venue Section */
.venue {
    padding: 80px 0;
}

.venue h2 {
    text-align: center;
    color: #0fab8e;
    margin-bottom: 50px;
    font-size: 2rem;
}

.venue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.venue-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

/* Events Section */
.events {
    padding: 80px 0;
    background: #f8f9fa;
}

.events h2 {
    text-align: center;
    color: #0fab8e;
    margin-bottom: 50px;
    font-size: 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.event-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #00E5E5 0%, #009999 100%);
    color: #fff;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.cta-text h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 30px;
    line-height: 1.3;
}

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

.cta-form p {
    margin-bottom: 20px;
    font-size: 18px;
}

.subscribe-form {
    display: flex;
    gap: 10px;
    max-width: 400px;
    margin: 0 auto;
}

.subscribe-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
}

.subscribe-form button {
    padding: 12px 25px;
    background: #0fab8e;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.subscribe-form button:hover {
    background: #0d9a7f;
}

/* Footer Styles */
.footer {
    background: #333;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #0fab8e;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-logo img {
    width: 200px;
    height: auto;
    background: white;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.footer-description h3 {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #ccc;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: #0fab8e;
}

.footer-links i {
    color: #0fab8e;
}

.footer-location,
.footer-location-mobile {
    margin-top: 20px;
}

.footer-location p,
.footer-location-mobile p {
    color: #ccc;
    line-height: 1.6;
}

.footer-location a,
.footer-location-mobile a {
    color: #0fab8e;
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #0fab8e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: #0d9a7f;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    color: #ccc;
}

/* WhatsApp Widget */
.wa__widget_container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.wa__btn_popup {
    display: flex;
    align-items: center;
    background: #25d366;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s;
}

.wa__btn_popup:hover {
    transform: scale(1.05);
}

.wa__btn_popup_txt {
    margin-right: 10px;
    font-size: 14px;
}

.wa__btn_popup_icon {
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.wa__btn_popup_icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: #25d366;
    border-radius: 50%;
}

.wa__popup_chat_box {
    position: absolute;
    bottom: 100%;
    right: 0;
    width: 300px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 15px;
    display: none;
}

.wa__popup_chat_box.active {
    display: block;
}

.wa__popup_heading {
    background: #25d366;
    color: #fff;
    padding: 20px;
    border-radius: 15px 15px 0 0;
}

.wa__popup_title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.wa__popup_intro {
    font-size: 12px;
    opacity: 0.9;
}

.wa__popup_content {
    padding: 20px;
}

.wa__popup_notice {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
}

.wa__popup_content_item {
    margin-bottom: 15px;
}

.wa__popup_content_item a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s;
}

.wa__popup_content_item a:hover {
    background: #f5f5f5;
}

.wa__popup_avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.wa__cs_img_wrap {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
}

.wa__member_name {
    font-weight: 600;
    margin-bottom: 2px;
}

.wa__member_duty {
    font-size: 12px;
    color: #666;
}

.wa__popup_powered {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.wa__popup_powered_content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 12px;
    color: #666;
}

.wa__popup_icon-ninja {
    width: 20px;
    height: 20px;
}

.wa__popup_tooltiptext {
    display: flex;
    align-items: center;
    gap: 5px;
}

.wa__popup_icon-tooltip {
    width: 16px;
    height: 16px;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #0fab8e;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
}

#back-to-top:hover {
    background: #0d9a7f;
    transform: translateY(-3px);
}

#back-to-top i {
    font-size: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-menu ul {
        gap: 15px;
    }

    .logo img {
        height: 45px;
    }

    .header-buttons .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .logo {
        order: 1;
        flex: 1;
    }

    .logo img {
        height: 40px;
    }

    .header-buttons {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .mobile-menu-toggle {
        order: 3;
        display: flex;
        margin-left: 15px;
    }

    .nav-menu {
        display: none;
        order: 4;
        width: 100%;
        margin-top: 15px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li {
        border-top: 1px solid #eee;
    }

    .nav-menu a {
        padding: 12px 0;
    }

    .nav-menu .mobile-btn {
        background: #FF6633;
        color: #fff;
        padding: 10px 20px;
        margin: 15px 0;
        border-radius: 25px;
        display: inline-block;
        text-align: center;
        width: 100%;
        max-width: 200px;
    }

    .nav-menu .mobile-btn:hover {
        background: #e65c2e;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #444;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        padding: 0;
        margin-top: 0;
        border-radius: 0;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .sub-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: #555;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        padding: 0;
        margin-top: 0;
        border-radius: 0;
    }

    .sub-dropdown.active .sub-dropdown-menu {
        max-height: 500px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-location {
        display: none;
    }

    .footer-location-mobile {
        display: block;
    }

}

/* Tablet view */
@media (min-width: 481px) and (max-width: 768px) {

    /* Slightly reduced font sizes for tablets */
    body {
        font-size: 15px;
    }

    /* Hero section */
    .hero-text h1 {
        font-size: 2rem;
        line-height: 1.4;
        text-align: center;
    }

    .hero-text {
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .hero-text .btn {
        margin: 0 auto;
    }

    /* Section titles */
    .section-title {
        font-size: 2rem;
    }

    /* Program cards */
    .program-header h3 {
        font-size: 1.3rem;
    }

    /* Faculty section */
    .faculty h3 {
        font-size: 1.8rem;
    }

    /* Testimonials */
    .testimonials h3 {
        font-size: 1.8rem;
    }

    /* Buttons */
    .btn-large {
        font-size: 16px;
        padding: 12px 30px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Reduce all font sizes for smaller screens */
    body {
        font-size: 14px;
    }

    /* Hero section */
    .hero-text h1 {
        font-size: 1.5rem;
        line-height: 1.5;
        text-align: center;
    }

    .hero-text {
        gap: 15px;
        align-items: center;
        text-align: center;
    }

    .hero-text .btn {
        margin: 0 auto;
    }

    /* Section titles */
    .section-title {
        font-size: 1.8rem;
    }

    /* Program cards */
    .program-header h3 {
        font-size: 1.2rem;
    }

    .program-features li {
        font-size: 13px;
    }

    .program-footer p {
        font-size: 13px;
    }

    /* Faculty section */
    .faculty h3 {
        font-size: 1.6rem;
    }

    .faculty-card h4 {
        font-size: 1.2rem;
    }

    /* Testimonials */
    .testimonials h3 {
        font-size: 1.6rem;
    }

    .testimonial-card h5 {
        font-size: 1.1rem;
    }

    .testimonial-card p {
        font-size: 0.9rem;
    }

    /* Road to success */
    .road-card h3 {
        font-size: 1.2rem;
    }

    .road-card p {
        font-size: 0.9rem;
    }

    /* Teachers section */
    .teachers h2 {
        font-size: 1.6rem;
    }

    .teacher-card h6 {
        font-size: 0.9rem;
    }

    /* Buttons */
    .btn {
        font-size: 14px;
        padding: 10px 20px;
    }

    .btn-large {
        font-size: 16px;
        padding: 12px 30px;
    }

    /* Layout */
    .programs-grid,
    .faculty-grid,
    .testimonials-grid,
    .road-grid {
        grid-template-columns: 1fr;
    }

    .teachers-carousel {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.3s ease-out;
    /* Faster animation */
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
.loading {
    opacity: 0.9;
    /* Start more visible */
    transform: translateY(5px);
    /* Smaller initial offset */
    transition: all 0.3s;
    /* Faster transition */
}

.loading.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Section button WA */
.button-wa {
    position: fixed;
    bottom: 10%;
    right: 5%;
    z-index: 99999999;
}

.button-wa a {
    display: inline-flex;
    align-items: center;
    background-color: #e65c2e;
    padding: 8px 57px 8px 20px;
    /* ruang kiri lebih lebar */
    border-radius: 30px;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    position: relative;
}

.button-wa .text-label {
    margin-right: 40px;
    /* ruang kosong agar logo muat di kanan */
    white-space: nowrap;
}

.button-wa img {
    width: 70px;
    position: absolute;
    right: -20px;
    /* biar nempel keluar dari oval */
    top: 50%;
    transform: translateY(-50%);
}

.location-mobile {
    display: none;
}

.teachers .hide-desktop,
.venue .hide-desktop,
.events .hide-desktop {
    display: none;
}

/* Responsif */
@media only screen and (max-width: 767px) {
    .button-wa a {
        font-size: 12px;
        padding: 3px 38px 3px 16px;
    }

    .button-wa img {
        width: 45px;
        right: -12px;
        right: -10px;
    }

    .footer-location,
    .footer-location-mobile {
        display: none;
    }

    .location-mobile {
        display: block;
    }

    .location-mobile p {
        text-align: start;
    }

    .location-mobile .title-location-mobile {
        font-weight: 700;
    }

    .teachers .hide-desktop,
    .venue .hide-desktop,
    .events .hide-desktop {
        display: block;
    }
    .hero {
        background: linear-gradient(135deg, #00c9c9 0%, #009999 100%);
    }
    .about {
        padding: 40px 0;
        margin-top: -30px;
    }
    .about .about-features .feature-card {
        background-color: rgba(0, 0, 0, 0.151);
    }
    .faculty,
    .testimonials,
    .road-to-success,
    .teachers,
    .schedule,
    .venue,
    .events {
        padding: 30px 0;
    }
    .testimonials-cta {
        margin-top: 20px;
    }
    .testimonials h3,
    .road-to-success h2,
    .teachers h2,
    .schedule h2,
    .venue h2,
    .events h2 {
        margin-bottom: 15px;
    }
}