/* Base Styles */
:root {
    --primary-color: #2a5c8a;
    --secondary-color: #e9b949;
    --accent-color: #d45d3e;
    --dark-color: #1a2b3c;
    --light-color: #f8f9fa;
    --text-color: #333;
    --text-light: #777;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

.btn {
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 30px;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #1e4a75;
    border-color: #1e4a75;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.divider {
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 0 auto 20px;
    position: relative;
}

.divider:after {
    content: '';
    position: absolute;
    left: 50%;
    top: -5px;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.loader {
    text-align: center;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 3px solid var(--primary-color);
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

.loader-text {
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 1px;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Navigation */
/* ================== NAVBAR STYLES ================== */

/* Initial state of the navbar at the top of the page */
.navbar {
    background-color: transparent;
    transition: background-color 0.4s ease-out, padding 0.4s ease-out;
    padding: 20px 0;
}

/* State of the navbar after scrolling down */
.navbar.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar .nav-link {
    color: white;
    font-weight: 500;
    margin: 0 10px;
    position: relative;
    transition: color 0.3s ease;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary); /* Uganda Yellow */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--secondary);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* Dropdown Menu Styling */
.dropdown-menu {
    background-color: rgba(20, 20, 20, 0.95);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 10px 0;
}

.dropdown-item {
    color: white;
    font-weight: 500;
    padding: 10px 20px;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: var(--secondary);
    color: var(--primary);
}

/* Donate Button in Navbar */
.btn-donate-nav {
    background-color: var(--secondary);
    color: var(--primary);
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-donate-nav:hover {
    background-color: white;
    color: var(--accent); /* Uganda Red */
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(252, 220, 4, 0.3);
}

/* Making the mobile menu look good */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.9);
        backdrop-filter: blur(10px);
        border-radius: 15px;
        padding: 20px;
        margin-top: 10px;
    }
    .navbar-toggler{
        color: #e9b949;
        background-color: #DA121A;
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/hero-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 92, 138, 0.8) 0%, rgba(212, 93, 62, 0.7) 100%);
    z-index: 0;
}

.hero h1 {
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-buttons .btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

.hero-image-container {
    position: relative;
}

.hero-image {
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: perspective(1000px) rotateY(-15deg);
    transition: var(--transition);
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(-5deg);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.floating-element {
    position: absolute;
    background: white;
    color: var(--primary-color);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    animation: float 6s ease-in-out infinite;
}

.floating-element i {
    font-size: 30px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.floating-element span {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.element-1 {
    top: -20px;
    left: -20px;
    animation-delay: 0s;
}

.element-2 {
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    animation-delay: 1s;
}

.element-3 {
    bottom: -20px;
    left: 20%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.scroll-link {
    display: block;
    width: 40px;
    height: 40px;
    border: 2px solid white;
    border-radius: 50%;
    text-align: center;
    line-height: 36px;
    color: white;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
    40% { transform: translateY(-20px) translateX(-50%); }
    60% { transform: translateY(-10px) translateX(-50%); }
}

/* About Section */
.about-section {
    background-color: #f9f9f9;
}

.about-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--primary-color);
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 120px;
}

.experience-badge .years {
    font-size: 30px;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.experience-badge .text {
    font-size: 12px;
    display: block;
    margin-top: 5px;
}

.about-content h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.mission-vision {
    margin: 30px 0;
}

.mission, .vision {
    margin-bottom: 20px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.mission:hover, .vision:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.mission h4, .vision h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.mission h4 i, .vision h4 i {
    margin-right: 10px;
    color: var(--secondary-color);
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
    color: white;
    padding: 80px 0;
}

.stat-item {
    text-align: center;
    padding: 30px 15px;
    position: relative;
}

.stat-item:after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
}

.stat-item:last-child:after {
    display: none;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--secondary-color);
    font-family: var(--font-secondary);
}

.stat-text {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Programs Section */
.program-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: var(--transition);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 4px solid transparent;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--secondary-color);
}

.program-icon {
    width: 80px;
    height: 80px;
    background: rgba(42, 92, 138, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: var(--primary-color);
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background: var(--primary-color);
    color: white;
}

.program-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.program-card ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.program-card ul li {
    padding: 5px 0;
    position: relative;
    padding-left: 25px;
}

.program-card ul li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 6px;
    color: var(--secondary-color);
}

/* Impact Stories Section */
.impact-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.impact-section .section-header h2 {
    color: var(--dark-color);
    position: relative;
    display: inline-block;
}

.impact-section .section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: var(--secondary-color);
}

.impact-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.story-cards {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    will-change: transform;
}

.story-card {
    min-width: 100%;
    padding: 20px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.645, 0.045, 0.355, 1);
    position: absolute;
    visibility: hidden;
}

