/* =========================================================
   ANIMAL CONNECT TRUST — ABOUT / VOLUNTEER PAGE
   ========================================================= */

html, body { 
    max-width: 100%; 
    overflow-x: hidden; 
}

.about-page {
    --ac-deep: #183b27;
    --ac-dark: #21472f;
    --ac-forest: #315b36;
    --ac-olive: #668744;
    --ac-light-olive: #78964d;
    --ac-orange: #ef7538;
    --ac-cream: #f8f8e8;
    --ac-paper: #fffef1;
    --ac-ink: #294a32;
    --ac-muted: #65745e;
    --ac-line: rgba(33,71,47,.12);
    --ac-shadow: 0 18px 45px rgba(26,55,35,.12);

    --dots-light: radial-gradient(rgba(33, 71, 47, 0.08) 1.5px, transparent 1.5px);
    --dots-dark: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.5px);
    --dots-size: 24px 24px;

    font-family: "DM Sans", sans-serif;
    color: var(--ac-ink);
    background: var(--ac-cream); 
    overflow-x: hidden;
}
.about-page *, .about-page *::before, .about-page *::after { box-sizing: border-box; }
.about-page img { display: block; max-width: 100%; }
.about-page a { text-decoration: none; }
.about-page figure { margin: 0; }

/* ---------- Small shared labels ---------- */
.ab-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 14px; border: 1px solid rgba(102,135,68,.22);
    border-radius: 999px; background: rgba(102,135,68,.10);
    color: var(--ac-forest); font-size: 11px; font-weight: 700;
    letter-spacing: 1.7px; line-height: 1.3; text-transform: uppercase;
}
.ab-eyebrow i { color: var(--ac-orange); }
.ab-doodle { position: absolute; pointer-events: none; user-select: none; }
.ab-doodle-paw { font-size: 52px; opacity: .13; }
.ab-doodle-heart { font-size: 100px; opacity: .13; }

/* =========================================================
   HERO SECTION
   ========================================================= */
