:root {
    --primary-color: #006646; /* Updated to #006646 */
    --secondary-color: #1a3a5f; /* Changed from green to blue */
    --accent-color: #d4af37; /* Gold accent */
}

/* Fixed Navigation */
.navbar {
    position: fixed !important;
    top: 0;
    width: 100%;
    z-index: 1030;
    transition: all 0.3s ease;
    background: white !important;
}

/* Body padding for fixed navbar */
body {
    padding-top: 80px !important;
}

/* Navbar shrink effect on scroll */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0.5rem 0;
}

/* Active menu item */
.nav-item .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
    position: relative;
}

.nav-item .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Dropdown active state */
.dropdown-item.active {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* VIDEO BACKGROUND HERO SECTION - UPDATED */
.video-hero-section {
    position: relative;
    height: 85vh; /* Increased height for full-screen effect */
    min-height: 600px;
    overflow: hidden;
    margin-bottom: 0; /* Remove margin so countdown sits flush below */
    background-color: #000; /* Black background while video loads */
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0; /* Start hidden */
    transition: opacity 0.8s ease;
}

.video-background.loaded {
    opacity: 1; /* Fade in when loaded */
}

.video-background.loading {
    filter: blur(5px); /* Blur effect while loading */
}

/* Video placeholder while loading */
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 102, 70, 0.7), rgba(0, 102, 70, 0.5)), 
                url('images/du-014.jpg') center/cover no-repeat;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.video-placeholder.hidden {
    display: none;
}

/* Video loading spinner */
.video-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Text and Button at Bottom of Video */
.video-bottom-content {
    position: absolute;
    bottom: 60px; /* Positioned above countdown area */
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

/* Clean Text on Video - No Background */
.video-text-clean {
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 30px;
}

.conference-moto {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    font-style: italic;
    margin-bottom: 30px;
}

/* Register Button on Video */
.btn-video-register {
    background: linear-gradient(135deg, var(--accent-color), #b8941f);
    color: white;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: inline-block;
}

.btn-video-register:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    color: white;
    background: linear-gradient(135deg, #b8941f, #a0851c);
}

/* Single Row Countdown Card - BELOW VIDEO (not overlapping) */
.countdown-section {
    background: linear-gradient(135deg, var(--primary-color), #005538);
    padding: 40px 0;
    margin-top: 0; /* No margin - sits directly below video */
    position: relative;
    z-index: 1;
}

.countdown-single-row {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px 35px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    max-width: 900px;
    margin: 0 auto;
}

.countdown-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.countdown-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    text-align: center;
}

.countdown-item {
    flex: 1;
    padding: 15px 10px;
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

.countdown-label {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 600;
}

.countdown-separator {
    font-size: 3rem;
    color: var(--primary-color);
    font-weight: 300;
    margin: 0 10px;
}

/* Conference Description Section */
.conference-description {
    background: white;
    padding: 80px 0 60px;
    text-align: justify;
}

.description-content {
    margin: 0 auto;
    text-align: justify;
}

.description-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 30px;
    font-size: 2.2rem;
    text-align: justify;
}

.description-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 40px;
    text-align: justify;
}

.vision-objectives-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 50px;
}

.vision-box, .objectives-box {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.vision-box h4, .objectives-box h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.objectives-list {
    list-style: none;
    padding-left: 0;
}

.objectives-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 30px;
    font-size: 1.05rem;
}

.objectives-list li:last-child {
    border-bottom: none;
}

.objectives-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Previous Conferences Section - Full Slider */
.previous-conferences-section {
    background: linear-gradient(to bottom, rgba(248, 249, 250, 0.9), rgba(255, 255, 255, 0.9));
    padding: 60px 0;
    border-radius: 15px;
    margin: 80px 0;
    backdrop-filter: blur(10px);
}

.previous-conferences-section .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

.previous-conferences-swiper {
    padding: 20px 0 60px;
    border-radius: 15px;
    overflow: hidden;
}

