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

body {
    font-family: 'Montserrat', 'Arial', 'Helvetica', sans-serif;
    background-color: #ffffff;
    color: #000000;
    overflow-x: hidden;
}

/* Bootstrap Overrides */
.navbar-toggler {
    border: 1px solid #000;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Menu Button Width */
@media (max-width: 767.98px) {
    .mobile-menu-btn {
        flex: 0 0 auto;
        width: auto;
        min-width: auto;
    }
}

/* Top Banner Section */
.top-banner {
    width: 100%;
    height: auto;
    position: relative;
    z-index: 1001;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Header Section */
.header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    position: relative;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Fixed header when scrolled */
.header.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

.header .navbar {
    padding: 15px 0;
}

.header .container-fluid {
    padding: 0 30px;
}

/* Logo Styles */
.logo-left,
.logo-right {
    flex-shrink: 0;
}

.logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* Mobile Menu Button - Center on mobile */
.mobile-menu-btn {
    order: 2;
}

/* Mobile Layout - Logos and Menu Button */
@media (max-width: 767.98px) {
    .header .navbar {
        flex-wrap: wrap;
    }

    .header .container-fluid {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
    }

    .logo-left {
        order: 1;
        flex: 0 0 auto;
    }

    .mobile-menu-btn {
        order: 2;
        flex: 0 0 auto;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }

    .logo-right {
        order: 3;
        flex: 0 0 auto;
    }

    .navbar-collapse {
        order: 4;
        width: 100%;
        flex-basis: 100%;
    }
}

/* Navigation Menu - Bootstrap Navbar */
.header .navbar-nav {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.header .navbar-nav .nav-item {
    margin: 0;
}

.header .navbar-nav .nav-link {
    text-decoration: none;
    color: #000000;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.3s ease;
    position: relative;
    background: none;
    border: none;
}

.header .navbar-nav .nav-link:hover {
    color: #008000;
}

.header .navbar-nav .nav-link.active {
    text-decoration: underline;
    text-decoration-color: #ff0000;
    text-decoration-thickness: 3px;
    text-underline-offset: 5px;
    color: #000000;
    font-weight: 700;
}

/* Mobile Navigation - Bootstrap Collapse */
@media (max-width: 767.98px) {
    .header .navbar-collapse {
        background-color: #f8f9fa;
        margin-top: 15px;
        padding: 0;
        border-top: 1px solid #e0e0e0;
        order: 4;
    }

    .header .navbar-nav {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .header .navbar-nav .nav-item {
        border-bottom: 1px solid #e0e0e0;
        width: 100%;
    }

    .header .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }

    .header .navbar-nav .nav-link {
        display: block;
        padding: 12px 20px;
        text-align: center;
        width: 100%;
    }

    .header .navbar-nav .nav-link:hover {
        background-color: #e9ecef;
        color: #008000;
    }

    .header .navbar-nav .nav-link.active {
        background-color: #e9ecef;
        text-decoration: underline;
        text-decoration-color: #ff0000;
        text-decoration-thickness: 3px;
        text-underline-offset: 5px;
        font-weight: 700;
    }
}

/* Main Content Section */
/* Video Section */
.video-section {
    width: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    position: relative;
}

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

.main-content {
    width: 100%;
    margin-top: 80px;
}

.main-content img {
    display: block;
    height: auto;
}

/* About Page Styles */
.about-page {
    background-image: url('../img/bg.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.about-content {
    min-height: calc(100vh - 200px);
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    line-height: 1.8;
    font-size: 16px;
}

.about-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 2rem;
}

.about-text h1 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 2rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-text em {
    font-style: italic;
}

.about-text strong {
    font-weight: 600;
}

.about-text a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: bold;
    transition: opacity 0.3s ease;
}

.about-text a:hover {
    opacity: 0.8;
    text-decoration: underline;
    font-weight: bold;
}

@media (max-width: 767.98px) {
    .about-text {
        font-size: 15px;
        padding: 0 15px;
    }

    .about-text h1 {
        font-size: 2rem;
    }
}

/* Event Almanac Styles */
.event-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 2px;
}

.event-tabs-wrapper {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.event-tab-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 40px;
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.event-tab-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.event-tab-btn.active {
    background-color: #90ee90;
    color: #000000;
    border-color: #90ee90;
}

.tab-content-pane {
    width: 100%;
}

.event-table {
    width: 100%;
    color: #ffffff;
    margin-bottom: 30px;
    border-collapse: collapse;
}

.event-table thead th {
    background-color: rgba(0, 100, 100, 0.6);
    color: #ffffff;
    font-weight: bold;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 1px;
}

.event-table thead th:first-child,
.event-table tbody td:first-child {
    width: 150px;
    min-width: 150px;
    white-space: nowrap;
}

.event-table tbody td {
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    vertical-align: middle;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
}

.event-table tbody tr:nth-child(even) td {
    background-color: rgba(0, 0, 0, 0.3);
}

.theme-text {
    font-style: italic;
    color: #90ee90;
    display: block;
    margin-top: 5px;
}

.event-day-title {
    font-size: 2rem;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.session-heading {
    background-color: rgba(0, 100, 100, 0.8);
    font-weight: bold;
    padding: 15px;
}

.event-table tbody tr:has(.session-title) {
    background-color: rgba(0, 100, 100, 0.8);
}

.session-title {
    color: #ffffff;
    font-size: 1.1em;
    font-weight: bold;
}

.session-subtitle {
    color: #ffffff;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.venue-info {
    margin-top: 30px;
    text-align: center;
}

.venue-info p {
    color: #ffffff;
    font-size: 18px;
    margin: 0;
}

.venue-info strong {
    color: #90ee90;
}

@media (max-width: 767.98px) {
    .event-title {
        font-size: 1.8rem;
    }

    .event-tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }

    .event-table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
    }

    .event-table thead th,
    .event-table tbody td {
        padding: 10px 8px;
    }
}

/* Responsive Design with Bootstrap Breakpoints */
@media (max-width: 991.98px) {
    .header .container-fluid {
        padding: 0 15px;
    }

    .header .navbar-nav {
        gap: 8px;
    }
}

@media (max-width: 767.98px) {
    .logo-img {
        width: 60px;
        height: 60px;
    }
}

/* Registration Form Styles */
.registration-form-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    padding: 40px 20px;
    background: #09382B;
    border-radius: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.registration-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.logo-emblem {
    text-align: center;
    color: #90ee90;
}

.ashoka-chakra-logo {
    width: 60px;
    height: 60px;
    border: 2px solid #90ee90;
    border-radius: 50%;
    margin: 0 auto 10px;
    background: radial-gradient(circle, #90ee90 30%, transparent 30%);
    position: relative;
}

.ashoka-chakra-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 1px solid #90ee90;
    border-radius: 50%;
}

.crossed-swords {
    width: 40px;
    height: 40px;
    margin: 10px auto;
    position: relative;
}

.crossed-swords::before,
.crossed-swords::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #90ee90;
    top: 50%;
    left: 50%;
}

