﻿/* ========================================
   GLOBAL STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0D2E55;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@font-face {
  font-family: mainFont;
  src: url(fonts/FiraSans-Regular.ttf);
}
@font-face {
  font-family: mainFont;
  src: url(fonts/FiraSans-Bold.ttf);
  font-weight: bold;
}
body {font-family: mainFont;}

/* ========================================
   MUIS FOOTER BOX
   ======================================== */
.muis-footer-box {
    background: linear-gradient(135deg, rgba(13,46,85,.75) 0%, rgba(1,79,134,.75) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    position: relative;
    z-index: 99;
}

.muis-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.muis-logo-link {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.muis-logo-link:hover {
    transform: scale(1.05);
}

.muis-logo {
    height: 45px;
    width: auto;
}

.muis-footer-links {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.muis-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.08);
}

.muis-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.muis-link svg {
    flex-shrink: 0;
    stroke: currentColor;
}

.muis-link-text {
    white-space: nowrap;
}

@media (max-width: 992px) {
    .muis-footer-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .muis-footer-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .muis-footer-box {
        padding: 25px 0;
        margin-top: 40px;
    }
    
    .muis-logo {
        height: 35px;
    }
    
    .muis-footer-links {
        gap: 15px;
    }
    
    .muis-link {
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 576px) {
    .muis-footer-box {
        padding: 20px 0;
    }
    
    .muis-logo {
        height: 30px;
    }
    
    .muis-footer-links {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .muis-link {
        width: 100%;
        justify-content: center;
    }
    
    .muis-link-text {
        font-size: 12px;
    }
}

/* ========================================
   PRELOADER STYLES
   ======================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #0D2E55;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

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

.loading-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 2px;
    margin: 0;
}

/* ========================================
   BACKGROUND IMAGES
   ======================================== */
.left-image,
.top-right-image,
.bottom-left-image,
.bottom-right-image {
    position: fixed;
    opacity: 0;
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.left-image {
    left: -100%;
    height: 100vh;
}

.left-image.show {
    opacity: 1;
    left: -20vw;
}

.top-right-image {
    right: -100%;
    top: 0;
    height: 15vh;
}

.top-right-image.show {
    opacity: 1;
    right: 0;
}

.bottom-left-image {
    left: -100%;
    bottom: 0;
    height: 45vh;
}

.bottom-left-image.show {
    opacity: 1;
    left: 0;
}

.bottom-right-image {
    right: -100%;
    bottom: 0;
    height: 35vh;
}

.bottom-right-image.show {
    opacity: 1;
    right: 0;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: relative;
    z-index: 100;
    padding: 1rem 0;
    opacity: 0;
    animation: fadeInNav 0.8s ease 1s forwards;
}

@keyframes fadeInNav {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-brand img {
    transition: transform 0.3s ease;
    margin-bottom: -4rem;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-dark .navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link.active::befores {
    width: 80%;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    color: #ffffff;
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.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%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ========================================
   CONTENT SECTION
   ======================================== */
.content-section {
    position: relative;
    z-index: 10;
    min-height: calc(100vh - 100px);
    padding-top: 40px;
    padding-bottom: 80px;
}

.center-table {min-height: calc(100vh - 100px);}

.content-container {
    background-color: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 60px;
    opacity: 0;
    animation: slideUpContent 0.8s ease 1.2s forwards;
}

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

/* ========================================
   PAGE HEADER
   ======================================== */
.page-header {
    margin-bottom: 50px;
}

.page-title {
    color: #0D2E55;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(135deg, #0d2e55 0%, #68a7aa 100%);
    margin: 0 auto;
    border-radius: 2px;
}

.page-subtitle {
    color: #666;
    font-size: 18px;
    font-weight: 400;
}

/* ========================================
   CONTENT IMAGES
   ======================================== */
.content-image-container {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.content-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

.plenary-image-container {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.plenary-image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   CURRICULUM PILLARS - Item #32
   ======================================== */
.curriculum-pillars-container {
    margin: 40px 0;
}

.pillar-card {
    background: #0D2E55;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    height: 100%;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.pillar-blue {
    background: linear-gradient(135deg, #1e5a8e 0%, #2b7bb9 100%);
}

.pillar-purple {
    background: linear-gradient(135deg, #7b4397 0%, #9b59b6 100%);
}

.pillar-navy {
    background: linear-gradient(135deg, #0a1e3d 0%, #1a3a5c 100%);
}

.pillar-title {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px;
}

.pillar-description {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    font-weight: 400;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .pillar-card {
        min-height: 260px;
        padding: 35px 25px;
    }
    
    .pillar-title {
        font-size: 22px;
    }
    
    .pillar-description {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .curriculum-pillars-container {
        margin: 30px 0;
    }
    
    .pillar-card {
        min-height: auto;
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .pillar-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .pillar-description {
        font-size: 14px;
        line-height: 1.6;
    }
}

@media (max-width: 576px) {
    .pillar-card {
        padding: 25px 20px;
    }
    
    .pillar-title {
        font-size: 18px;
    }
}

/* ========================================
   PROGRAMME OUTLINE TABLE - Item #2
   ======================================== */
.programme-outline-container {
    margin: 40px 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.programme-outline-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   SECTION CARDS
   ======================================== */
.section-card {
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f5;
}

.section-card:last-child {
    border-bottom: none;
}

.section-title {
    color: #0D2E55;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
}

.subsection-title {
    color: #014F86;
    font-size: 24px;
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 20px;
}

.subsection-subtitle {
    color: #014F86;
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
}

.content-text {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: justify;
}

/* ========================================
   HIGHLIGHT CARD
   ======================================== */
.highlight-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 16px;
    padding: 40px;
    border: 2px solid #dee2e6;
}

.symposium-theme {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.theme-title {
    color: #014F86;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
}

/* ========================================
   INFO BOXES
   ======================================== */
.info-box {
    background: #f8f9fa;
    border-left: 4px solid #007AFF;
    border-radius: 8px;
    padding: 25px;
}

.info-title {
    color: #0D2E55;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}

.dimension-list {
    list-style: none;
    padding: 0;
}

.dimension-list li {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.dimension-list li::before {
    content: '•';
    color: #007AFF;
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -5px;
}

.dimension-list li strong {
    color: #014F86;
}

.resource-list {
    list-style: none;
    padding: 0;
}

.resource-list li {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.resource-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    top: 0;
}

.resource-list a {
    color: #007AFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.resource-list a:hover {
    color: #0051D5;
    text-decoration: underline;
}

/* ========================================
   EVENT DETAILS BOX
   ======================================== */
.event-details-box {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.details-title {
    color: #0D2E55;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.details-grid {
    display: grid;
    gap: 15px;
}

.detail-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f5;
}

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

.detail-label {
    font-weight: 600;
    color: #666;
    min-width: 80px;
}

.detail-value {
    color: #333;
    line-height: 1.6;
}

/* ========================================
   THEME BOX (Programme Page) - Item #7
   ======================================== */
.theme-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f2ff 100%);
    border-left: 4px solid #007AFF;
    border-radius: 12px;
    padding: 30px;
}

.key-questions {
    margin-top: 25px;
}

.question-list {
    padding-left: 20px;
}

.question-list li {
    color: #333;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 12px;
}

/* ========================================
   SPEAKER CARDS - Item #8, #9, #10, #11
   ======================================== */
.speaker-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.speaker-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.person-photo img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	object-position: center top;
	border-radius: 50rem;
	margin: 1rem 0;
	border: 2px solid #0051D5;
}
.person-name {font-weight: bold;}
.person-role {font-style: italic; opacity: .75;}

.speaker-image-placeholder img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	border-radius: 12px;
}

.speaker-image-placeholder {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.initials {
    color: white;
    font-size: 48px;
    font-weight: 700;
}

.speaker-name {
    color: #0D2E55;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.speaker-title {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.speaker-content {
    margin-top: 20px;
}

.content-label {
    color: #014F86;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Item #9 - Make Synopsis title blue */
.content-label.text-dark {
    color: #014F86 !important;
}

/* ========================================
   WORKSHOP CARDS - Item #12, #13, #14, #15, #16
   ======================================== */
.workshop-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.workshop-card:hover {
    border-color: #007AFF;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.15);
}

.workshop-header {
    background: linear-gradient(135deg, #0d2e55 0%, #68a7aa 100%);
    padding: 25px 30px;
    color: white;
    position: relative;
}

.workshop-number {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.workshop-title {
    color: white;
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.workshop-content {
    padding: 30px;
}

.facilitator-list,
.speaker-list {
    list-style: none;
    padding: 0;
}

.facilitator-list li,
.speaker-list li {
    color: #333;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.facilitator-list li::before,
.speaker-list li::before {
    content: '→';
    color: #007AFF;
    position: absolute;
    left: 0;
}

.presentation-topic {
    color: #666;
    font-style: italic;
    font-size: 14px;
    margin-top: 5px;
}

.chair-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    color: #333;
    font-size: 14px;
}

/* ========================================
   FEEDBACK FORM STYLES
   ======================================== */
.form-section {
    padding: 30px 0;
    border-bottom: 2px solid #f0f0f5;
}

.form-section:last-of-type {
    border-bottom: none;
}

.section-heading {
    color: #0D2E55;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #007AFF;
}

.form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 15px;
}

.required-field::after {
    content: " *";
    color: #dc3545;
}

.form-control,
.form-select {
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    padding: 12px 15px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: #007AFF;
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 255, 0.15);
    outline: none;
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* ========================================
   RATING SCALES
   ======================================== */
.rating-scale {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-option input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.rating-option label {
    margin: 0;
    cursor: pointer;
    color: #333;
    font-weight: 500;
}

.statement-rating {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.statement-text {
    color: #333;
    font-weight: 500;
    margin-bottom: 12px;
    font-size: 15px;
}

.rating-inline {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.rating-inline label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 15px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
}

.rating-inline label:hover {
    border-color: #007AFF;
    background: #f0f7ff;
}

.rating-inline input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.rating-inline input[type="radio"]:checked + * {
    color: #007AFF;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */
.btn-submit {
    background: linear-gradient(135deg, #014F86 0%, #007AFF 100%);
    border: none;
    color: white;
    padding: 15px 60px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 79, 134, 0.3);
}

.btn-submit:hover {
    background: linear-gradient(135deg, #007AFF 0%, #014F86 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 79, 134, 0.4);
    color: white;
}

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

/* ========================================
   THANK YOU MESSAGE
   ======================================== */
.thank-you-message {
    text-align: center;
    padding: 60px 30px;
    opacity: 0;
    animation: fadeInScale 0.6s ease forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.success-icon {
    margin-bottom: 30px;
}

.thank-you-title {
    color: #0D2E55;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
}

.thank-you-text {
    color: #333;
    font-size: 20px;
    margin-bottom: 10px;
}

.thank-you-subtext {
    color: #666;
    font-size: 16px;
}

.btn-home {
    background: #007AFF;
    border: none;
    color: white;
    padding: 12px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-home:hover {
    background: #0051D5;
    transform: translateY(-2px);
    color: white;
}

/* ========================================
   THANK YOU POPUP MODAL - FEEDBACK PAGE ONLY
   ======================================== */
.thank-you-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.thank-you-popup.show {
    opacity: 1;
    visibility: visible;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
}

.popup-content {
    position: relative;
    background: white;
    border-radius: 24px;
    padding: 60px 50px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.thank-you-popup.show .popup-content {
    transform: scale(1);
    animation: popupBounce 0.5s ease;
}

@keyframes popupBounce {
    0% {
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.success-icon-popup {
    margin-bottom: 30px;
    animation: successIconScale 0.6s ease 0.3s both;
}

@keyframes successIconScale {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.success-icon-popup svg {
    display: inline-block;
}

.popup-title {
    color: #0D2E55;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    animation: fadeInUp 0.5s ease 0.5s both;
}

.popup-text {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.6;
    animation: fadeInUp 0.5s ease 0.6s both;
}

.popup-subtext {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
    line-height: 1.5;
    animation: fadeInUp 0.5s ease 0.7s both;
}

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

.btn-popup-home {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    border: none;
    color: white;
    padding: 14px 45px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 122, 255, 0.3);
    animation: fadeInUp 0.5s ease 0.8s both;
}

.btn-popup-home:hover {
    background: linear-gradient(135deg, #0051D5 0%, #007AFF 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 122, 255, 0.4);
}

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

.section-card {opacity: 1 !important;}

/* Mobile Responsive */
@media (max-width: 576px) {
    .popup-content {
        padding: 40px 30px;
    }
    
    .popup-title {
        font-size: 28px;
    }
    
    .popup-text {
        font-size: 16px;
    }
    
    .popup-subtext {
        font-size: 14px;
    }
    
    .btn-popup-home {
        padding: 12px 35px;
        font-size: 15px;
    }
}

/* Print Styles */
@media print {
    .thank-you-popup {
        display: none !important;
    }
}

.scroll-indicator-home {display: none;}

/* ========================================
   MOBILE RESPONSIVE STYLES
   ======================================== */

@media (max-width: 1760px) {
    .navbar-brand img {margin-bottom: -2rem; height: 75px;}
}

@media (max-width: 1200px) {
    .left-image,
    .top-right-image,
    .bottom-left-image,
    .bottom-right-image {
        height: auto;
        max-width: 30%;
    }
}

@media (max-width: 992px) {
    .content-container {
        padding: 50px 40px;
    }
    
    .page-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {

.navbar-brand img {margin-bottom: 0;}
.content-section {padding-top: 0 !important;}

    .left-image,
    .top-right-image,
    .bottom-left-image,
    .bottom-right-image {
        opacity: 0.7 !important;
        max-width: 40%;
    }
    
    .content-container {
        padding: 40px 30px;
        border-radius: 20px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .subsection-title {
        font-size: 22px;
    }
    
    .theme-title {
        font-size: 22px;
    }
    
    .speaker-card {
        padding: 20px;
    }
    
    .speaker-image-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .initials {
        font-size: 36px;
    }
    
    .workshop-header {
        padding: 20px;
    }
    
    .workshop-title {
        font-size: 20px;
    }
    
    .workshop-content {
        padding: 20px;
    }
    
    .rating-inline {
        gap: 10px;
    }
    
    .rating-inline label {
        padding: 6px 12px;
        font-size: 14px;
    }
    
    .btn-submit {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .content-container {
        padding: 30px 20px;
        border-radius: 16px;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .content-text {
        font-size: 15px;
        text-align: left;
    }
    
    .event-details-box,
    .info-box,
    .theme-box {
        padding: 20px;
    }
    
    .section-heading {
        font-size: 22px;
    }
    
    .statement-rating {
        padding: 15px;
    }
    
    .rating-inline {
        flex-direction: column;
        gap: 8px;
    }
    
    .rating-inline label {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .navbar,
    .left-image,
    .top-right-image,
    .bottom-left-image,
    .bottom-right-image,
    .preloader,
    .muis-header-box {
        display: none !important;
    }
    
    body {
        background: white;
    }
    
    .content-container {
        box-shadow: none;
        padding: 20px;
    }
}

/* ========================================
   SMOOTH TRANSITIONS
   ======================================== */
.content-container.fade-out {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.5s ease;
}

/* ========================================
   PROGRAMME SCHEDULE STYLES - MODERN REDESIGN
   ======================================== */
.programme-schedule-section {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.programme-schedule-section.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.programme-schedule-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.schedule-header {
    background: linear-gradient(135deg, #0d2e55 0%, #014F86 100%);
    padding: 40px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.schedule-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.schedule-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 10px 0;
    position: relative;
    z-index: 1;
}

.schedule-date {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin: 0;
    position: relative;
    z-index: 1;
}

.schedule-body {
    padding: 20px;
}

.schedule-section {
    margin-bottom: 20px;
    position: relative;
}

.schedule-section.highlight {
    background: linear-gradient(135deg, #f0f7ff 0%, #e6f3ff 100%);
    border-radius: 16px;
    padding: 20px;
    border: 2px solid #d0e7ff;
}

.section-label {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-label.morning {
    background: linear-gradient(135deg, #ffd89b 0%, #ffb347 100%);
    color: #7d4e00;
}

.section-label.plenary {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
}

.section-label.afternoon {
    background: linear-gradient(135deg, #a8e6cf 0%, #7fd4a8 100%);
    color: #006b3d;
}

.schedule-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 25px;
    padding: 25px;
    margin-bottom: 10px;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e8e8e8;
    transition: all 0.3s ease;
    align-items: start;
}

.schedule-item:hover {
    border-color: #007AFF;
    box-shadow: 0 4px 20px rgba(0, 122, 255, 0.1);
    transform: translateX(5px);
}

.schedule-item.featured {
    border-left: 4px solid #007AFF;
    background: #fafcff;
}

.time-badge {
    background: #f5f5f7;
    color: #0D2E55;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 8px;
    text-align: center;
    white-space: nowrap;
}

.time-badge.featured {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
}

.item-content {
    flex: 1;
}

.item-title {
    color: #0D2E55;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.item-speaker {
    color: #666;
    font-size: 15px;
    margin: 8px 0 0 0;
    line-height: 1.6;
}

.item-speaker strong {
    color: #333;
    font-weight: 600;
}

.item-speaker span {
    display: block;
    font-size: 14px;
    color: #999;
    font-style: italic;
    margin-top: 2px;
}

/* Speaker Grid */
.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.speaker-mini {
    display: flex;
    gap: 12px;
    align-items: start;
    padding: 15px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.speaker-mini:hover {
    border-color: #007AFF;
    box-shadow: 0 2px 12px rgba(0, 122, 255, 0.1);
}

.speaker-number {
    background: linear-gradient(135deg, #007AFF 0%, #0051D5 100%);
    color: #ffffff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.speaker-mini strong {
    display: block;
    color: #0D2E55;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.speaker-mini p {
    color: #666;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

/* Workshop Container */
.workshops-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.workshop-mini {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
}

.workshop-mini:hover {
    border-color: #007AFF;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 122, 255, 0.1);
}

.workshop-tag {
    display: inline-block;
    background: linear-gradient(135deg, #0d2e55 0%, #014F86 100%);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.workshop-mini p {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .schedule-header {
        padding: 35px 40px;
    }
    
    .schedule-title {
        font-size: 32px;
    }
    
    .schedule-date {
        font-size: 16px;
    }
    
    .schedule-item {
        grid-template-columns: 100px 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .speakers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .schedule-header {
        padding: 30px 30px;
    }
    
    .schedule-title {
        font-size: 28px;
    }
    
    .schedule-body {
        padding: 15px;
    }
    
    .schedule-section.highlight {
        padding: 15px;
    }
    
    .schedule-item {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 18px;
    }
    
    .time-badge {
        width: fit-content;
    }
    
    .item-title {
        font-size: 16px;
    }
    
    .workshops-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .schedule-header {
        padding: 25px 20px;
    }
    
    .schedule-title {
        font-size: 24px;
    }
    
    .schedule-date {
        font-size: 14px;
    }
    
    .schedule-body {
        padding: 10px;
    }
    
    .schedule-section {
        margin-bottom: 15px;
    }
    
    .schedule-section.highlight {
        padding: 12px;
    }
    
    .schedule-item {
        padding: 15px;
    }
    
    .section-label {
        font-size: 11px;
        padding: 6px 14px;
    }
    
    .time-badge {
        font-size: 13px;
        padding: 6px 12px;
    }
    
    .item-title {
        font-size: 15px;
    }
    
    .item-speaker {
        font-size: 14px;
    }
    
    .speaker-mini {
        padding: 12px;
    }
    
    .workshop-mini {
        padding: 15px;
    }
}

/* ========================================
   HOMEPAGE SPECIFIC STYLES
   ======================================== */

/* ========================================
   HOMEPAGE CARDS
   ======================================== */
.homepage-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.homepage-card.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.homepage-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

/* ========================================
   HOMEPAGE IMAGE CONTAINER
   ======================================== */
.homepage-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    height: 100%;
    min-height: 400px;
}

.homepage-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.homepage-card:hover .homepage-image-container img {
    transform: scale(1.08);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.homepage-card:hover .image-overlay {
    opacity: 1;
}

.rounded-custom {
    border-radius: 16px;
}

/* ========================================
   HOMEPAGE CONTENT
   ======================================== */
.homepage-content {
    padding: 50px 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.homepage-heading {
    color: #0D2E55;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.homepage-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #0d2e55 0%, #68a7aa 100%);
    border-radius: 2px;
}

.homepage-subheading {
    color: #333;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: justify;
}

/* ========================================
   HOMEPAGE BUTTONS
   ======================================== */
.btn-homepage {
    display: inline-block;
    background: linear-gradient(135deg, #0d2e55 0%, #68a7aa 100%);
    color: white;
    padding: 14px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(1, 79, 134, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-homepage::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #68a7aa 0%, #0d2e55 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-homepage:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 79, 134, 0.4);
}

.btn-homepage:hover::before {
    left: 0;
}

/* Item #27 - Make button containers equal height */
.homepage-content .d-flex.flex-wrap {
    min-height: 52px;
    align-items: center;
}

/* ========================================
   CONTACT BAR
   ======================================== */
.contact-bar {
    background: linear-gradient(135deg, #0d2e55 0%, #68a7aa 100%);
    border-radius: 20px;
    padding: 30px 40px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(1, 79, 134, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.contact-bar.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-icon {
    width: 24px;
    height: 24px;
    color: white;
    flex-shrink: 0;
}

.contact-link {
    color: white;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.contact-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-social:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* ========================================
   SCROLL INDICATOR
   ======================================== */
.scroll-indicator-home {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 60px;
    opacity: 0;
    animation: fadeInScroll 1s ease 2s forwards, bounceScroll 2s ease-in-out 3s infinite;
    cursor: pointer;
}

@keyframes fadeInScroll {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 0.7;
        transform: translateY(0);
    }
}

@keyframes bounceScroll {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

.scroll-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.scroll-icon svg {
    width: 24px;
    height: 24px;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========================================
   AOS ANIMATION DELAYS
   ======================================== */
[data-aos] {
    transition-property: transform, opacity;
    transition-duration: 0.8s;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos="fade-up"] {
    transform: translateY(30px);
    opacity: 0;
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
    opacity: 1;
}

[data-aos-delay="100"] {
    transition-delay: 100ms;
}

[data-aos-delay="200"] {
    transition-delay: 200ms;
}

[data-aos-delay="300"] {
    transition-delay: 300ms;
}

/* ========================================
   HOMEPAGE RESPONSIVE DESIGN
   ======================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 1200px) {
    .homepage-heading {
        font-size: 28px;
    }
    
    .homepage-subheading {
        font-size: 15px;
    }
    
    .homepage-content {
        padding: 40px 35px;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .homepage-card {
        margin-bottom: 40px !important;
    }
    
    .homepage-image-container {
        min-height: 350px;
        border-radius: 24px 24px 0 0;
    }
    
    .homepage-content {
        padding: 35px 30px;
    }
    
    .homepage-heading {
        font-size: 26px;
    }
    
    .homepage-subheading {
        font-size: 15px;
        text-align: left;
    }
    
    .contact-bar {
        padding: 25px 30px;
    }
    
    .contact-text {
        font-size: 16px;
    }
}

/* Mobile Landscape */
@media (max-width: 768px) {
    .homepage-card {
        border-radius: 20px;
    }
    
    .homepage-image-container {
        min-height: 300px;
        border-radius: 20px 20px 0 0;
    }
    
    .homepage-content {
        padding: 30px 25px;
    }
    
    .homepage-heading {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .homepage-heading::after {
        width: 50px;
        height: 3px;
    }
    
    .homepage-subheading {
        font-size: 14px;
        margin-bottom: 25px;
    }
    
    .btn-homepage {
        padding: 12px 35px;
        font-size: 15px;
    }
    
    .contact-bar {
        padding: 20px 25px;
        border-radius: 16px;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .contact-text {
        font-size: 15px;
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator-home {
        margin-top: 40px;
    }
}

/* Mobile Portrait */
@media (max-width: 576px) {
    .homepage-card {
        border-radius: 16px;
        margin-bottom: 30px !important;
    }
    
    .homepage-image-container {
        min-height: 250px;
        border-radius: 16px 16px 0 0;
    }
    
    .homepage-content {
        padding: 25px 20px;
    }
    
    .homepage-heading {
        font-size: 22px;
    }
    
    .homepage-subheading {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .btn-homepage {
        width: 100%;
        text-align: center;
        padding: 12px 30px;
    }
    
    .contact-bar {
        padding: 20px;
    }
    
    .contact-text {
        font-size: 14px;
    }
    
    .contact-icon {
        width: 20px;
        height: 20px;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .homepage-heading {
        font-size: 20px;
    }
    
    .homepage-subheading {
        font-size: 13px;
    }
    
    .homepage-image-container {
        min-height: 220px;
    }
    
    .contact-text {
        font-size: 13px;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #0d2e55 0%, #68a7aa 100%);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(1, 79, 134, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: linear-gradient(135deg, #68a7aa 0%, #0d2e55 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(1, 79, 134, 0.5);
}

.scroll-to-top:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 15px rgba(1, 79, 134, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
    color: white;
}

/* Pulse animation when button first appears */
.scroll-to-top.show {
    animation: pulseButton 0.6s ease;
}

@keyframes pulseButton {
    0% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(0) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}

/* Focus state for accessibility */
.scroll-to-top:focus {
    outline: 3px solid rgba(255, 255, 255, 0.5);
    outline-offset: 3px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 576px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .scroll-to-top svg {
        width: 18px;
        height: 18px;
    }
}

/* Print - hide button */
@media print {
    .scroll-to-top {
        display: none !important;
    }
}
