:root {
    --dark-bg: #000000; /* Slightly darker background */
    --card-bg: #181818; /* Slightly darker card */
    --primary-orange: #D87500; /* Classy Orange */
    --light-text: #EAEAEA;
    --medium-text: #B0B0B0;
    --dark-text: #FFFFFF; /* For contrast on orange buttons */
    --border-color: #333333;
    --modal-bg: rgba(0, 0, 0, 0.85);
    --online-brand: #ebf7ff; /* Mature Green for card accents/tags */
    --offline-brand: var(--primary-orange);
    --loader-color: var(--primary-orange);
    --font-primary: 'Zain', sans-serif; /* New body font */
    --font-headings: 'Bakbak One', cursive; /* New heading font */
    --tag-paid-bg: var(--offline-brand);
    --tag-free-bg: var(--online-brand);
    --header-height: 120px; /* Approximate header height for sticky calculations */
    --online-button-bg: #005f1b; /* Vibrant Green for online register buttons */
    --button-rules-bg: #555555; /* Gray for rules buttons */
    --button-rules-text: #EAEAEA;
}

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

body {
    font-family: var(--font-primary);
    background-color: var(--dark-bg);
    color: var(--light-text);
    line-height: 1.6;
    background-image: url('background.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative; /* For pseudo-element overlay */
}

body::before { /* Overlay for better text readability over background image */
    content: "";
    position: fixed; /* Changed to fixed to cover viewport */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(18, 18, 18, 0.94); /* Increased opacity for darker overlay */
    z-index: -1; /* Behind content */
}


/* Preloader Styles */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.loader {
    border: 8px solid var(--card-bg); /* Light grey */
    border-top: 8px solid var(--loader-color); /* Orange */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

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

.loaded .loader-wrapper {
    opacity: 0;
    visibility: hidden; /* Hide after transition */
}


header {
    text-align: center;
    margin-bottom: 0; /* Adjusted for sticky registration */
    padding: 30px 20px; /* Added padding */
    min-height: var(--header-height);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}

header h1 {
    font-size: 3em; /* Slightly larger */
    color: var(--primary-orange);
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-family: var(--font-headings);
}

header .subtitle {
    font-size: 1.3em;
    color: var(--medium-text);
    font-weight: 300;
    font-family: var(--font-primary);
    margin-bottom: 15px; /* Add space below subtitle before brochure button */
}

/* Brochure Button Styles */
.brochure-container {
    text-align: center; /* Center the button */
    margin-bottom: 20px; /* Space below the button container */
}

.brochure-button {
    display: inline-block;
    background-color: var(--primary-orange);
    color: var(--dark-text);
    padding: 12px 25px; /* Slightly increased padding */
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em; /* Slightly increased font size */
    font-family: var(--font-primary);
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    border: 2px solid var(--primary-orange); /* Base border color */
    box-shadow: 0 0 0px var(--primary-orange); /* Initial glow state for transition */
    position: relative; /* Needed for potential pseudo-elements if desired */
    display: inline-flex; /* Align icon and text vertically */
    align-items: center; /* Align icon and text vertically */
}

.brochure-icon { /* New style for the SVG icon */
    width: 1.2em; /* Adjust size as needed */
    height: 1.2em;
    margin-right: 8px;
    vertical-align: middle; /* Helps with alignment if not using flex */
    fill: var(--light-text); /* Color for the SVG - assuming it's a single color SVG */

}

.brochure-button:hover {
    background-color: #E88A1D; /* Slightly darker orange on hover */
    transform: scale(1.05);
    box-shadow: 0 0 15px var(--primary-orange), 0 0 5px var(--primary-orange) inset; /* Glowing effect */
    border-color: #E88A1D; /* Match hover background */
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative; /* Ensure main content is above the pseudo-element */
    z-index: 1;
}

.event-section {
    margin-bottom: 50px;
    padding-top: 20px; /* Add padding if registration is sticky above it */
}

.section-title {
    font-size: 2.2em;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-orange);
    text-align: center;
    font-family: var(--font-headings);
}

.section-title-small {
    font-size: 1.5em;
    color: var(--primary-orange);
    margin-bottom: 15px;
    text-align: center;
    font-family: var(--font-headings);
}

.offline-title { border-color: var(--offline-brand); color: var(--offline-brand); }
.online-title { border-color: var(--online-brand); color: var(--online-brand); }

.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider min for cards */
    gap: 30px; /* Increased gap */
}

