/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */

:root {
    --primary-color: #820000;
    --secondary-color: #FF0303;
    --accent-color: #FFB000;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --card-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;
}

body {
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

/* ==========================================================================
   Typography & Common Elements
   ========================================================================== */

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.highlight-text {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Button Styles
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    text-align: center;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    background-color: #6d0000;
    border-color: #6d0000;
}

.outline-btn {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.outline-btn:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-primary,
.btn-secondary {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-shadow);
}

.btn:active {
    transform: translateY(1px);
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.button-container {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

/* ==========================================================================
   About Section
   ========================================================================== */

.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.about-text {
    flex: 1;
}

.about-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.about-description {
    margin-bottom: 30px;
    font-size: 16px;
}

/* ==========================================================================
   Registration Requirements Section
   ========================================================================== */

.requirements-section {
    padding: 80px 0;
}

.requirements-container {
    display: flex;
    gap: 50px;
    align-items: center;
}

.requirements-content {
    flex: 1;
}

.requirements-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}

.requirements-list {
    list-style: none;
    margin-bottom: 30px;
}

.requirements-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
}

.requirements-list li:last-child {
    border-bottom: none;
}

.requirements-list li i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 18px;
}

.requirements-image {
    flex: 1;
}

.requirements-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.additional-info {
    background-color: var(--light-gray);
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.additional-info p {
    margin-bottom: 10px;
}

.additional-info p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Training Details Section
   ========================================================================== */

.training-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-bottom: 60px;
}

.detail-card {
    flex: 1 1 350px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

.detail-header {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: var(--primary-color);
    color: white;
    cursor: pointer;
    position: relative;
}

.detail-icon {
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin-right: 15px;
}

.detail-title {
    font-size: 1.25rem;
    font-weight: 600;
    flex-grow: 1;
}

.toggle-icon {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.detail-header.active .toggle-icon {
    transform: rotate(180deg);
}

.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    opacity: 0;
}

.detail-content.show {
    max-height: 800px;
    opacity: 1;
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in;
}

.detail-content ul {
    list-style: none;
    padding: 25px;
}

.detail-content li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-size: 1rem;
}

.detail-content li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* Card variations */
.detail-card:nth-child(2) .detail-header,
.detail-card:nth-child(3) .detail-header {
    background-color: var(--primary-color);
}

.detail-card:nth-child(2) .detail-content li:before,
.detail-card:nth-child(3) .detail-content li:before {
    background-color: var(--primary-color);
}

/* ==========================================================================
   Schedule Section
   ========================================================================== */

.schedule-section {
    padding: 80px 0;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
}

