/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #1e293b;
    --accent-color: #0ea5e9;
    --text-color: #1e293b;
    --text-light: #64748b;
    --light-gray: #f8fafc;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', -apple-system, 'BlinkMacSystemFont', 'Segoe UI', 'Roboto', 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--white);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (max-width: 768px) {
    .navbar .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.navbar:hover {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo img {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

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

.logo span {
    font-size: 1.75rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    border-radius: 8px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

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

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

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
    background: rgba(37, 99, 235, 0.1);
}

.nav-menu a.active::after {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.dropdown {
    position: relative;
}

.dropdown > a {
    padding-bottom: 0.75rem;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% - 0.75rem);
    left: 0;
    background-color: var(--white);
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    list-style: none;
    min-width: 280px;
    padding: 0.5rem;
    margin-top: 0;
    z-index: 1000;
    border: 1px solid var(--border-color);
    animation: fadeInDown 0.3s ease;
}

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

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu:hover {
    display: block;
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

.user-avatar-btn:hover {
    background: #f3f4f6;
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    transform: translateX(0);
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border-radius: 12px;
    min-width: 220px;
    padding: 1rem;
    z-index: 1000;
    border: 1px solid #e5e7eb;
    animation: fadeInDown 0.3s ease;
}

.user-dropdown-menu a:hover,
.user-dropdown-menu button:hover {
    background: #f3f4f6;
}

.dropdown-menu li {
    padding: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    position: relative;
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-menu a.active {
    background: rgba(37, 99, 235, 0.15);
    color: var(--primary-color);
    font-weight: 600;
}

.dropdown-menu a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 0 0 8px 8px;
}

.dropdown-arrow {
    font-size: 0.7rem;
    margin-left: 0.25rem;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Mobile Schedule Button - Hidden on Desktop */
.mobile-schedule-btn-wrapper {
    display: none;
}

/* Buttons */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

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

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9375rem;
}

.btn-back:hover {
    background: #e5e7eb;
    color: #1f2937;
    transform: translateX(-2px);
}

.btn-back i {
    font-size: 0.875rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
/* Modern Hero Section */
.hero-modern {
    color: var(--white);
    padding: 8rem 0 6rem;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.85) 0%, rgba(14, 165, 233, 0.85) 50%, rgba(30, 64, 175, 0.85) 100%);
    z-index: 1;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 2;
}

.hero-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge-modern {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-home {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -1.5px;
    line-height: 1.2;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-modern-home {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 600;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    text-align: justify;
}

.hero-cta-wrapper {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

/* Legacy hero styles for backward compatibility */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

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

/* Sections */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

/* About Section */
.about-section {
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    text-align: justify;
}

/* Modern Home Page Sections */
.about-section-modern-home {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
}

.about-card-modern {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    padding: 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    overflow: hidden;
}

.about-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    z-index: 1;
}

.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.about-image-modern {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.image-overlay-modern-home {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image-modern:hover .image-overlay-modern-home,
.service-image-modern:hover .image-overlay-modern-home,
.lgbtq-image-modern:hover .image-overlay-modern-home {
    opacity: 1;
}

.about-image-modern img,
.service-image-modern img,
.lgbtq-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
    position: relative;
    z-index: 0;
}

.about-image-modern:hover img,
.service-image-modern:hover img,
.lgbtq-image-modern:hover img {
    transform: scale(1.1);
}

.image-placeholder-modern-home {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.image-placeholder-modern-home i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
}

.about-icon-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
}

.about-icon-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    animation: pulse 2s ease infinite;
}

.about-content-modern {
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.section-badge-home {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
}

.about-content-modern h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.about-content-modern p {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
}

/* Services Preview Modern */
.services-preview-modern {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.service-card-modern-home {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    padding: 0;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
    overflow: hidden;
}

.service-card-modern-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    z-index: 1;
}

.service-card-modern-home:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 70px rgba(0, 0, 0, 0.12);
}

.service-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.service-image-modern {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.service-text-content {
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-icon-modern {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 2rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.service-card-modern-home h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.service-description {
    font-size: 1.125rem;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 500;
    text-align: justify;
}

.service-note {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    font-size: 0.9375rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.service-note i {
    color: var(--primary-color);
}

.btn-secondary-modern-home {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary-modern-home:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

/* Stats Section Modern */
.stats-section-modern-home {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card-modern {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.stat-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.stat-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.stat-number-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.stat-number {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.stat-label {
    font-size: 1.125rem;
    color: var(--text-light);
    font-weight: 500;
    margin: 0;
}

/* Specialized Testing Section (Styled like old LGBTQ card) */
.specialized-testing-section-modern {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
}

.specialized-testing-card-modern {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--primary-color);
    transition: all 0.4s ease;
    max-width: 900px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.specialized-testing-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(37, 99, 235, 0.2);
    border-color: var(--accent-color);
}

.specialized-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.specialized-testing-card-modern h2 {
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.specialized-testing-card-modern p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.specialized-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.specialized-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.specialized-feature-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.specialized-feature-item span {
    line-height: 1.6;
    white-space: nowrap;
}

/* LGBTQ Section Modern */
.lgbtq-section-modern-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.lgbtq-section-modern-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.lgbtq-card-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 32px;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    overflow: hidden;
}

.lgbtq-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.lgbtq-image-modern {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    min-height: 400px;
}

.lgbtq-image-modern img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lgbtq-content-modern {
    padding: 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lgbtq-content-modern h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.lgbtq-content-modern p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: justify;
}

.lgbtq-features {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center;
}

.lgbtq-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
    justify-content: center;
    text-align: center;
    white-space: nowrap;
}

.lgbtq-feature-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.lgbtq-feature-item span {
    line-height: 1.6;
    white-space: nowrap;
}

.btn-primary-modern-home {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary-modern-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

/* FAQ Section Modern */
.faq-section-modern-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.faq-section-modern-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.faq-section-modern-home .container {
    position: relative;
    z-index: 1;
}

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

.section-header-modern h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
    letter-spacing: -0.5px;
}

.faq-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card-modern {
    background: var(--white);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.faq-card-modern:nth-child(1) { animation-delay: 0.1s; }
.faq-card-modern:nth-child(2) { animation-delay: 0.2s; }
.faq-card-modern:nth-child(3) { animation-delay: 0.3s; }

.faq-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 24px 24px 0 0;
}

.faq-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.faq-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.faq-card-modern h3 {
    font-size: clamp(1.25rem, 2vw, 1.375rem);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.faq-card-modern p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
    text-align: justify;
}

/* CTA Section Modern Home */
.cta-section-modern-home {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-modern-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content-modern-home {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content-modern-home h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.cta-content-modern-home p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-primary-large-white {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary-large-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

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

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

/* Home Contact Form Section */
.home-contact-section-modern {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}

.home-contact-wrapper-modern {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.home-contact-info-modern h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.home-contact-form-modern h2 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.contact-info-box-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.2);
}

.contact-info-item-modern {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-info-item-modern:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.contact-info-value {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.6;
}

.contact-info-value a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contact-info-value a:hover {
    opacity: 0.8;
}

.standards-box-modern {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.standards-box-modern h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.standards-list-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.standard-item-modern {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
}

.standard-item-modern i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.home-contact-form-modern {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.inquiry-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-modern label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-color);
}

.form-group-modern .required {
    color: var(--error-color);
}

.form-group-modern input,
.form-group-modern textarea,
.country-code-select-modern {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-color);
}

.form-group-modern input:focus,
.form-group-modern textarea:focus,
.country-code-select-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group-modern textarea {
    resize: vertical;
    min-height: 120px;
}

.phone-input-wrapper-modern {
    display: flex;
    gap: 0.75rem;
}

.country-code-select-modern {
    flex: 0 0 120px;
    cursor: pointer;
}

.phone-input-wrapper-modern input {
    flex: 1;
}

.btn-submit-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.0625rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
    width: fit-content;
    margin-top: 0.5rem;
}

.btn-submit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* Responsive Contact Form */
@media (max-width: 968px) {
    .home-contact-wrapper-modern {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .form-row-modern {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .home-contact-section-modern {
        padding: 4rem 0;
    }

    .home-contact-info-modern,
    .home-contact-form-modern {
        padding: 2rem;
    }

    .contact-info-box-modern {
        padding: 2rem;
    }
}

/* Responsive Home Page */
@media (max-width: 968px) {
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }

    .faq-grid-modern {
        grid-template-columns: 1fr;
    }

    .about-content-grid,
    .service-content-grid,
    .lgbtq-content-grid {
        grid-template-columns: 1fr;
    }

    .about-image-modern,
    .service-image-modern,
    .lgbtq-image-modern {
        aspect-ratio: 16/9;
        order: -1;
    }

    .about-content-modern,
    .service-text-content,
    .lgbtq-content-modern {
        padding: 2rem;
    }

    .lgbtq-features,
    .specialized-features {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .lgbtq-feature-item,
    .specialized-feature-item {
        font-size: 0.9375rem;
        gap: 0.5rem;
        justify-content: flex-start;
        text-align: left;
        padding: 0.5rem 0;
        white-space: normal;
        align-items: flex-start;
        width: 100%;
    }

    .lgbtq-feature-item i,
    .specialized-feature-item i {
        font-size: 1rem;
        flex-shrink: 0;
        margin-top: 0.125rem;
    }

    .lgbtq-feature-item span,
    .specialized-feature-item span {
        line-height: 1.5;
        white-space: normal;
    }

    .about-icon-wrapper {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero-modern {
        padding: 5rem 0 4rem;
    }

    .about-section-modern-home,
    .services-preview-modern,
    .stats-section-modern-home,
    .faq-section-modern-home,
    .cta-section-modern-home {
        padding: 4rem 0;
    }

    .lgbtq-section-modern-home,
    .specialized-testing-section-modern {
        padding: 3rem 0;
    }

    .about-card-modern,
    .service-card-modern-home,
    .lgbtq-card-modern {
        padding: 1.5rem;
    }

    .specialized-testing-card-modern {
        padding: 2rem 1.5rem;
    }

    .lgbtq-content-modern {
        padding: 2rem 1.5rem;
    }

    .lgbtq-content-modern h2,
    .specialized-testing-card-modern h2 {
        font-size: clamp(1.5rem, 4vw, 2rem);
        margin-bottom: 1rem;
    }

    .lgbtq-content-modern p,
    .specialized-testing-card-modern p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .btn-primary-modern-home {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
        white-space: normal;
        text-align: center;
    }

    .btn-primary-modern-home span {
        display: block;
        line-height: 1.5;
    }

    .service-icon-modern {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
}

/* Services Preview */
.services-preview {
    background-color: var(--white);
}

.service-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.service-card h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.service-card .note {
    font-size: 0.9rem;
    color: var(--text-light);
    font-style: italic;
    margin: 1rem 0;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    padding: 5rem 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    position: sticky;
    top: 100px;
}

.contact-info h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-content h3 {
    color: var(--text-color);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

.info-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-color);
}

.contact-form-wrapper {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.contact-form-wrapper h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.contact-form-wrapper > p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.contact-form {
    max-width: 100%;
}

.required {
    color: var(--error-color);
}

.map-section {
    padding: 5rem 0;
    background: var(--light-gray);
}

.map-section h2 {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
    font-size: 2rem;
    font-weight: 700;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.contact-cta-section {
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    padding: 5rem 0;
}

/* Responsive Contact Page */
@media (max-width: 968px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        position: static;
    }
}

/* Responsive About Page */
@media (max-width: 968px) {
    .about-hero-section {
        padding: 4rem 0;
    }

    .about-content-wrapper,
    .mission-content-wrapper {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .mission-content-wrapper .mission-image {
        order: 1 !important;
    }

    .mission-content-wrapper .mission-text {
        order: 2 !important;
    }

    .about-text {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 0 !important;
    }

    .about-image {
        order: 2 !important;
        margin-bottom: 0 !important;
        margin-top: 2rem !important;
        width: 100% !important;
    }

    .about-image,
    .mission-image {
        max-height: 400px;
        width: 100%;
        margin-bottom: 2rem;
        min-height: 250px;
    }

    .about-image .image-wrapper,
    .mission-image .image-wrapper {
        width: 100%;
        height: 100%;
        min-height: 250px;
    }

    .mission-text {
        width: 100%;
    }

    .about-features {
        flex-direction: column;
        gap: 1rem;
    }

    .mission-values {
        grid-template-columns: 1fr;
    }

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

    .stat-card {
        padding: 2rem 1.5rem;
    }
}

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

/* Get Involved Page Styles - Modern */
.get-involved-hero {
    padding: 8rem 0 6rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.get-involved-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content-modern {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.hero-title-modern {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-subtitle-modern {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--text-light);
    line-height: 1.8;
    max-width: 700px;
    margin: 0 auto;
}

/* Volunteer Section Modern */
.volunteer-section-modern {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.volunteer-card-modern {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
}

.volunteer-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

.volunteer-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.volunteer-icon-wrapper {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 2;
}

.volunteer-icon-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
    animation: pulse 2s ease infinite;
}

.volunteer-text-modern {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.volunteer-text-modern p {
    text-align: justify;
}

.section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.5rem;
    width: fit-content;
}

.volunteer-text-modern h2,
.support-text-modern h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.lead-text-modern,
.support-description-modern {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2rem;
    text-align: justify;
}

.volunteer-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.125rem;
}

.btn-primary-modern,
.btn-secondary-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    width: fit-content;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary-modern {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.volunteer-image-modern,
.support-image-modern {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
}

.image-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(14, 165, 233, 0.2) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.volunteer-image-modern:hover .image-overlay-modern,
.support-image-modern:hover .image-overlay-modern {
    opacity: 1;
}

.volunteer-image-modern img,
.support-image-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.volunteer-image-modern:hover img,
.support-image-modern:hover img {
    transform: scale(1.1);
}

.image-placeholder-modern {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
}

.image-placeholder-modern i {
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
}

/* Support Section Modern */
.support-section-modern {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, rgba(255, 255, 255, 0.5) 100%);
    position: relative;
}

.support-card-modern {
    background: var(--white);
    border-radius: 32px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.support-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.support-content-modern {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
}

.support-icon-wrapper {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 2;
}

.support-icon-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.4);
    animation: pulse 2s ease infinite;
}

.support-text-modern {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.support-text-modern p {
    text-align: justify;
}

.support-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(37, 99, 235, 0.1);
    transform: translateX(5px);
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.benefit-item strong {
    display: block;
    font-size: 1.0625rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.benefit-item p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: justify;
}

/* CTA Section Modern */
.cta-section-modern-get-involved {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section-modern-get-involved::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content-modern {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content-modern h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content-modern p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.btn-primary-modern-large {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary-modern-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.95);
}

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

/* Responsive Get Involved Page */
@media (max-width: 968px) {
    .volunteer-content-modern,
    .support-content-modern {
        grid-template-columns: 1fr;
    }

    .volunteer-image-modern,
    .support-image-modern {
        order: -1;
        aspect-ratio: 16/9;
    }

    .volunteer-text-modern,
    .support-text-modern {
        padding: 2.5rem;
    }

    .volunteer-icon-wrapper,
    .support-icon-wrapper {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        margin-bottom: 1.5rem;
    }

    .support-icon-wrapper {
        order: -1;
    }
}

@media (max-width: 640px) {
    .get-involved-hero {
        padding: 5rem 0 4rem;
    }

    .volunteer-section-modern,
    .support-section-modern {
        padding: 4rem 0;
    }

    .volunteer-text-modern,
    .support-text-modern {
        padding: 2rem;
    }

    .volunteer-icon-badge,
    .support-icon-badge {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .cta-section-modern-get-involved {
        padding: 4rem 0;
    }
}

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
}

.stats-section .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    background: var(--white);
}

.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-weight: 800;
}

.stat-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
}

/* LGBTQ Section */
.lgbtq-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-dark) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lgbtq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.lgbtq-section .container {
    position: relative;
    z-index: 1;
}

.lgbtq-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.lgbtq-section p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq-section {
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.faq-item h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.faq-item p {
    line-height: 1.8;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    color: var(--white);
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--white);
    position: relative;
    z-index: 2;
}

.cta-section .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.1), transparent);
}

.cta-section .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.3);
}

.cta-section .btn-primary:active {
    transform: translateY(-1px);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 50%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
}

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

.page-header h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Page Content */
.page-content {
    padding: 4rem 0;
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* About Page Specific Styles */
/* About Hero Section */
.about-hero-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.about-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.about-hero-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.about-badge i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.about-badge span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.about-hero-content h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3rem, 7vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.about-hero-subtitle {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    color: var(--text-light);
    line-height: 1.7;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.about-main-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
    width: 100%;
}

.about-text {
    display: flex;
    flex-direction: column;
    order: 2;
}

.about-image {
    display: flex;
    flex-direction: column;
    height: fit-content;
    order: 1;
}

.section-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.about-text h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.about-text .lead-text {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2rem;
    opacity: 0;
    text-align: justify;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.about-text p,
.mission-text p {
    text-align: justify;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 50px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
}

.feature-item span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.95rem;
}

.about-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    background: var(--light-gray);
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.2s;
    width: 100%;
    min-height: 300px;
    flex-shrink: 0;
}

.about-image .image-wrapper,
.mission-image .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 24px;
}

.about-image img,
.mission-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.about-image:hover .image-overlay {
    opacity: 1;
}

.about-image:hover img {
    transform: scale(1.08);
}

.about-image .image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    opacity: 0.8;
    z-index: 2;
}

.about-image .image-credit a {
    color: var(--white);
    text-decoration: underline;
}

.mission-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}

.mission-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.mission-content-wrapper .mission-image {
    order: 2;
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
    animation-delay: 0.2s;
}

.mission-content-wrapper .mission-text {
    order: 1;
}

.mission-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    background: var(--light-gray);
}

.mission-image .image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

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

.mission-image:hover .image-overlay {
    opacity: 1;
}

.mission-image:hover img {
    transform: scale(1.08);
}

.mission-image .image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    opacity: 0.8;
    z-index: 2;
}

.mission-image .image-credit a {
    color: var(--white);
    text-decoration: underline;
}

.mission-text h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.1s;
}

.mission-description {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    opacity: 0;
    text-align: justify;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.2s;
}

.mission-values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    animation-delay: 0.3s;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    text-align: center;
    transition: all 0.4s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.value-card h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    text-align: justify;
}

/* About Stats Section */
.about-stats-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    position: relative;
    overflow: hidden;
}