.event-card {
    background-color: var(--card-bg);
    border-radius: 12px; /* More rounded */
    padding: 0; /* Remove padding, image will be edge-to-edge */
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden; /* To contain poster image */
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02); /* More interactive hover */
    box-shadow: 0 12px 25px rgba(0,0,0,0.4);
}

.event-card-poster {
    width: 100%;
    height: 200px; /* Fixed height for poster */
    object-fit: cover; /* Crop image to fit */
    border-bottom: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-poster {
    transform: scale(1.05); /* Subtle zoom on poster */
}

.event-card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between; /* Ensures buttons are at bottom */
}

.event-card-top-info {
    margin-bottom: 15px; /* Space between info and buttons */
}

.event-card-buttons {
    display: flex;
    flex-direction: row; /* Align buttons in a row */
    gap: 10px; /* Space between buttons */
    margin-top: auto; /* Pushes buttons to the bottom */
    justify-content: space-between; /* Distribute space if buttons don't fill width */
}

.event-card h3 {
    font-size: 1.4em; /* Adjusted size */
    margin-bottom: 10px; /* Increased margin to make space for tags below */
    font-weight: 700;
    font-family: var(--font-headings);
}

.event-card-tags-container {
    display: flex;
    flex-wrap: wrap; /* Allow tags to wrap to next line if many */
    gap: 8px; /* Space between tags */
    margin-bottom: 15px; /* Space below tags, before buttons */
}

.event-tag {
    display: inline-block;
    padding: 6px 12px; /* Slightly increased padding */
    border-radius: 6px;
    font-size: 0.85em; /* Increased font size */
    font-weight: 500; /* Poppins medium */
    line-height: 1.3;
    font-family: var(--font-primary);
    
    /* Glassmorphic style */
    background-color: rgba(255, 255, 255, 0.1); /* Light, low-opacity white */
    backdrop-filter: blur(5px); /* Blur effect for glassmorphism */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle light border */
    color: var(--light-text); /* Ensure text is readable */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Subtle shadow for depth */
    text-transform: capitalize;
}

/* Remove specific background/border colors for individual tag types */
.tag-paid,
.tag-free,
.tag-event-type,
.tag-offline,
.tag-online,
.tag-participation,
.tag-time {
    /* background-color: transparent; */ /* No, keep the glassmorphic one */
    /* border-color: transparent; */   /* No, keep the glassmorphic one */
    /* color: var(--light-text); */ /* Already set in .event-tag */
}

/* We can still differentiate paid/free slightly if needed, e.g., by text color or a small icon/prefix */
/* For now, they will share the same glassmorphic look */

.tag-paid::before {
    /* content: "₹ "; */ /* Remove a currency symbol for paid events */
    content: ""; /* Ensure no content is added */
}

.tag-free::before {
    /* content: "✓ "; */ /* Remove a check for free events */
    content: ""; /* Ensure no content is added */
    /* color: var(--online-button-bg); */
}

.tag-event-mode {
    /* This class is not used if the JS block for it is commented out */
}

.tag-event-type {
    background-color: #4A4A4A; /* Neutral dark gray */
    color: var(--light-text);
    border-color: #303030;
}

.tag-event-mode {
    /* Handled by .tag-offline and .tag-online */
}

.tag-offline {
    background-color: var(--offline-brand); /* Orange */
    color: var(--dark-text);
    border-color: #C06500;
}
.tag-online {
    background-color: var(--online-brand); /* Mature Green */
    color: var(--light-text);
    border-color: #3B5C50;
}

.tag-participation {
    background-color: #6c757d; /* Bootstrap secondary color - a neutral gray */
    color: var(--light-text);
    border-color: #545b62;
}

