.ct-section {
width:100%;
background-size:cover;
background-repeat:repeat;
}
.ct-section>.ct-section-inner-wrap {
display:flex;
flex-direction:column;
align-items:flex-start;
}
.ct-div-block {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.ct-new-columns {
display:flex;
width:100%;
flex-direction:row;
align-items:stretch;
justify-content:center;
flex-wrap:wrap;
}
.ct-link-text {
display:inline-block;
}
.ct-link {
display:flex;
flex-wrap:wrap;
text-align:center;
text-decoration:none;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-link-button {
display:inline-block;
text-align:center;
text-decoration:none;
}
.ct-link-button {
background-color: #1e73be;
border: 1px solid #1e73be;
color: #ffffff;
padding: 10px 16px;
}
.ct-image {
max-width:100%;
}
.ct-fancy-icon>svg {
width:55px;height:55px;}
.ct-inner-content {
width:100%;
}
.ct-slide {
display:flex;
flex-wrap:wrap;
text-align:center;
flex-direction:column;
align-items:center;
justify-content:center;
}
.ct-nestable-shortcode {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-comments {
width:100%;
text-align:left;
}
.oxy-comment-form {
width:100%;
}
.oxy-login-form {
width:100%;
}
.oxy-search-form {
width:100%;
}
.oxy-tabs-contents {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab {
display:flex;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-tab-content {
display:flex;
width:100%;
flex-wrap:nowrap;
flex-direction:column;
align-items:flex-start;
}
.oxy-testimonial {
width:100%;
}
.oxy-icon-box {
width:100%;
}
.oxy-pricing-box {
width:100%;
}
.oxy-posts-grid {
width:100%;
}
.oxy-gallery {
width:100%;
}
.ct-slider {
width:100%;
}
.oxy-tabs {
display:flex;
flex-wrap:nowrap;
flex-direction:row;
align-items:stretch;
}
.ct-modal {
flex-direction:column;
align-items:flex-start;
}
.ct-span {
display:inline-block;
text-decoration:inherit;
}
.ct-widget {
width:100%;
}
.oxy-dynamic-list {
width:100%;
}
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
			.ct-div-block,
			.oxy-post-content,
			.ct-text-block,
			.ct-headline,
			.oxy-rich-text,
			.ct-link-text { max-width: 100%; }
			img { flex-shrink: 0; }
			body * { min-height: 1px; }
		}            .oxy-testimonial {
                flex-direction: row;
                align-items: center;
            }
                        .oxy-testimonial .oxy-testimonial-photo-wrap {
                order: 1;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo {
                width: 125px;                height: 125px;                margin-right: 20px;
            }
            
                        .oxy-testimonial .oxy-testimonial-photo-wrap, 
            .oxy-testimonial .oxy-testimonial-author-wrap, 
            .oxy-testimonial .oxy-testimonial-content-wrap {
                align-items: flex-start;                text-align: left;            }
            
                                                            .oxy-testimonial .oxy-testimonial-text {
                margin-bottom:8px;font-size: 21px;
line-height: 1.4;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
                                    .oxy-testimonial .oxy-testimonial-author {
                font-size: 18px;
-webkit-font-smoothing: subpixel-antialiased;
            }
                            

                                                .oxy-testimonial .oxy-testimonial-author-info {
                font-size: 12px;
-webkit-font-smoothing: subpixel-antialiased;
            }
            
             
            
                        .oxy-icon-box {
                text-align: left;                flex-direction: column;            }
            
                        .oxy-icon-box .oxy-icon-box-icon {
                margin-bottom: 12px;
                align-self: flex-start;            }
            
                                                                        .oxy-icon-box .oxy-icon-box-heading {
                font-size: 21px;
margin-bottom: 12px;            }
            
                                                                                    .oxy-icon-box .oxy-icon-box-text {
                font-size: 16px;
margin-bottom: 12px;align-self: flex-start;            }
            
                        .oxy-icon-box .oxy-icon-box-link {
                margin-top: 20px;                            }
            
            
            /* GLOBALS */

                                                            .oxy-pricing-box .oxy-pricing-box-section {
                padding-top: 20px;
padding-left: 20px;
padding-right: 20px;
padding-bottom: 20px;
text-align: center;            }
                        
                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                justify-content: center;            }
            
            /* IMAGE */
                                                                                    .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-graphic {
                justify-content: center;            }
            
            /* TITLE */
                                                            
                                    .oxy-pricing-box .oxy-pricing-box-title-title {
                font-size: 48px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-title-subtitle {
                font-size: 24px;
            }
            

            /* PRICE */
                                                .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-price {
                                                flex-direction: row;                                            }
            
                                    .oxy-pricing-box .oxy-pricing-box-currency {
                font-size: 28px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-main {
                font-size: 80px;
line-height: 0.7;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-amount-decimal {
                font-size: 13px;
            }
                        
                                    .oxy-pricing-box .oxy-pricing-box-term {
                font-size: 16px;
            }
            
                                    .oxy-pricing-box .oxy-pricing-box-sale-price {
                font-size: 12px;
color: rgba(0,0,0,0.5);
                margin-bottom: 20px;            }
            
            /* CONTENT */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-content {
                font-size: 16px;
color: rgba(0,0,0,0.5);
            }
            
            /* CTA */

                                                                        .oxy-pricing-box .oxy-pricing-box-section.oxy-pricing-box-cta {
                justify-content: center;            }
            
        
                                .oxy-progress-bar .oxy-progress-bar-background {
            background-color: #000000;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);            animation: none 0s paused;        }
                
                .oxy-progress-bar .oxy-progress-bar-progress-wrap {
            width: 85%;        }
        
                                                        .oxy-progress-bar .oxy-progress-bar-progress {
            background-color: #66aaff;padding: 40px;animation: none 0s paused, none 0s paused;            background-image: linear-gradient(-45deg,rgba(255,255,255,.12) 25%,transparent 25%,transparent 50%,rgba(255,255,255,.12) 50%,rgba(255,255,255,.12) 75%,transparent 75%,transparent);        
        }
                
                        .oxy-progress-bar .oxy-progress-bar-overlay-text {
            font-size: 30px;
font-weight: 900;
-webkit-font-smoothing: subpixel-antialiased;
        }
        
                        .oxy-progress-bar .oxy-progress-bar-overlay-percent {
            font-size: 12px;
        }
        
        .ct-slider .unslider-nav ol li {border-color: #ffffff; }.ct-slider .unslider-nav ol li.unslider-active {background-color: #ffffff; }.ct-slider .ct-slide {
				padding: 0px;			}
		
                        .oxy-superbox .oxy-superbox-secondary, 
            .oxy-superbox .oxy-superbox-primary {
                transition-duration: 0.5s;            }
            
            
            
            
            
        
        
        
        
            .oxy-shape-divider {
                width: 0px;
                height: 0px;
                
            }
            
            .oxy_shape_divider svg {
                width: 100%;
            }
            .oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .sub-menu{
box-shadow:px px px px ;}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-show-dropdown .oxy-pro-menu-list .menu-item-has-children > a div{
margin-left:0px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
width:30px;
height:30px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon{
padding-top:15px;
padding-right:15px;
padding-bottom:15px;
padding-left:15px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-open-icon, .oxy-pro-menu .oxy-pro-menu-mobile-open-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon{
top:20px;
left:20px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
width:24px;
height:24px;
}

.oxy-pro-menu .oxy-pro-menu-mobile-close-icon, .oxy-pro-menu .oxy-pro-menu-mobile-close-icon svg{
transition-duration:0.4s;
}

.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container{
background-color:#ffffff;
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container, .oxy-pro-menu .oxy-pro-menu-open-container{
background-image:url();
}

.oxy-pro-menu .oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item-has-children > a svg, .oxy-pro-menu .oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item-has-children > a svg{
font-size:24px;
}

.oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-open-container .menu-item-has-children ul, .oxy-pro-menu .oxy-pro-menu-dropdown-links-toggle.oxy-pro-menu-off-canvas-container .menu-item-has-children ul{
background-color:rgba(0,0,0,0.2);
border-top-style:solid;
}

.oxy-pro-menu .oxy-pro-menu-container:not(.oxy-pro-menu-open-container):not(.oxy-pro-menu-off-canvas-container) .oxy-pro-menu-list{
                    flex-direction: row;
               }
.oxy-pro-menu .oxy-pro-menu-container .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .menu-item, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .menu-item{
                    align-items: flex-start;
                }

            .oxy-pro-menu .oxy-pro-menu-off-canvas-container{
                    top: 0;
                    bottom: 0;
                    right: auto;
                    left: 0;
               }
.oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-open-container .oxy-pro-menu-list .menu-item a, .oxy-pro-menu .oxy-pro-menu-container.oxy-pro-menu-off-canvas-container .oxy-pro-menu-list .menu-item a{
                    text-align: left;
                    justify-content: flex-start;
                }

            .oxy-site-navigation {
--oxynav-brand-color:#4831B0;
--oxynav-neutral-color:#FFFFFF;
--oxynav-activehover-color:#EFEDF4;
--oxynav-background-color:#4831B0;
--oxynav-border-radius:0px;
--oxynav-other-spacing:8px;
--oxynav-transition-duration:0.3s;
--oxynav-transition-timing-function:cubic-bezier(.84,.05,.31,.93);
}

.oxy-site-navigation .oxy-site-navigation__mobile-close-wrapper{
text-align:left;
}

.oxy-site-navigation > ul{ left: 0; }
.oxy-site-navigation {
                        --oxynav-animation-name: none; 
                    }

                .oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1){ 
                    background-color: var(--oxynav-brand-color);
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                    border: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2){ 
                    background: transparent;
                    border: 1px solid currentColor;
                    transition: var(--oxynav-transition-duration);
                    margin-left: var(--oxynav-other-spacing);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2):not(:hover) > img{
                    filter: invert(0) !important;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover{
                    background-color: var(--oxynav-activehover-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a{
                    color: var(--oxynav-neutral-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a{
                    color: var(--oxynav-brand-color);
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(1) > a::after{
                    color: var(--oxynav-neutral-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:nth-last-child(2) > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true']:hover > a::after{
                    color: var(--oxynav-brand-color);   
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }
.oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > button, .oxy-site-navigation > ul:not(.open) > li[data-cta='true'] > ul{
                    display: none;
                }

                .ct-section-inner-wrap, .oxy-header-container{
  max-width: 1120px;
}
body {font-family: 'Open Sans';}body {line-height: 1.6;font-size: 16px;font-weight: 400;color: #404040;}.oxy-nav-menu-hamburger-line {background-color: #404040;}h1, h2, h3, h4, h5, h6 {font-family: 'Source Sans 3';font-size: 36px;font-weight: 700;}h2, h3, h4, h5, h6{font-size: 30px;}h3, h4, h5, h6{font-size: 24px;}h4, h5, h6{font-size: 20px;}h5, h6{font-size: 18px;}h6{font-size: 16px;}a {color: #0074db;text-decoration: none;}a:hover {text-decoration: none;}.ct-link-text {text-decoration: ;}.ct-link {text-decoration: ;}.ct-link-button {border-radius: 3px;}.ct-section-inner-wrap {
padding-top: 75px;
padding-right: 20px;
padding-bottom: 75px;
padding-left: 20px;
}.ct-new-columns > .ct-div-block {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
}.oxy-header-container {
padding-right: 20px;
padding-left: 20px;
}@media (max-width: 992px) {
				.ct-columns-inner-wrap {
					display: block !important;
				}
				.ct-columns-inner-wrap:after {
					display: table;
					clear: both;
					content: "";
				}
				.ct-column {
					width: 100% !important;
					margin: 0 !important;
				}
				.ct-columns-inner-wrap {
					margin: 0 !important;
				}
			}
html {
    visibility: hidden;
}

html.loaded {
    visibility: visible;
}

/* Loading overlay - optional visual feedback */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cream);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease-out;
}

.page-loader.hide {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    text-align: center;
    font-family: var(--font-body);
    color: var(--primary);
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Fontshare Custom Fonts - Add this at the very top of your CSS */

/* Gambarino Font Family */
@font-face {
    font-family: 'Gambarino';
    src: url('https://mercieradoption.com/wp-content/uploads/2025/08/Gambarino-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* This helps prevent FOUC */
}

@font-face {
    font-family: 'Switzer';
    src: url('https://mercieradoption.com/wp-content/uploads/2025/08/Switzer-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Switzer';
    src: url('https://mercieradoption.com/wp-content/uploads/2025/08/Switzer-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Your existing Google Fonts import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Crimson+Text:ital,wght@0,400;0,600;1,400;1,600&display=swap');

:root {
    /* Color System */
    --primary: #234a3b;        /* Deep forest green - main brand */
    --primary-light: #519b73;  /* Medium sage green - lighter accent */
    --primary-dark: #1a3529;   /* Darker forest green */
    --secondary: #fd6721;      /* Warm orange - call-to-action */
    --secondary-light: #ff8c4d; /* Lighter orange */
    --accent: #93b3b1;         /* Soft sage - subtle accents */
    --accent-light: #b8ccc9;   /* Very light sage */
    --gold: #dbb25a;           /* Warm gold - special highlights */
    
    /* Refined Neutrals */
    --cream: #eeebe6;          /* Warm cream background */
    --cream-dark: #e6e2db;     /* Slightly darker cream */
    --gray-50: #f9f8f6;        /* Warmest light */
    --gray-100: #f0ede8;       /* Light cream tone */
    --gray-200: #e0dcd5;       /* Medium cream */
    --gray-300: #ccc7be;       /* Warm mid-tone */
    --gray-400: #a8a199;       /* Warm gray */
    --gray-500: #857d73;       /* Medium warm gray */
    --gray-600: #6b6258;       /* Dark warm gray */
    --gray-700: #524c43;       /* Deep warm gray */
    --gray-800: #3d372f;       /* Very dark warm */
    --gray-900: #2a241d;       /* Darkest warm tone */
    
    /* Typography */
    --font-heading: 'Gambarino', 'Crimson Text', serif;
    --font-body: 'Switzer', 'Inter', sans-serif;
    
    /* Spacing */
    --container-max: 1280px;
    --container-padding: 1.5rem;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

#adoption-website {
    font-family: var(--font-body);
    line-height: 1.7;
    color: var(--gray-800);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.3;
    color: var(--gray-900);
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

p {
    font-size: 1.125rem;
    font-weight: 300;
    line-height: 1.8;
    color: var(--gray-700);
}

.lead-text {
    font-size: 1.375rem;
    font-weight: 300;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

strong {
    color: var(--primary);
    font-weight: 400;
}

.quote-text {
    font-style: italic;
    color: var(--primary-light);
    font-weight: 500;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent);
}

/* Button and interactive text */
.donate-btn, .btn-primary, .checkout-btn {
    font-family: var(--font-body);
    font-weight: 400;
}

/* Amount displays */
.current-amount, .goal-amount, .tier-amount, .expense-amount, .modal-amount, .cart-total {
    font-family: var(--font-body);
    font-weight: 400;
}

/* Hero text adjustments */
.hero-text h1 {
    font-weight: 400;
    letter-spacing: 0.03em;
}

.hero-text p {
    font-weight: 300;
    letter-spacing: 2px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(26, 53, 41, 0.8) 0%, rgba(35, 74, 59, 0.7) 50%, rgba(81, 155, 115, 0.6) 100%), 
                url('/wp-content/uploads/2025/08/HeaderBackgroundPhoto-scaled.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(219,178,90,0.12) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(219,178,90,0.08) 2px, transparent 2px);
    background-size: 80px 80px, 120px 120px;
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

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

.hero-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.family-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    border: 5px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    transition: var(--transition);
    position: relative;
}

.family-photo::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    padding: 5px;
    background: linear-gradient(45deg, var(--gold), var(--secondary));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

.family-photo:hover::before {
    opacity: 1;
}

.family-photo:hover {
    transform: scale(1.05) rotate(2deg);
}

.family-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-text h1 {
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
    font-weight: 700;
}

.hero-text p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Progress Container */
.progress-container {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(147,179,177,0.3);
    box-shadow: 0 25px 60px rgba(35,74,59,0.15);
    position: relative;
    overflow: hidden;
}

.progress-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.progress-info {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.current-amount {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-body);
    position: relative;
}

.current-amount::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--secondary));
    border-radius: 1px;
}

.goal-separator {
    font-size: 1.25rem;
    color: var(--gray-500);
    font-weight: 400;
}

.goal-amount {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.goal-label {
    font-size: 1.25rem;
    color: var(--gray-600);
    font-weight: 500;
}

.progress-bar {
    height: 16px;
    background: var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary) 100%);
    border-radius: 8px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 2px 8px rgba(81, 155, 115, 0.4);
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4));
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

.progress-message {
    font-size: 1.125rem;
    color: var(--gray-600);
    font-weight: 500;
    text-align: center;
}

/* Story Introduction */
.story-intro {
    padding: 6rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, white 50%, var(--cream) 100%);
    position: relative;
}

.intro-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light), var(--gold));
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2.5rem;
    box-shadow: 0 8px 25px rgba(81, 155, 115, 0.3);
    position: relative;
    overflow: hidden;
}

.intro-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: badge-shine 2s infinite;
}

@keyframes badge-shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.story-intro h2 {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
}

.story-intro h2::after {
    content: '';
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--gold));
    border-radius: 2px;
}

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

.intro-content p {
    margin-bottom: 2rem;
}

/* Story Timeline */
.story-timeline {
    padding-top: 8rem;   /* top padding */
    padding-bottom: 4rem; /* bottom padding */
    padding-left: 0;
    padding-right: 0;
    background: white;
    position: relative;
}

.timeline-item {
    margin-bottom: 6rem;
    opacity: 0;
    transform: translateY(60px);
    transition: var(--transition-slow);
}

.timeline-item.aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.timeline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.timeline-item.reverse .timeline-content {
    direction: rtl;
}

.timeline-item.reverse .timeline-text {
    direction: ltr;
}

.timeline-photo {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transform-origin: center;
    transition: var(--transition-slow);
}

.timeline-photo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(81,155,115,0.12), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.timeline-photo:hover::before {
    opacity: 1;
}

.timeline-photo img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition-slow);
}

.timeline-photo:hover {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.2);
}

.timeline-photo:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent 60%, rgba(147,179,177,0.08) 100%);
    z-index: 1;
}

/* Special layout for dual portrait images in "Our Journey Begins" section */
.timeline-item.dual-images .timeline-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    height: auto;
}

.timeline-item.dual-images .timeline-photo::before {
    display: none;
}

.timeline-item.dual-images .portrait-image {
    position: relative;
    width: 300px;
    height: 375px;
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
}

.timeline-item.dual-images .portrait-image:first-child {
    transform: translateY(-20px) translateX(15px);
    z-index: 1;
    box-shadow: 0 15px 30px rgba(35,74,59,0.12);
}

.timeline-item.dual-images .portrait-image:last-child {
    transform: translateY(20px) translateX(-15px);
    z-index: 2;
    box-shadow: 0 25px 40px rgba(35,74,59,0.2);
}

.timeline-item.dual-images .portrait-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.timeline-item.dual-images .portrait-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, rgba(81,155,115,0.08), transparent 60%);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
    border-radius: 20px;
}

.timeline-item.dual-images .portrait-image:hover::before {
    opacity: 1;
}

.timeline-item.dual-images .portrait-image:hover {
    transform: scale(1.02);
}

.timeline-item.dual-images .portrait-image:first-child:hover {
    transform: translateY(-20px) translateX(15px) scale(1.02);
    box-shadow: 0 20px 35px rgba(35,74,59,0.18);
}

.timeline-item.dual-images .portrait-image:last-child:hover {
    transform: translateY(20px) translateX(-15px) scale(1.02);
    box-shadow: 0 30px 50px rgba(35,74,59,0.25);
}

.timeline-text {
    padding: 2rem 0;
}

.timeline-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-light), var(--gold));
    color: white;
    border-radius: 50%;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(81, 155, 115, 0.3);
    position: relative;
}