.crossed-swords::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.crossed-swords::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.chanakya-text {
    font-size: 3rem;
    font-weight: bold;
    color: #90ee90;
    letter-spacing: 3px;
    margin-top: 15px;
}

.dialogue-text {
    font-size: 1rem;
    color: #90ee90;
    letter-spacing: 2px;
    margin-top: 5px;
}

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

.form-group {
    margin-bottom: 25px;
}

.registration-label {
    display: block;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
}

.registration-input {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 0;
    background-color: #ffffff;
    color: #000000;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

select.registration-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

.registration-input:focus {
    outline: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.registration-input::placeholder {
    color: #999;
}

.registration-input option {
    color: #000;
}

/* File input styling */
input[type="file"].registration-input {
    padding: 10px 15px;
    cursor: pointer;
}

input[type="file"].registration-input::-webkit-file-upload-button {
    background-color: #09382B;
    color: #ffffff;
    border: 1px solid #ffffff;
    padding: 8px 15px;
    border-radius: 0;
    margin-right: 10px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

input[type="file"].registration-input::-webkit-file-upload-button:hover {
    background-color: rgba(0, 100, 100, 0.8);
}

/* Help text styling - make it visible on dark background */
.registration-form .form-text.text-muted {
    color: #ffffff !important;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    opacity: 0.9;
}

/* Ensure all form groups are visible */
.registration-form .form-group {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.form-submit-wrapper {
    text-align: right;
    margin-top: 40px;
    position: relative;
}

.registration-submit-btn {
    background-color: rgba(0, 100, 100, 0.8);
    color: #ffffff;
    border: 2px solid #ffffff;
    padding: 12px 50px;
    border-radius: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.registration-submit-btn:hover {
    background-color: rgba(0, 100, 100, 0.8);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767.98px) {
    .registration-form-container {
        padding: 20px 10px;
    }

    .registration-logo {
        display: none;
    }

    .chanakya-text {
        font-size: 2rem;
    }

    .form-submit-wrapper {
        text-align: center;
    }

    .registration-submit-btn {
        width: 100%;
    }
}

/* Form Error and Success Messages */
.error-message {
    color: #ff6b6b;
    font-size: 14px;
    margin-top: 5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.has-error .registration-input {
    border: 2px solid #ff6b6b;
    background-color: #fff5f5;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px 20px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    border: 2px solid #c3e6cb;
    text-align: center;
}

/* Thank You Message Styles */
.thank-you-message {
    background-color: #09382B;
    padding: 60px 40px;
    border-radius: 0;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thank-you-content {
    max-width: 600px;
    margin: 0 auto;
}

.thank-you-header h2 {
    color: #90ee90;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 30px 0;
    font-family: 'Montserrat', sans-serif;
}

.thank-you-subtitle {
    color: #666666;
    font-size: 18px;
    margin: 0 0 30px 0;
    font-family: 'Montserrat', sans-serif;
}

.registration-details {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid #90ee90;
    padding: 30px;
    margin: 30px 0;
    text-align: left;
    border-radius: 5px;
}

.registration-details h3 {
    color: #90ee90;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 20px 0;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(144, 238, 144, 0.3);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #90ee90;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    flex: 0 0 40%;
}

.detail-value {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    flex: 1;
    text-align: right;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 60%;
}

.registration-id {
    color: #90ee90;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.email-notice {
    margin-top: 30px;
    padding: 20px;
    background-color: rgba(144, 238, 144, 0.1);
    border: 1px solid #90ee90;
    border-radius: 5px;
    text-align: center;
}

.email-notice p {
    color: #90ee90;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.thank-you-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.thank-you-footer p {
    color: #333333;
    font-size: 16px;
    line-height: 1.6;
    margin: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.thank-you-note {
    color: #09382B;
    font-weight: 600;
    font-style: italic;
}

@media (max-width: 767.98px) {
    .thank-you-message {
        padding: 30px 20px;
    }
    
    .thank-you-header h2 {
        font-size: 24px;
    }
    
    .thank-you-subtitle {
        font-size: 16px;
    }
    
    .registration-details {
        padding: 20px 15px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        padding: 12px 0;
    }
    
    .detail-label {
        margin-bottom: 5px;
        flex: none;
    }
    
    .detail-value {
        text-align: left;
        flex: none;
        width: 100%;
        max-width: 100%;
        word-break: break-all;
        overflow-wrap: break-word;
    }
    
    .registration-id {
        font-size: 18px;
    }
}

@media (max-width: 767.98px) {
    .error-message {
        font-size: 12px;
    }
    
    .success-message {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Contact Page Styles */
.contact-section-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(9, 56, 43, 0.8);
    border: 2px solid #ffffff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-item {
    width: 100%;
    margin-bottom: 30px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon-wrapper-square {
    width: 60px;
    height: 60px;
    background-color: #00A386;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.contact-icon {
    font-size: 24px;
    color: #ffffff;
}

.contact-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.contact-info {
    flex: 1;
}

.contact-label {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Montserrat', sans-serif;
}

.contact-details p {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.contact-details a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: #90ee90;
    text-decoration: underline;
}

.follow-us-section {
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-icon {
    color: #ffffff;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: #90ee90;
    transform: translateY(-5px);
}

.social-icon svg {
    width: 40px;
    height: 40px;
}

@media (max-width: 767.98px) {
    .contact-card {
        padding: 30px 20px;
    }

    .contact-icon-wrapper {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }

    .contact-icon {
        font-size: 20px;
    }

    .contact-section-title {
        font-size: 1.5rem;
    }

    .social-icons {
        gap: 20px;
    }

    .social-icon svg {
        width: 35px;
        height: 35px;
    }
}

/* Curtain Raiser Styles */
.curtain-section {
    margin-bottom: 4rem;
}

.curtain-section .row {
    display: flex;
    flex-wrap: wrap;
}

.curtain-section .row > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

.section-title-yellow {
    color: #ffd700;
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background-color: #09382B;
    padding: 15px 20px;
    width: 100%;
    display: block;
}

.speaker-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    height: 100%;
}

.speaker-image-wrapper {
    flex: 1 1 auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    min-height: 0;
}

.speaker-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.speaker-info {
    padding-top: 15px;
    width: 100%;
    flex-shrink: 0;
}

.speaker-name-yellow {
    color: #ffd700;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    white-space: nowrap;
}

.speaker-designation-white {
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0;
    line-height: 1.5;
    white-space: nowrap;
}

@media (max-width: 991.98px) {
    .section-title-yellow {
        font-size: 1.5rem;
        padding: 12px 20px;
    }
    
    .speaker-name-yellow {
        font-size: 1.1rem;
    }
    
    .speaker-designation-white {
        font-size: 0.9rem;
    }
}

@media (max-width: 767.98px) {
    .section-title-yellow {
        font-size: 1.2rem;
        padding: 12px 15px;
    }
    
    .speaker-card {
        padding: 15px;
    }
    
    .speaker-image {
        max-width: 250px;
    }
    
    .speaker-name-yellow {
        font-size: 0.9rem;
    }
    
    .speaker-designation-white {
        font-size: 0.8rem;
    }
}

/* Home Background Section */
.home-bg-section {
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
    padding: 80px 0;
}

.home-bg-section .container {
    z-index: 1;
}

.home-bg-section .content-section {
    color: #ffffff;
    font-size: 18px;
    line-height: 1.8;
    padding: 20px 0;
}

.home-bg-section .content-section p {
    margin-bottom: 25px;
    text-align: justify;
}

.home-bg-section .content-section p:last-child {
    margin-bottom: 0;
}

/* Event Schedule Table */
.event-schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.event-schedule-table thead {
    background-color: rgba(0, 85, 72, 0.8);
}

.event-schedule-table th {
    padding: 12px 15px;
    text-align: left;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.event-schedule-table td {
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 15px;
    vertical-align: top;
}

.event-schedule-table tbody tr {
    background-color: rgba(255, 255, 255, 0.05);
}

.event-schedule-table tbody tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.08);
}

.event-schedule-table tbody tr:hover {
    background-color: rgba(0, 85, 72, 0.3);
}

@media (max-width: 768px) {
    .event-schedule-table {
        font-size: 12px;
    }
    
    .event-schedule-table th,
    .event-schedule-table td {
        padding: 8px 10px;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .home-bg-section {
        min-height: 100vh;
        padding: 60px 0;
    }
    
    .home-bg-section .content-section {
        font-size: 16px;
    }
}

/* Horizontal Navigation Tabs */
.horizontal-nav-tabs {
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
    z-index: 998;
    background-color: transparent;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: top 0.3s ease;
}

/* Add background overlay to sticky tabs to hide content scrolling behind */
.horizontal-nav-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: -1;
    pointer-events: none;
}

/* Ensure content section stays below tabs and scrolls properly */
.home-bg-section .tab-content.content-section {
    position: relative;
    z-index: 1;
    padding-top: 0;
    overflow: visible;
}

/* Ensure tab panes scroll within their container */
.home-bg-section .tab-pane {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .horizontal-nav-tabs {
        margin-bottom: 60px !important;
        display: block !important;
    }
    
    .home-bg-section .row.mt-4 {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* Adjust top position when header is fixed */
.header.header-fixed ~ * .horizontal-nav-tabs,
.home-bg-section .horizontal-nav-tabs {
    top: 100px;
}

.nav-tabs-horizontal {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    gap: 8px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    justify-content: center;
    flex-wrap: wrap;
    border-bottom: none;
}

.nav-tabs-horizontal .nav-item {
    margin-bottom: 0;
}

.nav-tabs-horizontal .nav-link {
    border: none;
    border-radius: 0;
}

.nav-tabs-horizontal .nav-link.active,
.nav-tabs-horizontal .nav-link.show {
    background-color: #006B5A;
    color: #ffffff;
    border: 2px solid transparent;
    padding: 12px 24px;
    font-size: 14px;
    transform: none;
}

.nav-tab-item {
    /* No position needed */
}

.nav-tab-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #005548;
    background-color: #ffffff;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border-radius: 0;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    min-width: 150px;
    width: auto;
    height: auto;
    border: 2px solid transparent;
    margin: 0;
    box-sizing: border-box;
    cursor: pointer;
}

.nav-tab-link button,
button.nav-tab-link {
    background-color: #ffffff;
    border: 2px solid transparent;
    cursor: pointer;
    outline: none;
}

.nav-tab-item {
    margin: 0;
}

.nav-tab-label {
    font-size: 14px;
    font-weight: 700;
    opacity: 1;
    width: auto;
    overflow: visible;
    white-space: nowrap;
    margin: 0;
}

.nav-tab-link.active,
.nav-tab-link.show,
button.nav-tab-link.active,
button.nav-tab-link.show {
    background-color: #006B5A;
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    padding: 12px 24px;
    font-size: 14px;
    transform: none;
}

.nav-tab-link:hover:not(.active),
button.nav-tab-link:hover:not(.active) {
    background-color: #005548;
    color: #ffffff;
    border: 2px solid #ffffff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .horizontal-nav-tabs {
        position: relative !important;
        top: auto !important;
        padding-top: 15px;
        padding-bottom: 20px;
        margin-bottom: 30px;
    }
    
    .nav-tabs-horizontal {
        gap: 4px;
        justify-content: center;
        flex-direction: column;
        margin-bottom: 0;
    }
    
    .nav-tab-item {
        width: 100%;
        margin-bottom: 4px;
    }
    
    .nav-tab-item:last-child {
        margin-bottom: 0;
    }
    
    .nav-tab-link {
        padding: 12px 15px;
        font-size: 14px;
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }
    
    .nav-tab-label {
        white-space: normal;
        word-wrap: break-word;
        text-align: center;
    }
    
    .home-bg-section .content-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
        clear: both;
        position: relative;
        z-index: 1;
    }
    
    .home-bg-section .row.mt-4 {
        margin-top: 0 !important;
        clear: both;
        position: relative;
        z-index: 1;
    }
    
    .home-bg-section .container {
        overflow: visible;
    }
    
    .horizontal-nav-tabs {
        position: relative !important;
        z-index: 2;
    }
}

/* Video Modal Styles */
#videoModal {
    z-index: 1055;
}

/* Show modal when it has .show class (Bootstrap adds this) */
#videoModal.fade.show,
#videoModal.show {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Show modal backdrop when modal is shown */
#videoModal.show ~ .modal-backdrop,
body.modal-open .modal-backdrop {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Hide modal backdrop when modal is not shown */
#videoModal:not(.show) ~ .modal-backdrop,
body:not(.modal-open) .modal-backdrop {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden !important;
}

#videoModal .modal-content {
    background-color: #000;
    border: none;
    border-radius: 0;
}

#videoModal .modal-dialog {
    max-width: 90%;
}

#videoModal video {
    display: block;
    width: 100%;
    height: auto;
    max-height: 90vh;
}

#videoModal .modal-header {
    padding: 10px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    border: none;
}

#videoModal .video-close-btn {
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.9;
    transition: opacity 0.3s ease, background-color 0.3s ease, transform 0.2s ease;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    pointer-events: auto;
    z-index: 1060;
    position: relative;
}

#videoModal .video-close-btn:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.5);
}

#videoModal .video-close-btn:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.5);
    outline: none;
}

@media (max-width: 767.98px) {
    #videoModal .video-close-btn {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 767.98px) {
    #videoModal .modal-dialog {
        max-width: 95%;
        margin: 10px auto;
    }
    
    #videoModal video {
        max-height: 85vh;
    }
}

