:root {
    --green: #1B5E20;
    --yellow: #FFD600;
    --black: #000000;
    --white: #FFFFFF;
    --light-gray: #f8f9fa;
    --dark-green: #103b13;
    --font-primary: 'Open Sans', sans-serif;
    --font-display: 'Open Sans', sans-serif;
}


/* General Styles */
body { 
    font-family: var(--font-primary); 
    background-color: var(--white); 
    color: #333; 
    overflow-x: hidden; 
    scroll-behavior: smooth;
}

.section-padding { padding: 100px 0; }

.section-title { 
    font-family: var(--font-display); 
    font-size: 4.5rem; 
    color: var(--green); 
    text-transform: uppercase; 
    margin-bottom: 50px; 
    position: relative; 
    text-align: center; 
    letter-spacing: 1px;
}

.section-title::after { 
    content: ''; 
    position: absolute; 
    display: block; 
    width: 120px; 
    height: 6px; 
    background: linear-gradient(90deg, var(--yellow), var(--green)); 
    bottom: -20px; 
    left: 50%; 
    transform: translateX(-50%); 
    border-radius: 5px; 
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--green);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.loader {
    width: 80px;
    height: 80px;
    border: 8px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--yellow);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    color: white;
    margin-top: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 1. TOP NARROW HEADER */
#top-bar { 
    background: var(--black); 
    color: var(--white); 
    padding: 10px 0; 
    font-size: 0.9rem; 
    position: relative;
    z-index: 1001;
}

#top-bar a { 
    color: var(--white); 
    text-decoration: none; 
    margin: 0 12px; 
    transition: all 0.3s; 
    display: inline-flex;
    align-items: center;
}

#top-bar a:hover { 
    color: var(--yellow); 
    transform: translateY(-2px);
}

#top-bar a i { 
    margin-right: 5px; 
    font-size: 0.9em;
}

/* 2. MAIN BRANDING HEADER */
/* 2. MAIN BRANDING HEADER */ 
#main-header { 
    background: var(--green); /* Background ya kijani */
    padding: 25px 0; 
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#main-header .header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#main-header .logo { 
    height: 80px; 
    transition: all 0.3s;
    filter: brightness(0) invert(1); /* Logo nyeupe ikiwa ni nyeusi */
}

#main-header .institution-name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 800; /* Black weight */
    font-size: 2.5rem;
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Visibility improvement */
    flex-grow: 1;
    padding: 0 20px;
}

#main-header .logo:hover {
    transform: scale(1.05);
    opacity: 0.9;
}


/* 3. NAVIGATION MENU - Modernized */
#main-navbar { 
    background: var(--green); 
    padding: 0; 
    transition: all 0.4s ease; 
    box-shadow: 0 5px 25px rgba(0,0,0,0.15); 
    z-index: 1000;
}

#main-navbar .navbar-nav { 
    gap: 5px;
}

#main-navbar .nav-link { 
    color: var(--white); 
    padding: 18px 25px; 
    text-transform: uppercase; 
    font-weight: 600; 
    position: relative; 
    font-size: 1rem; 
    transition: all 0.3s;
    letter-spacing: 1px;
    border-radius: 5px;
}

#main-navbar .nav-link:hover, 
#main-navbar .nav-link.active { 
    color: var(--yellow); 
    background: rgba(255,255,255,0.1);
}

#main-navbar .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background: var(--yellow);
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.3s;
}

#main-navbar .nav-link:hover::after,
#main-navbar .nav-link.active::after {
    width: 60%;
}

.navbar-sticky { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    animation: slideDown 0.5s ease-out; 
    box-shadow: 0 5px 30px rgba(0,0,0,0.2);
}

@keyframes slideDown { 
    from { transform: translateY(-100%); opacity: 0; } 
    to { transform: translateY(0); opacity: 1; } 
}

.navbar-toggler {
    border: 2px solid var(--white);
    padding: 8px 12px;
}

