/* Custom CSS for Bishnu Jyoti Janakalyan Samity Website */

/* Root Variables */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #f8c146;
    --accent-color: #28a745;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #2c5aa0 0%, #1e3c72 100%);
    --gradient-secondary: linear-gradient(135deg, #f8c146 0%, #f39c12 100%);
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.3);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Top Header Styles */
.top-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 3px solid var(--primary-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.org-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.logo-text .org-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    line-height: 1.2;
}

.logo-text .org-estd {
    font-size: 0.9rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}

.org-address {
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
}

.org-address h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.org-address p {
    color: #666;
    font-size: 0.95rem;
}

.contact-info {
    padding: 1rem;
}

.contact-item {
    margin-bottom: 0.5rem;
}

.contact-link {
    text-decoration: none;
    color: #333;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem;
    border-radius: 25px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.contact-link:hover {
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-link i {
    font-size: 1rem;
}

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Custom Navbar */
.custom-navbar {
    background: var(--gradient-primary) !important;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    padding: 0.8rem 0;
    z-index: 1000;
}

.custom-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(44, 90, 160, 0.95) !important;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.navbar-logo {
    height: 40px;
    width: auto;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
    margin-right: 0.5rem;
}

.brand-text {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-left: 0.5rem;
}

.navbar-nav .nav-link {
    color: white !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background: rgba(248, 193, 70, 0.2);
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

/* Hero Slider */
.hero-slider {
    height: calc(100vh - 180px);
    position: relative;
    overflow: hidden;
    margin-top: 0;
    min-height: 500px;
}

.carousel-image {
    height: calc(100vh - 180px);
    min-height: 500px;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.6);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: left;
    color: white;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons .btn {
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.hero-buttons .btn-primary {
    background: var(--gradient-secondary);
    border: none;
    color: var(--dark-color);
}

.hero-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.hero-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

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

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 30px;
    height: 30px;
    background-size: 100%, 100%;
}

.carousel-indicators {
    bottom: 30px;
    z-index: 3;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background: var(--secondary-color);
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid white;
}

.carousel-indicators .active {
    opacity: 1;
    transform: scale(1.2);
    background: white;
}

/* Carousel fade transition */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: 0.6s;
    transition-property: opacity;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

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

.carousel-inner {
    overflow: hidden;
    height: calc(100vh - 180px);
    min-height: 500px;
}

.carousel-item {
    height: 100%;
    position: relative;
}

/* Ensure images fill the container properly */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* About Section */
.about-content h3 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.info-item i {
    font-size: 2rem;
    margin-right: 1rem;
    width: 50px;
    text-align: center;
}

.info-item h5 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.info-item p {
    margin: 0;
    color: #666;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: #666;
    font-weight: 600;
}

/* Mission Cards */
.mission-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease 0.1s;
}

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

.mission-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.mission-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

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

.mission-icon i {
    font-size: 2rem;
    color: white;
}

.mission-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.values-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* Activity Cards */
.activity-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

.activity-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-heavy);
}

.activity-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.1);
}

.activity-icon i {
    font-size: 1.5rem;
    color: white;
}

