/* Root Variables */
:root {
    --primary-color: #7B3F9F;
    --primary-dark: #5E2D7A;
    --primary-light: #9B5FBF;
    --secondary-color: #FF8C00;
    --secondary-dark: #E67E00;
    --secondary-light: #FFA033;
    --accent-color: #FF8C00;
    --text-color: #1F2937;
    --text-light: #6B7280;
    --bg-color: #FFFFFF;
    --bg-light: #F9FAFB;
    --border-color: #E5E7EB;
    --shadow: 0 1px 3px rgba(123, 63, 159, 0.1);
    --shadow-lg: 0 10px 25px rgba(123, 63, 159, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Noto Sans Devanagari', sans-serif;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --text-color: #F9FAFB;
    --text-light: #D1D5DB;
    --bg-color: #111827;
    --bg-light: #1F2937;
    --border-color: #374151;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    transition: var(--transition);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Header & Navigation */
#main-header {
    background: var(--bg-color);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand .logo-text i {
    color: var(--secondary-color);
}

.nav-brand .logo {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-list a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle {
    cursor: pointer;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    background: none;
    border: none;
    padding: 0.5rem;
    color: var(--secondary-color);
}

.theme-toggle:hover {
    transform: scale(1.1);
}

.language-switcher select {
    padding: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    background: var(--bg-color);
    color: var(--text-color);
    cursor: pointer;
    font-size: 0.9rem;
}

.auth-buttons {
    display: flex;
    gap: 0.5rem;
}

.user-menu {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0.5rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
}

.dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--bg-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    font-size: 1rem;
    line-height: 1.5;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6rem 0 4rem;
    margin: 0;
}

.stars-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    z-index: 0;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
    padding: 2rem;
    position: relative;
    max-width: 100%;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.35rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-buttons .btn i {
    font-size: 1.1rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-item i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: white;
}

.stat-item p {
    font-size: 0.95rem;
    opacity: 0.85;
    color: white;
}

/* Mobile Hero Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: 500px;
        padding: 4rem 0 3rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(0.95rem, 3vw, 1.15rem);
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 400px;
        margin: 0 auto 2.5rem;
        gap: 0.75rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1.5rem;
    }
    
    .stat-item {
        padding: 0.75rem;
    }
    
    .stat-item i {
        font-size: 2rem;
    }
    
    .stat-item h3 {
        font-size: 1.75rem;
    }
    
    .stat-item p {
        font-size: 0.875rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 450px;
        padding: 3rem 0 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        max-width: 250px;
    }
    
    .stat-item {
        padding: 0.5rem;
    }
    
    .stat-item i {
        font-size: 1.75rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    color: white;
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-hero .hero-content {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-hero p {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Grid Improvements */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(123, 63, 159, 0.2);
    border-color: var(--secondary-color);
}

.service-icon {
    font-size: 3.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.service-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin: 1.5rem 0;
    font-weight: 700;
}

.service-price .currency {
    font-size: 1.25rem;
    color: var(--text-light);
}

.service-price .amount {
    font-size: 2.5rem;
    color: var(--secondary-color);
}

.service-price .period {
    font-size: 1rem;
    color: var(--text-light);
}

.service-card > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-color);
}

.service-features li:last-child {
    border-bottom: none;
}

.service-features li i {
    color: var(--secondary-color);
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
    display: block;
    margin-top: auto;
}

/* About Section Styles */
.about-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.about-card h3 i {
    color: var(--secondary-color);
    font-size: 1.75rem;
}

.about-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

.about-card ul {
    list-style: none;
    padding: 0;
}

.about-card ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-color);
    font-size: 1rem;
}