.timeline-number svg {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: white;
}

/* Individual icons for each timeline item */
.timeline-item:nth-child(1) .timeline-number::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M14 9.536V7a4 4 0 0 1 4-4h1.5a.5.5 0 0 1 .5.5V5a4 4 0 0 1-4 4 4 4 0 0 0-4 4c0 2 1 3 1 5a5 5 0 0 1-1 3"/><path d="M4 9a5 5 0 0 1 8 4 5 5 0 0 1-8-4"/><path d="M5 21h14"/></svg>') no-repeat center;
}

.timeline-item:nth-child(2) .timeline-number::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="white" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5"/></svg>') no-repeat center;
}
/* Desktop-only sizing for CeCe's Legacy photo */
.timeline-item:nth-child(2) .timeline-photo {
    max-width: 400px; /* Adjust this value as needed */
    margin: 0 auto; /* Centers the image */
}

.timeline-item:nth-child(3) .timeline-number::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16"/><path d="m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95"/><path d="m2 15 6 6"/><path d="m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91"/></svg>') no-repeat center;
}

.timeline-item:nth-child(4) .timeline-number::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 90 90" fill="white" stroke="white"><path d="M 48.95 90 h -7.616 c -1.982 0 -3.588 -1.606 -3.588 -3.588 V 3.588 C 37.746 1.606 39.352 0 41.334 0 h 7.616 c 1.982 0 3.588 1.606 3.588 3.588 v 82.824 C 52.538 88.394 50.931 90 48.95 90 z"/><path d="M 76.823 26.136 v 7.616 c 0 1.982 -1.606 3.588 -3.588 3.588 h -56.47 c -1.982 0 -3.588 -1.606 -3.588 -3.588 v -7.616 c 0 -1.982 1.606 -3.588 3.588 -3.588 h 56.47 C 75.217 22.548 76.823 24.154 76.823 26.136 z"/></svg>') no-repeat center;
}