.activity-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.team-photo {
    height: 280px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 15px 15px 0 0;
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: all 0.3s ease;
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.team-photo:hover .team-img {
    transform: scale(1.1);
}

.team-photo:hover .team-overlay {
    opacity: 0.9;
}

.team-photo i {
    font-size: 4rem;
    color: white;
}

/* Fallback when image is not loaded */
.team-img:not([src]), 
.team-img[src=""],
.team-img[src*="placeholder"] {
    display: none;
}

.team-img:not([src]) + .team-overlay,
.team-img[src=""] + .team-overlay,
.team-img[src*="placeholder"] + .team-overlay {
    opacity: 1;
}

.team-info {
    padding: 1.5rem;
}

.team-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.position {
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.location, .occupation, .contact {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
}

.contact i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

/* Project Cards */
.project-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.project-tags {
    margin-top: 1rem;
}

.tag {
    display: inline-block;
    background: var(--gradient-secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-info {
    color: white;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-right: 1rem;
    margin-top: 0.5rem;
    width: 30px;
}

.contact-item h5 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.contact-form .form-control {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    border-radius: 10px;
    padding: 12px 15px;
}

.contact-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.contact-form .form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: var(--secondary-color);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(248, 193, 70, 0.25);
}

/* Custom animation enhancements for AOS and Animate.css */
.typed-text {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Enhanced hover animations using CSS transitions */
.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Icon floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.activity-icon, .mission-icon {
    animation: float 3s ease-in-out infinite;
}

.activity-icon {
    animation-delay: 0.5s;
}

.mission-icon {
    animation-delay: 1s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-nav {
        background: rgba(44, 90, 160, 0.95);
        border-radius: 10px;
        margin-top: 1rem;
        padding: 1rem;
    }
    
    /* Reduce animation intensity on mobile */
    .animate-on-scroll {
        transform: translateY(20px);
    }
    
    .animate-on-scroll.slide-left,
    .animate-on-scroll.slide-right {
        transform: translateY(20px);
    }
    
    .mission-card:hover,
    .activity-card:hover,
    .team-card:hover {
        transform: translateY(-5px) scale(1.01);
    }
    
    /* Team photo mobile adjustments for portrait images */
    .team-photo {
        height: 250px;
    }
    
    .team-img {
        object-position: center 20%;
    }
    
    /* Top header mobile adjustments */
    .logo-section {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .org-logo {
        width: 60px;
        height: 60px;
    }
    
    .logo-text .org-name {
        font-size: 1.1rem;
    }
    
    .org-address {
        margin-bottom: 1rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    /* Top header adjustments for small screens */
    .top-header .py-3 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .org-address {
        padding: 0.8rem;
        margin-bottom: 1rem;
    }
    
    .org-address h5 {
        font-size: 1rem;
    }
    
    .org-address p {
        font-size: 0.9rem;
    }
    
    .contact-info {
        padding: 0.5rem;
    }
    
    .hero-slider {
        height: calc(100vh - 200px);
        min-height: 400px;
    }
    
    .carousel-image {
        height: calc(100vh - 200px);
        min-height: 400px;
    }
    
    .carousel-caption {
        text-align: center;
        padding: 1rem;
    }
    
    .carousel-inner {
        height: calc(100vh - 200px);
        min-height: 400px;
    }
}

/* AOS Animation Customizations */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom AOS animation styles */
.counter {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

/* About Page Styles */
.page-header {
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.1);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
}

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

.breadcrumb-item a {
    text-decoration: none;
}

.breadcrumb-item a:hover {
    text-decoration: underline;
}

/* About Section Styles */
.about-overview {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--primary-color);
    margin-bottom: 2rem;
}

.about-overview h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
}

.about-overview .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.info-highlight {
    background: white;
    padding: 2rem 1rem;
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border-top: 3px solid var(--primary-color);
}

.info-highlight:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.info-highlight h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-heading {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--accent-color);
}

.objectives-section,
.activities-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    height: 100%;
    border: 1px solid #e9ecef;
}

.objectives-list,
.activities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.objectives-list li,
.activities-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f3f4;
    display: flex;
    align-items: flex-start;
    font-size: 1rem;
    line-height: 1.6;
    transition: all 0.3s ease;
}

.objectives-list li:hover,
.activities-list li:hover {
    background: #f8f9fa;
    padding-left: 1rem;
    border-radius: 8px;
}

.objectives-list li:last-child,
.activities-list li:last-child {
    border-bottom: none;
}

.objectives-list li span,
.activities-list li span {
    flex: 1;
    padding-left: 0.5rem;
}

.target-group-section,
.legal-status-section {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    height: 100%;
    border: 1px solid #e9ecef;
}

.target-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.target-card {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 5px solid var(--accent-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.target-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-medium);
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.target-card i {
    font-size: 2rem;
    margin-right: 1.5rem;
    width: 40px;
    text-align: center;
}

.target-card span {
    font-weight: 500;
    color: #333;
    font-size: 1.05rem;
}

.legal-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #dee2e6;
}

.legal-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

.legal-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.legal-item p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.exemption-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exemption-list li {
    padding: 0.4rem 0;
    font-size: 0.95rem;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.exemption-list li:before {
    content: "✓";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0.4rem;
}

.stats-section {
    background: var(--gradient-primary);
    padding: 4rem 2rem;
    border-radius: 25px;
    color: white;
    text-align: center;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 20s linear infinite;
}

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

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

.stats-section h3 {
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 700;
}

.stats-section .stat-item {
    padding: 1rem;
}

.stats-section .stat-item i {
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
}

.stats-section .counter {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.stats-section .stat-item p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
}

/* Responsive Adjustments for About Page */
@media (max-width: 992px) {
    .about-overview {
        padding: 2rem;
    }
    
    .objectives-section,
    .activities-section,
    .target-group-section,
    .legal-status-section {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .stats-section {
        padding: 3rem 1rem;
    }
    
    .stats-section h3 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .about-overview {
        padding: 1.5rem;
    }
    
    .about-overview .lead {
        font-size: 1.1rem;
    }
    
    .info-highlight {
        padding: 1.5rem 1rem;
    }
    
    .objectives-section,
    .activities-section,
    .target-group-section,
    .legal-status-section {
        padding: 1.5rem;
    }
    
    .target-card {
        padding: 1rem;
    }
    
    .target-card i {
        font-size: 1.5rem;
        margin-right: 1rem;
    }
    
    .legal-info {
        padding: 1.5rem;
    }
    
    .stats-section {
        padding: 2rem 1rem;
    }
    
    .stats-section h3 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .stats-section .counter {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .section-heading {
        font-size: 1.3rem;
    }
    
    .objectives-list li,
    .activities-list li {
        font-size: 0.9rem;
    }
    
    .target-card span {
        font-size: 0.95rem;
    }
    
    .stats-section .counter {
        font-size: 2rem;
    }
}

/* Mission & Vision Page Styles */
.mission-vision-card {
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    overflow: hidden;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.mission-vision-card:hover {
    box-shadow: var(--shadow-medium);
    transform: translateY(-5px);
}

.mission-vision-card .card-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.mission-vision-card .card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: rotate 15s linear infinite;
}

.mission-vision-card .icon-wrapper {
    display: inline-block;
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.mission-vision-card .icon-wrapper i {
    font-size: 2.5rem;
    color: white;
}

.mission-vision-card .card-header h2 {
    margin: 0;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.mission-vision-card .card-content {
    padding: 3rem 2rem;
}

.quote-container {
    text-align: center;
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border-left: 5px solid var(--secondary-color);
}

.quote-icon {
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.7;
}

.mission-text,
.vision-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: #333;
    font-weight: 500;
    margin: 1.5rem 0;
    font-style: italic;
}

.mission-details,
.vision-details {
    margin-top: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.detail-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.detail-item h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.detail-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.vision-stat {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.vision-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.vision-stat h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vision-stat p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
}

/* Values Section Styles */
.values-grid {
    padding: 1rem 0;
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    border: 1px solid #e9ecef;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.value-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-icon i {
    font-size: 1.8rem;
    color: white;
}

.value-item h4 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Infrastructure Section Styles */
.infrastructure-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    border-radius: 25px;
    margin-top: 3rem;
}

.infrastructure-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    box-shadow: var(--shadow-light);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.infrastructure-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
}

.infrastructure-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.infra-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.infrastructure-card:hover .infra-icon {
    transform: scale(1.1);
}

.infra-icon i {
    font-size: 2.2rem;
    color: white;
}

.infrastructure-card h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.infrastructure-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.infra-features {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.infra-list ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.infra-list li {
    padding: 0.4rem 0;
    color: #666;
    display: flex;
    align-items: center;
}

/* Responsive Adjustments for Mission & Vision Page */
@media (max-width: 992px) {
    .mission-vision-card .card-content {
        padding: 2rem 1.5rem;
    }
    
    .quote-container {
        padding: 1.5rem;
    }
    
    .mission-text,
    .vision-text {
        font-size: 1.2rem;
    }
    
    .infrastructure-section {
        padding: 3rem 1.5rem;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mission-vision-card .card-header {
        padding: 2rem 1.5rem;
    }
    
    .mission-vision-card .card-header h2 {
        font-size: 1.8rem;
    }
    
    .mission-vision-card .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .mission-vision-card .icon-wrapper i {
        font-size: 2rem;
    }
    
    .mission-text,
    .vision-text {
        font-size: 1.1rem;
    }
    
    .quote-icon {
        font-size: 1.5rem;
    }
    
    .infrastructure-card {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }
    
    .infra-icon {
        width: 60px;
        height: 60px;
    }
    
    .infra-icon i {
        font-size: 1.8rem;
    }
    
    .value-item {
        padding: 1.5rem 1rem;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
    }
    
    .value-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .mission-vision-card .card-header h2 {
        font-size: 1.5rem;
    }
    
    .mission-text,
    .vision-text {
        font-size: 1rem;
    }
    
    .infrastructure-section {
        padding: 2rem 1rem;
    }
    
    .feature-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
}

/* Activities Page Styles */
.activities-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--primary-color);
    text-align: center;
}

.activities-intro h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.activities-intro .lead {
    color: #666;
    line-height: 1.8;
}

.activity-detail-section {
    padding: 2rem 0;
    border-bottom: 1px solid #e9ecef;
}

.activity-detail-section:last-child {
    border-bottom: none;
}

.activity-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
}

.activity-image:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.activity-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.activity-image:hover .activity-overlay {
    transform: scale(1.1);
    opacity: 1;
}

.activity-overlay i {
    font-size: 1.5rem;
    color: white;
}

.activity-content {
    padding: 1rem 0;
}

.activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.activity-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.activity-content:hover .activity-icon {
    transform: scale(1.1) rotate(5deg);
}

.activity-icon i {
    font-size: 1.8rem;
    color: white;
}

.activity-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.3;
}

.activity-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.activity-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.activity-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    color: #555;
    transition: all 0.3s ease;
}

.activity-features li:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.activity-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
}

