/* ======================================
   GLOBAL STYLES & VARIABLES
   ====================================== */

:root {
    /* Refined Color Palette */
    --dark-blue: #0a1a2f;
    --dark-blue-light: #1a2b4a;
    --card-dark: #0f1e3a;
    --card-darker: #091528;
    --navy: #081223;
    --light-blue: #e6f0ff;
    --lighter-blue: #f0f7ff;
    
    --golden: #ffb81c;
    --golden-bright: #ffd166;
    --golden-dark: #cc8b00;
    --golden-light: #fff5e0;
    
    --accent-blue: #1e90ff;
    --accent-teal: #00d4aa;
    --accent-purple: #9b5de5;
    
    --white: #ffffff;
    --off-white: #f8fafc;
    --text-dark: #e6edf8;
    --text-gray: #8fa3c9;
    --text-light: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0a1a2f 0%, #1a2b4a 100%);
    --gradient-golden: linear-gradient(135deg, #ffb81c 0%, #ffd166 100%);
    --gradient-blue: linear-gradient(135deg, #1e90ff 0%, #4a9eff 100%);
    --gradient-card: linear-gradient(145deg, #0f1e3a 0%, #091528 100%);
    --gradient-text: linear-gradient(90deg, #ffb81c, #ffd166, #ffb81c);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-golden: 0 4px 20px rgba(255, 184, 28, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    /* background: linear-gradient(135deg, #f8fafc 0%, #e6f0ff 100%); */
    background: #0a1a2f;
    color: #333;
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

html {
    scroll-behavior: smooth;
}

/* ======================================
   GRADIENT TEXT ANIMATIONS
   ====================================== */

.gradient-text {
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 3s ease infinite;
}

.gradient-text-animated {
    background: linear-gradient(90deg, 
        #ffb81c 0%, 
        #ffd166 50%, 
        #ffb81c 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientFlow 4s ease infinite;
    position: relative;
    display: inline-block;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

/* ======================================
   NAVIGATION BAR
   ====================================== */

.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    border-bottom: 1px solid rgba(255, 184, 28, 0.1);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.12);
}

.logo-img {
    width: auto;
    /* height: 50px; */
    height: 60px;
    filter: drop-shadow(0 2px 4px rgba(255, 184, 28, 0.3));
    object-fit: contain;
    /* max-width: 100%; */
    /* height: auto; */
}

.nav-link {
    /* color: #4a5568 !important; */
    color: black !important;
    font-weight: 500;
    margin: 0 8px;
    padding: 6px 12px !important;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-golden);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    /* color: #2d3748 !important; */
    color: var(--golden-dark) !important;
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 70%;
}

.btn-join {
    background: var(--gradient-golden);
    color: #2d3748;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.2);
    font-size: 0.9rem;
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.3);
    color: #2d3748;
}

/* ======================================
   HERO BANNER SECTION
   ====================================== */

.hero-banner {
    position: relative;
    height: 350px;
    background: linear-gradient(135deg, 
        #0a1a2f 0%, 
        #1a2b4a 50%, 
        #2d3e5f 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 184, 28, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    animation: shine 8s linear infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.breadcrumb-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
    color: var(--golden);
}

.breadcrumb-custom .separator {
    color: var(--golden);
}

.breadcrumb-custom .current {
    color: var(--golden);
    font-weight: 600;
}

.banner-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.banner-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    font-weight: 300;
    margin-top: 10px;
}

.banner-line {
    width: 120px;
    height: 4px;
    background: var(--gradient-golden);
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: 0 0 15px rgba(255, 184, 28, 0.4);
}

/* ======================================
   MEMBERS SECTION
   ====================================== */

.members-section {
    padding: 60px 0;
    /* background: transparent; */
    background: #0a1a2f;
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-blue);
    margin-bottom: 15px;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-golden);
    border-radius: 2px;
}

.section-header p {
    /* color: #64748b; */
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 20px auto 0;
    font-weight: 400;
}

/* ======================================
   MEMBER PROFILE CARDS - COMPACT DESIGN
   ====================================== */

.member-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    text-align: center;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    /* height: 100%; */
    height: auto !important;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 10px;
}

.member-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.12),
        0 8px 25px rgba(255, 184, 28, 0.15);
    border-color: rgba(255, 184, 28, 0.3);
}

