/* =========================
   Global Styles & Variables
   ========================= */
:root {
    --primary: #F3ECE4;
    --primary-dark: #E8DDD4;
    --secondary: #9D9167;
    --secondary-opacity: rgba(157, 145, 103, 0.71);
    --accent: #D4AF37;
    --dark: #2b2d42;
    --light: #f8f9fa;
    --gray: #9D9167;
    --light-gray: #e9ecef;
    --text-dark: #4C4021;
    --text-light: #6B5B47;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease;
    --shadow: 0 8px 32px rgba(0,0,0,0.12);
    --shadow-hover: 0 16px 48px rgba(0,0,0,0.18);
    --shadow-light: 0 4px 16px rgba(0,0,0,0.08);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary-opacity) 100%);
    --gradient-hover: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    --border-radius: 16px;
    --border-radius-small: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #F3ECE4;
}

a {
    text-decoration: none;
    color: inherit;
}

p {
    color: #4C4021;
}

/* =========================
   Container
   ========================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* =========================
   Typography
   ========================= */
h1, h2 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    margin-bottom: 35px;
    font-size: 2.5rem;
    color: #4C4021;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gradient);
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-title2 {
    font-size: 1.5rem;
    color: #4C4021;
    font-weight: 700;
    margin-bottom: 20px;
}

/* =========================
   Button
   ========================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: var(--gradient);
    color: white;
    border-radius: var(--border-radius);
    min-width: 180px;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

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

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

.btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    background: var(--gradient-hover);
}

.btn:active {
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--secondary);
    color: var(--text-dark);
}

.btn-outline:hover {
    background: var(--gradient);
    color: white;
    border-color: transparent;
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
}

/* =========================
   Navbar
   ========================= */
.navbar {
    background: var(--gradient);
    -webkit-tap-highlight-color: transparent;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.navbar-left {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: #2b2d42;
    font-weight: 700;
    font-size: 18px;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #4C4021;
    transition: var(--transition);
}

.nav-links a:hover, .nav-links a.active {
    color: #4C4021;
}

.nav-links a:hover::after, .nav-links a.active::after {
    width: 100%;
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-logo-img {
    width: 50px;
    height: 50px;
    background: transparent;
    transition: var(--transition);
    object-fit: contain;
}

.nav-logo-img:hover {
    transform: translateY(-3px);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    padding: 0;
    position: relative;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.3s ease;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background: #2b2d42;
    border-radius: 3px;
    transition: var(--transition);
    pointer-events: none;
}

.hamburger:active {
    transform: scale(0.95);
}

/* =========================
   Hero Section
   ========================= */
.hero {
    height: 90vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url('../assets/images/hero.png') center/cover no-repeat;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    z-index: -1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    perspective: 1000px;
}

.hero h1 .word {
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

.hero h1 .letter {
    display: inline-block;
    position: relative;
    transform-style: preserve-3d;
    animation: letterFloat 3s ease-in-out;
    animation-fill-mode: forwards;
    text-shadow: 
        0 0 20px rgba(243, 236, 228, 0.8),
        0 0 40px rgba(243, 236, 228, 0.6),
        0 0 60px rgba(243, 236, 228, 0.4);
    transition: all 0.3s ease;
}

.hero h1 .letter.animation-complete {
    animation: none;
    transform: translateY(0px) rotateX(0deg) rotateY(0deg);
}

.hero h1 .letter:nth-child(1) { animation-delay: 0.1s; }
.hero h1 .letter:nth-child(2) { animation-delay: 0.2s; }
.hero h1 .letter:nth-child(3) { animation-delay: 0.3s; }
.hero h1 .letter:nth-child(4) { animation-delay: 0.4s; }
.hero h1 .letter:nth-child(5) { animation-delay: 0.5s; }
.hero h1 .letter:nth-child(6) { animation-delay: 0.6s; }
.hero h1 .letter:nth-child(7) { animation-delay: 0.7s; }
.hero h1 .letter:nth-child(8) { animation-delay: 0.8s; }

.hero h1 .word:nth-child(2) .letter:nth-child(1) { animation-delay: 0.9s; }
.hero h1 .word:nth-child(2) .letter:nth-child(2) { animation-delay: 1.0s; }
.hero h1 .word:nth-child(2) .letter:nth-child(3) { animation-delay: 1.1s; }
.hero h1 .word:nth-child(2) .letter:nth-child(4) { animation-delay: 1.2s; }
.hero h1 .word:nth-child(2) .letter:nth-child(5) { animation-delay: 1.3s; }

@keyframes letterFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg);
    }
    25% {
        transform: translateY(-10px) rotateX(10deg) rotateY(5deg);
    }
    50% {
        transform: translateY(-5px) rotateX(-5deg) rotateY(-5deg);
    }
    75% {
        transform: translateY(-15px) rotateX(5deg) rotateY(10deg);
    }
}

