/* =========================================================
   SHAAGIRD CAUSE PAGE COMPLETE STYLESHEET
   100% Matched to Shaagird Homepage (hero_section.php & quick_donate.php)
   Colors:
     --teal: #299D8E (Shaagird Teal)
     --teal-hero: #009B89
     --teal-dark: #176E65
     --teal-deep: #123F3D / #173B38
     --teal-soft: #F0FAF8
     --ink: #161616 / #0F172A
     --muted: #64748B
     --line: #E6F3F1
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Amiri:ital,wght@0,400;0,700;1,400;1,700&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:wght@400;500;700;900&family=Poppins:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body.cause-page-body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #123F3D;
    background: #FFFFFF;
    overflow-x: hidden;
}

/* =========================================================
   1. GRAND FULL-WIDTH PANORAMIC HERO SECTION
   Exact 1:1 match with homepage hero_section.php
   ========================================================= */
.shaagird-full-hero {
    position: relative;
    width: 100%;
    min-height: 480px;
    background-color: #009B89;
    background-image:
        linear-gradient(90deg, #009B89 0%, #009B89 35%, rgba(0, 155, 137, 0.6) 46%, rgba(0, 155, 137, 0) 58%),
        url('../images/Shaagird-Donate-Hero.png');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

/* Specific Cause Panoramic Hero Banners */
.shaagird-hero-madrassa {
    background-color: #018675;
    background-image:
        linear-gradient(90deg, #018675 0%, #018675 32%, rgba(1, 134, 117, 0.72) 46%, rgba(1, 134, 117, 0) 62%),
        url('../images/hero_madrassa.jpg');
    background-size: cover;
    background-position: center right;
}

.shaagird-hero-learning {
    background-color: #028776;
    background-image:
        linear-gradient(90deg, #028776 0%, #028776 32%, rgba(2, 135, 118, 0.72) 46%, rgba(2, 135, 118, 0) 62%),
        url('../images/hero_learning_centre.jpg');
    background-size: cover;
    background-position: center right;
}

.shaagird-hero-orphan {
    background-color: #028776;
    background-image:
        linear-gradient(90deg, #028776 0%, #028776 32%, rgba(2, 135, 118, 0.72) 46%, rgba(2, 135, 118, 0) 62%),
        url('../images/hero_orphan.jpg');
    background-size: cover;
    background-position: center right;
}

.shaagird-hero-inner {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    padding: 45px 0 50px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    z-index: 2;
}

.shaagird-hero-content {
    max-width: 580px;
    z-index: 2;
}

/* Eyebrow / Kicker */
.shaagird-hero-kicker {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 1.8px;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.shaagird-hero-kicker .hero-kicker-dash {
    display: inline-block;
    width: 20px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
}

/* Editorial Serif Heading */
.shaagird-hero-title {
    font-family: 'Amiri', 'PT Serif', Georgia, 'Times New Roman', serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: -0.8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

/* Descriptive Paragraph */
.shaagird-hero-desc {
    font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
    font-size: 15px;
    line-height: 1.65;
    color: #ffffff;
    margin: 0 0 28px;
    max-width: 520px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.22);
}

/* Action Buttons */
.shaagird-hero-btns {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #251134;
    color: #ffffff !important;
    padding: 0 28px;
    height: 48px;
    border-radius: 28px;
    font-family: 'Poppins', 'Roboto', -apple-system, sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 18px rgba(37, 17, 52, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-hero-primary:hover {
    background: #180922;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(24, 9, 34, 0.45);
}

.btn-hero-outline {
    background: #ffffff;
    color: #1a2c28 !important;
    border: 1px solid #d4dfdc;
    padding: 0 26px;
    height: 48px;
    border-radius: 28px;
    font-family: 'Roboto', -apple-system, sans-serif;
    font-weight: 700;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.btn-hero-outline:hover {
    background: #f7faf9;
    border-color: #bccac7;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   2. WHY THIS INITIATIVE SECTION (HOMEPAGE STYLE)
   ========================================================= */
.shaagird-why-section {
    padding: 56px 0 44px 0;
    background: #FFFFFF;
    position: relative;
    z-index: 2;
    border-bottom: 1px solid #E6F3F1;
}

.shaagird-why-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.shaagird-why-inner {
    text-align: center;
}

.shaagird-eyebrow {
    display: inline-block;
    color: #299D8E;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(41, 157, 142, 0.08);
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid rgba(41, 157, 142, 0.2);
}

.shaagird-why-heading {
    color: #123F3D;
    font-size: clamp(30px, 3.8vw, 42px);
    font-weight: 700;
    margin: 12px 0 16px 0;
    letter-spacing: -0.5px;
    line-height: 1.25;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.shaagird-why-divider {
    width: 60px;
    height: 3.5px;
    background: linear-gradient(90deg, #299D8E, #176E65);
    border-radius: 2px;
    margin: 0 auto 22px auto;
}

.shaagird-why-text {
    color: #334155;
    font-size: clamp(0.98rem, 1.4vw, 1.08rem);
    line-height: 1.85;
    max-width: 860px;
    margin: 0 auto 32px auto;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}

/* Impact Highlights Pills Grid */
.shaagird-impact-pills {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 36px;
    text-align: center;
}

.impact-pill-item {
    background: #F8FCFB;
    border: 1px solid #DDEBE7;
    border-radius: 14px;
    padding: 20px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.impact-pill-item:hover {
    transform: translateY(-3px);
    border-color: #299D8E;
    box-shadow: 0 8px 24px rgba(41, 157, 142, 0.12);
}

.impact-pill-item i {
    font-size: 24px;
    color: #299D8E;
    margin-bottom: 6px;
}

.impact-pill-item strong {
    font-size: 14px;
    font-weight: 700;
    color: #123F3D;
    line-height: 1.3;
}

.impact-pill-item span {
    font-size: 12px;
    color: #64748B;
    line-height: 1.4;
}

/* =========================================================
   3. DONATION SECTION & CARD (EXACT HOMEPAGE STYLING)
   ========================================================= */
.shaagird-donate-section {
    position: relative;
    background: linear-gradient(180deg, #F0FAF8 0%, #FFFFFF 100%);
    padding: 60px 0 54px 0;
    overflow: hidden;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #123F3D;
    border-top: 1px solid #E6F3F1;
    border-bottom: 1px solid #E6F3F1;
}

/* Background SVGs */
.shaagird-deco-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.shaagird-wave-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 48px;
}

.shaagird-deco-icon {
    position: absolute;
    opacity: 0.13;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.shaagird-deco-book {
    width: 90px;
    height: 90px;
    top: 30px;
    left: 4%;
    transform: rotate(-10deg);
}

.shaagird-deco-cap {
    width: 85px;
    height: 85px;
    top: 35px;
    right: 4%;
    transform: rotate(8deg);
}

.shaagird-deco-hands {
    width: 95px;
    height: 95px;
    bottom: 40px;
    left: 2%;
    transform: rotate(5deg);
}

/* Section Header */
.shaagird-section-header {
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.shaagird-heading {
    color: #123F3D;
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.shaagird-subtitle {
    color: #64748B;
    font-size: clamp(0.95rem, 1.8vw, 1.08rem);
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

/* Single Featured Centered Card */
.shaagird-single-card-center {
    max-width: 440px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 2;
}

/* Exact Homepage Card */
.shaagird-donate-card {
    background: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #DDE9E7;
    box-shadow: 0 12px 36px rgba(41, 157, 142, 0.16);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    overflow: hidden;
    width: 100%;
}

.shaagird-donate-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 42px rgba(41, 157, 142, 0.24);
    border-color: #299D8E;
}

.shaagird-card-form {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Card Media on TOP */
.shaagird-card-media {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #E8F5F3;
    display: block;
}

.shaagird-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
    display: block;
    transition: transform 0.5s ease;
}

.shaagird-donate-card:hover .shaagird-card-img {
    transform: scale(1.05);
}

/* Floating Badges on Image */
.shaagird-badge-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 3;
}

.shaagird-zakat-badge {
    background: rgba(23, 110, 101, 0.94);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    padding: 5px 11px;
    border-radius: 20px;
    backdrop-filter: blur(6px);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.18);
}

.zakat-crescent {
    font-size: 0.85rem;
}

.shaagird-brand-circle {
    width: 36px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    padding: 6px;
    margin-left: auto;
}

.shaagird-circle-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Card Body */
.shaagird-card-body {
    padding: 24px 22px 26px 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background: #FFFFFF;
}

.shaagird-card-title {
    color: #123F3D;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.shaagird-card-desc {
    color: #64748B;
    font-size: 0.91rem;
    text-align: center;
    line-height: 1.55;
    margin: 0 0 20px 0;
}

/* Amount Selector */
.shaagird-amount-selector {
    margin-bottom: 12px;
}

.shaagird-field-label {
    display: block;
    color: #123F3D;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 0.2px;
}

.shaagird-preset-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.shaagird-preset-btn {
    background: #FFFFFF;
    border: 1.5px solid #DDE9E7;
    color: #123F3D;
    font-weight: 600;
    font-size: 0.88rem;
    padding: 8px 2px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    font-family: inherit;
}

.shaagird-preset-btn:hover {
    background: #EAF7F4;
    border-color: #299D8E;
    color: #176E65;
}

.shaagird-preset-btn.active {
    background: #299D8E;
    border-color: #299D8E;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(41, 157, 142, 0.35);
}

/* Custom Amount Field */
.shaagird-custom-amount-wrap {
    margin-bottom: 14px;
}

.shaagird-input-group {
    display: flex;
    align-items: center;
    border: 1.5px solid #DDE9E7;
    border-radius: 10px;
    background: #F8FCFB;
    padding: 0 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.shaagird-input-group:focus-within {
    border-color: #299D8E;
    box-shadow: 0 0 0 3px rgba(41, 157, 142, 0.16);
    background: #FFFFFF;
}

.shaagird-input-prefix {
    font-size: 1.1rem;
    font-weight: 700;
    color: #176E65;
    margin-right: 6px;
}

.shaagird-custom-input {
    border: none;
    background: transparent;
    width: 100%;
    padding: 10px 0;
    font-size: 0.96rem;
    font-weight: 600;
    color: #123F3D;
    outline: none;
    font-family: inherit;
}

.shaagird-inline-error {
    color: #DC2626;
    font-size: 0.78rem;
    margin-top: 4px;
    display: none;
}

/* Category Dropdown */
.shaagird-category-wrap {
    margin-bottom: 18px;
}

.shaagird-category-select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #DDE9E7;
    border-radius: 10px;
    background: #FFFFFF;
    color: #123F3D;
    font-size: 0.9rem;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shaagird-category-select:focus {
    border-color: #299D8E;
    box-shadow: 0 0 0 3px rgba(41, 157, 142, 0.16);
}

/* Submit Button */
.shaagird-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #299D8E 0%, #176E65 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 20px rgba(41, 157, 142, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
}

.shaagird-submit-btn:hover {
    background: linear-gradient(135deg, #228D80 0%, #135A52 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(41, 157, 142, 0.45);
}

/* Card Trust Reassurance Row (Inside Donation Card) */
.shaagird-card-trust-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed #E2EBE8;
    width: 100%;
}

.card-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #475569;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}

.card-trust-badge i {
    color: #299D8E;
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* =========================================================
   4. OTHER CAUSES YOU CAN SUPPORT (EXACT REFERENCE DESIGN)
   Full-width, mint-teal aesthetic, 2 premium cards, 
   decorative school children flanks, and bottom trust bar
   ========================================================= */
.shaagird-other-causes-section {
    position: relative;
    padding: 60px 0 65px 0;
    background: linear-gradient(180deg, #F3FAF9 0%, #FFFFFF 50%, #F3FAF9 100%);
    border-top: 1px solid #D8EEEA;
    border-bottom: 1px solid #D8EEEA;
    overflow: hidden;
}

.shaagird-causes-bg-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 940px;
    height: 520px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(243, 250, 249, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.shaagird-other-causes-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.shaagird-causes-header {
    margin-bottom: 34px;
}

.shaagird-causes-pill {
    display: inline-block;
    background: rgba(13, 148, 136, 0.09);
    color: #0D9488;
    border: 1px solid #C4ECE5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.shaagird-causes-title {
    color: #12343B;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.shaagird-causes-subtitle {
    color: #64748B;
    font-size: 15px;
    margin: 0 auto;
    max-width: 720px;
    line-height: 1.5;
}

/* Stage with Flanking Children & 2 Cards */
.shaagird-causes-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 32px;
    min-height: 440px;
}

/* Flanking Decorative School Children */
.shaagird-causes-flank {
    position: absolute;
    bottom: 0;
    width: 210px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    user-select: none;
}

.shaagird-causes-flank-left {
    left: 4px;
}

.shaagird-causes-flank-right {
    right: 4px;
}

/* Handwritten Emotional Typography */
.shaagird-causes-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    font-weight: 700;
    color: #0D9488;
    line-height: 1.15;
    position: relative;
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shaagird-causes-handwritten-left {
    transform: rotate(-6deg);
}

.shaagird-causes-handwritten-right {
    transform: rotate(5deg);
}

.causes-hand-heart {
    width: 17px;
    height: 17px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.causes-hand-book {
    margin-top: 4px;
    display: inline-block;
}

.causes-sparkle-rays {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 4px;
}

.causes-sparkle-rays span {
    display: block;
    width: 2px;
    height: 8px;
    background: #0D9488;
    border-radius: 2px;
    opacity: 0.85;
}

.causes-rays-left span:nth-child(1) { transform: rotate(-25deg); height: 10px; }
.causes-rays-left span:nth-child(2) { transform: rotate(0deg); height: 12px; }
.causes-rays-left span:nth-child(3) { transform: rotate(25deg); height: 10px; }

.causes-rays-right span:nth-child(1) { transform: rotate(-25deg); height: 10px; }
.causes-rays-right span:nth-child(2) { transform: rotate(0deg); height: 12px; }
.causes-rays-right span:nth-child(3) { transform: rotate(25deg); height: 10px; }

/* Portrait Image Container & Soft Organic Mint Aura */
.shaagird-causes-child-wrap {
    position: relative;
    width: 195px;
    height: 235px;
}

.shaagird-causes-blob {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.22) 0%, rgba(243, 250, 249, 0.75) 55%, transparent 75%);
    filter: blur(14px);
    z-index: -1;
    top: 0;
}

.shaagird-causes-blob-left {
    left: -20px;
}

.shaagird-causes-blob-right {
    right: -20px;
}

.shaagird-causes-child-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 14px 28px rgba(13, 148, 136, 0.16);
    display: block;
}

/* 2 Donation Cards Grid */
.other-causes-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Card Container */
.other-causes-grid .shaagird-donate-card {
    background: #FFFFFF;
    border-radius: 22px;
    border: 1.5px solid #D8EEEA;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.08);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.other-causes-grid .shaagird-donate-card:hover {
    transform: translateY(-6px);
    border-color: #0D9488;
    box-shadow: 0 18px 40px rgba(13, 148, 136, 0.16);
}

/* Card Media Header */
.other-causes-grid .shaagird-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #087F75;
    border-radius: 20px 20px 0 0;
}

.shaagird-card-media-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    cursor: pointer;
}

.other-causes-grid .shaagird-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.other-causes-grid .shaagird-donate-card:hover .shaagird-card-img {
    transform: scale(1.04);
}

/* Media Top Badges Row */
.shaagird-badge-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 3;
}

.shaagird-zakat-badge {
    background: #0D9488;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.shaagird-media-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.16);
    padding: 6px;
}

.shaagird-brand-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Media Category Pill (Bottom Left) */
.shaagird-media-category-pill {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 3;
    background: #FFFFFF;
    color: #087F75;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.8px;
    padding: 5px 13px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.shaagird-media-category-pill i {
    color: #0D9488;
    font-size: 11px;
}

/* Card Body Content */
.other-causes-grid .shaagird-card-body {
    padding: 22px 24px 26px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.other-causes-grid .shaagird-card-title {
    font-size: 19px;
    font-weight: 800;
    color: #12343B;
    margin: 0 0 6px 0;
    text-align: center;
}

.shaagird-card-title a.shaagird-title-link {
    color: #12343B;
    text-decoration: none;
    transition: color 0.2s ease;
}

.shaagird-card-title a.shaagird-title-link:hover {
    color: #0D9488;
}

.other-causes-grid .shaagird-card-desc {
    font-size: 12.5px;
    color: #64748B;
    line-height: 1.45;
    text-align: center;
    margin: 0 auto 12px auto;
    max-width: 380px;
}

/* Feature Badges */
.shaagird-card-impact-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.shaagird-card-impact-pills span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    color: #087F75;
    background: #E8F7F4;
    border: 1px solid #C8ECE4;
    padding: 4px 12px;
    border-radius: 999px;
}

.shaagird-card-impact-pills span i {
    color: #0D9488;
    font-size: 11px;
}

/* Read Cause Details Link */
.other-causes-grid .shaagird-card-learn-more {
    display: flex;
    justify-content: center;
    margin: 0 0 16px 0;
}

.other-causes-grid .shaagird-learn-more-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #087F75;
    background: #E8F7F4;
    border: 1px solid #C8ECE4;
    padding: 4px 14px;
    border-radius: 999px;
    transition: all 0.2s ease;
    text-decoration: none !important;
}

.other-causes-grid .shaagird-learn-more-link:hover {
    background: #0D9488;
    color: #FFFFFF !important;
    border-color: #0D9488;
    transform: translateY(-1px);
}

.other-causes-grid .shaagird-learn-more-link i {
    font-size: 10px;
    transition: transform 0.2s ease;
}

.other-causes-grid .shaagird-learn-more-link:hover i {
    transform: translateX(3px);
}

/* Donation Controls */
.other-causes-grid .shaagird-amount-selector {
    margin-bottom: 10px;
}

.other-causes-grid .shaagird-field-label {
    font-size: 11.5px;
    font-weight: 700;
    color: #12343B;
    margin-bottom: 6px;
    display: block;
    text-align: left;
}

.other-causes-grid .shaagird-preset-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

.other-causes-grid .shaagird-preset-btn {
    padding: 7px 4px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    color: #12343B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.other-causes-grid .shaagird-preset-btn:hover {
    background: #EAF7F4;
    border-color: #0D9488;
    color: #087F75;
}

.other-causes-grid .shaagird-preset-btn.active {
    background: linear-gradient(135deg, #0D9488 0%, #087F75 100%);
    border-color: #087F75;
    color: #FFFFFF !important;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(13, 148, 136, 0.25);
}

.other-causes-grid .shaagird-custom-amount-wrap {
    margin-bottom: 10px;
}

.other-causes-grid .shaagird-input-group {
    height: 42px;
    border-radius: 8px;
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    display: flex;
    align-items: center;
    padding: 0 12px;
    transition: all 0.2s ease;
}

.other-causes-grid .shaagird-input-group:focus-within {
    border-color: #0D9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
}

.other-causes-grid .shaagird-input-prefix {
    color: #12343B;
    font-weight: 700;
    font-size: 14px;
    margin-right: 6px;
}

.other-causes-grid .shaagird-custom-input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 13.5px;
    font-weight: 600;
    color: #12343B;
}

.other-causes-grid .shaagird-category-wrap {
    margin-bottom: 14px;
}

.other-causes-grid .shaagird-category-select {
    width: 100%;
    height: 42px;
    border-radius: 8px;
    background-color: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    font-size: 13px;
    font-weight: 600;
    color: #12343B;
    padding: 0 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.other-causes-grid .shaagird-category-select:focus {
    border-color: #0D9488;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
    outline: none;
}

.other-causes-grid .shaagird-submit-btn {
    width: 100%;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0D9488 0%, #087F75 100%);
    border: none;
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.28);
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.other-causes-grid .shaagird-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(8, 127, 117, 0.35);
    filter: brightness(1.05);
}

/* Bottom Feature Trust Bar (Exact Reference Match) */
.shaagird-causes-trust-strip {
    margin: 36px auto 0 auto;
    max-width: 960px;
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    border-radius: 999px;
    padding: 12px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.06);
    position: relative;
    z-index: 2;
    align-items: center;
}

.trust-strip-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-strip-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.trust-icon-edu {
    background: #FEF3C7;
    color: #D97706;
}

.trust-icon-child {
    background: #FFE4E6;
    color: #E11D48;
}

.trust-icon-community {
    background: #CCFBF1;
    color: #0D9488;
}

.trust-icon-future {
    background: #DCFCE7;
    color: #059669;
}

.trust-strip-text {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    line-height: 1.25;
}

.trust-strip-text strong {
    font-weight: 700;
    color: #12343B;
}

.trust-strip-text span {
    color: #64748B;
}

/* =========================================================
   BOTTOM HORIZONTAL KID SPONSOR CTA BAR
   ========================================================= */
.shaagird-causes-sponsor-cta {
    margin: 32px auto 0 auto;
    max-width: 860px;
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    border-radius: 999px;
    padding: 8px 12px 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
    position: relative;
    z-index: 2;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shaagird-causes-sponsor-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(13, 148, 136, 0.12);
    border-color: #B2E4DC;
}

.sponsor-cta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sponsor-cta-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #E6F7F5;
    border: 1.5px solid #C4ECE5;
    color: #0D9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.sponsor-cta-text {
    font-size: 14px;
    color: #102A36;
    line-height: 1.35;
}

.sponsor-cta-text strong {
    font-weight: 700;
    color: #102A36;
}

.sponsor-cta-sub {
    color: #64748B;
    margin-left: 5px;
}

.sponsor-cta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sponsor-cta-btn {
    background: #260D35 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 9px 24px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(38, 13, 53, 0.25);
    white-space: nowrap;
}

.sponsor-cta-btn:hover {
    background: #3B1652 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(38, 13, 53, 0.35);
}

.sponsor-cta-sparks {
    display: flex;
    align-items: center;
    color: #0D9488;
}

/* =========================================================
   RESPONSIVE DESIGN FOR OTHER CAUSES
   ========================================================= */
@media (max-width: 1239px) {
    .shaagird-causes-flank {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .other-causes-grid {
        gap: 20px;
        max-width: 720px;
    }

    .shaagird-causes-trust-strip {
        grid-template-columns: repeat(2, 1fr);
        border-radius: 20px;
        gap: 14px;
        padding: 16px 20px;
    }

    .shaagird-causes-sponsor-cta {
        max-width: 720px;
    }
}

@media (max-width: 768px) {
    .shaagird-other-causes-section {
        padding: 45px 0 50px 0;
    }

    .other-causes-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .shaagird-causes-trust-strip {
        grid-template-columns: 1fr;
        border-radius: 16px;
        padding: 14px 18px;
        gap: 12px;
    }

    .shaagird-causes-sponsor-cta {
        flex-direction: column;
        align-items: center;
        text-align: center;
        border-radius: 20px;
        padding: 16px 14px;
        gap: 12px;
        margin-top: 24px;
    }

    .sponsor-cta-left {
        flex-direction: column;
        gap: 8px;
    }

    .sponsor-cta-sub {
        display: block;
        margin-left: 0;
        margin-top: 3px;
        font-size: 12.5px;
    }

    .sponsor-cta-right {
        width: 100%;
        justify-content: center;
    }

    .sponsor-cta-btn {
        width: 100%;
        justify-content: center;
        padding: 11px 20px;
    }

    .sponsor-cta-sparks {
        display: none;
    }
}

/* =========================================================
   5. DONATION CART MODAL
   Exact 1:1 match with homepage quick_donate.php
   ========================================================= */
.shaagird-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(18, 63, 61, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInCart 0.25s ease-out;
}

@keyframes fadeInCart {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.shaagird-cart-modal {
    background: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    animation: slideUpCart 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@keyframes slideUpCart {
    from {
        transform: translateY(24px) scale(0.97);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.shaagird-cart-header {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 18px 24px 14px 24px;
    border-bottom: 1px solid #EEF4F3;
    background: #FFFFFF;
}

.shaagird-cart-title {
    color: #123F3D;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: -0.2px;
}

.shaagird-cart-close-btn {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    background: #F1F6F5;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #475569;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    padding: 0;
    z-index: 5;
}

.shaagird-cart-close-btn:hover {
    background: #FFE4E6;
    color: #E11D48;
    transform: translateY(-50%) rotate(90deg);
}

.shaagird-cart-close-btn svg {
    width: 16px;
    height: 16px;
    stroke: #475569 !important;
    stroke-width: 2.5px;
    display: block;
    pointer-events: none;
}

.shaagird-cart-close-btn:hover svg {
    stroke: #E11D48 !important;
}

.shaagird-cart-close-btn svg line {
    stroke: inherit !important;
}

.shaagird-cart-body {
    padding: 20px 24px 16px;
    max-height: 60vh;
    overflow-y: auto;
}

.shaagird-cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.shaagird-cart-item,
.shaagird-cart-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #FAFCFB;
    border: 1px solid #E2EFEB;
    border-radius: 12px;
    padding: 10px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shaagird-cart-item:hover,
.shaagird-cart-item-row:hover {
    border-color: #B2E4DC;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.06);
}

.shaagird-cart-item-thumb,
.cart-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #EAF4F2;
    border: 1px solid #DDE9E7;
}

.shaagird-cart-item-thumb img,
.cart-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shaagird-cart-item-info,
.cart-item-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex-grow: 1;
    min-width: 0;
    text-align: left;
}

.shaagird-cart-item-title,
.cart-item-title {
    font-weight: 700;
    color: #123F3D;
    font-size: 0.92rem;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.shaagird-cart-item-rate,
.shaagird-cart-item-price,
.cart-item-price {
    font-weight: 700;
    color: #0D9488;
    font-size: 0.86rem;
    margin: 0;
}

.shaagird-cart-item-actions,
.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* Quantity Control (Exact match to homepage design) */
.shaagird-qty-control {
    display: inline-flex;
    align-items: center;
    background: #EEF6F5;
    border: 1px solid #D8EAE6;
    border-radius: 8px;
    overflow: hidden;
    height: 32px;
}

.shaagird-qty-btn {
    width: 30px;
    height: 32px;
    border: none;
    background: transparent;
    color: #087F75;
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    user-select: none;
    padding: 0;
    outline: none;
}

.shaagird-qty-btn:hover {
    background: #0D9488;
    color: #FFFFFF;
}

.shaagird-qty-val,
.cart-item-qty {
    min-width: 26px;
    text-align: center;
    font-size: 0.88rem;
    font-weight: 700;
    color: #123F3D;
    user-select: none;
}

/* Item Remove Button */
.shaagird-cart-item-remove,
.shaagird-cart-remove-btn {
    background: transparent;
    border: none;
    color: #94A3B8;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, transform 0.15s ease;
    padding: 0;
    outline: none;
}

.shaagird-cart-item-remove:hover,
.shaagird-cart-remove-btn:hover {
    color: #E11D48;
    background: #FFE4E6;
    transform: scale(1.08);
}

.shaagird-cart-item-remove svg,
.shaagird-cart-remove-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor !important;
    display: block;
}

.shaagird-cart-item-remove svg line,
.shaagird-cart-remove-btn svg line {
    stroke: inherit !important;
}

/* Fallback for old .cart-qty-btn if present */
.cart-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    border: 1px solid #D8EAE6;
    background: #EEF6F5;
    color: #087F75;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.cart-qty-btn:hover {
    background: #0D9488;
    color: #FFFFFF;
    border-color: #0D9488;
}

.shaagird-cart-fees {
    background: #F8FCFB;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
}

.shaagird-fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.88rem;
    color: #334155;
    margin-bottom: 8px;
    cursor: pointer;
}

.shaagird-fee-row:last-child {
    margin-bottom: 0;
}

.shaagird-cart-total-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1.5px solid #E6F3F1;
}

.shaagird-cart-total-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #123F3D;
}

.shaagird-cart-total-val {
    font-size: 1.35rem;
    font-weight: 800;
    color: #299D8E;
}

.shaagird-cart-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 18px 24px 22px;
    border-top: 1px solid #E6F3F1;
}

.shaagird-cart-btn-secondary {
    background: #FFFFFF;
    border: 1.5px solid #CBD5E1;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
}

.shaagird-cart-btn-primary {
    background: linear-gradient(135deg, #299D8E 0%, #176E65 100%);
    border: none;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
}

/* =========================================================
   6. RESPONSIVE DESIGN (TABLETS & MOBILE)
   ========================================================= */
@media (max-width: 991px) {
    .shaagird-full-hero {
        min-height: 440px;
        background-position: 72% center;
    }

    .shaagird-hero-title {
        font-size: 40px;
    }

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

    .other-causes-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

@media (max-width: 767px) {
    .shaagird-full-hero {
        height: auto;
        min-height: 360px;
        background-position: 85% center;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .shaagird-hero-madrassa {
        background-image:
            linear-gradient(90deg, rgba(1, 134, 117, 0.95) 0%, rgba(1, 134, 117, 0.88) 55%, rgba(1, 134, 117, 0.45) 100%),
            url('../images/hero_madrassa.jpg');
        background-position: 85% center;
    }

    .shaagird-hero-learning {
        background-image:
            linear-gradient(90deg, rgba(2, 135, 118, 0.95) 0%, rgba(2, 135, 118, 0.88) 55%, rgba(2, 135, 118, 0.45) 100%),
            url('../images/hero_learning_centre.jpg');
        background-position: 85% center;
    }

    .shaagird-hero-orphan {
        background-image:
            linear-gradient(90deg, rgba(2, 135, 118, 0.95) 0%, rgba(2, 135, 118, 0.88) 55%, rgba(2, 135, 118, 0.45) 100%),
            url('../images/hero_orphan.jpg');
        background-position: 85% center;
    }

    .shaagird-hero-inner {
        width: calc(100% - 32px);
        margin: 0 auto;
        padding: 20px 0;
    }

    .shaagird-hero-content {
        max-width: 100%;
        width: 100%;
    }

    .shaagird-hero-title {
        font-size: 28px;
    }

    .shaagird-hero-desc {
        font-size: 13.5px;
        margin-bottom: 20px;
    }

    .shaagird-hero-btns {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 8px;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-outline {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        height: 44px;
        padding: 0 12px;
        font-size: 13.5px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        white-space: nowrap;
        border-radius: 28px;
        box-sizing: border-box;
    }

    .btn-hero-primary svg {
        width: 14px;
        height: 14px;
        flex-shrink: 0;
        margin-left: 3px;
    }

    .shaagird-impact-pills {
        grid-template-columns: 1fr;
        gap: 10px;
    }

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

    .shaagird-card-trust-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding-left: 10px;
    }
}

/* =========================================================
   7. DETAILED LEARNING CENTRE CONTENT COMPONENTS
   ========================================================= */
.shaagird-subheading-wrap {
    margin-top: 48px;
    margin-bottom: 24px;
    text-align: center;
}

.shaagird-subheading {
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 700;
    color: #123F3D;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.shaagird-subheading-lead {
    font-size: 1rem;
    color: #64748B;
    max-width: 680px;
    margin: 0 auto;
    line-height: 1.6;
}

/* 6-Item Needs Grid */
.shaagird-needs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0 20px;
    text-align: left;
}

.shaagird-need-card {
    background: #FFFFFF;
    border: 1px solid #DDE9E7;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-shadow: 0 4px 14px rgba(41, 157, 142, 0.05);
}

.shaagird-need-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(41, 157, 142, 0.14);
    border-color: #299D8E;
}

.shaagird-need-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #F0FAF8;
    color: #299D8E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.shaagird-need-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #123F3D;
    margin: 0;
}

.shaagird-need-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* =========================================================
   PREMIUM REFERENCE REDESIGN: THE LEARNING CENTRES YOU CAN HELP SUSTAIN
   (Matches Reference Image 1 Exactly: Kashmir, Delhi, Haryana, 
    Decorative Children Portraits, Handwritten Notes & Dark Purple CTA Bar)
   ========================================================= */
.shaagird-centres-section {
    position: relative;
    padding: 60px 0 55px 0;
    background: linear-gradient(180deg, #F0FAF8 0%, #FFFFFF 100%);
    border-top: 1px solid #D8EEEA;
    border-bottom: 1px solid #D8EEEA;
    overflow: hidden;
}

.shaagird-centres-bg-glow {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 480px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(240, 250, 248, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.shaagird-ref-container {
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* Section Header */
.shaagird-ref-header {
    margin-bottom: 34px;
}

.shaagird-ref-pill {
    display: inline-block;
    background: rgba(13, 148, 136, 0.09);
    color: #0D9488;
    border: 1px solid #C4ECE5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
}

.shaagird-ref-title {
    color: #102A36;
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 800;
    margin: 0 0 10px 0;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.shaagird-ref-teal-highlight {
    color: #0D9488;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.shaagird-ref-squiggle-wrap {
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px;
    pointer-events: none;
}

.shaagird-ref-squiggle {
    width: 100%;
    height: 100%;
    display: block;
}

.shaagird-ref-subtitle {
    color: #64748B;
    font-size: 15px;
    margin: 0 auto;
    max-width: 720px;
    line-height: 1.5;
}

/* Panoramic Stage with Children & 3 Cards */
.shaagird-ref-stage {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-bottom: 30px;
    min-height: 390px;
}

/* Flanking Decorative School Children */
.shaagird-ref-flank {
    position: absolute;
    bottom: 0;
    width: 210px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    user-select: none;
}

.shaagird-ref-flank-left {
    left: 8px;
}

.shaagird-ref-flank-right {
    right: 8px;
}

/* Handwritten Emotional Typography */
.shaagird-ref-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 22px;
    font-weight: 700;
    color: #0D9488;
    line-height: 1.15;
    position: relative;
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.shaagird-handwritten-left {
    transform: rotate(-6deg);
}

.shaagird-handwritten-right {
    transform: rotate(5deg);
}

.ref-hand-heart {
    width: 17px;
    height: 17px;
    display: inline-block;
    vertical-align: middle;
    margin-left: 4px;
}

.ref-hand-book {
    margin-top: 4px;
    display: inline-block;
}

.ref-sparkle-rays {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-top: 4px;
}

.ref-sparkle-rays span {
    display: block;
    width: 2px;
    height: 8px;
    background: #0D9488;
    border-radius: 2px;
    opacity: 0.85;
}

.ref-rays-left span:nth-child(1) { transform: rotate(-25deg); height: 10px; }
.ref-rays-left span:nth-child(2) { transform: rotate(0deg); height: 12px; }
.ref-rays-left span:nth-child(3) { transform: rotate(25deg); height: 10px; }

.ref-rays-right span:nth-child(1) { transform: rotate(-25deg); height: 10px; }
.ref-rays-right span:nth-child(2) { transform: rotate(0deg); height: 12px; }
.ref-rays-right span:nth-child(3) { transform: rotate(25deg); height: 10px; }

/* Portrait Image Container & Soft Organic Mint Aura */
.shaagird-ref-child-wrap {
    position: relative;
    width: 195px;
    height: 235px;
}

.shaagird-ref-organic-blob {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.22) 0%, rgba(240, 250, 248, 0.75) 55%, transparent 75%);
    filter: blur(14px);
    z-index: -1;
    top: 0;
}

.shaagird-blob-left {
    left: -20px;
}

.shaagird-blob-right {
    right: -20px;
}

.shaagird-ref-child-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 22px;
    border: 3px solid #FFFFFF;
    box-shadow: 0 14px 28px rgba(13, 148, 136, 0.16);
    display: block;
}

/* Central 3 Cards Grid */
.shaagird-ref-cards-grid {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

/* Card Outer Surface */
.shaagird-ref-card {
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.shaagird-ref-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(13, 148, 136, 0.14);
    border-color: #0D9488;
}

/* Card Top Landscape Banner */
.shaagird-ref-card-banner {
    height: 125px;
    width: 100%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.shaagird-ref-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.shaagird-ref-card:hover .shaagird-ref-card-banner img {
    transform: scale(1.04);
}

.shaagird-ref-banner-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 100%);
    pointer-events: none;
}

/* Overlapping Circular Floating Badge */
.shaagird-ref-card-badge-icon {
    position: absolute;
    top: 101px;
    left: 16px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0D9488;
    border: 3.5px solid #FFFFFF;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-size: 18px;
    z-index: 3;
}

.shaagird-ref-card-badge-icon svg {
    color: #FFFFFF;
    display: block;
}

/* Card Body Content */
.shaagird-ref-card-body {
    padding: 30px 16px 18px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.shaagird-ref-card-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.shaagird-ref-card-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #102A36;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.shaagird-ref-count-badge {
    background: #E6F7F5;
    color: #0D9488;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.shaagird-ref-card-desc {
    font-size: 12px;
    color: #64748B;
    margin: 4px 0 14px 0;
    line-height: 1.35;
}

/* Centre Rows List */
.shaagird-ref-centre-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.shaagird-ref-centre-row {
    background: #FFFFFF;
    border: 1px solid #D8EEEA;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-shadow: 0 1px 3px rgba(13, 148, 136, 0.03);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    cursor: default;
}

.shaagird-ref-centre-row:hover {
    transform: translateY(-2px);
    border-color: #0D9488;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.12);
    background: #F8FCFB;
}

.centre-row-left {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
}

.centre-pin-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #E6F7F5;
    color: #0D9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
}

.centre-name {
    font-size: 12px;
    font-weight: 600;
    color: #102A36;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.centre-arrow {
    color: #0D9488;
    font-size: 11px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.shaagird-ref-centre-row:hover .centre-arrow {
    transform: translateX(3px);
}

/* Bottom Horizontal Donation CTA Bar (Exact Reference Match) */
.shaagird-ref-cta-bar {
    margin: 28px auto 0 auto;
    max-width: 860px;
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    border-radius: 999px;
    padding: 8px 10px 8px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    box-shadow: 0 8px 24px rgba(13, 148, 136, 0.08);
    position: relative;
    z-index: 2;
}

.shaagird-ref-cta-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shaagird-ref-seedling-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
    padding: 6px;
}

.shaagird-cta-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.shaagird-ref-cta-text {
    font-size: 14px;
    color: #102A36;
}

.shaagird-ref-cta-text strong {
    font-weight: 700;
    color: #102A36;
}

.shaagird-ref-cta-sub {
    color: #64748B;
    margin-left: 4px;
}

.shaagird-ref-cta-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.shaagird-ref-donate-btn {
    background: #260D35 !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    padding: 9px 24px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(38, 13, 53, 0.25);
    white-space: nowrap;
}

.shaagird-ref-donate-btn:hover {
    background: #3B1652 !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(38, 13, 53, 0.35);
}

.shaagird-ref-btn-sparks {
    display: flex;
    align-items: center;
    color: #0D9488;
}

/* =========================================================
   RESPONSIVE BEHAVIOUR
   ========================================================= */
@media (max-width: 1239px) {
    .shaagird-ref-flank {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .shaagird-ref-cards-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
        gap: 20px;
    }

    .shaagird-ref-cta-bar {
        border-radius: 18px;
        padding: 14px 18px;
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .shaagird-ref-cta-left {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .shaagird-ref-cta-sub {
        display: block;
        margin-left: 0;
        margin-top: 2px;
    }

    .shaagird-ref-cta-right {
        justify-content: center;
        width: 100%;
    }

    .shaagird-ref-donate-btn {
        width: 100%;
        justify-content: center;
    }

    .shaagird-ref-btn-sparks {
        display: none;
    }
}

@media (max-width: 576px) {
    .shaagird-centres-section {
        padding: 40px 0 35px 0;
    }

    .shaagird-ref-title {
        font-size: 22px;
    }

    .shaagird-ref-subtitle {
        font-size: 13.5px;
        margin-bottom: 24px;
    }

    .shaagird-ref-card-banner {
        height: 120px;
    }

    .shaagird-ref-card-badge-icon {
        top: 96px;
        width: 44px;
        height: 44px;
        font-size: 17px;
    }

    .shaagird-ref-card-body {
        padding: 26px 14px 16px 14px;
    }
}

@media (max-width: 991px) {
    .shaagird-needs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .shaagird-centres-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
    }
}

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

/* =========================================================
   8. DEDICATED SPLIT CAUSE LAYOUT (TEXT LEFT + CARD RIGHT)
   Tight, crisp spacing, no excessive gaps
   ========================================================= */
.shaagird-split-section {
    padding: 36px 0 28px 0;
    background: #FFFFFF;
    position: relative;
    border-bottom: 1px solid #E6F3F1;
}

.shaagird-split-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.shaagird-split-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 32px;
    align-items: start;
}

.shaagird-split-left {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.shaagird-split-left .shaagird-eyebrow {
    margin-bottom: 10px;
    align-self: flex-start;
}

.shaagird-split-title {
    color: #123F3D;
    font-size: clamp(28px, 3vw, 38px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.shaagird-split-divider {
    width: 54px;
    height: 3px;
    background: linear-gradient(90deg, #299D8E, #176E65);
    border-radius: 2px;
    margin: 0 0 18px 0;
}

.shaagird-split-desc {
    color: #334155;
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0 0 14px 0;
    font-weight: 400;
    text-align: justify;
    text-justify: inter-word;
}

/* Needs sub-section inside left column */
.shaagird-split-needs-wrap {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #E6F3F1;
    min-width: 0;
    width: 100%;
}

.shaagird-split-subheading {
    color: #123F3D;
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.shaagird-split-sublead {
    color: #64748B;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* Facility Pills Grid - Exactly matching reference Image 2 */
.shaagird-split-needs-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
    min-width: 0;
}

.shaagird-facility-pill {
    min-width: 0;
    width: 100%;
    overflow: hidden;
    background: #FFFFFF;
    border: 1.5px solid #DDEBE7;
    border-radius: 12px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
    box-sizing: border-box;
}

.shaagird-facility-pill:hover {
    transform: translateY(-2px);
    border-color: #299D8E;
    box-shadow: 0 5px 14px rgba(41, 157, 142, 0.12);
}

.shaagird-facility-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(41, 157, 142, 0.1);
    color: #299D8E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.shaagird-facility-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
    overflow: hidden;
}

.shaagird-facility-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #123F3D;
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.shaagird-facility-desc {
    font-size: 11.5px;
    color: #64748B;
    margin: 2px 0 0 0;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Callout Box inside left */
.shaagird-difference-box {
    background: #F8FCFB;
    border-left: 3.5px solid #299D8E;
    padding: 16px 18px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 16px;
}

.shaagird-difference-title {
    color: #123F3D;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.shaagird-difference-text {
    color: #475569;
    font-size: 0.92rem;
    line-height: 1.6;
    margin: 0;
    text-align: justify;
    text-justify: inter-word;
}

/* Right Column (Sticky Card) */
.shaagird-split-right {
    position: sticky;
    top: 90px;
    z-index: 5;
    width: 100%;
}

/* Share Cause Box under Card (White Card with Border & Shadow on All Pages) */
.shaagird-share-box {
    margin-top: 16px;
    background: #FFFFFF;
    border: 1px solid #E2EBE8;
    box-shadow: 0 6px 20px rgba(18, 63, 61, 0.06);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    box-sizing: border-box;
}

.shaagird-share-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #123F3D;
}

.shaagird-share-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shaagird-share-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.shaagird-share-btn svg {
    display: block;
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.shaagird-share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.92;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.share-wa {
    background: #25D366;
}

.share-fb {
    background: #1877F2;
}

.share-tw {
    background: #000000;
    color: #FFFFFF;
}

/* Responsive adjustments */
@media (min-width: 992px) and (max-width: 1120px) {
    .shaagird-split-grid {
        grid-template-columns: minmax(0, 1fr) 390px;
        gap: 24px;
    }
}

@media (max-width: 991px) {
    .shaagird-split-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .shaagird-split-right {
        position: static;
        max-width: 440px;
        margin: 0 auto;
        width: 100%;
    }

    .shaagird-share-box {
        max-width: 440px;
        margin: 16px auto 0 auto;
    }

    /* 2-2 Grid maintained on tablet & mobile */
    .shaagird-split-needs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .shaagird-split-title {
        font-size: clamp(19px, 3.6vw, 23px);
        line-height: 1.28;
        letter-spacing: -0.3px;
    }
}

@media (max-width: 576px) {
    .shaagird-split-container {
        padding: 0 16px;
    }

    .shaagird-split-title {
        font-size: clamp(15.5px, 4.3vw, 18.5px);
        line-height: 1.32;
        letter-spacing: -0.25px;
        margin-bottom: 10px;
    }

    /* 2-2 Grid optimized for mobile screens */
    .shaagird-split-needs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px;
    }

    .shaagird-facility-pill {
        padding: 8px 10px;
        gap: 8px;
        border-radius: 10px;
    }

    .shaagird-facility-icon {
        width: 32px;
        height: 32px;
        font-size: 13px;
        border-radius: 8px;
    }

    .shaagird-facility-title {
        font-size: 11.5px;
        line-height: 1.25;
    }

    .shaagird-facility-desc {
        font-size: 10px;
        line-height: 1.25;
        white-space: normal;
    }

    .shaagird-split-desc,
    .shaagird-difference-text {
        text-align: justify;
        text-justify: inter-word;
    }
}

@media (max-width: 380px) {
    .shaagird-split-container {
        padding: 0 14px;
    }

    .shaagird-split-title {
        font-size: 15px;
        line-height: 1.32;
        letter-spacing: -0.2px;
    }
}

/* =========================================================
   SINGLE VIDEO SECTION: A STORY FROM OUR LEARNING CENTRES
   (Exact Match to Approved Reference Design)
   ========================================================= */
.shaagird-single-video-section {
    position: relative;
    padding: 26px 0 30px 0;
    background: linear-gradient(180deg, #F3FAF9 0%, #FFFFFF 100%);
    border-bottom: 1px solid #D8EEEA;
    overflow: hidden;
}

.shaagird-video-bg-glow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 780px;
    height: 320px;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, rgba(243, 250, 249, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.shaagird-video-container {
    max-width: 1040px;
    width: 95%;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

/* Header (Compact) */
.shaagird-video-header {
    margin-bottom: 16px;
    text-align: center;
    position: relative;
}

.shaagird-video-pill {
    display: inline-block;
    background: rgba(13, 148, 136, 0.09);
    color: #0D9488;
    border: 1px solid #C4ECE5;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 999px;
    margin-bottom: 6px;
}

.shaagird-video-title {
    color: #12343B;
    font-size: clamp(20px, 2.4vw, 27px);
    font-weight: 800;
    margin: 0 0 5px 0;
    letter-spacing: -0.4px;
    line-height: 1.25;
}

.shaagird-video-subtitle {
    color: #64748B;
    font-size: 13px;
    margin: 0 auto;
    max-width: 580px;
    line-height: 1.45;
}

.shaagird-video-sub-accent {
    margin-top: 5px;
    display: flex;
    justify-content: center;
    opacity: 0.8;
}

/* Flanking Decorative Phrases (Handwritten 'Caveat' Font - Snug inside container) */
.shaagird-video-flank {
    position: absolute;
    top: 4px;
    z-index: 1;
    pointer-events: none;
    user-select: none;
    display: flex;
    flex-direction: column;
}

.shaagird-video-flank-left {
    left: 8px;
    align-items: flex-start;
}

.shaagird-video-flank-right {
    right: 8px;
    align-items: flex-end;
}

.shaagird-video-handwritten {
    font-family: 'Caveat', cursive;
    font-size: 17px;
    font-weight: 700;
    color: #0D9488;
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.shaagird-video-handwritten-left {
    transform: rotate(-6deg);
    align-items: flex-start;
}

.shaagird-video-handwritten-right {
    transform: rotate(5deg);
    align-items: flex-end;
}

.video-hand-hearts {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
    gap: 2px;
}

.video-hand-book {
    display: inline-flex;
    align-items: center;
    margin-top: 2px;
}

.video-leaf-accent {
    margin-top: 3px;
    opacity: 0.7;
}

/* 2-Column Main Stage Layout (Desktop: ~65% / ~35%) */
.shaagird-video-stage-grid {
    display: grid;
    grid-template-columns: 1.85fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.shaagird-video-col-player {
    display: flex;
    flex-direction: column;
}

/* Video Outer Frame */
.shaagird-video-frame {
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    border-radius: 18px;
    padding: 5px;
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.08);
    height: 100%;
    display: flex;
    align-items: center;
}

.shaagird-video-player-inner {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    overflow: hidden;
    background: #0B1E22;
}

.shaagird-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease, opacity 0.3s ease;
}

.shaagird-video-player-inner:hover .shaagird-video-poster {
    transform: scale(1.02);
}

/* Scrim Gradient for Control Visibility */
.shaagird-video-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 30, 34, 0.85) 0%, rgba(11, 30, 34, 0.25) 30%, transparent 60%);
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.3s ease;
}

/* Top-Left Category Badge */
.shaagird-video-badge-top-left {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 4px 11px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 11.5px;
    color: #12343B;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 10;
    border: 1px solid rgba(216, 238, 234, 0.8);
    transition: opacity 0.3s ease;
}

.shaagird-video-badge-top-left .badge-icon {
    flex-shrink: 0;
}

/* Top-Right Duration Badge */
.shaagird-video-badge-duration {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(18, 52, 59, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 7px;
    border-radius: 5px;
    z-index: 10;
    letter-spacing: 0.3px;
    transition: opacity 0.3s ease;
}

/* Center Play Button */
.shaagird-video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
    outline: none;
    transition: transform 0.25s ease, opacity 0.3s ease;
}

.shaagird-video-play-btn .play-btn-ripple {
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    box-shadow: 0 0 0 8px rgba(13, 148, 136, 0.28), 0 0 0 16px rgba(13, 148, 136, 0.12);
    transition: all 0.3s ease;
    pointer-events: none;
}

.shaagird-video-play-btn .play-btn-inner {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0D9488;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(13, 148, 136, 0.4);
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.shaagird-video-play-btn .play-btn-inner svg {
    margin-left: 2px;
    width: 22px;
    height: 22px;
}

.shaagird-video-play-btn:hover .play-btn-inner {
    transform: scale(1.08);
    background: #087F75;
    box-shadow: 0 6px 20px rgba(8, 127, 117, 0.5);
}

.shaagird-video-play-btn:hover .play-btn-ripple {
    box-shadow: 0 0 0 11px rgba(13, 148, 136, 0.32), 0 0 0 20px rgba(13, 148, 136, 0.15);
}

/* Bottom Controls Bar */
.shaagird-video-controls-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 10px;
    z-index: 10;
    transition: opacity 0.3s ease;
}

.shaagird-video-controls-bar .ctrl-btn {
    background: transparent;
    border: none;
    color: #FFFFFF;
    cursor: pointer;
    padding: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    transition: opacity 0.2s ease, transform 0.2s ease;
    outline: none;
}

.shaagird-video-controls-bar .ctrl-btn svg {
    width: 15px;
    height: 15px;
}

.shaagird-video-controls-bar .ctrl-btn:hover {
    opacity: 1;
    transform: scale(1.12);
}

.shaagird-video-controls-bar .ctrl-time {
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.2px;
    font-variant-numeric: tabular-nums;
}

.shaagird-video-controls-bar .ctrl-progress-wrap {
    flex-grow: 1;
    height: 12px;
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 0 2px;
}

.shaagird-video-controls-bar .ctrl-progress-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    overflow: hidden;
    position: relative;
    transition: height 0.2s ease;
}

.shaagird-video-controls-bar .ctrl-progress-wrap:hover .ctrl-progress-track {
    height: 5px;
}

.shaagird-video-controls-bar .ctrl-progress-fill {
    height: 100%;
    background: #0D9488;
    border-radius: 999px;
}

.shaagird-video-controls-bar .ctrl-right-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Video Embed Overlay Box */
.shaagird-video-embed-box {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
    background: #000000;
    border-radius: 14px;
}

/* =========================================================
   RIGHT COLUMN: VIDEO INFORMATION CARD (COMPACT HEIGHT)
   ========================================================= */
.shaagird-video-col-info {
    display: flex;
    flex-direction: column;
}

.shaagird-video-info-card {
    background: #FFFFFF;
    border: 1.5px solid #D8EEEA;
    border-radius: 18px;
    padding: 18px 18px;
    box-shadow: 0 10px 28px rgba(13, 148, 136, 0.07);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.shaagird-video-info-card:hover {
    border-color: #B2E4DC;
    box-shadow: 0 14px 36px rgba(13, 148, 136, 0.1);
}

.video-info-title {
    color: #12343B;
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 5px 0;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.video-info-desc {
    color: #64748B;
    font-size: 12px;
    line-height: 1.45;
    margin: 0 0 12px 0;
}

/* Benefits List */
.video-benefits-group {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 14px;
}

.video-benefit-row {
    display: flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s ease;
}

.video-benefit-row:hover {
    transform: translateX(3px);
}

.benefit-icon-disc {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #E6F7F5;
    border: 1px solid #D2F0EB;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0D9488;
    transition: all 0.25s ease;
}

.benefit-icon-disc svg {
    width: 16px;
    height: 16px;
}

.video-benefit-row:hover .benefit-icon-disc {
    background: #CCFBF1;
    border-color: #0D9488;
    transform: scale(1.05);
}

.benefit-label {
    color: #12343B;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
}

/* CTA Button */
.video-cta-wrap {
    margin-top: auto;
    padding-top: 4px;
}

.shaagird-video-cta-btn {
    width: 100%;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #0D9488 0%, #087F75 100%);
    border: none;
    color: #FFFFFF;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.24);
    transition: all 0.25s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    text-decoration: none;
    outline: none;
}

.shaagird-video-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(8, 127, 117, 0.35);
    filter: brightness(1.05);
}

.shaagird-video-cta-btn:active {
    transform: translateY(0);
}

.shaagird-video-cta-btn:focus-visible {
    outline: 3px solid rgba(13, 148, 136, 0.45);
    outline-offset: 2px;
}

.cta-arrow-play {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.shaagird-video-cta-btn:hover .cta-arrow-play {
    transform: translateX(1px);
}

/* =========================================================
   RESPONSIVE DESIGN FOR SINGLE VIDEO SECTION
   ========================================================= */
@media (max-width: 1160px) {
    .shaagird-video-flank {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .shaagird-video-stage-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 620px;
        margin: 0 auto;
    }

    .shaagird-video-info-card {
        padding: 20px 18px;
    }

    .shaagird-single-video-section {
        padding: 24px 0 28px 0;
    }
}

@media (max-width: 768px) {
    .shaagird-single-video-section {
        padding: 20px 0 25px 0;
    }

    .shaagird-video-container {
        width: 100%;
        padding: 0 12px;
    }

    .shaagird-video-header {
        margin-bottom: 14px;
    }

    .shaagird-video-title {
        font-size: 21px;
    }

    .shaagird-video-subtitle {
        font-size: 12.5px;
    }

    .shaagird-video-frame {
        border-radius: 14px;
        padding: 4px;
    }

    .shaagird-video-player-inner {
        border-radius: 10px;
    }

    .shaagird-video-badge-top-left {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10.5px;
    }

    .shaagird-video-badge-duration {
        top: 8px;
        right: 8px;
        font-size: 10.5px;
        padding: 2px 6px;
    }

    .shaagird-video-play-btn {
        width: 52px;
        height: 52px;
    }

    .shaagird-video-play-btn .play-btn-inner {
        width: 42px;
        height: 42px;
    }

    .shaagird-video-play-btn .play-btn-inner svg {
        width: 18px;
        height: 18px;
    }

    .shaagird-video-controls-bar {
        height: 34px;
        padding: 0 8px;
        gap: 6px;
    }

    .shaagird-video-controls-bar .ctrl-time {
        font-size: 10px;
    }

    .shaagird-video-info-card {
        padding: 16px 14px;
        border-radius: 14px;
    }

    .video-info-title {
        font-size: 18px;
    }

    .video-info-desc {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .video-benefits-group {
        gap: 8px;
        margin-bottom: 12px;
    }

    .benefit-icon-disc {
        width: 30px;
        height: 30px;
    }

    .benefit-icon-disc svg {
        width: 14px;
        height: 14px;
    }

    .benefit-label {
        font-size: 12px;
    }

    .shaagird-video-cta-btn {
        height: 38px;
        font-size: 12.5px;
    }
}

@keyframes shaagirdSpin {
    to { transform: rotate(360deg); }
}