/* ============================================
   DACHA GASTRO & WELLNESS RESORT - STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    --primary: #1a5f4a;
    --primary-dark: #134a39;
    --primary-light: #2d8a6e;
    --secondary: #c9a96e;
    --secondary-light: #e0c494;
    --accent: #e8f5f0;
    --dark: #1a1a2e;
    --dark-light: #2d2d44;
    --gray: #6b7280;
    --gray-light: #9ca3af;
    --gray-lighter: #f3f4f6;
    --white: #ffffff;
    --off-white: #fafaf9;
    --cream: #f5f0e8;
    --text: #374151;
    --text-light: #6b7280;
    --border: #e5e7eb;
    --shadow: 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);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: 1.7;
    background: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

.mt-4 {
    margin-top: 2rem;
}

/* Section */
.section {
    padding: 5rem 0;
}

.bg-light {
    background: var(--off-white);
}

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

.bg-primary h1,
.bg-primary h2,
.bg-primary h3,
.bg-primary h4 {
    color: var(--white);
}

.section-header {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}

.bg-primary .section-label {
    color: var(--secondary-light);
}

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

.section-desc {
    color: var(--text-light);
    font-size: 1.05rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

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

.btn-secondary {
    background: var(--secondary);
    color: var(--dark);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-white:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.5);
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

/* Link Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.link-arrow:hover {
    gap: 0.7rem;
    color: var(--primary-dark);
}

/* Tags */
.tag {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    background: var(--accent);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 50px;
    margin: 0.25rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-icon {
    color: var(--secondary);
    font-size: 1.3rem;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 0.25rem 0;
}

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

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

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: var(--transition);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1545205597-3d9d02c29597?w=1920&h=1080&fit=crop') center/cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.5));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    padding: 2rem;
    max-width: 900px;
}

.hero-tagline {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--secondary-light);
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll a {
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
}

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

/* ============================================
   PAGE HEADER
   ============================================ */
.page-header {
    padding: 10rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   WELCOME SECTION
   ============================================ */
.welcome-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.welcome-text p {
    margin-bottom: 1.25rem;
}

.welcome-text .btn {
    margin-top: 1rem;
}

.image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-frame img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--secondary);
    color: var(--dark);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

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

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Service Detail */
.service-detail {
    padding: 4rem 0;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.service-detail-grid.reverse {
    grid-template-columns: 0.8fr 1.2fr;
}

.service-detail-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.service-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    opacity: 0.5;
    line-height: 1;
}

.service-icon-large {
    width: 70px;
    height: 70px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-large i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-detail-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.service-features {
    margin: 2rem 0;
}

.service-features h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.feature-grid {
    display: grid;
    gap: 1rem;
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.service-conditions {
    margin-top: 2rem;
}

.service-conditions h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.condition-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Packages */
.service-packages {
    margin-top: 2.5rem;
}

.service-packages h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
    color: var(--primary);
}

.package-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.package-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    position: relative;
    transition: var(--transition);
}

.package-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.package-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.package-badge {
    position: absolute;
    top: -10px;
    right: 1rem;
    background: var(--secondary);
    color: var(--dark);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
}

.package-card h5 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.package-duration {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.package-card ul {
    list-style: none;
}

.package-card ul li {
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
}

.package-card ul li:last-child {
    border-bottom: none;
}

.package-card ul li::before {
    content: '✓';
    color: var(--primary);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* Why Dacha */
.difference-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.difference-card {
    text-align: center;
    padding: 2rem;
}

.difference-icon {
    width: 80px;
    height: 80px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.difference-icon i {
    font-size: 2rem;
    color: var(--primary);
}

.difference-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.difference-card p {
    font-size: 0.95rem;
    color: var(--text-light);
}

/* ============================================
   GUT HEALTH
   ============================================ */
.gut-health-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.gut-health-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.gut-facts {
    display: grid;
    gap: 1.25rem;
    margin: 2rem 0;
}

.fact-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.25rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.fact-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.fact-text h4 {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.fact-text p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

.gut-cta {
    background: var(--primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

.gut-cta h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.gut-cta p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.25rem;
}

/* Gut Health Page */
.gut-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: start;
}

.gut-hero-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.gut-facts-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.fact-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
}

.fact-icon-large {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.fact-icon-large i {
    font-size: 1.5rem;
    color: var(--primary);
}

.fact-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.fact-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Journey Steps */
.journey-steps {
    max-width: 800px;
    margin: 0 auto;
}

.journey-step {
    display: flex;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border);
}

.journey-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-content p {
    color: var(--text-light);
    margin: 0;
}

/* Diagnostics */
.diagnostics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.diagnostic-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

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

.diagnostic-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.diagnostic-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

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

.treatment-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.treatment-card h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.treatment-card h4 i {
    color: var(--primary);
}

.treatment-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   STATS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.team-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.team-info {
    padding: 1.5rem;
}

.team-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-role {
    display: block;
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.team-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.team-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.team-tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
}

/* Team Full Grid */
.team-full-grid {
    display: grid;
    gap: 2.5rem;
}

.team-profile {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.team-profile-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.team-profile-info {
    padding: 2rem 2rem 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-profile-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.team-profile-info .team-role {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-profile-info p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.team-specialties span {
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 500;
}

.join-team {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.join-team h2 {
    margin-bottom: 1rem;
}

.join-team p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

.image-caption {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.9rem;
}

.about-text p {
    margin-bottom: 1.25rem;
}

/* Mission Vision */
.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.mv-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
}

.mv-icon {
    width: 70px;
    height: 70px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.mv-icon i {
    font-size: 1.75rem;
    color: var(--primary);
}

.mv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.mv-card h4 {
    font-size: 1rem;
    color: var(--secondary);
    margin-bottom: 1rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.mv-card p {
    color: var(--text-light);
    margin: 0;
}

/* Values */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.value-icon i {
    font-size: 1.5rem;
    color: var(--primary);
}

.value-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Timeline */
.timeline-section {
    background: var(--off-white);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 2rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-year {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
}

.timeline-content {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    max-width: 300px;
    margin: 0 1.5rem;
    border: 1px solid var(--border);
}

.timeline-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.timeline-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* ============================================
   PARTNERS
   ============================================ */
.partners-grid {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    font-weight: 600;
    color: var(--dark);
    transition: var(--transition);
}

.partner-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

/* ============================================
   IMPACT PAGE
   ============================================ */
.foundation-intro {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.foundation-content .lead {
    margin-bottom: 2rem;
}

.foundation-stats {
    display: flex;
    gap: 3rem;
}

.foundation-stat {
    text-align: center;
}

.foundation-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.foundation-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.foundation-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

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

.impact-stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
}

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

.impact-stat-card i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.impact-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1;
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

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

.program-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.program-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.program-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.program-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* Goals */
.goals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.goal-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
}

.goal-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.goal-desc {
    display: block;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.goal-timeline {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Support Sections */
.support-sections {
    max-width: 900px;
    margin: 0 auto;
}

.support-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    margin-bottom: 2rem;
}

.support-section:last-child {
    margin-bottom: 0;
}

.support-section h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.support-section h3 i {
    color: var(--primary);
}

.donation-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

.donation-method {
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius);
    border-left: 3px solid var(--primary);
}

.donation-method h5 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.donation-method p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

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

.volunteer-option {
    padding: 1.5rem;
    background: var(--off-white);
    border-radius: var(--radius-lg);
}

.volunteer-option h5 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.volunteer-option p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.volunteer-option ul {
    margin-bottom: 1.25rem;
}

.volunteer-option ul li {
    padding: 0.25rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
    padding-left: 1.2rem;
    position: relative;
}

.volunteer-option ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.partnership-benefits {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: var(--off-white);
    border-radius: var(--radius);
}

.partnership-benefits h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.partnership-benefits ul li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-light);
    padding-left: 1.2rem;
    position: relative;
}

.partnership-benefits ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info p {
    margin-bottom: 2rem;
}

.contact-details {
    display: grid;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-item i {
    width: 45px;
    height: 45px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

.contact-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary);
}

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

.contact-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-form {
    display: grid;
    gap: 1.25rem;
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--off-white);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 95, 74, 0.1);
}

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

/* Map */
.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
    width: 100%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 5rem 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
    font-weight: 600;
}

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

.footer-links ul li a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact i {
    color: var(--secondary);
    width: 16px;
}

.footer-contact a {
    color: rgba(255,255,255,0.7);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .welcome-grid,
    .gut-health-grid,
    .gut-hero-grid,
    .about-story,
    .foundation-intro,
    .contact-grid,
    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .service-detail-image img,
    .gut-health-image img,
    .gut-hero-image img,
    .about-image img,
    .foundation-image img {
        height: 400px;
    }

    .services-grid,
    .team-grid,
    .values-grid,
    .difference-grid,
    .diagnostics-grid,
    .goals-grid,
    .impact-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .timeline::before {
        left: 30px;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        justify-content: flex-start;
        padding-right: 0;
        padding-left: 80px;
    }

    .timeline-year {
        left: 30px;
        transform: translateX(-50%);
    }

    .team-profile {
        grid-template-columns: 1fr;
    }

    .team-profile-image img {
        height: 300px;
    }

    .team-profile-info {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        gap: 0;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
        border-bottom: 1px solid var(--border);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        padding: 1rem 0;
        border-bottom: 1px solid var(--border);
        width: 100%;
    }

    .nav-link:last-child {
        border-bottom: none;
    }

    .nav-cta {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .services-grid,
    .team-grid,
    .values-grid,
    .difference-grid,
    .diagnostics-grid,
    .goals-grid,
    .impact-stats-grid,
    .programs-grid,
    .treatment-grid,
    .gallery-grid,
    .mission-vision-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .gut-facts-detailed {
        grid-template-columns: 1fr;
    }

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

    .donation-methods,
    .volunteer-options,
    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .experience-badge {
        left: 1rem;
        bottom: 1rem;
    }

    .contact-actions {
        flex-direction: column;
    }

    .contact-actions .btn {
        width: 100%;
    }

    .foundation-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
}

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

    .page-header {
        padding: 8rem 0 3rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

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

    .service-detail-header {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* ============================================
   RESOURCES PAGE STYLES
   ============================================ */

/* Featured Publication */
.featured-publication {
    max-width: 900px;
    margin: 0 auto;
}

.pub-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.pub-card:hover {
    box-shadow: var(--shadow-xl);
}

.featured-pub {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.pub-image img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    object-fit: cover;
}

.pub-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pub-source {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.pub-content h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.pub-content p {
    color: var(--text-light);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

.pub-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.85rem;
    color: var(--gray-light);
}

.pub-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

/* Publication Grid */
.pub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.pub-grid .pub-card {
    display: flex;
    flex-direction: column;
}

.pub-grid .pub-image img {
    height: 200px;
    min-height: auto;
}

.pub-grid .pub-content {
    padding: 1.5rem;
    flex: 1;
}

.pub-grid .pub-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.pub-grid .pub-content p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* YouTube Categories */
.youtube-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.yt-category h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.yt-category h3 i {
    color: var(--secondary);
}

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

.yt-card {
    display: flex;
    gap: 1.25rem;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.yt-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.yt-thumb {
    width: 80px;
    height: 80px;
    background: #ff0000;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yt-thumb i {
    font-size: 2rem;
    color: var(--white);
}

.yt-info {
    flex: 1;
}

.yt-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.yt-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.yt-stats {
    margin-bottom: 0.75rem;
}

.yt-stats span {
    font-size: 0.8rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-outline-yt {
    background: transparent;
    color: #ff0000;
    border-color: #ff0000;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
}

.btn-outline-yt:hover {
    background: #ff0000;
    color: var(--white);
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.blog-card {
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

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

.blog-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

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

.blog-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary);
    margin-bottom: 0.5rem;
}

.blog-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.blog-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* Social Grid */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.social-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
    background: var(--white);
}

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

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.social-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

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

.social-info {
    flex: 1;
}

.social-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.social-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.social-handle {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
}

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

.download-card {
    display: flex;
    gap: 1.25rem;
    background: var(--white);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.download-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.download-icon {
    width: 55px;
    height: 55px;
    background: #dc2626;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.download-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.download-content {
    flex: 1;
}

.download-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.download-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.download-meta {
    display: block;
    font-size: 0.8rem;
    color: var(--gray);
    margin-bottom: 0.75rem;
}

/* Newsletter Box */
.newsletter-box {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
    color: var(--white);
}

.newsletter-content h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.newsletter-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.newsletter-input-group input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
}

.newsletter-input-group input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

.newsletter-form small {
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
}

/* ============================================
   RESPONSIVE FOR RESOURCES PAGE
   ============================================ */
@media (max-width: 1024px) {
    .featured-pub {
        grid-template-columns: 1fr;
    }

    .pub-image img {
        height: 250px;
        min-height: auto;
    }

    .pub-grid,
    .blog-grid,
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .yt-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .pub-grid,
    .blog-grid,
    .social-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }

    .yt-card {
        flex-direction: column;
        text-align: center;
    }

    .yt-thumb {
        margin: 0 auto;
    }

    .newsletter-box {
        padding: 2rem 1.5rem;
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    .social-card {
        flex-direction: column;
        text-align: center;
    }

    .social-icon {
        margin: 0 auto;
    }

    .download-card {
        flex-direction: column;
        text-align: center;
    }

    .download-icon {
        margin: 0 auto;
    }
}
