/* General Styles */
:root {
    --primary-color: #004d99; /* A deeper, more professional blue */
    --secondary-color: #007bff; /* Bright blue for accents */
    --accent-color: #28a745; /* Vibrant green for CTAs */
    --light-bg: #f4f7f9; /* Soft light blue/grey - This will be the main background for the video section */
    --dark-text: #343a40;
    --white: #ffffff;
    --grey-text: #6c757d;

    /* Colors for the video section to fit the grey theme */
    --english-section-bg: var(--light-bg); /* Use light-bg as main background */
    --english-panel-bg: var(--white); /* White background for the main panel */
    --english-video-border: var(--secondary-color); /* Bright blue border for the video frame */
    --english-heading-color: var(--primary-color);
    --english-paragraph-color: var(--grey-text);
}

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--dark-text);
    background-color: var(--light-bg);
    padding-top: 90px;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.2);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo h1 {
    font-size: 2em;
    margin: 0;
    color: var(--primary-color);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

nav ul li {
    position: relative;
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-text);
    padding: 10px 15px;
    display: block;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 8px;
    overflow: hidden;
    left: 0;
    top: 100%;
    transform: translateY(10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dropdown:hover .dropdown-content {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

.dropdown-content a {
    padding: 12px 20px;
    font-weight: 400;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
}

.btn-register {
    background-color: var(--accent-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 50px;
    margin-left: 20px;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background-color: #218838;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.3);
}

/* Main Content Sections */
main {
    padding-top: 20px;
}

.hero-section {
    background: linear-gradient(rgba(0, 77, 153, 0.75), rgba(0, 77, 153, 0.75)), url('https://jogjaenglishtraining.com/wp-content/uploads/2021/11/tempat-les-Bahasa-Inggris-1024x683.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 3.5em;
    margin-bottom: 20px;
    animation: fadeInDown 1s ease-out;
}

.hero-content p {
    font-size: 1.3em;
    margin-bottom: 40px;
    animation: fadeInUp 1.2s ease-out;
}

.info-section {
    padding: 80px 0;
    text-align: center;
}

/* Alternating Background Colors for Sections */
#why-us {
    background-color: var(--light-bg);
}

#popular-courses {
    background-color: var(--white);
}

#testimonials {
    background-color: var(--white);
    margin-bottom: 50px;
}

#faq {
    background-color: var(--light-bg);
}

.info-section h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.info-section .subtitle {
    font-size: 1.1em;
    color: var(--grey-text);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.features-grid, .course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.feature-item i {
    font-size: 3.5em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    transition: color 0.3s ease;
}

.feature-item:hover i {
    color: var(--primary-color);
}

.feature-item h4 {
    font-size: 1.6em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.course-card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    text-align: center;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.course-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.course-info {
    padding: 25px;
}

.course-info h4 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.course-info p {
    font-size: 1em;
    margin-bottom: 25px;
    color: var(--grey-text);
}

.course-card .btn-secondary {
    display: inline-block;
}

/* START: REVISED VIDEO SECTION STYLES (English Course Theme) */
.english-video-section-wrapper {
    background-color: var(--english-section-bg); /* Use light-bg as main background */
    padding: 80px 0;
    color: var(--english-heading-color);
    overflow: hidden;
    position: relative;
}

/* No background pattern */
.english-video-section-wrapper::before {
    content: none;
}

.english-video-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.english-video-content-left {
    flex: 1;
    min-width: 300px;
    text-align: left;
    padding-left: 20px;
}

.english-video-content-left h2 {
    font-size: 3.2em;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--english-heading-color);
    text-transform: uppercase;
}

.english-video-content-left p {
    font-size: 1.05em;
    line-height: 1.6;
    color: var(--english-paragraph-color);
    max-width: 500px;
}

.english-video-panel {
    background-color: var(--english-panel-bg); /* White background for the main panel */
    border-radius: 50px; /* Large border-radius for the outer panel */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); /* Lighter shadow for a cleaner look */
    padding: 30px;
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 500px;
    box-sizing: border-box;
    border: 3px solid var(--english-video-border); /* Bright blue border for the video frame */
}

.english-main-video-player {
    position: relative;
    width: 100%;
    max-width: 700px;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 40px; /* Large border-radius for the main video frame */
    overflow: hidden;
    background-color: black; /* Fallback for video background */
    box-sizing: border-box;
}

.english-main-video-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* No specific styles for live tag or info overlay as they are removed from HTML */

/* END: REVISED VIDEO SECTION STYLES */

/* Responsive Design for REVISED VIDEO SECTION */
@media (max-width: 1300px) {
    .english-video-container {
        flex-direction: column;
        text-align: center;
        padding: 0 25px;
    }
    .english-video-content-left {
        min-width: unset;
        padding-left: 0;
    }
    .english-video-panel {
        min-width: unset;
        width: 100%;
        padding: 25px;
        border-radius: 40px;
    }
    .english-main-video-player {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .english-video-section-wrapper {
        padding: 60px 0;
    }
    .english-video-content-left h2 {
        font-size: 2.5em;
    }
    .english-video-panel {
        padding: 20px;
        border-radius: 30px;
    }
    .english-main-video-player {
        border-radius: 30px;
    }
}

@media (max-width: 480px) {
    .english-video-content-left h2 {
        font-size: 2em;
    }
    .english-video-panel {
        padding: 15px;
    }
    .english-main-video-player {
        border-radius: 20px;
    }
}


/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Hide link text on small screens */
.whatsapp-float span {
    display: none;
}


/* Swiper-specific styles for testimonial-slider (existing, no changes) */
.testimonial-slider {
    margin-top: 50px;
}

#testimonials {
    background-color: var(--white); /* Section background is white */
    padding: 80px 0;
    text-align: center;
}

#testimonials h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: var(--primary-color);
}

