/* Global Styles */
:root {
    --primary-color: #e74c3c;
    --secondary-color: #f88f06;
    --accent-color: #2c3e50;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    padding-top: 76px;
    /* Account for fixed header */
}

a {
    text-decoration: none;
}

/* Header Styles */
.navbar {
    transition: all 0.3s ease;
}

.navbar-brand img {
    transition: transform 0.3s ease;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 600;
    transition: color 0.3s ease;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.8px;
}


.nav-link:hover {
    color: var(--secondary-color) !important;
    font-size: 0.9 rem;
}


.dropdown-menu {
    border: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 8px 0;
    border-radius: 0px;
}

.dropdown-item {
    padding: 8px 20px;
    color: var(--text-color);
    transition: background 0.3s;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../_admin_control/_web_banner/hero_Banner.jpg');
    background-size: cover;
    background-position: center;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    margin-top: -76px;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 4rem;
    color: #e74c3c;
}

/* Service Cards */
.service-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
    text-align: center;
}

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

.service-card i {
    color: var(--secondary-color);
}

/* Involvement Cards */
.involvement-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

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

.involvement-card i {
    color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
}

footer h5 {
    color: white;
    font-size: 1.0rem;
    font-weight: bold;
}

footer p {
    color: white;
    font-size: 0.9rem;
}

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

footer ul li a {
    color: white;
    font-size: 0.9rem;
}





.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

.map-container {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* About Page Styles */
.mission-section {
    background-color: var(--light-bg);
}

.mission-section img {
    transition: transform 0.3s ease;
}

.mission-section img:hover {
    transform: scale(1.02);
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background-color: var(--secondary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
    width: 50%;
    padding-right: 2rem;
}

.timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-right: 0;
    padding-left: 2rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    right: -6px;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--secondary-color);
}

.timeline-item:nth-child(even)::before {
    right: auto;
    left: -6px;
}

/* Team Cards */
.team-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

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

.team-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 5px solid var(--light-bg);
    transition: border-color 0.3s ease;
}

.team-card:hover img {
    border-color: var(--secondary-color);
}

/* Impact Cards */
.impact-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

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

.impact-card i {
    color: var(--secondary-color);
}

.impact-card h3 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

/* Services Page Styles */
.services-hero {
    background-color: var(--light-bg);
}

.services-hero img {
    transition: transform 0.3s ease;
}

.services-hero img:hover {
    transform: scale(1.02);
}

/* Service Category Cards */
.service-category-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
}

.service-category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-category-card i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

/* Project Cards */
.project-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
}

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

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

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

.project-content {
    background: white;
}

.progress {
    height: 10px;
    background-color: var(--light-bg);
}

