




@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/static/Roboto-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/static/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/static/Roboto-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/static/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('/assets/fonts/Roboto/static/Roboto-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
:root {
    
    --primary-color: #FF6B35;
    --primary-light: #FF8C5A;
    --primary-lighter: #FFAD7F;
    --primary-pale: #FFE5D6;
    --secondary-color: #EA580C;
    --secondary-dark: #C2410C;
    --secondary-darker: #9A3412;
    --accent-orange: #FF9966;

    
    --success-color: #10B981;
    --success-light: #34D399;
    --info-color: #3B82F6;
    --info-light: #60A5FA;
    --warning-color: #F59E0B;
    --warning-light: #FBBF24;
    --danger-color: #EF4444;
    --danger-light: #F87171;

    
    --third-color: #3D2A23;
    --fourth-color: #5E626A;
    --fifth-color: #7BAECB;
    --light-color: #fafbfc;
    --dark-color: #1a202c;

    
    --gray-50: #FFFAF8;
    --gray-100: #FFF5F0;
    --gray-200: #FFE6D8;
    --gray-300: #FECDB3;
    --gray-400: #FDBA8F;
    --gray-500: #FB935B;
    --gray-600: #EA580C;
    --gray-700: #C2410C;
    --gray-800: #9A3412;
    --gray-900: #7C2D12;

    
    --sidebar-bg: linear-gradient(180deg, #EA580C 0%, #C2410C 50%, #9A3412 100%);
    --sidebar-bg-overlay: linear-gradient(180deg, rgba(234,88,12,0.95) 0%, rgba(194,65,12,0.95) 50%, rgba(154,52,18,0.95) 100%);

    
    --orange-bg-light: #FFF5F0;
    --orange-bg-lighter: #FFFAF7;
    --orange-bg-subtle: #FFF0E6;
    --orange-bg-soft: #FFEBE0;

    
    --shadow-sm: 0 1px 3px 0 rgba(234, 88, 12, 0.08), 0 1px 2px 0 rgba(234, 88, 12, 0.04);
    --shadow-md: 0 4px 8px -1px rgba(234, 88, 12, 0.12), 0 2px 4px -1px rgba(234, 88, 12, 0.08);
    --shadow-lg: 0 12px 20px -3px rgba(234, 88, 12, 0.15), 0 4px 8px -2px rgba(234, 88, 12, 0.08);
    --shadow-xl: 0 25px 35px -5px rgba(234, 88, 12, 0.18), 0 12px 15px -5px rgba(234, 88, 12, 0.08);
    --shadow-orange: 0 8px 30px rgba(255, 107, 53, 0.25);
    --shadow-orange-lg: 0 15px 40px rgba(255, 107, 53, 0.35);

    
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.3);
    --glass-blur: blur(12px);
}


* {
    box-sizing: border-box;
}


body {
    font-family: 'Roboto', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-100);
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}


.table-container,
.overflow-x-auto {
    overflow-x: auto !important;
    width: 100%;
    max-width: 100vw;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.table-container table,
.overflow-x-auto table {
    width: max-content;
    min-width: 100%;
}


main {
    transition: margin-left 0.3s ease;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}


#sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    z-index: 1050;
    transition: left 0.3s ease-in-out;
    height: 100vh;
    overflow-y: auto;
    width: 16rem;
    background: var(--sidebar-bg);
    color: white;
}


#sidebar.show {
    left: 0;
}


.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1030;
    display: none;
}

.sidebar-backdrop.show {
    display: block;
}

.nav-user-button {
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
    border: 1px solid #d1d5db;
    background-color: white;
    transition: all 0.2s ease;
    min-width: 40px;
    min-height: 40px;
}

.nav-user-button:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
}

.nav-user-menu {
    position: absolute;
    right: 0;
    margin-top: 0.5rem;
    width: 12rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
    z-index: 50;
}

.nav-user-menu.hidden {
    display: none;
}

.nav-user-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background-color 0.2s;
}

.nav-user-menu a:hover {
    background-color: #f9fafb;
}


.relative {
    overflow: visible !important;
}


@media print {
    .sidebar,
    .navbar,
    .btn,
    .modal {
        display: none !important;
    }

    body {
        background: var(--light-color) !important;
        color: black !important;
        font-size: 12pt;
    }

    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }

    .table {
        font-size: 10pt;
        break-inside: avoid;
    }
}


.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-in {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}


.loading {
    opacity: 0.6;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--gray-300);
    border-top: 2px solid var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.approval-statistics {
    margin-bottom: 1.5rem;
}

.approval-statistics .grid {
    display: grid;
    gap: 1rem;
}

.approval-statistics .grid.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.approval-statistics .grid.md\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .approval-statistics .grid.md\:grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }
}