.about-stats-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

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

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

.stat-number {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

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

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

/* PrEP Page Styles */
.prep-hero-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.prep-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.prep-hero-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}


.prep-hero-text {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
    order: 2;
    text-align: center;
    width: 100%;
}

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

.prep-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.prep-badge i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.prep-badge span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.prep-hero-text h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.prep-hero-subtitle {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.prep-hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
}

.prep-hero-description strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prep-hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 99/35;
    background: var(--light-gray);
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.2s;
    width: 100%;
    max-width: 990px;
    order: 1;
}

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

.prep-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.prep-hero-image:hover img {
    transform: scale(1.08);
}

.image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    opacity: 0.8;
}

.prep-cta-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.prep-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.prep-image-section {
    margin-bottom: 3rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.15s;
}

.prep-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.prep-image-section .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.prep-description-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 2.5rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    transition: all 0.4s ease;
}

.prep-description-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.prep-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.prep-description strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.prep-cta-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    color: var(--white);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.prep-cta-section .prep-cta-modern {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.3s;
}

.prep-cta-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.cta-text {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    color: var(--white);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.prep-cta-modern .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.prep-cta-modern .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}


.prep-info-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
}

.prep-additional-info-modern {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.prep-additional-info-modern:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.info-content {
    flex: 1;
}

.info-content p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.prep-additional-info-modern strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.content-wrapper h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.content-wrapper h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 700;
}