.progress-bar {
    background-color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.cta-section .btn-light {
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Contact Page Styles */
.contact-hero {
    background-color: var(--light-bg);
}

.contact-hero img {
    transition: transform 0.3s ease;
}

.contact-hero img:hover {
    transform: scale(1.02);
}

/* Info Cards */
.info-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

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

.info-card i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

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

/* Contact Form Card */
.contact-form-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Map Section */
.map-section .map-container {
    height: 450px;
}

.map-section .map-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .service-card,
    .involvement-card {
        margin-bottom: 2rem;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-item {
        width: 100%;
        padding-left: 2rem;
        padding-right: 0;
        margin-left: 0;
    }

    .timeline-item::before {
        left: -6px;
    }

    .service-category-card {
        margin-bottom: 2rem;
    }

    .project-card {
        margin-bottom: 2rem;
    }

    .info-card {
        margin-bottom: 2rem;
    }

    .map-section .map-container {
        height: 300px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Focus Styles */
:focus {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Skip to Main Content Link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--secondary-color);
    color: white;
    padding: 8px;
    z-index: 100;
}

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

/* Auth Section Styles */
.auth-section {
    padding-top: 100px;
    min-height: calc(100vh - 100px);
    background-color: var(--light-bg);
}

.auth-tabs {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.auth-tabs .nav-tabs {
    border-bottom: 2px solid var(--light-bg);
}

.auth-tabs .nav-tabs .nav-link {
    border: none;
    color: var(--text-color);
    font-weight: 500;
    padding: 1rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.auth-tabs .nav-tabs .nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

.auth-tabs .nav-tabs .nav-link.active {
    color: var(--primary-color);
    background-color: transparent;
}

.auth-card {
    padding: 2rem;
}

.auth-card .form-label {
    font-weight: 500;
    color: var(--text-color);
}

.auth-card .form-control {
    border: 1px solid #dee2e6;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.auth-card .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(var(--primary-rgb), 0.25);
}

.auth-card .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.auth-card .btn-primary {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-login {
    position: relative;
    margin-top: 2rem;
}

.social-login::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 1px;
    background-color: #dee2e6;
}

.social-login p {
    position: relative;
    display: inline-block;
    background-color: white;
    padding: 0 1rem;
    color: var(--text-color);
    font-size: 0.9rem;
}

.social-login .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-login .btn-outline-dark:hover {
    background-color: #333;
    color: white;
}

.social-login .btn-outline-primary:hover {
    background-color: #1877f2;
    color: white;
}

/* Responsive Styles for Auth Section */
@media (max-width: 768px) {
    .auth-section {
        padding-top: 80px;
    }

    .auth-tabs {
        padding: 1rem;
    }

    .auth-tabs .nav-tabs .nav-link {
        padding: 0.75rem 1rem;
    }

    .auth-card {
        padding: 1rem;
    }
}

.activity-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 0.5rem 0.5rem 0 0;
    background: #f8f9fa;
    opacity: 0;
    transform: scale(0.96) translateY(20px);
    animation: activityImgFadeIn 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes activityImgFadeIn {
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.activity-title {
    color: #d32f2f;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    margin-top: 0.5rem;
    margin-bottom: 0;
    opacity: 0;
    transform: translateY(20px);
    animation: activityTitleFadeIn 0.7s 0.4s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}
@keyframes activityTitleFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
    .activity-img { height: 180px; }
}
@media (max-width: 767.98px) {
    .activity-img { height: 140px; }
}

 /* Standard size for all gallery images */
 .standard-gallery-img-wrapper {
    width: 100%;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    overflow: hidden;
}
.standard-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s cubic-bezier(.4,2,.6,1), filter 0.3s;
}
.gallery-hover-card .gallery-img-wrapper:hover .gallery-img-effect,
.gallery-hover-card .gallery-img-wrapper:focus .gallery-img-effect {
    transform: scale(1.07) rotate(-1deg);
    filter: brightness(0.85) blur(1px);
}
.gallery-hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(40,40,40,0.45);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 0.375rem;
}
.gallery-hover-card .gallery-img-wrapper:hover .gallery-hover-overlay,
.gallery-hover-card .gallery-img-wrapper:focus .gallery-hover-overlay {
    opacity: 1;
}
.gallery-hover-overlay i {
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}


.registration-section {
    background: linear-gradient(135deg, #fff7f7 0%, #ffe5e5 100%);
    border-radius: 0.5rem;
    box-shadow: 0 8px 32px 0 rgba(220, 53, 69, 0.15);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 900px;
    margin: 0 auto;
}
.registration-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #dc3545;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}
.form-label {
    font-weight: 600;
    color: #dc3545;
}
.form-control:focus, .form-select:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,.15);
}
.custom-btn-danger {
    background: linear-gradient(90deg, #dc3545 60%, #ff6f61 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 2rem;
    transition: background 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 16px 0 rgba(220, 53, 69, 0.15);
}
.custom-btn-danger:hover, .custom-btn-danger:focus {
    background: linear-gradient(90deg, #ff6f61 0%, #dc3545 100%);
    color: #fff;
    box-shadow: 0 6px 24px 0 rgba(220, 53, 69, 0.25);
}
.form-section-divider {
    border-top: 2px dashed #dc3545;
    margin: 2rem 0 1.5rem 0;
}
.profile-photo-label {
    color: #dc3545;
    font-weight: 600;
}
.profile-photo-input::-webkit-file-upload-button {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 1rem;
    padding: 0.5rem 1.2rem;
    font-weight: 600;
    transition: background 0.3s;
}
.profile-photo-input::-webkit-file-upload-button:hover {
    background: #ff6f61;
}
@media (max-width: 767px) {
    .registration-section {
        padding: 1.2rem 0.5rem;
    }
}

 /* Member Dashboard Style */
 
.dashboard-card-header {
    background: linear-gradient(90deg, #b71c1c 0%, #e57373 100%);
    color: #fff;
}
.dashboard-label {
    color: #b71c1c;
    font-weight: 600;
}
.dashboard-value {
    color: #333;
}
.dashboard-photo-box {
    background: #fff5f5;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(220,53,69,0.08);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.dashboard-photo-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #fff;
    box-shadow: 0 4px 24px rgba(183,28,28,0.15);
    margin-bottom: 1.5rem;
    background: #fff;
}
.dashboard-mobile-box {
    background: linear-gradient(90deg, #b71c1c 60%, #e57373 100%);
    color: #fff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}
.dashboard-mobile-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.dashboard-mobile-number {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}
.dashboard-info-list p {
    margin-bottom: 0.7rem;
}
.dashboard-status-badge {
    font-size: 1rem;
    padding: 0.4em 1em;
    border-radius: 1em;
}
@media (max-width: 991.98px) {
    .dashboard-photo-box, .dashboard-mobile-box {
        min-height: 220px;
        padding: 1.2rem 0.5rem;
    }
    .dashboard-photo-img {
        width: 110px;
        height: 110px;
    }
    .dashboard-mobile-number {
        font-size: 1.1rem;
    }
}
 