/* Tasth Foundation Custom Styles */

/* Color Variables */
:root {
    --primary-color: #8B4B9B;
    --primary-light: #9B59B6;
    --primary-dark: #663399;
    --secondary-color: #4682B4;
    --secondary-light: #87CEEB;
    --accent-color: #FFA500;
    --accent-light: #FFE4B5;
    --text-dark: #343A40;
    --text-muted: #6C757D;
    --bg-light: #F8F9FA;
}

/* Override Bootstrap Primary Color */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

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

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

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

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

.navbar-brand img {
    max-height: 35px;
    width: auto;
}

/* Logo responsive sizing */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 30px;
    }

    .about-logo {
        max-width: 200px !important;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    font-weight: 600;
}

/* Dropdown Menu Styles */
.navbar .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    z-index: 1050;
}

.navbar .dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: rgba(139, 75, 156, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.navbar .dropdown-item:active {
    background-color: var(--primary-color);
    color: white;
}

.navbar .dropdown-toggle::after {
    margin-left: 0.5rem;
}

/* Hero Section Styles */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Card Styles */
.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* Impact Statistics */
.impact-stat {
    text-align: center;
    padding: 2rem 1rem;
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

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

/* Section Styles */
.section-padding {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* Team Member Cards */
.team-card {
    text-align: center;
    padding: 2rem 1rem;
}

.team-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid var(--accent-light);
}

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

.team-position {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--text-dark) !important;
}

footer a:hover {
    color: var(--accent-color) !important;
    transition: color 0.3s ease;
}

/* Enhanced Responsive Design */

/* Large screens (desktops) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }

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

    .container {
        max-width: 1140px;
    }
}

/* Medium screens (tablets) */
@media (max-width: 991.98px) {
    .hero-section {
        padding: 80px 0;
    }

    .hero-title {
        font-size: 3rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        text-align: center;
    }

    .card-img-top {
        height: 180px;
    }

    .team-avatar {
        width: 120px;
        height: 120px;
    }
}

/* Small screens (large phones) */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .section-padding {
        padding: 60px 0;
    }

    .impact-number {
        font-size: 2.5rem;
    }

    .impact-stat {
        padding: 1.5rem 0.5rem;
    }

    .card-img-top {
        height: 160px;
    }

    .team-avatar {
        width: 100px;
        height: 100px;
    }

    /* Button adjustments for mobile */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Navbar improvements */
    .navbar-brand {
        font-size: 1.25rem;
    }

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

    .navbar-collapse {
        margin-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        padding-top: 1rem;
    }
}