.tag-time {
    background-color: #1f2425; /* Bootstrap info color - a teal/blue */
    color: var(--light-text);
    border-color: #117a8b;
}

.event-rules-button,
.event-register-button {
    /* background-color: var(--primary-orange); Removed default */
    /* color: var(--dark-text); Removed default */
    border: none;
    padding: 5px 0; /* Adjusted padding, width will control horizontal space */
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
    font-size: 1.3em;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    width: calc(50% - 5px); /* Each button takes roughly half the space minus gap */
    flex-grow: 1; /* Allow buttons to grow if one is hidden or for better spacing */
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    font-family: var(--font-primary);
}

.event-rules-button:hover,
.event-register-button:hover {
    transform: scale(1.03) translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Offline Card Button Specifics */
.event-card.offline-card .event-rules-button {
    background-color: var(--button-rules-bg);
    color: var(--button-rules-text);
}
.event-card.offline-card .event-register-button {
    background-color: var(--primary-orange);
    color: var(--dark-text);
}
.event-card.offline-card .event-rules-button:hover {
    background-color: #666666; /* Darker gray */
}
.event-card.offline-card .event-register-button:hover {
    background-color: #E88A1D;
}

/* Online Card Button Specifics */
.event-card.online-card .event-rules-button {
    background-color: var(--button-rules-bg);
    color: var(--button-rules-text);
}
.event-card.online-card .event-register-button {
    background-color: var(--online-button-bg);
    color: #FFFFFF; /* White text on vibrant green */
}
.event-card.online-card .event-rules-button:hover {
    background-color: #666666; /* Darker gray */
}
.event-card.online-card .event-register-button:hover {
    background-color: #27AE60; /* Darker vibrant green */
}


/* Remove old general .event-card.online-card .event-rules-button styling if it conflicts */
/* This was targeting both buttons with online-brand color, now handled specifically */
.event-card.online-card .event-rules-button {
    /* background-color: var(--online-brand); */ /* This line is now overridden or can be removed */
    /* color: var(--light-text); */ /* This line is now overridden or can be removed */
}

/* Ensure old hover styles for online card buttons are also handled or removed if they conflict */
.event-card.online-card .event-rules-button:hover {
    /* background-color: #3B5C50; */ /* This line is now overridden or can be removed */
}


/* Registration Section - Sticky */
#registration {
    text-align: center;
    padding: 20px; /* Reduced padding for sticky */
    background-color: rgba(20, 20, 20, 0.95); /* Darker, more opaque for sticky */
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    position: sticky;
    top: 0;
    z-index: 900; /* Below loader, above other content */
    width: 100%;
    margin-bottom: 30px; /* Space below sticky registration */
}

#registration h2.section-title {
    margin-bottom: 10px; /* Adjusted for new summary */
    font-size: 3em;
    border-bottom: none;
    font-family: var(--font-headings);
}

.sticky-pricing-summary {
    margin-bottom: 15px; /* Space before CTA buttons */
    padding: 8px 15px;
    background-color: rgba(0, 0, 0, 0.04); /* Subtle dark background */
    border-radius: 10px;
    text-align: center;
    
}

.sticky-pricing-summary p {
    margin: 5px 0;
    font-size: 1.4em;
    color: var(--light-text);
    font-family: var(--font-primary);
    font-weight: 500; /* Poppins Medium */
}

.sticky-pricing-summary p strong {
    color: var(--primary-orange);
    font-weight: 700; /* Poppins Bold */
}

.sticky-pricing-summary .online-free-note {
    font-size: 1.7em;
    color: #1ed139; /* Vibrant green for emphasis */
    font-weight: 600; /* Poppins Semibold */
}