.hero h1 .letter:hover {
    transform: translateY(-20px) rotateX(15deg) rotateY(15deg) scale(1.1);
    text-shadow: 
        0 0 30px rgba(212, 175, 55, 1),
        0 0 60px rgba(212, 175, 55, 0.8),
        0 0 90px rgba(212, 175, 55, 0.6);
    color: var(--accent);
}

.hero h1::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, rgba(243, 236, 228, 0.1) 0%, transparent 70%);
    border-radius: 20px;
    z-index: -1;
    animation: heroGlow 4s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.3;
        transform: scale(0.95);
    }
    100% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

.hero h1 span {
    color: var(--primary);
    display: block;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    font-weight: 500;
    color: #f8f9fa;
    animation: fadeInUp 1s ease-out 2s both;
    opacity: 0;
}

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

/* Hero backgrounds for specific pages */
.community-hero {
    background: url('../assets/aog/aog11.jpg') center/cover no-repeat;
}
.connect-group-hero,
.army-of-god-hero,
.journey-hero,
.sheep-hero,
.freedom-hero {
    background: url('../assets/images/the_journey.png') center/cover no-repeat;
}

.others-hero {
    background: url('../assets/others/heroothers.png') center/cover no-repeat;
}

/* =========================
   Upcoming Event
   ========================= */
.upcoming-event {
    padding: 0;
    background-color: #F3ECE4;
    margin-bottom: 30px;
}

.upcoming-event h2 {
    padding-top:25px;
    font-size: 25px;
}

.upcoming-event2 h2{
    padding: 0;
   
  font-size:25px ;
}

.contact {
    background-color: #F3ECE4;
}

.contact h3 {
    padding-top: 10px;
    text-align: center;
    font-size: 20px;
    color: #4C4021;
}

.contact p {
    text-align: center;
    font-size:14px;
    color: #393323;
    margin-bottom: 10px;
}

.contact2 h2 {
   
   
    font-size: 25px;
   
}

/* =========================
   Upcoming Event 2
   ========================= */
.upcoming-event2 {
    padding: 0;
    background-color: #F3ECE4;
}

.event-card2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 700px;
    width: 100%;
    gap: 0;
    border-radius: 16px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    padding: 0;
    margin: 0 auto 2px auto;
    box-sizing: border-box;
}

.event-image2 {
    max-width: 700px;
    width: 100%;
    height: auto;
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
    justify-content: center;
}

.event-image2 img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
}

/* =========================
   Event Content & Images
   ========================= */

.thick-strike {
    text-decoration: line-through;
    text-align: center;
    text-decoration-thickness: 4px;
    text-decoration-color: rgb(66, 49, 49);
}

.aogc {
    padding-top: 25px;
    background-color: #F3ECE4;
}

.aogc h2 {
    padding-top: 0;
    font-size: 25px;
}

.program {
    padding: 10px;
    background-color: #F3ECE4;
    margin-bottom: 0px;
}

.booking {
    background-color: #F3ECE4;
}

.event-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    align-items: center;
}

.event-images {
    display: grid;
    background: url('../assets/images/the_journey.png') center/cover no-repeat;
    grid-template-columns: 1fr 1fr;
    margin-top: 20px;
    gap: 0;
}

.event-img {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 250px;
}

.event-img.main-img {
    grid-column: 1 / span 2;
    height: 300px;
}

.event-img-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.event-details-container {
    text-align: center;
    background: #F3ECE4;
    border-radius: 16px;
    padding: 20px 10px;
    margin: 0 auto;
    max-width: 380px;
    height: 300px;
    box-shadow: 0 2px 16px rgba(238, 225, 225, 0.06);
}

.event-details h3 {
    color: #4C4021;
    font-size: 20px;
    padding: 0 15px;
    margin-bottom: 10px;
}