/* Extra small screens (phones) */
@media (max-width: 576px) {
    .hero-section {
        padding: 50px 0;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.25rem;
    }

    .section-padding {
        padding: 50px 0;
    }

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

    .impact-number {
        font-size: 2rem;
    }

    .impact-label {
        font-size: 0.9rem;
    }

    .card-img-top {
        height: 140px;
    }

    .team-avatar {
        width: 80px;
        height: 80px;
    }

    .team-name {
        font-size: 1.1rem;
    }

    /* Container padding adjustments */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Button stack on mobile */
    .d-flex.flex-column.flex-sm-row .btn {
        margin-bottom: 0.5rem;
    }

    .d-flex.flex-column.flex-sm-row .btn:last-child {
        margin-bottom: 0;
    }

    /* Form improvements */
    .form-control-lg {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    /* Card spacing */
    .card-body {
        padding: 1.25rem;
    }

    /* Footer adjustments */
    footer .col-lg-4,
    footer .col-lg-2,
    footer .col-lg-3 {
        margin-bottom: 2rem;
    }

    footer .col-lg-4:last-child,
    footer .col-lg-2:last-child,
    footer .col-lg-3:last-child {
        margin-bottom: 0;
    }
}

/* Ultra small screens */
@media (max-width: 400px) {
    .hero-title {
        font-size: 1.75rem;
    }

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

    .impact-number {
        font-size: 1.75rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.25rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .btn {
        min-height: 44px;
        /* Minimum touch target size */
    }

    .nav-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .hero-section::before {
        background-size: cover;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 40px 0;
    }

    .section-padding {
        padding: 40px 0;
    }
}

/* Utility Classes */
.text-accent {
    color: var(--accent-color) !important;
}

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

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.btn-accent:hover {
    background-color: #e6940a;
    border-color: #e6940a;
    color: white;
}

/* Performance and Loading Optimizations */
.lazy-load {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.lazy-load.loaded {
    opacity: 1;
}

.loading-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

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

.video-responsive iframe,
.video-responsive object,
.video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Accessibility improvements */
.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 improvements */
.btn:focus,
.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 0.2rem rgba(139, 69, 19, 0.25);
    border-color: var(--primary-color);
}

/* Skip to content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
    border-radius: 0 0 4px 4px;
}

.skip-link:focus {
    top: 0;
}

/* Print styles */
@media print {

    .navbar,
    .btn,
    footer,
    .hero-section {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .container {
        width: auto;
        margin: 0;
        padding: 0;
    }

    .card {
        border: 1px solid #ddd;
        box-shadow: none;
        page-break-inside: avoid;
    }
}

/* Reduced motion preferences */
@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;
    }

    .loading-placeholder {
        animation: none;
        background: #f0f0f0;
    }
}

/* 
========================================
   MODERN PROFESSIONAL HOME PAGE STYLES
   ======================================== */

/* Modern Hero Section */
.hero-section-modern {
    position: relative;
    /* Background image without purple overlay */
    background-image: url('https://images.unsplash.com/photo-1559027615-cd4628902d4a?w=1920&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    /* Alternative: Use local image */
    /* background-image: url('/assets/images/hero-home.jpg'); */
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.min-vh-75 {
    min-height: 75vh;
}

.hero-content-modern {
    color: white;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-modern {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    color: white;
    margin-bottom: 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-modern {
    font-size: 1.25rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
}

.hero-actions .btn {
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.hero-actions .btn-primary {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    border: none;
}

.hero-actions .btn-outline-primary {
    border: 2px solid white;
    color: white;
    background: transparent;
}

.hero-actions .btn-outline-primary:hover {
    background: white;
    color: #8B4A9C;
}

.hero-stats {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.hero-image-container {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.hero-image-card img {
    transition: transform 0.3s ease;
    animation: fadeIn 1s ease-out 0.5s both;
}

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

.hero-image-card h4 {
    font-weight: 700;
    margin-top: 1rem;
}

.hero-image-card p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Enhanced Card Styles */
.card {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

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

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

.card-title {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.25rem;
}

.card-text {
    color: var(--text-muted);
    line-height: 1.7;
}

.card-footer {
    border-top: none;
    padding: 1.25rem;
}

/* Section Improvements */
.section-padding {
    padding: 100px 0;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #8B4A9C 0%, #FFA500 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Mission Cards Enhancement */
.card.h-100 {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: white;
}

.card.h-100:hover {
    border-color: var(--primary-color);
}

.card-body i {
    transition: transform 0.3s ease;
}

.card:hover .card-body i {
    transform: scale(1.1);
}

/* Impact Stats Section */
.impact-stats {
    background: linear-gradient(135deg, #8B4A9C 0%, #663399 100%);
    color: white;
}

.impact-stats .section-title {
    color: white;
}

.impact-stats .section-title::after {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.impact-stats .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.impact-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.impact-stat:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.impact-stat i {
    color: #FFD700;
}

.impact-number {
    color: #FFD700;
    font-size: 3.5rem;
    font-weight: 800;
}

.impact-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

/* Call to Action Enhancement */
.bg-primary.text-white {
    background: linear-gradient(135deg, #8B4A9C 0%, #663399 100%) !important;
    position: relative;
    overflow: hidden;
}

.bg-primary.text-white::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

/* Button Enhancements */
.btn {
    font-weight: 600;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B4A9C 0%, #663399 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(139, 75, 156, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #9B59B6 0%, #7B3FA3 100%);
    box-shadow: 0 6px 20px rgba(139, 75, 156, 0.4);
    transform: translateY(-2px);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

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

/* Responsive Adjustments for Modern Design */
@media (max-width: 991.98px) {
    .hero-section-modern {
        min-height: auto;
        padding: 80px 0;
    }

    .hero-title-modern {
        font-size: 3rem;
    }

    .hero-stats {
        margin-top: 3rem;
    }

    .section-padding {
        padding: 80px 0;
    }
}

@media (max-width: 768px) {
    .hero-section-modern {
        padding: 60px 0;
    }

    .hero-title-modern {
        font-size: 2.5rem;
    }

    .hero-subtitle-modern {
        font-size: 1.1rem;
    }

    .hero-actions .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
    }

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

    .section-padding {
        padding: 60px 0;
    }

    .impact-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title-modern {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }

    .stat-number {
        font-size: 1.75rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

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

    .section-subtitle {
        font-size: 1rem;
    }
}

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

/* Loading Animation */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   PROFESSIONAL PAGE STYLES FOR ALL PAGES
   ======================================== */

/* Programs Page Enhancements */
.programs-hero {
    padding: 80px 0;
    color: white;
}

/* Blog Page Enhancements */
.blog-card {
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blog-card .card-img-top {
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

/* Contact Page Enhancements */
.contact-info-card {
    background: linear-gradient(135deg, rgba(139, 75, 156, 0.05) 0%, rgba(102, 51, 153, 0.05) 100%);
    border-radius: 15px;
    padding: 2rem;
}

.contact-info .bi {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8B4A9C 0%, #663399 100%);
    color: white;
    border-radius: 10px;
}

/* Volunteer Page Enhancements */
.volunteer-opportunity {
    transition: all 0.3s ease;
    padding: 1.5rem;
    border-radius: 10px;
}

.volunteer-opportunity:hover {
    background: rgba(139, 75, 156, 0.05);
    transform: translateX(10px);
}

/* Donate Page Enhancements */
.donation-card {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quick-amount {
    transition: all 0.3s ease;
}

.quick-amount:hover,
.quick-amount.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* Form Enhancements */
.form-control,
.form-select {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 75, 156, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Page Headers */
.page-header {
    /* Background image without purple overlay */
    background-image: url('https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?w=1920&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    /* Alternative: Use local image */
    /* background-image: url('/assets/images/about-hero.jpg'); */
    padding: 100px 0 60px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

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

/* Programs Page Hero - Different Image */
.programs-hero {
    /* Background image without purple overlay */
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1920&q=80');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: #f8f9fa;
    /* Alternative: Use local image */
    /* background-image: url('/assets/images/programs-hero.jpg'); */
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Icon Boxes */
.icon-box {
    width: 80px;
    height: 80px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(139, 75, 156, 0.1) 0%, rgba(102, 51, 153, 0.1) 100%);
    border-radius: 20px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #8B4A9C 0%, #663399 100%);
}

.card:hover .icon-box i {
    color: white !important;
}

/* Alert Enhancements */
.alert {
    border-radius: 15px;
    border: none;
    padding: 1.25rem 1.5rem;
}

.alert-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(25, 135, 84, 0.1) 100%);
    color: #155724;
}

.alert-danger {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(200, 35, 51, 0.1) 100%);
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, rgba(13, 202, 240, 0.1) 0%, rgba(11, 172, 204, 0.1) 100%);
    color: #055160;
}

/* Pagination Enhancements */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

.page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Map Container */
.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Social Media Links */
.social-links a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 75, 156, 0.3);
}

/* Feature Cards */
.feature-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* Stats Counter */
.stat-counter {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Timeline (for About/History pages) */
.timeline-item {
    position: relative;
    padding-left: 3rem;
    padding-bottom: 2rem;
    border-left: 3px solid var(--primary-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 0;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid white;
    box-shadow: 0 0 0 3px var(--primary-color);
}

.timeline-item:last-child {
    border-left-color: transparent;
}

/* Testimonial Cards */
.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 6rem;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: Georgia, serif;
}

/* Progress Bars */
.progress {
    height: 10px;
    border-radius: 10px;
    background: rgba(139, 75, 156, 0.1);
}

.progress-bar {
    background: linear-gradient(135deg, #8B4A9C 0%, #663399 100%);
    border-radius: 10px;
}

/* Badge Enhancements */
.badge {
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Loading States */
.loading-spinner {
    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 0.8s linear infinite;
}

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

/* Empty States */
.empty-state {
    padding: 4rem 2rem;
    text-align: center;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Responsive Enhancements for All Pages */
@media (max-width: 991.98px) {
    .page-header h1 {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 60px 0 40px;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1.1rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

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

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 1.75rem;
    }

    .stat-counter {
        font-size: 2rem;
    }
}