@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    scroll-behavior: smooth;
}

body {
    background: #121212;
    color: #E0E0E0;
    padding-top: 70px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3, h4 {
    text-align: center;
}

main {
    flex: 1;
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(18, 18, 18, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    text-align: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #50059c, #6232a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 5px rgba(80, 5, 156, 0.5);
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    color: #E0E0E0;
    cursor: pointer;
}

.nav ul {
    list-style: none;
    display: none;
    flex-direction: column;
    background: #1E1E1E;
    position: absolute;
    right: 0;
    top: 60px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.nav ul.active {
    display: flex;
}

.nav ul li {
    margin: 0.5rem 0;
}

.nav ul li a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav ul li a:hover {
    color: #6232a8;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#three-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-text {
    text-align: center;
    padding: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(80, 5, 156, 0.5);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #50059c;
    color: #E0E0E0;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    background: #6232a8;
}

/* Sections */
.features, .portfolio, .about, .admin-dashboard, .form-container {
    padding: 4rem 2rem;
}

.features h2, .portfolio h2, .about h2, .admin-dashboard h2, .form-container h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #50059c;
    margin-bottom: 2rem;
}

/* Feature Cards */
.feature-card, .portfolio-item, .team-member, .category-item {
    background: #1E1E1E;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.feature-card:hover, .portfolio-item:hover, .team-member:hover, .category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(80, 5, 156, 0.2);
}

.team-grid, .portfolio-grid, .category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.portfolio-item img, .portfolio-item video, .category-item img, .category-item video {
    width: 100%;
    max-height: 200px;
    border-radius: 8px;
    object-fit: cover;
    display: block;
}

.category-item h3 {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    color: #E0E0E0;
    text-align: center;
}

.category-link {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background: #50059c;
    color: #E0E0E0;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    transition: background 0.3s ease;
}

.category-link:hover {
    background: #6232a8;
}

/* Form Styles */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: #1E1E1E;
    border-radius: 10px;
    padding: 2rem;
}

.form-container input,
.form-container textarea,
.form-container select,
.form-container input[type="datetime-local"] {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
    background: #2A2A2A;
    color: #E0E0E0;
    font-size: 1rem;
}

.form-container input:focus,
.form-container textarea:focus,
.form-container select:focus,
.form-container input[type="datetime-local"]:focus {
    outline: none;
    box-shadow: 0 0 5px #42f5f5;
}

.form-container button {
    width: 100%;
    padding: 0.75rem;
    background: #50059c;
    border: none;
    color: #E0E0E0;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.form-container button:hover {
    background: #6232a8;
}

.form-container progress {
    width: 100%;
    height: 1.5rem;
    margin: 1rem 0;
    border-radius: 5px;
    background: #2A2A2A;
}

.form-container progress::-webkit-progress-bar {
    background: #2A2A2A;
    border-radius: 5px;
}

.form-container progress::-webkit-progress-value {
    background: #42f5f5;
    border-radius: 5px;
}

.form-container progress::-moz-progress-bar {
    background: #42f5f5;
    border-radius: 5px;
}

/* Contact Messages Table */
.contact-messages-table, .categories-table, .portfolio-items-table, .users-table, .bookings-table, .sessions-table, .visitor-stats-table {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-collapse: collapse;
    background: #1E1E1E;
    border-radius: 10px;
    overflow: hidden;
}

.contact-messages-table th,
.contact-messages-table td,
.categories-table th,
.categories-table td,
.portfolio-items-table th,
.portfolio-items-table td,
.users-table th,
.users-table td,
.bookings-table th,
.bookings-table td,
.sessions-table th,
.sessions-table td,
.visitor-stats-table th,
.visitor-stats-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #2A2A2A;
}

.contact-messages-table th,
.categories-table th,
.portfolio-items-table th,
.users-table th,
.bookings-table th,
.sessions-table th,
.visitor-stats-table th {
    background: #50059c;
    color: #E0E0E0;
    font-weight: 600;
}

