/* Base Styles */
:root {
    --primary-color: #FF9933; /* Saffron (Indian flag) */
    --secondary-color: #138808; /* Green (Indian flag) */
    --accent-color: #FFFFFF; /* White (Indian flag) */
    --text-color: #333333;
    --light-text: #FFFFFF;
    --dark-bg: #1A1A1A;
    --light-bg: #F5F5F5;
    --card-bg: #FFFFFF;
    --border-radius: 6px;
    --box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

section {
    padding: 70px 0;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

h1 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

p {
    margin-bottom: 15px;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    color: var(--text-color);
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    border-radius: 3px;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.primary-btn {
    background: linear-gradient(45deg, var(--primary-color), #FF7E1F);
    color: var(--light-text);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 153, 51, 0.3);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 153, 51, 0.4);
}

.secondary-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.secondary-btn:hover {
    background-color: var(--primary-color);
    color: var(--light-text);
}

/* Header */
header {
    background-color: var(--light-text);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    width: 40px;
    height: 40px;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav a {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
}

nav a:hover {
    color: var(--primary-color);
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
                url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="33.33" fill="%23FF9933"/><rect y="33.33" width="100" height="33.33" fill="%23FFFFFF"/><rect y="66.66" width="100" height="33.33" fill="%23138808"/></svg>');
    background-size: cover;
    padding: 80px 0;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Features Section */
.features {
    background-color: var(--card-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary-color);
}

/* How it Works Section */
.how-it-works {
    background-color: var(--light-bg);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1;
    min-width: 250px;
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    text-align: center;
    position: relative;
}

.step-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--primary-color), #FF7E1F);
    color: var(--light-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    color: var(--primary-color);
}

.step-arrow {
    display: flex;
    align-items: center;
}

/* Get Started Section */
.get-started {
    background: linear-gradient(135deg, var(--primary-color), #FF7E1F);
    color: var(--light-text);
    text-align: center;
    padding: 70px 0;
}

.get-started h2 {
    color: var(--light-text);
}

.get-started p {
    max-width: 600px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
}

.get-started .btn {
    background-color: var(--light-text);
    color: var(--primary-color);
}

.get-started .btn:hover {
    background-color: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--card-bg);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.testimonial {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
    padding: 25px;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.testimonial-content p {
    position: relative;
    z-index: 1;
}

.testimonial-author {
    background-color: rgba(255, 153, 51, 0.1);
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-author .name {
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.rating {
    display: flex;
    gap: 2px;
}

/* FAQ Section */
.faq {
    background-color: var(--light-bg);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 30px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand h3 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-links h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 0;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 992px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
        z-index: 101;
    }
    
    .menu-toggle {
        position: absolute;
        opacity: 0;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        max-width: 300px;
        background-color: var(--light-text);
        padding: 80px 30px 30px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .menu-toggle:checked ~ nav {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    nav ul {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .footer-nav {
        gap: 30px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    section {
        padding: 50px 0;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 20px;
    }
}
