/* Light theme - Improved readability with soft pink palette */
:root {
    /* Core Brand Colors */
    --soul-blue: #1E3A8A;
    --soul-green: #10B981;
    --soul-yellow: #FBBF24;
    
    /* Light Theme - Enhanced Pink Base with Better Contrast */
    --primary-color: #D91A60;           /* Slightly darker deep pink for better contrast */
    --secondary-color: #E91E63;         /* Adjusted medium pink */
    --accent-color: #FF6B9D;            /* Brighter accent for visibility */
    
    /* Background Colors - Lighter for better text contrast */
    --bg-primary: #FEFBFC;             /* Almost white with subtle pink tint */
    --bg-secondary: #FDF7F9;           /* Very light pink wash */
    --bg-tertiary: #FBF1F5;            /* Gentle pink background */
    
    /* Text Colors - Significantly improved contrast ratios */
    --text-primary: #1A0D13;           /* Much darker for primary text (AAA compliance) */
    --text-secondary: #2D1B24;         /* Dark for secondary text (AA+ compliance) */
    --text-muted: #5D4A52;             /* Improved muted text visibility */
    --text-dark: #0F080B;              /* Very dark for headings */
    --text-gray: #6B5B63;              /* Better contrast pink-tinted gray */
    
    /* UI Elements */
    --border-color: #EFD6E3;            /* Slightly darker border for definition */
    --card-bg: #FFFFFF;                 /* Pure white cards for maximum contrast */
    --bg-light: #FEFCFD;               /* Barely tinted background */

    /* Interactive States */
    --hover-bg: #F8EDF2;              /* Subtle hover background */
    --active-bg: #F3E1EA;             /* Active state background */
    --focus-ring: #E91E63;             /* Focus ring color */
    
    /* Shadows - Adjusted for better depth perception */
    --card-shadow: 0 2px 8px rgba(26, 13, 19, 0.08), 0 1px 3px rgba(26, 13, 19, 0.06);
    --card-hover-shadow: 0 8px 25px rgba(26, 13, 19, 0.12), 0 4px 10px rgba(26, 13, 19, 0.08);
    --text-shadow-light: 0 1px 2px rgba(26, 13, 19, 0.1);
    
    /* Gradients - Refined for better readability */
    --gradient-primary: linear-gradient(135deg, #E91E63 0%, #D91A60 50%, #C2185B 100%);
    --gradient-secondary: linear-gradient(135deg, #FF8FA3 0%, #FF6B9D 50%, #E91E63 100%);
    --gradient-accent: linear-gradient(135deg, #FFE8ED 0%, #FFCDD2 50%, #FFB3D1 100%);
    --gradient-soft: linear-gradient(135deg, #FEFBFC 0%, #FDF7F9 100%);
    --gradient-text: linear-gradient(135deg, #D91A60 0%, #C2185B 100%);
}

/* Dark theme - Enhanced teal and cyan palette */
[data-theme="dark"] {
    /* Core Colors - Teal Focus with better contrast */
    --primary-color: #14B8A6;          /* Vibrant teal */
    --secondary-color: #06B6D4;        /* Cyan */
    --accent-color: #22D3EE;           /* Light cyan */
    
    /* Background Colors - Better hierarchy */
    --bg-primary: #0A1515;             /* Darker base for better contrast */
    --bg-secondary: #0D2626;           /* Dark teal */
    --bg-tertiary: #134E4A;            /* Medium teal */
    
    /* Text Colors - Improved readability */
    --text-primary: #F7FFFE;           /* Brighter white with teal tint */
    --text-secondary: #E6FFFA;         /* High contrast secondary text */
    --text-muted: #A7F3D0;             /* Better visibility for muted text */
    --text-dark: #FFFFFF;              /* Pure white for dark theme headings */
    --text-gray: #9CA3AF;              /* Neutral gray for better readability */
    
    /* UI Elements */
    --border-color: #374151;           /* Lighter border for definition */
    --card-bg: #111827;               /* Lighter card background */
    --bg-light: #1F2937;              /* Lighter accent background */
    
    /* Interactive States */
    --hover-bg: #1F2937;              /* Dark hover state */
    --active-bg: #374151;             /* Active state */
    --focus-ring: #14B8A6;            /* Teal focus ring */
    
    /* Enhanced Shadows for Dark Mode */
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(20, 184, 166, 0.1);
    --card-hover-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 6px 12px rgba(20, 184, 166, 0.2);
    --text-shadow-light: 0 1px 2px rgba(0, 0, 0, 0.8);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #0891B2 0%, #14B8A6 50%, #10B981 100%);
    --gradient-secondary: linear-gradient(135deg, #22D3EE 0%, #06B6D4 50%, #0891B2 100%);
    --gradient-accent: linear-gradient(135deg, #67E8F9 0%, #22D3EE 50%, #06B6D4 100%);
    --gradient-deep: linear-gradient(135deg, #0A1515 0%, #0D2626 50%, #134E4A 100%);
    --gradient-text: linear-gradient(135deg, #14B8A6 0%, #22D3EE 100%);
}

/* Enhanced UI component styles with improved readability */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
    box-shadow: var(--card-hover-shadow);
    transform: translateY(-2px);
    background: var(--hover-bg);
}

.card:focus-within {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.5;
    transition: all 0.3s ease;
    cursor: pointer;
    text-shadow: var(--text-shadow-light);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 25px -5px var(--primary-color);
    filter: brightness(1.05);
}

.btn-primary:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px -3px var(--primary-color);
}

/* Gradient backgrounds */
.gradient-bg {
    background: var(--gradient-primary);
}

.soft-gradient-bg {
    background: var(--gradient-soft);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Enhanced text utilities with better contrast */
.text-primary { 
    color: var(--text-primary); 
    line-height: 1.6;
}

.text-secondary { 
    color: var(--text-secondary); 
    line-height: 1.5;
}

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

.text-dark {
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.4;
}

/* Typography improvements */
.heading-primary {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.heading-secondary {
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.3;
}

.body-text {
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 1rem;
}

.small-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Background utilities with improved hierarchy */
.bg-primary { 
    background-color: var(--bg-primary); 
}

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

.bg-tertiary { 
    background-color: var(--bg-tertiary); 
}

.bg-card {
    background-color: var(--card-bg);
}

.bg-hover {
    background-color: var(--hover-bg);
}

/* Interactive states */
.interactive:hover {
    background-color: var(--hover-bg);
    transition: background-color 0.2s ease;
}

.interactive:active {
    background-color: var(--active-bg);
}

/* Focus styles for accessibility */
.focusable:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Link styles */
.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.link:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 2px;
}

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

        body {
            font-family: 'Inter', sans-serif;
            line-height: 1.6;
            color: var(--text-primary);
            background: var(--bg-primary);
            overflow-x: hidden;
            transition: all 0.3s ease;
        }

        .font-poppins { 
            font-family: 'Poppins', sans-serif; 
        }
        
        html { 
            scroll-behavior: smooth;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Theme Toggle */
        .theme-toggle {
            position: fixed;
            bottom: 2rem;
            right: 2rem;
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: var(--gradient-primary);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.4rem;
            z-index: 999;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
        }

        .theme-toggle:hover {
            transform: scale(1.1);
            box-shadow: var(--card-hover-shadow);
        }

        /* Navigation - Fixed responsiveness */
        .navbar {
            position: fixed;
            top: 0;
            width: 100%;
            background: rgba(253, 253, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            z-index: 1000;
            transition: all 0.3s ease;
        }

        [data-theme="dark"] .navbar {
            background: rgba(15, 23, 42, 0.95);
        }

        .nav-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .logo-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--soul-blue);
            font-size: 1.3em;
            background: var(--card-bg);
            border: 2px solid var(--border-color);
            transition: all 0.3s ease;
            overflow: hidden;
            flex-shrink: 0;
        }

        .logo-icon:hover {
            transform: scale(1.05);
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .logo-text {
            font-size: 1.35rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--soul-blue), var(--soul-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            white-space: nowrap;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            text-decoration: none;
            color: var(--text-primary);
            font-weight: 500;
            position: relative;
            transition: color 0.3s ease;
            padding: 0.5rem 0;
        }

        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--gradient-primary);
            transition: width 0.3s ease;
        }

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

        .nav-link:hover::after {
            width: 100%;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-primary);
            padding: 0.5rem;
            border-radius: 8px;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn:hover {
            background: var(--hover-bg);
        }

        .mobile-menu {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            background: var(--bg-primary);
            box-shadow: var(--card-shadow);
            border-radius: 0 0 1rem 1rem;
            border: 1px solid var(--border-color);
            border-top: none;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }

        .mobile-menu.active {
            display: block;
            max-height: 500px;
            animation: slideDown 0.3s ease;
        }

        .mobile-menu a {
            display: block;
            padding: 1rem 1.5rem;
            text-decoration: none;
            color: var(--text-primary);
            border-bottom: 1px solid var(--border-color);
            transition: all 0.3s ease;
            font-weight: 500;
        }

        .mobile-menu a:last-child {
            border-bottom: none;
        }

        .mobile-menu a:hover {
            background: var(--bg-secondary);
            color: var(--primary-color);
            padding-left: 2rem;
        }

        /* Hero Section */
        /* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

/* Background Video */
.hero-video {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.6); /* keeps text readable */
}

/* Dark overlay (replaces gradient animation) */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* subtle overlay for text visibility */
  z-index: 0;
}

/* Hero Content */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 2rem;
  animation: fadeInUp 1s ease;
}

.hero-icon {
  font-size: 4rem;
  margin-bottom: 2rem;
  animation: float 3s ease-in-out infinite;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h2 {
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 600;
  margin-bottom: 1rem;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 160px;
  justify-content: center;
}

.btn-primary {
  background: var(--soul-yellow);
  color: var(--soul-blue);
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
  animation: pulseGlow 2s infinite;
}

.btn-primary:hover {
  background: #f59e0b;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

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

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 2rem;
  animation: bounce 2s infinite;
  cursor: pointer;
  z-index: 3;
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}


/* Sections */
.section {
    padding: 6rem 0;
            background: var(--bg-primary);
            transition: background 0.3s ease;
        }

        .section:nth-child(even) {
            background: var(--bg-secondary);
        }

        .section-title {
            text-align: center;
            margin-bottom: 4rem;
        }

        .section-title h2 {
            font-size: clamp(2rem, 4vw, 3rem);
            font-weight: 700;
            background: linear-gradient(135deg, var(--soul-blue), var(--soul-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            margin-bottom: 1rem;
            font-family: 'Poppins', sans-serif;
        }

        .section-title p {
            font-size: clamp(1rem, 2vw, 1.25rem);
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Cards */
        .card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, var(--soul-blue), var(--soul-green));
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .card:hover::before {
            transform: translateX(0);
        }

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

        /* Services Cards */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .service-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2rem;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
        }

        .service-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--gradient-primary);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .service-card:hover::before {
            transform: translateX(0);
        }

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

        .service-icon {
            width: 70px;
            height: 70px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            color: white;
            font-size: 1.5rem;
            background: var(--gradient-primary);
        }

        .service-title {
            font-size: 1.25rem;
            font-weight: 700;
            margin-bottom: 0.75rem;
            color: var(--text-primary);
        }

        .service-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.6;
            margin-bottom: 1rem;
        }

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

        .service-link:hover {
            gap: 1rem;
        }

        /* Member Cards */
        .members-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }

        .member-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            cursor: pointer;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
        }

        .member-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-primary);
            transform: translateX(-100%);
            transition: transform 0.3s ease;
        }

        .member-card:hover::before {
            transform: translateX(0);
        }

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

        .member-photo-placeholder {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            background: var(--bg-tertiary);
            margin: 0 auto 1rem;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            color: var(--text-muted);
            border: 4px solid var(--border-color);
            transition: all 0.3s ease;
            overflow: hidden;
        }

        .member-photo-placeholder img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .member-card:hover .member-photo-placeholder {
            border-color: var(--primary-color);
            transform: scale(1.05);
        }

        .member-name {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 0.5rem;
        }

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

        .member-branch {
            font-size: 0.85rem;
            color: var(--text-secondary);
            margin-bottom: 1rem;
        }

        .member-social {
            display: flex;
            justify-content: center;
            gap: 0.75rem;
        }

        .member-social a {
            width: 35px;
            height: 35px;
            border-radius: 50%;
            background: var(--bg-tertiary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            transition: all 0.3s ease;
            text-decoration: none;
        }

        .member-social a:hover {
            background: var(--gradient-primary);
            color: white;
            transform: scale(1.1);
        }

        /* Modal */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s ease;
            backdrop-filter: blur(10px);
        }

        .modal.active {
            display: flex;
            opacity: 1;
        }

        .modal-content {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2.5rem;
            max-width: 600px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
            animation: slideUp 0.3s ease;
            border: 1px solid var(--border-color);
        }

        .modal-close {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: var(--bg-tertiary);
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: var(--text-primary);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }

        .modal-close:hover {
            background: var(--primary-color);
            color: white;
            transform: rotate(90deg);
        }

        .modal-header {
            margin-bottom: 1.5rem;
        }

        .modal-icon {
            width: 80px;
            height: 80px;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
            color: white;
            font-size: 2rem;
            background: var(--gradient-primary);
        }

        .modal-title {
            font-size: 1.75rem;
            font-weight: 700;
            color: var(--text-primary);
            margin-bottom: 1rem;
        }

        .modal-text {
            color: var(--text-secondary);
            line-height: 1.7;
            font-size: 1rem;
            white-space: pre-line;
        }

        /* Gallery Carousel */
        .gallery-carousel {
            position: relative;
            max-width: 100%;
            margin: 0 auto;
            overflow: hidden;
            border-radius: 20px;
            box-shadow: var(--card-shadow);
        }

        .gallery-track {
            display: flex;
            transition: transform 0.5s ease;
        }

        .gallery-slide {
            min-width: 100%;
            position: relative;
        }

        .gallery-slide img {
            width: 100%;
            height: 500px;
            object-fit: cover;
            border-radius: 20px;
        }

        .gallery-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            border: none;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 1.2rem;
            color: var(--primary-color);
            z-index: 10;
        }

        [data-theme="dark"] .gallery-nav {
            background: rgba(30, 41, 59, 0.9);
            color: var(--primary-color);
        }

        .gallery-nav:hover {
            background: var(--primary-color);
            color: white;
            transform: translateY(-50%) scale(1.1);
        }

        .gallery-prev {
            left: 1rem;
        }

        .gallery-next {
            right: 1rem;
        }

        .gallery-dots {
            display: flex;
            justify-content: center;
            gap: 0.5rem;
            margin-top: 1rem;
        }

        .gallery-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--text-muted);
            border: none;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .gallery-dot.active {
            background: var(--primary-color);
            width: 30px;
            border-radius: 6px;
        }

        /* Tabs */
        .tabs-container {
            margin-bottom: 3rem;
        }

        .tabs-nav {
            display: flex;
            gap: 3.7rem;
            border-bottom: 2px solid var(--border-color);
            margin-bottom: 2rem;
            overflow-x: auto;
            padding-bottom: 0.5rem;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: thin;
        }

        .tabs-nav::-webkit-scrollbar {
            height: 4px;
        }

        .tabs-nav::-webkit-scrollbar-track {
            background: var(--bg-tertiary);
            border-radius: 2px;
        }

        .tabs-nav::-webkit-scrollbar-thumb {
            background: var(--primary-color);
            border-radius: 2px;
        }

        .tab-btn {
            padding: 1rem 1.5rem;
            background: none;
            border: none;
            color: var(--text-secondary);
            font-weight: 600;
            cursor: pointer;
            position: relative;
            transition: all 0.3s ease;
            white-space: nowrap;
            border-radius: 10px 10px 0 0;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex-shrink: 0;
            min-width: fit-content;
        }

        .tab-btn.active {
            color: var(--primary-color);
            background: var(--bg-secondary);
        }

        .tab-btn::after {
            content: '';
            position: absolute;
            bottom: -2px;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--gradient-primary);
            transform: scaleX(0);
            transition: transform 0.3s ease;
        }

        .tab-btn.active::after {
            transform: scaleX(1);
        }

        .tab-btn:hover {
            color: var(--primary-color);
            background: var(--bg-tertiary);
        }

        .tab-content {
            display: none;
            animation: fadeIn 0.5s ease;
        }

        .tab-content.active {
            display: block;
        }

        /* Stats Cards */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin: 3rem 0;
        }

        .stat-card {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2rem;
            text-align: center;
            box-shadow: var(--card-shadow);
            position: relative;
            overflow: hidden;
            border: 1px solid var(--border-color);
            transition: all 0.3s ease;
        }

        .stat-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, var(--soul-blue), var(--soul-green));
        }

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

        .stat-number {
            font-size: 2.5rem;
            font-weight: 700;
            background: linear-gradient(135deg, var(--soul-blue), var(--soul-green));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .stat-label {
            font-size: 1rem;
            color: var(--text-secondary);
            margin-top: 0.5rem;
        }

        /* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 2rem;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}


        .contact-form {
            background: var(--card-bg);
            border-radius: 20px;
            padding: 2.5rem;
            box-shadow: var(--card-shadow);
            transition: all 0.3s ease;
            border: 1px solid var(--border-color);
            position: relative;
            overflow: hidden;
            
        }
        .contact-form:hover {
            transform: translateY(-5px);
            box-shadow: var(--card-hover-shadow);
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

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

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            border: 2px solid var(--border-color);
            border-radius: 10px;
            font-size: 1rem;
            background: var(--bg-primary);
            color: var(--text-primary);
            transition: all 0.3s ease;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--soul-blue);
            box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
        }
        
        .social-footer {
            display: flex;
            gap: 1rem;
            margin-top: 2rem;
            padding-top: 2rem;
            border-top: 1px solid var(--border-color);
        }

        .social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: transform 0.3s ease;
        }

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

        .social-icon.facebook { background: #1877f2; }
        .social-icon.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
        .social-icon.linkedin { background: #0077b5; }
        .social-icon.twitter { background: #1da1f2; }

        /* Footer */
        .footer {
            background: linear-gradient(135deg, var(--soul-blue), var(--soul-green));
            color: #ffffff;
            padding: 4rem 0 2rem;
            margin-top: 5rem;
        }

        .footer-content {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 2rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 1rem;
        }

        .footer-logo-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--soul-blue);
            overflow: hidden;
        }

        .footer-logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 50%;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 0.5rem;
        }

        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .footer-links a:hover {
            color: white;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            padding-top: 2rem;
            text-align: center;
            color: rgba(255, 255, 255, 0.8);
        }

        .footer-socials {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .footer-social-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .footer-social-icon:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
        }

        /* Animations */
                /* Enhanced Animation Classes */
        .animate-on-scroll {
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                        transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .animate-on-scroll.animate-in {
            opacity: 1;
            transform: translateY(0);
        }

        /* Staggered animations for child elements */
        .stagger-children > .animate-on-scroll:nth-child(1) {
            transition-delay: 0.1s;
        }

        .stagger-children > .animate-on-scroll:nth-child(2) {
            transition-delay: 0.2s;
        }

        .stagger-children > .animate-on-scroll:nth-child(3) {
            transition-delay: 0.3s;
        }

        .stagger-children > .animate-on-scroll:nth-child(4) {
            transition-delay: 0.4s;
        }

        .stagger-children > .animate-on-scroll:nth-child(5) {
            transition-delay: 0.5s;
        }

        .stagger-children > .animate-on-scroll:nth-child(6) {
            transition-delay: 0.6s;
        }

        /* Slide from different directions */
        .slide-left {
            transform: translateX(-50px) translateY(0);
        }

        .slide-right {
            transform: translateX(50px) translateY(0);
        }

        .slide-left.animate-in,
        .slide-right.animate-in {
            transform: translateX(0) translateY(0);
        }

        /* Scale animation */
        .scale-up {
            transform: scale(0.9);
        }

        .scale-up.animate-in {
            transform: scale(1);
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
            40% { transform: translateY(-30px) translateX(-50%); }
            60% { transform: translateY(-15px) translateX(-50%); }
        }

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

        @keyframes gradientShift {
            0% { background-position: 0% 50%; }
            25% { background-position: 100% 50%; }
            50% { background-position: 100% 100%; }
            75% { background-position: 0% 100%; }
            100% { background-position: 0% 50%; }
        }
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0) translateX(-50%); }
            40% { transform: translateY(-30px) translateX(-50%); }
            60% { transform: translateY(-15px) translateX(-50%); }
        }

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

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

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

        @keyframes slideDown {
            from {
                transform: translateY(-10px);
                opacity: 0;
            }
            to {
                transform: translateY(0);
                opacity: 1;
            }
        }

        @keyframes gradientShift {
            0% { 
                background-position: 0% 50%; 
            }
            25% { 
                background-position: 100% 50%; 
            }
            50% { 
                background-position: 100% 100%; 
            }
            75% { 
                background-position: 0% 100%; 
            }
            100% { 
                background-position: 0% 50%; 
            }
        }

        @keyframes backgroundMove {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }

        @keyframes pulseGlow {
            0%, 100% {
                box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
            }
            50% {
                box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
            }
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }

        .fade-in.appear {
            opacity: 1;
            transform: translateY(0);
        }

        /* Enhanced Responsive Design */
        @media (max-width: 1200px) {
            .container {
                padding: 0 1.5rem;
            }
            
            .services-grid {
                grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            }
            
            .members-grid {
                grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav-menu {
                display: none;
            }

            .logo-text {
                font-size: 1.1rem;
            }

            .nav-container {
                height: 60px;
            }

            .hero {
                min-height: 100vh;
                padding: 2rem 0;
            }

            .hero-content {
                padding: 1rem;
            }

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

            .hero h2 {
                font-size: 1.5rem;
            }

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

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

            .section {
                padding: 4rem 0;
            }

            .section-title {
                margin-bottom: 3rem;
            }

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

            .section-title p {
                font-size: 1rem;
            }

            .contact-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }

            .tabs-nav {
                gap: 0.25rem;
                padding-bottom: 0.75rem;
            }

            .tab-btn {
                padding: 0.75rem 1rem;
                font-size: 0.9rem;
                gap: 0.25rem;
            }

            .tab-btn i {
                font-size: 0.8rem;
            }

            .gallery-slide img,
            .gallery-slide > div {
                height: 300px;
            }

            .gallery-nav {
                width: 40px;
                height: 40px;
                font-size: 1rem;
            }

            .gallery-prev {
                left: 0.5rem;
            }

            .gallery-next {
                right: 0.5rem;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
                gap: 1rem;
            }

            .btn {
                padding: 1rem 2rem;
                min-width: 200px;
            }

            .services-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }

            .service-card {
                padding: 1.5rem;
            }

            .service-icon {
                width: 60px;
                height: 60px;
                font-size: 1.25rem;
            }

            .members-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 1.5rem;
            }

            .member-photo-placeholder {
                width: 100px;
                height: 100px;
                font-size: 2.5rem;
            }

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

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

            .footer-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .modal-content {
                padding: 1.5rem;
                margin: 1rem;
                max-width: 95%;
            }

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

            .modal-icon {
                width: 60px;
                height: 60px;
                font-size: 1.5rem;
            }

            .card {
                padding: 1.5rem;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero h2 {
                font-size: 1.25rem;
            }

            .hero-icon {
                font-size: 2.5rem;
                margin-bottom: 1.5rem;
            }

            .section {
                padding: 3rem 0;
            }

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

            .stats-grid {
                grid-template-columns: 1fr;
            }

            .members-grid {
                grid-template-columns: 1fr;
            }

            .tab-btn {
                padding: 0.5rem 0.75rem;
                font-size: 0.85rem;
            }

            .service-card,
            .member-card,
            .card {
                padding: 1.25rem;
            }

            .btn {
                padding: 0.875rem 1.5rem;
                font-size: 0.9rem;
                min-width: 180px;
            }

            .logo-text {
                font-size: 1rem;
            }

            .logo-icon {
                width: 40px;
                height: 40px;
                font-size: 1.1rem;
            }

            .theme-toggle {
                width: 50px;
                height: 50px;
                bottom: 1.5rem;
                right: 1.5rem;
                font-size: 1.2rem;
            }

            .scroll-indicator {
                font-size: 1.5rem;
            }

            .contact-form {
                padding: 2rem;
            }

            .form-group input,
            .form-group textarea {
                padding: 0.875rem;
            }
        }

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { 
        transform: translate(-50%, 0); 
    }
    40% { 
        transform: translate(-50%, -15px); 
    }
    60% { 
        transform: translate(-50%, -8px); 
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 0 0 30px rgba(251, 191, 36, 0.6);
    }
}

