
/* ===== Custom Navbar Styling (yangilangan rang) ===== */
.navbar {
    background: linear-gradient(90deg, #0077b6, #009688); /* ko‘k-yashil gradient */
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.navbar .navbar-brand img {
    transition: transform 0.3s ease;
}
.navbar .navbar-brand img:hover {
    transform: rotate(-3deg) scale(1.1);
}

.navbar-nav .nav-link {
    color: #f8f9fa !important;
    font-weight: 500;
    margin: 0 8px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: #ffd166; /* oltin-sariq chiziq */
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #ffd166 !important; /* hover sariq rang */
}
.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar .dropdown-menu {
    border-radius: 10px;
    margin-top: 0.7rem;
    border: none;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    animation: dropdown-fade 0.3s ease;
}

.navbar .dropdown-item {
    padding: 0.6rem 1.2rem;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}
.navbar .dropdown-item:hover {
    background: #009688;
    color: #fff;
    border-radius: 6px;
}

/* til tanlash select */
.navbar select.form-select {
    border-radius: 20px;
    padding: 0.3rem 1.2rem;
    border: 1px solid #ddd;
    font-weight: 500;
    transition: all 0.3s ease;
}
.navbar select.form-select:hover {
    border-color: #ffd166;
    box-shadow: 0 0 6px rgba(255,209,102,0.6);
}

/* animation */
@keyframes dropdown-fade {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Footer Styling (yangilangan) ===== */
#my-footer {
    background: linear-gradient(135deg, #004aad, #00796b); /* ko‘k-yashil gradient */
    color: #fff;
    padding: 2rem 1rem;
    font-size: 0.95rem;
    margin-top: 4rem;
    position: relative;
    min-height: 100%;
}

#my-footer p {
    margin: 0.5rem 0;
    color: #e2eaf4;
    line-height: 1.6;
}

#my-footer b {
    color: #fff;
}

#my-footer .text-info {
    color: #ffd166 !important; /* oltin sariq – navbarga mos hover rang */
    font-weight: 500;
}

#my-footer ul {
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

#my-footer ul li {
    list-style: none;
}

#my-footer ul li a {
    color: #e2eaf4;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

#my-footer ul li a:hover {
    color: #ffd166; /* hoverda oltin sariq */
    transform: translateY(-3px);
}

#my-footer .bi-arrow-up-circle-fill {
    font-size: 1.5rem;
    color: #ffd166;
}

#my-footer .bi-arrow-up-circle-fill:hover {
    color: #fff;
    transform: scale(1.1);
}

#my-footer .col-lg-12 {
    padding-left: 2rem; /* chapdan masofa */
    padding-right: 2rem; /* balans uchun */
}

/* Responsive */
@media (max-width: 576px) {
    #my-footer {
        text-align: center;
    }
    #my-footer ul {
        justify-content: center;
    }
}

.footer-social {
    padding: 0;
    margin: 1rem 0 0;
    list-style: none;
}

.footer-social li {
    display: inline-block;
}

.footer-social a {
    color: #e2eaf4;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: #ffd166;
    transform: translateY(-3px);
}

.footer-social .bi-arrow-up-circle-fill {
    font-size: 1.5rem;
    color: #ffd166;
}

.footer-social .bi-arrow-up-circle-fill:hover {
    color: #fff;
    transform: scale(1.1);
}

.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 2rem;
    color: #004aad;
    display: none; /* default yashirin */
    z-index: 999;
    transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
    color: #ffd166;
    opacity: 0.8;
}


/* Home - Hero */
.conference-home {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
.conference-home__hero {
    min-height: 45vh; /* balandligini kichraytirdik */
    padding: 60px 20px;
    background:
            linear-gradient(135deg, rgba(0,74,173,0.75), rgba(0,121,107,0.75)),
            url("../images/hero-bg.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.conference-home__hero .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    border-radius: inherit;
}
.conference-home__hero h1,
.conference-home__hero p {
    text-shadow: 0 3px 8px rgba(0,0,0,0.5);
}
.conference-home__hero .btn {
    border-radius: 50px;
    padding: 12px 28px;
    transition: transform .3s, box-shadow .3s;
}
.conference-home__hero .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Statistik kartalar */
.conference-home__stats .stat-card {
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-left: 6px solid #ffd166;
    transition: all .3s;
}
.conference-home__stats .stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Sarlavhalar */
.conference-home h2 {
    color: #004aad;
    font-weight: 700;
}
.conference-home h2::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 12px auto 0;
    background: #ffd166;
    border-radius: 2px;
}

/* Galereya */
.conference-home__gallery .carousel-inner img {
    max-height: 500px;
    object-fit: cover;
}
.conference-home__gallery .carousel-control-prev-icon,
.conference-home__gallery .carousel-control-next-icon {
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    padding: 20px;
}
.conference-home__gallery h2::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 12px auto 0;
    background: #ffd166;
    border-radius: 2px;
}

/* Video & Live */
.conference-home__videos iframe,
.conference-home__live iframe {
    border: none;
    border-radius: 12px;
}

/* Upcoming */
.conference-home__upcoming .upcoming-card {
    background: #fff;
    border-top: 5px solid #009688;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: all .3s;
}
.conference-home__upcoming .upcoming-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}