.mobile-registration-note {
    display: none; /* Hidden by default, shown on mobile */
    color: var(--medium-text);
    margin-bottom: 15px;
    font-family: var(--font-primary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px 40px; /* Adjusted gap */
    flex-wrap: wrap;
}

.cta-button {
    padding: 12px 25px; /* Adjusted padding */
    border-radius: 8px; /* More rounded */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.7em;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    margin-bottom: 10px;
    font-family: var(--font-primary);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.03); /* Enhanced hover */
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.offline-cta {
    background-color: var(--offline-brand);
    color: var(--dark-text); /* White text on orange */
}
.offline-cta:hover {
    background-color: #E88A1D;
    border-color: #C06500;
}

.online-cta {
    background-color: var(--online-brand);
    color: var(--dark-bg); /* Dark text on green */
}
.online-cta:hover {
    background-color: #00AD47;
    border-color: #008F3A;
}

/* Styles for Coming Soon buttons */
.cta-button.coming-soon {
    background-color: var(--medium-text); /* Gray background */
    color: var(--dark-bg); /* Dark text */
    cursor: not-allowed; /* Show not-allowed cursor */
    opacity: 0.7; /* Slightly faded */
    border-color: var(--medium-text);
}

.cta-button.coming-soon:hover {
    background-color: var(--medium-text); /* Maintain gray background on hover */
    color: var(--dark-bg); /* Maintain dark text on hover */
    transform: none; /* Disable hover transform */
    box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Keep original shadow or remove */
    border-color: var(--medium-text);
}

/* Pricing Note Section */
#pricing-note {
    background-color: transparent; /* Container is transparent */
    padding: 30px 20px;
    border: none;
    max-width: 900px;
    margin: 60px auto;
    box-shadow: none;
    text-align: left;
    /* position: sticky; */ /* REVERTED - No longer sticky */
    /* top: 175px; */      /* REVERTED */
    /* z-index: 890; */     /* REVERTED */
}

#pricing-note .pricing-details {
    /* Styles for the main card remain */
}

#pricing-note .section-title-small {
    text-align: center; /* Keep this title centered */
    font-size: 3em; /* Make it more prominent */
    margin-bottom: 30px;
    color: var(--primary-orange);
}

.pricing-details {
    background-color: var(--card-bg); /* Put content on a card */
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    padding: 70px;

}

.pricing-details p,
.pricing-details ul {
    margin-bottom: 18px; /* Increase spacing */
    color: var(--medium-text);
    font-size: 1.4em; /* Slightly larger text */

}

.pricing-details strong {
    color: var(--light-text);
    font-weight: 700; /* Zain bold */
}

.pricing-details ul {
    list-style: none;
    padding-left: 0;
}

.pricing-details ul li {
    padding-left: 25px; /* Indent list items more */
    position: relative;
    margin-bottom: 10px; /* Space between list items */
}

.pricing-details ul li::before {
    content: "\27A4"; /* Using a different, classier arrow/bullet */
    color: var(--primary-orange);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -25px; /* Align with new padding */
    position: absolute;
    left: 10px; /* Adjust if necessary */
    top: 2px; /* Vertical alignment */
}

.pricing-details .highlight-note {
    color: var(--primary-orange);
    font-weight: bold; /* Zain bold */
    font-size: 1.3em;
    text-align: center;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(216, 117, 0, 0.1); /* Faint orange background */
    border-radius: 8px;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 50px;
    border-top: 1px solid var(--border-color);
    color: var(--medium-text);
    font-size: 1em;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: var(--modal-bg);
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto; /* Adjusted for potentially sticky header */
    padding: 35px;
    border: 1px solid var(--border-color);
    border-radius: 12px; /* More rounded */
    width: 85%;
    max-width: 750px; /* Slightly larger max-width */
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.6);
    color: var(--light-text);
}

.close-button {
    color: var(--medium-text);
    position: absolute; /* Position relative to modal-content */
    top: 15px;
    right: 20px;
    font-size: 32px; /* Larger close button */
    font-weight: bold;
    transition: color 0.3s ease, transform 0.2s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--primary-orange);
    text-decoration: none;
    cursor: pointer;
    transform: scale(1.1);
}

#modal-poster {
    width: 100%;
    max-width: 200px; /* Or your preferred size */
    height: auto;
    border-radius: 5px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#modal-title {
    color: var(--primary-orange);
    font-size: 1.8em;
    margin-bottom: 15px;
    font-family: var(--font-headings);
}

