/********** Template CSS - Modern STIPA Kenya Design **********/
:root {
    /* Primary Brand Colors */
    --bs-primary: #0F6B3A;
    --bs-primary-dark: #084C2A;
    --bs-primary-light: #2A8A55;
    --bs-primary-soft: #E8F3ED;
    
    /* Accent Colors */
    --bs-accent: #FFB300;
    --bs-accent-dark: #E6A000;
    --bs-accent-light: #FFE6B3;
    
    /* Neutral Colors */
    --bs-dark: #1A2C3E;
    --bs-dark-soft: #2C3E50;
    --bs-gray: #6C757D;
    --bs-gray-light: #E9ECEF;
    --bs-light: #F8F9FA;
    --bs-white: #FFFFFF;
    
    /* Utility Colors */
    --bs-success: #28A745;
    --bs-warning: #FFC107;
    --bs-danger: #DC3545;
    --bs-info: #17A2B8;
    
    /* Typography */
    --bs-body-font-family: 'Open Sans', sans-serif;
    --bs-heading-font-family: 'Josefin Sans', sans-serif;
    
    /* Shadows */
    --bs-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --bs-shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --bs-shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --bs-shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    /* Border Radius */
    --bs-radius-sm: 8px;
    --bs-radius-md: 12px;
    --bs-radius-lg: 16px;
    --bs-radius-xl: 24px;
    
    /* Transitions */
    --bs-transition: all 0.3s ease;
}

/* Typography */
body {
    font-family: var(--bs-body-font-family);
    color: var(--bs-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--bs-heading-font-family);
    font-weight: 700;
    color: var(--bs-dark);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: var(--bs-heading-font-family);
    font-weight: 700;
}

/* Back to Top */
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    width: 45px;
    height: 45px;
    background-color: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--bs-transition);
    box-shadow: var(--bs-shadow-md);
}

.back-to-top:hover {
    background-color: var(--bs-primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--bs-shadow-lg);
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Buttons */
.btn {
    transition: var(--bs-transition);
    border-radius: var(--bs-radius-md);
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover {
    background-color: var(--bs-primary-dark);
    border-color: var(--bs-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--bs-shadow-md);
}

.btn-secondary {
    background-color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

.btn-secondary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: var(--bs-shadow-md);
}

.btn-accent {
    background-color: var(--bs-accent);
    border-color: var(--bs-accent);
    color: var(--bs-dark);
}

.btn-accent:hover {
    background-color: var(--bs-accent-dark);
    border-color: var(--bs-accent-dark);
    color: var(--bs-dark);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.btn-outline-primary:hover {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.btn-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-radius-sm);
}

.btn-sm-square {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-radius-sm);
}

.btn-lg-square {
    width: 48px;
    height: 48px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-radius-md);
}

/* ================================
   TOPBAR – WHITE + ACCESSIBLE GREEN
   ================================ */