.contact-messages-table td,
.categories-table td,
.portfolio-items-table td,
.users-table td,
.bookings-table td,
.sessions-table td,
.visitor-stats-table td {
    color: #B0B0B0;
}

.contact-messages-table tr:hover,
.categories-table tr:hover,
.portfolio-items-table tr:hover,
.users-table tr:hover,
.bookings-table tr:hover,
.sessions-table tr:hover,
.visitor-stats-table tr:hover {
    background: #2A2A2A;
}

.contact-messages-table td:nth-child(4),
.categories-table td:nth-child(4),
.portfolio-items-table td:nth-child(4),
.users-table td:nth-child(4),
.bookings-table td:nth-child(4),
.bookings-table td:nth-child(7),
.bookings-table td:nth-child(8),
.visitor-stats-table td:nth-child(1) {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sessions-table input[type="datetime-local"],
.sessions-table select {
    width: 100%;
    max-width: 200px;
    padding: 0.5rem;
    background: #2A2A2A;
    color: #E0E0E0;
    border: none;
    border-radius: 5px;
}

.sessions-table input[type="datetime-local"]:focus,
.sessions-table select:focus {
    outline: none;
    box-shadow: 0 0 5px #42f5f5;
}

/* Subheadings for Visitor Statistics */
h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #50059c;
    margin: 1.5rem 0 1rem;
}

/* Delete and Update Buttons */
.delete-button, .update-button {
    padding: 0.5rem 1rem;
    background: #50059c;
    color: #E0E0E0;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-right: 0.5rem;
}

.delete-button:hover, .update-button:hover {
    background: #6232a8;
}

.delete-button {
    background: #0074cc;
}

.delete-button:hover {
    background: #42f5f5;
}

/* Portfolio Item Input */
.portfolio-items-table input[type="text"],
.users-table input[type="text"],
.users-table input[type="password"],
.users-table select,
.bookings-table input[type="text"],
.bookings-table input[type="email"],
.bookings-table input[type="tel"] {
    width: 100%;
    max-width: 200px;
    padding: 0.5rem;
    background: #2A2A2A;
    color: #E0E0E0;
    border: none;
    border-radius: 5px;
}

.portfolio-items-table input[type="text"]:focus,
.users-table input[type="text"]:focus,
.users-table input[type="password"]:focus,
.users-table select:focus,
.bookings-table input[type="text"]:focus,
.bookings-table input[type="email"]:focus,
.bookings-table input[type="tel"]:focus {
    outline: none;
    box-shadow: 0 0 5px #42f5f5;
}

/* Modal Styles */
.modal, #media-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    overflow: auto;
}

#media-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
    background: #1E1E1E;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: #E0E0E0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #6232a8;
}

#modal-image, #modal-video {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 8px;
}

#details-modal .modal-content {
    max-width: 600px;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(80, 5, 156, 0.2);
    border: 1px solid #2A2A2A;
}

#details-modal h3 {
    font-size: 1.8rem;
    color: #50059c;
    margin-bottom: 1.5rem;
    text-align: center;
}

#modal-details p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #E0E0E0;
    display: flex;
    align-items: flex-start;
}

#modal-details p strong {
    color: #B0B0B0;
    font-weight: 600;
    min-width: 150px;
    text-align: left;
}

#modal-details .message-text {
    white-space: pre-wrap;
    background: #2A2A2A;
    padding: 1rem;
    border-radius: 5px;
    max-height: 300px;
    overflow-y: auto;
    width: 100%;
    color: #E0E0E0;
    font-size: 0.95rem;
    border: 1px solid #3A3A3A;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: #0A0A0A;
    color: #B0B0B0;
    font-size: 0.9rem;
}

.footer .social-links {
    margin-top: 1rem;
}

