/* Federal University of Agriculture and Technology, Okeho (FUNATO)  Custom Color Scheme */
/* Primary Color: #830F0F (Dark Red) */
/* Secondary Color: #F7BF12 (Gold) */

:root {
    --okeho-primary: #830F0F;
    --okeho-secondary: #F7BF12;
    --okeho-primary-light: #B80005;
    --okeho-primary-dark: #7A0003;
    --okeho-secondary-light: #F9D54A;
    --okeho-secondary-dark: #E6A800;
}

/* Primary Button Styles */
.default-btn {
    background: linear-gradient(135deg, var(--okeho-primary) 0%, var(--okeho-primary-light) 100%);
    border: 1px solid var(--okeho-primary);
}

.default-btn:hover {
    background: linear-gradient(135deg, var(--okeho-primary-dark) 0%, var(--okeho-primary) 100%);
    border-color: var(--okeho-primary-dark);
}

.default-btn.btn-style-2 {
    background: transparent;
    color: var(--okeho-primary);
    border-color: var(--okeho-primary);
}

.default-btn.btn-style-2:hover {
    background: var(--okeho-primary);
    color: white;
}

/* Secondary Button Styles */
.btn-style-2 {
    background: var(--okeho-secondary);
    color: #333;
    border-color: var(--okeho-secondary);
}

.btn-style-2:hover {
    background: var(--okeho-secondary-dark);
    color: white;
    border-color: var(--okeho-secondary-dark);
}


/* Banner Area
.banner-area-2.big-bg-2 {
    background: linear-gradient(135deg, var(--okeho-primary) 0%, var(--okeho-primary-dark) 100%);
} */

/* Section Titles */
.section-title h2 {
    color: var(--okeho-primary);
}


/* Links */
a {
    color: var(--okeho-primary);
}

a:hover {
    color: var(--okeho-primary-dark);
}

/* Footer */
.footer-area {
    background: var(--okeho-primary);
}

.footer-widget h4 {
    color: var(--okeho-secondary);
}

/* Form Elements */
.form-control:focus,
.form-select:focus {
    border-color: var(--okeho-primary);
    box-shadow: 0 0 0 0.2rem rgba(158, 0, 4, 0.25);
}

/* Academic Items */
.academic-item .number h3 {
    background: var(--okeho-primary);
    color: white;
}



/* Success Cards */
.success-card .play a {
    background: var(--okeho-primary);
}

.success-card .play a:hover {
    background: var(--okeho-primary-dark);
}

/* Campus Cards */
.campus-card .content h2 {
    color: var(--okeho-primary);
}

/* Activities Cards */
.activities-card .content h2 a {
    color: var(--okeho-primary);
}

/* Events */
.event .tag {
    background: var(--okeho-secondary);
    color: #333;
}

/* Subscribe Area */
.subscribe-area {
    background: var(--okeho-primary);
}

/* Social Links */
.social-list a:hover {
    color: var(--okeho-secondary);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .banner-content-2 h1 {
        color: white;
    }
    
    .banner-content-2 p {
        color: rgba(255, 255, 255, 0.9);
    }
}

/* Custom Animations */
@keyframes okeho-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(158, 0, 4, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(158, 0, 4, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(158, 0, 4, 0);
    }
}

.default-btn {
    animation: okeho-pulse 2s infinite;
}

/* Additional Custom Styles */
.vertical-lr p {
    color: var(--okeho-secondary);
}

.scroll-down a {
    color: var(--okeho-secondary);
}

.scroll-down a:hover {
    color: white;
}
body {
    overflow-x: hidden;
}

.navbar-area {
    position: relative;
    overflow: visible;
}

.navbar-nav .mega-menu {
    position: static !important;
}

.navbar-area .container-fluid {
    position: static;
}

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

/* Make mega menu parent static */
.navbar-nav .mega-menu {
    position: static !important;
}

/* Center the mega menu using fixed positioning */
.navbar-nav .mega-menu .dropdown-menu.mega-menu-content {
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    top: 80px !important; /* Adjust based on your navbar height */
    
    width: 90vw !important;
    max-width: 1200px !important;
    min-width: 900px !important;
    max-height: 85vh !important;
    
    overflow-y: auto;
    overflow-x: hidden;
    padding: 2rem !important;
    margin: 0 !important;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1000;
    margin-top: 1.5rem !important;
}

/* When navbar is sticky/fixed, adjust top position */
.navbar-area.sticky .mega-menu .dropdown-menu.mega-menu-content {
    top: 70px; /* Adjust for sticky navbar height */
}

.mega-menu-col {
    padding: 0 1rem;
    border-right: 1px solid #e9ecef;
    min-height: 400px;
}

.mega-menu-title {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--okeho-primary);
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--okeho-primary);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 0.75rem;
}

.mega-menu-item {
    display: block;
    padding: 0.75rem 1rem;
    color: #333;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mega-menu-item:hover,
.mega-menu-item.active {
    background: linear-gradient(135deg, var(--okeho-primary) 0%, var(--okeho-primary-light) 100%);

    color: #fff;
    transform: translateX(5px);
}

.mega-menu-placeholder {
    color: #6c757d;
    font-style: italic;
    padding: 1rem;
    text-align: center;
}

.departments-col .mega-menu-item,
.programmes-col .mega-menu-item {
    font-size: 0.95rem;
}

.programmes-col .mega-menu-item {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Banner Image Slider Styles */
.banner-image-slide {
    width: 100%;
    display: block;
    overflow: hidden;
    line-height: 0;
}

.responsive-slider-image {
    width: 100%;
    height: auto;
    display: block;
}

/* When image slide is active - remove background and padding */
.banner-area-2.big-bg-2.image-slide-active {
    background: none !important;
    padding: 0 !important;
}

.banner-area-2.big-bg-2.image-slide-active::before {
    display: none !important;
}

/* Navbar when image slide is active */
.navbar-area.image-slide-navbar {
    position: relative !important;
}

.navbar-area.style-2.image-slide-navbar {
    position: relative !important;
    background-color: var(--whiteColor) !important;
}

.navbar-area.style-2.image-slide-navbar .clgun-nav .navbar .navbar-nav .nav-item a {
    color: var(--blackColor) !important;
}

.navbar-area.style-2.image-slide-navbar .clgun-nav .nav-search .search-button {
    color: var(--blackColor) !important;
}

.navbar-area.style-2.image-slide-navbar .navbar-brand .logo-light {
    display: none !important;
}

.navbar-area.style-2.image-slide-navbar .navbar-brand .logo-dark {
    display: block !important;
}