.approval-statistics .stat-card {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.approval-statistics .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.approval-statistics .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.approval-statistics .stat-card.pending::before {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.approval-statistics .stat-card.approved::before {
    background: linear-gradient(135deg, #10b981, #059669);
}

.approval-statistics .stat-card.rejected::before {
    background: linear-gradient(135deg, #FF8C42, #FF6B35);
}


.approval-table-container {
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.approval-table-container table {
    min-width: 100%;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .approval-table-container table {
        white-space: normal;
    }
}


#sidebar {
    background: var(--sidebar-bg) !important;
}


#approvalModal {
    transition: all 0.3s ease;
}

#excelLockOverlay {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}


.dashboard-report-toggle {
    margin-right: 1rem;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 180px;
    height: 40px;
}

.toggle-checkbox {
    display: none;
}

.toggle-label {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 2px solid #e0e0e0;
}

.toggle-label:hover {
    background-color: #e8e8e8;
}

.toggle-label.toggle-checked {
    background-color: #FF6B35;
    border-color: #E65100;
}

.toggle-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    display: flex;
    transition: transform 0.3s ease;
}

.toggle-text {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-dashboard {
    background-color: transparent;
}

.toggle-report {
    background-color: transparent;
}

.toggle-label.toggle-checked .toggle-dashboard {
    color: rgba(255, 255, 255, 0.7);
}

.toggle-label.toggle-checked .toggle-report {
    color: white;
}

.toggle-label:not(.toggle-checked) .toggle-dashboard {
    color: #FF6B35;
}

.toggle-label:not(.toggle-checked) .toggle-report {
    color: rgba(102, 102, 102, 0.7);
}

.toggle-switch-handle {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 36px;
    height: 36px;
    background-color: white;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    z-index: 2;
}

.toggle-text i {
    margin-right: 5px;
    font-size: 0.9rem;
}


@media (max-width: 767.98px) {
    .dashboard-report-toggle {
        margin-right: 0.5rem;
    }

    .toggle-switch {
        width: 150px;
        height: 36px;
    }

    .toggle-switch-handle {
        width: 32px;
        height: 32px;
    }

    .toggle-text {
        font-size: 0.8rem;
    }

    .toggle-text i {
        font-size: 0.8rem;
        margin-right: 3px;
    }
}

@media (max-width: 575.98px) {
    .dashboard-report-toggle {
        order: -1;
        margin-right: 0;
        margin-bottom: 0.5rem;
        width: 100%;
    }

    .toggle-switch {
        width: 100%;
        max-width: 180px;
        margin: 0 auto;
    }

    .navbar .flex.items-center.space-x-4 {
        flex-wrap: wrap;
        justify-content: space-between;
    }
}


#userMenu {
    z-index: 9999 !important;
    position: absolute !important;
}


.approval-statistics {
    position: relative;
    z-index: 1;
}




::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
}


.tech-grid {
    background-image:
        linear-gradient(rgba(255, 107, 53, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 53, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}


.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 24px rgba(234, 88, 12, 0.05);
}


.service-card {
    position: relative;
    background: white;
    border: 1px solid rgba(234, 88, 12, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(234, 88, 12, 0.12);
    border-color: rgba(255, 107, 74, 0.2);
}


@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-24px) rotate(2deg); }
}
.animate-float {
    animation: float 8s ease-in-out infinite;
}
.animate-float-delayed {
    animation: float 8s ease-in-out 4s infinite;
}


@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 1; }
    100% { transform: scale(2); opacity: 0; }
}
.pulse-ring::before {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    animation: pulse-ring 2s ease-out infinite;
}


.navbar-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(234, 88, 12, 0.06);
}


.btn-primary-modern {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}
.btn-primary-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}
.btn-primary-modern:hover::before {
    left: 100%;
}


.img-zoom {
    overflow: hidden;
}
.img-zoom img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.img-zoom:hover img {
    transform: scale(1.08);
}


.cert-badge {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(255, 153, 102, 0.1));
    border: 1px solid rgba(255, 107, 74, 0.2);
}


.footer-gradient {
    background: linear-gradient(135deg, #1A2942 0%, #2D3B56 50%, #1A2942 100%);
}


.measurement-scale {
    position: relative;
}
.measurement-scale::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 30px;
    background: repeating-linear-gradient(
        to bottom,
        var(--primary-color) 0px,
        var(--primary-color) 1px,
        transparent 1px,
        transparent 8px
    );
    opacity: 0.3;
}