#testimonials .subtitle {
    font-size: 1.1em;
    color: var(--grey-text);
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.swiper.mySwiper {
    width: 100%;
    padding-bottom: 50px; /* Space for pagination bullets */
}

.testimonial-item {
    background-color: var(--testimonial-card-bg); /* Slightly different background color for the box */
    padding: 30px; /* More padding for better proportion */
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.08); /* Softer shadow */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px; /* Increased min-height for better visual balance */
    justify-content: space-between; /* Distribute content vertically */
    position: relative;
    box-sizing: border-box;
    border: 1px solid rgba(0,0,0,0.05); /* Very subtle border */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-item:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 10px 25px rgba(0,0,0,0.12); /* Enhanced shadow on hover */
}

.quote-icon {
    font-size: 2.2em; /* Larger quote icon */
    color: #e0e0e0;
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.8; /* Slightly more prominent */
}

.quote-text {
    font-style: italic;
    font-size: 0.95em; /* Slightly larger text */
    margin-bottom: 25px; /* More space below quote */
    color: var(--testimonial-quote-color);
    line-height: 1.7; /* Better readability */
    flex-grow: 1; /* Allow text to take available space */
    padding: 0 15px; /* Inner padding for text */
}

.user-info {
    display: flex;
    flex-direction: column; /* Stack image and text */
    align-items: center;
    margin-bottom: 15px; /* Space below info */
}

.user-info img {
    width: 70px; /* Larger avatars */
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px; /* Space between image and name */
    border: 3px solid var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.2);
}

.text-info h4 {
    margin: 0;
    font-size: 1.2em; /* Larger name */
    color: var(--testimonial-user-name-color);
}

.text-info .role {
    margin: 0;
    font-size: 0.9em; /* Larger role */
    color: var(--testimonial-user-role-color);
}

.stars {
    color: #FFC107;
    font-size: 1.1em;
    margin-top: 5px;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
    transform: translateY(-50%) scale(1.2) !important;
    transition: color 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    color: var(--secondary-color) !important;
}

/*FAQ SECTION*/
/* FAQ SECTION */
/* Modern FAQ Section - Clean & Professional Design */
:root {
    --faq-bg-color: #ffffff;
    --faq-section-bg: #f8fafc;
    --faq-left-heading-color: #1a202c;
    --faq-left-label-color: #718096;
    --faq-button-bg: #f7fafc;
    --faq-button-text: #4a5568;
    --faq-button-hover: #edf2f7;
    --faq-item-bg: #f8fafc;
    --faq-item-active-bg: #ffffff;
    --faq-item-border: #e2e8f0;
    --faq-item-border-radius: 16px;
    --faq-item-question-color: #2d3748;
    --faq-toggle-icon-color: #a0aec0;
    --faq-toggle-active-color: #003399;
    --faq-answer-bg: #ffffff;
    --faq-answer-text-color: #718096;
    --primary-gradient: linear-gradient(135deg, #003399 0%, #003399 100%);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Override existing FAQ section with modern design */
#faq {
    background: var(--faq-section-bg) !important;
    padding: 60px 0 !important;
    position: relative;
    overflow: hidden;
    text-align: left !important;
}

/* Subtle background pattern */
#faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Override existing container structure */
#faq .container {
    max-width: 1200px !important; /* Adjusted max-width for overall FAQ container */
    padding: 0 40px !important;
    display: grid !important;
    grid-template-columns: 1fr 1.5fr !important;
    gap: 60px !important;
    align-items: start !important;
    position: relative;
    z-index: 1;
}

/* Create new layout structure */
#faq .container > h3,
#faq .container > .subtitle {
    grid-column: 1;
    margin: 0;
}

