/* Custom CSS for M. Nurullah Öner Campaign Site */

/* Global Styles */
:root {
    --primary-color: #1a365d;
    --secondary-color: #e53e3e;
    --accent-color: #3182ce;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    
    
    --border-light: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Typography */
.display-font {
    font-family: 'Playfair Display', serif;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

/* Navbar Styles */
.navbar {
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    background-color: rgba(26, 54, 93, 0.1);
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* Hero Section - Enhanced */
.hero-section {
    position: relative;
    min-height: 80vh;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.carousel {
    height: 80vh;
    min-height: 500px;
    width: 100%;
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    width: 100%;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg.bg-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, #2a5298 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease-in-out infinite;
}

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

.min-vh-75 {
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Carousel - Simple and Clean */
.carousel-inner {
    position: relative;
    overflow: hidden;
}

.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Slider sola kayma animasyonu */
.carousel-item-next:not(.carousel-item-start),
.active.carousel-item-end {
    transform: translateX(-100%);
}

.carousel-item-prev:not(.carousel-item-end),
.active.carousel-item-start {
    transform: translateX(100%);
}

.carousel-item-next,
.carousel-item-prev,
.carousel-item.active {
    display: block;
}

.carousel-item-next.carousel-item-start,
.carousel-item-prev.carousel-item-end {
    transform: translateX(0);
}

.carousel-item-start,
.carousel-item-end {
    transition: transform 0.6s ease-in-out;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 1s ease-out 2s forwards;
}

.scroll-indicator:hover {
    color: white;
    transform: translateX(-50%) translateY(-5px);
}

.scroll-indicator .scroll-arrow {
    font-size: 1.2rem;
    margin-top: 8px;
    animation: bounce 2s infinite;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.7);
    transform: scale(1.1);
}

.carousel-inner {
    height: 100%;
    width: 100%;
}

/* Cards */
.card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.hover-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    transition: transform 0.3s ease;
}

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

/* Buttons */
.btn {
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
}

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

.btn-primary:hover {
    background-color: rgba(26, 54, 93, 0.9);
    border-color: rgba(26, 54, 93, 0.9);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(229, 62, 62, 0.9);
    border-color: rgba(229, 62, 62, 0.9);
    transform: translateY(-2px);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Badges */
.badge {
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Sections */
section {
    position: relative;
}

.bg-light {
    background-color: var(--bg-light) !important;
}

/* Text Colors */
.text-muted {
    color: var(--text-light) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

/* Footer */
footer {
    background-color: #1a202c !important;
}

footer h5,
footer h6 {
    color: white !important;
}

footer a:hover {
    color: var(--accent-color) !important;
}

/* Enhanced Mobile Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .project-card-enhanced {
        margin-bottom: 2rem;
    }
    
    .news-card-enhanced {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 992px) {
    /* Typography adjustments */
    .display-3 {
        font-size: 3rem;
        line-height: 1.1;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    /* Spacing adjustments */
    section {
        padding: 4rem 0;
    }
    
    .py-5 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    
    /* Card adjustments */
    .card-body {
        padding: 1.5rem;
    }
    
    .project-card-enhanced .card-body {
        padding: 2rem;
    }
    
    .news-card-enhanced .card-body {
        padding: 1.75rem;
    }
}

@media (max-width: 768px) {
    /* Hero section optimizations */
    .hero-section {
        min-height: 50vh;
    }

    .carousel {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-item {
        height: 50vh;
        min-height: 350px;
    }

    .carousel-item img {
        height: 50vh !important;
        min-height: 350px !important;
        max-height: 50vh;
        object-fit: cover;
        object-position: center;
        width: 100% !important;
    }

    /* Carousel controls mobile */
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
        background-color: rgba(0, 0, 0, 0.6);
    }

    /* Carousel touch optimization */
    .carousel-inner {
        touch-action: pan-y pinch-zoom;
    }

    /* Typography mobile optimizations */
    .display-3 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .display-4 {
        font-size: 2rem;
        margin-bottom: 1.25rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Navigation improvements */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-nav {
        padding-top: 1rem;
        width: 100%;
    }
    
    .navbar-nav .nav-link {
        margin: 0.25rem 0;
        padding: 0.75rem 1rem !important;
        border-radius: 8px;
        text-align: center;
        font-size: 1.1rem;
    }
    
    .navbar-toggler {
        padding: 0.5rem 0.75rem;
        font-size: 1.25rem;
    }
    
    /* Button optimizations */
    .btn {
        min-height: 44px;
        touch-action: manipulation;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1.1rem;
        min-height: 48px;
    }
    
    .btn-sm {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        min-height: 40px;
    }
    
    /* Card mobile optimizations */
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .project-card-enhanced .card-body,
    .news-card-enhanced .card-body {
        padding: 1.5rem;
    }
    
    /* Disable complex hover effects on mobile */
    .card-enhanced:hover,
    .project-card-enhanced:hover,
    .news-card-enhanced:hover,
    .card-magnetic:hover,
    .tilt-hover:hover {
        transform: none;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    }
    
    /* Spacing adjustments */
    section {
        padding: 3rem 0;
    }
    
    .py-5 {
        padding-top: 2.5rem !important;
        padding-bottom: 2.5rem !important;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Carousel controls mobile friendly */
    .carousel-control-prev,
    .carousel-control-next {
        width: 8%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 15px;
    }
    
    /* Interactive stats mobile */
    .interactive-stats {
        padding: 1.5rem;
        margin: 1rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
    
    /* Form improvements */
    .form-control,
    .form-select {
        padding: 0.75rem;
        font-size: 1rem;
        min-height: 44px;
    }
    
    .form-control:focus,
    .form-select:focus {
        box-shadow: 0 0 0 0.25rem rgba(49, 130, 206, 0.25);
    }
}

@media (max-width: 576px) {
    /* Extra small mobile optimizations */
    .hero-section {
        min-height: 40vh;
    }

    .carousel {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-item {
        height: 40vh;
        min-height: 300px;
    }

    .carousel-item img {
        height: 40vh !important;
        min-height: 300px !important;
        max-height: 40vh;
        object-fit: cover;
        object-position: center;
        width: 100% !important;
    }

    /* Carousel controls extra small */
    .carousel-control-prev,
    .carousel-control-next {
        width: 18%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.5rem;
        height: 1.5rem;
        background-color: rgba(0, 0, 0, 0.7);
    }

    /* Mobile touch area improvement */
    .carousel-control-prev,
    .carousel-control-next {
        padding: 15px 10px;
    }

    /* Typography extra small */
    .display-3 {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    .display-5 {
        font-size: 1.4rem;
    }
    
    .display-6 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    h4 {
        font-size: 1.25rem;
    }
    
    h5 {
        font-size: 1.1rem;
    }
    
    h6 {
        font-size: 1rem;
    }
    
    /* Container extra tight */
    .container {
        padding-left: 12px;
        padding-right: 12px;
    }
    
    /* Button extra small optimizations */
    .btn-lg {
        padding: 0.625rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-cta .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .hero-cta .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Card extra small */
    .card-body {
        padding: 1rem;
    }
    
    .project-card-enhanced .card-body,
    .news-card-enhanced .card-body {
        padding: 1.25rem;
    }
    
    /* Carousel indicators smaller */
    .carousel-indicators button {
        width: 8px;
        height: 8px;
        margin: 0 3px;
    }
    
    /* Spacing extra tight */
    section {
        padding: 2.5rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mb-4 {
        margin-bottom: 1.5rem !important;
    }
    
    .mb-3 {
        margin-bottom: 1rem !important;
    }
    
    /* Text alignment for mobile */
    .text-center-mobile {
        text-align: center;
    }
    
    /* Hide elements that don't work well on mobile */
    .scroll-indicator {
        display: none;
    }
    
    /* Touch-friendly interactive elements */
    .supporter-card {
        margin: 10px 5px;
        min-height: auto;
    }
    
    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }
    
    /* Footer adjustments */
    footer .col-lg-4,
    footer .col-lg-3,
    footer .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    footer .d-flex {
        justify-content: center;
    }
    
    /* Social buttons mobile friendly */
    .social-hover {
        min-width: 44px;
        min-height: 44px;
        margin: 0.25rem;
    }
    
    /* Contact info mobile layout */
    .contact-info .d-flex {
        flex-direction: column;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .contact-info .me-3 {
        margin-right: 0 !important;
        margin-bottom: 0.5rem;
    }
}

/* Landscape phone optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        min-height: 80vh;
    }

    .carousel {
        height: 80vh;
        min-height: 400px;
    }

    .carousel-item {
        height: 80vh;
        min-height: 400px;
    }

    .carousel-item img {
        height: 80vh !important;
        min-height: 400px !important;
        max-height: 80vh;
        object-fit: cover;
        object-position: center;
    }

    /* Smaller controls in landscape */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .btn-advanced:hover,
    .card-magnetic:hover,
    .tilt-hover:hover,
    .float-hover:hover,
    .scale-hover:hover {
        transform: none;
        box-shadow: initial;
    }
    
    /* Ensure touch targets are large enough */
    .btn,
    .nav-link,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators button {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Remove complex animations */
    .btn-ripple::after,
    .btn-advanced::before,
    .card-glow::after {
        display: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg {
        background-size: cover;
        image-rendering: -webkit-optimize-contrast;
    }
    
    .card-img-top,
    .supporter-photo,
    .about-image img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Utility Classes */
.z-index-1 { z-index: 1; }
.z-index-2 { z-index: 2; }
.z-index-3 { z-index: 3; }

.border-primary { border-color: var(--primary-color) !important; }
.border-secondary { border-color: var(--secondary-color) !important; }

.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 54, 93, 0.8);
}

/* Placeholder Images */
.placeholder-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    min-height: 200px;
}

.placeholder-person {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.placeholder-vision {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* Print Styles */
@media print {
    .navbar,
    footer,
    .btn,
    .carousel-control-prev,
    .carousel-control-next,
    .carousel-indicators {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero-section {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .carousel,
    .carousel-item {
        height: auto;
        min-height: auto;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.btn:focus,
.nav-link:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #000000;
        --secondary-color: #ff0000;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Supporters Carousel Styles */
.supporters-carousel-container {
    max-width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 2rem 0;
}

.supporters-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, rgba(49, 130, 206, 0.05) 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.supporters-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    width: auto;
}

.supporter-card {
    flex: 0 0 350px;
    margin: 20px 15px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(26, 54, 93, 0.08);
}

.supporter-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
    border-color: var(--primary-color);
}

.supporter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.supporter-card:hover::before {
    transform: scaleX(1);
}

.supporter-card-inner {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    position: relative;
}

.supporter-avatar {
    position: relative;
    margin-bottom: 1.5rem;
}

.supporter-photo,
.supporter-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.supporter-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.supporter-card:hover .supporter-photo,
.supporter-card:hover .supporter-placeholder {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.supporter-status {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: white;
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.supporter-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.supporter-name {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.supporter-title {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.supporter-company {
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.supporter-testimonial {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
    position: relative;
    padding: 0.5rem 0;
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 -20px;
    pointer-events: none;
    z-index: 10;
}

.carousel-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    color: var(--primary-color);
    font-size: 1.2rem;
    opacity: 0.8;
}

.carousel-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
    opacity: 1;
}

.prev-btn {
    transform: translateX(-25px);
}

.next-btn {
    transform: translateX(25px);
}

/* Carousel Dots */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(26, 54, 93, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Auto-play Toggle */
.carousel-play-pause {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}

.play-pause-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.play-pause-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .supporters-carousel {
        height: 350px;
    }
    
    .supporter-card {
        flex: 0 0 280px;
        margin: 15px 10px;
    }
    
    .supporter-card-inner {
        padding: 1.5rem;
    }
    
    .supporter-photo,
    .supporter-placeholder {
        width: 60px;
        height: 60px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .prev-btn {
        transform: translateX(-15px);
    }
    
    .next-btn {
        transform: translateX(15px);
    }
}

@media (max-width: 480px) {
    .supporter-card {
        flex: 0 0 250px;
    }
    
    .supporter-testimonial {
        font-size: 0.8rem;
    }
}

/* Enhanced Keyframe Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroCTAIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

/* Enhanced Card Styles */
.card-enhanced {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-enhanced:hover::before {
    opacity: 1;
}

.card-enhanced:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: var(--primary-color);
}

.card-enhanced .card-img-top {
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.card-enhanced:hover .card-img-top {
    transform: scale(1.08);
}

/* Glass Effect Cards */
.card-glass {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.card-glass:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.45);
}

/* Skeleton Loading States */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text.large {
    height: 24px;
}

.skeleton-card {
    padding: 20px;
    border-radius: 12px;
    background: white;
    box-shadow: var(--shadow-sm);
}

.skeleton-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.skeleton-image {
    height: 200px;
    width: 100%;
    border-radius: 8px;
}

/* Loading Spinner */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.loading-overlay.active {
    opacity: 1;
    visibility: visible;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Enhanced News Cards */
.news-card-enhanced {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f1f5f9;
    position: relative;
}

.news-card-enhanced::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card-enhanced:hover::after {
    transform: scaleX(1);
}

.news-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.news-card-enhanced .news-meta {
    background: rgba(26, 54, 93, 0.05);
    padding: 8px 16px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
}

.news-card-enhanced .card-body {
    padding: 24px;
}

.news-card-enhanced .card-title {
    color: var(--text-dark);
    font-size: 1.1rem;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.news-card-enhanced:hover .card-title {
    color: var(--primary-color);
}

/* News Cards - Modern Style */
.news-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f1f5f9;
    position: relative;
}

.news-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.news-card:hover::after {
    transform: scaleX(1);
}

.news-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.news-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
}

.news-card:hover .card-img-top {
    transform: scale(1.08);
    filter: brightness(1.05) saturate(1.1);
}

.news-meta {
    background: rgba(26, 54, 93, 0.05);
    padding: 10px 18px;
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 1px solid rgba(26, 54, 93, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-meta::before {
    content: "📅";
    font-size: 0.9rem;
}

.news-card .card-body {
    padding: 24px;
}

.news-card .card-title {
    color: var(--text-dark);
    font-size: 1.15rem;
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-card:hover .card-title {
    color: var(--primary-color);
}

.news-card .card-text {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Project Cards Enhancement */
.project-card-enhanced {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(26, 54, 93, 0.08);
    position: relative;
}

.project-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.project-card-enhanced:hover::before {
    opacity: 1;
}

.project-card-enhanced:hover {
    transform: translateY(-15px) rotate(1deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.project-card-enhanced .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.project-card-enhanced:hover .card-img-top {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

.project-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.project-card-enhanced:hover .project-icon {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

/* Interactive Elements */
.interactive-stats {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
}

.interactive-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.interactive-stats:hover::before {
    opacity: 1;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    display: block;
    animation: slideInUp 0.6s ease-out;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
    animation: slideInUp 0.6s ease-out 0.2s both;
}

/* Enhanced About Section */
.about-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(26, 54, 93, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.about-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(220, 38, 127, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

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

.about-image {
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(26, 54, 93, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.about-content {
    position: relative;
}

.about-content h2 {
    position: relative;
    margin-bottom: 30px;
}

.about-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.about-stats {
    margin-top: 40px;
    padding: 30px 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

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

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* About Section Enhancements */
.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.about-image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 54, 93, 0.8));
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    color: white;
}

.about-image-container:hover .about-image-overlay {
    transform: translateY(0);
}

/* Supporters Carousel Enhancement */
.supporters-carousel {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.supporters-track {
    display: flex;
    animation: scroll 30s linear infinite;
    gap: 2rem;
}

.supporters-track:hover {
    animation-play-state: paused;
}

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

.supporter-card {
    flex: 0 0 300px;
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.supporter-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Floating Action Elements */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--secondary-color);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(229, 62, 62, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-cta:hover {
    background: rgba(229, 62, 62, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(229, 62, 62, 0.4);
    animation: none;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    z-index: 9999;
    transition: width 0.3s ease;
}

/* Enhanced Mobile Responsive */
@media (max-width: 768px) {
    .card-enhanced:hover,
    .project-card-enhanced:hover,
    .news-card-enhanced:hover {
        transform: none;
    }
    
    .floating-cta {
        bottom: 1rem;
        right: 1rem;
        padding: 0.75rem 1.25rem;
    }
    
    .supporters-track {
        animation-duration: 20s;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
}

/* ============================================
   ADVANCED HOVER ANIMATIONS
   ============================================ */

/* Advanced Button Hover Effects */
.btn-advanced {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    background-size: 200% 200%;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.btn-advanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-advanced:hover::before {
    left: 100%;
}

.btn-advanced:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(26, 54, 93, 0.3);
}

/* Ripple Effect for Buttons */
.btn-ripple {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-ripple:hover::after {
    width: 300px;
    height: 300px;
}

/* Advanced Card Hover Animations */
.card-magnetic {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

.card-magnetic:hover {
    transform: translateY(-15px) rotateX(5deg) rotateY(5deg);
    box-shadow:
        0 25px 50px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(26, 54, 93, 0.1);
}

.card-magnetic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        rgba(26, 54, 93, 0.05) 0%,
        rgba(49, 130, 206, 0.05) 50%,
        rgba(26, 54, 93, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.card-magnetic:hover::before {
    opacity: 1;
}

/* Glow Effect Cards */
.card-glow {
    position: relative;
    transition: all 0.4s ease;
}

.card-glow::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
    animation: rotate 2s linear infinite;
}

.card-glow:hover::after {
    opacity: 1;
}

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

/* Advanced Navigation Link Hover */
.nav-link-advanced {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link-advanced::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.nav-link-advanced:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

/* Floating Hover Effect */
.float-hover {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* Tilt Hover Effect */
.tilt-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-style: preserve-3d;
}

.tilt-hover:hover {
    transform: perspective(1000px) rotateX(10deg) rotateY(10deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Scale Hover Effect */
.scale-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.scale-hover:hover {
    transform: scale(1.08);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Border Animation Hover */
.border-animate {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(white, white) padding-box,
                linear-gradient(45deg, var(--primary-color), var(--accent-color)) border-box;
    transition: all 0.3s ease;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    border-radius: inherit;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.border-animate:hover::before {
    opacity: 0.1;
}

.border-animate:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.2);
}

/* Text Hover Animations */
.text-hover-underline {
    position: relative;
    display: inline-block;
    transition: color 0.3s ease;
}

.text-hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.text-hover-underline:hover::after {
    width: 100%;
}

.text-hover-underline:hover {
    color: var(--primary-color);
}

/* Image Hover Effects */
.image-hover-zoom {
    overflow: hidden;
    transition: all 0.4s ease;
}

.image-hover-zoom img {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.image-hover-zoom:hover img {
    transform: scale(1.1);
    filter: brightness(1.1) saturate(1.2);
}

.image-hover-overlay {
    position: relative;
    overflow: hidden;
}

.image-hover-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.8), rgba(49, 130, 206, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.image-hover-overlay:hover::before {
    opacity: 1;
}

/* Micro Interactions */
.micro-bounce {
    transition: transform 0.2s ease;
}

.micro-bounce:hover {
    animation: microBounce 0.6s ease;
}

@keyframes microBounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-8px); }
    60% { transform: translateY(-4px); }
}

.micro-shake {
    transition: transform 0.2s ease;
}

.micro-shake:hover {
    animation: microShake 0.8s ease;
}

@keyframes microShake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-3px); }
    20%, 40%, 60%, 80% { transform: translateX(3px); }
}

.micro-pulse {
    transition: transform 0.3s ease;
}

.micro-pulse:hover {
    animation: microPulse 1s ease infinite;
}

@keyframes microPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading Button Animation */
.btn-loading {
    position: relative;
    transition: all 0.3s ease;
}

.btn-loading:hover {
    color: transparent;
}

.btn-loading:hover::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Icon Hover Animations */
.icon-hover-rotate {
    transition: transform 0.3s ease;
}

.icon-hover-rotate:hover {
    transform: rotate(180deg);
}

.icon-hover-bounce {
    transition: transform 0.3s ease;
}

.icon-hover-bounce:hover {
    transform: translateY(-3px);
    animation: iconBounce 0.6s ease infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(-3px); }
    50% { transform: translateY(-8px); }
}

/* Social Media Hover Effects */
.social-hover {
    position: relative;
    background: #f8f9fa;
    color: #6c757d;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.social-hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    transition: left 0.4s ease;
    z-index: -1;
}

.social-hover:hover::before {
    left: 0;
}

.social-hover:hover {
    color: white;
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 25px rgba(26, 54, 93, 0.3);
}

/* Form Input Hover & Focus */
.form-control-enhanced {
    position: relative;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control-enhanced:focus,
.form-control-enhanced:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(49, 130, 206, 0.25);
    transform: translateY(-2px);
}

/* Stagger Animation for Multiple Elements */
.stagger-hover-parent:hover .stagger-item {
    animation: staggerIn 0.6s ease forwards;
}

.stagger-item:nth-child(1) { animation-delay: 0.1s; }
.stagger-item:nth-child(2) { animation-delay: 0.2s; }
.stagger-item:nth-child(3) { animation-delay: 0.3s; }
.stagger-item:nth-child(4) { animation-delay: 0.4s; }
.stagger-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes staggerIn {
    0% {
        opacity: 0.5;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Advanced Glow Border Effect */
.glow-border {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 1px;
    transition: all 0.3s ease;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    border-radius: inherit;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

.glow-border:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(26, 54, 93, 0.15);
}

/* Morphing Shape Hover */
.morphing-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
}

.morphing-hover:hover {
    border-radius: 24px;
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.05), rgba(49, 130, 206, 0.05));
}

/* Gradient Text Hover */
.gradient-text-hover {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 200%;
    transition: all 0.3s ease;
}

.gradient-text-hover:hover {
    background-position: 100% 100%;
    transform: scale(1.05);
}

/* Responsive Hover Adjustments */
@media (max-width: 768px) {
    /* Reduce complex animations on mobile for performance */
    .card-magnetic:hover,
    .tilt-hover:hover {
        transform: translateY(-8px);
    }
    
    .btn-advanced:hover {
        transform: translateY(-2px) scale(1.02);
    }
    
    /* Disable resource-intensive animations on touch devices */
    .card-glow::after,
    .glow-border::before {
        display: none;
    }
}

/* Accessibility: Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .btn-advanced,
    .card-magnetic,
    .tilt-hover,
    .float-hover,
    .scale-hover,
    .micro-bounce,
    .micro-shake,
    .micro-pulse {
        transition: none;
    }
    
    .btn-advanced:hover,
    .card-magnetic:hover,
    .tilt-hover:hover,
    .float-hover:hover,
    .scale-hover:hover {
        transform: none;
    }
    
    .micro-bounce:hover,
    .micro-shake:hover,
    .micro-pulse:hover {
        animation: none;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .supporters-track {
        animation: none;
    }
    
    .floating-cta {
        animation: none;
    }
    
    .hero-bg {
        background-attachment: scroll;
    }
}

/* Instagram Module Styles */
.instagram-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}

.instagram-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.instagram-card:hover::before {
    transform: scaleX(1);
}

.instagram-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    position: relative;
    transition: all 0.4s ease;
}

.bg-gradient-instagram {
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    background-size: 200% 200%;
    animation: instagramGradient 3s ease-in-out infinite;
}

@keyframes instagramGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.instagram-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.instagram-btn {
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    background-size: 200% 200%;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.instagram-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.instagram-btn:hover::before {
    left: 100%;
}

.instagram-btn:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(253, 89, 73, 0.4);
    color: white;
}

.instagram-stats {
    padding: 1.5rem 0;
}

.instagram-stats .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.instagram-stats .stat-item:hover {
    transform: translateY(-5px);
}

.instagram-stats .stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.instagram-stats .stat-item:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 8px 20px rgba(253, 89, 73, 0.3);
}

/* Instagram Module Responsive */
@media (max-width: 768px) {
    .instagram-card {
        margin: 1rem;
        padding: 2rem !important;
    }
    
    .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .instagram-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .instagram-stats .stat-item {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .instagram-stats .stat-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .instagram-card {
        padding: 1.5rem !important;
    }
    
    .instagram-card h4 {
        font-size: 1.25rem;
    }
    
    .instagram-btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem !important;
    }
    
    .icon-wrapper {
        width: 50px;
        height: 50px;
    }
    
    .icon-wrapper i {
        font-size: 1.5rem !important;
    }
}

/* Dark Mode Support for Instagram Module */
@media (prefers-color-scheme: dark) {
    .instagram-card {
        background: #1a202c;
        color: white;
    }
    
    .instagram-card p {
        color: #a0aec0;
    }
}

/* High Contrast Mode for Instagram Module */
@media (prefers-contrast: high) {
    .instagram-btn {
        background: #000;
        border: 2px solid #fff;
    }
    
    .instagram-btn:hover {
        background: #fff;
        color: #000;
    }
}

/* Reduced Motion for Instagram Module */
@media (prefers-reduced-motion: reduce) {
    .instagram-card,
    .instagram-btn,
    .icon-wrapper,
    .instagram-stats .stat-item {
        transition: none;
    }
    
    .instagram-card:hover,
    .instagram-btn:hover,
    .icon-wrapper:hover {
        transform: none;
    }
    
    .bg-gradient-instagram {
        animation: none;
    }
}

/* ============================================
   INSTAGRAM POSTS MODULE STYLES
   ============================================ */

/* Instagram Posts Section */
.instagram-post-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(26, 54, 93, 0.08);
    position: relative;
}

.instagram-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    z-index: 2;
}

.instagram-post-card:hover::before {
    transform: scaleX(1);
}

.instagram-post-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.instagram-post-image {
    position: relative;
    overflow: hidden;
}

.instagram-post-image img {
    transition: all 0.5s ease;
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.instagram-post-card:hover .instagram-post-image img {
    transform: scale(1.08);
    filter: brightness(1.1) saturate(1.2);
}

/* Instagram Post Overlay */
.instagram-overlay {
    background: linear-gradient(135deg, rgba(253, 89, 73, 0.8), rgba(214, 36, 159, 0.6));
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.instagram-post-card:hover .instagram-overlay {
    opacity: 1;
}

.instagram-overlay .text-white {
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.instagram-post-card:hover .instagram-overlay .text-white {
    transform: scale(1);
}

/* Instagram Post Content */
.instagram-post-content {
    padding: 24px;
    background: white;
    position: relative;
}

.instagram-caption {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.instagram-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.instagram-stats .stat-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.instagram-stats .stat-item:hover {
    transform: translateY(-2px);
}

.instagram-stats .stat-item i {
    margin-right: 6px;
    font-size: 1rem;
}

.instagram-stats .fas.fa-heart {
    color: #e91e63;
}

.instagram-stats .fas.fa-comment {
    color: var(--accent-color);
}

/* Instagram Post Button */
.instagram-post-content .btn {
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    background-size: 200% 200%;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 12px;
}

.instagram-post-content .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.instagram-post-content .btn:hover::before {
    left: 100%;
}

.instagram-post-content .btn:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 30px rgba(253, 89, 73, 0.4);
    color: white;
}

/* Instagram Section Header */
#instagram .display-5 {
    position: relative;
    margin-bottom: 30px;
}

#instagram .display-5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    border-radius: 2px;
}

/* Instagram Follow Button in Header */
#instagram .btn-outline-primary {
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    background-size: 200% 200%;
    border: 2px solid transparent;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    animation: instagramGradientButton 3s ease-in-out infinite;
}

#instagram .btn-outline-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 35px rgba(253, 89, 73, 0.4);
    color: white;
    border-color: transparent;
}

@keyframes instagramGradientButton {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Main CTA Button */
#instagram .btn-primary {
    background: linear-gradient(45deg, #fd5949, #d6249f, #285AEB);
    background-size: 200% 200%;
    border: none;
    color: white;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 16px 40px;
    font-size: 1.1rem;
}

#instagram .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

#instagram .btn-primary:hover::before {
    left: 100%;
}

#instagram .btn-primary:hover {
    background-position: 100% 100%;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(253, 89, 73, 0.4);
    color: white;
}

/* Responsive Design for Instagram Posts */
@media (max-width: 992px) {
    .instagram-post-image img {
        height: 250px;
    }
    
    .instagram-post-content {
        padding: 20px;
    }
    
    .instagram-caption {
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .instagram-post-card {
        margin-bottom: 2rem;
    }
    
    .instagram-post-image img {
        height: 200px;
    }
    
    .instagram-post-content {
        padding: 18px;
    }
    
    .instagram-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .instagram-stats .stat-item {
        font-size: 0.85rem;
    }
    
    /* Disable complex hover effects on mobile */
    .instagram-post-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }
    
    .instagram-post-card:hover .instagram-post-image img {
        transform: scale(1.02);
    }
}

@media (max-width: 576px) {
    .instagram-post-image img {
        height: 180px;
    }
    
    .instagram-post-content {
        padding: 16px;
    }
    
    .instagram-post-content .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    #instagram .btn-outline-primary,
    #instagram .btn-primary {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
}

/* Loading State for Instagram Posts */
.instagram-post-skeleton {
    background: white;
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.instagram-post-skeleton .skeleton-image {
    height: 300px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

.instagram-post-skeleton .skeleton-content {
    padding: 24px;
}

.instagram-post-skeleton .skeleton-text {
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 12px;
}

.instagram-post-skeleton .skeleton-text:last-child {
    width: 70%;
}

/* Accessibility for Instagram Module */
@media (prefers-reduced-motion: reduce) {
    .instagram-post-card,
    .instagram-post-image img,
    .instagram-stats .stat-item,
    #instagram .btn-outline-primary,
    #instagram .btn-primary {
        transition: none;
        animation: none;
    }
    
    .instagram-post-card:hover,
    .instagram-post-card:hover .instagram-post-image img {
        transform: none;
    }
}

/* High Contrast Mode for Instagram Module */
@media (prefers-contrast: high) {
    .instagram-post-card {
        border: 2px solid #000;
        background: #fff;
    }
    
    .instagram-post-content .btn,
    #instagram .btn-outline-primary,
    #instagram .btn-primary {
        background: #000;
        color: #fff;
        border: 2px solid #000;
    }
    
    .instagram-post-content .btn:hover,
    #instagram .btn-outline-primary:hover,
    #instagram .btn-primary:hover {
        background: #fff;
        color: #000;
        border: 2px solid #000;
    }
}