/* Category Badge - Appears on Hover */
.category-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--gradient-golden);
    color: #2d3748;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 3px 10px rgba(255, 184, 28, 0.3);
    z-index: 20;
    transform: translateX(20px) scale(0.9);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.member-card:hover .category-badge {
    transform: translateX(0) scale(1);
    opacity: 1;
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.4);
}

.category-badge i {
    font-size: 0.7rem;
}

/* Compact Profile Image Container */
.profile-image-wrapper {
    position: relative;
    width: 100%;
    /* height: 180px; Reduced height */
    height: 300px;
    margin: 0;
    overflow: hidden;
    background: #f8fafc;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 30%,
        rgba(0, 0, 0, 0.1) 70%,
        rgba(0, 0, 0, 0.15) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.profile-image {
    width: 100%;
    /* height: 100%; */
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s ease;
    filter: brightness(1.02) contrast(1.02);
    transform-origin: center;
}

.member-card:hover .profile-image {
    transform: scale(1.08);
    filter: brightness(1.05) contrast(1.05);
}

.image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: skewX(-20deg);
    transition: left 0.6s ease;
    z-index: 3;
    pointer-events: none;
}

.member-card:hover .image-shine {
    left: 100%;
}

/* Compact Card Content */
.card-content {
    padding: 20px 15px;
    position: relative;
}

.member-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 8px;
    line-height: 1.3;
    position: relative;
    display: block;
    padding-bottom: 10px;
}

.member-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--gradient-golden);
    border-radius: 1px;
    opacity: 0.8;
}

.member-role {
    color: var(--golden-dark);
    font-size: 0.85rem;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.3px;
    line-height: 1.4;
}

.member-description {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.member-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.btn-profile,
.btn-connect {
    flex: 1;
    max-width: 120px;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.8rem;
    border: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-profile {
    background: #f8fafc;
    color: #4a5568;
    border: 1px solid #e2e8f0;
}

.btn-profile:hover {
    background: #edf2f7;
    border-color: #cbd5e0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-connect {
    background: var(--gradient-golden);
    color: #2d3748;
    box-shadow: 0 3px 10px rgba(255, 184, 28, 0.2);
    border: 1px solid transparent;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 184, 28, 0.3);
}

.btn-profile i,
.btn-connect i {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.btn-profile:hover i,
.btn-connect:hover i {
    transform: translateX(2px);
}

.social-links {
    display: flex;
    gap: 8px;
    justify-content: center;
    /* padding: 0 10px; */
}

.social-link {
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.social-link:hover {
    background: var(--gradient-golden);
    color: white;
    border-color: var(--golden);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 184, 28, 0.25);
}

.social-link i {
    position: relative;
    z-index: 1;
}

/* ======================================
   LOAD MORE BUTTON
   ====================================== */

.btn-load-more {
    background: var(--gradient-golden);
    color: #2d3748;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.2);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    letter-spacing: 0.5px;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.3);
}

.btn-load-more i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.btn-load-more:hover i {
    transform: translateY(-2px);
}

/* ======================================
   STATS SECTION
   ====================================== */

.stats-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0a1a2f 0%, #1a2b4a 100%);
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 184, 28, 0.4), 
        transparent);
}

.stat-box {
    padding: 25px 15px;
    position: relative;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: var(--gradient-text);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: gradientShift 4s ease infinite;
    text-shadow: 0 2px 10px rgba(255, 184, 28, 0.2);
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ======================================
   FOOTER SECTION
   ====================================== */

.footer {
    background: #0a1a2f;
    position: relative;
    margin-top: 0;
    border-top: 1px solid rgba(255, 184, 28, 0.1);
}

.footer-main {
    padding: 50px 0 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    width: 230px;
    height: 50px;
    margin-bottom: 15px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(255, 184, 28, 0.2));
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--gradient-golden);
    border-radius: 1px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-weight: 300;
}

.footer .social-links {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
}

.footer .social-link {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--golden);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--golden);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.footer .social-link:hover {
    background: var(--gradient-golden);
    color: #2d3748;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 184, 28, 0.3);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    padding: 3px 0;
}

.footer-links a i {
    font-size: 0.7rem;
    color: var(--golden);
    transition: transform 0.3s ease;
}

.footer-links a:hover {
    color: var(--golden);
    padding-left: 8px;
}

.footer-links a:hover i {
    transform: translateX(4px);
}