.top-bar {
    background-color: #e8f8e4 !important;
    padding: 8px 40px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

/* Kill Bootstrap interference */
.bg-secondary {
    background-color: #ffffff !important;
}

/* Brand */
.brand-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand-logo {
    height: 40px;
}

.top-bar .text-white {
    color: #0F6B3A !important;
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #0F6B3A;
}

/* Headings (Call Us, Mail Us, Address) */
.top-bar h6 {
    font-size: 12px;
    font-weight: 600;
    color: #0F6B3A;
    margin-bottom: 2px;
}

/* IMPORTANT: actual data (phone/email/address) */
.top-bar span {
    color: #0F6B3A;  /* make it visible */
    font-weight: 500;
}

/* Icons */
.top-bar .btn-square {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(15, 107, 58, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-bar .btn-square i {
    color: #0F6B3A;
}

/* Hover (subtle, not aggressive) */
.top-bar .d-flex:hover .btn-square {
    background: #0F6B3A;
}

.top-bar .d-flex:hover .btn-square i {
    color: #ffffff;
}

/* Links */
.top-bar a {
    color: #0F6B3A;
    text-decoration: none;
}

.top-bar a:hover {
    color: #0a4f2b;
}



/* ================================
   NAVBAR LAYOUT CONTROL
   ================================ */

/* Ensure full width flex control */
.navbar .collapse {
    display: flex !important;
    align-items: center;
}

/* Center nav items */
.navbar .navbar-nav {
    margin: 0 auto;   /* centers horizontally */
    display: flex;
    align-items: center;
}

/* Push CTA to far right */
.navbar .ms-auto {
    margin-left: auto !important;
    display: flex;
    align-items: center;
}
.nav-bar {
    padding: 0 90px;
    transition: var(--bs-transition);
    background-color: var(--bs-primary);
}

/* CTA Button */
.btn-cta {
    background: #FFB300;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #0a4f2b;
    color: #fff;
    transform: translateY(-2px);
}

.navbar {
    background-color: var(--bs-primary) !important;
    padding: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 20px 0;
    color: var(--bs-white);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    position: relative;
    transition: var(--bs-transition);
}

.navbar .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--bs-accent);
    transition: var(--bs-transition);
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    width: 100%;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-accent);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu {
    background-color: var(--bs-white);
    border: none;
    border-radius: var(--bs-radius-md);
    box-shadow: var(--bs-shadow-lg);
    margin-top: 10px;
}

.navbar .dropdown-menu .dropdown-item {
    color: var(--bs-dark);
    padding: 10px 20px;
    transition: var(--bs-transition);
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: var(--bs-primary-soft);
    color: var(--bs-primary);
    padding-left: 25px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }
    
    .navbar .navbar-nav {
        margin-top: 20px;
        border-top: 1px solid rgba(255,255,255,0.2);
        padding-top: 10px;
    }
    
    .navbar .dropdown-menu {
        background-color: var(--bs-primary-dark);
    }
    
    .navbar .dropdown-menu .dropdown-item {
        color: var(--bs-white);
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: var(--bs-transition);
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        opacity: 1;
    }
}

/* Header Carousel */
.header-carousel {
    position: relative;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    overflow: hidden;
}

.header-carousel .carousel-img {
    position: relative;
    border-radius: var(--bs-radius-lg);
    overflow: hidden;
    box-shadow: var(--bs-shadow-xl);
}

.header-carousel .carousel-img img {
    transition: transform 0.5s ease;
}

.header-carousel .carousel-img:hover img {
    transform: scale(1.05);
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 45px;
    height: 45px;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--bs-white);
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    transition: var(--bs-transition);
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--bs-accent);
    transform: scale(1.1);
}

.header-carousel .carousel-text h1 {
    color: var(--bs-white);
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.header-carousel .carousel-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}


/* Premium Hero Section Styles */
.hero-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.hero-title span {
    color: #FFB300;
    position: relative;
    display: inline-block;
}

.hero-title span:after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(255,179,0,0.3);
    z-index: -1;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 35px;
    max-width: 550px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #FFB300;
    color: #1a1a2e;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 5px 15px rgba(255,179,0,0.3);
}

.btn-hero-primary:hover {
    background: #ffaa00;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,179,0,0.4);
    color: #1a1a2e;
}

.btn-hero-secondary {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-secondary:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: white;
}

/* Custom Navigation */
.hero-nav {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    z-index: 10;
}

.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    width: 30px;
    border-radius: 10px;
    background: #FFB300;
}

.hero-nav-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 10;
    pointer-events: none;
}

.hero-arrow {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
}

.hero-arrow:hover {
    background: #FFB300;
    transform: scale(1.1);
    color: #1a1a2e;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    animation: fadeInLeft 0.6s ease forwards;
}

/* About Video */
.about-video {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Features Section */
.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s;
}

.feature-card {
    text-align: center;
    padding: 30px;
    border-radius: 16px;
    transition: all 0.3s;
    height: 100%;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Stats Section */
.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

/* Projects Section */
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-category {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0,0,0,0.7);
    color: white;
}

.project-content {
    padding: 20px;
}

