/*
Theme Name: Fajar Foundation
Theme URI: https://fajarfoundation.com
Author: Ali Aamir
Author URI: https://fajarfoundation.com
Description: A modern, SEO-friendly WordPress theme for Fajar Foundation with green and yellow color scheme
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fajar-foundation
Tags: agriculture, foundation, nonprofit, responsive, custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #006837;
    --secondary-green: #228B22;
    --light-green: #90EE90;
    --primary-yellow: #FFD700;
    --secondary-yellow: #FFA500;
    --white: #ffffff;
    --black: #333333;
    --gray: #f5f5f5;
    --dark-gray: #666666;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    font-size: 16px;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-green);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-yellow);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

.site-header {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info {
    display: flex;
    gap: 20px;
    color: var(--white);
    font-size: 14px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--white);
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--primary-yellow);
    transform: scale(1.2);
}

/* Header Main */
.header-main {
    padding: 20px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 80px;
    height: 80px;
}

.site-title {
    color: var(--white);
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-title a {
    color: var(--white);
}

.site-title a:hover {
    color: var(--primary-yellow);
}

/* ========================================
   NAVIGATION MENU - FIXED VERSION
   ======================================== */

.main-navigation {
    display: flex;
    align-items: center;
    position: relative;
}

.menu-wrapper {
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    position: relative;
    margin: 0;
}

.nav-menu li a {
    color: var(--white);
    font-weight: 600;
    padding: 10px 15px;
    border-radius: 5px;
    transition: var(--transition);
    display: block;
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item > a,
.nav-menu li.current_page_item > a,
.nav-menu li.current-menu-ancestor > a {
    background-color: var(--primary-yellow);
    color: var(--primary-green);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 5px;
    z-index: 10001;
    position: relative;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:focus {
    outline: 2px solid var(--primary-yellow);
    outline-offset: 2px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 50%, var(--primary-yellow) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 Q300,60 600,40 T1200,20 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.1)"/></svg>') no-repeat bottom;
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-yellow);
    color: var(--primary-green);
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
   Content Sections
   ========================================================================== */

.content-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary-green);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-yellow), var(--secondary-yellow));
    border-radius: 2px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-top: 4px solid var(--primary-green);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--primary-yellow);
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-green);
    margin-bottom: 20px;
}

.feature-title {
    font-size: 22px;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.feature-description {
    color: var(--dark-gray);
    line-height: 1.8;
}

/* Products Section */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 104, 55, 0.2);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-content {
    padding: 20px;
}