.content-wrapper p {
    margin-bottom: 1.25rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Services Main Section */
.services-main-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.services-main-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(14, 165, 233, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.service-card-modern {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
    display: flex;
    flex-direction: column;
}

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

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

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.service-card-modern:hover::after {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.25rem;
    color: var(--white);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    position: relative;
    z-index: 1;
}

.service-card-modern:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.service-card-modern h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    font-size: 1.625rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

.service-card-modern p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.service-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 1rem;
}

.service-actions .btn-primary,
.service-actions .btn-secondary {
    padding: 0.7rem 2rem;
    font-size: 0.8125rem;
    flex: 0 0 auto;
    border-radius: 8px;
}

/* Conditions Section */
.conditions-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.conditions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(14, 165, 233, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.condition-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.condition-card:nth-child(1) { animation-delay: 0.2s; }
.condition-card:nth-child(2) { animation-delay: 0.3s; }
.condition-card:nth-child(3) { animation-delay: 0.4s; }

.condition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.02) 0%, rgba(14, 165, 233, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.condition-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.condition-card:hover::before {
    opacity: 1;
}

.condition-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.condition-card:hover .condition-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.condition-card h4 {
    color: var(--text-color);
    font-size: 1.375rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.3px;
    position: relative;
    z-index: 1;
}

.condition-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Legacy Services List (for backward compatibility) */
.services-list {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    border-left: 5px solid;
    border-image: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%) 1;
    box-shadow: var(--shadow-md);
    border-right: 1px solid var(--border-color);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px) translateX(5px);
    box-shadow: var(--shadow-xl);
}