.location-map {
    width: 100%;
    height: 150px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid rgba(255, 184, 28, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.location-map:hover {
    border-color: var(--golden);
    transform: translateY(-3px);
}

.contact-info {
    list-style: none;
    padding: 0;
}

.contact-info li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    align-items: flex-start;
}

.contact-info i {
    color: var(--golden);
    font-size: 1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.copyright-text strong {
    color: var(--golden);
    font-weight: 600;
}

.designer-link {
    color: var(--golden);
    text-decoration: none;
    transition: all 0.3s ease;
}

.designer-link:hover {
    color: var(--golden-bright);
    text-decoration: underline;
}

.back-to-top {
    width: 45px;
    height: 45px;
    background: var(--gradient-golden);
    color: #2d3748;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.3);
    font-size: 1rem;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 184, 28, 0.4);
}

/* ======================================
   RESPONSIVE DESIGN
   ====================================== */

@media (max-width: 1400px) {
    .banner-title {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2.2rem;
    }
}

@media (max-width: 1200px) {
    .member-card {
        margin-bottom: 20px;
    }
    
    .profile-image-wrapper {
        height: 160px;
    }
    
    .card-content {
        padding: 18px 12px;
    }
    
    .member-name {
        font-size: 1.15rem;
    }
}

@media (max-width: 992px) {
    .hero-banner {
        height: 300px;
    }
    
    .banner-title {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .profile-image-wrapper {
        height: 180px;
    }
    
    .member-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn-profile,
    .btn-connect {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .hero-banner {
        height: 280px;
    }
    
    .banner-title {
        font-size: 1.8rem;
    }
    
    .banner-subtitle {
        font-size: 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        padding-bottom: 12px;
    }
    
    .profile-image-wrapper {
        height: 160px;
    }
    
    .member-description {
        font-size: 0.8rem;
        min-height: 32px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .footer-logo {
        width: 180px;
        height: 45px;
    }
}

@media (max-width: 576px) {
    .hero-banner {
        height: 250px;
    }
    
    .banner-title {
        font-size: 1.6rem;
    }
    
    .banner-line {
        width: 100px;
        height: 3px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .profile-image-wrapper {
        height: 150px;
    }
    
    .category-badge {
        top: 10px;
        right: 10px;
        padding: 5px 10px;
        font-size: 0.65rem;
    }
    
    .member-name {
        font-size: 1.1rem;
    }
    
    .member-role {
        font-size: 0.8rem;
    }
    
    .member-description {
        font-size: 0.75rem;
        min-height: 30px;
    }
    
    .btn-load-more {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
    
    .social-links {
        gap: 6px;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
}

@media (max-width: 400px) {
    .banner-title {
        font-size: 1.4rem;
    }
    
    .profile-image-wrapper {
        height: 140px;
    }
    
    .member-name {
        font-size: 1rem;
    }
    
    .member-actions {
        gap: 6px;
    }
}

/* ======================================
   NAVBAR MOBILE RESPONSIVENESS
   ====================================== */

.navbar-toggler {
    border: 1px solid var(--golden);
    border-radius: 6px;
    padding: 6px 10px;
    background: transparent;
    transition: all 0.3s ease;
    z-index: 1051;
}

.navbar-toggler:hover {
    background: rgba(255, 184, 28, 0.1);
    border-color: var(--golden-bright);
}

.navbar-toggler-icon {
    width: 22px;
    height: 22px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 184, 28, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: white;
        margin-top: 10px;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
        border: 1px solid #e2e8f0;
    }

    .navbar-nav {
        gap: 5px;
        flex-direction: column;
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        padding: 12px 20px !important;
        border-radius: 8px;
        margin: 0 !important;
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
        background: #f8fafc;
        transition: all 0.3s ease;
        border: 1px solid #e2e8f0;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(255, 184, 28, 0.1);
        color: #2d3748 !important;
        border-color: var(--golden);
    }

    .nav-link::before {
        display: none;
    }

    .btn-join {
        width: 100%;
        margin: 10px 0 0 0 !important;
        padding: 12px 30px;
        justify-content: center;
    }

    .navbar {
        position: fixed;
        width: 100%;
        top: 0;
    }
}

.navbar-collapse.collapsing {
    transition: height 0.3s ease;
    overflow: hidden;
}

.navbar-collapse.collapse.show {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@media (max-width: 375px) {
    .logo-img {
        max-width: 120px;
        height: 30px;
    }
}
@media (min-width: 376px and max-width: 576px) {
    .logo-img {
        width: 70px !important;
        /*height: 35px;*/
    }
}