/*
=====================================================
BIHAR OLYMPIC ASSOCIATION - PROFESSIONAL ENHANCEMENTS
=====================================================
Modern, elegant design improvements for a professional look
*/

/* ===========================
   MODERN TYPOGRAPHY & FONTS
   =========================== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;900&family=Playfair+Display:wght@700;900&display=swap');

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* ===========================
   ENHANCED HEADER
   =========================== */
.site-header {
    background: rgba(0, 0, 0, 0.33) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 5px 35px !important;
}

.site-header:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Enhanced Logo Container */
.site-branding {
    background: rgba(0, 0, 0, 0.33) !important;
    padding: 6px 10px !important;
    border-radius: 6px !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border: 2px solid rgba(255, 165, 0, 0.8) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5),
                0 0 20px rgba(255, 165, 0, 0.3) !important;
    transition: all 0.3s ease !important;
}

.site-branding:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6),
                0 0 30px rgba(255, 165, 0, 0.5) !important;
    border-color: #ffa500 !important;
    transform: translateY(-2px);
}

/* Enhanced Logo Image */
img.custom-logo {
    max-width: 45px !important;
    width: 45px !important;
    height: auto !important;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8)) brightness(1.1) contrast(1.1) !important;
    transition: all 0.3s ease !important;
}

img.custom-logo:hover {
    filter: drop-shadow(0 4px 12px rgba(255, 165, 0, 1)) brightness(1.2) contrast(1.15) !important;
    transform: translateY(-2px) scale(1.05) !important;
}

.custom-logo-link {
    display: block !important;
    line-height: 0 !important;
}

/* Enhanced Navigation */
.main-navigation .nav-menu > li > a {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.main-navigation .nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: linear-gradient(90deg, #ffa500, #ff6b35);
    transition: transform 0.3s ease;
}

.main-navigation .nav-menu > li:hover > a::after,
.main-navigation .nav-menu > li.current-menu-item > a::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===========================
   ENHANCED BANNER SECTION
   =========================== */
.home-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 0, 80, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
    pointer-events: none;
}


/* ===========================
   ENHANCED ATHLETES SECTION
   =========================== */
.home-athletes-section {
    position: relative;
}

.home-athletes-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
}

.home-athletes-section-content h1 {
    background: linear-gradient(135deg, #fff 0%, #ffa500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-athletes-box {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.home-athletes-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.home-athletes-box:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 60px rgba(255, 165, 0, 0.4);
}

.home-athletes-box:hover::after {
    opacity: 1;
}

.athletes-box-image img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-athletes-box:hover .athletes-box-image img {
    transform: scale(1.1) rotate(1deg);
}

.athletes-box-details h3 {
    position: relative;
    overflow: hidden;
}

.athletes-box-details h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ffa500, transparent);
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.home-athletes-box:hover .athletes-box-details h3::after {
    transform: translateX(0);
}

/* ===========================
   ENHANCED COUNTDOWN CARDS
   =========================== */
.blockWrap .blocks {
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.blockWrap .blocks::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.blockWrap .blocks:hover::before {
    transform: scale(1);
}

.blockWrap .blocks:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
}

.countdown-card__title {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.countdown-card__countdown {
    font-weight: 900;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
}

/* ===========================
   ENHANCED NEWS SECTION
   =========================== */
.news-box {
    transition: all 0.4s ease;
}

.news-box:hover {
    transform: translateY(-5px);
}

.news-thumbnail {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
}

.news-thumbnail:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

.news-thumbnail img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-box:hover .news-thumbnail img {
    transform: scale(1.08);
}

.news-box-content {
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border-left: 4px solid #ffa500;
}

.news-box:hover .news-box-content {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.25);
    transform: translateX(5px);
}

.news-box-content h3 a {
    transition: all 0.3s ease;
    position: relative;
    display: inline;
    background-image: linear-gradient(#ffa500, #ffa500);
    background-size: 0% 2px;
    background-repeat: no-repeat;
    background-position: left bottom;
}

.news-box-content h3 a:hover {
    color: #ffa500 !important;
    background-size: 100% 2px;
    transition: background-size 0.4s ease;
}

/* ===========================
   ENHANCED IOA IMAGE CARD
   =========================== */
.ioa-image-card-box {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.ioa-image-card-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffa500, #ff6b35, #ffa500);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.ioa-image-card-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.25);
}

.ioa-image-card-box-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.ioa-image-card-box-image img {
    transition: transform 0.6s ease;
}

.ioa-image-card-box:hover .ioa-image-card-box-image img {
    transform: scale(1.05);
}

/* ===========================
   ENHANCED BUTTONS
   =========================== */
.arrow-btn {
    position: relative;
    padding: 12px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border: 2px solid rgba(255, 165, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    letter-spacing: 0.5px;
    overflow: hidden;
}

.arrow-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.3), transparent);
    transition: left 0.6s ease;
}