.timeline-text h3 {
    margin-bottom: 2rem;
    color: var(--gray-900);
    position: relative;
}

.timeline-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.timeline-text p:last-child {
    margin-bottom: 0;
}

/* Expenses Section */
.expenses-section {
    padding: 8rem 0;
    background: linear-gradient(180deg, var(--cream) 0%, white 100%);
}

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

.section-header h2 {
    margin-bottom: 1.5rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--gold));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.expense-categories {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.expense-category {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
}

.expense-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
}

.category-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.category-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition);
}

.expense-category:hover .category-header::before {
    opacity: 1;
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% { transform: scale(0); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.category-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    margin-bottom: 1.5rem;
    color: white;
}

.category-header h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.category-header p {
    color: rgba(255,255,255,0.9);
    font-size: 1.125rem;
}

.expense-items {
    padding: 0;
}

.expense-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
    gap: 2rem;
}

.expense-item:last-child {
    border-bottom: none;
}

.expense-item:hover {
    background: linear-gradient(90deg, var(--cream) 0%, transparent 100%);
}

.expense-info {
    flex: 1;
}

.expense-info h4 {
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.expense-info p {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

.expense-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-body);
    flex-shrink: 0;
}

/* Donation Section */
.donation-section {
    padding-top: 1rem;   /* top padding */
    padding-bottom: 8rem; /* bottom padding */
    padding-left: 0;
    padding-right: 0;
    background: white;
    position: relative;
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.tier-card {
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tier-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--accent), var(--gold));
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.tier-card:hover::before {
    opacity: 0.05;
}