.schedule-table th,
.schedule-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.schedule-table th {
    background-color: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.schedule-table tr:nth-child(even) {
    background-color: var(--light-gray);
}

.schedule-table tr:hover {
    background-color: #f0f0f0;
}

/* ==========================================================================
   Benefits Section
   ========================================================================== */

.benefits-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.benefits-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    flex: 1;
    min-width: 300px;
    text-align: center;
    box-shadow: var(--card-shadow);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.benefit-description {
    font-size: 15px;
}

/* ==========================================================================
   Registration Section
   ========================================================================== */

.registration-section {
    padding: 100px 0;
    background: linear-gradient(to right, rgba(130, 0, 0, 0.9), rgba(255, 3, 3, 0.8)), url('images/kegiatan/AK3U.png');
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
}

.registration-content {
    max-width: 800px;
    margin: 0 auto;
}

.registration-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.registration-text {
    font-size: 18px;
    margin-bottom: 40px;
}

.registration-card {
    display: flex;
    justify-content: space-evenly;
    gap: 50px;
}

.registration-price {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.price-value {
    font-size: 36px;
    color: var(--accent-color);
}

.registration-note {
    font-size: 16px;
    opacity: 0.8;
    margin-bottom: 30px;
}

.harga-lama {
    text-decoration: line-through;
    color: #888;
    margin-right: 10px;
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */

.testimonials-section {
    padding: 80px 0;
}

.testimonials-container {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonials-container::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    min-width: 350px;
    box-shadow: var(--card-shadow);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    font-size: 14px;
    color: #666;
}

/* ==========================================================================
   Floating Buttons & Fixed Elements
   ========================================================================== */

.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #20ba5a;
}

.floating-button-container {
    position: fixed;
    align-items: center;
    justify-content: center;
    bottom: 30px;
    right: 8%;
    z-index: 1000;
}

.floating-button {
    background-color: yellow;
    color: var(--primary-color);
    font-weight: bold;
    border: none;
    border-radius: 10px;
    width: 250px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    animation: bounce 2s infinite;
}

.floating-button:hover {
    color: yellow;
    font-weight: bold;
    background-color: var(--primary-color);
    transform: scale(1.05);
}

.arrow-down {
    width: 16px;
    height: 16px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* ==========================================================================
   Modal Styles
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    padding-top: 50px;
    transition: var(--transition);
}

.modal-content {
    background-color: #fff;
    margin: auto;
    width: 90%;
    max-width: 450px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    padding: 30px;
    animation: fadeInUp 0.5s ease;
    overflow: hidden;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.divider {
    height: 3px;
    width: 80px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #666666;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* ==========================================================================
   Form Styles
   ========================================================================== */

.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
    font-size: 14px;
    text-align: left;
}

.required::after {
    content: " *";
    color: var(--primary-color);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    transition: var(--transition);
}

input {
    width: 100%;
    padding: 12px 16px 12px 45px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(130, 0, 0, 0.1);
}

input:focus + .input-icon {
    color: var(--primary-color);
}

.btn-submit {
    background: linear-gradient(145deg, var(--primary-color), #6b0000);
    color: var(--white);
    border: none;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(130, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(130, 0, 0, 0.4);
}

.btn-submit:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(130, 0, 0, 0.3);
}

.btn-submit::after {
    content: "";
    position: absolute;
    width: 30px;
    height: 300px;
    background: rgba(255, 255, 255, 0.3);
    top: -100px;
    left: -100px;
    transform: rotate(45deg);
    transition: all 0.7s;
}

.btn-submit:hover::after {
    left: 110%;
}

.btn-submit:disabled {
    background: #cccccc;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

.success-message,
.error-message {
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 500;
    margin-top: 20px;
    display: none;
    animation: fadeInUp 0.5s ease;
}

.success-message {
    background-color: rgba(39, 174, 96, 0.1);
    color: #27ae60;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.error-message {
    background-color: rgba(130, 0, 0, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(130, 0, 0, 0.3);
}

/* ==========================================================================
   Loading Animation
   ========================================================================== */

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: var(--transition);
    flex-direction: column;
}

.loading-overlay.active {
    visibility: visible;
    opacity: 1;
}

.loader-container {
    position: relative;
    width: 140px;
    height: 140px;
}

.orbiting-circles {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotate 3s infinite cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.circle {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px rgba(130, 0, 0, 0.5);
    filter: blur(1px);
}

.circle:nth-child(1) { transform: translate(-50%, -50%) translateZ(50px); opacity: 0.9; }
.circle:nth-child(2) { transform: translate(-50%, -50%) rotateY(45deg) translateZ(50px); opacity: 0.8; background: #9a0000; }
.circle:nth-child(3) { transform: translate(-50%, -50%) rotateY(90deg) translateZ(50px); opacity: 0.7; background: #b20000; }
.circle:nth-child(4) { transform: translate(-50%, -50%) rotateY(135deg) translateZ(50px); opacity: 0.6; background: #ca0000; }
.circle:nth-child(5) { transform: translate(-50%, -50%) rotateY(180deg) translateZ(50px); opacity: 0.5; background: #e20000; }
.circle:nth-child(6) { transform: translate(-50%, -50%) rotateY(225deg) translateZ(50px); opacity: 0.6; background: #ca0000; }
.circle:nth-child(7) { transform: translate(-50%, -50%) rotateY(270deg) translateZ(50px); opacity: 0.7; background: #b20000; }
.circle:nth-child(8) { transform: translate(-50%, -50%) rotateY(315deg) translateZ(50px); opacity: 0.8; background: #9a0000; }

@keyframes rotate {
    0% { transform: rotateY(0deg) rotateX(0deg); }
    25% { transform: rotateY(90deg) rotateX(45deg); }
    50% { transform: rotateY(180deg) rotateX(0deg); }
    75% { transform: rotateY(270deg) rotateX(-45deg); }
    100% { transform: rotateY(360deg) rotateX(0deg); }
}

.wave-container {
    position: absolute;
    width: 140px;
    height: 140px;
}

.wave {
    position: absolute;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0;
    width: 100%;
    height: 100%;
    animation: wave 2s infinite cubic-bezier(0.22, 0.61, 0.36, 1);
}

.wave:nth-child(2) { animation-delay: 0.4s; }
.wave:nth-child(3) { animation-delay: 0.8s; }

@keyframes wave {
    0% { transform: scale(0.5); opacity: 0.8; }
    70% { opacity: 0.2; }
    100% { transform: scale(1.5); opacity: 0; }
}

.loading-text {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 30px;
    font-size: 18px;
    letter-spacing: 1px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.3;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.3; }
    90% { opacity: 0.3; }
    100% { transform: translateY(-1000%) rotate(360deg); opacity: 0; }
}

/* ==========================================================================
   General Container for consistent padding and max-width
   ========================================================================== */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* For Tablets and smaller desktops */
@media (max-width: 992px) {
    .about-section{
        margin-top: 50px;
    }
    .container {
        width: 95%;
    }

    .section-title {
        font-size: 30px;
    }
    .section-subtitle {
        font-size: 17px;
    }

    .about-content,
    .requirements-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .requirements-list li {
        text-align: left;
        padding-left: 10px;
        padding-right: 10px;
    }

    .about-image, .requirements-image {
        max-width: 450px;
        flex: 1 1 auto;
    }
    .requirements-image {
        display: block;
    }

    .benefit-card {
        min-width: calc(50% - 20px);
    }

    .floating-button-container {
        right: 3%;
    }
    .floating-button {
        width: 220px;
        font-size: 15px;
    }
}

/* For Mobile Devices */
@media (max-width: 768px) {
    body {
        line-height: 1.5;
    }

    .about-section,
    .requirements-section,
    .benefits-section,
    .testimonials-section {
        padding: 40px 0;
    }
    .registration-section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 24px;
    }
    .section-subtitle {
        font-size: 0.95rem;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.95rem;
    }

    .benefits-container {
        gap: 20px;
    }
    .benefit-card {
        flex-basis: 100%;
    }

    .registration-title {
        font-size: 24px;
    }
    .registration-text {
        font-size: 0.95rem;
    }
    .registration-card {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }
    .registration-price {
        text-align: center;
    }
    .registration-buttons {
        flex-direction: column;
    }
    .registration-buttons .btn,
    .registration-section .primary-btn {
        width: 100%;
        max-width: 260px;
    }

    .testimonial-card {
        min-width: 280px;
        padding: 20px;
    }
    .testimonial-text, .author-info h4, .author-info p {
        font-size: 0.9rem;
    }

    .floating-button-container {
        bottom: 15px;
    }
    .floating-button {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-width: 200px;
    }
    .whatsapp-btn {
        width: 45px;
        height: 45px;
        font-size: 22px;
        bottom: 15px;
        right: 15px;
    }

    .modal-content {
        padding: 20px;
        max-width: 90%;
    }
   .header2 h3 { 
        font-size: 1.2rem; 
        margin-bottom: 15px;
    }

    .detail-card {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }

    .detail-title {
        font-size: 1.1rem;
    }

    .detail-content li {
        font-size: 0.9rem;
        margin-bottom: 10px;
    }

    .schedule-table {
        font-size: 0.9rem;
    }
    .schedule-table th,
    .schedule-table td {
        padding: 10px 8px;
    }

    .training-details-container {
        gap: 20px;
    }

    .requirements-list li {
        font-size: 0.9rem;
        padding: 12px 0;
    }

    .about-title,
    .requirements-title {
        font-size: 22px;
    }

    .about-description {
        font-size: 0.9rem;
    }

    .additional-info {
        padding: 15px;
        font-size: 0.9rem;
    }

    .loader-container {
        width: 100px;
        height: 100px;
    }

    .loading-text {
        font-size: 16px;
        margin-top: 20px;
    }
}

/* For Very Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    .about-section,
    .requirements-section,
    .benefits-section,
    .testimonials-section {
        padding: 30px 0;
    }

    .registration-section {
        padding: 50px 0;
    }

    .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        min-width: auto;
    }

    .button-container {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .floating-button {
        width: 180px;
        padding: 6px 10px;
        font-size: 0.8rem;
    }

    .modal-content {
        padding: 15px;
        margin: 20px auto;
    }

    .form-group {
        margin-bottom: 15px;
    }

    input {
        padding: 10px 12px 10px 40px;
        font-size: 0.9rem;
    }

    .btn-submit {
        padding: 12px 16px;
        font-size: 0.9rem;
    }

    .testimonial-card {
        min-width: 250px;
        padding: 15px;
    }

    .author-avatar {
        width: 50px;
        height: 50px;
    }

    .detail-header {
        padding: 15px;
    }

    .detail-content ul {
        padding: 15px;
    }

    .benefit-card {
        padding: 20px;
        min-width: 100%;
    }

    .benefit-icon {
        font-size: 32px;
    }

    .benefit-title {
        font-size: 18px;
    }

    .benefit-description {
        font-size: 14px;
    }

    .registration-title {
        font-size: 20px;
    }

    .price-value {
        font-size: 28px;
    }

    .registration-price {
        font-size: 20px;
    }
}

/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .whatsapp-btn,
    .floating-button-container,
    .modal,
    .loading-overlay {
        display: none !important;
    }

    .section-title,
    .about-title,
    .requirements-title {
        color: #000 !important;
    }

    .btn {
        border: 2px solid #000 !important;
        color: #000 !important;
        background: transparent !important;
    }

    .detail-header {
        background: #f0f0f0 !important;
        color: #000 !important;
    }

    .schedule-table th {
        background: #f0f0f0 !important;
        color: #000 !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        width: 100%;
        max-width: none;
    }
}

/* ==========================================================================
   Accessibility Improvements
   ========================================================================== */

/* Focus styles for better keyboard navigation */
.btn:focus,
input:focus,
.detail-header:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Reduced motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bounce,
    .floating-button,
    .orbiting-circles,
    .wave,
    .particle {
        animation: none !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #000000;
        --text-color: #000000;
        --border-color: #000000;
        --card-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }

    .btn {
        border-width: 3px;
    }

    input {
        border-width: 3px;
    }
}


/* ==========================================================================
   Performance Optimizations
   ========================================================================== */

/* Optimize animations for better performance */
.benefit-card,
.detail-card,
.testimonial-card,
.btn {
    will-change: transform;
}

/* Optimize images for faster loading */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

.p-10 { padding: 10px; }
.p-20 { padding: 20px; }
.p-30 { padding: 30px; }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-center { 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: 8px; }
.rounded-lg { border-radius: 12px; }
.rounded-full { border-radius: 50%; }

.shadow { box-shadow: var(--card-shadow); }
.shadow-lg { box-shadow: 0 10px 25px rgba(0,0,0,0.15); }

.transition { transition: var(--transition); }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-accent { color: var(--accent-color); }

.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.bg-light { background-color: var(--light-gray); }
.bg-white { background-color: var(--white); }

/* ==========================================================================
   Custom Scrollbar
   ========================================================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* ==========================================================================
   End of Stylesheet
   ========================================================================== */