.footer .social-links a {
    color: #E0E0E0;
    font-size: 1.2rem;
    margin: 0 0.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .social-links a:hover {
    color: #6232a8;
}

/* Error and Success Messages */
.error {
    color: #FF3D00;
    font-weight: 600;
}

.success {
    color: #4CAF50;
    font-weight: 600;
}

/* Booking Page Styles */
.sessions-by-date {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.date-group {
    margin-bottom: 1.5rem;
}

.date-header {
    cursor: pointer;
    background: #1E1E1E;
    padding: 1rem;
    margin: 0.5rem 0;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #E0E0E0;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.date-header:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(80, 5, 156, 0.2);
}

.date-header::after {
    content: '▼';
    position: absolute;
    right: 1rem;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.date-header.active::after {
    transform: rotate(180deg);
}

.time-list {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.time-list.active {
    display: block;
}

.time-list li {
    padding: 0.75rem;
    background: #2A2A2A;
    margin: 0.25rem 0;
    border-radius: 5px;
    cursor: pointer;
    color: #E0E0E0;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
    text-align: center;
}

.time-list li:hover {
    background: #3A3A3A;
    transform: scale(1.02);
}

.booking-form {
    display: none;
    background: #1E1E1E;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.booking-form.active {
    display: block;
}

.booking-form input,
.booking-form textarea,
.booking-form select {
    width: 100%;
    padding: 0.75rem;
    margin: 0.5rem 0;
    border: none;
    border-radius: 5px;
    background: #2A2A2A;
    color: #E0E0E0;
    font-size: 1rem;
}

.booking-form input:focus,
.booking-form textarea:focus,
.booking-form select:focus {
    outline: none;
    box-shadow: 0 0 5px #42f5f5;
}

.booking-form button {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(45deg, #50059c, #6232a8);
    border: none;
    color: #E0E0E0;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.booking-form button:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #6232a8, #50059c);
}

/* Responsive Navigation */
.nav-toggle {
    display: block;
}

@media (max-width: 576px) {
    .nav-logo {
        font-size: 1.5rem;
    }

    .nav ul li a {
        font-size: 1rem;
    }

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

    .features h2, .portfolio h2, .about h2, .admin-dashboard h2, .form-container h2 {
        font-size: 1.8rem;
    }

    .team-grid, .portfolio-grid, .category-grid {
        grid-template-columns: 1fr;
    }

    .team-member img {
        max-height: 200px;
    }

    .form-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-messages-table, .categories-table, .portfolio-items-table, .users-table, .bookings-table, .sessions-table, .visitor-stats-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        margin: 1.5rem auto;
    }

    .contact-messages-table th, .contact-messages-table td,
    .categories-table th, .categories-table td,
    .portfolio-items-table th, .portfolio-items-table td,
    .users-table th, .users-table td,
    .bookings-table th, .bookings-table td,
    .sessions-table th, .sessions-table td,
    .visitor-stats-table th, .visitor-stats-table td {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .contact-messages-table td:nth-child(4),
    .categories-table td:nth-child(4),
    .portfolio-items-table td:nth-child(4),
    .users-table td:nth-child(4),
    .bookings-table td:nth-child(4),
    .bookings-table td:nth-child(7),
    .bookings-table td:nth-child(8),
    .visitor-stats-table td:nth-child(1) {
        max-width: 150px;
    }

    .category-item h3 {
        font-size: 1rem;
    }

    .category-link {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }

    .portfolio-items-table input[type="text"],
    .users-table input[type="text"],
    .users-table input[type="password"],
    .users-table select,
    .bookings-table input[type="text"],
    .bookings-table input[type="email"],
    .bookings-table input[type="tel"],
    .form-container input[type="datetime-local"],
    .sessions-table input[type="datetime-local"],
    .sessions-table select {
        max-width: 180px;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .footer .social-links a {
        font-size: 1rem;
        margin: 0 0.3rem;
    }

    .hero-text img {
        width: 300px;
        height: 300px;
    }

    .h4 {
        font-size: 1.2rem;
        margin: 1rem 0 0.75rem;
    }

    #details-modal .modal-content {
        max-width: 90%;
        padding: 1.5rem;
    }

    #details-modal h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    #modal-details p {
        font-size: 0.9rem;
    }

    #modal-details p strong {
        min-width: 120px;
        font-size: 0.9rem;
    }

    #modal-details .message-text {
        max-height: 200px;
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    .modal-close {
        font-size: 1.5rem;
        top: 0.75rem;
        right: 1rem;
    }

    /* Admin Dashboard Mobile Spacing */
    .admin-dashboard h3 {
        margin: 1.5rem 0 1rem;
    }

    .admin-dashboard p {
        margin-bottom: 1rem;
    }

    .form-container input,
    .form-container select,
    .form-container textarea,
    .form-container button {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }

    .delete-button, .update-button {
        padding: 0.75rem 1rem;
        margin: 0.5rem 0.5rem 0.5rem 0;
        display: inline-block;
    }

    .contact-messages-table th, .contact-messages-table td,
    .categories-table th, .categories-table td,
    .portfolio-items-table th, .portfolio-items-table td,
    .users-table th, .users-table td,
    .bookings-table th, .bookings-table td,
    .sessions-table th, .sessions-table td,
    .visitor-stats-table th, .visitor-stats-table td {
        padding: 0.75rem;
    }

    /* Booking Page Mobile Styles */
    .sessions-by-date {
        max-width: 100%;
        margin: 1.5rem auto;
        padding: 0 1rem;
    }

    .date-group {
        margin-bottom: 2rem;
        background: #1E1E1E;
        border-radius: 10px;
        padding: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .date-header {
        font-size: 1.1rem;
        padding: 1rem;
        margin: 0;
        3A3A3A;
        background: linear-gradient(45deg, #50059c, #6232a8);
        border-radius: 5px;
        color: #E0E0E0;
        font-weight: 600;
        cursor: pointer;
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .date-header:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 10px rgba(80, 5, 156, 0.3);
    }

    .date-header::after {
        content: '▼';
        position: absolute;
        right: 1rem;
        font-size: 0.9rem;
        transition: transform 0.3s ease;
    }

    .date-header.active::after {
        transform: rotate(180deg);
    }

    .time-list {
        margin: 1rem 0;
        padding: 0 0.5rem;
    }

    .time-list li {
        font-size: 0.9rem;
        padding: 0.75rem;
        margin: 0.5rem 0;
        background: #2A2A2A;
        border-radius: 5px;
        cursor: pointer;
        color: #E0E0E0;
        text-align: center;
        transition: background 0.3s ease, transform 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .time-list li:hover {
        background: #3A3A3A;
        transform: scale(1.03);
    }

    .booking-form {
        padding: 1.5rem;
        margin: 1.5rem auto;
        max-width: 100%;
        background: #1E1E1E;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }

    .booking-form input,
    .booking-form select,
    .booking-form textarea {
        padding: 0.75rem;
        margin: 0.75rem 0;
        font-size: 0.9rem;
        background: #2A2A2A;
        border: none;
        border-radius: 5px;
        color: #E0E0E0;
        box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    }

    .booking-form button {
        padding: 0.75rem;
        margin: 0.75rem 0;
        font-size: 1rem;
        background: linear-gradient(45deg, #50059c, #6232a8);
        border-radius: 5px;
        transition: transform 0.3s ease, background 0.3s ease;
    }

    .booking-form button:hover {
        transform: translateY(-3px);
        background: linear-gradient(45deg, #6232a8, #50059c);
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .nav-logo {
        font-size: 1.6rem;
    }

    .hero-text img {
        width: 300px;
        height: 300px;
    }

    .nav ul li a {
        font-size: 1.05rem;
    }

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

    .team-grid, .portfolio-grid, .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .team-member img {
        max-height: 250px;
    }

    .contact-messages-table th, .contact-messages-table td,
    .categories-table th, .categories-table td,
    .portfolio-items-table th, .portfolio-items-table td,
    .users-table th, .users-table td,
    .bookings-table th, .bookings-table td,
    .sessions-table th, .sessions-table td,
    .visitor-stats-table th, .visitor-stats-table td {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    .contact-messages-table td:nth-child(4),
    .categories-table td:nth-child(4),
    .portfolio-items-table td:nth-child(4),
    .users-table td:nth-child(4),
    .bookings-table td:nth-child(4),
    .bookings-table td:nth-child(7),
    .bookings-table td:nth-child(8),
    .visitor-stats-table td:nth-child(1) {
        max-width: 180px;
    }

    .category-item h3 {
        font-size: 1.1rem;
    }

    .category-link {
        font-size: 0.95rem;
    }

    .portfolio-items-table input[type="text"],
    .users-table input[type="text"],
    .users-table input[type="password"],
    .users-table select,
    .bookings-table input[type="text"],
    .bookings-table input[type="email"],
    .bookings-table input[type="tel"],
    .form-container input[type="datetime-local"],
    .sessions-table input[type="datetime-local"],
    .sessions-table select {
        max-width: 180px;
    }

    .footer .social-links a {
        font-size: 1.1rem;
    }

    h4 {
        font-size: 1.3rem;
        margin: 1.25rem 0 0.85rem;
    }

    #details-modal .modal-content {
        max-width: 80%;
        padding: 1.75rem;
    }

    #details-modal h3 {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }

    #modal-details p {
        font-size: 0.95rem;
    }

    #modal-details p strong {
        min-width: 130px;
        font-size: 0.95rem;
    }

    #modal-details .message-text {
        max-height: 250px;
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    .modal-close {
        font-size: 1.75rem;
        top: 0.85rem;
        right: 1.25rem;
    }
}

@media (min-width: 768px) {
    .nav-logo {
        font-size: 1.8rem;
    }

    .hero-text img {
        width: 80%;
        height: 80%;
    }

    .nav ul li a {
        font-size: 1.1rem;
    }

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

    .team-grid, .portfolio-grid, .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .contact-messages-table th, .contact-messages-table td,
    .categories-table th, .categories-table td,
    .portfolio-items-table th, .portfolio-items-table td,
    .users-table th, .users-table td,
    .bookings-table th, .bookings-table td,
    .sessions-table th, .sessions-table td,
    .visitor-stats-table th, .visitor-stats-table td {
        font-size: 1rem;
    }

    h4 {
        font-size: 1.5rem;
        margin: 1.5rem 0 1rem;
    }

    #details-modal .modal-content {
        max-width: 600px;
        padding: 2rem;
    }

    #details-modal h3 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    #modal-details p {
        font-size: 1rem;
    }

    #modal-details p strong {
        min-width: 150px;
        font-size: 1rem;
    }

    #modal-details .message-text {
        max-height: 300px;
        padding: 1rem;
        font-size: 0.95rem;
    }

    .modal-close {
        font-size: 2rem;
        top: 1rem;
        right: 1.5rem;
    }
}

/* Pricing Section for Pricing Page */
.pricing-section {
    padding: 4rem 2rem;
}

.pricing-section h2 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #50059c;
    margin-bottom: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-item {
    background: #1E1E1E;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.pricing-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(80, 5, 156, 0.2);
}

.pricing-item h3 {
    font-size: 1.4rem;
    color: #E0E0E0;
    margin-bottom: 1rem;
}

.pricing-item p {
    font-size: 1rem;
    color: #B0B0B0;
    margin: 0.5rem 0;
}

.pricing-item .price {
    font-size: 1.2rem;
    font-weight: 600;
    color: #42f5f5;
    margin: 1rem 0;
}

.pricing-item .cta-button {
    margin-top: 1rem;
}

/* Pricing Table for Admin Dashboard */
.pricing-table {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    border-collapse: collapse;
    background: #1E1E1E;
    border-radius: 10px;
    overflow: hidden;
}

.pricing-table th,
.pricing-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #2A2A2A;
}

.pricing-table th {
    background: #50059c;
    color: #E0E0E0;
    font-weight: 600;
}

.pricing-table td {
    color: #B0B0B0;
}

.pricing-table tr:hover {
    background: #2A2A2A;
}

.pricing-table input[type="number"],
.pricing-table input[type="text"] {
    width: 100%;
    max-width: 200px;
    padding: 0.5rem;
    background: #2A2A2A;
    color: #E0E0E0;
    border: none;
    border-radius: 5px;
}

.pricing-table input[type="number"]:focus,
.pricing-table input[type="text"]:focus {
    outline: none;
    box-shadow: 0 0 5px #42f5f5;
}

.pricing-table td:nth-child(2) {
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pricing-table td:nth-child(5),
.pricing-table td:nth-child(6) {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Pricing Form for Admin Dashboard */
.pricing-form {
    max-width: 1200px;
    margin: 2rem auto;
    background: #1E1E1E;
    border-radius: 10px;
    padding: 2rem;
}

.pricing-form button {
    width: 100%;
    max-width: 200px;
    margin: 1rem auto;
    padding: 0.75rem;
    background: linear-gradient(45deg, #50059c, #6232a8);
    border: none;
    color: #E0E0E0;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
    display: block;
}

.pricing-form button:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #6232a8, #50059c);
}

/* Responsive Pricing Styles */
@media (max-width: 576px) {
    .pricing-section h2 {
        font-size: 1.8rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-item h3 {
        font-size: 1.2rem;
    }

    .pricing-item p {
        font-size: 0.9rem;
    }

    .pricing-item .price {
        font-size: 1.1rem;
    }

    .pricing-table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        margin: 1.5rem auto;
    }

    .pricing-table th,
    .pricing-table td {
        font-size: 0.9rem;
        padding: 0.75rem;
    }

    .pricing-table input[type="number"],
    .pricing-table input[type="text"] {
        max-width: 180px;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .pricing-table td:nth-child(2),
    .pricing-table td:nth-child(5),
    .pricing-table td:nth-child(6) {
        max-width: 150px;
    }

    .pricing-form {
        padding: 1.5rem;
        margin: 1.5rem auto;
    }

    .pricing-form button {
        max-width: 180px;
        padding: 0.75rem;
        margin: 0.75rem auto;
    }
}

@media (min-width: 576px) and (max-width: 768px) {
    .pricing-section h2 {
        font-size: 2rem;
    }

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

    .pricing-item h3 {
        font-size: 1.3rem;
    }

    .pricing-item p {
        font-size: 0.95rem;
    }

    .pricing-item .price {
        font-size: 1.15rem;
    }

    .pricing-table th,
    .pricing-table td {
        font-size: 0.95rem;
        padding: 0.8rem;
    }

    .pricing-table input[type="number"],
    .pricing-table input[type="text"] {
        max-width: 180px;
    }

    .pricing-table td:nth-child(2),
    .pricing-table td:nth-child(5),
    .pricing-table td:nth-child(6) {
        max-width: 180px;
    }

    .pricing-form button {
        max-width: 180px;
    }
}

@media (min-width: 768px) {
    .pricing-section h2 {
        font-size: 2.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .pricing-item h3 {
        font-size: 1.4rem;
    }

    .pricing-item p {
        font-size: 1rem;
    }

    .pricing-item .price {
        font-size: 1.2rem;
    }

    .pricing-table th,
    .pricing-table td {
        font-size: 1rem;
    }

    .pricing-table input[type="number"],
    .pricing-table input[type="text"] {
        max-width: 200px;
    }
}