.tier-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--primary-light);
    box-shadow: 0 25px 50px rgba(81, 155, 115, 0.25);
}

.tier-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
    position: relative;
    z-index: 2;
}

.tier-label {
    color: var(--gray-600);
    font-size: 1rem;
    line-height: 1.5;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

/* Custom Donation */
.custom-donation {
    background: linear-gradient(135deg, var(--cream) 0%, white 100%);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    border: 1px solid var(--gray-200);
    box-shadow: 0 15px 35px rgba(35,74,59,0.08);
}

.custom-donation h3 {
    margin-bottom: 2.5rem;
    color: var(--gray-900);
}

.custom-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.currency-symbol {
    background: var(--gray-100);
    color: var(--gray-700);
    padding: 1.25rem 1.5rem;
    border-radius: 16px 0 0 16px;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--gray-200);
    border-right: none;
}

#customAmount {
    flex: 1;
    padding: 1.25rem 3rem 1.25rem 1rem;
    border: 2px solid var(--gray-200);
    border-radius: 0 16px 16px 0;
    font-size: 1.25rem;
    text-align: center;
    font-weight: 600;
    color: var(--gray-800);
    outline: none;
    transition: var(--transition);
    background: white;
}

#customAmount:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(81, 155, 115, 0.15);
}

.clear-btn {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gray-400);
    color: white;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition);
    opacity: 0;
    pointer-events: none;
}

