/* ==========================================================================
   CSS Variables & Reset
   ========================================================================== */
   :root {
    --primary-color: #f59e0b; /* Amber */
    --primary-hover: #ea580c; /* Deep Orange */
    --secondary-color: #10b981; /* Emerald */
    --text-dark: #111827;
    --text-light: #4b5563;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 25px 30px -5px rgba(0, 0, 0, 0.08), 0 15px 15px -5px rgba(0, 0, 0, 0.04);
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-light);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    color: var(--text-dark);
    font-weight: 800;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.center {
    text-align: center;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: all 0.6s ease;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(245, 158, 11, 0.5);
    color: var(--white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
}

.navbar.scrolled .logo {
    color: var(--text-dark);
}

.logo-icon {
    color: var(--primary-color);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a:not(.btn-nav) {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    position: relative;
}

.navbar.scrolled .nav-links a:not(.btn-nav) {
    color: var(--text-dark);
}

.nav-links a:not(.btn-nav)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:not(.btn-nav):hover::after, .nav-links a.active::after {
    width: 100%;
}

.btn-nav {
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    color: var(--white);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.8rem;
    color: var(--white);
    cursor: pointer;
}

.navbar.scrolled .mobile-menu-btn {
    color: var(--text-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.btn-nav-mobile {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 15px;
    text-align: center;
    border-radius: 50px;
    margin-top: 20px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('assets/img/hero_dog.png') center/cover no-repeat;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
    color: var(--white);
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about {
    padding: 100px 0;
    background-color: var(--white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.floating-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.floating-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.floating-card .count {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1;
}

.floating-card .label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-header.center .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

/* Mission / Vision */
.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 40px;
}

.mv-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary-color);
}

.mv-box:nth-child(2) {
    border-left-color: var(--secondary-color);
}

.mv-box h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.mv-box p {
    font-size: 0.95rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.features-list li {
    display: flex;
    gap: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

/* ==========================================================================
   Videos Section
   ========================================================================== */
.videos-section {
    padding: 100px 0;
    background-color: var(--text-dark);
    color: var(--white);
}

.videos-section .section-title, .videos-section .section-desc {
    color: var(--white);
}

.videos-section .section-desc {
    opacity: 0.8;
    max-width: 700px;
    margin: 0 auto 50px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
}

.video-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
}

.video-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(45deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    gap: 15px;
}

.video-placeholder-overlay i {
    font-size: 3rem;
    opacity: 0.8;
}

.video-info {
    padding: 25px;
}

.video-info h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.video-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ==========================================================================
   Donate Section (Tiers & Payment)
   ========================================================================== */
.donate {
    padding: 100px 0;
    background: var(--bg-light);
}

.donate-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.donate-header .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.donation-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.tier-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
    cursor: pointer;
}

.tier-card:hover, .tier-card.selected {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(245, 158, 11, 0.3);
}

.tier-card.selected {
    background-color: rgba(245, 158, 11, 0.03);
}

.tier-icon {
    width: 70px; height: 70px;
    margin: 0 auto 20px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
}

.tier-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
    margin: 15px 0;
    line-height: 1;
}

.tier-price span {
    font-size: 1.2rem;
    color: var(--text-light);
    font-weight: 600;
}

.featured-tier {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.featured-tier:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
}

/* Custom Amount Input Styles */
.custom-amount-wrapper {
    max-width: 500px;
    margin: 0 auto 50px;
    text-align: center;
}

.custom-amount-wrapper label {
    display: block;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.amount-input-group {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid #e5e7eb;
    border-radius: var(--radius-md);
    padding: 5px 20px;
    transition: var(--transition);
}

.amount-input-group:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.1);
}

.amount-input-group .currency-symbol,
.amount-input-group .currency-code {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-light);
}

.amount-input-group input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px;
    font-size: 1.5rem;
    font-family: inherit;
    font-weight: 800;
    color: var(--text-dark);
    text-align: center;
    background: transparent;
}

.amount-input-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    font-size: 1.2rem;
}

/* Payment Box */
.payment-box {
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.payment-box h3 {
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.payment-card {
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0,0,0,0.08);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.payment-card:hover {
    border-color: rgba(0,0,0,0.15);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.payment-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.payment-icon.paypal {
    background: #e1f0ff;
    color: #003087;
}

.payment-icon.epayco {
    background: #fff3e0;
    color: #ff5722;
}

.payment-card h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.payment-card p {
    font-size: 0.95rem;
    margin-bottom: 25px;
    color: var(--text-light);
}

.payment-form {
    width: 100%;
}

.btn-paypal, .btn-epayco {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-paypal {
    background: #003087;
    color: #fff;
}

.btn-paypal:hover { background: #001c53; }

.btn-epayco {
    background: #ff5722;
    color: #fff;
}

.btn-epayco:hover { background: #e64a19; }

.policies-link-box {
    text-align: center;
    margin-top: 30px;
    font-size: 0.95rem;
}

.policies-link-box a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-brand p {
    max-width: 400px;
}

.footer-links h3, .footer-social h3 {
    color: var(--white);
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.footer-links p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links i {
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   Media Queries (Responsive Improvements)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 4rem; }
    .about-container { gap: 40px; }
    .featured-tier { transform: none; }
    .featured-tier:hover { transform: translateY(-5px); }
}

@media (max-width: 992px) {
    .about-container {
        grid-template-columns: 1fr;
    }
    .floating-card {
        right: 0;
        bottom: -20px;
    }
    .video-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-menu-btn {
        display: block;
    }
    .hero-title {
        font-size: 2.8rem;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    .hero-buttons .btn {
        width: 100%;
    }
    .mission-vision {
        grid-template-columns: 1fr;
    }
    .payment-box {
        padding: 30px 20px;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .section-title {
        font-size: 2.2rem;
    }
    .tier-price {
        font-size: 2.5rem;
    }
    .floating-card {
        padding: 15px;
        gap: 10px;
    }
    .floating-card i {
        font-size: 1.8rem;
    }
    .floating-card .count {
        font-size: 1.5rem;
    }
}
