body,
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    font-family: "Inter", sans-serif;
    font-size: 16px;
}

.sidebar {
    position: fixed;
    top: 20.8%;
    left: 5px;
    height: 100vh;
    width: auto;
    -webkit-backdrop-filter: blur(8px);
    padding-top: 30px;
    transition: 0.3s;
    z-index: 99;
}

.sidebar .nav-link {
    color: #fff;
}

.sidebar .nav-link {
    color: #fff;
    padding: 10px 12px;
    border-radius: 100px;
    background-color: #1d1943;
    background-image: radial-gradient(93% 87% at 87% 89%, rgba(0, 0, 0, 0.23) 0%, transparent 86.18%), radial-gradient(66% 87% at 26% 20%, rgba(255, 255, 255, 0.41) 0%, rgba(255, 255, 255, 0) 69.79%, rgba(255, 255, 255, 0) 100%);
    box-shadow: 2px 19px 31px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    border: 0;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    cursor: pointer;
    margin: 8px 10px 8px 0px;
    border: 2px solid #fff;
    font-size: 14px;
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
    position: relative;
    color: #ffffff;
    /*text-transform: uppercase;*/
    text-decoration: none;
    border-radius: 60px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: #0a2a88; /* Blue button background */
    overflow: hidden;
    transition: 0.3s ease;
    font-size: 14px;
}

.carousel-bg{
    background-image: url(../images/carousel-bg.webp);
}

/* Content area */
.content {
    margin-left: 250px;
    padding: 40px;
}

/* Mobile */
@media (max-width: 768px) {
    .sidebar {
        left: -250px;
    }
    .sidebar.active {
        left: 0;
    }
    .content {
        margin-left: 0;
    }
}

/* Background image layer */
.sidebar .nav-link.active::before,
.sidebar .nav-link:hover::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://expert-themes.com/html/konfer/images/icons/btn-bg.png") no-repeat center;
    background-size: cover;
    opacity: 0.9;
    z-index: 0;
}

/* Keep text above background */
.sidebar .nav-link.active span {
    position: relative;
    z-index: 2;
}

/* Hover effect */
.sidebar .nav-link.active:hover {
    box-shadow: 0 0 25px rgba(255, 0, 200, 0.6);
}
.title {
    text-align: center;
    color: #1f1a4d;
    font-weight: bold;
    font-size: 60px;
}
.sub-title {
    font-size: 16px;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    font-weight: bold;
}
.donors-bg-image {
    background: #150036;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.donors-section-right-corner-img {
    position: absolute;
    top: 0%;
    z-index: 1;
    right: 0%;
}
.donor-wrapper {
    position: relative;
}

.donor-wrapper:after {
    content: "";
    position: absolute;
    right: -0px;
    bottom: 30px;
    height: 120px;
    width: 6px;
    background: #f4e412;
    border-radius: 5px;
}

/* small top yellow */
.top-line {
    position: absolute;
    width: 70px;
    height: 6px;
    background: #f4e412;
    top: -20px;
    left: 30px;
    border-radius: 10px;
}

/* card */
.donor-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid #f4e412;
}

/* image */
.donor-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
    /*border: 2px solid #1e1a42;*/
}

/* overlay bottom */
.donor-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px 15px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    color: #fff;
    border-left: 4px solid #f4e412;
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 0px 0px 10px 7px;
}

.donor-info h3 {
    margin: 0;
    font-weight: 500;
    font-size: 24px;
    color: #fff;
}

.donor-info p {
    margin: 0;
    font-size: 16px;
    opacity: 0.9;
}

.donor-wrapper .donor-card {
    position: relative;
    z-index: 1;
    overflow: visible;
    width: 90%;
}

/* hidden red bg initially */
.donor-wrapper .donor-card:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 186px;
    height: 100%;
    border-radius: 25px;
    background-color: #d51c55;
    transform: rotate(0deg);
    opacity: 0;
    transform-origin: top right;
    transition: all 0.5s ease;
    z-index: -1;
}

/* show on hover */
.donor-wrapper .donor-card:hover:before {
    transform: rotate(13.66deg);
    opacity: 1;
    right: -25px;
    top: 26px;
}

.donor-wrapper:hover .top-line,
.donor-wrapper:hover:after {
    background: #d51c55;
    transition: 0.4s;
}

.donor-wrapper:hover .donor-info {
    border-left: 4px solid #d51c55;
}

.donor-wrapper:hover .donor-card {
    border: 2px solid #d51c55;
}

/* tabs design */
.schedule-tabs {
    display: flex;
    justify-content: center;
    margin: 30px 0px 50px 0px;
}

