/* =============================================
   Paw Rakshak - Custom Styles
   ============================================= */

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed {
    opacity: 1;
    transform: translateX(0);
}
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* ---------- Hero Section ---------- */
.hero-section {
    position: relative;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,46,14,0.85) 0%, rgba(45,80,22,0.6) 50%, transparent 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
}

/* Hero Service Pills */
.hero-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 180px;
}
.hero-pill:hover {
    background: rgba(232,127,36,0.85);
    border-color: rgba(232,127,36,0.5);
    transform: translateX(4px);
}
.hero-pill i {
    font-size: 0.75rem;
    opacity: 0.7;
    transition: all 0.3s ease;
}
.hero-pill:hover i {
    opacity: 1;
    transform: translateX(3px);
}

/* ---------- Stat Counter ---------- */
.stat-card {
    text-align: center;
    padding: 20px 10px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45,80,22,0.1);
    border-color: #4a7c2e;
}
.stat-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: #2d5016;
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 1200px) {
    .stat-value {
        font-size: 1.4rem;
    }
}
@media (max-width: 640px) {
    .stat-value {
        font-size: 1.65rem;
    }
}
.stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 6px;
    line-height: 1.25;
}

/* ---------- Service Card ---------- */
.service-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}
.service-card .service-img {
    height: 200px;
    overflow: hidden;
}
.service-card .service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.service-card:hover .service-img img {
    transform: scale(1.08);
}
.service-card .service-body {
    padding: 20px;
    text-align: center;
}
.service-card .service-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}
.service-card .service-body p {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ---------- Impact Section ---------- */
.impact-section {
    background: linear-gradient(135deg, #1a2e0e 0%, #2d5016 50%, #3d6825 100%);
    position: relative;
    overflow: hidden;
}
.impact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(74,124,46,0.15);
}
.impact-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(232,127,36,0.08);
}
.impact-stat {
    text-align: center;
    padding: 20px;
}
.impact-stat .stat-number {
    font-size: 2.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.impact-stat .stat-suffix {
    color: #f09544;
    font-size: 1.5rem;
    font-weight: 700;
}
.impact-stat .stat-text {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

/* ---------- Project Card ---------- */
.project-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
}
.project-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}
.project-card .project-img {
    height: 200px;
    overflow: hidden;
    position: relative;
}
.project-card .project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.project-card:hover .project-img img {
    transform: scale(1.05);
}
.project-card .project-body {
    padding: 16px 20px;
}
.project-card .project-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.project-card .project-body p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* Status badge */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.badge-active {
    background: #dcfce7;
    color: #15803d;
}
.badge-progress {
    background: #fef3c7;
    color: #b45309;
}
.badge-completed {
    background: #dbeafe;
    color: #1d4ed8;
}

/* ---------- Help Section ---------- */
.help-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}
.help-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(45,80,22,0.1);
    border-color: #4a7c2e;
}
.help-card .help-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f4f9f0, #e5f0dc);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    transition: all 0.3s ease;
}
.help-card:hover .help-icon {
    background: linear-gradient(135deg, #4a7c2e, #2d5016);
}
.help-card .help-icon i {
    font-size: 1.5rem;
    color: #2d5016;
    transition: color 0.3s ease;
}
.help-card:hover .help-icon i {
    color: #fff;
}
.help-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.help-card p {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.5;
}

/* ---------- Section Headers ---------- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #4a7c2e;
    margin-bottom: 8px;
}
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.2;
}
.section-title span {
    color: #e87f24;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e87f24;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-primary:hover {
    background: #d6661a;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(232,127,36,0.3);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255,255,255,0.4);
    cursor: pointer;
}
.btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
}
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2d5016;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-green:hover {
    background: #3d6825;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(45,80,22,0.3);
}

/* ---------- Story Card ---------- */
.story-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.35s ease;
}
.story-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.08);
}

/* ---------- Page Banner ---------- */
.page-banner {
    background: linear-gradient(135deg, #1a2e0e 0%, #2d5016 60%, #3d6825 100%);
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-banner::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(232,127,36,0.08);
}
.page-banner h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}
.page-banner .breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.6);
}
.page-banner .breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}
.page-banner .breadcrumb a:hover {
    color: #f09544;
}

/* ---------- Forms ---------- */
.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    outline: none;
    font-family: 'Poppins', sans-serif;
}
.form-input:focus {
    border-color: #4a7c2e;
    box-shadow: 0 0 0 3px rgba(74,124,46,0.15);
}
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

/* ---------- Animations ---------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(232,127,36,0.4); }
    50% { box-shadow: 0 0 20px 5px rgba(232,127,36,0.15); }
}
.float-animation {
    animation: float 3s ease-in-out infinite;
}
.pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #4a7c2e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2d5016;
}

/* ---------- Nav Shadow on Scroll ---------- */
.nav-scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
