@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

        :root {
            --color-primary: #3b82f6; /* blue */
            --color-primary-dark: #1e40af; /* navy */
            --color-bg: #ffffff; /* white */
            --color-text: #1f2937; /* slate-800 */
            --color-muted: #6b7280; /* slate-500 */
            --text-on-light: #000000; /* dark for light backgrounds */
            --text-on-dark: #000000; /* white for dark backgrounds */
            --link-on-light: #2563eb; /* primary link on light */
            --link-on-dark: #000000; /* link on dark sections */
            --radius-md: 8px;
            --shadow-sm: 0 2px 10px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 20px rgba(30, 64, 175, 0.2);
        }

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

        body {
            font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
            overflow-x: hidden;
            line-height: 1.6;
            color: var(--text-on-light);
            background-color: var(--color-bg);
        }

        /* Global Typography (Light Background Default) */
        h1, h2, h3, h4, h5, h6 { color: var(--text-on-light); line-height: 1.25; }
        p { color: var(--text-on-light); }
        a { color: var(--link-on-light); text-decoration: none; transition: color 0.2s ease, opacity 0.2s ease; }
        a:hover { color: var(--color-primary-dark); }
        a:focus { outline: none; box-shadow: 0 0 0 0.15rem rgba(59,130,246,0.25); border-radius: 4px; }

        /* Header Top Section */
        .header-top {
            background: #ffffff;
            padding: 12px 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }

        .header-content {
            display: flex;
            align-items: center;
        }

        .logo-section {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
        }

        .logo-img {
            height: 70px;
            width: auto;
        }

        .organization-names {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        .org-name-bn {
            color: #1e3a8a;
            font-size: 1.25rem;
            font-weight: 700;
            line-height: 1.3;
            margin: 0;
            white-space: nowrap;
        }

        .org-name-en {
            color: #1f2937;
            font-size: 1.25rem;
            font-weight: 600;
            line-height: 1.3;
            margin: 0;
            white-space: nowrap;
        }

        /* Navbar Section */
        .navbar {
            background: #163d7a !important;
            padding: 0;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .navbar .nav-link {
            color: rgba(255,255,255,0.95) !important;
            padding: 1rem 1.2rem !important;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            border-radius: 0;
        }

        .navbar .nav-link:hover {
            background: rgba(255,255,255,0.15);
            color: #ffffff !important;
        }

        .navbar .nav-link.active {
            background: rgba(255,255,255,0.25);
            color: #ffffff !important;
            font-weight: 600;
        }

        .navbar .dropdown-menu {
            background: #163d7a;
            border: none;
            margin-top: 0;
        }

        .navbar .dropdown-item {
            color: rgba(255,255,255,0.9);
            padding: 0.6rem 1.2rem;
            transition: background 0.2s ease;
            margin-left: 15px;
            width: calc(100% - 30px);
        }

        .navbar .dropdown-item:hover {
            background: rgba(255,255,255,0.15);
            color: #ffffff;
        }

        .navbar .dropdown-item.active {
            background: rgba(255,255,255,0.25);
            color: #ffffff;
        }

        .navbar-dark .navbar-toggler {
            border-color: rgba(255,255,255,0.5);
            padding: 0.5rem 0.75rem;
        }

        .navbar-dark .navbar-toggler:focus {
            box-shadow: 0 0 0 0.2rem rgba(255,255,255,0.25);
        }

        /* Mobile Responsive */
        @media (max-width: 991.98px) {
            .header-top {
                padding: 10px 0;
            }

            .logo-section {
                gap: 10px;
            }

            .logo-img {
                height: 55px;
            }

            .org-name-bn {
                font-size: 13px;
                white-space: normal;
            }

            .org-name-en {
                font-size: 0.87rem;
                white-space: normal;
            }

            .navbar .navbar-collapse {
                margin-top: 0.5rem;
            }

            .navbar .nav-link {
                padding: 0.75rem 1rem !important;
                text-align: left;
            }

            .navbar .dropdown-menu {
                background: rgba(22, 61, 122, 0.95);
            }
        }

        @media (max-width: 576px) {
            .logo-img {
                height: 45px;
            }

            .logo-section {
                gap: 8px;
            }

            .org-name-bn {
              font-size: 13px;

            }

            .org-name-en {
                font-size: 0.87rem;
            }
        }

        /* News & Events Marquee */
        .news-marquee {
            background: linear-gradient(135deg, #f8f9fa 0%, #2563eb 100%);
            border-bottom: 2px solid #1e40af;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
            position: relative;
            z-index: 999;
        }

        .marquee-container {
            display: flex;
            align-items: center;
            max-width: 1320px;
            margin: 0 auto;
            padding: 0.5rem 1rem;
        }

        .marquee-icon {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.4rem 1rem;
            background: linear-gradient(135deg, #3b82f6, #d97706);
            color: white;
            border-radius: 6px;
            font-weight: 600;
            font-size: 0.9rem;
            white-space: nowrap;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
        }

        .marquee-icon i {
            font-size: 1rem;
            animation: pulse 2s infinite;
        }

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

        .marquee-content {
            flex: 1;
            overflow: hidden;
            margin-left: 1rem;
        }

        .marquee-item {
            display: inline-block;
            padding: 0 2rem;
            font-size: 1rem;
            color: #ffffff;
            font-weight: 500;
        }

        .marquee-item i {
            margin-right: 0.4rem;
        }

        .marquee-item strong {
            color: #ffffff;
            font-weight: 600;
        }

        .marquee-separator {
            display: inline-block;
            margin: 0 1rem;
            color: #f59e0b;
            font-weight: bold;
            font-size: 1.2rem;
        }

        @media (max-width: 768px) {
            .marquee-icon span {
                display: none;
            }

            .marquee-icon {
                padding: 0.4rem 0.7rem;
            }

            .marquee-item {
                font-size: 1rem;
                padding: 0 1rem;
            }

            .marquee-content {
                margin-left: 0.5rem;
            }
        }

        /* Dropdown toggle should not inherit active state unless explicitly active */
        .navbar.navbar-white .nav-link.dropdown-toggle {
            color: #1f2937 !important;
        }
        .navbar.navbar-white .nav-link.dropdown-toggle:hover {
            background: rgba(59, 130, 246, 0.08);
            color: var(--color-primary) !important;
        }
        .navbar.navbar-white .nav-link.dropdown-toggle.active {
            background: rgba(59, 130, 246, 0.15) !important;
            color: var(--color-primary) !important;
            font-weight: 600 !important;
        }
        /* Ensure active state persists on sticky navbar */
        .navbar.sticky-top .nav-link.active,
        .navbar.navbar-white.sticky-top .nav-link.active {
            background: rgba(59, 130, 246, 0.15) !important;
            color: #fff !important;
            font-weight: 600 !important;
        }
        .navbar.navbar-white .navbar-toggler {
            border-color: rgba(0,0,0,0.15);
        }
        .navbar.navbar-white .navbar-toggler:focus {
            box-shadow: 0 0 0 0.15rem rgba(59, 130, 246, 0.25);
        }

        /* Hero Section */
        .hero-section {

            min-height: 38vh;
            display: flex;
            align-items: center;
            color: var(--text-on-dark);
            position: relative;
        }

        .hero-section h1, .hero-section h2, .hero-section h3,
        .hero-section h4, .hero-section h5, .hero-section h6,
        .hero-section p { color: var(--text-on-dark); }
        .hero-section a { color: #fff; }
        .hero-section a:hover { opacity: 0.9; }

        .hero-content h1 {
            font-size: clamp(2rem, 5vw, 3.5rem);
            font-weight: bold;
            margin-bottom: 1.5rem;
            animation: fadeInUp 1s ease-out;
        }

        .hero-content p {
            font-size: clamp(1rem, 2vw, 1.3rem);
            margin-bottom: 2rem;
            animation: fadeInUp 1.2s ease-out;
        }

        .btn-primary-custom {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            border: none;
            padding: 12px 30px;
            font-size: 1.1rem;
            border-radius: 8px;
            transition: all 0.3s;
            color: white;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
        }

        .btn-primary-custom:hover {
            background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(30, 64, 175, 0.4);
        }

        .btn-outline-custom {
            border: 2px solid #0d6efd;
            color: rgb(0, 0, 0);
            padding: 12px 30px;
            font-size: 1.1rem;
            border-radius: 8px;
            transition: all 0.3s;
            background: transparent;
            font-weight: 600;
        }

        .btn-outline-custom:hover {
            background: white;
            color: #2563eb;
            transform: translateY(-3px);
        }

        /* Search Section */
        .search-section {
            background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 100%);
            padding: 2rem;
            border-radius: 15px;
            margin-top: -80px;
            position: relative;
            z-index: 10;
            box-shadow: 0 15px 40px rgba(37, 99, 235, 0.2);
            border: 2px solid rgba(37, 99, 235, 0.1);
        }

        /* Dark Sections Utility */
        .on-dark, .navbar, .office-section, .newsletter-section, .footer, .team-header {
            color: var(--text-on-dark) !important;
        }
        .on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4, .on-dark h5, .on-dark h6,
        .on-dark p,
        .navbar h1, .navbar h2, .navbar h3, .navbar h4, .navbar h5, .navbar h6,
        .navbar p,
        .office-section h1, .office-section h2, .office-section h3, .office-section h4, .office-section h5, .office-section h6,
        .office-section p,
        .newsletter-section h1, .newsletter-section h2, .newsletter-section h3, .newsletter-section h4, .newsletter-section h5, .newsletter-section h6,
        .newsletter-section p,
        .footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6,
        .footer p,
        .team-header h1, .team-header h2, .team-header h3, .team-header h4, .team-header h5, .team-header h6,
        .team-header p { color: var(--text-on-dark) !important; }
.navbar a{
    color: #fff !important;
}

        .on-dark a,
        .office-section a,
        .newsletter-section a,
        .footer a,
        .team-header a { color: var(--link-on-dark) !important; }
        .on-dark a:hover,
        .navbar a:hover,
        .office-section a:hover,
        .newsletter-section a:hover,
        .footer a:hover,
        .team-header a:hover { opacity: 0.9; }

        .search-title {
            font-size: 1.3rem;
            font-weight: bold;
            margin-bottom: 1.5rem;
            color: #1f2937;
        }

        .form-control, .form-select {
            padding: 12px;
            border-radius: 8px;
            border: 2px solid #e5e7eb;
            transition: all 0.3s;
        }

        .form-control:focus, .form-select:focus {
            border-color: #2563eb;
            box-shadow: 0 0 0 0.2rem rgba(37, 99, 235, 0.25);
        }

        .donate-btn {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            border: none;
            padding: 10px 24px;
            border-radius: 6px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }

        .donate-btn:hover {
            background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
        }

        /* Section Title */
        .section-title {
            text-align: center;
            font-size: clamp(1.8rem, 4vw, 2.5rem);
            font-weight: bold;
            margin: 4rem 0 2rem;
            color: #1f2937;
            position: relative;
            padding-bottom: 1rem;
        }

        .section-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
            border-radius: 2px;
        }

        .section-subtitle {
            text-align: center;
            color: #6b7280;
            font-size: clamp(0.9rem, 2vw, 1.1rem);
            margin-top: -1rem;
            margin-bottom: 3rem;
        }

        /* Service Cards */
        .service-card {
            text-align: center;
            padding: 2.5rem 1.5rem;
            border-radius: 15px;
            background: #163d7a;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.4s;
            height: 100%;
            border: 2px solid transparent;
        }

        .service-card:hover {
            transform: translateY(-15px);
            box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
            border-color: #2563eb;
        }

        .service-card i {
            font-size: 3.5rem;
            color: #fff;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
        }

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

        .service-card h4 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: #f8f9fa;
        }

        .service-card p {
            color: #dee2e6;
            margin-bottom: 1.5rem;
        }

        /* Activity Cards */
        .activity-card {
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.4s;
            height: 100%;
            background: white;
        }

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

        .activity-card img {
            width: 100%;
            height: 250px;
            object-fit: cover;
            transition: all 0.4s;
        }

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

        .activity-card-body {
            padding: 2rem;
        }

        .activity-card-body h5 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: #1f2937;
        }

        /* Online Office Section */
        .office-section {
            background: linear-gradient(135deg, #f8f9fa 0%, #f9f9f9 100%);
            color: white;
            padding: 5rem 0;
            margin: 4rem 0;
            position: relative;
            overflow: hidden;
        }

        .office-section::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: #e9f1fa;
            border-radius: 50%;
        }

        .office-icon {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            transition: all 0.3s;
            color: #4085f6;
        }

        .office-card {
            background: rgb(240 245 254);
            padding: 2.5rem 1.5rem;
            border-radius: 15px;
            text-align: center;
            transition: all 0.4s;
            height: 100%;
            border: 2px solid transparent;
            backdrop-filter: blur(10px);
        }

        .office-card:hover {
            background: rgb(240 245 254);
            transform: translateY(-10px);
            border-color: #689bed;
        }

        .office-card:hover .office-icon {
            transform: rotateY(360deg);
        }

        .office-card h5 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
        }

        /* Gallery */
        .gallery-item {
            position: relative;
            border-radius: 16px;
            overflow: hidden;
            background: #ffffff;
            box-shadow: 0 10px 25px rgba(17, 24, 39, 0.08);
            transition: transform 0.25s ease, box-shadow 0.25s ease;
        }

        .gallery-item:hover {
            transform: translateY(-8px);
            box-shadow: 0 18px 40px rgba(17, 24, 39, 0.14);
        }

        .gallery-img {
            width: 100%;
            height: 260px;
            object-fit: cover;
            display: block;
            transition: transform 0.35s ease;
        }

        .gallery-item:hover .gallery-img {
            transform: scale(1.06);
        }

        .gallery-overlay {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            padding: 14px;
            background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,0.55) 100%);
            opacity: 0;
            transition: opacity 0.25s ease;
        }

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

        .gallery-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 10px;
            border-radius: 999px;
            background: rgba(255,255,255,0.92);
            color: #111827;
            font-weight: 600;
            font-size: 0.85rem;
            box-shadow: 0 8px 18px rgba(0,0,0,0.12);
        }

        .gallery-zoom {
            width: 42px;
            height: 42px;
            border-radius: 999px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(59,130,246,0.95);
            color: #fff;
            box-shadow: 0 10px 20px rgba(59,130,246,0.35);
        }

        @media (max-width: 768px) {
            .gallery-img {
                height: 220px;
            }
        }

        /* Event Cards */
        .event-card {
            background: white;
            border-radius: 15px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            transition: all 0.4s;
            height: 100%;
        }

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

        .event-card img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            transition: all 0.4s;
        }

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

        .event-date {
            color: #2563eb;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        /* Newsletter Section */
        .newsletter-section {
            background: linear-gradient(135deg, #7caeff 0%, #f8f9fa 100%);
            color: white;
            padding: 4rem 0;
            margin-top: 4rem;
        }

        .newsletter-section h3 {
            font-size: clamp(1.5rem, 3vw, 2rem);
            margin-bottom: 1rem;
        }

        .newsletter-input {
            padding: 15px;
            border: none;
            border-radius: 8px 0 0 8px;
            font-size: 1rem;
        }

        .newsletter-btn {
            padding: 15px 30px;
            background: white;
            border: none;
            border-radius: 0 8px 8px 0;
            color: #2563eb;
            font-weight: bold;
            transition: all 0.3s;
        }

        .newsletter-btn:hover {
            background: #1e40af;
            color: white;
        }

        /* Footer */
        .footer {
            background: #ffffff;
            color: var(--text-on-light);
            padding: 4rem 0 1rem;
        }

        .footer h5 {
            color: var(--text-on-light);
            margin-bottom: 1.5rem;
            font-size: 1.3rem;
        }

        .footer .logo img{
            height: 80px;
            margin-bottom: 1rem;
        }

        .footer a {
            color: var(--link-on-light);
            text-decoration: none;
            display: block;
            margin-bottom: 0.8rem;
            transition: all 0.3s;
        }

        .footer a:hover {
            color: var(--color-primary-dark);
            padding-left: 5px;
        }

        .footer-bottom {
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }

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

        .social-icons a:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            transform: translateY(-3px);
        }

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

        /* Responsive Breakpoints */
        @media (max-width: 1400px) {
            .container {
                max-width: 1200px;
            }
        }

        @media (max-width: 1200px) {
            .hero-section {
                min-height: 80vh;
            }

            .search-section {
                margin-top: -60px;
                padding: 1.5rem;
            }
        }

        @media (max-width: 992px) {
            .hero-section {
                min-height: 70vh;
            }

            .service-card, .office-card {
                margin-bottom: 1.5rem;
            }

            .gallery-img {
                height: 200px;
                margin-bottom: 1rem;
            }
        }

        @media (max-width: 768px) {
            .hero-section {
                min-height: 40vh;
                padding: 2rem 0;
            }

            .search-section {
                margin-top: -40px;
                padding: 1.5rem;
            }

            .btn-primary-custom, .btn-outline-custom {
                width: 100%;
                margin-bottom: 0.5rem;
            }

            .section-title {
                margin: 3rem 0 1.5rem;
            }

            .activity-card img, .gallery-img {
                height: 180px;
            }

            .activity-slider-container {
                padding: 0 40px;
            }

            .activity-card {
                min-width: 300px;
            }

            .slider-btn {
                width: 35px;
                height: 35px;
            }

            .office-section {
                padding: 3rem 0;
            }

            .newsletter-input {
                border-radius: 8px;
                margin-bottom: 1rem;
            }

            .newsletter-btn {
                border-radius: 8px;
                width: 100%;
            }
        }

        @media (max-width: 576px) {
            .navbar-brand {
                font-size: 1.2rem;
            }

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

            .hero-content p {
                font-size: 1rem;
            }

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

            .service-card, .office-card {
                padding: 2rem 1rem;
            }

            .service-card i, .office-icon {
                font-size: 2.5rem;
            }

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

            .footer {
                padding: 3rem 0 1rem;
            }
        }

        /* High Resolution Displays */
        @media (min-width: 1920px) {
            .container {
                max-width: 1600px;
            }

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

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




        .team-header {
            background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
            color: white;
            padding: 4rem 0 3rem;
            text-align: center;
        }

        .team-header h1 {
            font-size: clamp(2rem, 5vw, 3rem);
            font-weight: bold;
            margin-bottom: 1rem;
        }

        .team-header p {
            font-size: clamp(1rem, 2vw, 1.2rem);
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Team Section */
        .team-section {
            padding: 4rem 0;
        }

        /* Team Member Card */
        .team-member {
            background: white;
            border-radius: 20px;
            padding: 2rem 1.5rem;
            text-align: center;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.4s ease;
            height: 100%;
            position: relative;
            overflow: hidden;
            margin-bottom: 2rem;
        }

        .team-member::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 5px;
            background: linear-gradient(90deg, #3b82f6, #2563eb);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }

        .team-member:hover::before {
            transform: scaleX(1);
        }

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

        /* Profile Image */
        .profile-img-wrapper {
            width: 180px;
            height: 180px;
            margin: 0 auto 1.5rem;
            position: relative;
        }

        .profile-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            border: 5px solid #f1f5f9;
            transition: all 0.4s ease;
            background: #e5e7eb;
        }

        .team-member:hover .profile-img {
            border-color: #2563eb;
            transform: scale(1.05);
        }

        /* Orange Accent Bar */
        .accent-bar {
            position: absolute;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 8px;
            height: 100px;
            background: #f97316;
            border-radius: 0 10px 10px 0;
            transition: all 0.4s ease;
        }

        .team-member:hover .accent-bar {
            height: 120px;
            background: #ea580c;
        }

        /* Member Info */
        .member-name {
            font-size: 1.5rem;
            font-weight: bold;
            color: #1f2937;
            margin-bottom: 0.5rem;
        }

        .member-position {
            font-size: 0.95rem;
            color: #2563eb;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 1rem;
        }

        .member-description {
            color: #6b7280;
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        /* Social Icons */
        .social-links {
            display: flex;
            justify-content: center;
            gap: 0.8rem;
            margin-top: 1rem;
        }

        .social-links a {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: #f1f5f9;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2563eb;
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .social-links a:hover {
            background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
            color: white;
            transform: translateY(-3px);
        }

        /* Responsive Grid */
        .team-grid {
            display: grid;
            gap: 2rem;
        }


        /* Big Screen (1400px+) - 5 columns */
        @media (min-width: 1400px) {
            .team-grid {
                grid-template-columns: repeat(5, 1fr);
            }

            .profile-img-wrapper {
                width: 160px;
                height: 160px;
            }
        }

        /* Large Laptop (1200px - 1399px) - 4 columns */
        @media (min-width: 1200px) and (max-width: 1399px) {
            .team-grid {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        /* Laptop (992px - 1199px) - 4 columns */
        @media (min-width: 992px) and (max-width: 1199px) {
            .team-grid {
                grid-template-columns: repeat(4, 1fr);
            }

            .profile-img-wrapper {
                width: 150px;
                height: 150px;
            }
        }

        /* Tablet (768px - 991px) - 3 columns */
        @media (min-width: 768px) and (max-width: 991px) {
            .team-grid {
                grid-template-columns: repeat(3, 1fr);
            }

            .profile-img-wrapper {
                width: 140px;
                height: 140px;
            }

            .team-member {
                padding: 1.5rem 1rem;
            }

            .member-name {
                font-size: 1.3rem;
            }
        }

        /* Small Tablet (576px - 767px) - 2 columns */
        @media (min-width: 576px) and (max-width: 767px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .profile-img-wrapper {
                width: 140px;
                height: 140px;
            }
        }

        /* Mobile (below 576px) - 1 column */
        @media (max-width: 575px) {
            .team-grid {
                grid-template-columns: 1fr;
            }

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

            .team-member {
                padding: 2rem 1.5rem;
                margin-bottom: 1.5rem;
            }

            .profile-img-wrapper {
                width: 160px;
                height: 160px;
            }
        }

        /* Animation on scroll */
        .team-member {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeInUp 0.6s ease forwards;
        }

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

        /* Stagger animation delay */
        .team-member:nth-child(1) { animation-delay: 0.1s; }
        .team-member:nth-child(2) { animation-delay: 0.2s; }
        .team-member:nth-child(3) { animation-delay: 0.3s; }
        .team-member:nth-child(4) { animation-delay: 0.4s; }
        .team-member:nth-child(5) { animation-delay: 0.5s; }
        .team-member:nth-child(6) { animation-delay: 0.6s; }
        .team-member:nth-child(7) { animation-delay: 0.7s; }
        .team-member:nth-child(8) { animation-delay: 0.8s; }
        .team-member:nth-child(9) { animation-delay: 0.9s; }
        .team-member:nth-child(10) { animation-delay: 1s; }