.project-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.project-description {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-progress {
    margin: 15px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    color: #6b7280;
}

.progress-bar-custom {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #0F6B3A;
    border-radius: 3px;
}

.btn-view-project {
    width: 100%;
    padding: 8px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2937;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-view-project:hover {
    background: #0F6B3A;
    color: white;
    border-color: #0F6B3A;
}

/* Testimonial Carousel */
.testimonial-item .testimonial-img img {
    border-radius: 16px;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.testimonial-text p {
    font-style: italic;
    line-height: 1.8;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 80px 0;
    }
    
    .hero-text {
        margin: 0 auto;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .stats-number {
        font-size: 1.8rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .project-image {
        height: 180px;
    }
    
    .hero-nav-arrows {
        padding: 0 20px;
    }
    
    .hero-arrow {
        width: 40px;
        height: 40px;
    }
}

/* About Page Styles */
.about-hero {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 60px 0;
    color: white;
    margin-top: -30px;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.about-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.about-content {
    padding: 60px 0;
}

.about-image-section {
    margin-bottom: 40px;
}

.about-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-video {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4b5563;
}

.mission-vision {
    background: #f8f9fa;
    padding: 60px 0;
}

.mission-card, .vision-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    transition: transform 0.3s;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-5px);
}

.mission-icon, .vision-icon {
    width: 70px;
    height: 70px;
    background: #e8f3ed;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.mission-icon i, .vision-icon i {
    font-size: 30px;
    color: #0F6B3A;
}

.mission-card h3, .vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #1f2937;
}

.mission-card p, .vision-card p {
    color: #6b7280;
    line-height: 1.6;
}

.stats-section {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 60px 0;
    color: white;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    display: block;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.history-section {
    padding: 60px 0;
    background: white;
}

.history-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.history-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s;
}

.history-image:hover img {
    transform: scale(1.02);
}

.history-content {
    padding: 20px;
}

.history-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #1f2937;
}

.history-content p {
    color: #4b5563;
    line-height: 1.8;
    margin-bottom: 20px;
}

.founding-year {
    display: inline-block;
    background: #0F6B3A;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    margin-top: 20px;
}

.milestones-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.milestones-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.milestones-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: #0F6B3A;
}

.milestone-item {
    position: relative;
    margin-bottom: 40px;
    width: 50%;
}

.milestone-item:nth-child(odd) {
    left: 0;
    padding-right: 40px;
    text-align: right;
}

.milestone-item:nth-child(even) {
    left: 50%;
    padding-left: 40px;
}

.milestone-dot {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    background: #0F6B3A;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #0F6B3A;
}

.milestone-item:nth-child(odd) .milestone-dot {
    right: -8px;
}

.milestone-item:nth-child(even) .milestone-dot {
    left: -8px;
}

.milestone-year {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F6B3A;
    margin-bottom: 8px;
}

.milestone-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.milestone-content p {
    margin: 0;
    color: #4b5563;
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }
    
    .milestones-timeline::before {
        left: 20px;
    }
    
    .milestone-item {
        width: 100%;
        padding-left: 50px !important;
        text-align: left !important;
        left: 0 !important;
    }
    
    .milestone-item:nth-child(odd) .milestone-dot,
    .milestone-item:nth-child(even) .milestone-dot {
        left: 12px;
        right: auto;
    }
    
    .milestone-item:nth-child(odd) {
        padding-right: 0;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .about-image-section {
        margin-bottom: 30px;
    }
}

.event-hero {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 60px 0;
    color: white;
    margin-top: -30px;
}

.event-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.meta-item {
    background: rgba(255,255,255,0.15);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
}

.section-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
    border-left: 4px solid #0F6B3A;
    padding-left: 15px;
}

.speaker-card {
    text-align: center;
    padding: 20px;
    border-radius: 12px;
    background: #f8f9fa;
    height: 100%;
}

.speaker-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

.registration-box {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
}

.btn-register {
    background: #0F6B3A;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
}

.btn-register:hover {
    background: #084C2A;
    transform: translateY(-2px);
    color: white;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .event-hero h1 {
        font-size: 1.8rem;
    }
}

/* Registration Page Styles */
.registration-hero {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 40px 0;
    color: white;
    margin-top: -30px;
}

