/* Indian-inspired color scheme and design */
:root {
    --primary: #FF9000;    /* Saffron Orange */
    --secondary: #800080;  /* Purple */
    --tertiary: #009688;   /* Teal Green */
    --accent: #FFC107;     /* Amber/Gold */
    --light: #FFF9E6;      /* Light Cream Background */
    --white: #FFFFFF;
    --dark: #333333;
    --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --gradient-1: linear-gradient(135deg, var(--primary) 0%, #FFAB40 100%);
    --gradient-2: linear-gradient(135deg, var(--secondary) 0%, #B388FF 100%);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Arial', 'Noto Sans', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s ease;
}

h1, h2, h3 {
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

h1 {
    font-size: 2rem;
    color: var(--secondary);
}

h1 span {
    color: var(--primary);
}

h2 {
    font-size: 2.2rem;
    position: relative;
    text-align: center;
    margin-bottom: 2.5rem;
}

h2::after {
    content: "";
    position: absolute;
    width: 80px;
    height: 5px;
    background: var(--gradient-1);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 10px;
}

h3 {
    font-size: 1.3rem;
    color: var(--secondary);
}

p {
    margin-bottom: 1.5rem;
}

section {
    padding: 70px 0;
}

/* Header styles */
header {
    background-color: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

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

.logo h1 {
    font-size: 1.5rem;
    margin-bottom: 0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

nav li a {
    color: var(--dark);
    font-weight: 600;
    position: relative;
    padding: 5px 0;
}

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

nav li a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

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

/* Hero section */
.hero {
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><path d="M0,0 L100,0 L100,100 L0,100 Z" fill="%23FFF9E6"/><circle cx="75" cy="25" r="3" fill="%23FFC107" opacity="0.3"/><circle cx="25" cy="75" r="3" fill="%23FF9000" opacity="0.3"/><circle cx="75" cy="75" r="3" fill="%23800080" opacity="0.2"/><circle cx="25" cy="25" r="3" fill="%23009688" opacity="0.2"/></svg>');
    padding: 80px 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

.hero-content h2 {
    text-align: left;
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}

.hero-content h2::after {
    left: 0;
    transform: none;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.hero-visual {
    animation: fadeIn 1s ease-out 0.2s both;
    display: flex;
    justify-content: center;
}

.cta-button {
    display: inline-block;
    background: var(--gradient-1);
    color: var(--white) !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 144, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 144, 0, 0.4);
}

/* Features section */
.features {
    background: var(--white);
    text-align: center;
}

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

.feature-card {
    background: var(--light);
    padding: 40px 25px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.feature-card svg {
    margin-bottom: 25px;
}

.feature-card h3 {
    margin-bottom: 15px;
}

.feature-card p {
    margin-bottom: 0;
    color: var(--dark);
}

/* How it works section */
.how-it-works {
    background-color: #F5F0FF;
    text-align: center;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 35px 25px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow);
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--secondary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: bold;
}

.step svg {
    margin-bottom: 20px;
}

.step h3 {
    margin-bottom: 15px;
}

.step p {
    margin-bottom: 0;
}

.cta-center {
    margin-top: 50px;
}

/* FAQ section */
.faq {
    background: var(--white);
}

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

.faq-item {
    background: var(--light);
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.question h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.arrow {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform 0.3s ease;
}

.arrow:before, .arrow:after {
    content: '';
    position: absolute;
    background-color: var(--secondary);
    width: 12px;
    height: 2px;
    top: 10px;
}

.arrow:before {
    left: 0;
    transform: rotate(45deg);
}

.arrow:after {
    right: 0;
    transform: rotate(-45deg);
}

.faq-item.active .arrow {
    transform: rotate(180deg);
}

.answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .answer {
    padding: 20px;
    max-height: 200px;
}

/* Footer styles */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 30px;
}

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

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

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

.footer-logo span {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--white);
}

.footer-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-links a {
    color: var(--white);
    opacity: 0.8;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-keywords, .copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
        margin-top: 15px;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        text-align: center;
    }
    
    .hero-content h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-top, .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card, .step {
    animation: fadeInUp 0.8s ease-out forwards;
    animation-play-state: paused;
    opacity: 0;
}

.feature-card:nth-child(1), .step:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2), .step:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3), .step:nth-child(3) {
    animation-delay: 0.5s;
}

.feature-card:nth-child(4) {
    animation-delay: 0.7s;
}