.event-details p {
    font-size: 15px;
    padding: 0 15px;
    margin-bottom: 20px;
}

.event-info-row {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
    width: 100%;
    max-width: 1000px;
    margin: 10px auto 0 auto;
    flex-wrap: wrap;
}

.event-desc {
    flex: 1 1 65%;
    max-width: 65%;
    background: none;
    padding: 0 20px;
    text-align: start;
    border-radius: 12px;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-desc h3 {
    color: #4C4021;
    font-size: 20px;
    margin-bottom: 1px;
}

.event-desc p {
    color: #4C4021;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 1px;
    text-align: justify;
}

.event-info-box {
    flex: 1 1 30%;
    max-width: 30%;
    background: #Ffff;
    border-radius: 12px;
    padding: 10px 15px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    max-height: 400px;
    align-self: stretch;
}

.info-item {
    margin-bottom: 0;
    color: #222;
    padding: 15px 2px;
  
}

.info-item strong {
    display: block;
    color: #4C4021;
    font-size: 15px;
    margin-bottom: 0;

}
.info-item span {font-size: 14px;}

/* =========================
   Testimonials
   ========================= */
.testimonials {
    padding: 20px 0;
    background: #9D9167;
}

.testimonial-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.testimonial {
    flex: 1;
    text-align: center;
    padding: 10px 10px;
    display: block;
}

.testimonial-name {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: white;
}

.testimonial p {
    font-size: 1.05rem;
    font-style: italic;
    margin-bottom: 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    color: #222;
}

.testimonial-slider .prev,
.testimonial-slider .next {
    background: none;
    border: none;
    color: #2b2d42;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0 10px;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.2s;
}

.testimonial-slider .prev:hover,
.testimonial-slider .next:hover {
    color: #4C4021;
}

.view-all {
    text-align: center;
    margin-top: 10px;
    text-decoration: underline;
}

/* Testimonial Cards */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-content {
    padding: 25px;
}

.testimonial-content p {
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author h4 {
    margin-bottom: 5px;
}

.author p {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* =========================
   Community Cards
   ========================= */
.community-cards {
    padding: 20px 0;
    background: linear-gradient(135deg, var(--primary) 0%, rgba(243, 236, 228, 0.8) 100%);
    position: relative;
}

.community-cards::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/><circle cx="50" cy="10" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
}

.community-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(157, 145, 103, 0.2);
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.community-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    position: relative;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.card-content {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
}

.community-cards h2 {
    font-size: 25px;
    margin-bottom: 52px;
    padding-top: 0;

}

.community-card h3,
.community-card h2 {
    font-size: 1.75rem;
    margin: 0 0 16px 0;
    padding: 10px;
    padding-right: 15px;
    padding-left: 15px;
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
    position: relative;
}

.community-card p {
    margin: 0 0 24px 0;
   
    padding-right: 15px;
    padding-left: 15px;
    color: var(--text-light);

    font-size: 1rem;
    line-height: 1.7;
    flex-grow: 1;
}

.community-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 10px;
    padding-right: 15px;
    padding-left: 15px;
    padding-bottom: 25px;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    margin-top: auto;
}

.community-card a::after {
    content: '→';
    transition: transform 0.3s ease;
}

.community-card a:hover {
    color: var(--accent);
    transform: translateX(4px);
}

.community-card a:hover::after {
    transform: translateX(4px);
}

/* =========================
   Gallery
   ========================= */
.gallery {
    display: flex;
    padding: 20px 0;
    margin-top: 10px;
    margin-bottom: 25px;
    background-color: #F3ECE4;
}

.gallery-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.slider-controls button {
    background: none;
    border: none;
    color: #2b2d42;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0 18px;
    border-radius: 0;
    box-shadow: none;
    transition: color 0.2s;
    pointer-events: auto;
}

.slider-controls button:hover {
    color: #4C4021;
}

.gallery-item {
    display: none;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    width: 100%;
    padding: 0 20px;
}

.gallery-item.active {
    display: flex;
}

.gallery-item img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    object-fit: contain;
}

/* =========================
   Footer
   ========================= */