.clear-btn.visible {
    opacity: 1;
    pointer-events: all;
}

.clear-btn:hover {
    background: var(--gray-500);
}

.donate-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    border: none;
    padding: 1.25rem 3rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(253, 103, 33, 0.35);
    position: relative;
    overflow: hidden;
}

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

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

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(253, 103, 33, 0.45);
}

/* Gratitude Section */
.gratitude-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(26, 53, 41, 0.3) 0%, rgba(35, 74, 59, 0.5) 100%), 
                url('/wp-content/uploads/2025/08/FooterBackgroundPhoto.webp');
    background-size: cover;
    background-position: left;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.gratitude-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(219,178,90,0.08) 2px, transparent 2px),
        radial-gradient(circle at 75% 75%, rgba(219,178,90,0.05) 2px, transparent 2px);
    background-size: 100px 100px, 150px 150px;
}

.gratitude-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.gratitude-content h2 {
    color: white;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
}

.gratitude-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    font-size: 1.25rem;
    line-height: 1.8;
}

.gratitude-content blockquote {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 1.5rem;
    color: var(--gold);
    margin-top: 3rem;
    padding: 2rem;
    border-left: 4px solid var(--gold);
    background: rgba(255,255,255,0.08);
    border-radius: 0 16px 16px 0;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: white;
    border-radius: 24px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.modal-overlay.active .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--gray-600);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

