/* css/styles.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
    --primary: #4A6FA5;
    --secondary: #3730a3;
    --accent: #E63946;
    --light-accent: #F8D8DA;
    --dark-bg: #1A1A2E;
    --light-bg: #F5F7FA;
}
team-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
body {
    /* font-family: 'Inter', sans-serif; */
    overflow-x: hidden;

    padding: 0;
    margin: 0;
    font-size: 16px;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
}

.gradient-bg {
    background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
}

.gradient-text {
    background: linear-gradient(to right, #4A6FA5, #E63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-padding {
    padding: 6rem 0 2rem;
}

.btn-primary {
    background: linear-gradient(to right, #4A6FA5, #2C3E50);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(91, 62, 174, 0.4);
}

.btn-secondary {
    background-color: #E63946;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #D62828;
    transform: translateY(-3px);
}

.card-hover {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

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

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: -5px;
    left: 0;
    background-color: #E63946;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 100%;
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

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

.custom-shape-divider {
    display: none;
}

.testimonial-card {
    position: relative;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.testimonial-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: linear-gradient(to bottom, #4A6FA5, #E63946);
    border-radius: 16px 0 0 16px;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(to right, #4A6FA5, #2C3E50);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(74, 111, 165, 0.4);
}

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

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(91, 62, 174, 0.5);
}

.logo-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    /* background: linear-gradient(135deg, #4f46e5 0%, #ec0606 100%); */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    margin-right: 15px;
}

.impact-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(to right, #4A6FA5, #E63946);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 40px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #4A6FA5;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 7px;
    top: 25px;
    width: 2px;
    height: calc(100% + 15px);
    background: #e5e7eb;
}

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

.program-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.1) 0%, rgba(230, 57, 70, 0.1) 100%);
    color: #4A6FA5;
}

.news-card {
    transition: all 0.3s ease;
}

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

.news-date {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(to right, #4A6FA5, #E63946);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.tag {
    display: inline-block;
    background: #f3f4f6;
    color: #6b7280;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-right: 5px;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.tag:hover {
    background: #4A6FA5;
    color: white;
}

.sidebar-widget {
    background: #f9fafb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border-left: 4px solid #4A6FA5;
}

.archive-year, .category-item {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.archive-year:hover, .category-item:hover {
    color: #4A6FA5;
    padding-left: 10px;
}

.category-badge {
    background: #4A6FA5;
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.pagination .page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    margin: 0 5px;
    color: #4A6FA5;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination .page-link.active, .pagination .page-link:hover {
    background: #4A6FA5;
    color: white;
}

.pagination .page-link.disabled {
    color: #9ca3af;
    cursor: not-allowed;
}

/* Add these styles to your existing css/styles.css */

/* Swiper slider styles */
.swiper {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.swiper-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.85) 0%, rgba(52, 73, 94, 0.9) 100%);
}
.swiper-button-next, .swiper-button-prev {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    backdrop-filter: blur(5px);
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}
.swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
}
.swiper-pagination-bullet-active {
    opacity: 1;
    background: #E63946;
}

/* Map styles */
#map {
    height: 400px;
    width: 100%;
    border-radius: 12px;
    z-index: 1;
}
.leaflet-container {
    font-family: 'Inter', sans-serif;
}
.leaflet-popup-content {
    font-size: 14px;
}
.map-container {
    position: relative;
}
.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 1000;
    max-width: 250px;
}

/* FAQ styles */
.faq-question {
    transition: all 0.3s ease;
}
.faq-answer {
    transition: max-height 0.3s ease;
}

/* Animation for fade-in */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Partner logos */
.partner-logo {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Testimonial slider */
.testimonial-slider .swiper-slide {
    height: auto;
}
.testimonial-slider .swiper-button-next,
.testimonial-slider .swiper-button-prev {
    background: rgba(74, 111, 165, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .map-overlay {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 15px;
        max-width: 100%;
    }
    .swiper-button-next, .swiper-button-prev {
        display: none;
    }
}