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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

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

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Header */
.header {
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 20px;
}

.nav-menu {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.25rem 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-left: auto;
}

.logo {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    padding-top: 0.5rem;
    display: inline-block;
    transition: all 0.3s ease;
}

.logo:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-img {
    height: 30px;
    width: auto;
    transition: all 0.3s ease;
}

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

.nav-menu:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #b31f23;
    background: rgba(179, 31, 35, 0.1);
    transform: translateY(-1px);
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 0;
    height: 100%;
    background: rgba(179, 31, 35, 0.1);
    border-radius: 25px;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::before {
    width: 100%;
}

.nav-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 1rem;
    border-radius: 1px;
}

.quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: linear-gradient(170deg, #830101 0%, #7e0000 38%, #000 100%);
    padding: 1rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    box-shadow: 0 4px 12px rgba(131, 1, 1, 0.3);
    height: 10px;
    margin: auto;
}

.quick-link:hover {
    background: linear-gradient(170deg, #a01010 0%, #9e0000 38%, #1a0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(131, 1, 1, 0.4);
}

.quick-link i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #b31f23;
    transition: all 0.3s ease;
}

.quick-link:hover i {
    transform: scale(1.1);
}

.quick-link span {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.hamburger:hover {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background-color: #333;
    margin: 2px 0;
    transition: 0.3s;
    border-radius: 1px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

/* Video Section */
.video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

.volume-btn {
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.volume-btn:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: white;
    transform: scale(1.1);
}

.volume-btn i {
    transition: all 0.3s ease;
}

/* Tracking System Section */
.tracking-system {
    padding: 5rem 0;
    background-color: #fef1ed;
    position: relative;
}

.tracking-content {
    text-align: center;
    margin: 0 auto;
}

.tracking-title {
    color: #b31f23;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.tracking-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.tracking-subtitle {
    color: #666;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tracking-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

.tracking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 160px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    color: white;
    border: 2px solid #b31f23;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #d32f2f, #b31f23);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 31, 35, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #b31f23;
    border: 2px solid #b31f23;
}

.btn-secondary:hover {
    background: #b31f23;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 31, 35, 0.3);
}

/* Statistics Section */
.statistics {
    padding: 4rem 0;
    background-color: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fef1ed 0%, #fff8f5 100%);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 3rem;
    color: #b31f23;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #b31f23;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background-color: #fef1ed;
}

.hero-content {
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title {
    color: #b31f23;
    margin-bottom: 1.5rem;
    font-size: 3.5rem;
}

.hero-text {
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Vision Grid */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.vision-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.vision-icon {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-icon img {
    width: 60px;
    height: 60px;
    display: block;
}

/* Partners Section */
.partners {
    padding: 2rem 0;
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.partners-grid img {
    height: 60px;
    width: auto;
    opacity: 0.7;
}

/* Why Choose Us Section */
.why-us {
    padding: 4rem 0;
    background-color: #fff;
}

.section-title {
    text-align: center;
    color: #b31f23;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.section-subtitle {
    text-align: center;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* Combined Statistics and Features Section */
.combined-stats-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #fef1ed 0%, #fff8f5 100%);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 3rem;
    color: #b31f23;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #b31f23;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: #666;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 50px;
    color: #b31f23;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #b31f23;
    margin-bottom: 0.5rem;
}

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

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 2rem;
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon img {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 50px;
    color: #b31f23;
    flex-shrink: 0;
}

.feature-content h4 {
    color: #b31f23;
    margin-bottom: 0.5rem;
}

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

/* Activities Section */
.activities {
    padding: 4rem 0;
    background-color: #fef1ed;
    position: relative;
}

.activities::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 31, 35, 0.3), transparent);
}

.activities-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.activities-header h2 {
    color: #b31f23;
}

/* View Controls */
.view-controls {
    display: flex;
    gap: 0.25rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(179, 31, 35, 0.15);
    border-radius: 30px;
    padding: 0.375rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.view-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 28px;
    z-index: 1;
}

.view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    background: transparent;
    color: #666;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    z-index: 2;
    min-width: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.view-btn:hover {
    background: rgba(179, 31, 35, 0.08);
    color: #b31f23;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(179, 31, 35, 0.15);
}

.view-btn.active {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(179, 31, 35, 0.4);
    transform: translateY(-2px);
}

.view-btn.active::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%);
    border-radius: 27px;
    z-index: -1;
    opacity: 0.3;
}

.view-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.view-btn:hover i {
    transform: scale(1.1);
}

.view-btn.active i {
    transform: scale(1.05);
}

/* Button labels for clarity */
.view-btn[data-view="list"]::before {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.view-btn[data-view="grid"]::before {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.view-btn[data-view="calendar"]::before {
    margin-right: 0.25rem;
    font-size: 0.9rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-input {
    border: none;
    outline: none;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    flex: 1;
    max-width: 300px;
}

.search-input:focus {
    box-shadow: 0 2px 15px rgba(179, 31, 35, 0.2);
}

.search-btn {
    background-color: #b31f23;
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-btn:hover {
    background-color: #a0171e;
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(179, 31, 35, 0.3);
}

/* Table Styles */
.table-container {
    overflow-x: auto;
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

/* Grid Container */
.grid-container {
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 300px;
}

/* Calendar Container */
.calendar-container {
    margin-bottom: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    min-height: 300px;
}

.calendar-container #calendar {
    max-width: 100%;
    margin: 0 auto;
}

/* FullCalendar Custom Styles */
.fc {
    font-family: 'Inter', sans-serif;
}

.fc-header-toolbar {
    flex-wrap: wrap;
    margin-bottom: 1.5rem !important;
    padding: 0 1rem;
    gap: 1rem !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.fc-toolbar-chunk {
    margin: 0.5rem 0;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.fc-button-group {
    display: flex !important;
    gap: 0.25rem !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.fc-button {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%) !important;
    border: 2px solid #b31f23 !important;
    color: white !important;
    border-radius: 0 !important;
    padding: 0.75rem 1.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    transition: none !important;
    box-shadow: 0 2px 8px rgba(179, 31, 35, 0.3) !important;
    cursor: pointer !important;
    outline: none !important;
    position: relative !important;
    overflow: hidden !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    min-width: 120px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
}

.fc-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.fc-button:hover::before {
    display: none !important;
}

.fc-button:hover {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%) !important;
    border-color: #b31f23 !important;
    transform: none !important;
    box-shadow: 0 2px 8px rgba(179, 31, 35, 0.3) !important;
}

.fc-button:not(:disabled):active,
.fc-button-active {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%) !important;
    border-color: #b31f23 !important;
    box-shadow: 0 2px 8px rgba(179, 31, 35, 0.3) !important;
    transform: none !important;
}

.fc-button:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
    background: #f5f5f5 !important;
    border-color: #ddd !important;
    color: #999 !important;
}

.fc-today-button {
    background: linear-gradient(135deg, #2d92ff 0%, #1a73e8 100%) !important;
    border-color: #2d92ff !important;
    color: white !important;
}

.fc-today-button:hover {
    background: linear-gradient(135deg, #1a73e8 0%, #1557b0 100%) !important;
    border-color: #1a73e8 !important;
}

.fc-today-button:disabled {
    background: #e3f2fd !important;
    border-color: #bbdefb !important;
    color: #90caf9 !important;
    opacity: 0.7 !important;
}

.fc-button-group .fc-button:first-child {
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
}

.fc-button-group .fc-button:last-child {
    border-top-right-radius: 25px !important;
    border-bottom-right-radius: 25px !important;
}

.fc-today-button {
    border-radius: 25px !important;
    margin-left: 0.5rem !important;
}

.fc-daygrid-day {
    transition: all 0.2s ease;
}

.fc-daygrid-day:hover {
    background-color: rgba(179, 31, 35, 0.05) !important;
}

.fc-day-today {
    background-color: rgba(21, 101, 192, 0.25) !important;
}

.fc-event {
    border-radius: 6px !important;
    border: none !important;
    padding: 2px 6px !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.fc-event:hover {
    transform: scale(1.02);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}




.fc-col-header {
    background-color: #f8f9fa;
    border-bottom: 2px solid #e9ecef;
}

.fc-col-header-cell {
    font-weight: 600 !important;
    color: #495057 !important;
    padding: 1rem 0.5rem !important;
}

.fc-daygrid-day-number {
    font-weight: 500 !important;
    color: #495057 !important;
    padding: 0.5rem !important;
}

.fc-daygrid-day-top {
    justify-content: center;
}

.fc-view-harness {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.fc-scrollgrid {
    border-radius: 8px;
}

/* Responsive Calendar */
@media (max-width: 768px) {
    .calendar-container {
        padding: 1rem;
    }

    .fc-header-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        margin: 0.25rem 0;
    }

    .fc-button {
        font-size: 0.8rem !important;
        padding: 0.4rem 0.8rem !important;
    }

    .fc-event {
        font-size: 0.7rem !important;
        padding: 1px 4px !important;
    }
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.activity-card {
    background: linear-gradient(135deg, #fef1ed 0%, #fff8f5 100%);
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(179, 31, 35, 0.1);
    cursor: pointer;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(179, 31, 35, 0.2);
}

.activity-card-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.activity-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.activity-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.activity-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.activity-code {
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.activity-code:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(179, 31, 35, 0.3);
}

.activity-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b31f23;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.activity-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.activity-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.activity-meta-item i {
    color: #b31f23;
    width: 14px;
    text-align: center;
}

.activity-status {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.activity-status.umum {
    background-color: #2d92ff;
    color: #fff;
}

.activity-status.khusus {
    background-color: #FF9800;
    color: white;
}

.activity-status.pendaftaran {
    background-color: #00c782;
    color: #ffffff;
}

.activity-status.berlangsung {
    background-color: #7bb0ff;
    color: #ffffff;
}

.activity-status.selesai {
    background-color: #f1f6fd;
    color: #868fa0;
}

/* Loading and Empty States */
.table-container .loading-state,
.table-container .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    flex: 1;
}

.table-container .loading-state i,
.table-container .empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.table-container .loading-state p,
.table-container .empty-state p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.table-container .loading-state p:last-child,
.table-container .empty-state p:last-child {
    font-size: 0.9rem;
    color: #888;
}

.table-container {
    position: relative;
    scrollbar-width: thin;
}

.activities-table {
    width: 100%;
    min-width: 800px;
    border-collapse: separate;
    border-spacing: 0;
}

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

.activities-table th {
    background-color: #b31f23;
    color: white;
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 100 !important;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.umum {
    background-color: #2d92ff;
    color: #fff;
}

.status.khusus {
    background-color: #FF9800;
    color: white;
}

.status.pendaftaran {
    background-color: #00c782;
    color: #ffffff;
}

.status.berlangsung {
    background-color: #7bb0ff;
    color: #ffffff;
}

.status.selesai {
    background-color: #f1f6fd;
    color: #868fa0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem 0;
}

.pagination-info {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-btn {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-radius: 50px;
    color: #495057;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
}

.page-btn:hover {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%);
    border-color: #b31f23;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(179, 31, 35, 0.3);
}

.page-btn:active {
    transform: translateY(0);
}

.page-current {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%);
    color: white;
    border-color: #b31f23;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(179, 31, 35, 0.3);
}

/* FAQ Section */
.faq {
    padding: 4rem 0;
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.faq-header {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.faq-header:hover {
    background-color: #f9f9f9;
}

.faq-number {
    background-color: #b31f23;
    color: white;
    padding: 0.4rem;
    border-radius: 50%;
    margin-right: 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 32px;
    text-align: center;
}

.faq-header h4 {
    flex: 1;
    margin: 0;
    font-size: 0.85rem;
}

.faq-toggle {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #666;
}

.faq-content {
    padding: 1rem 1.5rem 1.5rem;
    display: none;
}

.faq-content p {
    font-size: 0.8rem;
    line-height: 1.4;
}

/* News Section */
.news {
    padding: 5rem 0;
    background: linear-gradient(135deg, #fef1ed 0%, #fff8f5 100%);
    position: relative;
}

.news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 31, 35, 0.3), transparent);
}

.news::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 31, 35, 0.3), transparent);
}

.news-header {
    text-align: center;
    margin-bottom: 4rem;
}

.news-title {
    color: #b31f23;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.news-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.news-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.news-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 12 / 3;
}

.news-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.news-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.news-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.news-content-overlay {
    color: white;
    width: 100%;
}

.news-content-overlay .news-category {
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(179, 31, 35, 0.3);
}

.news-content-overlay h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: white;
}

.news-content-overlay h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: white;
}

.news-content-overlay h5 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    color: white;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.5rem;
}

/* Smaller text for bottom row cards */
.news-bento-grid>.news-card:nth-child(n+4) .news-category {
    font-size: 0.5rem;
}

.news-bento-grid>.news-card:nth-child(n+4) .news-content-overlay h5 {
    font-size: 0.65rem;
}

.news-bento-grid>.news-card:nth-child(n+4) .news-meta {
    font-size: 0.65rem;
}

.news-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.news-time::before {
    content: '\f017';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.8rem;
}

/* Bento Box Layout */
.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 300px;
}

.bento-medium {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 200px;
}

.bento-small {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 150px;
}

/* Specific positioning for bento layout */
.news-bento-grid>.news-card:nth-child(1) {
    /* Large card - left side */
    grid-column: 1 / 7;
    grid-row: 1 / 3;
}

.news-bento-grid>.news-card:nth-child(2) {
    /* Top right - card 1 */
    grid-column: 7 / 10;
    grid-row: 1 / 2;
}

.news-bento-grid>.news-card:nth-child(3) {
    /* Top right - card 2 */
    grid-column: 10 / 13;
    grid-row: 1 / 2;
}

.news-bento-grid>.news-card:nth-child(4) {
    /* Bottom right - card 1 */
    grid-column: 7 / 9;
    grid-row: 2 / 3;
}

.news-bento-grid>.news-card:nth-child(5) {
    /* Bottom right - card 2 */
    grid-column: 9 / 11;
    grid-row: 2 / 3;
}

.news-bento-grid>.news-card:nth-child(6) {
    /* Bottom right - card 3 */
    grid-column: 11 / 13;
    grid-row: 2 / 3;
}

.news-footer {
    text-align: center;
    margin-top: 3rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #b31f23;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    border: 2px solid #b31f23;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: transparent;
}

.news-link:hover {
    background: #b31f23;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 31, 35, 0.3);
}

.news-link i {
    transition: transform 0.3s ease;
}

.news-link:hover i {
    transform: translateX(3px);
}

/* Clients Section */
.clients {
    padding: 2rem 0;
    background-color: #fff;
    position: relative;
}

/* Feedback Section */
.feedback {
    background: linear-gradient(135deg, #fef1ed 0%, #fff8f5 100%);
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
}

.feedback::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(179, 31, 35, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(179, 31, 35, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.feedback-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    gap: 4rem;
    min-height: 500px;
    align-items: center;
}

.feedback-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    height: 100%;
    position: relative;
}

.feedback-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(179, 31, 35, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
}

.contact-image {
    width: 100%;
    height: auto;
    max-width: 400px;
    max-height: 400px;
    object-fit: contain;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 30px rgba(179, 31, 35, 0.15));
}

.feedback-form-container {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.feedback-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: none;
    border-radius: 20px;
    z-index: -1;
}

.feedback-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.feedback-title {
    color: #b31f23;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.feedback-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.feedback-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    line-height: 1.6;
    max-width: 400px;
    font-weight: 400;
}

.feedback-form {
    position: relative;
    z-index: 2;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0;
    position: relative;
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #b31f23;
    box-shadow: 0 0 0 3px rgba(179, 31, 35, 0.1), 0 4px 12px rgba(179, 31, 35, 0.15);
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.5;
}

.phone-input-group {
    display: flex;
    align-items: center;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.phone-input-group:focus-within {
    border-color: #b31f23;
    box-shadow: 0 0 0 3px rgba(179, 31, 35, 0.1), 0 4px 12px rgba(179, 31, 35, 0.15);
    background: rgba(0, 0, 0, 0.6);
    transform: translateY(-1px);
}

.phone-prefix {
    padding: 0 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    align-self: stretch;
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    pointer-events: none;
}

.phone-input-group input {
    border: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    padding: 1rem 1.25rem !important;
    flex: 1;
    color: white !important;
    font-size: 0.95rem;
    box-shadow: none !important;
}

.phone-input-group input:focus {
    transform: none !important;
}

.submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(179, 31, 35, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #b31f23 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 31, 35, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.submit-btn:hover i {
    transform: translateX(3px);
}

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

.clients-header {
    text-align: center;
    margin-bottom: 2rem;
}

.clients-title {
    color: #b31f23;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.clients-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.clients-subtitle {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.clients-scroll-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.clients-scroll {
    display: flex;
    gap: 2rem;
    animation: scroll 30s linear infinite;
    width: calc(200px * 16);
    /* 16 total images for seamless loop */
}

.clients-scroll:hover {
    animation-play-state: paused;
}

.client-item {
    flex: 0 0 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem;
    transition: all 0.3s ease;
}

.client-item:hover {
    transform: scale(1.05);
}

.client-logo {
    width: 100%;
    height: auto;
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(30%) opacity(0.7);
    transition: all 0.3s ease;
}

.client-item:hover .client-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.client-name {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #b31f23;
    text-align: center;
    line-height: 1.2;
    max-width: 140px;
    word-wrap: break-word;
    hyphens: auto;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-180px * 8));
    }
}