.ab-hero {
    position: relative; isolation: isolate;
    display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
    align-items: center; gap: clamp(28px, 5vw, 76px);
    min-height: 620px; padding: 76px clamp(28px, 7vw, 110px) 100px;
    color: var(--ac-paper);
    background: var(--dots-dark) 0 0 / var(--dots-size),
      radial-gradient(circle at 78% 12%, rgba(120,150,77,.34), transparent 28%),
      radial-gradient(circle at 5% 95%, rgba(239,117,56,.18), transparent 32%),
      linear-gradient(125deg, #173a26 0%, #21472f 54%, #315b36 100%);
    border-radius: 0 0 54px 54px;
}
.ab-hero::before {
    content: ""; position: absolute; z-index: -1;
    width: 560px; height: 560px; right: -170px; top: -260px;
    border: 1px solid rgba(255,255,255,.12); border-radius: 50%;
    box-shadow: 0 0 0 35px rgba(255,255,255,.025), 0 0 0 75px rgba(255,255,255,.02);
    background-image: var(--dots-dark); background-size: 40px 40px;
    background-position: 20% 30%; opacity: .5;
}
.ab-hero .ab-doodle-paw { left: 48%; top: 8%; color: #fff; }
.ab-hero .ab-doodle-heart { right: 4%; bottom: 4%; color: #fff; }
.ab-hero-copy { position: relative; z-index: 2; max-width: 590px; }
.ab-hero-copy .ab-eyebrow, .ab-eyebrow-light {
    color: #fff4df; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22);
}
.ab-hero-copy h1 {
    margin: 24px 0 18px; color: var(--ac-paper);
    font-family: "Caveat", cursive; font-size: clamp(58px, 7vw, 94px);
    font-weight: 700; line-height: .88; letter-spacing: -1.5px;
}
.ab-hero-copy h1 .tw-line { display: block; }
.ab-hero-copy h1 .tw-line--accent { color: #ff9a61; }
.ab-handwritten {
    margin: 0 0 20px; color: #fff0d8;
    font-family: "Kalam", cursive; font-size: clamp(23px, 2.6vw, 32px); line-height: 1.25;
}
.ab-intro { max-width: 530px; margin: 0; color: rgba(255,254,241,.86); font-size: 15px; line-height: 1.85; }
.ab-hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.ab-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 48px; padding: 13px 22px; border: 1px solid transparent;
    border-radius: 999px; font-size: 13px; font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.ab-btn:hover { transform: translateY(-3px); }
.ab-btn.primary { color: #fff; background: var(--ac-orange); box-shadow: 0 9px 22px rgba(239,117,56,.28); }
.ab-btn.primary:hover { box-shadow: 0 13px 28px rgba(239,117,56,.38); }
.ab-btn.ghost { color: var(--ac-dark); background: var(--ac-paper); }

/* =========================================================
   HERO COLLAGE (FIXED IMAGE SQUISH & BADGE)
   ========================================================= */
.ab-hero-photos {
    position: relative; 
    width: 100%; 
    max-width: 520px; 
    justify-self: end;
    display: grid; 
    grid-template-columns: 1.1fr 0.9fr; 
    grid-template-rows: auto auto; 
    gap: 20px; 
    padding: 15px; 
    margin-right: 75px; /* Gives room for the badge to float outside */
}

.ab-photo {
    position: relative; 
    background: var(--ac-paper); 
    padding: 10px 10px 45px 10px; 
    border-radius: 12px; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.25);
    display: flex; 
    flex-direction: column; 
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer; 
    z-index: 1; 
}

.ab-photo img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 6px; 
    transition: transform 0.5s ease; 
}

.ab-photo figcaption {
    position: absolute; bottom: 12px; left: 10px; right: 10px;
    text-align: center; font-family: "Kalam", cursive; font-size: 15px;
    font-weight: 700; color: var(--ac-dark); line-height: 1.2; 
    transition: color 0.3s ease;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis; 
}

/* Left Tall Image - Perfect Square */
.ab-photo-main { 
    grid-column: 1; 
    grid-row: 1 / span 2; 
    transform: rotate(-4deg); 
    margin-top: 15px; 
    margin-bottom: 15px; 
    aspect-ratio: 1 / 1; 
    height: auto; 
}

.ab-photo-main img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center 20%; 
}

/* Right Top Image - Fixed Width to prevent squishing */
.ab-photo-top { 
    grid-column: 2; 
    grid-row: 1; 
    transform: rotate(5deg); 
    height: 210px;
    width: 240px; /* Prevents image from shrinking */
}
.ab-photo-top img {
    object-position: center 60%; 
}

/* Right Bottom Image */
.ab-photo-bottom { 
    grid-column: 2; 
    grid-row: 2; 
    transform: rotate(-3deg); 
    margin-bottom: 15px; 
    height: 190px;
    border: none;
}
.ab-photo-bottom img {
    object-position: center;
}

/* Badge - Locked to -75px */
.ab-badge {
    position: absolute; 
    z-index: 10; 
    right: -75px; 
    top: 0px;     
    display: flex; 
    width: 100px; 
    height: 100px;
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    border: 4px solid var(--ac-paper); 
    border-radius: 50%;
    color: #fff; 
    text-align: center; 
    background: var(--ac-orange);
    box-shadow: 0 12px 25px rgba(0,0,0,0.3); 
    transform: rotate(10deg); 
    pointer-events: none;
}
.ab-badge strong { font-family: "Caveat", cursive; font-size: 32px; line-height: 1; margin-bottom: 2px; }
.ab-badge span { font-size: 9px; font-weight: 700; line-height: 1.1; text-transform: uppercase; }

/* Hover Effects */
.ab-photo-main:hover { background: var(--ac-forest); border-color: var(--ac-orange); box-shadow: 0 30px 60px rgba(0,0,0,0.4), 0 0 0 4px rgba(239,117,56,0.35); transform: rotate(0deg) translateY(-10px) scale(1.03); z-index: 10; }
.ab-photo-main:hover figcaption { color: #ffd7b8; }
.ab-photo-top:hover { background: var(--ac-orange); border-color: #ffd7b8; box-shadow: 0 30px 60px rgba(239,117,56,0.4), 0 0 0 4px rgba(255,255,255,0.35); transform: rotate(0deg) translateY(-10px) scale(1.05); z-index: 10; }
.ab-photo-top:hover figcaption { color: #fff4df; }
.ab-photo-bottom:hover { background: var(--ac-olive); border-color: #e7f0c9; box-shadow: 0 30px 60px rgba(102,135,68,0.4), 0 0 0 4px rgba(255,255,255,0.35); transform: rotate(0deg) translateY(-10px) scale(1.05); z-index: 10; }
.ab-photo-bottom:hover figcaption { color: #f4ffd9; }
.ab-photo:hover img { transform: scale(1.03); }

/* =========================================================
   IMPACT STRIP
   ========================================================= */
.ab-impact {
    position: relative; z-index: 5; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
    width: min(1120px, calc(100% - 64px)); margin: -38px auto 0; padding: 30px 22px;
    background: rgba(24, 59, 39, 0.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15); border-top: 4px solid var(--ac-orange);
    border-radius: 24px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden; opacity: 0; transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.ab-impact.is-visible { opacity: 1; transform: translateY(0); }
.ab-impact::before {
    content: ""; position: absolute; top: -50%; left: -20%; width: 50%; height: 200%;
    background: radial-gradient(circle, rgba(239,117,56,0.15) 0%, transparent 60%);
    pointer-events: none; z-index: 0;
}
.ab-impact-item {
    position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 4px; padding: 10px; text-align: center; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); cursor: default;
}
.ab-impact-item:hover { transform: translateY(-5px); }
.ab-impact-item:not(:last-child)::after {
    content: ""; position: absolute; right: 0; top: 15%; height: 70%; width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.2), transparent);
}
.ab-impact-item strong {
    color: var(--ac-paper); font-family: "Caveat", cursive; font-size: clamp(36px, 4vw, 48px);
    font-weight: 700; line-height: 1; text-shadow: 0 4px 12px rgba(0,0,0,0.3);
    transition: color 0.3s ease, transform 0.3s ease;
}
.ab-impact-item:hover strong { color: #ff9a61; transform: scale(1.1); }
.ab-impact-item span {
    color: rgba(255, 254, 241, 0.85); font-size: 11px; font-weight: 600;
    letter-spacing: 0.5px; text-transform: uppercase; transition: color 0.3s ease;
}
.ab-impact-item:hover span { color: var(--ac-paper); }
.ab-impact::after {
    content: ""; position: absolute; left: 50%; bottom: -14px; width: 60px; height: 6px; transform: translateX(-50%);
    background-image: radial-gradient(rgba(33,71,47,.4) 2px, transparent 2.5px); background-size: 10px 10px;
    background-repeat: repeat-x; pointer-events: none;
}

/* =========================================================
   COMMON LIGHT SECTIONS
   ========================================================= */
.ab-section, .ab-story, .ab-foster, .ab-community, .ab-registration {
    padding: clamp(65px, 7vw, 100px) clamp(24px, 7vw, 100px);
    background-image: var(--dots-light); background-size: var(--dots-size); background-position: 0 0;
}
.ab-section { background-color: var(--ac-cream); }
.ab-story, .ab-community { background-color: #f1f0dc; }
.ab-heading { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.ab-heading h2 { margin: 15px 0 12px; color: var(--ac-dark); font-family: "Caveat", cursive; font-size: clamp(38px, 4.3vw, 54px); line-height: 1; }
.ab-heading p { margin: 0; color: var(--ac-muted); font-size: 15px; line-height: 1.7; }
.ab-heading-light h2 { color: var(--ac-paper); }
.ab-heading-light p { color: rgba(255,254,241,.78); }

/* =========================================================
   THREE SERVICE CARDS (FIXED HEIGHT & BADGES)
   ========================================================= */
.ab-work-grid { 
    display: grid; 
    grid-template-columns: repeat(3, minmax(0, 1fr)); 
    gap: 24px; 
    max-width: 1180px; 
    margin: 0 auto; 
}

.ab-work-card {
    position: relative; 
    overflow: hidden; 
    border: 1px solid var(--ac-line); 
    border-radius: 22px;
    background: #ffffff; 
    box-shadow: 0 10px 30px rgba(33,71,47,.075);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}

.ab-work-card:hover { 
    transform: translateY(-8px); 
    box-shadow: 0 20px 42px rgba(33,71,47,.14); 
}

/* The Image Box */
.ab-work-image { 
    position: relative;
    width: 100%;
    height: 250px; 
    overflow: hidden; 
}

/* Gradient for text readability */
.ab-work-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    z-index: 1;
    pointer-events: none;
}

.ab-work-image img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform .55s ease; 
}

/* Perfect Face Positioning */
.ab-work-card:nth-child(1) .ab-work-image img { object-position: center 40%; } 
.ab-work-card:nth-child(2) .ab-work-image img { object-position: center 20%; } 
.ab-work-card:nth-child(3) .ab-work-image img { object-position: center 30%; }

.ab-work-card:hover .ab-work-image img { 
    transform: scale(1.05); 
}

/* "Discover our gallery" Badge */
.ab-card-gallery-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px !important;           
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(4px);
    color: #ffffff !important;
    font-family: 'DM Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    pointer-events: none;
    text-shadow: none;
}

.ab-card-gallery-badge i,
.ab-card-gallery-badge .fa-images {
    display: none !important; 
}

.ab-card-gallery-badge::before { 
    content: "📸"; 
    font-size: 12px; 
    display: inline-block;
}

/* The Text Content */
.ab-work-copy { 
    position: relative; 
    z-index: 3;
    background: #ffffff;
    padding: 20px 24px;
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
}

/* The floating icon */
.ab-work-icon {
    position: absolute;
    top: -25px; 
    left: 24px;
    display: grid; 
    place-items: center; 
    width: 54px; 
    height: 54px;
    border-radius: 50%;
    color: #fff; 
    background: var(--ac-orange); 
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(0,0,0,.2);
    z-index: 10; 
    border: 4px solid #ffffff; 
}
.ab-work-card:nth-child(2) .ab-work-icon { background: var(--ac-olive); }
.ab-work-card:nth-child(3) .ab-work-icon { background: var(--ac-forest); }

.ab-work-copy h3 {
    margin: 12px 0 8px; 
    color: var(--ac-dark);
    font-family: "Caveat", cursive; 
    font-size: 26px; 
    line-height: 1.05;
}

.ab-work-copy p { 
    margin: 0; 
    color: var(--ac-muted); 
    font-size: 12.5px; 
    line-height: 1.5; 
}

/* =========================================================
   ORIGIN STORY (FIXED IMAGE NATURAL SHAPE)
   ========================================================= */
.ab-story { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: clamp(38px, 6vw, 88px); }
.ab-story-photo-wrap { position: relative; width: 100%; max-width: 490px; margin: auto; }
.ab-story-photo { 
    overflow: hidden; 
    padding: 12px; 
    border: 2px dashed rgba(33,71,47,.15); 
    border-radius: 25px; 
    background-color: var(--ac-paper); 
    background-image: radial-gradient(rgba(33, 71, 47, 0.1) 1.5px, transparent 1.5px); 
    background-size: 16px 16px; 
    box-shadow: 0 18px 42px rgba(33,71,47,.15); 
    transform: rotate(-2deg); 
}
.ab-story-photo img { 
    width: 100%; 
    height: auto; 
    object-fit: contain; 
    border-radius: 15px; 
}
.ab-story-sticker { position: absolute; top: -22px; right: -18px; display: flex; width: 108px; height: 108px; flex-direction: column; align-items: center; justify-content: center; border: 5px solid #f1f0dc; border-radius: 50%; color: #fff; background: var(--ac-orange); text-align: center; font-family: "Kalam", cursive; font-size: 17px; line-height: 1.1; transform: rotate(9deg); box-shadow: 0 9px 20px rgba(33,71,47,.16); }
.ab-story-sticker strong { font-family: "Caveat", cursive; font-size: 32px; }
.ab-story-copy h2, .ab-foster-copy h2, .ab-community-copy h2, .ab-registration-copy h2 { margin: 16px 0 20px; color: var(--ac-dark); font-family: "Caveat", cursive; font-size: clamp(38px, 4vw, 52px); line-height: .98; }
.ab-story-copy p, .ab-community-copy p { margin: 0 0 14px; color: #53664f; font-size: 14.5px; line-height: 1.85; }

/* =========================================================
   JOURNEY
   ========================================================= */
.ab-journey {
    position: relative; overflow: hidden; margin: 18px 22px; padding: 82px clamp(24px, 6vw, 80px) 88px; border-radius: 34px;
    background: var(--dots-dark) 0 0 / var(--dots-size), radial-gradient(circle at 8% 10%, rgba(239,117,56,.18), transparent 30%), radial-gradient(circle at 90% 90%, rgba(120,150,77,.2), transparent 35%), linear-gradient(125deg, #183b27, #21472f 60%, #315b36);
}
.ab-journey .ab-doodle-journey { top: 28px; right: 5%; color: #fff; }
.ab-journey .ab-heading { position: relative; z-index: 1; }
.ab-journey-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1220px; margin: 0 auto; }
.ab-journey-steps::before { content: ""; position: absolute; top: 34px; left: 8%; right: 8%; border-top: 1px dashed rgba(255,255,255,.3); }
.ab-journey-step { position: relative; padding: 25px 21px 26px; border: 1px solid rgba(255,255,255,.16); border-radius: 19px; background: rgba(255,255,255,.075); backdrop-filter: blur(5px); transition: transform .25s ease, background .25s ease; }
.ab-journey-step:hover { transform: translateY(-6px); background: rgba(255,255,255,.12); }
.ab-journey-number { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border: 4px solid #21472f; border-radius: 50%; color: #fff; background: var(--ac-orange); font-family: "Caveat", cursive; font-size: 27px; line-height: 1; }
.ab-journey-step h3 { margin: 0 0 10px; color: var(--ac-paper); font-family: "Caveat", cursive; font-size: 25px; line-height: 1.05; }
.ab-journey-step p { margin: 0; color: rgba(255,254,241,.76); font-size: 12.8px; line-height: 1.7; }

/* =========================================================
   FOSTER (FIXED SQUARE IMAGES)
   ========================================================= */
.ab-foster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: center; gap: clamp(38px, 6vw, 82px); background-color: var(--ac-cream); }
.ab-foster-copy > p { margin: 0 0 20px; color: var(--ac-muted); font-size: 14.5px; line-height: 1.75; }
.ab-foster-list { display: grid; gap: 10px; margin: 0 0 22px; padding: 0; list-style: none; }
.ab-foster-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 15px; border: 1px solid var(--ac-line); border-radius: 13px; color: #53664f; background: var(--ac-paper); font-size: 13.5px; line-height: 1.55; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: default; }
.ab-foster-list li i { flex: 0 0 auto; margin-top: 3px; color: var(--ac-orange); transition: transform 0.3s ease, color 0.3s ease; }
.ab-foster-list li:hover { background: var(--ac-paper); border-color: var(--ac-orange); box-shadow: 0 8px 20px rgba(33,71,47,.08); transform: translateX(6px); color: var(--ac-dark); }
.ab-foster-list li:hover i { color: var(--ac-orange); transform: scale(1.2) rotate(-10deg); }
.ab-space-note { padding: 17px 19px; border-left: 4px solid var(--ac-orange); border-radius: 0 14px 14px 0; background: #f8e9dc; }
.ab-space-note strong { display: block; margin-bottom: 7px; color: #a94f21; font-size: 13px; }
.ab-space-note p { margin: 0; color: #76533e; font-size: 13px; line-height: 1.65; }

.ab-foster-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; position: relative; max-width: 480px; width: 100%; margin: auto; }
.ab-foster-photo-one, .ab-foster-photo-two { position: relative; display: flex; overflow: hidden; padding: 8px 8px 35px 8px; border: 1px solid rgba(33,71,47,.1); border-radius: 18px; background: var(--ac-paper); box-shadow: 0 18px 42px rgba(33,71,47,.16); aspect-ratio: 1 / 1; transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .4s cubic-bezier(.22,1,.36,1); }
.ab-foster-photo-one { transform: rotate(-3deg); }
.ab-foster-photo-two { transform: rotate(4deg) translateY(20px); }
.ab-foster-photo-one img, .ab-foster-photo-two img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; border-radius: 10px; transition: transform .55s ease, filter .35s ease; }
.ab-foster-heart { position: absolute; z-index: 3; top: 50%; left: 50%; display: flex; width: 90px; height: 90px; flex-direction: column; align-items: center; justify-content: center; border: 4px solid var(--ac-cream); border-radius: 50%; color: #fff; background: var(--ac-orange); text-align: center; box-shadow: 0 10px 25px rgba(239,117,56,.35); transform: translate(-50%, -50%) rotate(-8deg); pointer-events: none; }
.ab-foster-heart span { font-family: "Caveat", cursive; font-size: 38px; line-height: 1; }
.ab-foster-heart small { max-width: 70px; font-size: 8px; font-weight: 700; line-height: 1.2; text-transform: uppercase; }
.ab-foster-photo-one:hover { background: var(--ac-orange); border-color: #ffd7b8; box-shadow: 0 22px 50px rgba(239,117,56,.4); transform: rotate(0deg) translateY(-5px) scale(1.03); z-index: 4; }
.ab-foster-photo-two:hover { background: var(--ac-olive); border-color: #e7f0c9; box-shadow: 0 22px 50px rgba(102,135,68,.4); transform: rotate(0deg) translateY(-5px) scale(1.03); z-index: 4; }
.ab-foster-photo-one:hover img, .ab-foster-photo-two:hover img { transform: scale(1.04); filter: brightness(1.05); }

/* =========================================================
   MERGED COMMUNITY & BELIEF
   ========================================================= */
.ab-community-merged {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 60px); align-items: center;
    max-width: 1120px; margin: 40px auto; padding: clamp(30px, 6vw, 60px);
    background-color: var(--ac-cream); background-image: var(--dots-light); background-size: var(--dots-size);
    border: 1px solid var(--ac-line); border-radius: 30px; box-shadow: 0 20px 50px rgba(33,71,47,.12);
    position: relative; overflow: hidden;
}
.ab-community-photo-wrap { width: 100%; height: 360px; border-radius: 30px; padding: 6px; background: var(--ac-paper); border: 1px solid var(--ac-line); box-shadow: 0 12px 30px rgba(0,0,0,.08); transition: background-color .35s ease, border-color .35s ease, box-shadow .35s ease, transform .4s ease; overflow: hidden; }
.ab-community-photo-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 14px; transition: transform 0.5s ease; }
.ab-community-photo-wrap:hover { background: var(--ac-forest); border-color: var(--ac-orange); box-shadow: 0 22px 50px rgba(33,71,47,.28), 0 0 0 4px rgba(239,117,56,.25); transform: translateY(-5px); }
.ab-community-photo-wrap:hover img { transform: scale(1.03); filter: brightness(1.05); }
.ab-community-content { display: flex; flex-direction: column; gap: 24px; }
.ab-community-copy { text-align: left; }
.ab-community-copy h2 { margin-top: 10px; margin-bottom: 12px; font-family: "Caveat", cursive; color: var(--ac-dark); font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.ab-community-copy p { font-size: 14px; line-height: 1.75; color: var(--ac-muted); margin-bottom: 10px; }
.ab-belief-inner { position: relative; padding: 30px; background-color: var(--ac-paper); background-image: var(--dots-light); background-size: var(--dots-size); border: 1px solid var(--ac-line); border-radius: 20px; box-shadow: 0 10px 30px rgba(33,71,47,.06); transition: transform .3s ease, box-shadow .3s ease; }
.ab-belief-inner:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(33,71,47,.12); }
.ab-belief-inner::before { content: "“"; position: absolute; top: 10px; right: 20px; font-family: "Caveat", cursive; font-size: 80px; line-height: 1; color: rgba(239, 117, 56, 0.15); }
.ab-belief-inner .ab-eyebrow { margin-bottom: 12px; font-size: 10px; padding: 6px 12px; }
.ab-belief-inner h3 { font-family: "Caveat", cursive; font-size: clamp(24px, 2.5vw, 32px); line-height: 1.05; color: var(--ac-dark); margin: 0 0 12px 0; }
.ab-belief-inner p { font-size: 13px; line-height: 1.65; color: var(--ac-muted); margin: 0; }

/* =========================================================
   CLOSING BAND
   ========================================================= */
.ab-closing { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin: 24px 18px 0; border-radius: 28px; overflow: hidden; background: var(--dots-dark) 0 0 / var(--dots-size), linear-gradient(125deg, #183b27, #315b36); color: var(--ac-paper); box-shadow: 0 18px 45px rgba(26,55,35,.18); }
.ab-closing .ab-registration { margin: 0; padding: 42px 34px; border: 0; border-radius: 0; background: transparent; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ab-closing .ab-registration-copy .ab-eyebrow { color: #fff4df; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }
.ab-closing .ab-registration-copy h2 { color: var(--ac-paper); margin: 12px 0 10px; }
.ab-closing .ab-registration-copy p { color: rgba(255,254,241,.8); font-size: 13.5px; line-height: 1.65; }
.ab-closing .ab-registration-tags { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ab-closing .ab-registration-tags span { display: flex; align-items: center; gap: 9px; padding: 14px 15px; border: 1px solid rgba(255,255,255,.2); border-radius: 13px; background: rgba(255,255,255,.08); color: var(--ac-paper); font-family: "Kalam", cursive; font-size: 19px; font-weight: 700; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; }
.ab-closing .ab-registration-tags span i { color: #ff9a61; font-size: 15px; }
.ab-closing .ab-registration-tags span:hover { background: var(--ac-paper); border-color: var(--ac-paper); color: var(--ac-dark); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25); transform: translateY(-5px) scale(1.02); }
.ab-closing .ab-registration-tags span:hover i { color: var(--ac-orange); transform: scale(1.15); }
.ab-closing .ab-cta { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: 42px 34px; border-radius: 0; background: linear-gradient(90deg, rgba(18,48,30,.72), rgba(33,71,47,.82)), url("helping.jpeg") center/cover no-repeat; text-align: left; display: flex; align-items: center; }
.ab-closing .ab-cta-overlay { position: absolute; z-index: -1; inset: 0; background: radial-gradient(circle at 15% 15%, rgba(239,117,56,.25), transparent 38%), radial-gradient(circle at 90% 90%, rgba(120,150,77,.25), transparent 38%); }
.ab-closing .ab-cta-content { max-width: none; margin: 0; }
.ab-closing .ab-cta-paw { display: block; margin-bottom: 8px; color: #ff9a61; font-size: 34px; }
.ab-closing .ab-cta h2 { margin: 10px 0 12px; color: var(--ac-paper); font-family: "Caveat", cursive; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.02; }
.ab-closing .ab-cta p { margin: 0 0 18px; color: rgba(255,254,241,.85); font-size: 13px; line-height: 1.6; }
.ab-closing .ab-cta-actions { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 10px; }
.ab-closing .ab-cta-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 42px; padding: 10px 18px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-weight: 700; transition: transform .25s ease, background .25s ease; }
.ab-closing .ab-cta-btn:hover { transform: translateY(-3px); }
.ab-closing .ab-cta-btn.primary { color: #fff; background: var(--ac-orange); }
.ab-closing .ab-cta-btn.ghost { color: var(--ac-paper); border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.08); }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { position: relative; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: var(--dots-dark); background-size: var(--dots-size); opacity: .45; pointer-events: none; }

/* =========================================================
   COMPACT LAYOUT
   ========================================================= */
.about-page { font-size: 14px; }
.ab-hero { min-height: 500px; padding-top: 58px; padding-bottom: 58px; gap: 34px; }
.ab-hero-copy h1 { font-size: clamp(48px, 5vw, 66px); }
.ab-intro { font-size: 14px; line-height: 1.55; }
.ab-hero-actions { margin-top: 20px; gap: 9px; }
.ab-btn { min-height: 42px; padding: 10px 18px; font-size: 12px; }
.ab-section, .ab-story, .ab-foster, .ab-community, .ab-registration { padding-top: 40px; padding-bottom: 40px; }
.ab-heading { margin-bottom: 22px; }
.ab-heading h2 { margin: 9px 0; font-size: clamp(32px, 3.6vw, 44px); }
.ab-heading p { font-size: 13px; line-height: 1.55; }
.ab-work-grid { gap: 18px; }
.ab-work-copy { padding: 25px 19px 20px; }
.ab-work-copy h3 { margin-bottom: 7px; font-size: 25px; }
.ab-work-copy p { font-size: 12px; line-height: 1.55; }
.ab-story { gap: 34px; }
.ab-story-copy h2, .ab-foster-copy h2, .ab-community-copy h2, .ab-registration-copy h2 { font-size: clamp(32px, 3.5vw, 43px); }
.ab-story-copy p, .ab-community-copy p { font-size: 13px; line-height: 1.6; }
.ab-journey { margin: 8px 14px; padding: 40px 5%; border-radius: 23px; }
.ab-journey-steps { gap: 12px; }
.ab-journey-step { padding: 17px; }
.ab-journey-step h3 { margin-bottom: 6px; font-size: 22px; }
.ab-journey-step p { font-size: 11.5px; line-height: 1.5; }
.ab-foster { gap: 32px; }
.ab-foster-copy > p { margin-bottom: 14px; font-size: 13px; line-height: 1.6; }
.ab-foster-list { gap: 7px; margin-bottom: 16px; }
.ab-foster-list li { padding: 9px 12px; font-size: 12px; }
.ab-closing { margin-top: 18px; }
.ab-closing .ab-registration-copy p { font-size: 12.5px; line-height: 1.55; }
.ab-closing .ab-registration-tags { gap: 9px; }
.ab-closing .ab-registration-tags span { padding: 11px 12px; font-size: 17px; }
.ab-closing .ab-registration-tags span i { font-size: 14px; }
.ab-closing .ab-cta-paw { font-size: 30px; }
.ab-closing .ab-cta h2 { font-size: clamp(28px, 3vw, 38px); }
.ab-closing .ab-cta p { font-size: 12.5px; line-height: 1.55; }
.ab-closing .ab-cta-btn { min-height: 40px; padding: 9px 16px; font-size: 11.5px; }

/* =========================================================
   VOLUNTEER SPECIFIC STYLES
   ========================================================= */
body.volunteer-page .about-page {
    background-image: 
        var(--dots-dark), 
        radial-gradient(circle at 10% 20%, rgba(239, 117, 56, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(102, 135, 68, 0.25) 0%, transparent 40%),
        linear-gradient(135deg, #173a26 0%, #21472f 100%);
    background-color: var(--ac-forest);
    background-size: var(--dots-size), auto, auto, auto;
}

body.volunteer-page .ab-section { background-color: transparent; background-image: none; }
body.volunteer-page .ab-heading h2 { color: var(--ac-paper); }
body.volunteer-page .ab-heading p { color: rgba(255, 254, 241, 0.85); }
body.volunteer-page .ab-eyebrow { color: #fff4df; background: rgba(255,255,255,.09); border-color: rgba(255,255,255,.22); }

.vol-profile-card {
    position: relative;
    display: grid;
    grid-template-columns: 200px 1fr; 
    gap: 25px; 
    align-items: center;
    max-width: 900px; 
    margin: 0 auto 30px auto; 
    padding: 25px 30px; 
    background: #ffffff; 
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 20px; 
    box-shadow: 0 15px 35px rgba(0,0,0,.2); 
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    overflow: hidden;
}

.vol-profile-card::before {
    content: "🐾";
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 150px;
    opacity: 0.04;
    transform: rotate(-15deg);
    pointer-events: none;
}

.vol-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.3);
    border-color: var(--ac-orange);
}

.vol-photo {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 14px; 
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border: 3px solid var(--ac-paper); 
    z-index: 2;
}

.vol-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.vol-profile-card:hover .vol-photo img {
    transform: scale(1.05);
}

.vol-content {
    display: flex;
    flex-direction: column;
    gap: 6px; 
    z-index: 2;
}

.vol-name {
    font-family: "Caveat", cursive;
    font-size: 34px; 
    color: var(--ac-dark);
    margin: 0;
    line-height: 1;
}

.vol-role {
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ac-orange);
    margin: 0;
}

.vol-title {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--ac-muted);
    margin: 0 0 10px 0;
}

.vol-quote {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #53664f;
    margin: 0;
    padding: 12px 15px;
    font-style: italic;
    border-left: 3px solid var(--ac-orange); 
    background: rgba(239, 117, 56, 0.04); 
    border-radius: 0 8px 8px 0; 
}

.ab-registration .ab-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    transition: transform .25s ease, background .25s ease;
    text-decoration: none;
}
.ab-registration .ab-cta-btn:hover { transform: translateY(-3px); }
.ab-registration .ab-cta-btn.primary { color: #fff; background: var(--ac-orange); box-shadow: 0 9px 22px rgba(239,117,56,.28); }

/* =========================================================
   VOLUNTEER — OUR HELPING TEAM (Grid Layout)
   ========================================================= */
.vol-team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 30px;
    max-width: 700px; 
    margin: 0 auto;
}

.vol-team-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.vol-team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,.25);
}

.vol-team-photo {
    width: 100%;
    height: 250px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 15px;
    background: var(--ac-cream);
}

.vol-team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.vol-team-info h4 {
    font-family: "Caveat", cursive;
    font-size: 26px;
    color: var(--ac-dark);
    margin: 0 0 4px 0;
    line-height: 1;
}

.vol-team-info p {
    font-family: "DM Sans", sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--ac-orange);
    margin: 0;
}

/* =========================================================
   VOLUNTEER — PROGRAMS CHECKLIST BOX
   ========================================================= */
.vol-programs-box {
    max-width: 900px;
    margin: 0 auto;
    background: #ffffff;
    padding: 35px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
    border: 1px solid rgba(255,255,255,.2);
}

.vol-programs-box h3 {
    font-family: "Caveat", cursive;
    font-size: 32px;
    color: var(--ac-dark);
    margin: 0 0 20px 0;
    text-align: center;
    line-height: 1;
}

.vol-programs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 15px;
}

.vol-programs-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed var(--ac-line);
}

.vol-programs-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.vol-programs-list li i {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    background: rgba(239, 117, 56, 0.1);
    color: var(--ac-orange);
    border-radius: 50%;
    font-size: 16px;
    margin-top: 2px;
}

.vol-programs-list li div {
    font-family: "DM Sans", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--ac-muted);
}

.vol-programs-list li strong {
    color: var(--ac-dark);
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

/* =========================================================
   CONTACT PAGE SPECIFIC STYLES
   ========================================================= */
.contact-hero { text-align: center; padding: 60px 20px 40px; }
.contact-hero h1 { font-family: "Caveat", cursive; font-size: clamp(48px, 6vw, 76px); color: var(--ac-paper); margin: 0 0 15px 0; line-height: 1; text-shadow: 0 4px 15px rgba(0,0,0,0.3); }
.contact-hero p { max-width: 700px; margin: 0 auto; font-size: 15px; line-height: 1.8; color: rgba(255, 254, 241, 0.85); }

.contact-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 30px; max-width: 1100px; margin: 0 auto 60px auto; padding: 0 20px; }

.contact-info-card { background: rgba(24, 59, 39, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px 30px; display: flex; flex-direction: column; gap: 30px; }
.contact-info-card h2 { font-family: "Caveat", cursive; font-size: 36px; color: var(--ac-paper); margin: 0 0 10px 0; }
.contact-info-item { display: flex; align-items: flex-start; gap: 15px; }
.contact-icon { flex-shrink: 0; width: 50px; height: 50px; background: linear-gradient(135deg, var(--ac-orange) 0%, #ff9a61 100%); border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 20px; box-shadow: 0 8px 20px rgba(239, 117, 56, 0.3); }
.contact-text h3 { font-family: "DM Sans", sans-serif; font-size: 15px; font-weight: 700; color: var(--ac-paper); margin: 0 0 5px 0; }
.contact-text p { font-family: "DM Sans", sans-serif; font-size: 13px; line-height: 1.5; color: rgba(255, 254, 241, 0.7); margin: 0; }

.contact-socials { margin-top: auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }
.contact-socials p { color: rgba(255, 254, 241, 0.7); font-size: 13px; margin-bottom: 15px; }
.contact-socials a { display: inline-grid; place-items: center; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; color: var(--ac-paper); margin-right: 8px; transition: all 0.3s ease; }
.contact-socials a:hover { background: var(--ac-orange); transform: translateY(-3px); }

.contact-form-card { background: rgba(24, 59, 39, 0.6); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 24px; padding: 40px; }
.contact-form-card h2 { font-family: "Caveat", cursive; font-size: 36px; color: var(--ac-paper); margin: 0 0 25px 0; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { width: 100%; }
.form-group input, .form-group textarea { width: 100%; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 12px; padding: 16px 20px; font-family: "DM Sans", sans-serif; font-size: 14px; color: var(--ac-paper); outline: none; transition: all 0.3s ease; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255, 254, 241, 0.5); }
.form-group input:focus, .form-group textarea:focus { background: rgba(255, 255, 255, 0.08); border-color: var(--ac-orange); box-shadow: 0 0 0 3px rgba(239, 117, 56, 0.2); }
.form-group textarea { resize: vertical; min-height: 120px; }

.contact-submit-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 30px; background: var(--ac-orange); color: #fff; border: none; border-radius: 999px; font-family: "DM Sans", sans-serif; font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 10px 25px rgba(239, 117, 56, 0.3); width: fit-content; margin-top: 10px; }
.contact-submit-btn:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(239, 117, 56, 0.4); }

/* =========================================================
   CONTACT FORM ALERT MESSAGES
   ========================================================= */
.contact-alert { max-width: 1100px; margin: 0 auto 20px auto; padding: 18px 25px; border-radius: 15px; display: flex; align-items: center; gap: 15px; font-family: "DM Sans", sans-serif; font-size: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); animation: slideDown 0.5s ease-out; }
.contact-alert i { font-size: 24px; }
.contact-alert.success { background: rgba(102, 135, 68, 0.95); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.contact-alert.error { background: rgba(239, 117, 56, 0.95); color: #fff; border: 1px solid rgba(255,255,255,0.2); }
.contact-alert strong { font-weight: 700; display: block; margin-bottom: 2px; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }

/* =========================================================
   RESPONSIVE — Tablet & Mobile
   ========================================================= */
@media (max-width: 1000px) {
    .ab-hero { gap: 25px; padding-left: 5%; padding-right: 5%; }
    .ab-hero-photos { max-width: 440px; }
    .ab-journey-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-journey-steps::before { display: none; }
}

@media (max-width: 900px) {
    .ab-closing { grid-template-columns: 1fr; margin: 16px 10px 0; border-radius: 22px; }
    .ab-closing .ab-cta, .ab-closing .ab-registration { padding: 30px 22px; }
    .ab-closing .ab-cta { text-align: center; }
    .ab-closing .ab-cta-actions { justify-content: center; }
    .ab-community-merged { grid-template-columns: 1fr; margin: 20px 10px; padding: 25px 20px; gap: 25px; }
    .ab-community-photo-wrap { max-width: 400px; margin: 0 auto; }
    .ab-community-copy { text-align: center; }
    .ab-belief-inner { padding: 25px 20px; text-align: center; }
    .ab-belief-inner::before { display: none; }

    .vol-profile-card { grid-template-columns: 1fr; gap: 20px; padding: 20px; text-align: center; border-radius: 16px; }
    .vol-photo { max-width: 180px; margin: 0 auto; }
    .vol-quote { border-left: none; border-top: 3px solid var(--ac-orange); padding: 12px; border-radius: 0 0 8px 8px; text-align: left; }
    .ab-registration .ab-cta-btn { width: 100%; }
    
    .contact-container { grid-template-columns: 1fr; }
    .contact-form-card { padding: 30px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .contact-submit-btn { width: 100%; }
}

@media (max-width: 700px) {
    .ab-hero { grid-template-columns: 1fr; min-height: 0; gap: 28px; padding: 48px 6% 65px; border-radius: 0 0 30px 30px; }
    .ab-hero-copy { text-align: center; margin: auto; }
    .ab-hero-copy h1 { font-size: clamp(48px, 12vw, 64px); }
    .ab-handwritten { font-size: 24px; }
    .ab-intro { font-size: 14px; margin: 0 auto; }
    .ab-hero-actions { justify-content: center; }
    
        /* HERO IMAGES MOBILE FIX */
       /* HERO IMAGES MOBILE FIX */
    .ab-hero-photos { 
        grid-template-columns: 1fr; 
        grid-template-rows: auto; 
        max-width: 320px; 
        margin: 0 auto; 
        padding: 10px; 
        gap: 30px; 
    }
    
    /* Reset the outer box so it acts as a container, NOT a square */
    .ab-photo-main, .ab-photo-top, .ab-photo-bottom { 
        grid-column: 1; 
        grid-row: auto; 
        margin: 0 auto; 
        transform: none; 
        width: 100%; 
        max-width: 280px; 
        height: auto; /* Allows box to stretch for text */
        aspect-ratio: auto; /* REMOVED the square forcing */
        padding: 12px 12px 45px 12px; /* White border */
        border: 1px solid rgba(33,71,47,.1); 
        background: var(--ac-paper); 
    }
    
    /* Force only the IMAGE to be a perfect square */
    .ab-photo-main img, .ab-photo-top img, .ab-photo-bottom img {
        width: 100%;
        aspect-ratio: 1 / 1; /* Image is square */
        object-fit: cover; /* Fills the square perfectly */
        object-position: center; 
        border-radius: 6px;
        height: auto;
    }
    
    .ab-badge { 
        right: 60%; 
        top: 1%; 
        transform: translate(-50%, -50%) rotate(-12deg); 
    }
    .ab-badge strong { font-size: 26px; }

    .ab-impact { width: calc(100% - 32px); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 0; margin-top: -25px; padding: 25px 10px; }
    .ab-impact-item:not(:last-child)::after { display: none; }
    .ab-impact-item strong { font-size: 36px; }

    .ab-section, .ab-story, .ab-foster, .ab-community { grid-template-columns: 1fr; padding: 50px 6%; gap: 32px; }
    .ab-heading { margin-bottom: 30px; }
    .ab-heading h2 { font-size: 36px; }
    
    .ab-work-grid { grid-template-columns: 1fr; max-width: 460px; gap: 22px; }
    .ab-work-copy { padding: 30px 22px 25px; }
    .ab-work-image { height: 250px; }
    
    .ab-story-photo-wrap { max-width: 390px; }
    .ab-story-sticker { width: 88px; height: 88px; right: -7px; top: -13px; font-size: 14px; }
    .ab-story-sticker strong { font-size: 27px; }
    .ab-story-copy h2, .ab-foster-copy h2, .ab-community-copy h2, .ab-registration-copy h2 { font-size: 38px; }
    
    .ab-journey { margin: 8px 10px; padding: 50px 6%; border-radius: 25px; }
    .ab-journey-steps { grid-template-columns: 1fr; max-width: 470px; }
    .ab-journey-step { padding: 22px; }

    .ab-foster-photos { max-width: 320px; grid-template-columns: 1fr; gap: 25px; }
    .ab-foster-photo-one, .ab-foster-photo-two { width: 100%; transform: none; }
    .ab-foster-heart { width: 75px; height: 75px; top: 50%; left: 50%; }
    .ab-foster-heart span { font-size: 32px; }
    .ab-foster-heart small { font-size: 7px; }

    .ab-closing { margin: 14px 9px 0; }
    .ab-closing .ab-registration, .ab-closing .ab-cta { padding: 26px 18px; }
    .ab-closing .ab-registration-tags span { padding: 10px 9px; font-size: 15px; }
    .ab-closing .ab-cta h2 { font-size: 32px; }

    /* Team Grid Mobile Fix */
    .vol-team-grid { 
        grid-template-columns: 1fr; 
        max-width: 320px; 
        margin: 0 auto;
        gap: 20px;
    }

    .vol-programs-box { padding: 25px 20px; margin: 0 10px; }
    .vol-programs-box h3 { font-size: 28px; }
    .vol-programs-list li { gap: 12px; }
    .vol-programs-list li i { width: 35px; height: 35px; font-size: 14px; }
    
    .contact-alert { margin: 0 10px 20px 10px; font-size: 14px; padding: 15px; }
}

@media (max-width: 390px) {
    .ab-hero-photos { max-width: 280px; }
    .ab-badge { width: 72px; height: 72px; top: 10px; }
    .ab-badge strong { font-size: 22px; }
    .ab-closing .ab-registration-tags span { font-size: 16px; padding: 12px; }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    .about-page *, .about-page *::before, .about-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
    .ab-photo, .ab-photo img, .ab-story-photo, .ab-foster-photo-one, .ab-foster-photo-two, .ab-foster-photo-one img, .ab-foster-photo-two img, .ab-community-merged .ab-community-photo, .ab-community-merged .ab-community-photo img, .ab-closing .ab-registration-tags span { transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease !important; transform: none !important; }
    .ab-photo:hover, .ab-photo-main:hover, .ab-photo-top:hover, .ab-photo-bottom:hover, .ab-story-photo:hover, .ab-foster-photo-one:hover, .ab-foster-photo-two:hover, .ab-community-merged .ab-community-photo:hover, .ab-closing .ab-registration-tags span:hover { transform: none !important; }
    .ab-photo:hover img, .ab-foster-photo-one:hover img, .ab-foster-photo-two:hover img, .ab-community-merged .ab-community-photo:hover img { transform: none !important; }
    .ab-impact { opacity: 1 !important; transform: none !important; }
}

/* ============================================
   Donate page — extends about.css
   ============================================ */

.donate-hero { text-align: center; padding: 70px 20px 40px; max-width: 900px; margin: 0 auto; }
.donate-hero h1 { font-family: 'Caveat', cursive; font-size: 3.6rem; color: var(--orange, #d35400); line-height: 1.15; margin: 0 0 14px; }
.donate-hero p { font-family: 'DM Sans', sans-serif; font-size: 1.1rem; color: var(--brown-soft, #6b5b4a); line-height: 1.7; max-width: 700px; margin: 0 auto; }

.donate-why { max-width: 1100px; margin: 40px auto 60px; padding: 0 24px; text-align: center; }
.donate-why h2 { font-family: 'Kalam', cursive; font-size: 2rem; color: var(--orange, #d35400); margin-bottom: 32px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid #f3e4d1; border-radius: 20px; padding: 30px 22px; text-align: center; box-shadow: 0 8px 24px rgba(211, 84, 0, 0.07); transition: transform 0.25s, box-shadow 0.25s; }
.why-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(211, 84, 0, 0.12); }
.why-icon { width: 60px; height: 60px; margin: 0 auto 16px; background: #fdf3e7; color: var(--orange, #d35400); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; }
.why-card h3 { font-family: 'Kalam', cursive; font-size: 1.3rem; color: var(--brown, #2c2418); margin: 0 0 8px; }
.why-card p { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--brown-soft, #6b5b4a); line-height: 1.6; margin: 0; }

.donate-main { max-width: 1100px; margin: 0 auto 70px; padding: 0 24px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; align-items: start; }

.donate-form-card { background: #fff; border: 1px solid #f3e4d1; border-radius: 24px; padding: 36px 32px; box-shadow: 0 10px 34px rgba(211, 84, 0, 0.08); }
.donate-form-card h2 { font-family: 'Kalam', cursive; font-size: 1.9rem; color: var(--orange, #d35400); margin: 0 0 6px; }
.donate-sub { font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--brown-soft, #6b5b4a); margin: 0 0 24px; }

.form-errors { background: #ffebee; border: 1px solid #ef9a9a; color: #b71c1c; border-radius: 12px; padding: 14px 18px; margin-bottom: 22px; display: flex; gap: 10px; font-family: 'DM Sans', sans-serif; font-size: 0.92rem; }
.form-errors ul { margin: 0; padding-left: 8px; list-style: none; }

.donate-field { margin-bottom: 22px; }
.donate-label { display: block; font-family: 'DM Sans', sans-serif; font-weight: 600; font-size: 0.92rem; color: var(--brown-soft, #6b5b4a); margin-bottom: 10px; }

.freq-toggle { display: flex; gap: 10px; background: #fdf3e7; padding: 6px; border-radius: 14px; }
.freq-opt { flex: 1; cursor: pointer; }
.freq-opt input { display: none; }
.freq-opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 14px 10px; border-radius: 10px; text-align: center; transition: 0.2s; font-family: 'DM Sans', sans-serif; }
.freq-opt strong { color: #a8896c; font-size: 0.98rem; }
.freq-opt small  { color: #c0a88f; font-size: 0.78rem; }
.freq-opt input:checked + span { background: #fff; box-shadow: 0 4px 12px rgba(211, 84, 0, 0.15); }
.freq-opt input:checked + span strong { color: var(--orange, #d35400); }

.custom-amount-wrap { display: flex; align-items: center; background: #fff; border: 2px solid #f3e4d1; border-radius: 14px; padding: 0 18px; transition: 0.2s; }
.custom-amount-wrap:focus-within { border-color: var(--orange, #d35400); }
.custom-amount-wrap .rupee { font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--orange, #d35400); }
.custom-amount-wrap input { flex: 1; border: none; outline: none; padding: 16px 10px; font-family: 'DM Sans', sans-serif; font-size: 1.05rem; color: var(--brown, #2c2418); background: transparent; }
.custom-amount-wrap input::-webkit-outer-spin-button,
.custom-amount-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.donate-form .form-group input { width: 100%; padding: 15px 18px; background: #fff; border: 2px solid #f3e4d1; border-radius: 14px; font-family: 'DM Sans', sans-serif; font-size: 1rem; color: var(--brown, #2c2418); outline: none; transition: 0.2s; }
.donate-form .form-group input:focus { border-color: var(--orange, #d35400); }

.donate-submit-btn { width: 100%; padding: 18px; margin-top: 8px; background: linear-gradient(135deg, var(--orange, #d35400), #f39c12); color: #fff; border: none; border-radius: 16px; font-family: 'DM Sans', sans-serif; font-weight: 700; font-size: 1.08rem; letter-spacing: 0.3px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: 0.25s; box-shadow: 0 8px 24px rgba(211, 84, 0, 0.25); }
.donate-submit-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(211, 84, 0, 0.35); }

.secure-note { text-align: center; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; color: #a8896c; margin: 12px 0 0; }
.secure-note i { color: #2e7d32; }
.tax-note i  { color: var(--orange, #d35400); }

.donate-qr-card { background: #fff; border: 1px solid #f3e4d1; border-radius: 24px; padding: 30px 24px; text-align: center; box-shadow: 0 10px 34px rgba(211, 84, 0, 0.08); position: sticky; top: 24px; }
.donate-qr-card h3 { font-family: 'Kalam', cursive; font-size: 1.5rem; color: var(--orange, #d35400); margin: 0 0 18px; }
.qr-box { width: 100%; aspect-ratio: 1/1; max-width: 240px; margin: 0 auto 18px; background: #fdf3e7; border-radius: 18px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 2px dashed #f0d9bd; }
.qr-box img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.qr-placeholder { display: none; flex-direction: column; align-items: center; gap: 8px; color: #a8896c; font-family: 'DM Sans', sans-serif; font-size: 0.85rem; }
.qr-placeholder i { font-size: 3rem; color: #f0d9bd; }

.qr-text { font-family: 'DM Sans', sans-serif; font-size: 0.9rem; color: var(--brown-soft, #6b5b4a); line-height: 1.6; margin: 0 0 16px; }
.upi-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 16px; }
.upi-apps span { background: #fdf3e7; color: var(--brown, #2c2418); font-family: 'DM Sans', sans-serif; font-size: 0.78rem; padding: 6px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; }
.upi-apps i { color: var(--orange, #d35400); font-size: 0.8rem; }

.upi-id { font-family: 'DM Sans', sans-serif; color: var(--brown-soft, #6b5b4a); font-size: 0.78rem; margin: 0; padding-top: 14px; border-top: 1px dashed #f3e4d1; }
.upi-id strong { font-size: 0.95rem; color: var(--orange, #d35400); word-break: break-all; }

@media (max-width: 900px) {
    .donate-main { grid-template-columns: 1fr; }
    .donate-qr-card { position: static; }
    .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .donate-hero h1 { font-size: 2.4rem; }
    .donate-form-card { padding: 26px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .freq-opt strong { font-size: 0.9rem; }
}