.modal-content p {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--medium-text);
    font-family: var(--font-primary);
}

.modal-content p strong {
    color: var(--light-text);
}

.modal-content h4 {
    font-size: 1.2em;
    color: var(--primary-orange);
    margin-top: 20px;
    margin-bottom: 10px;
    font-family: var(--font-headings);
}

#modal-rules {
    list-style: none;
    padding-left: 0;
}

#modal-rules li {
    padding-left: 20px;
    margin-bottom: 8px;
    position: relative;
    font-family: var(--font-primary);
}

#modal-rules li::before {
    content: "\2023"; /* Triangle bullet */
    color: var(--primary-orange);
    position: absolute;
    left: 0;
    top: 2px;
}

#modal-rules .tag {
    background-color: var(--primary-orange);
    color: var(--dark-text); /* Ensure contrast */
    padding: 3px 8px; /* Slightly more padding */
    border-radius: 5px;
    font-size: 0.85em; /* Slightly larger tag text */
    font-weight: bold;
    margin-right: 8px;
    font-family: var(--font-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        background-attachment: scroll; 
        padding-top: 0; /* Ensure no double padding with sticky */
    }
    header h1 { font-size: 2.2em; }
    header .subtitle { font-size: 1.0em; }
    .section-title { font-size: 1.8em; }

    .important-notice {
        width: calc(100% - 30px); /* 15px space on each side */
    }

    #registration {
        position: static; /* Disable sticky on mobile if it causes issues */
        margin-bottom: 30px; /* Restore margin if not sticky */
        border-bottom: 1px solid var(--border-color); /* Add back border if needed */
    }
    #registration h2.section-title {
        font-size: 1.6em; /* Adjust for non-sticky on mobile */
    }

    #pricing-note {
        /* position: static; /* This is now the default, so this specific line can be removed if no other overrides */
        /* margin: 40px auto; /* Ensure it has its normal mobile margin */
    }

    .event-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-card-poster {
        height: 180px; /* Adjust poster height for mobile */
    }

    .cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        align-items: center; 
    }
    .cta-button {
        width: 80%; /* Make buttons take more width */
        margin-bottom: 10px; /* Add space between stacked buttons */
    }
    .cta-buttons a:last-child {
        margin-bottom: 0;
    }

    .registration-note-2 {
        font-size: 1.2em;
        color: var(--light-text);
    }

    .mobile-registration-note {
        display: block; /* Show mobile note */
    }

    #registration .cta-buttons {
        display: flex; /* Ensure flex is still applied for alignment */
    }

    .modal-content {
        width: 90%;
        margin: 20% auto; /* Adjust margin for better centering on mobile */
        padding: 20px;
    }

    #modal-title { font-size: 1.5em; }
}

@media (max-width: 480px) {
    header h1 { font-size: 2em; }
    header .subtitle { font-size: 0.9em; }
    .section-title { font-size: 1.6em; }
    
    .important-notice {
        width: calc(100% - 20px); /* 10px space on each side */
    }
    
    #registration h2.section-title {
        font-size: 1.4em;
    }
    .cta-button { font-size: 1.1em; padding: 10px 20px;} /* Adjusted padding */
    #pricing-note { padding: 20px; }
    .pricing-details ul li::before { margin-left: -1em; }
    .modal-content {
        margin: 15% auto;
        padding: 25px;
    }
    #modal-title { font-size: 1.6em; }
    .event-card-poster {
        height: 160px; /* Adjust poster height for smaller mobile */
    }
}

/* Specific Grid Layouts */
#offline-events .event-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Default responsive */
}

#online-events .event-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Default responsive */
}

/* Larger screen adjustments for specific column counts */
@media (min-width: 992px) { /* Medium devices (tablets, landscape) up to large desktops */
    #offline-events .event-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    #online-events .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) and (max-width: 991px) { /* Small tablets */
    #offline-events .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    #online-events .event-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Contact Queries Section */
#contact-queries {
    padding: 40px 20px;
    text-align: center;
    margin-top: 40px; /* Space above this section */
}