.modal-amount {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    text-align: center;
    margin-bottom: 1.5rem;
    font-family: var(--font-body);
}

.modal-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--gray-900);
}

.modal-description {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--gray-700);
    line-height: 1.7;
}

.modal-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(253, 103, 33, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(253, 103, 33, 0.45);
}

.btn-secondary {
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--gray-300);
    background: var(--cream);
}

/* Success Message */
.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Start off-screen to the right */
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(35,74,59,0.18);
    border-left: 4px solid var(--primary-light);
    max-width: 400px;
    width: 90%;
    transition: var(--transition);
    z-index: 1001;
    opacity: 0; /* ADD THIS - hidden by default */
    pointer-events: none; /* ADD THIS - no interaction when hidden */
}

.success-message.show {
    transform: translate(-50%, -50%);
    opacity: 1; /* ADD THIS - visible when shown */
    pointer-events: all; /* ADD THIS - allow interaction when shown */
}

.success-content h3 {
    color: var(--gray-900);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.success-content p {
    color: var(--gray-700);
    margin: 0;
    font-size: 1rem;
}

.success-close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    background: var(--gray-100);
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.25rem;
    color: var(--gray-600);
    transition: var(--transition);
    line-height: 1;
}

.success-close:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* Adjust success content to make room for close button */
.success-content {
    padding-right: 2rem; /* Make room for close button */
}

/* Cart Toggle Button (Fixed Position) */
.cart-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(253, 103, 33, 0.35);
    transition: var(--transition);
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 5.5rem;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
}

.cart-toggle.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.cart-toggle:hover {
    transform: translateX(0) translateY(-3px);
    box-shadow: 0 15px 35px rgba(253, 103, 33, 0.45);
}