.arrow-btn:hover::before {
    left: 100%;
}

.arrow-btn:hover {
    background: linear-gradient(135deg, #ffa500 0%, #ff6b35 100%);
    border-color: #ffa500;
    color: #fff !important;
    transform: translateX(5px);
    box-shadow: 0 8px 24px rgba(255, 165, 0, 0.4);
}

.arrow-btn span svg {
    transition: transform 0.3s ease;
}

.arrow-btn:hover span svg {
    transform: translateX(5px);
}

/* ===========================
   ENHANCED FOOTER
   =========================== */
.site-footer {
    background: rgba(0, 0, 0, 0.33) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffa500, #ff6b35, #ffa500);
    background-size: 200% 100%;
    animation: shimmer 3s linear infinite;
}

.footer-logo-widget,
.footer-widget {
    animation: fadeInUp 0.8s ease-out;
}

a.social_item {
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

a.social_item:hover {
    background: rgba(255, 165, 0, 0.1);
    transform: translateX(8px);
    color: #ffa500 !important;
}

.social_icon {
    transition: transform 0.3s ease;
}

a.social_item:hover .social_icon {
    transform: scale(1.2) rotate(5deg);
}

/* ===========================
   LOGO GALLERY ENHANCEMENTS
   =========================== */
.gallery-item {
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.1);
}

.gallery-icon {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-item:hover .gallery-icon {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* ===========================
   SCROLL ANIMATIONS
   =========================== */
.wow {
    visibility: hidden;
}

.wow.fadeInUp {
    animation-name: fadeInUp;
    animation-duration: 0.8s;
    animation-fill-mode: both;
    visibility: visible;
    
}

/* ===========================
   LOADING STATES & TRANSITIONS
   =========================== */
* {
    scroll-behavior: smooth;
}

img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ===========================
   PROFESSIONAL SHADOWS
   =========================== */
.professional-shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.professional-shadow-md {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.professional-shadow-lg {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

/* ===========================
   GRADIENT OVERLAYS
   =========================== */
.gradient-overlay-primary {
    background: linear-gradient(135deg, rgba(5, 0, 80, 0.9) 0%, rgba(27, 33, 90, 0.9) 100%);
}

.gradient-overlay-accent {
    background: linear-gradient(135deg, rgba(255, 165, 0, 0.9) 0%, rgba(255, 107, 53, 0.9) 100%);
}

/* ===========================
   ENHANCED SECTION SPACING
   =========================== */
section {
    position: relative;
}

.home-athletes-section,
.home-news-section,
.home-social-section {
    padding-top: 100px;
    padding-bottom: 100px;
}

/* ===========================
   RESPONSIVE ENHANCEMENTS
   =========================== */
@media (max-width: 768px) {
    .home-athletes-box {
        border-radius: 12px;
    }

    .ioa-image-card-box {
        border-radius: 12px;
    }

    .arrow-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ===========================
   ACCESSIBILITY IMPROVEMENTS
   =========================== */
a:focus,
button:focus {
    outline: 2px solid #ffa500;
    outline-offset: 2px;
}

.site-header a:focus,
.site-header button:focus {
    outline: none;
}

/* ===========================
   PERFORMANCE OPTIMIZATIONS
   =========================== */
.athletes-box-image img,
.news-thumbnail img {
    will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===========================
   CUSTOM SCROLLBAR
   =========================== */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1B215A;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ffa500, #ff6b35);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff6b35, #ffa500);
}

/* ===========================
   SELECTION STYLING
   =========================== */
::selection {
    background: #ffa500;
    color: #fff;
}

::-moz-selection {
    background: #ffa500;
    color: #fff;
}
#colophon img.custom-logo {
    max-width: 100px !important;
    width: auto !important;
    height: auto !important;
}
#colophon .footer-widget-title {
    color: #ff9f1a !important;
   
}
#colophon .footer-logo-widget h3 {
    color: #ff9f1a !important;
    
    
    /*margin-left: -6px;*/
    text-align: left;
}

/* ===========================
   PRESIDENT SECTION - Left Image, Right Text
   =========================== */
.president-wrapper {
    align-items: flex-start;
}

.president-photo img {
    border-radius: 12px;
}

.president-info p {
    text-align: justify;
    color: #000;
}

.president-info p strong {
    color: #000;
}


.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}
@media (max-width: 991px) {

    .main-navigation {
        position: relative;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        z-index: 999;
        max-height: none;
        overflow: visible;
    }

        .nav-menu.menu-active {
            display: block;
        }

        .nav-menu .menu-item {
            display: block;
            padding: 12px 15px;
            border-bottom: 1px solid #eee;
        }
}
