/* 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;
    max-width: 800px;
    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;
    max-width: 600px;
    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 {
    max-width: 600px;
    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;
    max-width: 600px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

/* 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;
}

.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;
}

/* 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;
}

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

.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;
}

.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: 4rem 0;
}

.feedback-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    gap: 0;
    min-height: 400px;
}

.feedback-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(179, 31, 35, 0.05), rgba(211, 47, 47, 0.05));
}

.contact-image {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.8;
}

.feedback-form-container {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

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

.feedback-title {
    color: #b31f23;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    position: static;
    display: block;
}

.feedback-subtitle {
    font-size: 0.85rem;
    color: #666;
    margin: 0 auto;
    line-height: 1.4;
}

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

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

.form-group {
    margin-bottom: 0.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.125rem;
    font-size: 0.85rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
}

.form-group input:focus {
    outline: none;
    border-color: #b31f23;
    box-shadow: 0 0 0 2px rgba(179, 31, 35, 0.1);
}

.form-group textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    resize: vertical;
    min-height: 80px;
}

.form-group textarea:focus {
    outline: none;
    border-color: #b31f23;
    box-shadow: 0 0 0 2px rgba(179, 31, 35, 0.1);
}

.submit-btn {
    width: auto;
    padding: 0.625rem 1.5rem;
    background: #b31f23;
    color: white;
    border: 1px solid #b31f23;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
    display: block;
    margin: 0 0 0 auto;
}

.submit-btn:hover {
    background: #a0171e;
    border-color: #a0171e;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(179, 31, 35, 0.3);
}

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

.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;
}

/* 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; }