.product-title {
    font-size: 20px;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.product-description {
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.product-link {
    color: var(--primary-yellow);
    font-weight: bold;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--secondary-green) 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    color: var(--primary-yellow);
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: var(--white);
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: var(--primary-yellow);
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN - MOBILE MENU
   ========================================================================== */

@media (max-width: 768px) {
    
    /* Show Mobile Menu Toggle */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Menu Wrapper - Full Screen Overlay */
    .menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(0, 104, 55, 0.98) 0%, rgba(34, 139, 34, 0.98) 100%);
        z-index: 10000;
        display: none;
        overflow-y: auto;
        padding: 80px 20px 40px;
    }
    
    /* Show menu when active */
    .menu-wrapper.menu-open {
        display: block !important;
        animation: menuSlideIn 0.3s ease-out;
    }
    
    @keyframes menuSlideIn {
        from {
            opacity: 0;
            transform: translateX(-100%);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    /* Navigation Menu Mobile */
    .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-menu li a {
        padding: 18px 20px;
        font-size: 18px;
        width: 100%;
        text-align: left;
        border-radius: 0;
    }
    
    .nav-menu li a:hover,
    .nav-menu li.current-menu-item > a {
        background-color: rgba(255, 215, 0, 0.2);
        color: var(--primary-yellow);
        padding-left: 30px;
    }
    
    /* Body scroll lock when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Hero Section Mobile */
    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    /* Section Title Mobile */
    .section-title {
        font-size: 28px;
    }

    /* Grid Adjustments */
    .features-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    /* Header Top */
    .header-top {
        display: none;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .menu-wrapper {
        padding: 70px 15px 30px;
    }
    
    .nav-menu {
        max-width: 100%;
    }
    
    .nav-menu li a {
        font-size: 16px;
        padding: 15px 15px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 16px;
    }
}

/* Tablet Adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .nav-menu {
        gap: 20px;
    }

    .nav-menu li a {
        padding: 8px 12px;
        font-size: 15px;
    }
}

/* Desktop - Ensure menu wrapper is visible */
@media (min-width: 769px) {
    .menu-wrapper {
        display: block !important;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.mb-40 {
    margin-bottom: 40px;
}

.bg-gray {
    background-color: var(--gray);
}

/* WordPress Core Styles */
.alignleft {
    float: left;
    margin-right: 20px;
}

.alignright {
    float: right;
    margin-left: 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.wp-caption {
    max-width: 100%;
}

.wp-caption-text {
    text-align: center;
    font-style: italic;
    padding: 10px 0;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}
/**
 * ============================================================================
 * TEAM PAGE COMPLETE STYLES
 * Add this CSS to your theme (style.css or separate file)
 * ============================================================================
 */

/* ============================================================================
   TEAM PAGE HEADER
   ============================================================================ */

.team-header-section {
    background: linear-gradient(135deg, #006837 0%, #228B22 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-header-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path d="M0,0 Q300,60 600,40 T1200,20 L1200,120 L0,120 Z" fill="rgba(255,255,255,0.05)"/></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.team-header-section .page-title {
    font-size: 56px;
    margin-bottom: 15px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.team-header-section .page-subtitle {
    font-size: 20px;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ============================================================================
   TEAM MEMBERS SECTION
   ============================================================================ */

.team-members-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 50px;
    margin-top: 20px;
}

/* ============================================================================
   TEAM MEMBER CARD
   ============================================================================ */

.team-member-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.team-member-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 104, 55, 0.25);
}

/* ============================================================================
   PHOTO FRAME
   ============================================================================ */

.team-photo-frame {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, #006837, #228B22);
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.team-member-card:hover .team-photo img {
    transform: scale(1.15);
}

/* Photo Placeholder */
.team-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #006837, #228B22);
    color: rgba(255, 255, 255, 0.25);
    font-size: 120px;
}

/* ============================================================================
   DECORATIVE CORNER BADGES
   ============================================================================ */

.team-corner-badge {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 3px solid #FFD700;
    z-index: 2;
    transition: all 0.4s ease;
}

.team-corner-badge.top-left {
    top: 15px;
    left: 15px;
    border-right: none;
    border-bottom: none;
}

.team-corner-badge.top-right {
    top: 15px;
    right: 15px;
    border-left: none;
    border-bottom: none;
}

.team-corner-badge.bottom-left {
    bottom: 15px;
    left: 15px;
    border-right: none;
    border-top: none;
}

.team-corner-badge.bottom-right {
    bottom: 15px;
    right: 15px;
    border-left: none;
    border-top: none;
}

.team-member-card:hover .team-corner-badge {
    border-color: white;
}

.team-member-card:hover .team-corner-badge.top-left {
    top: 10px;
    left: 10px;
}

.team-member-card:hover .team-corner-badge.top-right {
    top: 10px;
    right: 10px;
}

.team-member-card:hover .team-corner-badge.bottom-left {
    bottom: 10px;
    left: 10px;
}

.team-member-card:hover .team-corner-badge.bottom-right {
    bottom: 10px;
    right: 10px;
}

/* ============================================================================
   EXCELLENCE BADGE
   ============================================================================ */

.excellence-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006837;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.5);
    z-index: 3;
    animation: rotate-badge 15s linear infinite;
}

@keyframes rotate-badge {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.team-member-card:hover .excellence-badge {
    animation: rotate-badge-fast 3s linear infinite;
}

@keyframes rotate-badge-fast {
    from { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.1); }
    to { transform: rotate(360deg) scale(1); }
}

/* ============================================================================
   PHOTO OVERLAY WITH SOCIAL ICONS
   ============================================================================ */

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, 
        rgba(0, 104, 55, 0.95) 0%, 
        rgba(0, 104, 55, 0.5) 50%,
        transparent 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.team-member-card:hover .photo-overlay {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #006837;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(30px);
    opacity: 0;
}

.team-member-card:hover .social-link {
    transform: translateY(0);
    opacity: 1;
}

.social-link:nth-child(1) { transition-delay: 0.1s; }
.social-link:nth-child(2) { transition-delay: 0.2s; }
.social-link:nth-child(3) { transition-delay: 0.3s; }
.social-link:nth-child(4) { transition-delay: 0.4s; }

.social-link:hover {
    background: #FFD700;
    color: #006837;
    transform: translateY(-8px);
}

/* ============================================================================
   TEAM INFO SECTION - IMPROVED DESIGNATION VISIBILITY
   ============================================================================ */

.team-info {
    padding: 40px 30px;
    text-align: center;
    background: white;
}

.member-name {
    font-size: 28px;
    color: #006837;
    margin-bottom: 15px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

/* ============================================================================
   PROMINENT DESIGNATION STYLING
   ============================================================================ */

.member-position {
    font-size: 15px;
    color: #006837;
    font-weight: 800;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    display: inline-block;
    padding: 12px 25px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    position: relative;
    line-height: 1.4;
    transition: all 0.3s ease;
}

.member-position::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 25px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card:hover .member-position {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

.team-member-card:hover .member-position::before {
    opacity: 0.3;
    animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

/* ============================================================================
   MEMBER BIO
   ============================================================================ */

.member-bio {
    color: #666;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
    text-align: justify;
    padding: 0 5px;
}

.member-bio p {
    margin: 0;
}

/* ============================================================================
   CONTACT INFORMATION
   ============================================================================ */

.member-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
}

.contact-item:hover {
    background: #f8f9fa;
}

.contact-item i {
    color: #FFD700;
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.contact-item a {
    color: #006837;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-item a:hover {
    color: #FFD700;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 1200px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 40px;
    }
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .team-photo-frame {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .team-header-section .page-title {
        font-size: 40px;
    }
    
    .team-header-section .page-subtitle {
        font-size: 16px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .team-photo-frame {
        height: 380px;
    }
    
    .member-name {
        font-size: 24px;
    }
    
    .member-position {
        font-size: 13px;
        padding: 10px 20px;
        letter-spacing: 1.5px;
    }
    
    .excellence-badge {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .team-header-section {
        padding: 60px 0 40px;
    }
    
    .team-header-section .page-title {
        font-size: 32px;
    }
    
    .team-members-section {
        padding: 50px 0;
    }
    
    .team-photo-frame {
        height: 320px;
    }
    
    .team-info {
        padding: 30px 20px;
    }
    
    .member-name {
        font-size: 22px;
    }
    
    .member-position {
        font-size: 12px;
        padding: 8px 16px;
        letter-spacing: 1px;
    }
    
    .social-link {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .team-corner-badge {
        width: 25px;
        height: 25px;
        border-width: 2px;
    }
}

/* ============================================================================
   PRINT STYLES
   ============================================================================ */

@media print {
    .team-header-section {
        background: white;
        color: black;
        padding: 20px 0;
    }
    
    .team-member-card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .excellence-badge,
    .team-corner-badge,
    .photo-overlay,
    .social-icons {
        display: none;
    }
}

/* ============================================================================
   ACCESSIBILITY IMPROVEMENTS
   ============================================================================ */

.team-member-card:focus-within {
    outline: 3px solid #FFD700;
    outline-offset: 5px;
}

.social-link:focus,
.contact-item a:focus {
    outline: 2px solid #006837;
    outline-offset: 3px;
}

/* ============================================================================
   LOADING ANIMATION
   ============================================================================ */

.team-member-card {
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.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; }
.team-member-card:nth-child(6) { animation-delay: 0.6s; }

/* ============================================================================
   END OF TEAM PAGE STYLES
   ============================================================================ */