.about-card ul li i {
    color: var(--secondary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.stat-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(123, 63, 159, 0.3);
}

.stat-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.stat-card h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.stat-card p {
    font-size: 1.1rem;
    opacity: 0.95;
    color: white;
}

/* How It Works Section */
.how-it-works {
    background: var(--bg-color);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step-item {
    text-align: center;
    position: relative;
    padding: 1rem;
}

.step-number {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.35rem;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin: 2.5rem 0 1.5rem;
    background: rgba(123, 63, 159, 0.1);
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.step-item:hover .step-icon {
    background: rgba(123, 63, 159, 0.2);
    transform: scale(1.1);
}

.step-item h3 {
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    font-size: 1.35rem;
}

.step-item p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive How It Works */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .step-icon {
        font-size: 2.5rem;
        width: 90px;
        height: 90px;
        margin: 2rem 0 1.25rem;
    }
    
    .step-item h3 {
        font-size: 1.25rem;
    }
    
    .step-item p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        gap: 2.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .step-icon {
        font-size: 2.25rem;
        width: 80px;
        height: 80px;
    }
    
    .step-item h3 {
        font-size: 1.15rem;
    }
}

/* Sections */
.section-padding {
    padding: 4rem 0;
    position: relative;
    z-index: 1;
    background: var(--bg-color);
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.section-header p {
    color: var(--text-light);
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.text-center {
    text-align: center;
}

.bg-light {
    background: var(--bg-light) !important;
}

/* Grids */
.features-grid,
.services-grid,
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Cards */
.feature-card,
.service-card,
.blog-card {
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card:hover,
.service-card:hover,
.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.feature-icon,
.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    width: 80px;
    height: 80px;
    background: rgba(255, 140, 0, 0.1);
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.feature-card:hover .feature-icon,
.service-card:hover .service-icon {
    transform: scale(1.1);
    background: rgba(255, 140, 0, 0.2);
}

.feature-card h3,
.service-card h3,
.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.feature-card p,
.service-card > p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    flex-grow: 1;
}

/* Blog Specific */
.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.blog-meta i {
    color: var(--secondary-color);
    margin-right: 0.25rem;
}

.blog-title {
    margin-bottom: 0.75rem;
}

.blog-title a {
    color: var(--text-color);
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-title a:hover {
    color: var(--primary-color);
}

.blog-excerpt {
    color: var(--text-light);
    margin: 0.75rem 0;
    line-height: 1.6;
    flex-grow: 1;
}

.blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-read-more:hover {
    color: var(--secondary-color);
}

.blog-read-more i {
    transition: var(--transition);
}

.blog-read-more:hover i {
    transform: translateX(3px);
}

.blog-views {
    color: var(--text-light);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-views i {
    color: var(--secondary-color);
}

/* Blog Page Specific Styles */
.blog-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.category-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-btn i {
    font-size: 1rem;
    color: var(--secondary-color);
    transition: var(--transition);
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.category-btn:hover i,
.category-btn.active i {
    color: white;
}

.blog-search {
    max-width: 600px;
    margin: 0 auto 3rem;
}

.search-box {
    position: relative;
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

.search-box input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--text-color);
    background: var(--bg-color);
    transition: var(--transition);
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(123, 63, 159, 0.1);
}

.blog-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.blog-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow);
}

.blog-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-posts {
    margin-top: 4rem;
}

.featured-posts h2 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.featured-posts h2 i {
    color: var(--secondary-color);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.featured-card {
    padding: 2rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    transition: var(--transition);
    text-align: center;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.featured-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.featured-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.featured-card p {
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.featured-card a {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.featured-card a:hover {
    color: var(--secondary-color);
}

.newsletter-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    border-radius: var(--border-radius);
    color: white;
    margin-top: 4rem;
    box-shadow: var(--shadow-lg);
}

.newsletter-section i {
    font-size: 3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.newsletter-section h3 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
    color: white;
}

.newsletter-section p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    color: white;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 550px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-form input {
    flex: 1;
    min-width: 250px;
    padding: 0.875rem 1rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
}

.newsletter-form button {
    background: white;
    color: var(--primary-color);
    border: none;
    padding: 0.875rem 1.5rem;
}

.newsletter-form button:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.error-message,
.no-posts {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

.error-message i,
.no-posts i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.error-message p,
.no-posts p {
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background: var(--bg-light);
    padding: 3rem 0 1rem;
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    margin-bottom: 1.25rem;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-col h4 i {
    color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    transition: var(--transition);
}

.footer-col ul li a i {
    color: var(--secondary-color);
    font-size: 0.875rem;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* Footer Contact */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
}

.footer-contact i {
    color: var(--secondary-color);
    width: 20px;
    font-size: 1.1rem;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.75rem;
    font-size: 1.25rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    box-shadow: var(--shadow-lg);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
}

.footer-bottom p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.footer-bottom i {
    color: var(--secondary-color);
}

/* Footer Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 2.5rem 0 1rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-col h4 {
        justify-content: center;
    }
    
    .footer-col ul li a {
        justify-content: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        gap: 1.75rem;
    }
    
    .footer-col h4 {
        font-size: 1.05rem;
        margin-bottom: 1rem;
    }
    
    .footer-col ul li {
        margin-bottom: 0.6rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
        margin-bottom: 0.6rem;
    }
    
    .social-links a {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        flex-direction: column;
        gap: 0.25rem;
    }
}

/* FAQ Styles */
.faq-categories {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-cat-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-color);
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1rem;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Services CTA */
.services-cta {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

/* Loading Spinner */
.loading {
    text-align: center;
    padding: 3rem;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid var(--border-color);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

.no-data {
    padding: 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-categories {
        gap: 0.75rem;
    }
    
    .faq-cat-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.95rem;
    }
    
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .faq-answer p {
        padding: 0 1.25rem 1rem;
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .faq-categories {
        gap: 0.5rem;
    }
    
    .faq-cat-btn {
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
        flex: 1 1 auto;
        min-width: calc(50% - 0.25rem);
        justify-content: center;
    }
    
    .faq-question {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .faq-answer p {
        padding: 0 1rem 0.875rem;
    }
}

/* Add Nepali font support */
@supports (font-family: 'Noto Sans Devanagari') {
    html[lang="np"],
    html[lang="np"] body,
    html[lang="np"] * {
        font-family: 'Noto Sans Devanagari', 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    }
}

/* Ensure Nepali text renders correctly */
[data-i18n],
[lang="np"] {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}