#faq .faq-container {
    grid-column: 2;
    padding: 0;
    max-width: 700px; /* Limit the width of the FAQ items themselves */
    justify-self: end; /* Align to the end of the grid column */
}

/* Left Content Section - Styling existing elements */
#faq h3 {
    font-size: 2.8rem !important;
    line-height: 1.1 !important;
    margin-bottom: 15px !important;
    color: var(--faq-left-heading-color) !important;
    font-weight: 700 !important;
    background: var(--primary-gradient) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    position: relative;
    position: sticky;
    top: 100px;
    padding: 20px 0;
}


.faq-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
}

.faq-left h3 {
    font-size: 32px;
    color: #003399
}

.faq-left .subtitle {
    color: #6c757d;
    font-size: 16px;
}
.talk-btn {
    padding: 10px 20px;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    width: fit-content;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-label {
    font-size: 14px;
    color: #999;
    font-weight: 600;
    padding: 4px 12px;
    background-color: #f1f3f5;
    border-radius: 20px;
    display: inline-block;
    width: fit-content;
}

#faq h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

#faq .subtitle {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    color: var(--faq-answer-text-color) !important;
    margin-bottom: 30px !important;
    max-width: 90% !important;
}

#faq .subtitle::after:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--primary-gradient);
}

/* Right Accordion Section - Override existing FAQ items */
.faq-item {
    background: var(--faq-item-bg) !important;
    border: 2px solid var(--faq-item-border) !important;
    border-radius: var(--faq-item-border-radius) !important;
    margin-bottom: 20px !important;
    overflow: hidden !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    box-shadow: none !important;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--primary-gradient);
    transition: width 0.3s ease;
    z-index: 0;
}

.faq-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: var(--shadow-md) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.faq-item.active {
    background: var(--faq-item-active-bg) !important;
    border-color: rgba(102, 126, 234, 0.5) !important;
    box-shadow: var(--shadow-lg) !important;
}

.faq-item.active::before {
    width: 4px;
}

.faq-question {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 24px 28px !important;
    cursor: pointer !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background: rgba(102, 126, 234, 0.02) !important;
}

.faq-question h4 {
    margin: 0 !important;
    font-size: 1rem !important;
    color: var(--faq-item-question-color) !important;
    font-weight: 600 !important;
    flex-grow: 1 !important;
    padding-right: 15px !important;
    line-height: 1.4 !important;
}

.faq-question h4 i {
    margin-right: 12px;
    color: var(--faq-toggle-icon-color);
    font-size: 1rem;
}

.toggle-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    background: var(--faq-button-bg) !important;
    border: 2px solid var(--faq-item-border) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.2rem !important;
    color: var(--faq-toggle-icon-color) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    flex-shrink: 0 !important;
}

.faq-item.active .toggle-icon {
    background: var(--primary-gradient) !important;
    color: white !important;
    border-color: transparent !important;
    transform: rotate(180deg) !important;
}

.faq-item:hover .toggle-icon {
    background: rgba(102, 126, 234, 0.1) !important;
    border-color: rgba(102, 126, 234, 0.3) !important;
}

.faq-answer {
    padding: 0 28px !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: var(--faq-answer-bg) !important;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-answer {
    max-height: 250px !important; /* Adjust as needed for content */
    padding: 0 28px 28px !important;
}

.faq-answer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--faq-item-border), transparent);
}

.faq-answer p {
    margin: 15px 0 0 !important;
    color: var(--faq-answer-text-color) !important;
    font-size: 0.9rem !important;
    line-height: 1.6 !important;
    opacity: 0 !important;
    transform: translateY(10px) !important;
    transition: all 0.3s ease 0.1s !important;
}

.faq-item.active .faq-answer p {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    #faq .container {
        grid-template-columns: 1fr !important;
        gap: 60px !important;
        padding: 0 30px !important;
    }

    #faq .container > h3,
    #faq .container > .subtitle {
        grid-column: 1;
        text-align: center !important;
    }

    #faq .faq-container {
        max-width: 1200px !important;
       padding: 0 30px !important;
      display: grid !important;
     grid-template-columns: 1fr 1fr !important; /* Lebih seimbang */
        gap: 30px !important; /* Jarak antar kolom lebih rapat */
        align-items: start !important;
        position: relative;
     z-index: 1;
    }

    #faq h3 {
        position: static !important;
        font-size: 3rem !important;
        padding: 0 !important;
    }

    #faq h3::before {
        position: static; /* Remove absolute positioning */
        display: block; /* Make it a block element */
        margin: 0 auto 15px; /* Center it */
        width: fit-content; /* Adjust width to content */
    }

    #faq h3::after {
        left: 50%; /* Center the underline */
        transform: translateX(-50%); /* Adjust for perfect centering */
    }

    #faq .subtitle {
        max-width: 100% !important;
    }

    #faq .subtitle::after {
        margin-left: auto; /* Center the button */
        margin-right: auto; /* Center the button */
    }
}