.service-item h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.875rem;
    font-weight: 700;
}

.service-item p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-light);
    font-size: 1.05rem;
}

.service-list {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.service-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

.service-list li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.service-list li strong {
    color: var(--primary-color);
}

.content-wrapper h4 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

/* Involvement Options */
.involvement-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.option-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.option-item h4 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.375rem;
    font-weight: 700;
}

.option-item p {
    line-height: 1.8;
    color: var(--text-light);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    margin-top: 3rem;
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.cta-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-box h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    font-size: 1.75rem;
    font-weight: 700;
}

.cta-box p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Alerts */
.alert {
    padding: 1.25rem 1.5rem;
    margin: 1.5rem auto;
    border-radius: 12px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: var(--shadow-md);
    border: 2px solid;
    animation: slideDown 0.3s ease;
}

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

.alert-success {
    background-color: #d1fae5;
    color: #065f46;
    border-color: #10b981;
}

.alert-error {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #ef4444;
}

.alert-error ul {
    margin-left: 1.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 4rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-contact-section {
    min-width: 300px;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: 1.5fr 1fr 1fr 1.8fr;
        gap: 3rem;
    }
}

@media (min-width: 1024px) {
    .footer-content {
        gap: 4rem;
    }
    
    .footer-contact-section {
        min-width: 350px;
    }
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.25rem;
    color: var(--white);
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section p {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    opacity: 0.85;
    font-size: 0.95rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(3px);
}

.footer-section ul {
    list-style: none;
}

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

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Footer Logo Styling */
.footer-logo-container {
    display: inline-block;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.footer-logo-container:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.footer-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1) contrast(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0;
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: auto;
        height: auto;
    }

    .mobile-menu-toggle span {
        margin: 3px 0;
    }

    .nav-wrapper {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        padding: 0.8rem 0 !important;
        margin: 0 !important;
    }

    .logo {
        margin: 0 !important;
        padding: 0 !important;
        flex-shrink: 0;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .logo img {
        margin: 0 !important;
        padding: 0 !important;
        display: block;
    }

    .desktop-schedule-btn {
        display: none;
    }

    .mobile-schedule-btn-wrapper {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        /* background: transparent; */
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        padding: 1.25rem 1rem;
        z-index: 1000;
        justify-content: center;
        align-items: center;
        pointer-events: none;
    }

    .mobile-schedule-btn-wrapper > * {
        pointer-events: auto;
    }

    .mobile-schedule-btn {
        position: relative;
        width: 100%;
        max-width: 350px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        padding: 1rem 2rem;
        font-size: 1.0625rem;
        font-weight: 700;
        /* background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); */
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        color: var(--white);
        box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3), 0 0 20px rgba(239, 68, 68, 0.2);
        border-radius: 12px;
        text-decoration: none;
        transition: all 0.3s ease;
        z-index: 10;
        animation: buttonGlow 2s ease-in-out infinite;
    }

    @keyframes buttonGlow {
        0%, 100% {
            box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3), 0 0 20px rgba(239, 68, 68, 0.2);
        }
        50% {
            box-shadow: 0 4px 20px rgba(239, 68, 68, 0.5), 0 0 30px rgba(239, 68, 68, 0.4);
        }
    }

    .mobile-schedule-btn:hover {
        background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    }

    .mobile-schedule-btn i {
        font-size: 1.125rem;
        animation: phonePulse 2s ease-in-out infinite;
    }

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

    /* Animation Rings */
    .mobile-btn-animation-ring {
        position: absolute;
        width: 350px;
        height: 60px;
        border: 2px solid rgba(239, 68, 68, 0.5);
        border-radius: 12px;
        animation: ringPulse 2.5s ease-out infinite;
        pointer-events: none;
        z-index: 1;
    }

    .mobile-btn-animation-ring-delay-1 {
        animation-delay: 0.8s;
        border-color: rgba(239, 68, 68, 0.4);
        border-width: 1.5px;
    }

    .mobile-btn-animation-ring-delay-2 {
        animation-delay: 1.6s;
        border-color: rgba(239, 68, 68, 0.3);
        border-width: 1px;
    }

    @keyframes ringPulse {
        0% {
            transform: scale(1);
            opacity: 0.8;
        }
        100% {
            transform: scale(1.2);
            opacity: 0;
        }
    }

    body {
        padding-bottom: 0;
    }

    main {
        padding-bottom: 0;
    }

    .footer {
        margin-bottom: 85px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 0;
        padding-left: 1rem;
    }

    .navbar {
        position: relative;
    }

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

    .hero-subtitle {
        font-size: 1.1rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
    }

    .involvement-options {
        grid-template-columns: 1fr;
    }

    /* Responsive Services Page */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

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

    .service-card-modern {
        padding: 2rem;
    }

    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .condition-card {
        padding: 2rem;
    }

    .condition-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .services-main-section,
    .conditions-section {
        padding: 4rem 0;
    }

    /* Responsive PrEP Page */
    .prep-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .prep-hero-text {
        text-align: center;
    }

    .prep-cta-modern {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .prep-additional-info-modern {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .prep-hero-image {
        order: -1;
    }

    /* Responsive Service Pages */
    .service-hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .service-hero-text {
        text-align: center;
    }

    .service-hero-image {
        order: -1;
        opacity: 1 !important;
        animation: none !important;
        min-height: 250px;
        max-height: 400px;
        margin-bottom: 2rem;
        width: 100%;
    }

    .service-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .service-hero-section {
        padding: 4rem 0;
        overflow: visible;
    }

    .service-hero-content {
        gap: 2rem;
        display: flex;
        flex-direction: column;
    }

    .service-hero-text {
        margin-top: 0;
        padding-top: 0;
    }

    .service-cta-modern {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }

    .service-info-cards {
        grid-template-columns: 1fr;
    }

    .service-image-section {
        margin-bottom: 2rem;
    }
}

/* Generic Service Page Styles */
.service-hero-section {
    padding: 6rem 0;
    background: linear-gradient(to bottom, var(--white) 0%, var(--light-gray) 100%);
    position: relative;
    overflow: hidden;
}

.service-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(14, 165, 233, 0.04) 0%, transparent 50%);
    pointer-events: none;
}