.schedule-tabs .nav {
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #ddd;
}

.schedule-tabs .nav-link {
    border-radius: 40px;
    padding: 14px 40px;
    font-weight: 700;
    color: #000;
}

.schedule-tabs .nav-link.active {
    background: #1d1943;
    color: #fff !important;
    position: relative;
}

/* arrow */
.schedule-tabs .nav-link.active:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -12px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #1d1943;
}

.events-schedule-shape1 {
    position: absolute;
    top: -7%;
    left: 0%;
    z-index: -1;
    opacity: 0.3;
}

.events-schedule-shape2 {
    position: absolute;
    top: -7%;
    z-index: -1;
    right: 0%;
    opacity: 0.3;
}

.bounce-y {
    animation: bounce-y 10s infinite linear;
}

@keyframes bounce-y {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-30px);
    }
    100% {
        transform: translateY(0);
    }
}

.schedule-box {
    background: #fff;
    padding: 60px 30px;
    /*margin-bottom:20px;*/
    border-top: 1px solid #646464;
    border-bottom: 1px solid #646464;
}

.schedule-box:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.schedule-date {
    font-size: 96px;
    font-weight: 600;
    line-height: 1em;
    font-family: "Instrument Sans", sans-serif;
    color: #000;
}

.schedule-day {
    font-size: 24px;
    font-weight: 600;
    color: #666666;
    padding-left: 20px;
    line-height: 30px;
}

.schedule-name {
    color: #000;
}

.btn-blue {
    background: #1f1a4d;
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
}

.btn-blue:hover {
    background: #3e396e;
    color: #fff;
}

.msg-section-left-corner-img {
    position: absolute;
    top: -40%;
    left: 0%;
    z-index: -1;
}

.msg-section-left-corner-img img {
    width: 70%;
}

.msg-section-right-corner-img {
    position: absolute;
    bottom: 0%;
    z-index: 9;
    right: 0%;
}

/* CARD */
.messages-card {
    position: relative;
    background: #eeeeee;
    padding: 120px 50px 60px;
    border-radius: 45px;
    overflow: visible;
    border-radius: 20px 20px 20px 40px;
    transition:0.4s ease;
}


.messages-card:hover{
    background-image: url(../images/messages/msg-card-bg.webp);
    color: #fff;
    background-repeat: no-repeat;
    background-size: cover;
}

.president-name{
    color: #000;
    font-weight: bold;
}

.president-role{
    color: #1F1A4D !important;
}

.messages-card:hover .president-name{
    color: #fff;
}

.messages-card:hover .president-role{
    color: #fff !important;
}

.messages-card:hover .president-description{
    color: #fff;
}

/* TOP LEFT CURVE SHAPE */
.messages-card:before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0;
    width: 109px;
    height: 80px;
    background-image: url(../images/msg-shape-one.png);
    background-repeat: no-repeat;
}

/* BOTTOM RIGHT CUT SHAPE */
.messages-card:after {
    content: "";
    position: absolute;
    right: 0px;
    bottom: 0;
    width: 109px;
    height: 80px;
    background-image: url(../images/msg-shape-two.png);
    /*background-repeat: no-repeat;*/
}

.messages-card p {
    display: -webkit-box;
    -webkit-line-clamp: 4; /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* TRIANGLE PATTERN RIGHT */
.pattern {
    position: absolute;
    right: 30px;
    top: 40px;
    bottom: 40px;
    width: 80px;
    background-image: radial-gradient(#cfcfcf 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.4;
}

/* Make shapes lower layer */
.messages-card:before,
.messages-card:after {
    z-index: 1;
}

.profile-img {
    position: relative;
    z-index: 9999;
}

/* PROFILE IMAGE */
.profile-wrapper {
    position: absolute;
    /* bottom: -70px; */
    right: -5%;
    z-index: 9;
    top: -14%;
}

.profile-img img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    border: 8px solid #f4e412;
    object-fit: cover;
}

/* DOTS */
.dots {
    position: absolute;
    left: 5%;
    bottom: 10px;
    z-index: 9;
    top: 2%;
}

.text-black {
    color: #000;
}

@media (max-width: 991px) {
    .messages-card {
        margin-bottom: 150px;
    }
}

/* Sponsor Grid */
.sponsor-grid {
    background: #fff;
    border: 1px solid #e5e5e5;
}

.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e5e5;
    background: #f9f9f9;
    transition: 0.3s;
}