.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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* 4. HERO SLIDER - Enhanced with Swiper */
#hero-slider {
    position: relative;
    margin-top: -1px;
    height: 100vh;
    min-height: 650px;
    max-height: 900px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-swiper .swiper-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0 5%;
    width: 100%;
    color: white;
    z-index: 10;
}

.hero-content h2 {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 8vw, 6rem);
    color: var(--white);
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    margin-bottom: 25px;
    line-height: 1.1;
    letter-spacing: 2px;
}

.hero-content p {
    max-width: 600px;
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content .btn-brand {
    background-color: var(--yellow);
    color: var(--black);
    border: none;
    padding: 15px 45px;
    font-weight: bold;
    border-radius: 50px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-content .btn-brand:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    background-color: var(--white);
}

.hero-swiper .swiper-pagination {
    bottom: 50px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
    border: 2px solid var(--white);
    background: transparent;
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--yellow);
    border-color: var(--yellow);
}

.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    color: white;
    transition: all 0.3s;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
    background: rgba(255,255,255,0.3);
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
    font-size: 1.5rem;
    font-weight: bold;
}

/* 5. LEADERSHIP INFINITE SCROLLER - Enhanced */
#leadership-scroller { 
    background: var(--light-gray); 
    padding: 100px 0; 
    overflow: hidden;
    position: relative;
}

#leadership-scroller::before,
#leadership-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
}

#leadership-scroller::before {
    left: 0;
    background: linear-gradient(to right, var(--light-gray) 0%, rgba(248, 249, 250, 0) 100%);
}

#leadership-scroller::after {
    right: 0;
    background: linear-gradient(to left, var(--light-gray) 0%, rgba(248, 249, 250, 0) 100%);
}

.scroller-wrapper { 
    display: flex; 
    flex-wrap: nowrap; 
    position: relative;
}

.scroller-inner { 
    display: flex; 
    animation: scroll-left 30s linear infinite; 
    will-change: transform;
}

.scroller-wrapper:hover .scroller-inner { 
    animation-play-state: paused; 
}

.leader-card-scroll {
    width: 350px;
    margin: 0 25px;
    text-align: center;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s;
}

.leader-card-scroll .img-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    margin-bottom: 25px;
    transition: all 0.4s ease;
    height: 450px;
}

.leader-card-scroll:hover .img-container { 
    transform: translateY(-15px) scale(1.03); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
}

.leader-card-scroll img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s;
}

.leader-card-scroll:hover img {
    transform: scale(1.1);
}

.leader-card-scroll .info { 
    background: var(--white); 
    padding: 25px; 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); 
    position: relative;
    z-index: 1;
    margin-top: -50px;
    transition: all 0.3s;
}

.leader-card-scroll:hover .info {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.leader-card-scroll .name { 
    font-family: var(--font-display); 
    font-size: 2.2rem; 
    color: var(--green); 
    margin-bottom: 5px; 
    letter-spacing: 1px;
}

.leader-card-scroll .title { 
    font-weight: 500; 
    color: #555; 
    font-size: 1.1rem;
}

.leader-card-scroll .social-links {
    margin-top: 15px;
}

.leader-card-scroll .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s;
}

.leader-card-scroll .social-links a:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-3px);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* 6. ABOUT US with TABS & ORG CHART - Enhanced */
#about-us { 
    position: relative;
    overflow: hidden;
}

#about-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%231B5E20" opacity="0.05"><polygon points="50,0 100,50 50,100 0,50"/></svg>');
    background-size: contain;
    z-index: 0;
}

#about-us .nav-pills { 
    gap: 15px;
}

#about-us .nav-pills .nav-link { 
    background-color: #f0f0f0; 
    color: var(--green); 
    margin-bottom: 0; 
    border-radius: 10px; 
    text-align: left; 
    padding: 20px 25px; 
    font-weight: 600; 
    font-size: 1.2rem; 
    transition: all 0.4s; 
    border-left: 5px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

