html {
    scroll-behavior: smooth;
}

/* Skip Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #5bc0de;
    color: white;
    padding: 8px;
    z-index: 10001;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: bold;
}

.skip-link:focus {
    top: 0;
}

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

body {
    font-family: "Libre Franklin", sans-serif;
    line-height: 1.6;
    color: #333;
    transition: opacity 0.3s ease;
    background: #f5f5f5;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #5bc0de, #5a4a8a);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4aa8d4, #4a3d7a);
}

.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mandala {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    opacity: 0.1;
    background-image: repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 10px, rgba(91, 192, 222, 0.3) 10px, rgba(91, 192, 222, 0.3) 20px), repeating-radial-gradient(circle at 50% 50%, transparent 0, transparent 20px, rgba(74, 61, 122, 0.3) 20px, rgba(74, 61, 122, 0.3) 30px);
    animation: rotate-mandala 60s linear infinite;
}

.mandala-1 {
    top: 10%;
    left: -10%;
    animation-duration: 80s;
}

.mandala-2 {
    bottom: 15%;
    right: -5%;
    animation-duration: 70s;
    animation-direction: reverse;
}

.mandala-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    opacity: 0.02;
    animation-duration: 100s;
}

@keyframes rotate-mandala {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.floating-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(91, 192, 222, 0.4);
    border-radius: 50%;
    animation: float 15s ease-in-out infinite;
}

.floating-particle:nth-child(4) {
    left: 20%;
    top: 20%;
    animation-delay: 0s;
}

.floating-particle:nth-child(5) {
    left: 80%;
    top: 60%;
    animation-delay: 5s;
    animation-duration: 20s;
}

.floating-particle:nth-child(6) {
    left: 50%;
    top: 80%;
    animation-delay: 10s;
    animation-duration: 18s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.6;
    }

    50% {
        transform: translate(-30px, -100px) scale(0.8);
        opacity: 0.4;
    }

    75% {
        transform: translate(80px, -30px) scale(1.1);
        opacity: 0.5;
    }
}

.top-info-bar,
.top-header,
.main-nav,
section,
footer {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Momo Trust Sans', 'Libre Franklin', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

p {
    font-family: 'Libre Franklin', sans-serif;
    font-weight: 400;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

html {
    scroll-behavior: smooth;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.fade-in {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.animate-on-scroll:not(.visible) {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-left.animate-on-scroll:not(.visible) {
    opacity: 0;
    transform: translateX(-50px);
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 1;
    transform: translateX(0);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.slide-in-right.animate-on-scroll:not(.visible) {
    opacity: 0;
    transform: translateX(50px);
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #5a4a8a 0%, #6b5a9a 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-logo {
    margin-bottom: 30px;
}

.loader-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(90deg, #fff, #5bc0de, #fff);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

.loader-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes shimmer {
    to {
        background-position: 200% center;
    }
}

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #5bc0de, #5a4a8a);
    width: 0%;
    z-index: 999;
    transition: width 0.1s ease;
    box-shadow: 0 2px 10px rgba(91, 192, 222, 0.5);
}

.gradient-text {
    background: linear-gradient(135deg, #5a4a8a 0%, #5bc0de 100%);
    -webkit-background-clip: text;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title {
    background: #ffffff;
    -webkit-background-clip: text;
    background-clip: text;
}

.banner-title {
    text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3);
}

.bearer-card {
    position: relative;
    padding-top: 90px;
    margin-bottom: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: auto;
    background: transparent !important;
    box-shadow: none !important;
    overflow: visible;
}

.bearer-card:hover {
    transform: translateY(-8px);
}

.bearer-image {
    width: 170px;
    height: 170px;
    margin: 0 auto;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.bearer-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: top;
    padding: 6px;
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.bearer-card:hover .bearer-image img {
    border-color: #5bc0de;
    box-shadow: 0 6px 20px rgba(91, 192, 222, 0.2);
}

.bearer-info {
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    border-radius: 12px;
    padding: 100px 25px 35px;
    color: #333;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wishes-cards {
    display: flex;
    gap: 50px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 40px;
    align-items: stretch;
}

.wishes-cards .bearer-card {
    flex: 0 1 300px;
    width: 300px;
    margin-bottom: 0;
}



section {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in {
    opacity: 1;
    transform: scale(1);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scale-in.animate-on-scroll:not(.visible) {
    opacity: 0;
    transform: scale(0.9);
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

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

img {
    image-rendering: -webkit-optimize-contrast;
}

.top-info-bar {
    background: #429dcf;
    color: white;
    padding: 10px 0;
    position: relative;
    z-index: 1000;
    font-size: 14px;
}

.info-bar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: right;
}

.info-link {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.info-link:hover {
    opacity: 0.8;
}

.header-section {
    background: white;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-emblem {
    position: relative;
}

.logo-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4a5f9d;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
}

.logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-text h1 {
    font-size: 35px;
    color: #4a5f9d;
    margin: 0;
    font-weight: 800;
    letter-spacing: 2px;
    line-height: 1;
}

.logo-text .year {
    font-size: 18px;
    color: #333;
    margin: 5px 0 2px;
    font-weight: 600;
}

.logo-text .tagline {
    font-size: 13px;
    color: #666;
    margin: 0;
}

.org-logos {
    display: flex;
    gap: 20px;
    align-items: center;
}

.org-logos a {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1.5px solid #eaeaea;
    border-radius: 6px;
    padding: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    height: 75px;
    width: auto;
    min-width: 80px;
}

.org-logos a:hover {
    transform: translateY(-2px);
    border-color: #5bc0de;
    box-shadow: 0 4px 12px rgba(91, 192, 222, 0.15);
    background-color: #fafafa;
}

.org-logos img {
    height: 100%;
    width: auto;
    object-fit: contain;
    max-width: 120px;
}

.main-nav {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid #e0e0e0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    position: relative;
}

.nav-menu {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
    gap: 4px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.menu-close-item {
    display: none;
}

.menu-close-btn {
    display: flex;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-menu li {
    flex: 0 0 auto;
    text-align: center;
}

.nav-menu a {
    display: block;
    padding: 10px 6px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    color: #5bc0de;
}

.nav-menu a.active {
    color: #333;
    border-bottom-color: #5bc0de;
}

.nav-register-li {
    flex: none !important;
}

.nav-register-btn {
    background: linear-gradient(135deg, #ff4757, #ff6b81);
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-weight: 700 !important;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
    border-bottom: none !important;
    font-size: 13px;
    margin-left: 10px;
}

.nav-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.4);
    background: linear-gradient(135deg, #ff6b81, #ff4757);
    color: white !important;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 11px;
    transition: transform 0.3s ease;
    display: inline-block;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: #ffffff;
    min-width: 220px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    padding: 10px 0;
    margin-top: 5px;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
    margin: 0;
    text-align: left;
    flex: none;
}

.dropdown-menu a {
    color: #333;
    padding: 12px 20px;
    font-size: 13px;
    border-bottom: none !important;
    transition: all 0.2s ease;
    font-weight: 500;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, #5bc0de 0%, rgba(91, 192, 222, 0.1) 100%);
    color: #716e9f;
    padding-left: 25px;
}

.event-banner {
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Banner Swiper Carousel */
.banner-swiper {
    width: 100%;
    position: relative;
}