.service-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.service-hero-text {
    opacity: 0;
    animation: fadeInLeft 0.8s ease forwards;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.service-badge i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.service-badge span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.service-hero-text h1 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    font-weight: 900;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
    line-height: 1.1;
}

.service-hero-subtitle {
    font-size: clamp(1.375rem, 3vw, 1.875rem);
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.service-hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
}

.service-hero-description strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 4/3;
    background: var(--light-gray);
    opacity: 0;
    animation: fadeInRight 0.8s ease forwards;
    animation-delay: 0.2s;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-hero-image:hover img {
    transform: scale(1.08);
}

.service-hero-image .image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    opacity: 0.8;
    z-index: 2;
}

.service-hero-image .image-credit a {
    color: var(--white);
    text-decoration: underline;
}

.service-content-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.service-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.service-image-section {
    margin-bottom: 4rem;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    aspect-ratio: 16/9;
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.15s;
}

.service-image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.service-image-section .image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    opacity: 0.8;
    z-index: 2;
}

.service-image-section .image-credit a {
    color: var(--white);
    text-decoration: underline;
}

.service-description-section {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    margin-bottom: 3rem;
    text-align: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    transition: all 0.4s ease;
}

.service-description-section:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-description-section h2 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.service-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    line-height: 1.9;
    color: var(--text-light);
    margin: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.service-description strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.service-info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.info-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.info-card:nth-child(1) { animation-delay: 0.25s; }
