/* =========================================
   MASTER CSS - DIGITAL GRAM PAY
   ========================================= */

/* 1. Global Variables & Root */
:root {
    --primary-orange: #FF8C00;
    --primary-green: #228B22;
    --dark-blue: #0a192f;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --transition: all 0.4s ease;
}

/* 2. Standard Resets */
body { 
    font-family: 'Poppins', 'Segoe UI', sans-serif; 
    overflow-x: hidden; 
    color: #444; 
    background-color: var(--white);
}
/* Navbar image ko fix karne ke liye */
.navbar img {
    height: 50px;       /* Apne hisaab se height adjust karein */
    width: auto;        /* Width auto rakhne se image stretch nahi hogi */
    object-fit: contain; /* Image ka ratio maintain rahega */
    margin-left: 10px;  /* Brand text aur logo ke beech gap ke liye */
}

 
section { padding: 80px 0; }

/* 3. Reusable Utility Classes */
.text-orange { color: var(--primary-orange) !important; }
.text-green { color: var(--primary-green) !important; }
.bg-orange { background-color: var(--primary-orange) !important; }
.bg-light-grey { background-color: var(--light-bg); }

/* 4. Navigation Bar */
.navbar { background: var(--white); box-shadow: 0 2px 15px rgba(0,0,0,0.1); padding: 15px 0; }
.navbar-brand { font-weight: 800; font-size: 1.5rem; color: var(--primary-orange) !important; }
.navbar-brand span { color: var(--primary-green); }
.nav-link { font-weight: 500; color: #333 !important; margin-left: 20px; transition: var(--transition); }
.nav-link:hover { color: var(--primary-orange) !important; }

/* 5. Hero & Buttons */
.hero-section {
    padding: 120px 0;
    background: linear-gradient(135deg, #fff5e6 0%, #e6f9e6 100%);
}
.hero-section h1 { font-size: 3.5rem; line-height: 1.2; font-weight: 800; }
.btn-main { 
    background: var(--primary-green); 
    color: var(--white) !important; 
    padding: 12px 35px; 
    border-radius: 50px; 
    border: none; 
    font-weight: 600; 
    transition: var(--transition);
    display: inline-block;
    text-decoration: none;
}
.btn-main:hover { background: var(--primary-orange); transform: scale(1.05); }

/* 6. Cards (Services, Values, About) */
.custom-card, .service-card, .value-card {
    background: var(--white);
    padding: 35px;
    border-radius: 20px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: var(--transition);
    border-bottom: 5px solid var(--primary-green);
    text-align: center;
}
.custom-card:hover, .service-card:hover, .value-card:hover {
    transform: translateY(-15px);
    border-bottom: 5px solid var(--primary-orange);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* 7. Icon Circles */
.icon-circle, .icon-box {
    width: 70px; height: 70px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; font-size: 2rem;
    margin: 0 auto 20px;
    background: #f0fff0;
    color: var(--primary-green);
}
.bg-dark .icon-circle { background: rgba(255,255,255,0.1); color: var(--primary-orange); }

/* 8. Stats & Counters */
.stats-box { 
    text-align: center; padding: 25px; border-radius: 15px; 
    background: var(--white); box-shadow: 0 5px 20px rgba(0,0,0,0.05); 
    border: 1px solid #eee;
}
.stats-box h3 { color: var(--primary-green); font-weight: 800; font-size: 2.2rem; }

/* 9. Dark Sections (How It Works) */
.bg-dark-blue {
    background-color: var(--dark-blue);
    color: var(--white);
}
.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
}
.step-card:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--primary-orange); }
.step-number { font-size: 3rem; font-weight: 900; color: var(--primary-orange); opacity: 0.4; }

/* 10. Impact Section (Parallax) */
.impact-section {
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed !important;
    color: var(--white);
}

/* 11. Testimonials & Reviews */
.review-card {
    background: var(--white); padding: 30px; border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.05); margin: 10px;
}
.stars { color: #ffc107; margin-bottom: 10px; }

/* 12. Footer */
footer { background: var(--dark-blue); color: var(--white); padding: 60px 0 20px; }
.footer-logo { font-weight: 800; color: var(--white); font-size: 1.8rem; text-decoration: none; display: block; margin-bottom: 20px; }
.footer-logo span { color: var(--primary-orange); }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #ccc; text-decoration: none; transition: var(--transition); }
.footer-links a:hover { color: var(--primary-orange); padding-left: 5px; }

/* 13. Mobile Responsiveness */
@media (max-width: 768px) {
    .hero-section h1 { font-size: 2.5rem; }
    section { padding: 50px 0; }
}

/* Service Page Specific */
.service-card ul li {
    margin-bottom: 8px;
    font-weight: 500;
}

.service-card .icon-box {
    transition: transform 0.5s ease;
    border: 1px solid #eee;
}

.service-card:hover .icon-box {
    transform: rotateY(15deg) scale(1.1);
    background: var(--white);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.navbar .nav-link.active {
    font-weight: 700;
    border-bottom: 2px solid var(--primary-orange);
}