#about-us .nav-pills .nav-link.active { 
    background-color: var(--green); 
    color: var(--yellow); 
    box-shadow: 0 10px 30px rgba(27, 94, 32, 0.3); 
    transform: translateX(10px); 
    border-left: 5px solid var(--yellow);
}

#about-us .tab-content { 
    background: var(--white); 
    padding: 40px; 
    border-radius: 15px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.1); 
    min-height: 450px; 
    position: relative;
    z-index: 1;
}

#about-us .tab-content h3 { 
    font-family: var(--font-display); 
    color: var(--green); 
    font-size: 3rem; 
    margin-bottom: 25px;
    letter-spacing: 1px;
}

#about-us .tab-content p {
    font-size: 1.1rem;
    line-height: 1.8;
}

#about-us .tab-content ul {
    list-style: none;
    padding-left: 0;
}

#about-us .tab-content ul li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

#about-us .tab-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 15px;
    height: 15px;
    background-color: var(--yellow);
    border-radius: 3px;
    transform: rotate(45deg);
}

/* Org Chart Styles - Enhanced */
.org-chart { 
    text-align: center; 
    margin-top: 40px;
}

.org-chart ul { 
    padding: 0; 
    list-style: none; 
    position: relative; 
    margin-top: 40px;
}

.org-chart li { 
    display: inline-block; 
    vertical-align: top; 
    text-align: center; 
    padding: 0 20px 40px 20px; 
    position: relative; 
}

.org-chart .node { 
    background: var(--light-gray); 
    border: 2px solid var(--green); 
    padding: 15px 20px; 
    border-radius: 10px; 
    min-width: 220px; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.org-chart .node:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    background: var(--white);
}

.org-chart .node h5 { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--green); 
    margin-bottom: 5px;
}

.org-chart .node p { 
    font-size: 0.9rem; 
    margin-bottom: 0; 
    color: #555;
}

/* Connecting Lines - Enhanced */
.org-chart li::before, 
.org-chart li::after { 
    content: ''; 
    position: absolute; 
    top: 0; 
    right: 50%; 
    border-top: 2px solid var(--green); 
    width: 50%; 
    height: 25px; 
}

.org-chart li::after { 
    right: auto; 
    left: 50%; 
    border-left: 2px solid var(--green); 
}

.org-chart li:only-child::before, 
.org-chart li:only-child::after { 
    display: none; 
}

.org-chart li:first-child::before, 
.org-chart li:last-child::after { 
    border: 0 none; 
}

.org-chart li:last-child::before { 
    border-right: 2px solid var(--green); 
    border-radius: 0 5px 0 0; 
}

.org-chart ul ul::before { 
    content: ''; 
    position: absolute; 
    top: -25px; 
    left: 50%; 
    border-left: 2px solid var(--green); 
    width: 0; 
    height: 25px; 
}

/* 7. NEWS & EVENTS - Enhanced with Blinking News Ticker */
#news-events { 
    background: var(--light-gray); 
    position: relative;
    overflow: hidden;
}

#news-events::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(248,249,250,1) 0%, rgba(248,249,250,0) 100%);
    z-index: 1;
}

.news-ticker {
    background: var(--green);
    color: white;
    padding: 15px 0;
    margin-bottom: 50px;
    overflow: hidden;
}

.news-ticker-container {
    display: flex;
    align-items: center;
    white-space: nowrap;
    animation: ticker 30s linear infinite;
}

.ticker-label {
    background: var(--yellow);
    color: var(--black);
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: bold;
    margin-right: 20px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.ticker-item {
    display: inline-block;
    margin-right: 50px;
    font-size: 1.1rem;
    position: relative;
}

.ticker-item::after {
    content: '•';
    position: absolute;
    right: -30px;
    color: rgba(255,255,255,0.5);
}

.ticker-item:last-child::after {
    display: none;
}

.ticker-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.ticker-item a:hover {
    color: var(--yellow);
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.news-card { 
    background: var(--white); 
    border-radius: 15px; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.08); 
    transition: all 0.4s; 
    margin-bottom: 30px; 
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 50px rgba(0,0,0,0.15); 
}

.news-card .news-img { 
    border-radius: 15px 15px 0 0; 
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.news-card:hover .news-img {
    transform: scale(1.05);
}

.news-card .news-content { 
    padding: 30px; 
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-card .news-meta { 
    color: var(--green); 
    font-size: 0.9rem; 
    font-weight: 600; 
    margin-bottom: 15px; 
    display: flex;
    align-items: center;
}

.news-card .news-meta i {
    margin-right: 8px;
}

.news-card .news-title { 
    color: var(--green); 
    font-weight: 700; 
    font-size: 1.4rem; 
    margin-bottom: 15px;
    line-height: 1.4;
}

.news-card .news-excerpt {
    margin-bottom: 20px;
    flex-grow: 1;
}

.news-card .read-more { 
    color: var(--green); 
    font-weight: bold; 
    text-decoration: none; 
    display: inline-flex;
    align-items: center;
    transition: all 0.3s;
}

.news-card .read-more i {
    margin-left: 5px;
    transition: transform 0.3s;
}

.news-card:hover .read-more {
    color: var(--dark-green);
}

.news-card:hover .read-more i {
    transform: translateX(5px);
}

.news-section-title {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--green);
    margin-bottom: 30px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.news-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: linear-gradient(to right, var(--yellow), var(--green));
    border-radius: 2px;
}

/* 8. CALL TO ACTION - Enhanced */
#cta-section { 
    padding: 100px 0; 
    background: linear-gradient(135deg, rgba(27, 94, 32, 0.95) 0%, rgba(16, 59, 19, 0.95) 100%), url(https://images.unsplash.com/photo-1541542939224-630347983b63?q=80&w=1920&auto=format&fit=crop) center center fixed; 
    background-size: cover; 
    color: var(--white); 
    position: relative;
    overflow: hidden;
}

#cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" opacity="0.05"><polygon points="50,0 100,50 50,100 0,50"/></svg>');
    background-size: 200px;
    animation: ctaPattern 60s linear infinite;
}

@keyframes ctaPattern {
    0% { background-position: 0 0; }
    100% { background-position: 1000px 1000px; }
}

#cta-section h3 { 
    font-family: var(--font-display); 
    font-size: 4rem; 
    margin-bottom: 30px;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

#cta-section p { 
    font-size: 1.3rem; 
    max-width: 700px; 
    margin: 0 auto 40px; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

#cta-section .btn-cta { 
    background: var(--yellow); 
    color: var(--black); 
    padding: 18px 50px; 
    font-weight: 700; 
    border-radius: 50px; 
    transition: all 0.3s; 
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--yellow);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#cta-section .btn-cta:hover { 
    background: transparent; 
    transform: translateY(-5px); 
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    color: var(--yellow);
}

#cta-section .btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--green);
    z-index: -1;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

#cta-section .btn-cta:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* 9. TESTIMONIALS - Enhanced */
#testimonials { 
    position: relative;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="%231B5E20" opacity="0.03"><polygon points="50,0 100,50 50,100 0,50"/></svg>');
    background-size: 200px;
}

.testimonial-swiper { 
    padding-bottom: 80px; 
}

.testimonial-card { 
    background: var(--white); 
    border-radius: 20px; 
    padding: 40px; 
    box-shadow: 0 15px 50px rgba(0,0,0,0.1); 
    height: 100%; 
    border-top: 8px solid var(--yellow); 
    position: relative;
    margin: 20px;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    right: 30px;
    font-family: Georgia, serif;
    font-size: 5rem;
    color: var(--green);
    opacity: 0.1;
    line-height: 1;
}

.testimonial-card .quote-icon { 
    font-size: 2.5rem; 
    color: var(--green); 
    opacity: 0.2; 
    margin-bottom: 10px;
}