.previous-conferences-swiper .swiper-slide {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(0, 102, 70, 0.1);
}

.previous-conference-card {
    background: transparent;
    padding: 20px;
    border-radius: 15px;
    height: 100%;
}

.conference-year {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.conference-theme {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-style: italic;
}

.conference-details {
    margin-top: 20px;
}

.panels-section h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 15px;
}

.panels-section ul {
    list-style: none;
    padding-left: 0;
}

.panels-section li {
    padding: 5px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 20px;
}

.panels-section li:before {
    content: "•";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.stats-section {
    display: flex;
    gap: 30px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.previous-conference-image {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.previous-conference-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.previous-conference-image:hover img {
    transform: scale(1.05);
}

/* Swiper Customization */
.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
    background: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-pagination-bullet {
    background: #ccc;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Keynote Speakers Section - UPDATED */
.speakers-section {
    background: #f8f9fa;
    padding: 80px 0;
    margin: 60px 0;
}

.speakers-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 50px;
    font-size: 2.2rem;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.speakers-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: var(--accent-color);
}

.speakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    justify-items: center;
}

.speaker-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.speaker-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.speaker-img-container {
    height: 250px;
    overflow: hidden;
    flex-shrink: 0;
}

.speaker-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Changed to contain for full image visibility */
    object-position: center;
    transition: transform 0.5s ease;
    background: #f8f9fa; /* Background color for transparent images */
    padding: 10px;
}

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

.speaker-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.speaker-name {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 10px;
    line-height: 1.2;
}

.speaker-title {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.speaker-organization {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1rem;
    flex-shrink: 0;
}

.speaker-bio {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: auto;
}

/* Single Row Sponsors Section */
.sponsors-section {
    background: white;
    padding: 60px 0;
    margin: 60px 0;
    border-radius: 15px;
    border: 2px solid #f0f0f0;
}

.sponsors-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 40px;
    font-size: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.sponsors-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-color);
}