.cart-icon {
    font-size: 1.25rem;
}

.cart-count {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
    font-family: var(--font-body);
}

/* Donation Cart Modal */
.donation-cart {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.donation-cart.active {
    opacity: 1;
    pointer-events: all;
}

.cart-content {
    background: white;
    border-radius: 24px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: var(--transition);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.donation-cart.active .cart-content {
    transform: scale(1) translateY(0);
}

.cart-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    color: white;
    margin: 0;
    font-size: 1.75rem;
}

.cart-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    color: white;
    transition: var(--transition);
}

.cart-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.cart-items {
    padding: 2rem;
    max-height: 300px;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--gray-100);
    margin-bottom: 1rem;
    background: white;
    transition: var(--transition);
    gap: 1rem;
}

.cart-item:hover {
    border-color: var(--accent);
    background: var(--cream);
}

.cart-item:last-child {
    margin-bottom: 0;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    line-height: 1.3;
}

.cart-item-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-body);
}

.cart-item-remove {
    background: var(--gray-200);
    color: var(--gray-600);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.125rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.cart-item-remove:hover {
    background: var(--gray-300);
    color: var(--gray-800);
}

.cart-footer {
    padding: 2rem;
    border-top: 1px solid var(--gray-200);
    background: var(--cream);
}

.cart-total {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-body);
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    color: white;
    border: none;
    padding: 1.25rem 2rem;
    border-radius: 16px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(253, 103, 33, 0.35);
    margin-bottom: 1rem;
}