@media (max-width: 768px) {
    #faq {
        padding: 50px 0 !important;
    }

    #faq .container {
        padding: 0 20px !important;
        gap: 30px !important;
    }

    #faq h3 {
        font-size: 2.2rem !important;
        top: 80px !important;
        padding: 15px 0 !important;
    }

    #faq h3::before {
        top: -40px !important;
    }

    .faq-question {
        padding: 16px 20px !important;
    }

    .faq-question h4 {
        font-size: 0.95rem !important;
        padding-right: 12px !important;
    }

    .faq-answer {
        padding: 0 24px !important;
    }

    .faq-item.active .faq-answer {
        padding: 0 20px 20px !important;
    }

    .faq-answer::before {
        left: 24px !important;
        right: 24px !important;
    }

    .toggle-icon {
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }

    #faq .subtitle::after {
        padding: 12px 24px !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 480px) {
    #faq h3 {
        font-size: 2rem !important;
    }

    .faq-question {
        padding: 20px 16px !important;
    }

    .faq-question h4 {
        font-size: 0.95rem !important;
    }

    .faq-answer {
        padding: 0 16px !important;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 20px !important;
    }

    .faq-answer::before {
        left: 16px !important;
        right: 16px !important;
    }

    #faq .subtitle::after {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Animation untuk entrance effect */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

/* Footer */
.new-footer-style {
    background-color: #002366;
    color: var(--white);
    padding: 60px 0 20px;
    font-size: 1em;
}

.new-footer-style a {
    color: var(--white);
    transition: color 0.3s ease;
}

.new-footer-style a:hover {
    color: var(--secondary-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: left;
}

.new-footer-style h3 {
    color: var(--secondary-color);
    font-size: 1.4em;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-about p {
    font-size: 0.9em;
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 1.5em;
    margin-right: 15px;
    color: var(--white);
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.footer-nav ul, .footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li, .footer-contact li {
    margin-bottom: 10px;
    font-size: 0.9em;
}

.footer-nav i, .footer-contact i {
    width: 25px;
    color: var(--secondary-color);
}

.footer-partners .partner-block {
    background-color: #003399;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    text-align: center;
}

.footer-partners .partner-block h4 {
    font-size: 1.1em;
    color: var(--white);
    margin-bottom: 5px;
}

.footer-partners .partner-block p {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.15);
    font-size: 0.9em;
}

.footer-links a {
    margin: 0 15px;
    text-decoration: none;
}

/* ==================
   Authentication Pages (Login/Register)
   ================== */

.auth-section {
    padding: 100px 0;
    background-color: var(--light-bg);
    min-height: calc(100vh - 250px); /* Adjust based on header/footer height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    max-width: 500px;
    width: 100%;
    padding: 0 25px;
}

.auth-box {
    background-color: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.auth-box h2 {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.auth-box p {
    color: var(--grey-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9em;
}

.remember-me {
    display: flex;
    align-items: center;
    color: var(--grey-text);
}

.remember-me input {
    margin-right: 8px;
}

.forgot-password {
    color: var(--secondary-color);
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.auth-footer {
    margin-top: 25px;
    font-size: 0.95em;
    color: var(--grey-text);
}

.auth-footer a {
    color: var(--secondary-color);
    font-weight: 600;
}





/* Ganti atau tambahkan gaya ini di style.css Anda */

/* === FORM STYLING === */
.registration-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.registration-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.registration-card h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.form-subtitle {
    color: var(--grey-text);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-text);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
}

.btn-register-form {
    width: 100%;
    padding: 15px;
    font-size: 1.1em;
    letter-spacing: 1px;
    background-color: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register-form:hover {
    background-color: #218838;
    transform: translateY(-3px);
}

.auth-footer {
    margin-top: 25px;
    font-size: 0.95em;
    color: var(--grey-text);
}

.auth-footer a {
    color: var(--secondary-color);
    font-weight: 600;
}


/* === POPUP MODAL STYLING (SESUAI GAMBAR) === */

.modal {
    display: none; /* Sembunyikan secara default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Latar belakang semi-transparan */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: white;
    padding: 40px;
    border-radius: 16px; /* Sudut sangat melengkung */
    width: 90%;
    max-width: 450px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.modal.show .modal-content {
    transform: scale(1);
}

.checkmark-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px auto;
    background-color: #28a745; /* Hijau */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.checkmark-icon-wrapper i.fa-check {
    color: white;
    font-size: 40px;
    font-weight: bold;
}

.modal-content h3 {
    color: #004d99; /* Biru tua */
    font-size: 2em;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.modal-content p {
    color: #6c757d; /* Abu-abu */
    font-size: 1em;
    margin: 0;
}