.sponsors-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.sponsor-card-single {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    width: 200px;
    height: 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sponsor-card-single:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.sponsor-logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.sponsor-logo {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.sponsor-card-single:hover .sponsor-logo {
    transform: scale(1.08);
}

.sponsor-name {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin: 0;
    line-height: 1.3;
}

/* Section Title */
.section-title {
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 150px;
    height: 3px;
    background: var(--secondary-color);
}

/* Panel Cards */
.panel-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: 100%;
    border-top: 5px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.panel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.panel-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.panel-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.panel-list {
    list-style: none;
    padding-left: 0;
}

.panel-list li {
    padding: 5px 0;
    border-bottom: 1px solid #eee;
}

.panel-list li:last-child {
    border-bottom: none;
}

.panel-list li::before {
    content: "▸";
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Deadline Card */
.deadline-card {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 10px;
    padding: 25px;
    border-left: 5px solid var(--primary-color);
}

.deadline-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.deadline-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.deadline-date {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.deadline-title {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

/* Guidelines Box */
.guidelines-box {
    background: linear-gradient(135deg, var(--primary-color), #005538);
    color: white;
    border-radius: 15px;
    padding: 30px;
}

.guidelines-box h4 {
    color: var(--accent-color);
    margin-bottom: 25px;
}

.guidelines-list li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
}

.guidelines-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Contact Box */
.contact-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
    border-top: 4px solid var(--primary-color);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Journal Link */
.journal-link {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.journal-link:hover {
    background: #005538;
    color: white;
    transform: translateY(-2px);
}

/* Stats Box */
.stats-box {
    background: white;
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 4px solid var(--primary-color);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stats-label {
    color: var(--secondary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========== REGISTRATION PAGE STYLES ========== */

/* Registration Background */
.registration-background {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    overflow: hidden;
}

.registration-background .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/conference-bg.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

/* Animated Background Elements */
.bg-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.bg-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 102, 70, 0.1);
}

.circle-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 5%;
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 10%;
    background: rgba(26, 58, 95, 0.1);
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 15%;
    background: rgba(212, 175, 55, 0.1);
}

.circle-4 {
    width: 100px;
    height: 100px;
    top: 20%;
    right: 20%;
    background: rgba(0, 102, 70, 0.1);
}

/* Registration Card Wrapper */
.registration-card-wrapper {
    position: relative;
    z-index: 2;
}

/* Free Badge */
.free-badge-wrapper {
    position: relative;
    margin-bottom: 30px;
    text-align: center;
}

.free-badge {
    display: inline-block;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
    animation: badgePulse 2s infinite;
    border: 2px solid white;
}

@keyframes badgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 30px rgba(40, 167, 69, 0.4);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
    }
}

/* Floating Card - NO BOUNCE ANIMATION */
.floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    /* Removed the float animation - card stays still */
}

.floating-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Form Styling */
.form-select-lg, .form-control-lg {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.form-select-lg:focus, .form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 70, 0.25);
    background: white;
}

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

/* Register Button */
.btn-register {
    background: linear-gradient(135deg, var(--primary-color), #005538);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 102, 70, 0.3);
}

.btn-register:hover {
    background: linear-gradient(135deg, #005538, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 70, 0.4);
}

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

/* Registration Benefits */
.registration-benefits {
    margin-top: 40px;
}

.benefit-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.benefit-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-item h6 {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 0;
}

/* Input Group Styling */
.input-group-text {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.input-group .form-control-lg {
    border-left: none;
}

.input-group .form-control-lg:focus {
    border-left: 2px solid var(--primary-color);
    margin-left: -2px;
}

/* Divider Styling */
hr {
    border-top: 2px dashed #dee2e6;
    opacity: 0.5;
}

/* ========== FOOTER STYLES ========== */

.footer-section {
    background: var(--primary-color);
    color: white;
    padding: 30px 0 20px;
}

.footer-title {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 25px;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    margin-top: 40px;
    text-align: center;
}

.copyright p {
    margin-bottom: 0.5rem;
    color: #eee;
}

.university-logo {
    max-height: 80px;
    margin-bottom: 20px;
}

/* CTA Card */
.cta-card {
    background: linear-gradient(135deg, var(--primary-color), #005538) !important;
}

/* Navigation Links */
.nav-link {
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.dropdown-item:hover {
    background-color: rgba(0, 102, 70, 0.1);
    color: var(--primary-color) !important;
}

/* Utility Classes */
.navbar-brand span {
    color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

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

@media (max-width: 768px) {
    /* Video Hero Section */
    .video-hero-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .video-bottom-content {
        bottom: 40px;
        padding: 0 15px;
    }
    
    .conference-moto {
        font-size: 2rem;
    }
    
    .btn-video-register {
        padding: 16px 35px;
        font-size: 1.1rem;
    }
    
    /* Countdown */
    .countdown-row {
        flex-wrap: wrap;
    }
    
    .countdown-item {
        flex: 0 0 calc(25% - 10px);
        margin-bottom: 10px;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .countdown-separator {
        display: none;
    }
    
    /* Vision Objectives Grid */
    .vision-objectives-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* Speakers */
    .speakers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .speaker-img-container {
        height: 220px;
    }
    
    /* Previous Conferences */
    .previous-conferences-swiper .swiper-slide {
        padding: 20px;
    }
    
    .previous-conference-image {
        height: 250px;
        margin-top: 20px;
    }
    
    .stats-section {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Sponsors */
    .sponsors-row {
        gap: 25px;
    }
    
    .sponsor-card-single {
        width: 170px;
        height: 120px;
        padding: 20px;
    }
    
    .sponsor-logo-container {
        height: 50px;
    }
    
    /* Registration Page */
    .registration-background {
        padding: 60px 0;
    }
    
    .floating-card:hover {
        transform: none;
    }
    
    .free-badge {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .bg-circle {
        display: none;
    }
    
    .benefit-item {
        margin-bottom: 20px;
    }
    
    .registration-benefits .row {
        margin: 0 -10px;
    }
    
    .registration-benefits .col-md-3 {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    /* Video Hero Section */
    .video-hero-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .conference-moto {
        font-size: 1.6rem;
    }
    
    .countdown-item {
        flex: 0 0 calc(50% - 10px);
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .countdown-title {
        font-size: 1.1rem;
    }
    
    .btn-video-register {
        padding: 14px 30px;
        font-size: 1rem;
    }
    
    /* Speakers */
    .speakers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .speaker-img-container {
        height: 200px;
    }
    
    /* Previous Conferences */
    .previous-conference-image {
        height: 200px;
    }
    
    .previous-conference-card {
        padding: 15px;
    }
    
    /* Sponsors */
    .sponsors-row {
        gap: 15px;
    }
    
    .sponsor-card-single {
        width: 140px;
        height: 110px;
        padding: 15px;
    }
    
    .sponsor-logo-container {
        height: 45px;
    }
    
    .sponsor-name {
        font-size: 0.9rem;
    }
    
    /* Registration Page */
    .registration-background {
        padding: 40px 0;
    }
    
    .card-body {
        padding: 25px !important;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
}

/* Form Validation Styling */
.was-validated .form-control:valid,
.was-validated .form-select:valid {
    border-color: #28a745;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
    border-color: #dc3545;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
}
/* ========== LOGIN PAGE STYLES ========== */

/* Login Background */
.login-background {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    overflow: hidden;
}

.login-background .bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/login-bg.jpg') center/cover no-repeat;
    opacity: 0.05;
    z-index: 0;
}

/* Login Card */
.login-card-wrapper {
    position: relative;
    z-index: 2;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.login-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Form Styling */
.login-card .form-control-lg {
    border-radius: 10px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
}

.login-card .form-control-lg:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 70, 0.25);
    background: white;
}

.login-card .input-group-text {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    font-weight: 600;
}

.login-card .input-group .form-control-lg {
    border-left: none;
}

.login-card .input-group .form-control-lg:focus {
    border-left: 2px solid var(--primary-color);
    margin-left: -2px;
}

/* Password Toggle Button */
#togglePassword {
    border-color: #e9ecef;
    color: #6c757d;
    transition: all 0.3s ease;
}

#togglePassword:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(0, 102, 70, 0.1);
}

/* Remember Me Checkbox */
.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 70, 0.25);
}

/* Login Button */
.login-card .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), #005538);
    border: none;
    border-radius: 10px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 102, 70, 0.3);
}

.login-card .btn-primary:hover {
    background: linear-gradient(135deg, #005538, var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 102, 70, 0.4);
}

.login-card .btn-primary:active {
    transform: translateY(-1px);
}

/* Register Link */
.text-center a {
    transition: all 0.3s ease;
}

.text-center a:hover {
    color: #005538 !important;
    text-decoration: underline !important;
}

/* Help Information Alert */
.alert-info {
    background: rgba(0, 102, 70, 0.1);
    border: 1px solid rgba(0, 102, 70, 0.2);
    border-left: 4px solid var(--primary-color);
    border-radius: 10px;
}

.alert-info h6 {
    color: var(--primary-color);
    font-weight: 700;
}

.alert-info p {
    color: var(--secondary-color);
}

/* Conference Info */
.conference-info {
    color: #666;
}

.conference-info i {
    color: var(--primary-color);
}

/* Responsive Design for Login */
@media (max-width: 768px) {
    .login-background {
        padding: 60px 0;
    }
    
    .login-card:hover {
        transform: none;
    }
    
    .card-body {
        padding: 30px !important;
    }
}

@media (max-width: 480px) {
    .login-background {
        padding: 40px 0;
    }
    
    .card-body {
        padding: 25px !important;
    }
    
    .display-5 {
        font-size: 2.2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .alert-info {
        padding: 15px;
    }
    
    .alert-info h6 {
        font-size: 0.9rem;
    }
    
    .alert-info p {
        font-size: 0.8rem;
    }
}
/* ========== WELCOME SECTION STYLES ========== */

/* Welcome Image Container */
.welcome-image-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.welcome-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.welcome-image:hover {
    transform: scale(1.02);
}

.image-caption {
    color: #666;
    font-size: 0.9rem;
    padding: 0 10px;
}

/* ========== VISION & OBJECTIVES STYLES ========== */

/* Vision Box Styles (col-4) */
.vision-box {
    background: linear-gradient(135deg, rgba(0, 102, 70, 0.05), rgba(0, 102, 70, 0.1));
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.vision-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, rgba(0, 102, 70, 0.1), rgba(0, 102, 70, 0.15));
}

.vision-title {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.vision-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.vision-icon {
    text-align: center;
    margin-bottom: 25px;
}

.vision-text {
    color: #333;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Objectives Box Styles (col-8) */
.objectives-box {
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.05), rgba(26, 58, 95, 0.1));
    padding: 35px;
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.objectives-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    background: linear-gradient(135deg, rgba(26, 58, 95, 0.1), rgba(26, 58, 95, 0.15));
}

.objectives-title {
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 15px;
}

.objectives-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-color);
}

.objectives-icon {
    text-align: center;
    margin-bottom: 25px;
}

.objectives-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.objectives-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    padding-left: 35px;
    font-size: 1.05rem;
    color: #333;
    line-height: 1.6;
}

.objectives-list li:last-child {
    border-bottom: none;
}

.objectives-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.3rem;
    background: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

/* Remove old vision-objectives-grid styles */
.vision-objectives-grid {
    display: none;
}

/* Responsive Design for Welcome Section */
@media (max-width: 992px) {
    .welcome-image {
        height: 350px;
    }
    
    .vision-box,
    .objectives-box {
        padding: 25px;
    }
    
    .vision-title,
    .objectives-title {
        font-size: 1.3rem;
    }
    
    .vision-text,
    .objectives-list li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .welcome-image {
        height: 300px;
    }
    
    .vision-box,
    .objectives-box {
        margin-bottom: 20px;
    }
    
    .vision-box:hover,
    .objectives-box:hover {
        transform: none;
    }
}

@media (max-width: 576px) {
    .welcome-image {
        height: 250px;
    }
    
    .vision-box,
    .objectives-box {
        padding: 20px;
    }
    
    .vision-title,
    .objectives-title {
        font-size: 1.2rem;
    }
    
    .vision-text,
    .objectives-list li {
        font-size: 0.95rem;
    }
    
    .objectives-list li {
        padding-left: 30px;
    }
}
<style>
/* Sub-Themes Styling */
.sub-themes-section {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #006646;
}

.sub-themes-title {
    color: #006646;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.sub-themes-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sub-theme-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 10px;
    background: white;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease;
}

.sub-theme-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: #006646;
}

.sub-theme-name {
    color: #333;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Panel Card Adjustments for Sub-Themes */
.panel-card {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-left: 5px solid var(--primary-green);
    transition: transform 0.3s ease;
    border: 1px solid var(--light-green);
    display: flex;
    flex-direction: column;
}

.panel-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 102, 70, 0.15);
}

.panel-description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 0;
}

/* Make sure sub-themes section doesn't overflow */
.panel-card .sub-themes-section {
    flex-grow: 1;
    overflow: hidden;
}

@media (max-width: 768px) {
    .sub-theme-item {
        padding: 6px 8px;
    }
    
    .sub-theme-name {
        font-size: 0.9rem;
    }
    
    .sub-themes-title {
        font-size: 1rem;
    }
}
</style>