.story-card.active {
    opacity: 1;
    transform: scale(1);
    position: relative;
    visibility: visible;
}

.story-card-inner {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.story-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

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

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

.story-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.story-card.active .story-badge {
    transform: translateY(0);
    opacity: 1;
}

.story-badge i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.story-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.story-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    font-size: 14px;
    color: var(--text-light);
}

.story-meta span {
    margin-right: 20px;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.story-meta i {
    margin-right: 5px;
    color: var(--secondary-color);
}

.story-stats {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 15px;
    background: rgba(42, 92, 138, 0.05);
    border-radius: 10px;
    min-width: 100px;
    margin: 5px;
    flex: 1;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.story-card.active .stat {
    transform: translateY(0);
    opacity: 1;
}

.story-card.active .stat:nth-child(1) {
    transition-delay: 0.1s;
}
.story-card.active .stat:nth-child(2) {
    transition-delay: 0.2s;
}
.story-card.active .stat:nth-child(3) {
    transition-delay: 0.3s;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
    font-family: var(--font-secondary);
}

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

.story-content p {
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    padding-left: 20px;
    flex: 1;
}

.story-content p:before {
    content: '"';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 50px;
    line-height: 1;
    color: rgba(42, 92, 138, 0.1);
    font-family: var(--font-secondary);
}

.story-author {
    display: flex;
    align-items: center;
    margin-top: auto;
}

.author-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid var(--secondary-color);
}

.author-info h5 {
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info span {
    font-size: 14px;
    color: var(--text-light);
}

/* Story Navigation */
.story-nav {
    margin-bottom: 40px;
    position: relative;
}

.story-progress {
    height: 3px;
    background: rgba(42, 92, 138, 0.1);
    position: relative;
    margin: 0 50px;
}

.progress-bar {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 25%;
    background: var(--secondary-color);
    transition: width 0.4s ease;
}

.story-dots {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(42, 92, 138, 0.2);
    margin: 0 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.dot:after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid rgba(42, 92, 138, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.dot.active:after {
    border-color: var(--primary-color);
}

.story-arrows {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--primary-color);
    font-size: 18px;
    margin: 0 10px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

/* Impact Video Modal */
.impact-video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.impact-video-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1;
}

.modal-content {
    position: relative;
    z-index: 2;
    width: 80%;
    max-width: 900px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.impact-video-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
}

.close-modal:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Story Cards Container */
.story-cards-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.story-cards-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
    will-change: transform;
}

.story-card {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Animation Classes */
.story-card.animate-out {
    transform: translateX(-100%);
    opacity: 0;
}

.story-card.animate-in {
    transform: translateX(100%);
    opacity: 0;
}

.story-card.active {
    transform: translateX(0);
    opacity: 1;
}

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

.story-cards-wrapper {
    display: flex;
    width: 100%;
    position: relative;
    transition: none;
}

.story-card {
    min-width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
    transition: transform 0.6s ease-in-out;
    position: relative;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .story-image {
        height: 250px;
    }
    
    .story-content {
        padding: 20px;
    }
    
    .story-stats {
        margin: 15px 0;
    }
    
    .stat {
        padding: 10px;
        min-width: 80px;
    }
    
    .stat-value {
        font-size: 20px;
    }
}

@media (max-width: 767.98px) {
    .story-card {
        flex-direction: column;
    }
    
    .story-image {
        height: 200px;
    }
    
    .story-content h3 {
        font-size: 20px;
    }
    
    .story-meta {
        font-size: 13px;
    }
    
    .modal-content {
        width: 95%;
    }
}

@media (max-width: 575.98px) {
    .story-stats {
        flex-direction: column;
    }
    
    .stat {
        width: 100%;
        margin: 5px 0;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .stat-value, .stat-label {
        margin: 0;
    }
    
    .story-progress {
        margin: 0 30px;
    }
    
    .dot {
        margin: 0 5px;
    }
    
    .arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 80px 0 0;
    position: relative;
}

.footer-about {
    margin-bottom: 30px;
}

.footer .logo-img {
    height: 35px;
    margin-right: 10px;
}

.footer .brand-text {
    font-size: 20px;
}

.footer .brand-text span {
    color: var(--secondary-color);
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    margin: 20px 0;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-right: 10px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    color: var(--dark-color);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary-color);
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact ul li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.footer-contact ul li i {
    margin-right: 15px;
    color: var(--secondary-color);
    margin-top: 5px;
}

.newsletter h5 {
    font-size: 18px;
    margin-bottom: 15px;
}

.newsletter form {
    display: flex;
}

.newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    outline: none;
}

.newsletter button {
    background: var(--secondary-color);
    color: var(--dark-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter button:hover {
    background: white;
}

.copyright {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 50px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--accent-color);
    transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1199.98px) {
    .hero h1 {
        font-size: 50px;
    }
}

@media (max-width: 991.98px) {
    .section {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 42px;
    }
    
    .navbar {
        background-color: white !important;
        padding: 10px 0;
    }
    
    .navbar .nav-link {
        color: var(--text-color) !important;
    }
    
    .navbar .navbar-brand .brand-text {
        color: var(--dark-color);
    }
    
    .navbar .navbar-brand .brand-text span {
        color: var(--primary-color);
    }
    
    .navbar .login-btn {
        color: white !important;
    }
    
    .hero {
        text-align: center;
        padding-top: 80px;
    }
    
    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        margin-top: 30px;
    }
    
    .stat-item:after {
        display: none;
    }
}

@media (max-width: 767.98px) {
    .section {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .stat-item {
        padding: 20px 15px;
        margin-bottom: 15px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .cta-content h2 {
        font-size: 32px;
    }
    
    .footer {
        padding: 60px 0 0;
    }
    
    .footer-about, .footer-links, .footer-contact {
        margin-bottom: 40px;
    }
}

@media (max-width: 575.98px) {
    .hero h1 {
        font-size: 30px;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin: 0 0 15px 0;
    }
    
    .experience-badge {
        width: 100px;
        padding: 15px;
    }
    
    .experience-badge .years {
        font-size: 24px;
    }
}


/*ABOUT PAGE*/

/* About Hero */
.about-hero {
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(218,18,26,0.8) 100%), url('../images/about-bg.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 150px 0 100px;
}

/* Mission Section */
.mission-section {
    background-color: #f5f5f5;
}

.mission-statement {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.mission-card {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 40px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

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

.mission-icon {
    width: 80px;
    height: 80px;
    background: #FCDC04;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

/* Timeline Section */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #FCDC04;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 50px;
    width: 100%;
}

.timeline-date {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    background: #DA121A;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(218,18,26,0.3);
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-right: auto;
}

.timeline-content:after {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content:after {
    right: 100%;
    border-width: 10px 15px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-item:nth-child(even) .timeline-content:after {
    left: 100%;
    border-width: 10px 0 10px 15px;
    border-color: transparent transparent transparent white;
}

/* Values Section */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-card {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

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

.value-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}


/* Responsive Timeline */
@media (max-width: 768px) {
    .timeline:before {
        left: 30px;
    }
    
    .timeline-date {
        left: 30px;
        transform: none;
    }
    
    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
    }
    
    .timeline-content:after {
        left: -15px !important;
        right: auto !important;
        border-width: 10px 15px 10px 0 !important;
        border-color: transparent white transparent transparent !important;
    }
}