.registration-hero h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.registration-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-top: -30px;
    margin-bottom: 60px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
}

.event-info {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
}

.event-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.event-info-icon {
    width: 40px;
    color: #0F6B3A;
    font-size: 18px;
}

.event-info-text {
    flex: 1;
}

.event-info-text strong {
    display: block;
    font-size: 14px;
    color: #1f2937;
}

.event-info-text span {
    font-size: 13px;
    color: #6b7280;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e7eb;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
}

.form-label {
    font-weight: 500;
    margin-bottom: 8px;
    color: #374151;
}

.form-control {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 12px 15px;
    transition: all 0.3s;
}

.form-control:focus {
    border-color: #0F6B3A;
    box-shadow: 0 0 0 3px rgba(15,107,58,0.1);
}

.btn-submit {
    background: #0F6B3A;
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    width: 100%;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: #084C2A;
    transform: translateY(-2px);
}

.success-box {
    text-align: center;
    padding: 40px;
}

.success-box i {
    font-size: 70px;
    color: #10b981;
    margin-bottom: 20px;
}

.price-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.summary-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F6B3A;
    border-top: 1px solid #e5e7eb;
    padding-top: 10px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .registration-card {
        padding: 25px;
    }
}




/* Events Page Styles */
.events-hero {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 60px 0;
    color: white;
    margin-top: -30px;
}

.events-hero h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.filter-bar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.event-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.event-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #0F6B3A;
    color: white;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    min-width: 60px;
}

.event-date-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.event-date-month {
    font-size: 12px;
    text-transform: uppercase;
}

.event-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
}