/* Responsive adjustments for clients */
@media (max-width: 768px) {
    .clients {
        padding: 3rem 0;
    }

    .clients-title {
        font-size: 2rem;
    }

    .clients-subtitle {
        font-size: 1rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 2rem;
    }

    .client-item {
        padding: 1.5rem 1rem;
        min-height: 100px;
    }

    .client-logo {
        max-width: 120px;
        max-height: 60px;
    }
}

@media (max-width: 480px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .client-item {
        padding: 1rem;
        min-height: 80px;
    }

    .client-logo {
        max-width: 100px;
        max-height: 50px;
    }
}

/* Footer */
.footer {
    background: linear-gradient(170deg, #830101 0%, #7e0000 38%, #000 100%);
    color: white;
    padding: 5rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #b31f23, #d32f2f, #b31f23);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-about {
    grid-column: 1;
}

.footer-links {
    grid-column: 2;
}

.footer-quick-access {
    grid-column: 3;
}

.footer-contact {
    grid-column: 4;
}

.footer-social-row {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

.footer-social-section {
    display: flex;
    flex-direction: column;
}

.footer-social-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-social-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.footer-section {
    padding: 0 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.footer-about {
    padding-left: 0;
}

.footer-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.footer-logo {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 1rem 2rem;
    display: inline-block;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.footer-logo:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

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

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    font-size: 0.8rem;
    margin-bottom: 1.5rem;
    max-width: 300px;
}



.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.social-link i,
.social-link .x-icon {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    transition: color 0.3s ease;
    font-weight: 600;
}

.social-link:hover i,
.social-link:hover .x-icon {
    color: #fff;
}

.x-icon {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

/* Footer Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.75rem;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-nav a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Quick Access Navigation */
.quick-access-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-access-nav li {
    margin-bottom: 1rem;
}

.quick-access-nav a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.quick-access-nav a:hover {
    color: #fff;
    transform: translateX(5px);
}

.quick-access-nav a i {
    color: #b31f23;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.quick-access-nav a:hover i {
    color: #fff;
    transform: scale(1.1);
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-icon {
    font-size: 1rem;
    color: #b31f23;
    margin-top: 0.1rem;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}

.contact-label {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.contact-item p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
    line-height: 1.3;
    margin: 0;
}



/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Download App Section */
.download-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.app-links {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.app-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 10px;
    overflow: hidden;
}

.app-link:hover {
    transform: translateY(-2px);
}

.app-image {
    width: 140px;
    height: 42px;
    object-fit: contain;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.app-link:hover .app-image {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .partners-grid {
        gap: 1rem;
    }

    .partners-grid img {
        height: 40px;
    }

    .why-us {
        padding: 2rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        flex-direction: column;
        text-align: center;
    }

    .activities-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .activities-header h2 {
        margin-bottom: 1rem;
    }

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

    .news-bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .news-bento-grid>.news-card {
        min-height: 200px;
    }

    .news-bento-grid>.news-card:nth-child(1),
    .news-bento-grid>.news-card:nth-child(2),
    .news-bento-grid>.news-card:nth-child(3),
    .news-bento-grid>.news-card:nth-child(4),
    .news-bento-grid>.news-card:nth-child(5),
    .news-bento-grid>.news-card:nth-child(6),
    .news-bento-grid>.news-card:nth-child(7),
    .news-bento-grid>.news-card:nth-child(8) {
        grid-column: auto;
        grid-row: auto;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .news-card.large {
        min-height: 250px;
    }

    .news-title {
        font-size: 2rem;
    }

    .news-subtitle {
        font-size: 1rem;
    }

    .news-content h3 {
        font-size: 1.3rem;
    }

    .news-excerpt {
        font-size: 0.9rem;
    }

    .news-content-small h4 {
        font-size: 1rem;
    }

    .news-content-small .news-excerpt {
        font-size: 0.8rem;
    }

    .clients-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .footer-about,
    .footer-links,
    .footer-quick-access,
    .footer-contact {
        width: 100%;
        margin: 0;
    }

    .footer-social-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-section {
        padding: 0.5rem;
    }

    .footer-about {
        text-align: center;
    }

    .footer-logo {
        margin-bottom: 1rem;
    }

    .footer-logo img {
        height: 30px;
        margin: 0 auto;
    }

    .footer-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }

    .footer-nav a {
        font-size: 0.85rem;
        padding: 0.5rem 0;
    }

    .social-links {
        justify-content: center;
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .social-link {
        width: 35px;
        height: 35px;
    }

    .contact-info {
        gap: 0.75rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
        align-items: center;
    }

    .contact-icon {
        margin-top: 0;
        font-size: 1.2rem;
    }

    .contact-label {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .contact-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }

    .quick-access-nav {
        text-align: center;
    }

    .quick-access-nav li {
        margin-bottom: 0.75rem;
    }

    .quick-access-nav a {
        justify-content: center;
        padding: 0.6rem 0.8rem;
        border-radius: 12px;
        font-size: 0.8rem;
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        transition: all 0.3s ease;
    }

    .quick-access-nav a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: translateY(-1px);
    }

    .quick-access-nav a i {
        font-size: 0.9rem;
        width: 16px;
    }

    .download-text {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .app-links {
        gap: 0.5rem;
    }

    .app-image {
        width: 100px;
        height: 30px;
    }

    .app-links {
        justify-content: center;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 1rem;
    }

    .newsletter-input,
    .newsletter-btn {
        width: 100%;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        gap: 1.5rem;
    }

    .feedback {
        padding: 3rem 0;
    }

    .feedback-content {
        flex-direction: column;
        min-height: auto;
        gap: 2rem;
    }

    .feedback-image {
        flex: none;
        order: 1;
        height: 250px;
        padding: 1rem;
    }

    .feedback-form-container {
        flex: none;
        order: 2;
        padding: 1rem;
    }

    .feedback-title {
        font-size: 1.8rem;
    }

    .feedback-subtitle {
        font-size: 0.9rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .submit-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin: 0 auto;
    }
}

@media (min-width: 769px) {
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: 2fr 1fr;
    }
}

/* Mobile Menu Animation */
.nav-menu.mobile {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0;
    flex-direction: column;
    padding: 0rem 1rem 2rem;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.15);
    z-index: 999;
    animation: slideInRight 0.3s ease-out;
    overflow-y: auto;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

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

.nav-menu.mobile .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
    border-radius: 20px;
    text-align: right;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.nav-menu.mobile .nav-link:hover {
    background: rgba(179, 31, 35, 0.1);
    border-color: rgba(179, 31, 35, 0.2);
    transform: translateY(-1px);
}

.nav-menu.mobile .login-btn {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(179, 31, 35, 0.3);
}

.nav-menu.mobile .login-btn:hover {
    background: linear-gradient(45deg, #d32f2f, #b31f23);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(179, 31, 35, 0.4);
    color: white;
}

.nav-menu.mobile .nav-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0.5rem 0;
    border-radius: 1px;
}

.nav-menu.mobile .quick-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    background: linear-gradient(170deg, #830101 0%, #7e0000 38%, #000 100%);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin: 0 0.5rem;
    box-shadow: 0 4px 12px rgba(131, 1, 1, 0.3);
    height: 10px;
    margin-top: 20px;
}

.nav-menu.mobile .quick-link:hover {
    background: linear-gradient(170deg, #a01010 0%, #9e0000 38%, #1a0000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(131, 1, 1, 0.4);
}

.nav-menu.mobile .quick-link i {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    color: #b31f23;
    transition: all 0.3s ease;
}

.nav-menu.mobile .quick-link:hover i {
    transform: scale(1.1);
}

.nav-menu.mobile .quick-link span {
    font-size: 0.7rem;
    text-align: center;
    line-height: 1;
}

/* Menu Open Styles */
body.menu-open {
    overflow: hidden;
}

body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    z-index: 998;
}

/* Popup Overlay Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-overlay.show {
    display: flex;
}

.popup-overlay .popup-default {
    display: flex;
    flex-direction: column;
    max-width: 700px;
    /* Use max-width instead of fixed width */
    width: 90%;
    /* Make it responsive, taking 90% of the viewport width */
    align-items: center;
    position: relative;
    background-color: #ffffff;
    border-radius: 10px;
    overflow-y: auto;
    /* Changed to auto to enable vertical scrolling */
    flex-shrink: 1;
    /* Allow the modal to shrink if content is too large */
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments for the modal content */
@media (max-width: 768px) {
    .popup-overlay .popup-default {
        width: 95%;
        /* Slightly wider on smaller screens */
        margin: 1rem;
        /* Add some margin to prevent it from touching edges */
    }

    .popup-overlay .frame-32 {
        flex-direction: column;
        /* Stack content vertically on small screens */
        padding: 10px;
    }

    .popup-overlay .penyelenggara,
    .popup-overlay .frame-35 {
        width: 100% !important;
        /* Ensure full width on mobile */
    }

    .popup-overlay .penyelenggara {
        margin-bottom: 10px;
        /* Space between stacked columns */
    }

    .popup-overlay .banner {
        min-height: 150px;
        /* Adjust banner height for mobile */
    }

    .popup-overlay .text-wrapper-22 {
        font-size: 12px;
        /* Smaller font for event name */
        line-height: 1.4;
    }

    .popup-overlay .text-wrapper-23,
    .popup-overlay .text-wrapper-25 {
        font-size: 9px;
        /* Smaller font for section titles */
    }

    .popup-overlay .text-wrapper-24,
    .popup-overlay .desc,
    .popup-overlay .text-wrapper-26 {
        font-size: 9px;
        /* Smaller font for table content */
        white-space: normal;
        /* Allow text to wrap */
    }

    .popup-overlay .table-auto td {
        padding: 0.5rem 0.75rem;
        /* Adjust table padding */
    }

    .popup-overlay .x-wrapper {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
}

.popup-overlay .banner {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    flex: 1;
    align-self: stretch;
    width: 100%;
    flex-grow: 1;
    border-radius: 10px;
    border: 1px solid #ffffff;
    background-image: url(https://c.animaapp.com/49LDZvZl/img/banner.svg);
    background-size: cover;
    background-position: 50% 50%;
}

.popup-overlay .frame-30 {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 13px 20px;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    box-shadow: 0px -10px 7.4px #00000040;
    gap: 10px;
    position: relative;
}

.popup-overlay .x-wrapper {
    display: flex;
    width: 25px;
    height: 25px;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    gap: 10px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    z-index: 10;
}

.popup-overlay .x {
    position: relative;
    font-size: 20px;
    color: #1d293d;
    font-weight: bold;
}

.popup-overlay .frame-31 {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 13px 20px;
    flex: 0 0 auto;
    background-color: #ffffff;
    border-radius: 10px 10px 0px 0px;
    overflow: hidden;
    box-shadow: 0px -10px 7.4px #00000040;
    gap: 10px;
    position: relative;
}

.popup-overlay .text-wrapper-22 {
    position: relative;
    flex: 1;
    margin-top: -1.00px;
    font-family: "Montserrat", Helvetica;
    font-weight: 700;
    color: #1d293d;
    font-size: 14px;
    letter-spacing: 0.42px;
    line-height: 15px;
}

.popup-overlay .frame-32 {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    align-self: stretch;
    width: 100%;
    flex: 0 0 auto;
    gap: 10px;
    position: relative;
}

.popup-overlay .penyelenggara {
    display: flex;
    flex-direction: column;
    /* height: 246px; Removed fixed height to allow dynamic adjustment */
    align-items: flex-start;
    padding: 6px 0px 0px;
    position: relative;
    width: 50%;
    flex: 0 0 auto;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid;
    border-color: #eeeeee;
    height: auto;
    /* Ensure height is auto to allow content to dictate height */
}

.popup-overlay .informasi-umum {
    display: flex;
    height: 28px;
    align-items: center;
    gap: 10px;
    padding: 3px 22px 8px 15px;
    position: relative;
    align-self: stretch;
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #eeeeee;
}

.popup-overlay .location-on {
    position: relative;
    width: 19px;
    height: 19px;
    margin-top: -1.00px;
    margin-bottom: -1.00px;
}

.popup-overlay .text-wrapper-23 {
    position: relative;
    width: auto;
    font-family: "Montserrat", Helvetica;
    font-weight: 700;
    color: #1d293d;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
}

.popup-overlay .isi-2 {
    height: 39px;
    display: flex;
    align-items: center;
    gap: 56px;
    position: relative;
    align-self: stretch;
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #eeeeee;
}

.popup-overlay .judul-wrapper {
    display: flex;
    width: auto;
    align-items: flex-start;
    padding: 5px 5px 0px 15px;
    align-self: stretch;
    transform: rotate(0.09deg);
    gap: 10px;
    position: relative;
}

.popup-overlay .judul-2 {
    margin-top: -1.00px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .frame-33 {
    display: flex;
    align-items: center;
    flex: 1;
    align-self: stretch;
    flex-grow: 1;
    transform: rotate(0.09deg);
    gap: 10px;
    position: relative;
}

.popup-overlay .desc {
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 500;
    color: #1d293d;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
}

.popup-overlay .isi-3 {
    flex: 1;
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 56px;
    position: relative;
    align-self: stretch;
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #eeeeee;
}

.popup-overlay .frame-34 {
    display: flex;
    width: auto;
    align-items: center;
    gap: 10px;
    padding: 0px 5px 0px 15px;
    position: relative;
    align-self: stretch;
    transform: rotate(0.09deg);
}

.popup-overlay .judul-3 {
    margin-right: -28.06px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .text-wrapper-24 {
    white-space: nowrap;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 500;
    color: #1d293d;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
}

.popup-overlay .judul-4 {
    margin-right: -20.06px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .judul-5 {
    margin-right: -23.06px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .judul-6 {
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .judul-7 {
    margin-right: -39.06px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .isi-4 {
    height: 51px;
    display: flex;
    align-items: center;
    gap: 56px;
    position: relative;
    align-self: stretch;
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #eeeeee;
}

.popup-overlay .frame-35 {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 50%;
    flex: 0 0 auto;
    gap: 10px;
    position: relative;
}

.popup-overlay .info-umum {
    display: flex;
    flex-direction: column;
    /* height: 134px; Removed fixed height to allow dynamic adjustment */
    align-items: flex-start;
    padding: 6px 0px 0px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid;
    border-color: #eeeeee;
    height: auto;
    /* Ensure height is auto to allow content to dictate height */
}

.popup-overlay .informasi-umum-2 {
    display: flex;
    height: 28px;
    align-items: center;
    gap: 10px;
    padding: 3px 22px 3px 15px;
    position: relative;
    align-self: stretch;
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #eeeeee;
}

.popup-overlay .img-3 {
    position: relative;
    width: 16px;
    height: 16px;
}

.popup-overlay .text-wrapper-25 {
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 700;
    color: #1d293d;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .judul-8 {
    margin-right: -26.06px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .judul-9 {
    margin-right: -3.06px;
    position: relative;
    width: fit-content;
    font-family: "Montserrat", Helvetica;
    font-weight: 600;
    color: #810101;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    white-space: nowrap;
}

.popup-overlay .undangan {
    display: flex;
    flex-direction: column;
    height: 62px;
    align-items: flex-start;
    padding: 6px 0px 0px;
    position: relative;
    align-self: stretch;
    width: 100%;
    background-color: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid;
    border-color: #eeeeee;
}

.popup-overlay .informasi-umum-3 {
    display: flex;
    height: 28px;
    align-items: center;
    gap: 10px;
    padding: 3px 22px;
    position: relative;
    align-self: stretch;
    width: 100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #eeeeee;
}

.popup-overlay .settings {
    position: relative;
    width: 11px;
    height: 11px;
    aspect-ratio: 1;
    object-fit: cover;
}

.popup-overlay .text-wrapper-26 {
    position: relative;
    width: auto;
    font-family: "Montserrat", Helvetica;
    font-weight: 500;
    font-style: italic;
    color: #2d92ff;
    font-size: 10px;
    letter-spacing: 0.30px;
    line-height: 15px;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.popup-overlay .text-wrapper-26:hover {
    color: #1a73e8;
}

.popup-overlay .frame-36 {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 27px;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
    position: relative;
}

/* Modal scrolling - ensure popup-default content scrolls when it exceeds modal height */
.popup-default {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    /* Smooth scrolling on iOS */
}

/* Mobile modal scrolling adjustments */
@media (max-width: 768px) {
    .popup-default {
        max-height: calc(100vh - 2rem) !important;
    }
}

/* Disable body scrolling when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Training Reviews Section */
.reviews {
    padding: 5rem 0;
    background-color: #fff;
    position: relative;
}

.reviews::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 31, 35, 0.3), transparent);
}

.reviews::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(179, 31, 35, 0.3), transparent);
}

.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header .section-title {
    color: #b31f23;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.reviews-header .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #b31f23, #d32f2f);
    border-radius: 2px;
}

.reviews-header .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin: 0 auto;
    line-height: 1.6;
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    gap: 2rem;
    animation: reviewsScroll 30s linear infinite;
    width: max-content;
}

.reviews-container:hover {
    animation-play-state: paused;
}

@keyframes reviewsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.review-card {
    flex: 0 0 350px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: rgba(179, 31, 35, 0.2);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    flex-shrink: 0;
}

.review-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.review-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #b31f23;
    box-shadow: 0 4px 12px rgba(179, 31, 35, 0.2);
}

.review-info {
    flex: 1;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #b31f23;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.reviewer-position {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    line-height: 1.4;
}

.review-stars {
    margin-bottom: 1rem;
}

.review-stars i {
    color: #ffd700;
    font-size: 1.1rem;
    margin-right: 0.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

.review-stars .fa-star-half-alt {
    color: #ffd700;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    font-style: italic;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 2rem;
    color: #b31f23;
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: 'Georgia', serif;
    opacity: 0.3;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 3rem;
}

.slider-btn {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border: 2px solid #e9ecef;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #495057;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.slider-btn:hover {
    background: linear-gradient(135deg, #b31f23 0%, #d32f2f 100%);
    border-color: #b31f23;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(179, 31, 35, 0.3);
}

.slider-btn:active {
    transform: translateY(0);
}

/* Responsive Design for Reviews */
@media (max-width: 768px) {
    .reviews {
        padding: 3rem 0;
    }

    .reviews-header {
        margin-bottom: 3rem;
    }

    .reviews-header .section-title {
        font-size: 2rem;
    }

    .reviews-header .section-subtitle {
        font-size: 1rem;
    }

    .reviews-container {
        width: calc(300px * 15);
        /* Smaller cards on mobile */
        gap: 1rem;
    }

    .review-card {
        flex: 0 0 300px;
        padding: 1.5rem;
    }

    .review-header {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .review-avatar img {
        width: 50px;
        height: 50px;
    }

    .reviewer-name {
        font-size: 1rem;
    }

    .reviewer-position {
        font-size: 0.8rem;
    }

    .review-stars i {
        font-size: 1rem;
    }

    .review-text {
        font-size: 0.9rem;
    }

    .slider-controls {
        margin-top: 2rem;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .reviews-container {
        width: calc(280px * 15);
        gap: 0.75rem;
    }

    .review-card {
        flex: 0 0 280px;
        padding: 1.25rem;
    }

    .review-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .review-avatar img {
        width: 45px;
        height: 45px;
    }

    .reviewer-name {
        font-size: 0.95rem;
    }

    .reviewer-position {
        font-size: 0.75rem;
    }

    .review-text {
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Responsive Design for Halaman Arahan Section */
@media (max-width: 1024px) {
    .halaman-arahan {
        padding: 3rem 0;
    }

    .arahangrid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }

    .arahan-card {
        border-radius: 14px;
    }

    .arahan-image {
        height: 180px;
        border-radius: 14px 14px 0 0;
    }
}

@media (max-width: 768px) {
    .halaman-arahan {
        padding: 2.5rem 0;
    }

    .arahangrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        margin: 1.5rem 0;
    }

    .arahan-card {
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    }

    .arahan-image {
        height: 150px;
        border-radius: 12px 12px 0 0;
    }

    .arahangrid-pagination {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .arahangrid-page-btn {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .halaman-arahan {
        padding: 2rem 0;
    }

    .arahangrid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin: 1rem 0;
    }

    .arahan-card {
        border-radius: 10px;
        max-width: 100%;
        margin: 0 auto;
    }

    .arahan-image {
        height: 200px;
        border-radius: 10px 10px 0 0;
    }

    .arahangrid-pagination {
        gap: 0.5rem;
        margin-top: 1rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .arahangrid-page-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-radius: 20px;
        min-width: 80px;
    }

    .arahangrid-page-btn i {
        font-size: 0.9rem;
    }

    #arahangrid-page-info {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Standardization Logos */
#standardisasi {
    margin-top: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
}

#standardisasi h5 {
    margin-bottom: 25px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.validator-logo {
    display: inline-block;
    width: 59px;
    height: 59px;
    background-image: url('https://lps.go.id/konten/res/img/validator-logo.png');
    background-repeat: no-repeat;
    margin: 8px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    cursor: pointer;
}

.validator-logo:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ipv6_59x59 {
    background-position: -168px -89px;
}

.mb_59x59 {
    background-position: -10px -168px;
}

.verisign_59x59 {
    background-position: -326px -10px;
}

.avif_59x59 {
    background-position: -89px -10px;
}

.internet_nl_59x59 {
    background-position: -168px -10px;
}

.mozilla_59x59 {
    background-position: -89px -168px;
}

.pagespeed_59x59 {
    background-position: -168px -168px;
}

.pingdom_59x59 {
    background-position: -247px -10px;
}

.qualys_59x59 {
    background-position: -247px -89px;
}

.sandia_59x59 {
    background-position: -247px -168px;
}

.sentinel_59x59 {
    background-position: -10px -247px;
}

.sophos_59x59 {
    background-position: -89px -247px;
}

.ssl_59x59 {
    background-position: -168px -247px;
}

.tls_13_59x59 {
    background-position: -247px -247px;
}

.wpt_59x59 {
    background-position: -326px -168px;
}

.seotester_59x59 {
    background-position: -326px -89px;
}

.rss_59x59 {
    background-position: -326px -247px;
}

.gtmetrix_59x59 {
    background-position: -10px -10px;
}

.immuniweb_59x59 {
    background-position: -10px -89px;
}

.immuniweb_head_59x59 {
    background-position: -89px -89px;
}

/* ImmuniWeb Icons */
.validator-icon-ssl,
.validator-icon-websec,
.validator-icon-email {
    display: inline-block;
    height: 50px;
    width: 150px;
    background-repeat: no-repeat;
    background-size: contain;
    margin: 8px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.validator-icon-ssl:hover,
.validator-icon-websec:hover,
.validator-icon-email:hover {
    transform: scale(1.05);
}

.validator-icon-ssl {
    background-image: url('https://www.immuniweb.com/img/badges/white_150x50.png');
}

.validator-icon-websec {
    background-image: url('https://www.immuniweb.com/img/badges/websec_white_150x50.png');
}

.validator-icon-email {
    background-image: url('https://www.immuniweb.com/img/badges/email_white_150x50.png');
}

.clear-both {
    clear: both;
}

/* Organizer Card Styles */
.organizer-card {
    background: #fff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.organizer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: rgba(179, 31, 35, 0.2);
}

.organizer-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}