.banner-swiper .swiper-slide {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    width: 100%;
}

.banner-wrapper {
    max-width: 2100px;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: min(500px, 40vw);
    overflow: hidden;
}

.banner-image-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

.banner-register-btn {
    display: inline-block;
    margin-top: 25px;
    padding: 14px 40px;
    background: linear-gradient(135deg, #5bc0de, #4aa8d4);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(91, 192, 222, 0.4);
    font-family: 'Momo Trust Sans', 'Libre Franklin', sans-serif;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.banner-register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(91, 192, 222, 0.6);
    background: linear-gradient(135deg, #4aa8d4, #3d9ac0);
}

.banner-content-panel {
    position: relative;
    z-index: 2;
    background: #414787;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    width: 50%;
    max-width: 800px;
    margin-right: 21%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.banner-text-content {
    flex: 1;
}

.banner-description {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #e0e0e0;
    line-height: 1.6;
    margin-top: 10px;
}

.banner-title-lg {
    font-size: 44px;
    line-height: 1.15;
}

/* Banner Navigation Arrows */
.banner-swiper .swiper-button-next,
.banner-swiper .swiper-button-prev {
    color: #ffffff;
    background: rgba(65, 71, 135, 0.6);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.banner-swiper .swiper-button-next:hover,
.banner-swiper .swiper-button-prev:hover {
    background: rgba(65, 71, 135, 0.9);
}

.banner-swiper .swiper-button-next::after,
.banner-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 700;
}

/* Banner Pagination Container */
.banner-pagination-container {
    position: absolute;
    bottom: 0;
    right: 21%;
    width: 45%;
    max-width: 650px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    padding: 10px 50px;
    pointer-events: none;
}

.banner-pagination-wrapper {
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.banner-swiper .swiper-pagination {
    position: relative;
    bottom: 0 !important;
    text-align: right;
    width: auto;
}

.banner-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    opacity: 1;
    transition: all 0.3s ease;
    margin: 0 4px !important;
}

.banner-swiper .swiper-pagination-bullet-active {
    background: #5bc0de;
    width: 8px;
    border-radius: 50%;
    transform: scale(1.3);
}

.banner-subtitle {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #e8e8e8;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0.5px;
}

.banner-title {
    font-family: 'Momo Trust Sans', 'Libre Franklin', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #ffffff;
    line-height: 1.1;
    text-transform: none;
}

.organiser-section {
    margin-bottom: 20px;
}

.organiser-label,
.association-label {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.organiser-name {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 15px;
    color: #e8e8e8;
    line-height: 1.4;
}

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

.association-list li {
    font-family: 'Libre Franklin', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #e8e8e8;
    margin-bottom: 4px;
    padding-left: 15px;
    position: relative;
}

.association-list li::before {
    content: "â—‹";
    position: absolute;
    left: 0;
    color: #ffffff;
}

.event-info-bars {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 30px;
    align-items: stretch;
}

.date-bar,
.venue-bar {
    padding: 10px 20px 10px 15px;
    font-family: 'Libre Franklin', sans-serif;
    font-size: 15px;
    font-weight: 400;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.2));
    position: relative;
    border-left: 5px solid rgba(0, 0, 0, 0.1);
    flex: 1;
    min-width: 0;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
}

.date-bar>*,
.venue-bar>* {
    transform: none;
    display: inline;
}

.bar-label {
    font-weight: 700;
    margin-right: 8px;
    font-size: 14px;
    text-transform: uppercase;
}

.bar-value {
    font-weight: 400;
    font-size: 14px;
}

.date-bar {
    background: #5bc0de;
    color: #ffffff;
}

.venue-bar {
    background: #ffffff;
    color: #333;
    margin-left: 0;
}

.footer-dates,
.footer-venue {
    display: inline-block;
    padding: 10px 30px 10px 20px;
    margin-bottom: 10px;
    font-size: 14px;
    filter: drop-shadow(0 4px 4px rgba(0, 0, 0, 0.2));
    border-left: 4px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    width: fit-content;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 0% 100%);
    transform: none;
}

.footer-dates>*,
.footer-venue>* {
    transform: none;
    display: inline;
}

.footer-dates {
    background: #5bc0de;
    color: #ffffff;
}

.footer-venue {
    background: #ffffff;
    color: #333;
}

@media (max-width:1024px) {
    .banner-wrapper {
        flex-direction: column;
        justify-content: flex-start;
        height: auto;
    }

    .banner-image-panel {
        position: relative;
        height: 300px;
        width: 100%;
    }

    .banner-image-panel img {
        object-position: center 30%;
    }

    .banner-content-panel {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        padding: 35px 25px;
        background: #5a4a8a;
        min-height: 380px;
        /* Ensure consistent height across slides */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .banner-title {
        font-size: 40px;
    }

    .banner-title-lg {
        font-size: 36px;
    }

    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        display: flex !important;
        width: 35px;
        height: 35px;
        background: rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(5px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
    }

    .banner-swiper .swiper-button-next::after,
    .banner-swiper .swiper-button-prev::after {
        font-size: 16px;
        color: white;
    }

    .banner-swiper .swiper-button-prev {
        left: 10px;
    }

    .banner-swiper .swiper-button-next {
        right: 10px;
    }

    .bearers-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 30px;
    }

    .bearers-carousel .bearer-card {
        flex: 0 0 calc(50% - 15px);
    }

    .carousel-wrapper {
        padding: 0 50px;
    }

    .footer-container {
        display: flex;
        flex-wrap: wrap;
        gap: 40px;
    }

    .footer-column {
        flex: 1 1 45%;
    }

    .footer-column:last-child {
        flex-basis: 100%;
    }
}

@media (max-width:768px) {
    .header-container {
        padding: 0 20px;
        flex-direction: column;
        gap: 15px;
    }

    .logo-section {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .logo-circle {
        width: 60px;
        height: 60px;
    }

    .logo-text h1 {
        font-size: 24px;
    }

    .logo-text .year {
        font-size: 14px;
    }

    .logo-text .tagline {
        font-size: 11px;
    }

    .org-logos {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .org-logos img {
        height: 50px;
    }

    .banner-image-panel {
        min-height: 250px;
    }

    .banner-content-panel {
        padding: 30px 30px 45px;
    }

    .banner-title {
        font-size: 28px;
    }

    .banner-title-lg {
        font-size: 32px;
    }

    .banner-description {
        font-size: 17px;
    }

    .date-bar,
    .venue-bar {
        font-size: 13px;
        padding: 10px 12px;
        white-space: normal;
        /* Allow wrapping */
        word-break: break-word;
        clip-path: none;
        flex: 1;
        height: auto;
    }

    .event-info-bars {
        max-width: 100%;
        width: 100%;
    }

    .event-banner {
        padding: 0;
        min-height: auto;
    }

    .banner-bg {
        padding: 0 20px;
    }

    .venue-bar {
        margin-left: 0;
    }

    .welcome-section,
    .office-bearers-section,
    .committee-section,
    .karnataka-bearers-section,
    .best-wishes-section {
        padding: 50px 0;
    }

    .welcome-container,
    .office-bearers-container,
    .committee-container,
    .karnataka-cards,
    .wishes-cards {
        padding: 0 24px;
    }

    .carousel-container {
        padding: 0 10px;
        margin: 0 auto;
        max-width: 100%;
        overflow: hidden;
    }

    .carousel-track {
        display: flex;
        gap: 15px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 10px 0;
    }

    .carousel-track::-webkit-scrollbar {
        display: none;
    }

    .bearer-card,
    .wish-card {
        min-width: 250px;
        max-width: 100%;
        width: 260px;
        scroll-snap-align: center;
        flex-shrink: 0;
        margin: 20px 0;
    }

    .carousel-nav {
        margin-top: 20px;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .committee-title {
        font-size: 24px;
        padding: 6px 20px;
    }

    .name-badge {
        font-size: 13px;
        padding: 8px 20px;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:1024px) {
    .top-info-bar {
        font-size: 13px;
    }

    .info-bar-container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        position: relative;
        z-index: 1001;
        margin: 15px auto;
        background: #716e9f;
        padding: 10px 16px 8px 16px;
        border-radius: 8px;
        cursor: pointer;
        border: 2px solid #5bc0de;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active {
        opacity: 0;
        pointer-events: none;
    }

    .mobile-menu-toggle:hover {
        background: #5a4a8a;
        transform: scale(1.05);
    }

    .mobile-menu-toggle span:not(.menu-text) {
        background: white;
        width: 28px;
        height: 3px;
        display: block;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .mobile-menu-toggle .menu-text {
        color: white;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 2px;
        margin-top: 4px;
        background: transparent;
        width: auto;
        height: auto;
        display: block;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        line-height: 1;
        transition: opacity 0.3s ease;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 80px 0 30px;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: center;
        margin: 0;
        border-bottom: 1px solid rgba(224, 224, 224, 0.5);
        opacity: 0;
        transform: translateX(30px);
        transition: all 0.3s ease;
    }

    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-menu.active li:nth-child(6) {
        transition-delay: 0.3s;
    }

    .nav-menu.active li:nth-child(7) {
        transition-delay: 0.35s;
    }

    .nav-menu.active li:nth-child(8) {
        transition-delay: 0.4s;
    }

    .nav-menu.active li:nth-child(9) {
        transition-delay: 0.45s;
    }

    .nav-menu.active li:nth-child(10) {
        transition-delay: 0.5s;
    }

    .nav-menu a {
        display: block;
        padding: 18px 25px;
        font-size: 15px;
        color: #333;
        border-bottom: none;
        border-left: 4px solid transparent;
        transition: all 0.3s ease;
        position: relative;
        overflow: hidden;
        text-align: center;
    }

    .nav-menu .dropdown-toggle {
        justify-content: center !important;
    }

    .nav-menu a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 0;
        background: linear-gradient(90deg, rgba(91, 192, 222, 0.1) 0%, transparent 100%);
        transition: width 0.3s ease;
    }

    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        width: 100%;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #5bc0de;
        border-left-color: #5bc0de;
        padding-left: 32px;
        background: rgba(91, 192, 222, 0.05);
    }

    /* Mobile Dropdown Styles */
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        min-width: unset;
        background: rgba(0, 0, 0, 0.03);
    }

    .dropdown-menu li {
        border-bottom: 1px solid rgba(224, 224, 224, 0.3);
    }

    .dropdown-menu a {
        padding-left: 20px !important;
        font-size: 11px !important;
        color: #555 !important;
    }

    .dropdown-menu a:hover {
        padding-left: 24px !important;
    }

    .event-banner {
        padding: 40px 0;
        min-height: 240px;
    }

    .banner-image-panel {
        min-height: 200px;
    }

    .banner-content-panel {
        padding: 25px 20px;
    }

    .banner-title {
        font-size: 26px;
    }

    .banner-subtitle {
        font-size: 13px;
    }

    .date-bar,
    .venue-bar {
        font-size: 13px;
        padding: 10px 12px;
        flex-direction: row;
        /* Keep row for small phones if possible or consistent */
        align-items: center;
        gap: 8px;
        white-space: normal;
        clip-path: none;
        width: 100%;
        height: auto;
    }

    .event-info-bars {
        max-width: 100%;
        width: 100%;
    }

    .bar-label {
        margin-right: 0;
    }

    .venue-bar {
        margin-left: 14px;
    }

    section {
        padding: 32px 0;
    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    .welcome-container,
    .office-bearers-container,
    .committee-container,
    .karnataka-cards,
    .wishes-cards,
    .footer-container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
        word-wrap: break-word;
    }

    .committee-title {
        font-size: 20px;
    }

    .section-description {
        font-size: 14px;
        line-height: 1.5;
        padding: 0;
    }

    .welcome-title {
        font-size: 24px;
    }

    .banner-content h2 {
        font-size: 28px;
    }

    .carousel-wrapper {
        padding: 0 35px;
    }

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

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-event-title {
        font-size: 24px;
    }

    .karnataka-bearers-section .bearers-title,
    .wishes-title {
        font-size: 24px;
    }

    .bearer-image-wrapper,
    .wish-image-wrapper {
        width: 200px;
        height: 200px;
    }

    .karnataka-cards .bearer-info,
    .wish-info {
        min-width: 280px;
        padding: 60px 30px 30px;
    }
}

@media (max-width:640px) {}

@media (hover:none) and (pointer:coarse) {

    .bearer-card:hover .bearer-image img,
    .committee-member:hover,
    .welcome-image:hover {
        transform: none;
    }
}

@media print {

    .main-nav,
    .back-to-top,
    .carousel-nav,
    .carousel-dots,
    .mobile-menu-toggle,
    .scroll-progress {
        display: none !important;
    }

    .office-bearers-section,
    .committee-section,
    .welcome-section {
        page-break-inside: avoid;
    }

    body {
        background: white;
    }
}

@media (max-width:1024px) {
    .main-nav {
        position: relative;
        top: auto;
        z-index: 1100;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: #716e9f;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        top: 50%;
        margin-top: 0;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        transition: all 0.3s ease;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .swiper-button-prev {
        left: 5px;
    }

    .swiper-button-next {
        right: 5px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        position: relative;
        z-index: 2001;
        background: #4ea3d5;
        padding: 8px 14px;
        border-radius: 8px;
        cursor: pointer;
        pointer-events: auto;
        border: none;
        box-shadow: 0 4px 12px rgba(78, 163, 213, 0.4);
        transition: transform 0.2s ease, background 0.2s ease;
        min-width: 60px;
        height: auto;
    }

    .mobile-menu-toggle:active {
        transform: scale(0.95);
    }

    .mobile-menu-toggle span:not(.menu-text) {
        background: white;
        width: 26px;
        height: 3px;
        display: block;
        border-radius: 2px;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle .menu-text {
        color: white;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        margin-top: 2px;
        display: block;
        line-height: 1;
        text-transform: uppercase;
    }

    .mobile-menu-toggle.active {
        background: #333;
    }

    .mobile-menu-toggle.active .menu-text {
        display: none;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .nav-menu.active li:nth-child(1) {
        transition-delay: 0.05s;
    }

    .nav-menu.active li:nth-child(2) {
        transition-delay: 0.1s;
    }

    .nav-menu.active li:nth-child(3) {
        transition-delay: 0.15s;
    }

    .nav-menu.active li:nth-child(4) {
        transition-delay: 0.2s;
    }

    .nav-menu.active li:nth-child(5) {
        transition-delay: 0.25s;
    }

    .nav-menu a {
        display: block;
        padding: 15px 20px;
        font-size: 15px;
        color: #333;
        font-weight: 600;
        font-family: 'Open Sans', sans-serif;
        text-decoration: none;
        position: relative;
    }

    .dropdown-toggle {
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100%;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: #4ea3d5;
        background: #f8fbff;
        padding-left: 30px;
    }

    .menu-close-item {
        display: block !important;
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        border-bottom: none !important;
        padding: 6px 14px 4px !important;
        margin: 0 !important;
        text-align: right !important;
        display: flex !important;
        justify-content: flex-end !important;
    }

    .menu-close-btn {
        position: static;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: rgba(0, 0, 0, 0.45);
        border: none;
        border-radius: 999px;
        width: 20px;
        height: 20px;
        cursor: pointer;
        color: #fff;
        transition: background 0.2s ease;
        padding: 0;
    }

    .menu-close-btn svg {
        width: 9px;
        height: 9px;
    }

    .menu-close-btn:hover {
        background: rgba(0, 0, 0, 0.65);
    }

    .dropdown-menu {
        display: none;
        position: static;
        transform: none !important;
        width: 100% !important;
        left: auto !important;
        text-align: left !important;
        background: #f9f9f9;
        box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.06);
        padding: 5px 0;
        border-top: 1px solid #eee;
        border-bottom: 1px solid #eee;
    }

    .dropdown-menu.active {
        display: block !important;
        animation: fadeIn 0.3s;
    }

    .dropdown-menu a {
        font-size: 11px;
        color: #666;
        padding: 5px 15px 5px 20px;
        font-weight: 500;
    }

    .dropdown-menu a:hover {
        background: #f0f0f0;
        color: #333;
    }


}

.back-to-top {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    left: auto !important;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #5bc0de 0%, #4aa8d4 100%);
    color: white;
    border: 3px solid #ffffff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(91, 192, 222, 0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
}

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

.back-to-top:hover {
    background: linear-gradient(135deg, #716e9f 0%, #5a4a8a 100%);
    transform: translateY(-8px) scale(1.15);
    box-shadow: 0 10px 30px rgba(74, 61, 122, 0.6);
    border-color: #5bc0de;
}

.back-to-top:active {
    transform: translateY(-5px) scale(1.1);
}

.back-to-top svg {
    width: 28px;
    height: 28px;
    stroke-width: 3;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@keyframes pulse-button {

    0%,
    100% {
        box-shadow: 0 6px 20px rgba(91, 192, 222, 0.5);
    }

    50% {
        box-shadow: 0 6px 30px rgba(91, 192, 222, 0.8);
    }
}

.back-to-top.visible {
    animation: pulse-button 2s ease-in-out infinite;
}

.back-to-top:hover {
    animation: none;
}

@media (max-width:768px) {
    .back-to-top {
        bottom: 20px !important;
        right: 20px !important;
        width: 50px;
        height: 50px;
        border-width: 2px;
    }

    .back-to-top svg {
        width: 24px;
        height: 24px;
    }

    /* Banner Pagination Dots on Mobile */
    .banner-pagination {
        bottom: 10px !important;
        display: flex !important; /* Ensure visibility on mobile */
        justify-content: flex-end;
    }

    .banner-pagination .swiper-pagination-bullet {
        background: #fff;
        opacity: 0.5;
        width: 10px;
        height: 10px;
    }

    .banner-pagination .swiper-pagination-bullet-active {
        opacity: 1;
        background: #5bc0de;
        width: 25px;
        border-radius: 5px;
    }

    /* Fix Bearer Card Overlapping on Mobile */
    .bearer-card {
        margin-top: 50px;
        margin-bottom: 40px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .bearer-info {
        min-height: auto;
        padding-bottom: 30px;
    }
}