.checkout-btn svg {
  margin-right: 3.5rem;   /* space between icon + text */
  vertical-align: middle; /* align nicely */
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(253, 103, 33, 0.45);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.clear-cart-btn {
    width: 100%;
    background: white;
    color: var(--gray-700);
    border: 2px solid var(--gray-200);
    padding: 1rem 2rem;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.clear-cart-btn:hover {
    border-color: var(--gray-300);
    background: var(--cream);
}

.cart-empty {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--gray-500);
}

.cart-empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Mobile responsive for dual images */
@media (max-width: 768px) {
    :root {
        --container-padding: 1rem;
    }

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

    .hero-badge {
        gap: 2rem;
        margin-bottom: 3rem;
    }

    .family-photo {
        width: 120px;
        height: 120px;
    }

    .progress-container {
        padding: 2rem;
        border-radius: 20px;
    }

    .progress-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
      align-items: center;
    }

    .current-amount {
        font-size: 2.5rem;
    }

    .story-intro {
        padding: 4rem 0;
    }

    .story-timeline {
        padding-top: 5rem;
    padding-bottom: 2rem; 0;
    }

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

    .timeline-item.reverse .timeline-content {
        direction: ltr;
    }

    .timeline-item {
        margin-bottom: 2rem;
    }

    .timeline-number {
        margin: 0 auto 2rem auto;
    }

    .timeline-item.dual-images .portrait-image {
        width: 208px;
        height: 260px;
    }
    
    .timeline-item.dual-images .portrait-image:first-child {
        transform: translateY(-15px) translateX(10px);
    }
    
    .timeline-item.dual-images .portrait-image:last-child {
        transform: translateY(15px) translateX(-10px);
    }
    
    .timeline-item.dual-images .portrait-image:first-child:hover {
        transform: translateY(-15px) translateX(10px) scale(1.02);
    }
    
    .timeline-item.dual-images .portrait-image:last-child:hover {
        transform: translateY(15px) translateX(-10px) scale(1.02);
    }

    .expenses-section {
        padding: 5rem 0;
    }

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

    .expense-categories {
        gap: 2rem;
    }

    .category-header {
        padding: 2rem;
    }

    .expense-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        text-align: center;
    }

    .expense-amount {
        font-size: 1.5rem;
    }

    .donation-section {
        padding-top: 2rem;
    padding-bottom: 5rem;
    }
  .donation-tiers {
        grid-template-columns: 1fr 1fr; /* Two columns instead of single */
        gap: 1rem; /* Reduce gap to fit better */
        margin-bottom: 3rem;
    }

    .tier-card {
        padding: 1.5rem 1rem; /* Reduce padding to fit */
        font-size: 0.9rem; /* Slightly smaller text */
    }

    .tier-amount {
        font-size: 1.5rem; /* Reduce from 1.75rem */
        margin-bottom: 1rem;
    }

    .tier-label {
        font-size: 0.875rem; /* Slightly smaller label text */
    }

    .custom-donation {
        padding: 1.5rem;
    }
  .custom-donation h3 {
        margin-bottom: 1.5rem; /* Reduce from 2.5rem */
        font-size: 1.5rem; /* Make title smaller */
    }

    .custom-input-group {
        flex-direction: row; /* Change back to row instead of column */
        gap: 0;
        max-width: 280px; /* Much smaller max width */
        margin-bottom: 1.5rem;
    }

    .currency-symbol {
        border-radius: 12px 0 0 12px; /* Smaller border radius */
        padding: 0.75rem 1rem; /* Reduce padding significantly */
        font-size: 1.125rem; /* Smaller font */
        border: 2px solid var(--gray-200);
        border-right: none;
        width: auto; /* Remove full width */
        text-align: center;
    }

    #customAmount {
        border-radius: 0 12px 12px 0; /* Smaller border radius */
        padding: 0.75rem 2rem 0.75rem 0.75rem; /* Much smaller padding */
        font-size: 1rem; /* Smaller font */
        font-weight: 400; /* Reduce thickness/weight */
        border: 2px solid var(--gray-200);
        width: auto; /* Remove full width */
    }
   #customAmount::placeholder {
        font-weight: 300; /* Make placeholder thinner */
        opacity: 0.7;
    }

   .clear-btn {
        right: 0.5rem; /* Adjust position */
        width: 24px; /* Smaller clear button */
        height: 24px;
        font-size: 1rem;
    }
  .donate-btn {
        padding: 0.875rem 2rem; /* Smaller button padding */
        font-size: 1rem; /* Smaller button text */
        border-radius: 12px; /* Smaller border radius */
    }

    .gratitude-section {
        padding: 4rem 0;
       background-position: 20% center; 
        background-attachment: scroll; 
    }

    .gratitude-content h2 {
        font-size: 2rem;
    }

    .gratitude-content blockquote {
        font-size: 1.25rem;
        padding: 1.5rem;
    }

    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }

    .modal-amount {
        font-size: 2.5rem;
    }

    .modal-actions {
        gap: 1rem;
    }

    .cart-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .cart-content {
        margin: 1rem;
        max-height: 90vh;
    }
    
    .cart-header {
        padding: 1.5rem;
    }
    
    .cart-header h3 {
        font-size: 1.5rem;
    }
    
    .cart-items {
        padding: 1.5rem;
    }
    
    .cart-item {
        padding: 1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .cart-item-remove {
        align-self: flex-end;
    }
    
    .cart-footer {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {

  .success-message {
        max-width: none;
        width: calc(100% - 2rem); /* Full width minus margins */
        margin: 1rem;
        transform: translate(-50%, -50%) translateY(120%); /* Slide up from bottom on mobile */
    }
    
    .success-message.show {
        transform: translate(-50%, -50%) translateY(0);
    }
  
  .donation-tiers {
        grid-template-columns: 1fr 1fr; /* Keep two columns */
        gap: 0.75rem; /* Even smaller gap */
    }

    .tier-card {
        padding: 1.25rem 0.75rem; /* More compact padding */
    }

    .tier-amount {
        font-size: 1.25rem; /* Smaller for tight spaces */
    }

    .timeline-photo {
        border-radius: 16px;
    }

    .expense-category {
        border-radius: 20px;
    }

    .category-header {
        padding: 1.5rem;
    }

    .category-header h3 {
        font-size: 1.5rem;
    }

    .timeline-item.dual-images .portrait-image {
        width: 170px;
        height: 210px;
    }
    
    .timeline-item.dual-images .portrait-image:first-child {
        transform: translateY(-10px) translateX(8px);
    }
    
    .timeline-item.dual-images .portrait-image:last-child {
        transform: translateY(10px) translateX(-8px);
    }
  .gratitude-section {
        background-position: 20% center; 
    }
  .custom-input-group {
        max-width: 240px; /* Even smaller on tiny screens */
    }

    .currency-symbol {
        padding: 0.625rem 0.75rem; /* Even more compact */
        font-size: 1rem;
    }

    #customAmount {
        padding: 0.625rem 1.5rem 0.625rem 0.625rem;
        font-size: 0.9rem;
    }

    .donate-btn {
        padding: 0.75rem 1.5rem; /* Very compact button */
        font-size: 0.9rem;
    }
}

/* Scroll Animation Trigger */
@media (prefers-reduced-motion: no-preference) {
    [data-aos] {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    }

    [data-aos].aos-animate {
        opacity: 1;
        transform: translateY(0);
    }

    [data-aos="fade-up"] {
        transform: translateY(60px);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --gray-100: #e0e0e0;
        --gray-200: #cccccc;
        --gray-300: #b3b3b3;
    }

    .tier-card {
        border-width: 3px;
    }

    .expense-item {
        border-bottom-width: 2px;
    }
}
#successMessage.success-message {
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  transform: translate(-50%, -50%) translateY(120%)!important;
  max-width: 400px !important;
}

#successMessage.success-message.show {
  transform: translate(-50%, -50%) translateY(0)!important;
}