/* file: assets/css/style.css (UPDATE - Logos size DOUBLED from previous) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f8fafc;
    overflow-x: hidden;
}

/* News Ticker */
.news-ticker {
    background: linear-gradient(90deg, #1a1e2b, #2a2e3f);
    color: #ffc107;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    z-index: 1002;
}

.ticker-content {
    display: inline-block;
    animation: ticker 25s linear infinite;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-text {
    margin-left: 20px;
    font-weight: 500;
}

/* ========== TOP BAR (Login + Language Section) ========== */
.top-bar {
    background: #2c2c3a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 8px 0;
    position: relative;
    z-index: 1001;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    color: #b0b0b0;
    font-size: 0.8rem;
}

.top-bar-left i {
    color: #ffc107;
    margin-right: 8px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Login Group Styling */
.login-group {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 16px;
    border-radius: 40px;
}

.login-btn {
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-btn {
    color: #ffc107;
    background: transparent;
    border: 1px solid #ffc107;
}

.admin-btn:hover {
    background: #ffc107;
    color: #2c2c3a;
    transform: translateY(-2px);
}

.member-btn {
    color: #2ecc71;
    background: transparent;
    border: 1px solid #2ecc71;
}

.member-btn:hover {
    background: #2ecc71;
    color: #2c2c3a;
    transform: translateY(-2px);
}

.login-separator {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Language Group Styling */
.language-group {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 12px;
    border-radius: 40px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-btn:hover {
    background: #ffc107;
    color: #2c2c3a;
    transform: scale(1.05);
}

/* ========== MAIN NAVIGATION BAR ========== */
.navbar-app {
    background: #7c0a02;
    padding: 0.8rem 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* HEADER LOGO - SIZE DOUBLED (from 100px to 200px) */
.header-logo {
    width: 200px;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
}

.brand-text-large {
    color: white;
    font-weight: 800;
    font-size: 1.8rem;
    letter-spacing: 1px;
}

/* Navigation Links */
.nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 2px;
    padding: 8px 16px !important;
    border-radius: 30px;
    transition: all 0.2s;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: white !important;
}

/* ========== FOOTER LOGO - SIZE DOUBLED (from 140px to 280px) ========== */
.main-footer {
    background: #0a1f2e;
    color: #adb7be;
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-logo {
    width: 280px;
    height: auto;
    display: block;
    margin: 0 auto 1rem auto;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.05);
}

.footer-links, .footer-contact {
    list-style: none;
    padding-left: 0;
}

.footer-links li, .footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #adb7be;
    text-decoration: none;
    transition: 0.2s;
}

.footer-links a:hover {
    color: #ffc107;
    padding-left: 5px;
}

.social-icons a {
    display: inline-block;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 38px;
    color: white;
    margin-right: 10px;
    transition: 0.2s;
}

.social-icons a:hover {
    background: #ffc107;
    color: #0a1f2e;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive - Logo size doubled on mobile too */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
    }
    
    .top-bar-left {
        font-size: 0.7rem;
    }
    
    .top-bar-right {
        justify-content: center;
    }
    
    .login-group, .language-group {
        padding: 4px 12px;
    }
    
    .login-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .lang-btn {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    /* Mobile Header Logo - Doubled (from 70px to 140px) */
    .header-logo {
        width: 140px;
    }
    
    .brand-text-large {
        font-size: 1.2rem;
    }
    
    /* Mobile Footer Logo - Doubled (from 100px to 200px) */
    .footer-logo {
        width: 200px;
    }
    
    .navbar-nav {
        text-align: center;
    }
    
    .nav-link {
        display: inline-block;
        width: auto;
        margin: 4px 0;
    }
}

/* Desktop spacing */
@media (min-width: 992px) {
    .navbar-nav .nav-link {
        padding: 8px 18px !important;
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero-gradient {
    background: linear-gradient(135deg, #7c0a02 0%, #a81308 100%);
    position: relative;
}

.btn-modern {
    border-radius: 60px;
    padding: 12px 28px;
    font-weight: 600;
    border: none;
    transition: all 0.3s;
}

.btn-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Cards */
.app-card {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
}

.app-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-weight: 800;
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 0;
    width: 70px;
    height: 4px;
    background: #e67e22;
    border-radius: 4px;
}

/* Leadership Cards */
.leadership-card {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 5px solid #e67e22;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Carousel */
.carousel-item img {
    height: 450px;
    object-fit: fill;
}

@media (max-width: 768px) {
    .carousel-item img {
        height: 250px;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-gradient h1 {
        font-size: 1.5rem;
    }
}

/* Form Styles */
.form-modern {
    background: white;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* Stat Badge */
.stat-badge {
    background: #fff3e0;
    border-radius: 50px;
    padding: 6px 18px;
    font-weight: 600;
    display: inline-block;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
    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,255,255,0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Animation Classes */
.animated {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animated.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-primary {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-primary:hover {
    background-color: #004099;
    border-color: #004099;
    transform: translateY(-2px);
}

.form-modern select,
.form-modern input,
.form-modern textarea {
    border-radius: 12px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    transition: all 0.3s;
}

.form-modern select:focus,
.form-modern input:focus,
.form-modern textarea:focus {
    border-color: #7c0a02;
    box-shadow: 0 0 0 3px rgba(124, 10, 2, 0.1);
    outline: none;
}

.form-check-input:checked {
    background-color: #7c0a02;
    border-color: #7c0a02;
}

.bg-primary {
    background: linear-gradient(135deg, #1a472a 0%, #0d6efd 100%) !important;
}