.sponsor-item:hover {
    background: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.sponsor-item img {
    padding: 20px;
}

/* Card */
.committee-card {
    position: relative;
    background: #f1f1f1;
    border-radius: 20px;
    padding: 20px;
    overflow: hidden;
}

.committee-right-corner {
    position: absolute !important;
    top: -20px;
    right: 1px;
    opacity: 0.5;
}

.committee-title {
    color: #1f1a4d !important;
    font-weight: 600;
}

/* Gradient Overlay (Hidden Initially) */
.committee-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, #7906d2 0%, #3e036c 50%, #5c05a0 100%);
    transform: translateX(100%); /* Start from right */
    transition: transform 500ms ease;
    z-index: 1;
}

/* Hover Effect – Slide Gradient */
.committee-card:hover::before {
    transform: translateX(0);
}

/* Keep Content Above Gradient */
.committee-card > * {
    position: relative;
    z-index: 2;
}

/* Change Text Color on Hover */
.committee-card:hover {
    color: #ffffff;
}

.committee-card:hover .committee-title {
    color: #fff !important;
}

.committee-card:hover .committee-desc {
    color: #f8f8f8 !important;
}

.committee-card:hover .committee-arrow-link i {
    color: #fff;
}

.committee-card:hover .icon-circle i {
    color: #fff;
}

/* Icon circle */
.icon-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 2px solid #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.icon-circle i {
    font-size: 45px;
    color: #1d1943;
}

/* CARD */
.invitees-card{
    border-radius:20px;
    overflow:hidden;
    transition:0.4s ease;
    position:relative;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* IMAGE */
.image-box img{
    width:100%;
    display:block;
}

/* SHAPE WRAPPER */
.shape-wrapper{
    position:relative;
    margin-top:-60px;   /* pulls shape up */
}

/* SVG */
.shape-wrapper svg{
    width:100%;
    display:block;
}

.invitees-content-box{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/invitees/invitees-content-bg.webp") 
                no-repeat center;
    opacity: 0;    
    z-index: 1;
}

.invitees-card:hover .invitees-content-box{
    opacity: 1;
}

/* CONTENT */
.content-box{
    position:absolute;
    bottom:30px;
    left:0;
    width:100%;
    text-align:center;
    transition:0.4s ease;
}

.invitee-name{
    font-size:20px;
    font-weight:700;
    margin-bottom:5px;
    color: #1d1943;
}

.invitee-designation{
    color:#777;
}

/* HOVER EFFECT */
.invitees-card:hover .shape-wrapper svg path:last-child{
    fill:#1d1943;
    transition:0.4s ease;
}

.invitees-card:hover .invitee-name,
.invitees-card:hover .invitee-designation{
    color:#fff;
}

/* Arrow */
.committee-arrow-link {
    margin-top: 15px;
    display: inline-block;
    font-size: 16px;
    color: #1d1943;
    transition: 0.3s;
}

.committee-arrow-link:hover {
    transform: translateX(5px);
    text-decoration: none;
}

.footer-section {
    position: relative;
    background: linear-gradient(180deg, #0b0033, #090022);
    color: #fff;
    padding: 80px 0 0;
    overflow: hidden;
}

/* Background pattern overlay */
.footer-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("https://expert-themes.com/html/konfer/images/background/9.jpg") center/cover no-repeat;
    opacity: 0.08;
}

/* Content above overlay */
.footer-content {
    position: relative;
    z-index: 2;
}

.footer-logo {
    font-size: 30px;
    font-weight: 700;
}

.footer-logo span {
    color: #ffcc00;
}

.footer-text {
    margin: 20px 0;
    color: #cfcfcf;
    line-height: 1.8;
}

/* Social Icons */
.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: #fff;
    margin-right: 10px;
    transition: 0.3s;
}

.social-icons a:hover {
    background: #ffcc00;
    color: #000;
}

/* Quick Links */
.footer-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #cfcfcf;
    text-decoration: none;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #ffcc00;
    padding-left: 5px;
}

/* Gallery */
.footer-gallery img {
    width: 70px;
    height: 60px;
    border-radius: 8px;
    margin: 5px;
}

/* Info Section */
.footer-info i {
    color: #ffcc00;
    margin-right: 10px;
}

/* Bottom Bar */
.footer-bottom {
    margin-top: 60px;
    background: #182c6b;
    padding: 20px 0;
    text-align: center;
    font-size: 16px;
}

.footer-bottom span {
    color: #ffcc00;
}

/* Scroll Top Button */
.scroll-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 55px;
    height: 55px;
    background: #ffcc00;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 55px;
    font-size: 22px;
    cursor: pointer;
}