.info-card:nth-child(2) { animation-delay: 0.35s; }
.info-card:nth-child(3) { animation-delay: 0.45s; }
.info-card:nth-child(4) { animation-delay: 0.55s; }
.info-card:nth-child(5) { animation-delay: 0.65s; }
.info-card:nth-child(6) { animation-delay: 0.75s; }
.info-card:nth-child(7) { animation-delay: 0.85s; }

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.info-card h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.info-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    text-align: justify;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card strong {
    color: var(--primary-color);
    font-weight: 700;
}

.info-card .service-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.info-card .service-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.7;
    border-bottom: 1px solid var(--border-color);
}

.info-card .service-list li:last-child {
    border-bottom: none;
}

.info-card .service-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.service-cta-modern {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    padding: 4rem;
    border-radius: 24px;
    box-shadow: var(--shadow-xl);
    color: var(--white);
    display: flex;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.5s;
}

.service-cta-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.service-cta-modern .cta-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.service-cta-modern .cta-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.service-cta-modern .cta-content h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--white);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.service-cta-modern .cta-content p {
    font-size: clamp(1rem, 2vw, 1.125rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.service-cta-modern .cta-content p:last-of-type {
    margin-bottom: 1.5rem;
}

.service-cta-modern .cta-content strong {
    color: var(--white);
    font-weight: 700;
}

.service-cta-modern .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.service-cta-modern .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Service CTA Section (after hero) */
.service-cta-section {
    padding: 4rem 0;
    background: var(--white);
    position: relative;
}

.service-cta-section .service-cta-modern {
    max-width: 1000px;
    margin: 0 auto;
}

/* Service Info Section */
.service-info-section {
    padding: 4rem 0;
    background: linear-gradient(to bottom, var(--light-gray) 0%, var(--white) 100%);
}

.service-additional-info-modern {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--border-color);
    display: flex;
    gap: 2rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.service-additional-info-modern:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
}

.service-additional-info-modern .info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--white);
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.service-additional-info-modern .info-content {
    flex: 1;
}

.service-additional-info-modern .info-content p {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-light);
    margin: 0;
}

.service-additional-info-modern .info-content strong {
    color: var(--primary-color);
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Key Points Section */
.service-key-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.key-point-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s ease;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.key-point-card:nth-child(1) { animation-delay: 0.3s; }
.key-point-card:nth-child(2) { animation-delay: 0.4s; }
.key-point-card:nth-child(3) { animation-delay: 0.5s; }

.key-point-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
}

.key-point-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.key-point-card h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.key-point-card p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
    font-size: 1.05rem;
    text-align: justify;
}

.key-point-card strong {
    color: var(--primary-color);
    font-weight: 700;
}

.key-points-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    border: 2px solid rgba(37, 99, 235, 0.2);
}

.key-points-highlight:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.12) 100%);
    border-color: var(--primary-color);
}

.key-point-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.key-point-header .key-point-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
    flex-shrink: 0;
}

.key-point-header h3 {
    margin: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    line-height: 1.4;
}

.key-points-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.key-points-list li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.key-points-list li:last-child {
    border-bottom: none;
}

.key-points-list li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1rem;
    top: 1rem;
}

/* Large Info Cards */
.info-card-large {
    background: var(--white);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.info-card-large:nth-child(1) { animation-delay: 0.4s; }
.info-card-large:nth-child(2) { animation-delay: 0.5s; }
.info-card-large:nth-child(3) { animation-delay: 0.6s; }

.info-card-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

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

.info-card-large:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

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

.info-card-large .info-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    flex-shrink: 0;
}

.info-card-large h3 {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
}

.info-card-large p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.info-card-large p:last-of-type {
    margin-bottom: 0;
}

.info-card-large strong {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
}

.highlight-box p {
    margin-bottom: 0.75rem;
    color: var(--text-color);
    font-size: 1.1rem;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

.highlight-box strong {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 800;
}

.stages-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.stage-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.stage-item:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    transform: translateX(5px);
}

.stage-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stage-item p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Result Boxes (for prenatal screening) */
.result-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.result-box {
    padding: 2rem;
    border-radius: 16px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.result-box-negative {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.05) 100%);
    border-left-color: #22c55e;
}

.result-box-positive {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-left-color: var(--primary-color);
}

.result-box:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.result-box strong {
    display: block;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.result-box-negative strong {
    color: #22c55e;
}

.result-box-positive strong {
    color: var(--primary-color);
}

.result-box p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

.highlight-text {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 1.5rem;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 500;
}

/* Referral Categories */
.referral-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.referral-category {
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.3s ease;
}

.referral-category:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.referral-category h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.referral-category h4 i {
    font-size: 1.25rem;
}

.referral-category .service-list {
    margin: 0;
}

.referral-category .service-list li {
    padding: 0.5rem 0;
    padding-left: 1.75rem;
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
}

.referral-category .service-list li:last-child {
    border-bottom: none;
}

/* Process Steps */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(14, 165, 233, 0.05) 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(14, 165, 233, 0.08) 100%);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
    font-size: 1rem;
}

