/* Desktop */
@media screen and (min-width: 1025px) {
    .modal-content {
        max-width: 600px;
        padding: 3.5rem;
    }

    .modal-content h2 {
        font-size: 2rem;
        margin-bottom: 2.5rem;
    }

    .modal-content input {
        padding: 1.3rem 1.6rem;
        margin-bottom: 1.3rem;
        font-size: 1.1rem;
    }

    .whatsapp-group {
        gap: 1.5rem;
        padding: 1.2rem;
    }

    .submit-btn {
        padding: 1.3rem 2.5rem;
        font-size: 1.2rem;
    }
}


.whatsapp-group input[type="tel"] {
    flex: 1;
}

.whatsapp-group label {
    font-size: 1rem;
}

.nav-menu {
    gap: 1.5rem;
}

.nav-logo {
    font-size: 1.2rem;
}

.pdf-section .pdf-list,
.schedule-section .schedule-content {
    max-height: 100%;
    padding: 2.5rem;
    padding-top: 0;
    color: #333;
    display: block;
    visibility: visible;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.pdf-list {
    gap: 1rem;
}

.pdf-item {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.footer-container {
    grid-template-columns: repeat(2, 1fr);
}


/* Tablet */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .modal-content {
        max-width: 550px;
        padding: 2.8rem;
    }

    .modal-content h2 {
        font-size: 1.7rem;
        margin-bottom: 2.2rem;
    }

    .modal-content input {
        padding: 1.1rem 1.4rem;
        margin-bottom: 1.1rem;
        font-size: 1rem;
    }

    .whatsapp-group {
        gap: 1.2rem;
        padding: 1rem;
    }

    .whatsapp-group input[type="tel"] {
        flex: 1;
    }

    .whatsapp-group label {
        font-size: 0.95rem;
    }

    .submit-btn {
        padding: 1.1rem 2rem;
        font-size: 1rem;
    }

    .notification-container {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .item-link {
        font-size: 0.95rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.45rem 1rem;
    }

    .pdf-section .pdf-list,
    .schedule-section .schedule-content {
        max-height: 100%;
        padding: 2rem;
        padding-top: 0;
        color: #333;
        display: block;
        visibility: visible;
        overflow-y: auto;
        scroll-behavior: smooth;
    }

    .pdf-item {
        padding: 0.9rem 1.2rem;
    }

    .schedule-item {
        padding: 1.2rem;
        color: #333;
        line-height: 1.6;
        display: block;
        visibility: visible;
    }

    .schedule-item strong {
        color: var(--primary-color);
        font-weight: 600;
    }

    .payment-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
    }

    .nav-container {
        padding: 1rem 1.5rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .header-content h2 {
        font-size: 1.3rem;
    }

    .header-content h3,
    .header-content h4 {
        font-size: 1.2rem;
    }

    .tourism-section .tourism-card {
        position: relative;
        height: 50vh;
        min-height: 470px;
        background: transparent;
        overflow: hidden;
    }

    .tourism-section .card-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .tourism-section .card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .tourism-section .tourism-card:hover .card-image img {
        transform: translateY(-20%);
    }

    .tourism-section .card-content {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 2;
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
        color: white;
        padding: 2rem 1.5rem 1.5rem;
        text-align: center;
        transition: all 0.4s ease;
    }

    .tourism-section .card-content h3,
    .tourism-section .card-content p {
        color: white;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    }

    .tourism-section .card-content h3 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }

    .tourism-section .card-content p {
        display: block;
        font-size: 0.95rem;
        margin-bottom: 1rem;
        opacity: 0.9;
    }

    .tourism-section .explore-btn {
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-color);
        border: 2px solid white;
        transition: all 0.3s ease;
    }

    .tourism-section .tourism-card:hover .card-content {
        background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
        padding-bottom: 2.5rem;
    }

    .tourism-section .card-content p {
        display: none;
    }
    .pay-btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 15px;
    /*margin-top: 10px;*/
}

    .payment-cards {
        grid-template-columns: 1fr;
    }
    .payment-card {
        padding: 1.5rem;
        display: block;
        flex-wrap: wrap;
        gap: 1rem;
        padding: 0 1rem;
    }
    .payment-card h3 {
        width: 100%;
        font-size: 1.2rem;
        margin-top: 0.5rem;
    }


    .contact-info {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-section {
        text-align: center;
    }

    .whatsapp-group {
        flex-direction: column;
        align-items: stretch;
    }

    .modal-content {
        width: 95%;
        max-width: 100vw;
        padding: 2.2rem 1.6rem 1.8rem;
        border-radius: 24px;
        position: relative;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }

    .modal-content h2 {
        font-size: 1.6rem;
        margin-bottom: 1.8rem;
    }

    .modal-content input {
        padding: 1rem 0.8rem 0.7rem;
        margin-bottom: 1rem;
        font-size: 1rem;
    }

    .whatsapp-group {
        gap: 0.8rem;
        padding: 0;
        margin-bottom: 1rem;
    }

    .whatsapp-group label {
        font-size: 0.9rem;
    }

    .modal {
        padding: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .modal-content .close {
        top: 1rem;
        right: 1rem;
        width: 48px;
        height: 48px;
        font-size: 2.4rem;
        z-index: 1002;
        background: rgba(255, 255, 255, 0.25);
        backdrop-filter: blur(15px);
        border: 1px solid rgba(255, 255, 255, 0.4);
        -webkit-backdrop-filter: blur(15px);
        pointer-events: auto;
        touch-action: manipulation;
    }

    .modal-content .close:hover,
    .modal-content .close:active {
        background: rgba(231, 76, 60, 0.25);
        transform: rotate(90deg) scale(1.1);
        -webkit-transform: rotate(90deg) scale(1.1);
    }

    .notification-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pdf-section .pdf-list,
    .schedule-section .schedule-content {
        max-height: 100%;
        padding: 1.5rem;
        padding-top: 0;
        color: #333;
        display: block;
        visibility: visible;
        overflow-y: auto;
        scroll-behavior: smooth;
    }

    .pdf-list {
        gap: 0.8rem;
    }

    .pdf-item {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
    }

    .pdf-item::before {
        font-size: 0.9rem;
    }

    .schedule-item {
        padding: 1rem;
        color: #333;
        line-height: 1.6;
        display: block;
        visibility: visible;
    }

    .schedule-item strong {
        font-size: 1rem;
        color: var(--primary-color);
        font-weight: 600;
    }
}

/* Small Mobile */
@media screen and (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .nav-logo {
        font-size: 1.1rem;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    section {
        padding: 3rem 1rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .fee-table th,
    .fee-table td {
        padding: 1rem 0.5rem;
        font-size: 0.9rem;
    }

    .modal-content {
        padding: 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.2rem;
    }

    .tourism-section .card-content p {
        display: none;
    }

    .card-content {
        padding: 1.5rem;
    }

    .card-content h3 {
        font-size: 1.3rem;
    }

    .card-footer {
        width: 100%;
    }

    .card-footer a {
        padding: 10px;
        /* better touch size */
        font-size: 16px;
        /* readable text */
        border-radius: 0 0 10px 10px;
        /* slightly smaller curve */
    }

    .card-footer a:hover {
        transform: none;
        /* remove hover jump on mobile */
    }

    .card {
        border-radius: 12px;
        overflow: hidden;
    }
    .notification-section {
        padding: 3rem 1rem;
    }

    .card-header,
    .notification-list {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .notification-item {
        padding: 0rem 0rem;
    }
    .brochure-card img {
    width: 25%;
    display: flex;
    align-items: center;
    border-radius: 10px;
    margin-left: 40px;
    margin-right: auto
}
.pay-btn {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 15px;
    /*margin-top: 10px;*/
}

}
@media (max-width: 920px) and (max-height: 420px) {
    .main-container {
        transform: scale(0.74);
        transform-origin: top left;
    }

    .header-content h1 {
        font-size: 1.5rem;
        padding:  1rem;
        margin-top: 5rem;
    }

    .header-content h2 {
        font-size: 1.2rem;
    }

    .header-content h3 {
        font-size: 1rem;
    }

    .creadit-img {
        width: 70px;
    }

    .theme-img {
        width: 150px;
        height: 150px;
        margin-top: 0rem;
        margin-bottom: -6rem;
    }

}