.footer {
    background: var(--gradient);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.previous-events {
    margin-top: 40px;
}

/* =========================
   Responsive Styles
   ========================= */
@media (max-width: 992px) {
    .container {
        max-width: 98vw;
        padding: 0 8px;
    }
    
    .event-card2 {
        max-width: 98vw;
        padding: 0;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .event-content {
        grid-template-columns: 1fr;
    }
    
    .event-images {
        order: 2;
    }
}

@media (max-width: 900px) {
    .event-info-row {
        flex-direction: column;
        gap: 18px;
        max-width: 100%;
        align-items: center;
    }
    
    .event-desc, .event-info-box {
        min-width: 0;
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    /* Tampilkan hamburger menu di mobile */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: var(--transition);
        z-index: 1001;
    }

    /* Sembunyikan nav links di desktop navbar */
    .navbar-left .nav-links {
        display: none;
    }
    
    /* Mobile navigation overlay - Full screen untuk mobile yang lebih baik */
    .nav-links {
        display: none;
        flex-direction: column;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        padding: 100px 20px 40px;
        box-shadow: -2px 0 20px rgba(0,0,0,0.3);
        z-index: 999;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        justify-content: flex-start;
        align-items: center;
        gap: 10px;
    }

    .nav-links.active {
        display: flex;
        animation: slideInRight 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

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

    .nav-links a {
        color: #2b2d42;
        padding: 18px 30px;
        border-radius: 12px;
        width: 90%;
        max-width: 300px;
        text-align: center;
        font-size: 18px;
        font-weight: 700;
        transition: var(--transition);
        background: rgba(255, 255, 255, 0.1);
        border: 2px solid transparent;
        margin: 5px 0;
    }
    
    .nav-links a:hover, .nav-links a:active {
        background: rgba(255, 255, 255, 0.25);
        border-color: rgba(76, 64, 33, 0.3);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    /* Hamburger animation yang lebih smooth */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
        background: #2b2d42;
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
        background: #2b2d42;
    }

    .hamburger span {
        display: block;
        width: 28px;
        height: 3px;
        background: #2b2d42;
        margin: 3px 0;
        transition: var(--transition);
        border-radius: 3px;
    }
    
    .cards-container,
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 100vw;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    /* Gallery responsive untuk mobile */
    .gallery {
        padding: 15px 0;
        margin-top: 5px;
    }
    
    .gallery-item {
        min-height: auto;
        padding: 0 10px;
    }
    
    .gallery-item img {
        max-height: 280px;
        width: auto;
    }
    
    .slider-controls button {
        font-size: 2rem;
        padding: 0 10px;
    }
    
    /* Program section spacing untuk mobile */
    .program {
        padding: 10px 10px;
        margin-bottom: 5px;
    }
    
    .event-card2 {
        flex-direction: column;
        align-items: stretch;
        max-width: 100vw;
        padding: 0;
    }
    
    .event-image2 {
        max-width: 100%;
        margin-bottom: 16px;
    }
    
    .event-image2 img {
        max-width: 100%;
        max-height: 200px;
    }
    
    .nav-logo-img {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        height: 70vh;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .event-img {
        height: 150px;
    }
    
    .event-img.main-img {
        height: 200px;
    }
    
    .event-card2 {
        padding: 0;
    }
    
    .event-image2 img {
        max-height: 120px;
    }
    
    /* Gallery untuk mobile kecil */
    .gallery {
        padding: 15px 0;
        margin-top: 5px;
    }
    
    .gallery-item {
        min-height: auto;
        padding: 0 5px;
    }
    
    .gallery-item img {
        max-height: 220px;
        width: auto;
        max-width: 95%;
    }
    
    .slider-controls button {
        font-size: 1.8rem;
        padding: 0 8px;
    }
    
    /* Program section untuk mobile kecil */
    .program {
        padding: 5px 8px;
        
    }
    
    .program h2 {
        font-size: 25px;
        padding-top: 15px;
        margin-bottom: 10px;
    }
    .program h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .program p {
        margin-bottom:10px;
        line-height: 1.6;
        font-size: 14px;
    }
    
    .nav-container {
        padding: 0 10px;
    }
    
    .nav-logo-img {
        width: 35px;
        height: 35px;
    }
    
    .hamburger {
        width: 35px;
        height: 35px;
    }
    
    .hamburger span {
        width: 25px;
        height: 2px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .community-card h3 {
        font-size: 1.5rem;
    }
    
    .community-card p {
        font-size: 14px;
    }
}