#contact-queries .section-title {
    margin-bottom: 30px;
}

.contact-container {
    display: flex;
    justify-content: space-around; /* Distribute space for 2 items */
    align-items: flex-start; /* Align items to the top */
    flex-wrap: wrap; /* Wrap on smaller screens */
    gap: 30px; /* Gap between contact persons */
    max-width: 800px; /* Max width for the container */
    margin: 0 auto; /* Center the container */
}

.contact-person {
    background-color: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    width: calc(50% - 40px); /* Adjust width for two cards, considering gap and padding */
    min-width: 280px; /* Minimum width before wrapping */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.contact-name {
    font-family: var(--font-headings);
    font-size: 1.8em;
    color: var(--primary-orange);
    margin-bottom: 5px;
}

.contact-number {
    font-family: var(--font-primary);
    font-size: 1.2em;
    color: var(--light-text);
    margin-bottom: 15px;
    font-weight: 500;
}

.whatsapp-button {
    display: inline-flex; /* Align icon and text */
    align-items: center;
    justify-content: center;
    background-color: var(--primary-orange); /* WhatsApp Green */
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-family: var(--font-primary);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    gap: 8px; /* Space between icon and text */
}

.whatsapp-button:hover {
    background-color: #1DAE54; /* Darker WhatsApp Green */
    transform: scale(1.05);
}

.whatsapp-icon {
    width: 24px; /* Adjust size as needed */
    height: 24px;
}

/* Responsive adjustments for contact section */
@media (max-width: 600px) {
    .contact-person {
        width: 100%; /* Stack contact persons on smaller screens */
        max-width: 350px; /* Limit width even when stacked */
    }
}

/* Important Notice Styles */
.important-notice {
    background-color: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    border-radius: 8px;
    padding: 15px 20px;
    margin: 0 auto 30px;
    max-width: 1000px;
    text-align: center;
    animation: pulse 2s infinite;
}

.important-notice h2 {
    color: #dc3545;
    font-family: var(--font-headings);
    font-size: 1.6em;
    margin-bottom: 10px;
}

.important-notice p {
    margin-bottom: 8px;
    font-size: 1.4em;
}

.schedule-notice {
    margin-top: 15px;
    padding: 10px;
    background-color: rgba(220, 53, 69, 0.1);
    border: 1px solid #dc3545;
    border-radius: 6px;
}

.schedule-notice p {
    margin: 0;
    font-size: 1.3em;
    line-height: 1.4;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(220, 53, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
}

/* FAQ Section Styles */
#faq-section {
    padding: 40px 20px;
    margin-top: 40px;
    scroll-margin-top: 380px; /* Offset for the sticky registration header on desktop */
}

#faq-section .section-title {
    margin-bottom: 40px; /* More space below title */
    color: var(--primary-orange);
}

.faq-container {
    max-width: 900px;
    margin: 0 auto; /* Reverted top margin, auto for sides */
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    background-color: transparent; /* Match card background */
    color: var(--light-text);
    cursor: pointer;
    padding: 20px 25px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.3em; /* Larger question text */
    font-family: var(--font-headings); /* Heading font for questions */
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover,
.faq-question.active {
    background-color: rgba(255, 255, 255, 0.05); /* Subtle hover/active state */
    color: var(--primary-orange);
}

.faq-icon {
    font-size: 1.5em;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0px 25px; /* Initial padding, top/bottom will transition */
    background-color: transparent; /* Match card background */
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Smooth transition */
    color: var(--medium-text);
    font-family: var(--font-primary);
}

.faq-answer p,
.faq-answer ul {
    padding-bottom: 20px; /* Add padding to the content itself */
    margin:0;
    font-size: 1.1em;
    line-height: 1.7;
}

.faq-answer ul {
    list-style-type: disc;
    padding-left: 20px; /* Indent list items */
    margin-top:10px;
}

.faq-answer ul li {
    margin-bottom: 8px;
}

.faq-answer strong {
    color: var(--light-text);
    font-weight: 600;
} 