.status-upcoming { background: #10b981; color: white; }
.status-ongoing { background: #f59e0b; color: white; }
.status-completed { background: #6b7280; color: white; }
.status-cancelled { background: #ef4444; color: white; }

.event-content {
    padding: 20px;
}

.event-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.event-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.3s;
}

.event-title a:hover {
    color: #0F6B3A;
}

.event-meta {
    margin-bottom: 15px;
}

.event-meta-item {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 5px;
}

.event-meta-item i {
    width: 20px;
    color: #0F6B3A;
}

.event-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-register {
    background: #0F6B3A;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    width: 100%;
}

.btn-register:hover {
    background: #084C2A;
    transform: translateY(-2px);
}

.btn-view {
    background: #f8f9fa;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.3s;
    width: 100%;
    text-align: center;
    display: block;
    text-decoration: none;
}

.btn-view:hover {
    background: #0F6B3A;
    color: white;
    border-color: #0F6B3A;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    padding: 8px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
}

.page-link.active {
    background: #0F6B3A;
    color: white;
    border-color: #0F6B3A;
}

@media (max-width: 768px) {
    .events-hero h1 {
        font-size: 2rem;
    }
}




/* Gallery Styles */
.gallery-section { margin: 30px 0; }
.gallery-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
    border-left: 4px solid #0F6B3A;
    padding-left: 12px;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 15px;
}
.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
    padding: 12px;
    background: white;
    font-size: 13px;
    text-align: center;
    color: #4b5563;
    border-top: 1px solid #e5e7eb;
}

/* Lightbox Modal */
.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-modal.show { display: flex; align-items: center; justify-content: center; }
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}
.lightbox-close:hover { color: #0F6B3A; }
.lightbox-prev, .lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    padding: 20px;
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-prev:hover, .lightbox-next:hover { background: #0F6B3A; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    background: rgba(0,0,0,0.7);
    padding: 10px;
}

/* Share Buttons */
.share-buttons {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin: 30px 0;
}
.share-buttons .btn {
    transition: all 0.3s ease;
    border-radius: 30px;
    padding: 8px 16px;
}
.share-buttons .btn:hover { transform: translateY(-2px); }
.btn-facebook { background: #1877f2; color: white; }
.btn-twitter { background: #1da1f2; color: white; }
.btn-linkedin { background: #0077b5; color: white; }
.btn-pinterest { background: #e60023; color: white; }
.btn-whatsapp { background: #25d366; color: white; }
.btn-telegram { background: #0088cc; color: white; }
.btn-email { background: #6c757d; color: white; }

/* Article Content */
.article-content { font-size: 1.1rem; line-height: 1.8; }
.article-content h1, .article-content h2, .article-content h3, .article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.article-content p { margin-bottom: 1.5rem; }
.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.article-content blockquote {
    border-left: 4px solid #0F6B3A;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    font-style: italic;
}
.comment-item { transition: all 0.3s ease; }
.comment-item:hover { background: #e9ecef !important; 
}


.project-hero {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 60px 0;
    color: white;
    margin-top: -30px;
}

.project-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.meta-item {
    background: rgba(255,255,255,0.15);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 13px;
}

.section-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1f2937;
    border-left: 4px solid #0F6B3A;
    padding-left: 15px;
}

.progress-container {
    margin-bottom: 25px;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-weight: 500;
}

.progress-bar-custom {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #0F6B3A;
    border-radius: 5px;
    transition: width 0.5s;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #0F6B3A;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-top: 5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.update-timeline {
    position: relative;
    padding-left: 30px;
}

.update-timeline:before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.update-item {
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f3f4f6;
}

.update-item:before {
    content: '';
    position: absolute;
    left: -26px;
    top: 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #0F6B3A;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #0F6B3A;
}

.update-type {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 8px;
}

.type-progress { background: #d1fae5; color: #065f46; }
.type-milestone { background: #fed7aa; color: #92400e; }
.type-success { background: #d1fae5; color: #065f46; }
.type-challenge { background: #fee2e2; color: #991b1b; }
.type-event { background: #e0e7ff; color: #3730a3; }

.location-badge {
    background: #f8f9fa;
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.location-badge-primary {
    background: #e8f3ed;
    border-left: 3px solid #0F6B3A;
}

/* Styles for rich text content from editor */
.rich-content {
    line-height: 1.7;
    color: #374151;
}

.rich-content p {
    margin-bottom: 1rem;
}

.rich-content ul, .rich-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.rich-content li {
    margin-bottom: 0.25rem;
}

.rich-content h3, .rich-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.rich-content strong {
    font-weight: 600;
    color: #0F6B3A;
}

@media (max-width: 768px) {
    .project-hero h1 {
        font-size: 1.8rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}




/* Projects Page Styles */
.hero-stats {
    background: linear-gradient(135deg, #0F6B3A 0%, #084C2A 100%);
    padding: 60px 0;
    color: white;
    margin-top: -30px;
}

.hero-stats h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.hero-stats p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Filter Bar */
.filter-bar {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.filter-select {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
}

.search-input {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 15px;
    width: 100%;
}

.btn-filter {
    background: #0F6B3A;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-filter:hover {
    background: #084C2A;
    transform: translateY(-2px);
}

/* Project Cards */
.project-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s;
    margin-bottom: 30px;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.project-image {
    height: 220px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-status {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(0,0,0,0.7);
    color: white;
}

.status-planning { background: #f59e0b; color: #fff; }
.status-active { background: #10b981; color: #fff; }
.status-completed { background: #3b82f6; color: #fff; }
.status-on-hold { background: #f59e0b; color: #fff; }

.featured-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: #f59e0b;
    color: white;
}

.project-content {
    padding: 20px;
}

.project-category {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 12px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1f2937;
    line-height: 1.4;
}

.project-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.project-title a:hover {
    color: #0F6B3A;
}

.project-location {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 12px;
}

.project-location i {
    margin-right: 5px;
    color: #0F6B3A;
}

.project-description {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project-progress {
    margin: 15px 0;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    margin-bottom: 5px;
    color: #6b7280;
}

.progress-bar-custom {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #0F6B3A;
    border-radius: 3px;
    transition: width 0.5s;
}

.project-stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e5e7eb;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #0F6B3A;
}

.stat-text {
    font-size: 11px;
    color: #6b7280;
}

.btn-view {
    width: 100%;
    padding: 10px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2937;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    margin-top: 15px;
}

.btn-view:hover {
    background: #0F6B3A;
    color: white;
    border-color: #0F6B3A;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.page-link {
    padding: 8px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s;
}

.page-link:hover {
    background: #0F6B3A;
    color: white;
    border-color: #0F6B3A;
}

.page-link.active {
    background: #0F6B3A;
    color: white;
    border-color: #0F6B3A;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
}

.empty-state i {
    font-size: 48px;
    color: #9ca3af;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-stats h1 {
        font-size: 2rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .filter-bar .row > div {
        margin-bottom: 10px;
    }
}




/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    padding: 80px 0;
    margin-bottom: 60px;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 16px;
    color: var(--bs-white);
    text-decoration: none;
}

.page-header .breadcrumb-item.active {
    color: var(--bs-accent);
}

/* Video */
.btn-play {
    position: relative;
    display: block;
    width: 80px;
    height: 80px;
    border: none;
    outline: none !important;
    background: var(--bs-white);
    border-radius: 50%;
    box-shadow: var(--bs-shadow-lg);
    transition: var(--bs-transition);
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: var(--bs-white);
    border-radius: 50%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 3px;
    border-left: 20px solid var(--bs-primary);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
}

.btn-play:hover {
    transform: scale(1.1);
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

/* Section Title */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 0px;
    top: 5px;
    left: -40px;
    border-top: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 0px;
    bottom: 6px;
    left: -60px;
    border-bottom: 2px solid var(--bs-primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}

/* About */
.about-img {
    position: relative;
    border-radius: var(--bs-radius-lg);
    overflow: hidden;
}

.about-img img {
    transition: transform 0.5s ease;
}

.about-img:hover img {
    transform: scale(1.05);
}

.about-img::before,
.about-img::after {
    position: absolute;
    content: "";
    width: 33%;
    height: 90px;
    background: var(--bs-white);
    z-index: 1;
}

.about-img::before {
    top: 0px;
    left: 0px;
}

.about-img::after {
    right: 0px;
    bottom: 0px;
}

/* Donation Cards */
.donation-item {
    box-shadow: var(--bs-shadow-sm);
    transition: var(--bs-transition);
    border-radius: var(--bs-radius-lg);
    background: var(--bs-white);
}

.donation-item:hover {
    box-shadow: var(--bs-shadow-lg);
    transform: translateY(-5px);
}

.donation-item .donation-progress {
    width: 80px;
}

.donation-item .progress {
    background-color: var(--bs-gray-light);
    border-radius: 10px;
    height: 8px;
}

.donation-item .progress .progress-bar {
    height: 8px;
    overflow: visible;
    transition: width 1s ease;
    background-color: var(--bs-primary);
    border-radius: 10px;
}

.donation-item .donation-progress span {
    font-weight: 600;
}

.donation-item .donation-detail img {
    border-radius: var(--bs-radius-md);
}

.donation-item .btn-primary {
    background-color: var(--bs-primary);
    border-radius: var(--bs-radius-md);
}

.donation-item .btn-primary:hover {
    background-color: var(--bs-primary-dark);
}

/* Donate Form */
.donate .donate-text {
    position: relative;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    border-radius: var(--bs-radius-lg) 0 0 var(--bs-radius-lg);
}

.donate .donate-text::before,
.donate .donate-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
}

.donate .donate-text::before {
    top: 0;
    left: 0;
    border-top: 150px solid rgba(255,255,255,0.1);
    border-right: 150px solid transparent;
}

.donate .donate-text::after {
    right: 0;
    bottom: 0;
    border-bottom: 150px solid rgba(255,255,255,0.1);
    border-left: 150px solid transparent;
}

.donate .donate-form {
    background: var(--bs-white);
    border-radius: 0 var(--bs-radius-lg) var(--bs-radius-lg) 0;
    box-shadow: var(--bs-shadow-lg);
}

.donate .donate-form .form-control {
    border: 1px solid var(--bs-gray-light);
    border-radius: var(--bs-radius-md);
    padding: 12px 15px;
    transition: var(--bs-transition);
}

.donate .donate-form .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(15, 107, 58, 0.1);
}

.donate .donate-form .btn-group {
    display: flex;
    gap: 10px;
}

.donate .donate-form .btn-group .btn {
    flex: 1;
    padding: 12px;
    border-radius: var(--bs-radius-md);
    border: 1px solid var(--bs-gray-light);
    background: var(--bs-white);
    color: var(--bs-dark);
    transition: var(--bs-transition);
}

.donate .donate-form .btn-group .btn-check:checked+.btn {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: var(--bs-white);
}

.donate .donate-form .btn-group .btn:hover:not(:checked) {
    border-color: var(--bs-primary);
    background: var(--bs-primary-soft);
}

/* Team Cards */
.team-item {
    box-shadow: var(--bs-shadow-sm);
    transition: var(--bs-transition);
    border-radius: var(--bs-radius-lg);
    background: var(--bs-white);
    overflow: hidden;
}

.team-item:hover {
    box-shadow: var(--bs-shadow-lg);
    transform: translateY(-5px);
}

.team-item .team-detail img {
    border-radius: var(--bs-radius-md);
    transition: transform 0.5s ease;
}

.team-item:hover .team-detail img {
    transform: scale(1.05);
}

.team-item .team-detail h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.team-item .team-detail span {
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.team-item .team-social {
    border-radius: var(--bs-radius-md);
}

.team-item .team-social .btn-square {
    background-color: var(--bs-primary);
    transition: var(--bs-transition);
}

.team-item .team-social .btn-square:hover {
    background-color: var(--bs-accent);
    transform: scale(1.1);
}

/* Testimonial */
.testimonial-title {
    height: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%);
    border-radius: var(--bs-radius-lg);
}

.testimonial-title h1,
.testimonial-title p {
    color: var(--bs-white);
}

.testimonial-img {
    position: relative;
    padding: 45px 0 45px 90px;
}

.testimonial-img::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: calc(50% + 45px);
    height: 100%;
    background: var(--bs-primary);
    border-radius: var(--bs-radius-lg) 0 0 var(--bs-radius-lg);
    z-index: -1;
}

.testimonial-img img {
    border-radius: var(--bs-radius-lg);
    box-shadow: var(--bs-shadow-lg);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-carousel .owl-prev,
.testimonial-carousel .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--bs-white);
    background: var(--bs-primary);
    border-radius: 50%;
    transition: var(--bs-transition);
}

.testimonial-carousel .owl-prev:hover,
.testimonial-carousel .owl-next:hover {
    background: var(--bs-accent);
    transform: scale(1.1);
}

.testimonial-item .fa-star {
    color: var(--bs-accent) !important;
}

.testimonial-item .btn-lg-square {
    background-color: var(--bs-primary-soft);
    color: var(--bs-primary);
    border-radius: 50%;
}

.testimonial-item .btn-lg-square .fa-quote-right {
    color: var(--bs-primary);
}

/* Newsletter */
.container-fluid.bg-primary {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-primary-dark) 100%) !important;
    border-radius: var(--bs-radius-lg);
}

.container-fluid.bg-primary .form-control {
    border: none;
    border-radius: var(--bs-radius-md);
    padding: 15px 20px;
}

.container-fluid.bg-primary .btn-lg-square {
    background-color: var(--bs-accent);
    color: var(--bs-dark);
    border-radius: var(--bs-radius-md);
    transition: var(--bs-transition);
}

.container-fluid.bg-primary .btn-lg-square:hover {
    background-color: var(--bs-accent-dark);
    transform: scale(1.05);
}

/* Footer */
.footer {
    color: var(--bs-gray);
    background: linear-gradient(rgba(8, 76, 42, 0.98), rgba(8, 76, 42, 0.98)), url(../img/bg-footer.jpg) center center no-repeat;
    background-size: cover;
    padding-top: 60px;
}

.footer h4 {
    color: var(--bs-white);
    margin-bottom: 25px;
    font-size: 1.2rem;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: var(--bs-gray);
    font-weight: normal;
    text-transform: capitalize;
    transition: var(--bs-transition);
    text-decoration: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-accent);
    letter-spacing: 1px;
    padding-left: 5px;
}

.footer .copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    margin-top: 40px;
}

.footer .btn-square {
    background-color: rgba(255,255,255,0.1);
    color: var(--bs-white);
    transition: var(--bs-transition);
    border-radius: var(--bs-radius-sm);
}

.footer .btn-square:hover {
    background-color: var(--bs-accent);
    color: var(--bs-dark);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .top-bar, .nav-bar {
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .top-bar, .nav-bar {
        padding: 0 20px;
    }
    
    .donate .donate-text,
    .donate .donate-form {
        border-radius: var(--bs-radius-lg);
    }
    
    .testimonial-img::before {
        display: none;
    }
    
    .testimonial-img {
        padding: 0;
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        height: auto;
        padding: 15px;
    }
    
    .header-carousel .carousel-text h1 {
        font-size: 2rem;
    }
    
    .section-title::before,
    .section-title::after {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
.wow {
    visibility: hidden;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.fadeInUp {
    animation-name: fadeInUp;
}
/* Contact Page Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: var(--bs-radius-lg);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.card .btn-square {
    transition: all 0.3s ease;
}

.card:hover .btn-square {
    transform: scale(1.1);
    background-color: var(--bs-accent) !important;
}

.card-footer {
    background-color: var(--bs-light);
}

.form-floating > .form-control {
    border-radius: var(--bs-radius-md);
}

.form-floating > .form-control:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(15, 107, 58, 0.1);
}

.form-floating > .form-control:focus ~ label {
    color: var(--bs-primary);
}

.btn-primary {
    border-radius: var(--bs-radius-md);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(15, 107, 58, 0.3);
}

.social-links .btn-square {
    transition: all 0.3s ease;
}

.social-links .btn-square:hover {
    background-color: var(--bs-accent) !important;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .card .btn-square {
        width: 50px;
        height: 50px;
    }
    
    .card .btn-square i {
        font-size: 1.2rem;
    }
    
    .card-body {
        padding: 1.5rem !important;
    }
}
/* Blog Page Styles */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.hover-card:hover img {
    transform: scale(1.05);
}

.hover-card img {
    transition: transform 0.5s ease;
}

.hover-text-primary:hover {
    color: var(--bs-primary) !important;
}

.list-group-item-action {
    transition: all 0.3s ease;
}

.list-group-item-action:hover {
    padding-left: 10px !important;
    color: var(--bs-primary) !important;
}

.list-group-item-action.active {
    background: transparent !important;
}

.pagination .page-item .page-link {
    color: var(--bs-primary);
    border: none;
    padding: 10px 16px;
    margin: 0 4px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: var(--bs-primary);
    color: white;
}

.pagination .page-item .page-link:hover {
    background-color: var(--bs-primary);
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .hover-card img {
        height: 200px;
    }
    
    .pagination .page-item .page-link {
        padding: 6px 12px;
        margin: 0 2px;
    }
}
/* Article Page Styles */
.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.article-content blockquote {
    border-left: 4px solid var(--bs-primary);
    padding: 1rem 1.5rem;
    background: var(--bs-light);
    border-radius: 12px;
    margin: 1.5rem 0;
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.comment-item {
    transition: all 0.3s ease;
}

.comment-item:hover {
    background: #e9ecef !important;
}

.share-buttons .btn {
    transition: all 0.3s ease;
}

.share-buttons .btn:hover {
    transform: translateY(-2px);
}
/* Newsletter Styles */
.subscribe-form .form-control {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    transition: all 0.3s;
}

.subscribe-form .form-control:focus {
    border-color: #0F6B3A;
    box-shadow: 0 0 0 3px rgba(15,107,58,0.1);
    outline: none;
}

.subscribe-form .btn-subscribe {
    background: #0F6B3A;
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.subscribe-form .btn-subscribe:hover {
    background: #084C2A;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15,107,58,0.3);
}

.newsletter-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #0F6B3A;
    color: white;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.newsletter-stats {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.newsletter-stats .stat-number {
    font-size: 28px;
    font-weight: 700;
    color: #0F6B3A;
}

.newsletter-stats .stat-label {
    font-size: 13px;
    color: #6b7280;
}