.hero-gradient {
    background:
        radial-gradient(ellipse at 20% 30%, rgba(255, 107, 74, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(255, 153, 102, 0.1) 0%, transparent 50%),
        linear-gradient(135deg, #1A2942 0%, #2D3B56 100%);
}


@keyframes reveal-text {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 0;
    }
    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}
.reveal-text {
    animation: reveal-text 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}


.stagger-children > * {
    opacity: 0;
    animation: reveal-text 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }




.navbar-section {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(234, 88, 12, 0.06);
    transition: all 0.5s ease;
}

.navbar-section.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.15);
}

.navbar-section .nav-link {
    color: #1A2942;
    transition: all 0.3s ease;
}

.navbar-section .nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 74, 0.05);
}

.navbar-section .logo-container:hover .logo-glow {
    opacity: 0.2;
}


.hero-section {
    background: var(--hero-gradient);
    position: relative;
    overflow: hidden;
}

.hero-section .hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section .hero-button-primary {
    background: white;
    color: #1A2942;
    transition: all 0.3s ease;
}

.hero-section .hero-button-primary:hover {
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-section .hero-button-secondary {
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.hero-section .hero-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-section .certificate-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-section .certificate-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    transition: all 0.3s ease;
}

.hero-section .certificate-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 74, 0.2);
    outline: none;
}

.hero-section .certificate-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.hero-section .certificate-submit {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: all 0.3s ease;
}

.hero-section .certificate-submit:hover {
    box-shadow: 0 10px 30px rgba(255, 107, 74, 0.3);
    transform: translateY(-2px);
}


.youtube-gallery-section {
    background: white;
    position: relative;
}

.youtube-gallery-section .section-badge {
    background: rgba(255, 107, 74, 0.05);
    color: var(--primary-color);
}


.activities-section {
    background: var(--orange-bg-lighter);
}

.activities-section .gallery-card {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.activities-section .gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.activities-section .gallery-overlay {
    background: linear-gradient(to top, rgba(26, 41, 66, 0.9), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.activities-section .gallery-card:hover .gallery-overlay {
    opacity: 1;
}


.services-section {
    background: white;
}

.services-section .service-icon {
    transition: transform 0.3s ease;
}

.services-section .service-card:hover .service-icon {
    transform: scale(1.1);
}

.services-section .service-check {
    color: var(--primary-color);
}


.expertise-section {
    background: var(--orange-bg-lighter);
}

.expertise-section .expertise-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 24px rgba(234, 88, 12, 0.08);
}

.expertise-section .expertise-icon {
    transition: all 0.3s ease;
}

.expertise-section .expertise-card:hover .expertise-icon {
    transform: scale(1.1);
}

.expertise-section .certification-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.expertise-section .cert-icon {
    transition: transform 0.3s ease;
}

.expertise-section .cert-icon:hover {
    transform: scale(1.1);
}


.contact-section {
    background: white;
}

.contact-section .contact-card {
    border: 1px solid rgba(234, 88, 12, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section .contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-section .contact-card:hover::before {
    transform: scaleX(1);
}

.contact-section .contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.12);
    border-color: rgba(255, 107, 74, 0.2);
}

.contact-section .contact-icon {
    transition: all 0.3s ease;
}

.contact-section .contact-card:hover .contact-icon {
    transform: scale(1.1);
}

.contact-section .social-button {
    transition: all 0.3s ease;
}

.contact-section .social-button:hover {
    transform: scale(1.1);
}


.footer-section {
    background: linear-gradient(135deg, #1A2942 0%, #2D3B56 50%, #1A2942 100%);
    color: white;
}

.footer-section .footer-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-section .footer-link:hover {
    color: white;
}

.footer-section .footer-social {
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-section .footer-social:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-section .footer-cert {
    background: linear-gradient(135deg, rgba(255, 107, 74, 0.1), rgba(255, 153, 102, 0.1));
    border: 1px solid rgba(255, 107, 74, 0.2);
}


.scroll-to-top {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 8px 24px rgba(234, 88, 12, 0.3);
    transition: all 0.3s ease;
}

.scroll-to-top:hover {
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.4);
    transform: scale(1.1);
}


@media (max-width: 767.98px) {
    .hero-section .hero-title {
        font-size: 2.5rem;
    }

    .services-section .service-card {
        padding: 1.5rem;
    }

    .contact-section .contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section .hero-title {
        font-size: 2rem;
    }

    .hero-section .hero-buttons {
        flex-direction: column;
    }

    .activities-section .gallery-grid {
        grid-template-columns: 1fr;
    }
}




.modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-sm);
}

.modern-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.modern-btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.modern-btn-primary {
    background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
    color: white;
    box-shadow: var(--shadow-orange);
}

.modern-btn-primary:hover {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    box-shadow: var(--shadow-orange-lg);
}


.agreement-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--gray-200);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.agreement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #FF6B35 0%, #FF9966 50%, #FF6B35 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agreement-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--gray-300);
}

