:root {
    --primary: #138808; /* Green from Indian flag */
    --primary-light: #1db11d;
    --secondary: #ff9933; /* Saffron from Indian flag */
    --secondary-light: #ffb366;
    --accent: #f8f8f8; /* Off-white */
    --dark: #222222;
    --text: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Arial', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--accent);
    overflow-x: hidden;
}

.wrapper {
    display: grid;
    grid-template-columns: auto 1fr;
    min-height: 100vh;
}

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

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

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.3rem;
}

p {
    margin-bottom: 1.5rem;
}

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

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

.highlight {
    color: var(--primary);
}

.domain {
    color: var(--secondary);
}

/* Side Navigation */
.side-nav {
    background: var(--white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: var(--transition);
}

.close-btn {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text);
}

.nav-brand {
    padding: 0 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 0.5rem;
}

.nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text);
    transition: var(--transition);
    position: relative;
}

.nav-links a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background-color: var(--primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    background-color: rgba(19, 136, 8, 0.05);
}

.nav-links a:hover::before {
    transform: scaleY(1);
}

/* Main Content */
.main-content {
    padding-left: 250px;
    width: 100%;
}

/* Header */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

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

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(19, 136, 8, 0.03) 0%, rgba(255, 153, 51, 0.03) 100%);
}

.hero-content h2 {
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.85rem 1.75rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--white);
    box-shadow: 0 4px 10px rgba(19, 136, 8, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 7px 15px rgba(19, 136, 8, 0.4);
    color: var(--white);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.arrow {
    margin-left: 5px;
    transition: var(--transition);
}

.btn:hover .arrow {
    transform: translateX(5px);
}

/* Sections */
.section {
    padding: 5rem 2rem;
}

.section:nth-child(even) {
    background-color: var(--white);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    border-top: 3px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top: 3px solid var(--primary);
}

.feature-icon {
    margin: 0 auto 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--text);
}

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

/* How It Works Section */
.how-it-works-section {
    background: linear-gradient(135deg, rgba(19, 136, 8, 0.03) 0%, rgba(255, 153, 51, 0.03) 100%);
}

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

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.step::after {
    content: '';
    position: absolute;
    top: 50px;
    left: 25px;
    width: 2px;
    height: calc(100% + 20px);
    background: var(--primary);
    opacity: 0.2;
}

.step:last-child::after {
    display: none;
}

.step-number {
    background: var(--primary);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--text);
}

.step-content p {
    color: var(--text-light);
    margin-bottom: 0;
}

.center-btn {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 1.25rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(19, 136, 8, 0.05);
}

.faq-question h3 {
    font-size: 1rem;
    margin-bottom: 0;
    transition: var(--transition);
}

.icon-toggle {
    position: relative;
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.icon-toggle::before,
.icon-toggle::after {
    content: '';
    position: absolute;
    background-color: var(--primary);
    transition: var(--transition);
}

.icon-toggle::before {
    width: 16px;
    height: 2px;
    top: 7px;
    left: 0;
}

.icon-toggle::after {
    width: 2px;
    height: 16px;
    left: 7px;
    top: 0;
}

.faq-answer {
    padding: 0 1.25rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-answer p {
    padding-bottom: 1.25rem;
    margin-bottom: 0;
}

.faq-item.active .faq-question {
    background: rgba(19, 136, 8, 0.05);
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-item.active .icon-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(19, 136, 8, 0.9) 0%, rgba(35, 152, 24, 0.9) 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.footer-brand {
    font-size: 1.2rem;
    font-weight: 700;
}

.footer-name {
    color: var(--white);
}

.footer-domain {
    color: var(--secondary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.footer-nav h4,
.footer-legal h4 {
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-nav h4::after,
.footer-legal h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary);
}

.footer-nav ul,
.footer-legal ul {
    list-style: none;
}

.footer-nav li,
.footer-legal li {
    margin-bottom: 0.75rem;
}

.footer-nav a,
.footer-legal a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-nav a:hover,
.footer-legal a:hover {
    color: var(--white);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.keywords {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 0.5rem;
}

/* Responsive Design */
@media screen and (max-width: 1100px) {
    .side-nav {
        width: 220px;
    }
    
    .main-content {
        padding-left: 220px;
    }
}

@media screen and (max-width: 992px) {
    .wrapper {
        grid-template-columns: 1fr;
    }
    
    .side-nav {
        transform: translateX(-100%);
        width: 250px;
    }
    
    .side-nav.active {
        transform: translateX(0);
    }
    
    .close-btn {
        display: block;
    }
    
    .main-content {
        padding-left: 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        grid-row: 1;
    }
    
    .hero-btns {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-logo {
        align-items: center;
        margin-bottom: 1rem;
    }
}

@media screen and (max-width: 768px) {
    h2 {
        font-size: 2rem;
    }
    
    .step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .step::after {
        display: none;
    }
    
    .step-content {
        width: 100%;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .header {
        padding: 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .hero-section {
        padding: 3rem 1rem;
    }
    
    .hero-btns {
        flex-direction: column;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}
