:root {
    --primary-color: #037EF3;
    --secondary-color: #FF8200;
    --dark-color: #2C3E50;
    --light-color: #F5F6FA;
    --accent-color: #FFB74D;
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth Scroll Behavior */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Unbounded', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}
body, html {
  font-family: 'Unbounded', sans-serif;
}

/* Floating Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #037EF3; /* Button Color */
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    text-align: center;
    line-height: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

/* Show Button When Scrolling Down */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* Hover Effect */
.scroll-to-top:hover {
    background: #0256a1;
}

/* Only Show on Mobile */
@media (min-width: 769px) {
    .scroll-to-top {
        display: none;
    }
}

.navbar {
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    list-style: none !important;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    border-bottom: 1px solid #e6e6e6;
    z-index: 1000;
    transition: all 0.3s ease-in-out;
}

.navbar-nav {
    list-style: none !important;
}

.navbar.fixed-nav {
    position: fixed;
    top: 0;
    left: 0;
    list-style: none !important;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out, visibility 0.5s;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.navbar-collapse {
    justify-content: flex-end;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #037EF3;
    left: 50%;
    bottom: -5px;
    transition: all 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.navbar-nav .dropdown-toggle::after {
    display: none;
}

.navbar-nav .nav-link::after,
.navbar-nav .dropdown-toggle::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #037EF3;
    left: 50%;
    bottom: -5px;
    transition: all 0.3s;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .dropdown-toggle:hover::after {
    width: 100%;
    left: 0;
}

.dropdown-menu .dropdown-item {
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
    background-color: #037EF3;
    color: white;
}

.dropdown-menu li:nth-child(1) .dropdown-item:hover { background: #f85a40; color: white; }
.dropdown-menu li:nth-child(2) .dropdown-item:hover { background: #f85a40; color: white; }
.dropdown-menu li:nth-child(3) .dropdown-item:hover { background: linear-gradient(90deg,#0CB9C1, #F48924 ); color: white; }
.dropdown-menu li:nth-child(4) .dropdown-item:hover { background: linear-gradient(135deg, #F48924, #0CB9C1); color: white; }
.dropdown-menu li:nth-child(5) .dropdown-item:hover { background: #037ef3; color: white; }
.dropdown-menu li:nth-child(6) .dropdown-item:hover { background: #0e33af; color: white; }
.dropdown-menu li:nth-child(7) .dropdown-item:hover { background: #7552CC; color: white; }
.dropdown-menu li:nth-child(8) .dropdown-item:hover { background: #0DA15D; color: white; }

@media (max-width: 991px) {
    .navbar {
        padding: 15px 20px;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
        width: 100%;
    }
    
    .collapse.navbar-collapse {
        background: white;
        padding: 10px 0;
        text-align: center;
    }
    
    .dropdown-menu {
        text-align: center;
        background-color: rgba(255, 255, 255, 0.95);
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 10px 15px;
    }
    
    .logo img {
        height: 30px;
    }
}
  .pre-loader {
    position: fixed;
    background-color: #ffffff;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
  }
  .pre-loader img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
  }


.hero-section {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('aspects/bg.svg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.5s;
}

.hero-section p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.7s;
}

.hero-section .btn {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.9s;
    display: flex;
    width: 50%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 0;
        background-position-y: 0px !important;

    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .hero-section .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 80px 0;
                background-position-y: 0px !important;


    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .hero-section p {
        font-size: 1rem;
    }
}

.section {
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 5rem;
    position: relative;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--primary-color);
}

.card {
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease;
    margin-bottom: 2rem;
}

.card:hover {
    transform: translateY(-5px);
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 1rem 2.5rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all var(--transition-medium);
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(255,130,0,0.3);
}

.contact-section {
    background: linear-gradient(135deg, var(--light-color) 0%, #ffffff 100%);
    position: relative;
}

.contact-info-card,
.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.contact-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
}

.contact-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--dark-color);
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.contact-form-card h3 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.form-control {
    border: 2px solid var(--light-color);
    padding: 0.8rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 130, 0, 0.25);
}

.btn-block {
    width: 100%;
    padding: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-info-card {
        margin-bottom: 2rem;
    }
    
    .social-icons {
        justify-content: center;
    }
}

.social-links a {
    color: var(--dark-color);
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Founding Team Styles */
.founder-card {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.founder-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.founder-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.founder-image img {
    border: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

.founder-card:hover .founder-image img {
    transform: scale(1.05);
}

.founder-name {
    color: var(--dark-color);
    margin: 1rem 0 0.5rem;
    font-weight: bold;
}

.founder-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-bio {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* Earliest Initiatives Styles */
.initiative-card {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    overflow: hidden;
}

.initiative-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.initiative-number {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: -10px;
}

.initiative-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
    line-height: 1.8;
}

.initiative-content .split-text {
    font-size: 1.1rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.partner-logo {
    max-width: 200px;
    margin: 2rem auto;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: scale(1.1);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0 0.2em;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .founder-card {
        margin-bottom: 2rem;
    }
    
    .founder-bio {
        margin-top: 2rem;
    }

    .initiative-card {
        margin-bottom: 3rem;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Exchange Stats Styles */
.exchange-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 2rem 0;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 10px;
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: bold;
}

/* Board of Advisors Styles */
.advisor-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.advisor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.advisor-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.advisor-card:hover .advisor-image img {
    transform: scale(1.05);
}

.advisor-name {
    color: var(--dark-color);
    margin: 1rem 0 0.5rem;
    font-weight: bold;
}

.advisor-title {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.advisor-quote {
    position: relative;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    margin-top: 2rem;
}

.quote-icon {
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-size: 2rem;
    color: var(--primary-color);
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.quote-date {
    margin-top: 1rem;
    font-style: italic;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .exchange-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        transform: rotate(90deg);
    }

    .advisor-quote {
        margin-top: 3rem;
        padding: 1.5rem;
    }

    .advisor-image {
        text-align: center;
        margin-bottom: 2rem;
    }

    .advisor-info {
        text-align: center;
        margin-bottom: 2rem;
    }
}

/* History Section Styles */
#history {
    opacity: 1;
    transform: none;
    background-color: var(--light-color);
    padding: 6rem 0;
}

.history-header {
    position: relative;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.year-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 2.5rem;
    border-radius: 30px;
    font-weight: bold;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(255, 130, 0, 0.2);
    font-size: 1.2rem;
}

.timeline-item {
    position: relative;
    padding: 2rem;
    margin-bottom: 4rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.timeline-item:not(:last-child):after {
    content: '';
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 4rem;
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item .history-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem;
}

.timeline-item .history-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

/* Remove conflicting animation classes */
.timeline-item.fade-in {
    opacity: 1;
    transform: none;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {

    .year-badge {
        font-size: 1rem;
        padding: 0.6rem 2rem;
    }
}

/* Local Committees Styles */
.lc-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.lc-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.lc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.lc-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.lc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lc-card:hover .lc-image img {
    transform: scale(1.1);
}

.lc-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 130, 0, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.lc-content {
    padding: 1.5rem;
}

.lc-name {
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.lc-stats {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.lc-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-color);
}

.lc-stat i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Responsive adjustments for LC cards */
@media (max-width: 992px) {
    .lc-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lc-container {
        grid-template-columns: 1fr;
    }

    .lc-card {
        max-width: 400px;
        margin: 0 auto;
    }
}

.period-lcs {
    margin-top: 3rem;
}

.period-lcs h3 {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    position: relative;
}

.period-lcs h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: white;
}

/* Responsive adjustments for timeline */
@media (max-width: 768px) {


    .period-lcs h3 {
        font-size: 1.5rem;
    }
}

/* Achievements List Styles */
.achievements-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.achievement-item {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 250px;
    opacity: 1;
    transform: none;
}

.achievement-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.achievement-item:hover::before {
    transform: scaleX(1);
}

.achievement-icon {
    position: relative;
    width: 70px;
    height: 70px;
    background: var(--light-color);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.achievement-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.achievement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.achievement-item:hover .achievement-icon {
    background: var(--primary-color);
}

.achievement-item:hover .achievement-icon i {
    color: white;
}

.achievement-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-color);
    margin: 0;
    padding: 0 1rem;
    word-spacing: normal;
    letter-spacing: normal;
}

/* Remove animation that might cause text issues */
.achievement-item p::before {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .achievements-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .achievements-list {
        grid-template-columns: 1fr;
    }

    .achievement-item {
        min-height: auto;
        padding: 2rem 1.5rem;
    }

    .achievement-icon {
        width: 60px;
        height: 60px;
    }

    .achievement-icon i {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Section Transition Animations */
.section-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 6rem 0;
}

.section-slide {
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.section-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.section-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.section-background.active {
    transform: scale(1);
}

.section-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Text Animation Styles */
.split-text {
    opacity: 1;
    display: inline-block;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.split-text .animate-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s forwards;
}

.parallax-text {
    position: relative;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 2rem;
    overflow: hidden;
}

.parallax-text .animate-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Ensure proper word spacing */
.animate-word + span {
    margin: 0 0.25em;
}

/* Stagger animation delays */
.stagger-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.stagger-item.active {
    opacity: 1;
    transform: translateY(0);
}

/* Timeline Animation */
.timeline-wrapper {
    position: relative;
    padding: 4rem 0;
}

.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 0;
    background: var(--primary-color);
    transition: height 1.5s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.timeline-line.active {
    height: 100%;
}

/* Image Reveal Effect */
.image-reveal {
    position: relative;
    overflow: hidden;
}

.image-reveal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-color);
    transform: scaleX(1);
    transform-origin: right;
    transition: transform 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.image-reveal.active::after {
    transform: scaleX(0);
}

/* Enhanced Section Transitions */
.section {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.section.active {
    opacity: 1;
    transform: translateY(0);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 5px;
    background: rgba(0, 0, 0, 0.1);
    z-index: 9999;
    transition: width 0.3s ease-out;
    overflow: hidden;
}

.progress-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease-out;
    animation: progress-glow 2s infinite alternate;
}

@keyframes progress-glow {
    0% {
        box-shadow: 0 0 5px rgba(3, 126, 243, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 130, 0, 0.8);
    }
}

.scroll-progress.scrolling .progress-inner {
    animation: progress-pulse 1.5s infinite alternate;
}

@keyframes progress-pulse {
    0% {
        opacity: 0.8;
    }
    100% {
        opacity: 1;
    }
}

/* Timeline Animation Styles */
.timeline-section {
    position: relative;
    background-color: var(--light-color);
    padding: 6rem 0;
    min-height: 100vh;
    overflow: visible;
}

.timeline-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.history-header {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    opacity: 1;
    transform: none;
}

.history-content {
    opacity: 1;
    transform: none;
}

.year-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 1rem 3rem;
    border-radius: 30px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(255,130,0,0.2);
    opacity: 1;
    transform: none;
}

.achievement-item {
    opacity: 1;
    transform: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-card {
    opacity: 1;
    transform: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Remove any fade-in classes that might interfere */
.timeline-item.fade-in,
.history-header.fade-in,
.achievement-item.fade-in,
.lc-card.fade-in {
    opacity: 1;
    transform: none;
}



/* Timeline Progress Bar */


/* Ensure achievements list is visible */
.achievements-list {
    opacity: 1;
    transform: none;
}

/* Ensure LC container is visible */
.lc-container {
    opacity: 1;
    transform: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}



.navbar-logo {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.navbar.scrolled .navbar-logo {
    height: 30px;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 35px;
    }
}

/* Color gradient classes for LC cards */
.lc-card.red {
    background: linear-gradient(to right, #E44D26, #FF7F50);
}

.lc-card.green {
    background: linear-gradient(135deg, #076D3E, #0DA15D, #46D286);
}

.lc-card.blue {
    background: linear-gradient(90deg, #0CB9C1, #F48924);
}

.lc-card.orange {
    background: linear-gradient(135deg, #ff9800, #ffb74d);
}

.lc-card.purple {
    background: linear-gradient(135deg, #35266A, #A785F0);
}

.lc-card.yellow {
    background: linear-gradient(135deg, #fbc02d, #ffeb3b);
}

.lc-card.b2c {
    background: linear-gradient(135deg, #037EF3, #1366b4);
}

.lc-card.b2b {
    background: linear-gradient(135deg, #037ef3, #266fdc);
}

/* Ensure LC card content is visible on colored backgrounds */
.lc-card .lc-content {
    color: white;
}

.lc-card .lc-name {
    color: white;
}

.lc-card .lc-stat {
    color: white;
}

.lc-card .lc-stat i {
    color: white;
}

/* Footer Styles */
.image-footer {
    position: relative;
    width: 100%;
    background-color: #000;
    color: white;
    padding: 20px 0;
    overflow: hidden;
}

.scrolling-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.scrolling-content {
    display: flex;
    animation: scroll 30s linear infinite;
    width: fit-content;
}



@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.footer-text {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-text a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-text a:hover {
    color: #037EF3 !important;
}

/* Responsive adjustments for footer */
@media (max-width: 768px) {
    .scrolling-content img {
        height: 80px;
    }
    
    .footer-text {
        font-size: 12px;
    }
}



/* Responsive Achievement Items */


/* Responsive Founder Cards */
@media (max-width: 768px) {
    .founder-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .founder-card {
        padding: 20px;
    }
    
    .founder-card h3 {
        font-size: 1.2rem;
    }
    
    .founder-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .founder-cards {
        grid-template-columns: 1fr;
    }
    
    .founder-card {
        padding: 15px;
    }
}

/* Responsive Initiative Cards */
@media (max-width: 768px) {
    .initiative-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .initiative-card {
        padding: 20px;
    }
    
    .initiative-card h3 {
        font-size: 1.2rem;
    }
    
    .initiative-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .initiative-cards {
        grid-template-columns: 1fr;
    }
    
    .initiative-card {
        padding: 15px;
    }
}

/* Responsive Advisor Cards */
@media (max-width: 768px) {
    .advisor-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 20px;
    }
    
    .advisor-card {
        padding: 20px;
    }
    
    .advisor-card h3 {
        font-size: 1.2rem;
    }
    
    .advisor-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .advisor-cards {
        grid-template-columns: 1fr;
    }
    
    .advisor-card {
        padding: 15px;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .image-footer {
        padding: 20px;
    }
    
    .scrolling-container {
        height: 100px;
    }
    
    .scrolling-content img {
        height: 80px;
    }
    
    .footer-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .scrolling-container {
        height: 80px;
    }
    
    .scrolling-content img {
        height: 60px;
    }
    
    .footer-text {
        font-size: 0.8rem;
    }
} 



@media (max-width: 576px) {
  body {
    overflow-x: hidden;
    font-size: 17px;
  }

.timeline-item {
  width: 100% !important;
max-width: 95vw !important;
  padding: 1.5rem 1rem;
  box-sizing: border-box;
  margin: 2rem auto; /* keeps it centered */
}


  .history-content {
    padding: 0 !important;
    text-align: center;
  }

  .year-badge {
    font-size: 1.1rem;
    padding: 10px 24px;
    width: fit-content;
    margin: 0 auto 1rem;
    display: block;
  }

  .achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 0;
  }

  .achievement-item {
    width: 100% !important;
    padding: 1rem;
    text-align: center;
  }

  .achievement-icon {
    font-size: 26px;
    margin-bottom: 0.5rem;
  }

  .achievement-item p,
  .lead {
    font-size: 1.05rem;
    line-height: 1.7;
    word-wrap: break-word;
    padding: 0 12px;
  }

  .lc-container {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }

  .lc-card {
    width: 96% !important;
    max-width: 96%;
    padding: 14px 18px;
    text-align: center;
    box-sizing: border-box;
  }

  .lc-name {
    font-size: 1.1rem;
    white-space: normal;
    word-break: break-word;
  }

  .period-lcs h3,
  .history-header h3 {
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 1rem;
  }
  .history-header {

    padding: 1rem;
    margin-bottom: 0px;
}

  img {
    max-width: 100%;
    height: auto;
  }
  .lc-content {
    padding: 0rem;
}
.timeline-item .history-content p {
    font-size: 0.8rem;

}
  .timeline-item:not(:last-child):after {
    height: 3rem;
  }
}

/* Footer Background */
.image-footer {
   margin-top: 100px;
    background: #333;
    padding: 20px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Scrolling Container */
.scrolling-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

/* Scrolling Content */
.scrolling-content {
    display: flex;
    gap: 10px;
}

/* Image Styling */
.scrolling-content img {
    width: 350px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}



/* Footer Text */
.footer-text {
    background: linear-gradient(90deg, #037EF3, #8a2be2);
    color: white;
    padding: 10px 0;
    font-size: 14px;
    margin-top: 10px;
}

.moving-bar .custom-font {
    font-family: 'Amsterdam', cursive;
    font-size: 4rem; /* Slightly larger for emphasis */
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


/* MOBILE */
@media (max-width: 768px) {
  .year-navbar-wrapper.fixed-bottom-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 9999;
    padding: 10px 0;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    margin: 0px;
  }

  .timeline-section {
    padding-bottom: 160px;
  }
}

/* DESKTOP */
@media (min-width: 769px) {
  .year-navbar-wrapper.fixed-bottom-desktop {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    z-index: 9999;
    padding: 12px 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
        margin: 0px;

  }

  .timeline-section {
    padding-bottom: 160px;
  }
}

/* Base style when fixed */
.year-navbar-wrapper.fixed-bottom-mobile,
.year-navbar-wrapper.fixed-bottom-desktop {
  opacity: 0.6;
  transition: opacity 0.3s ease-in-out;
  cursor: pointer;
}

/* On hover or tap (focus/active) */
.year-navbar-wrapper.fixed-bottom-mobile:hover,
.year-navbar-wrapper.fixed-bottom-mobile:focus-within,
.year-navbar-wrapper.fixed-bottom-mobile:active,
.year-navbar-wrapper.fixed-bottom-desktop:hover,
.year-navbar-wrapper.fixed-bottom-desktop:focus-within,
.year-navbar-wrapper.fixed-bottom-desktop:active {
  opacity: 1;
}

.year-navbar-wrapper.fixed-bottom-mobile:hover,
.year-navbar-wrapper.fixed-bottom-mobile:focus-within,
.year-navbar-wrapper.fixed-bottom-desktop:hover,
.year-navbar-wrapper.fixed-bottom-desktop:focus-within {
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
}