/* Responsive adjustments for new elements */
@media (max-width: 640px) {
    .service-hero-image {
        aspect-ratio: 16/9;
        min-height: 200px;
        max-height: 300px;
        margin-bottom: 2.5rem !important;
        margin-top: 0 !important;
        opacity: 1 !important;
        animation: none !important;
        width: 100% !important;
        position: relative !important;
        order: -1;
    }

    .service-hero-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .service-hero-image .image-credit {
        font-size: 0.65rem;
        padding: 0.375rem 0.75rem;
        bottom: 8px;
        right: 8px;
    }

    .service-hero-section {
        padding: 3rem 0;
        overflow: visible;
    }

    .service-hero-content {
        gap: 2.5rem !important;
        display: flex !important;
        flex-direction: column !important;
        margin-bottom: 0;
    }

    .service-hero-text {
        width: 100%;
        margin-top: 0 !important;
        padding-top: 0 !important;
        order: 1;
    }

    .service-content-section {
        margin-top: 2rem;
        padding-top: 3rem;
    }
}

@media (max-width: 768px) {
    .service-key-points {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .info-card-large {
        padding: 2rem;
    }

    .info-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .service-additional-info-modern {
        flex-direction: column;
        text-align: center;
        padding: 2.5rem 2rem;
    }

    .stages-list {
        gap: 1rem;
    }

    .result-boxes {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

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

    .process-steps {
        gap: 1rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Blog Styles */
.blog-section {
    padding: 4rem 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.blog-card {
    perspective: 1000px;
    height: 100%;
    width: 100%;
}

.blog-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    min-height: 500px;
}

.blog-card:hover .blog-card-inner {
    transform: rotateY(180deg);
}

.blog-card-front,
.blog-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.blog-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    padding: 2rem;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.blog-card-front {
    background: var(--white);
    position: relative;
}

.blog-card-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: var(--light-gray);
    flex-shrink: 0;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-card-back-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.blog-card-back-content h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--white);
    margin: 0;
    line-height: 1.4;
    text-align: center;
    width: 100%;
}

.blog-card-back-content p {
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.blog-card-stats {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.blog-card-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-card-stats i {
    color: var(--white);
}

.blog-card-back .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    margin-top: 1rem;
}

.blog-card-back .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.blog-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
}

.blog-card-front .blog-card-content {
    flex: 1;
    min-height: 0;
}

.blog-meta {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    align-items: center;
    width: 100%;
    overflow: hidden;
    min-height: 24px;
}

.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    line-height: 1.5;
}

.blog-meta span.blog-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    grid-column: 1;
}