.agreement-card:hover::before {
    opacity: 1;
}

.agreement-card.expired {
    opacity: 0.7;
    background: var(--gray-50);
}

.agreement-card.expired::before {
    background: linear-gradient(90deg, #9CA3AF 0%, #6B7280 100%);
    opacity: 1;
}


.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    box-shadow: var(--shadow-sm);
}


.empty-state {
    background: var(--gray-50);
    border-radius: 1rem;
    border: 2px dashed var(--gray-300);
}


#floating-menu-toggle {
    background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
    box-shadow: var(--shadow-orange-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: pulse-subtle 2s infinite;
}

#floating-menu-toggle:hover {
    background: linear-gradient(135deg, #EA580C 0%, #C2410C 100%);
    box-shadow: 0 15px 45px rgba(255, 107, 53, 0.45);
    transform: scale(1.08);
}

#floating-menu-toggle:active {
    transform: scale(0.95);
}

@keyframes pulse-subtle {
    0%, 100% {
        box-shadow: 0 8px 24px rgba(234, 88, 12, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(234, 88, 12, 0.55);
    }
}


#sidebar {
    background: var(--sidebar-bg) !important;
    box-shadow: 4px 0 30px rgba(234, 88, 12, 0.25) !important;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

#sidebar::-webkit-scrollbar {
    width: 6px;
}

#sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

#sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

#sidebar.show {
    box-shadow: 4px 0 40px rgba(234, 88, 12, 0.35) !important;
}


#sidebar a {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#sidebar a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #FFB366 0%, #EA580C 50%, #C2410C 100%);
    transform: scaleY(0);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 4px 4px 0;
}

#sidebar a:hover::before {
    transform: scaleY(1);
}


.sidebar-backdrop {
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


nav.sk-navbar,
.navbar-orange {
    background: linear-gradient(90deg, #EA580C 0%, #C2410C 50%, #9A3412 100%) !important;
    box-shadow: 0 4px 20px rgba(234, 88, 12, 0.25) !important;
}

nav.sk-navbar a,
.navbar-orange a {
    position: relative;
    transition: all 0.3s ease;
}

nav.sk-navbar a,
.navbar-orange a {
    position: relative;
    transition: all 0.3s ease;
}

nav.sk-navbar a:hover,
.navbar-orange a:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: #FFFFFF !important;
}


nav.sk-navbar a[href*="logout"]:hover,
.navbar-orange a[href*="logout"]:hover,
.navbar-action-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
}

.navbar-action-btn {
    display: flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    color: #FFEDD5;
    transition: all 0.2s ease;
}

nav.sk-navbar a.active-link,
.navbar-orange a.active-link {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #FFFFFF !important;
    font-weight: 700;
}

nav.sk-navbar a::after,
.navbar-orange a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #FFB366 0%, #FFD699 50%, #FFB366 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
    border-radius: 2px 2px 0 0;
}

nav.sk-navbar a:hover::after,
nav.sk-navbar a.active-link::after,
.navbar-orange a:hover::after,
.navbar-orange a.active-link::after {
    width: 90%;
}


.table-orange {
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.table-orange thead {
    background: linear-gradient(135deg, #FF6B35 0%, #EA580C 100%);
    color: white;
}

.table-orange thead th {
    padding: 1rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.table-orange tbody tr {
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--gray-200);
}

.table-orange tbody tr:hover {
    background: linear-gradient(90deg, var(--orange-bg-light) 0%, var(--orange-bg-subtle) 100%);
}

.table-orange tbody td {
    padding: 1rem 1.5rem;
}


input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15), 0 4px 12px rgba(255, 107, 53, 0.1) !important;
    outline: none;
}

input[type="file"] {
    border-color: var(--gray-300);
}

input[type="file"]:focus {
    border-color: var(--primary-color);
}


.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 107, 53, 0.15);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin-modern 0.8s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes spin-modern {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


.glass-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
}


@media (max-width: 767.98px) {
    .modern-btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    #floating-menu-toggle {
        width: 56px;
        height: 56px;
    }

    #floating-menu-toggle i {
        font-size: 1.25rem;
    }

    .agreement-card {
        border-radius: 0.875rem;
    }

    .table-orange thead th,
    .table-orange tbody td {
        padding: 0.75rem 1rem;
    }
}


@media (min-width: 768px) and (max-width: 1023.98px) {
    #floating-menu-toggle {
        width: 60px;
        height: 60px;
    }
}


@media (hover: none) and (pointer: coarse) {
    .modern-btn,
    #sidebar a,
    nav.sk-navbar a {
        min-height: 44px;
        min-width: 44px;
    }
}