/* Enhanced Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE BREAKPOINTS */

/* Small Mobile (320px and up) */
@media (max-width: 480px) {
    :root {
        --mobile-padding: 0.75rem;
        --mobile-gap: 0.75rem;
    }
    
    .hero h1 {
        font-size: clamp(1.5rem, 7vw, 2.5rem);
    }
    
    .hero h2 {
        font-size: clamp(0.9rem, 4vw, 1.5rem);
    }
    
    .hero-icon {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        min-width: 180px;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .card,
    .service-card,
    .member-card {
        padding: 1.25rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
        margin: 0.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .gallery-slide img {
        height: 250px;
    }
}

/* Large Mobile (481px - 768px) */
@media (min-width: 481px) and (max-width: 768px) {
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        min-width: 160px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .members-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-slide img {
        height: 350px;
    }
}

/* Tablet (769px - 1024px) */
@media (min-width: 769px) {
    :root {
        --mobile-padding: 1.5rem;
    }
    
    .navbar {
        height: 70px;
    }
    
    .mobile-menu-btn {
        display: none;
    }
    
    .nav-menu {
        display: flex;
    }
    
    .hero {
        padding-top: 70px;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
    }
    
    .section {
        padding: 4rem 0;
    }
    
    .section-title {
        margin-bottom: 3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .members-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-content {
        grid-template-columns: 2fr 1fr 1fr;
        text-align: left;
    }
    
    .footer-logo {
        justify-content: flex-start;
    }
    
    .footer-socials {
        justify-content: flex-start;
    }
    
    .cta-buttons {
        flex-direction: row;
    }
    
    .gallery-slide img {
        height: 400px;
    }
    
    .theme-toggle {
        bottom: 2rem;
        right: 2rem;
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }
}

/* Desktop (1025px and up) */
@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-slide img {
        height: 500px;
    }
    
    .gallery-nav {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .gallery-prev {
        left: 1rem;
    }
    
    .gallery-next {
        right: 1rem;
    }
}

/* Large Desktop (1200px and up) */
@media (min-width: 1200px) {
    .container {
        padding: 0 2rem;
    }
}

/* Landscape orientation fixes for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 500px;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-icon {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon,
    .service-icon,
    .member-photo-placeholder {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-icon {
        animation: none;
    }
    
    .scroll-indicator {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .nav-link {
        border: 1px solid transparent;
    }
    
    .nav-link:focus {
        border-color: var(--primary-color);
        outline: 2px solid var(--focus-ring);
        outline-offset: 2px;
    }
    
    .mobile-menu-btn {
        border: 2px solid white;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Focus management for better keyboard navigation */
.focusable:focus,
.nav-link:focus,
.btn:focus,
.mobile-menu-btn:focus,
.theme-toggle:focus,
.tab-btn:focus {
    outline: 2px solid var(--focus-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ensure touch targets meet accessibility guidelines */
@media (pointer: coarse) {
    .tab-btn,
    .gallery-dot,
    .member-social a,
    .footer-social-icon,
    .social-icon {
        min-width: var(--touch-target);
        min-height: var(--touch-target);
    }
    
    .service-card,
    .member-card,
    .card {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

/* Print styles */
@media print {
    .navbar,
    .mobile-menu,
    .theme-toggle,
    .modal {
        display: none !important;
    }
    
    .hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .section {
        padding: 1rem 0;
        page-break-inside: avoid;
    }
    
    .card,
    .service-card,
    .member-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}