.blog-meta span.blog-author {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    grid-column: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.blog-meta i {
    color: var(--primary-color);
    flex-shrink: 0;
    width: 14px;
    text-align: center;
    font-size: 0.8125rem;
}

.blog-card-title {
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.blog-card-title,
.blog-card-title a {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
    margin: 0;
}

.blog-card-title a:hover {
    opacity: 0.8;
}

.blog-card-excerpt {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

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

.blog-read-more:hover {
    gap: 0.75rem;
    color: var(--accent-color);
}

.blog-read-more i {
    transition: transform 0.3s ease;
}

.blog-read-more:hover i {
    transform: translateX(5px);
}

.no-posts {
    text-align: center;
    padding: 4rem 2rem;
}

.no-posts i {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.no-posts h2 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.no-posts p {
    color: var(--text-light);
}

/* Pagination Styles */
.pagination-wrapper {
    margin-top: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pagination-wrapper nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

.pagination-wrapper ul {
    margin: 0;
    padding: 0;
}

.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.pagination > li {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-flex;
    align-items: center;
}

.pagination > li > a,
.pagination > li > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 1rem;
    color: var(--text-color);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
}

/* Previous/Next buttons */
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span {
    min-width: auto;
    padding: 0.5rem 1.25rem;
    font-weight: 600;
    font-size: 1rem;
}

.pagination > li > a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pagination > li > a:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Active page */
.pagination > li.active > span,
.pagination > li.active > a {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    border-color: var(--primary-color);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    cursor: default;
    pointer-events: none;
}

/* Disabled state */
.pagination > li.disabled > span,
.pagination > li.disabled > a {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: var(--light-gray);
    color: var(--text-light);
    border-color: var(--border-color);
}

.pagination > li.disabled > span[aria-hidden="true"],
.pagination > li.disabled > a[aria-hidden="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0.5rem 1.25rem;
    color: var(--text-light);
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    opacity: 0.5;
    font-size: 1rem;
    line-height: 1;
    font-weight: 600;
}

/* Responsive Pagination */
@media (max-width: 640px) {
    .pagination-wrapper {
        margin-top: 2rem;
    }

    .pagination {
        gap: 0.375rem;
        width: 100%;
        justify-content: center;
    }

    .pagination > li {
        flex-shrink: 0;
    }

    .pagination > li > a,
    .pagination > li > span {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }

    .pagination > li:first-child > a,
    .pagination > li:first-child > span,
    .pagination > li:last-child > a,
    .pagination > li:last-child > span {
        padding: 0.375rem 0.875rem;
        font-size: 0.9375rem;
        min-width: auto;
    }

    .pagination > li.disabled > span[aria-hidden="true"],
    .pagination > li.disabled > a[aria-hidden="true"] {
        min-width: 36px;
        height: 36px;
        padding: 0.375rem 0.875rem;
        font-size: 0.9375rem;
    }

    /* Hide page numbers on very small screens, keep only prev/next */
    .pagination > li:not(:first-child):not(:last-child):not(.active) {
        display: none;
    }

    .pagination > li.active {
        display: inline-flex;
    }
}

/* Additional pagination fixes */
.pagination-wrapper nav ul.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-wrapper .pagination li {
    display: inline-flex;
}

/* Ensure pagination links are clickable */
.pagination li a[rel="prev"],
.pagination li a[rel="next"] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination li a[rel="prev"]::before {
    content: "←";
    font-size: 1.125rem;
}

.pagination li a[rel="next"]::after {
    content: "→";
    font-size: 1.125rem;
}

/* Blog Post Show Page */
.blog-hero-section {
    padding: 2rem 0;
    background: var(--light-gray);
}

.blog-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.blog-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.blog-breadcrumb a:hover {
    opacity: 0.8;
}

.blog-breadcrumb span {
    color: var(--text-light);
}

.blog-breadcrumb i {
    color: var(--text-light);
    font-size: 0.75rem;
}

.blog-post-section {
    padding: 4rem 0;
    background: var(--white);
}

.blog-post-wrapper {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-post-content {
    max-width: 800px;
}

.blog-post-header {
    margin-bottom: 2rem;
}

.blog-post-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.blog-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.blog-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-meta-item i {
    color: var(--primary-color);
}

.blog-post-featured-image {
    margin-bottom: 2.5rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.blog-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-body {
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 3rem;
}

.blog-post-body p {
    margin-bottom: 1.5rem;
}

.blog-post-body h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.3;
}

.blog-post-body h2:first-child {
    margin-top: 0;
}

.blog-post-body h3 {
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 700;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.blog-post-body ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
    list-style: none;
}

.blog-post-body ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-color);
}

.blog-post-body ul li::before {
    content: '\f058';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.875rem;
}

.blog-post-body strong {
    color: var(--primary-color);
    font-weight: 700;
}

.blog-post-body hr {
    border: none;
    border-top: 2px solid var(--border-color);
    margin: 3rem 0;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    height: 2px;
}

/* Blog Content Images */
.blog-content-image {
    margin: 3rem 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.blog-content-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.blog-content-image .image-credit {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: var(--white);
    font-size: 0.75rem;
    opacity: 0.8;
    z-index: 2;
}

.blog-content-image .image-credit a {
    color: var(--white);
    text-decoration: underline;
}

.blog-post-footer {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.blog-share span {
    font-weight: 600;
    color: var(--text-color);
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.email {
    background: var(--primary-color);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-md);
}

/* Blog Sidebar */
.blog-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.related-posts h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.related-post-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.related-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.related-post-image {
    width: 100px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--light-gray);
}

.related-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content h4 {
    margin-bottom: 0.5rem;
}

.related-post-content h4 a {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.related-post-content h4 a:hover {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Admin Blog Styles */
.admin-section {
    padding: 4rem 0;
    background: var(--white);
    min-height: 80vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
}

.admin-table-wrapper {
    overflow-x: auto;
    margin-bottom: 2rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    box-shadow: var(--shadow-md);
    border-radius: 12px;
    overflow: hidden;
}

.admin-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
}

.admin-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.admin-table tbody tr:hover {
    background: var(--light-gray);
}

.admin-table .actions {
    display: flex;
    gap: 0.5rem;
}

.btn-sm {
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-view {
    background: var(--primary-color);
    color: var(--white);
}

.btn-edit {
    background: #f59e0b;
    color: var(--white);
}

.btn-delete {
    background: #ef4444;
    color: var(--white);
}

.btn-sm:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.inline-form {
    display: inline;
}

.blog-form {
    max-width: 900px;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

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

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

.form-group small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.btn-secondary {
    background: var(--text-light);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.btn-secondary:hover {
    background: var(--text-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.error-message {
    display: block;
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.current-image {
    margin-bottom: 1rem;
}

.current-image img {
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.text-center {
    text-align: center;
}

.text-muted {
    color: var(--text-light);
}

/* Responsive Blog Styles */
@media (max-width: 968px) {
    .blog-post-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .blog-sidebar {
        position: static;
    }

    .blog-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 2rem;
    }

    .blog-card-inner {
        min-height: 450px;
    }

    .blog-card-back {
        padding: 1.5rem;
    }

    .blog-card-stats {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .blog-card-inner {
        min-height: 400px;
    }

    .blog-card-back-content h3 {
        font-size: 1.125rem;
    }

    .blog-card-back-content p {
        font-size: 0.9rem;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .blog-card-content {
        padding: 1.5rem;
    }

    .blog-meta span {
        font-size: 0.8125rem;
    }

    .blog-meta span.blog-author {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

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

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .admin-table {
        font-size: 0.875rem;
    }

    .admin-table th,
    .admin-table td {
        padding: 0.75rem 0.5rem;
    }
}

/* Legal Pages Styles */
.legal-content-section {
    padding: 4rem 0;
    background: var(--white);
}

.legal-content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.page-header-meta {
    color: var(--text-light);
    font-size: 1rem;
    margin-top: 0.5rem;
}

.legal-notice {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(14, 165, 233, 0.1) 100%);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-bottom: 3rem;
}

.legal-notice p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.05rem;
    line-height: 1.7;
}

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

.legal-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-section h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-section p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 1.25rem;
    text-align: justify;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-section ul li {
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-section ul li strong {
    color: var(--primary-color);
    font-weight: 700;
}

.legal-section a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.legal-section a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.legal-subsection {
    margin-top: 2rem;
    padding-left: 1.5rem;
    border-left: 3px solid rgba(37, 99, 235, 0.2);
}

.legal-subsection h3 {
    margin-top: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
}

.legal-subsection p {
    margin-bottom: 1rem;
}

.legal-subsection em {
    font-style: italic;
    color: var(--text-light);
}

.contact-box {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-box p {
    margin: 0;
    line-height: 1.8;
}

.contact-box strong {
    color: var(--primary-color);
    font-weight: 700;
}

.contact-box a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-box a:hover {
    color: var(--accent-color);
}

@media (max-width: 768px) {
    .legal-content-wrapper {
        padding: 0 1rem;
    }

    .legal-subsection {
        padding-left: 1rem;
    }

    .legal-notice {
        padding: 1.5rem;
    }

    .contact-box {
        padding: 1.5rem;
    }
}

/* Font Awesome Icons (if not using CDN) */
.fab {
    font-family: "Font Awesome 6 Brands";
}

.fa-instagram::before {
    content: "\f16d";
}

.fa-x-twitter::before {
    content: "\e61b";
}

.fa-facebook::before {
    content: "\f09a";
}