.testimonial-card .quote-text { 
    font-style: italic; 
    margin: 25px 0; 
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.testimonial-card .author-info { 
    display: flex; 
    align-items: center; 
}

.testimonial-card .author-img { 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-right: 20px; 
    border: 3px solid var(--green); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.testimonial-card .author-name { 
    font-weight: 700; 
    margin: 0 0 5px 0; 
    color: var(--green);
    font-size: 1.2rem;
}

.testimonial-card .author-title {
    color: #777;
    font-size: 0.9rem;
}

.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(27, 94, 32, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: var(--green);
}

/* 10. FOOTER - Enhanced */
#footer { 
    background: var(--dark-green); 
    color: rgba(255,255,255,0.8); 
    padding: 80px 0 0 0; 
    position: relative;
}

#footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--yellow), var(--green));
}

#footer h4 { 
    color: var(--yellow); 
    font-family: var(--font-display); 
    font-size: 2rem; 
    margin-bottom: 25px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

#footer h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--yellow);
}

#footer a { 
    color: rgba(255,255,255,0.8); 
    text-decoration: none; 
    transition: all 0.3s; 
}

#footer a:hover { 
    color: var(--yellow); 
    transform: translateX(5px);
}

#footer .footer-links ul { 
    list-style: none; 
    padding: 0; 
}

#footer .footer-links li { 
    padding: 10px 0; 
    border-bottom: 1px dashed rgba(255,255,255,0.1);
}

#footer .footer-links li:last-child {
    border-bottom: none;
}

#footer .footer-links i {
    margin-right: 10px;
    color: var(--yellow);
    width: 20px;
    text-align: center;
}

#footer p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

#footer .contact-info {
    margin-bottom: 25px;
}

#footer .contact-info i {
    color: var(--yellow);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

#footer .copyright-bar { 
    background: rgba(0,0,0,0.2); 
    padding: 20px 0; 
    margin-top: 60px; 
    font-size: 0.9rem;
}

.footer-logo {
    width: 150px;
    margin-bottom: 20px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-5px);
}

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
    .section-padding { padding: 80px 0; }
    .section-title { font-size: 4rem; }
}

@media (max-width: 991.98px) {
    .section-padding { padding: 70px 0; }
    .section-title { font-size: 3.5rem; }
    #hero-slider { height: 80vh; min-height: 500px; }
    #about-us .nav-pills .nav-link { padding: 15px 20px; font-size: 1rem; }
    .leader-card-scroll { width: 300px; }
}

@media (max-width: 767.98px) {
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 3rem; }
    #hero-slider { height: 70vh; min-height: 450px; }
    #main-header .institution-name { font-size: 1.8rem; }
    #main-navbar .nav-link { padding: 12px 15px; font-size: 0.9rem; }
    .hero-content h2 { font-size: 2.5rem; }
    .hero-content p { font-size: 1rem; max-width: 100%; }
    #about-us .row { flex-direction: column; }
    #about-us .nav-pills { flex-direction: row !important; margin-bottom: 20px; overflow-x: auto; white-space: nowrap; }
    #about-us .nav-pills .nav-link { display: inline-block; width: auto; }
    .news-card { margin-bottom: 20px; }
    #cta-section h3 { font-size: 3rem; }
    #cta-section p { font-size: 1.1rem; }
    .testimonial-card { padding: 30px; }
}

@media (max-width: 575.98px) {
    .section-padding { padding: 50px 0; }
    .section-title { font-size: 2.5rem; }
    #hero-slider { height: 60vh; min-height: 380px; }
    #main-header .logo { height: 60px; }
    #main-header .institution-name { font-size: 1.5rem; }
    #top-bar .d-flex { flex-direction: column; gap: 5px; }
    #top-bar a { margin: 0 5px; }
    .hero-content h2 { font-size: 2rem; }
    .hero-content .btn-brand { padding: 10px 25px; }
    #cta-section h3 { font-size: 2.5rem; }
    #cta-section .btn-cta { padding: 15px 30px; }
    .footer-logo { width: 120px; }
    .back-to-top { width: 40px; height: 40px; font-size: 1rem; bottom: 20px; right: 20px; }
	
	
	
	
}