.activity-stats .stat-item {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
    min-width: 120px;
}

.activity-stats .stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-light);
}

.activity-stats .stat-item h5 {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.activity-stats .stat-item p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-buttons {
    margin-top: 2rem;
}

.cta-buttons .btn {
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
}

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

/* Activity Page Responsive Styles */
@media (max-width: 992px) {
    .activities-intro {
        padding: 2rem 1.5rem;
    }
    
    .activity-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .activity-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .activity-header h3 {
        text-align: center;
    }
    
    .activity-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .activity-stats .stat-item {
        min-width: 100px;
    }
}

@media (max-width: 768px) {
    .activities-intro {
        padding: 1.5rem 1rem;
    }
    
    .activities-intro h2 {
        font-size: 1.8rem;
    }
    
    .activity-detail-section {
        padding: 1.5rem 0;
    }
    
    .activity-overlay {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
    }
    
    .activity-overlay i {
        font-size: 1.2rem;
    }
    
    .activity-icon {
        width: 60px;
        height: 60px;
    }
    
    .activity-icon i {
        font-size: 1.5rem;
    }
    
    .activity-header h3 {
        font-size: 1.3rem;
    }
    
    .activity-description {
        font-size: 1rem;
    }
    
    .activity-stats {
        flex-direction: column;
        align-items: center;
    }
    
    .activity-stats .stat-item {
        width: 100%;
        max-width: 200px;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .activities-intro h2 {
        font-size: 1.5rem;
    }
    
    .activity-header h3 {
        font-size: 1.2rem;
    }
    
    .activity-description {
        font-size: 0.95rem;
    }
    
    .activity-features li {
        font-size: 0.9rem;
    }
    
    .activity-stats .stat-item h5 {
        font-size: 1.3rem;
    }
    
    .activity-stats .stat-item p {
        font-size: 0.8rem;
    }
}

/* Additional Animation Effects for Activities Page */
.activity-image img {
    transition: all 0.3s ease;
}

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

.activity-features li {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.activity-features li:nth-child(1) { animation-delay: 0.1s; }
.activity-features li:nth-child(2) { animation-delay: 0.2s; }
.activity-features li:nth-child(3) { animation-delay: 0.3s; }
.activity-features li:nth-child(4) { animation-delay: 0.4s; }

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

/* Team Page Styles */
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.team-intro h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.team-intro .lead {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Leadership Card Styles */
.leadership-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    margin-bottom: 2rem;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
}

.president-card {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    border-left: 5px solid #dc3545;
}

.leader-photo {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: var(--shadow-medium);
    overflow: hidden;
}

.leader-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.leader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    font-size: 3rem;
}

.leader-photo:hover .leader-img {
    transform: scale(1.1);
}

.leader-photo:hover .leader-overlay {
    opacity: 0.9;
}

/* Fallback when leader image is not loaded */
.leader-img:not([src]), 
.leader-img[src=""],
.leader-img[src*="placeholder"] {
    display: none;
}

.leader-img:not([src]) + .leader-overlay,
.leader-img[src=""] + .leader-overlay,
.leader-img[src*="placeholder"] + .leader-overlay {
    opacity: 1;
}

.designation-badge {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    white-space: nowrap;
}

.designation-badge.president {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.designation-badge.vice-president {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.designation-badge.secretary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

.leader-info h3 {
    color: var(--primary-color);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.leader-info .position {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 600;
}

.leader-details .detail-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Executive Card Styles */
.executive-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
}

.executive-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.exec-photo {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.exec-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exec-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    font-size: 2rem;
}

.exec-photo:hover .exec-img {
    transform: scale(1.1);
}

.exec-photo:hover .exec-overlay {
    opacity: 0.9;
}

/* Fallback when exec image is not loaded */
.exec-img:not([src]), 
.exec-img[src=""],
.exec-img[src*="placeholder"] {
    display: none;
}

.exec-img:not([src]) + .exec-overlay,
.exec-img[src=""] + .exec-overlay,
.exec-img[src*="placeholder"] + .exec-overlay {
    opacity: 1;
}

.exec-info h4 {
    color: var(--primary-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
}

.exec-info .position {
    text-align: center;
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.exec-details .detail-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.exec-details .detail-item span {
    flex: 1;
}

/* Team Member Card Styles */
.team-member-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    height: 100%;
    text-align: center;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.member-photo {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.member-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.member-photo:hover .member-img {
    transform: scale(1.1);
}

.member-photo:hover .member-overlay {
    opacity: 0.9;
}

/* Fallback when member image is not loaded */
.member-img:not([src]), 
.member-img[src=""],
.member-img[src*="placeholder"] {
    display: none;
}

.member-img:not([src]) + .member-overlay,
.member-img[src=""] + .member-overlay,
.member-img[src*="placeholder"] + .member-overlay {
    opacity: 1;
}

.member-designation {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.75rem;
    background: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    border-radius: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.member-info h5 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-position {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.member-address,
.member-occupation {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    text-align: left;
}

.member-address small,
.member-occupation small {
    margin-left: 0.25rem;
}

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

.team-stat i {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
}

.team-stat h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.team-stat p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Section Headings */
.section-heading {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 1rem;
}

.section-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

/* Call to Action Section */
.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
    box-shadow: var(--shadow-light);
}

.cta-buttons .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

.cta-buttons .btn-outline-primary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Counter Animation */
.counter {
    font-family: 'Arial', sans-serif;
}

/* Responsive Design for Team Page */
@media (max-width: 992px) {
    .leader-photo {
        width: 120px;
        height: 120px;
        font-size: 2.5rem;
    }
    
    .leader-info h3 {
        font-size: 1.5rem;
    }
    
    .exec-photo {
        width: 80px;
        height: 80px;
        font-size: 1.5rem;
    }
    
    .team-stat h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .leadership-card {
        padding: 1.5rem;
    }
    
    .leader-photo {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }
    
    .leader-info h3 {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .leader-details {
        text-align: center;
    }
    
    .leader-details .detail-row {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .executive-card,
    .team-member-card {
        margin-bottom: 2rem;
    }
    
    .team-stat {
        padding: 1.5rem 0.5rem;
    }
    
    .team-stat h2 {
        font-size: 2rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .team-intro h2 {
        font-size: 1.5rem;
    }
    
    .team-intro .lead {
        font-size: 1rem;
    }
    
    .leader-info h3 {
        font-size: 1.2rem;
    }
    
    .leader-info .position {
        font-size: 1rem;
    }
    
    .member-info h5 {
        font-size: 1rem;
    }
    
    .member-address,
    .member-occupation {
        font-size: 0.75rem;
    }
    
    .section-heading {
        font-size: 1.3rem;
    }
}

/* Animation Delays for Team Cards */
.team-member-card:nth-child(1) { animation-delay: 0.1s; }
.team-member-card:nth-child(2) { animation-delay: 0.2s; }
.team-member-card:nth-child(3) { animation-delay: 0.3s; }
.team-member-card:nth-child(4) { animation-delay: 0.4s; }
.team-member-card:nth-child(5) { animation-delay: 0.5s; }

/* Projects Page Styles */
.projects-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.projects-intro h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.projects-intro .lead {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Project Statistics Cards */
.project-stat-card {
    background: white;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.project-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-stat-card .stat-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-light);
}

.project-stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-stat-card p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Projects Timeline */
.projects-timeline {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

.projects-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    border-radius: 2px;
}

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

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 2rem;
}

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

.timeline-year {
    position: absolute;
    top: 20px;
    right: -25px;
    z-index: 10;
}

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

.year-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-medium);
    white-space: nowrap;
}

.timeline-content {
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-light);
}

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

/* Project Cards */
.project-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.project-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.project-header h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
    font-size: 1.3rem;
}

.nabard-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-light);
}

.project-list {
    margin: 0;
}

.project-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.project-item:last-child {
    margin-bottom: 0;
}

.project-item i {
    flex-shrink: 0;
    margin-top: 2px;
}

.project-item span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

/* Category Cards */
.category-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-light);
}

.category-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.category-card p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-features li {
    padding: 0.5rem 0;
    color: #555;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    padding-left: 1.5rem;
}

.category-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.category-features li:last-child {
    border-bottom: none;
}

/* Call to Action Buttons */
.cta-buttons .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.cta-buttons .btn-light {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.cta-buttons .btn-light:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.cta-buttons .btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive Design for Projects Page */
@media (max-width: 992px) {
    .projects-timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 80px !important;
        padding-right: 0 !important;
    }
    
    .timeline-year {
        left: -20px !important;
        right: auto !important;
    }
    
    .timeline-content::before {
        left: -10px !important;
        right: auto !important;
    }
    
    .project-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .project-header h4 {
        font-size: 1.1rem;
    }
    
    .nabard-badge {
        align-self: flex-start;
    }
}

@media (max-width: 768px) {
    .projects-intro h2 {
        font-size: 1.8rem;
    }
    
    .projects-intro .lead {
        font-size: 1rem;
    }
    
    .project-stat-card {
        padding: 1.5rem 1rem;
        margin-bottom: 2rem;
    }
    
    .project-stat-card .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .project-stat-card h3 {
        font-size: 2rem;
    }
    
    .timeline-item {
        padding-left: 60px !important;
    }
    
    .timeline-year {
        left: -15px !important;
    }
    
    .year-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .project-card {
        padding: 1.5rem;
    }
    
    .project-item {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .project-item span {
        font-size: 0.9rem;
    }
    
    .category-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-card h4 {
        font-size: 1.1rem;
    }
    
    .cta-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .cta-buttons .btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .timeline-item {
        padding-left: 50px !important;
    }
    
    .projects-timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        left: -10px !important;
    }
    
    .year-badge {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .project-header h4 {
        font-size: 1rem;
    }
    
    .project-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .project-item i {
        margin-bottom: 0.5rem;
    }
    
    .project-item span {
        font-size: 0.85rem;
    }
    
    .category-features li {
        font-size: 0.9rem;
    }
}

/* Animation Effects for Projects */
.project-item {
    opacity: 0;
    animation: fadeInSlide 0.6s ease forwards;
}

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

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

/* Hover Effects */
.timeline-item:hover .project-card {
    transform: scale(1.02);
}

.timeline-item:hover .year-badge {
    transform: scale(1.1);
}

/* Contact Page Styles */
.contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-intro h2 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.contact-intro .lead {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Contact Information Card */
.contact-info-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e9ecef;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.info-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 1rem;
}

.info-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.info-content p {
    margin-bottom: 0.25rem;
    color: #555;
    line-height: 1.6;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.service-areas {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.area-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Contact Form Card */
.contact-form-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid #e9ecef;
}

.contact-form-card h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.contact-form .form-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.contact-form .form-control,
.contact-form .form-select {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.contact-form textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

/* Map Section */
.map-section h3 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    height: 400px;
}

.map-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e9ecef;
}

.map-content {
    text-align: center;
    color: #666;
}

.map-content h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.map-content .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.map-content .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Quick Contact Cards */
.quick-contact-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    backdrop-filter: blur(10px);
}

.quick-contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.quick-contact-card h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.quick-contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.quick-contact-card .btn-light {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.quick-contact-card .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

/* FAQ Section */
.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 10px !important;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-button {
    background: #f8f9fa;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: none;
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1rem;
}

.accordion-button:not(.collapsed)::after {
    content: '\f106';
}

.accordion-body {
    padding: 1.5rem;
    background: white;
    color: #555;
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Responsive Design for Contact Page */
@media (max-width: 992px) {
    .contact-info-card,
    .contact-form-card {
        margin-bottom: 2rem;
    }
    
    .info-item {
        padding: 1rem;
    }
    
    .info-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .quick-contact-card {
        margin-bottom: 2rem;
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .contact-intro h2 {
        font-size: 1.8rem;
    }
    
    .contact-intro .lead {
        font-size: 1rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
    }
    
    .contact-info-card h3,
    .contact-form-card h3 {
        font-size: 1.3rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 1.5rem 1rem;
    }
    
    .info-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .service-areas {
        justify-content: center;
    }
    
    .map-container {
        height: 300px;
    }
    
    .quick-contact-card {
        padding: 1.5rem 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .contact-intro h2 {
        font-size: 1.5rem;
    }
    
    .contact-form .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .area-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .quick-contact-card h5 {
        font-size: 1.1rem;
    }
    
    .quick-contact-card .btn-light {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .map-container {
        height: 250px;
    }
}

/* Animation Effects for Contact Page */
.info-item {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

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

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545;
}

.form-control.is-valid {
    border-color: #28a745;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.valid-feedback {
    display: block;
    color: #28a745;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Dynamic Projects Section Styles */
.dynamic-project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}


.dynamic-project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    background-color: #e9ecef;
}

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

/* Loading state for images */
.project-image-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid var(--primary-color);
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1;
}

.project-image-container.loaded::before {
    display: none;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.project-image-container .carousel-control-prev,
.project-image-container .carousel-control-next {
    width: 40px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.project-image-container .carousel-indicators {
    margin-bottom: 10px;
}

.project-image-container .carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
}

.project-image-container .carousel-indicators button.active {
    background-color: white;
}

.project-card-body {
    padding: 1.5rem;
}

.project-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.project-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-footer {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-date {
    display: flex;
    align-items: center;
    color: #666;
}

/* Mobile Portrait Optimization for 796x1168 Images */
@media (max-width: 480px) {
    .team-photo {
        height: 220px;
    }
    
    .team-img {
        object-position: center 15%;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .team-info h4 {
        font-size: 1.1rem;
    }
    
    .position {
        font-size: 0.9rem;
    }
    
    .location, .occupation {
        font-size: 0.8rem;
    }

    /* Dynamic Projects Mobile Styles */
    .project-image-container {
        height: 200px;
    }

    .project-card-body {
        padding: 1rem;
    }

    .project-title {
        font-size: 1.1rem;
    }

    .project-image-container .carousel-control-prev,
    .project-image-container .carousel-control-next {
        opacity: 1;
        width: 30px;
    }
}

/* Notice Board Section Styles */
.notice-board {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.notice-board .section-title {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.notice-tabs {
    border: none;
    margin-bottom: 2rem;
    justify-content: center;
}

.notice-tabs .nav-link {
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    padding: 0.8rem 2rem;
    margin: 0 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice-tabs .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 0;
}

.notice-tabs .nav-link span {
    position: relative;
    z-index: 1;
}

.notice-tabs .nav-link:hover,
.notice-tabs .nav-link.active {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.notice-tabs .nav-link:hover::before,
.notice-tabs .nav-link.active::before {
    left: 0;
}

.notice-content {
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow-medium);
    padding: 2rem;
    min-height: 400px;
}

.notice-item {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.notice-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.notice-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-light);
}

.notice-item:hover::before {
    width: 8px;
}

.notice-item-header {
    display: flex;
    justify-content: between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.notice-item-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    flex: 1;
}

.notice-item-date {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    margin-left: 1rem;
}

.notice-item-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.notice-item-badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.notice-item-badge.urgent {
    background: #dc3545;
    animation: pulse 2s infinite;
}

.notice-item-badge.new {
    background: #28a745;
}

.notice-item-badge.deadline {
    background: #fd7e14;
}

.download-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.download-link:hover {
    color: var(--secondary-color);
    text-decoration: none;
    transform: translateX(5px);
}

.download-link i {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.empty-notice {
    text-align: center;
    padding: 3rem 1rem;
    color: #999;
}

.empty-notice i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive Notice Board */
@media (max-width: 768px) {
    .notice-tabs .nav-link {
        padding: 0.6rem 1.2rem;
        margin: 0.2rem;
        font-size: 0.9rem;
    }
    
    .notice-content {
        padding: 1rem;
    }
    
    .notice-item-header {
        flex-direction: column;
    }
    
    .notice-item-date {
        margin-left: 0;
        margin-top: 0.5rem;
        align-self: flex-start;
    }
    
    .notice-item {
        padding: 1rem;
    }
}

/* Gallery Page Styles */
.gallery-filter {
    margin-bottom: 3rem;
}

.filter-btn {
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.8rem 1.5rem;
    margin: 0.5rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: 0;
}

.filter-btn i,
.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn:hover,
.filter-btn.active {
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.filter-btn:hover::before,
.filter-btn.active::before {
    left: 0;
}

.gallery-grid {
    margin-top: 2rem;
}

.gallery-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 90, 160, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    padding: 1rem;
    border: 2px solid white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-overlay a:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1);
}

.gallery-info {
    padding: 1.5rem;
}

.gallery-info h5 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-info p {
    color: #666;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Gallery item animation */
.gallery-item {
    opacity: 1;
    transform: scale(1);
    transition: all 0.5s ease;
}

.gallery-item.show {
    opacity: 1;
    transform: scale(1);
}

/* Load More Button */
#loadMoreBtn {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#loadMoreBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(44, 90, 160, 0.3);
}

/* Statistics Section */
.stat-item {
    padding: 2rem 1rem;
}

.stat-item i {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-item p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Lightbox customization */
.lb-data .lb-caption {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
}

.lb-data .lb-number {
    color: var(--secondary-color) !important;
}

/* Responsive Gallery */
@media (max-width: 768px) {
    .filter-btn {
        padding: 0.6rem 1rem;
        margin: 0.3rem;
        font-size: 0.9rem;
    }
    
    .gallery-image {
        height: 200px;
    }
    
    .gallery-info {
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2.5rem;
    }
    
    .gallery-overlay a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .filter-btn {
        display: block;
        width: 100%;
        margin: 0.2rem 0;
    }
    
    .gallery-image {
        height: 180px;
    }
}