/* 
 * subsidy-styles.css
 * Main stylesheet for Suryasthan.in - Subsidy Services
 * Based on thesubsidysquad.com design with custom enhancements
 */

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Primary Color Scheme - Subsidy Squad Inspired */
    --primary-blue: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --accent-green: #10b981;
    --accent-purple: #8b5cf6;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --text-light: #94a3b8;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ===== HERO SECTION ===== */
.hero-subsidy {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    color: white;
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-subsidy::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path d="M0,0 C50,100 50,0 100,100 L100,0 Z" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.process-pillars {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 3rem 0 4rem;
    flex-wrap: wrap;
}

.pillar {
    text-align: center;
    min-width: 140px;
}

.pillar-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.pillar:hover .pillar-icon {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.pillar h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.btn-hero-primary {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== SECTION COMMON STYLES ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SCHEME HIGHLIGHTS ===== */
.scheme-highlights {
    background-color: var(--bg-light);
}

.scheme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.scheme-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.scheme-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.scheme-amount {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    display: block;
    line-height: 1;
}

.unit {
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 600;
}

.scheme-info {
    text-align: center;
}

.scheme-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.scheme-fullform {
    color: var(--text-gray);
    font-size: 1rem;
}

.scheme-note {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    padding: 2rem;
    background: rgba(37, 99, 235, 0.05);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
}

/* ===== OUR SERVICES ===== */
.services-process {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.service-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: var(--border-color);
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
}

.service-step:last-child .step-number::after {
    display: none;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.step-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== CREDIT SERVICES ===== */
.credit-services {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.credit-services .section-header h2 {
    color: var(--text-dark);
}

.credit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.credit-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
}

.credit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.credit-icon {
    font-size: 3rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.credit-card h3 {
    color: var(--text-dark);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.credit-price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin: 1.5rem 0;
}

.credit-features {
    color: var(--text-gray);
    margin-bottom: 25px;
    padding-left: 0;
}

.credit-features li {
    margin-bottom: 10px;
    list-style-type: none;
    position: relative;
    padding-left: 25px;
}

.credit-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

.combo-features {
    margin: 25px 0;
}

.combo-features > div {
    padding: 1.25rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
}

.combo-features > div:first-child {
    background: #f0f9ff;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.combo-features > div:first-child strong {
    color: #0369a1;
}

.combo-features > div:last-child {
    background: #f0fdf4;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.combo-features > div:last-child strong {
    color: #047857;
}

.combo-features div div {
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.6;
}

.btn-credit {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-credit:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-credit.business-btn {
    background: var(--accent-green);
}

.btn-credit.business-btn:hover {
    background: #059669;
}

/* ===== ACHIEVEMENTS ===== */
.achievements {
    background: linear-gradient(135deg, var(--accent-green) 0%, #059669 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.stat-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== BLOG SECTION ===== */
.blog-home-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.blog-card {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.placeholder-image {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.initial-letter {
    color: white;
    font-size: 4rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.read-more:hover {
    gap: 12px;
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-blue);
    color: white;
    padding: 14px 40px;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 50px;
}

.btn-view-all:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ===== SERVICE PRODUCTS ===== */
.service-products {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-purple) 100%);
    color: white;
}

.service-products .section-header h2 {
    color: white;
    margin-bottom: 10px;
}

.service-products .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, background 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.product-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.product-price {
    margin: 1.5rem 0;
}

.original-price {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 0.875rem;
    display: block;
}

.current-price {
    font-size: 2rem;
    font-weight: 700;
    display: block;
    margin-top: 5px;
}

.product-card p {
    opacity: 0.9;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.6;
}

.product-btn {
    display: inline-block;
    background: white;
    color: var(--primary-blue);
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
}

.product-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

/* ===== CTA SECTION ===== */
.cta-final {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-cta-primary {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-cta-secondary {
    display: inline-block;
    background: transparent;
    color: var(--primary-blue);
    padding: 1rem 2.5rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
}

.btn-cta-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-cta-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background-color: var(--bg-light);
    padding: 80px 0;
}

.faq-grid {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.faq-item.active {
    background: #f0f9ff;
    border-left: 4px solid var(--primary-blue);
}

.faq-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0;
    cursor: pointer;
    position: relative;
    padding-right: 2rem;
}

.faq-item h4::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-item.active h4::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.faq-item p {
    color: var(--text-gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    line-height: 1.6;
}

.faq-item.active p {
    max-height: 200px;
    margin-top: 1rem;
}

/* ===== FOOTER ===== */
.main-footer {
    background: var(--text-dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.footer-content > p {
    opacity: 0.8;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.footer-contact {
    margin: 25px 0;
    opacity: 0.8;
}

.footer-contact p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 30px 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 20px;
    opacity: 0.6;
    text-align: center;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .process-pillars {
        gap: 2rem;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-tagline {
        font-size: 1.25rem;
    }
    
    .process-pillars {
        flex-direction: column;
        gap: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .services-process {
        grid-template-columns: 1fr;
    }
    
    .service-step .step-number::after {
        display: none;
    }
    
    .credit-grid,
    .product-grid,
    .stats-grid,
    .scheme-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 100%;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.875rem;
    }
    
    .hero-subsidy {
        padding: 60px 0 40px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .credit-card,
    .product-card,
    .scheme-card {
        padding: 1.5rem;
    }
    
    .amount {
        font-size: 2.75rem;
    }
    
    .stat-number {
        font-size: 2.75rem;
    }
    
    .credit-price {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* ===== UTILITY CLASSES ===== */
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }