/* 
* Dhan Guru Landing Page Styles
* Colors:
* Primary: #0B6E4F (deep green)
* Accent: #F6A623 (bright gold/orange)
* Secondary: #FFFFFF (white), #F4F6F8 (light grey), #1F2937 (dark text)
*/

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', 'Noto Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1F2937;
    background-color: #FFFFFF;
}

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

.screenshots .container {
    max-width: 1400px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

a {
    color: #0B6E4F;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #F6A623;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 80px 0;
}

/* Welcome Section - Home Page */
.welcome-section {
    padding: 40px 0;
    background-color: #F4F6F8;
}

.welcome-section h2 {
    color: #0B6E4F;
    margin-bottom: 20px;
}

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

.benefit-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-card h3 {
    color: #0B6E4F;
    margin-bottom: 15px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: #0B6E4F;
    color: #FFFFFF;
}

.btn-primary:hover {
    background-color: #095a41;
    color: #FFFFFF;
}

.btn-secondary {
    background-color: transparent;
    color: #0B6E4F;
    border: 2px solid #0B6E4F;
}

.btn-secondary:hover {
    background-color: #0B6E4F;
    color: #FFFFFF;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    display: none; /* Hidden by default, shown via JS */
}

.cookie-consent p {
    margin: 0;
    padding-right: 20px;
}

.cookie-consent button {
    background-color: #F6A623;
    color: #1F2937;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

/* Top Bar */
.top-bar {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 8px 0;
    font-size: 0.9rem;
    text-align: center;
}

/* Header */
.header {
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo img {
    height: 48px;
    width: auto;
    max-width: 144px;
    border-radius: 8px;
    padding: 5px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    object-fit: contain;
}

.nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    color: #1F2937;
    font-weight: 500;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #1F2937;
    margin: 2px 0;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 100px 0;
    background-color: #F4F6F8;
    position: relative;
    overflow: hidden;
}

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

.hero-content {
    flex: 1;
    max-width: 550px;
}

.hero h1 {
    margin-bottom: 20px;
    color: #0B6E4F;
}

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

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

.hero-image {
    flex: 1;
    position: relative;
    text-align: center;
}

.hero-image img {
    max-width: 300px;
    position: relative;
    z-index: 2;
}

.app-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 380px;
    overflow: hidden;
    border-radius: 20px;
    z-index: 1;
}

.app-preview video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Features Section */
.features {
    background-color: #FFFFFF;
}

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

.feature-card {
    background-color: #F4F6F8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-width: 100%;
    max-height: 100%;
}

.feature-card h3 {
    color: #0B6E4F;
    margin-bottom: 10px;
}

/* How It Works Section */
.how-it-works {
    background-color: #F4F6F8;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.step-number {
    background-color: #0B6E4F;
    color: #FFFFFF;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-content h3 {
    color: #0B6E4F;
    margin-bottom: 10px;
}

/* Rewards Section */
.rewards {
    background-color: #FFFFFF;
}

.rewards-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.reward-examples h3 {
    text-align: center;
    margin-bottom: 30px;
}

.reward-examples h3 span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #666;
}

.reward-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.reward-card {
    background-color: #F4F6F8;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
}

.reward-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
}

.policy-link {
    text-align: center;
    margin-top: 30px;
}

/* Screenshots Section */
.screenshots {
    background-color: #F4F6F8;
    padding: 40px 0;
    text-align: center;
}

.screenshots h2 {
    margin-bottom: 20px;
    color: #333;
    font-size: 2rem;
}

.screenshot-carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    padding: 10px 0;
}

.screenshot-slides {
    display: flex;
    overflow-x: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    gap: 10px;
    padding: 10px 5px;
    justify-content: center;
}

.screenshot-slides::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.screenshot {
    flex: 0 0 auto;
    width: calc(20% - 8px);
    scroll-snap-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    transform: scale(0.98);
    background-color: white;
    padding: 4px;
    text-align: center;
    margin: 0 auto;
}

.screenshot.active {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.screenshot:hover {
    transform: scale(1.01);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.screenshot img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 15px;
    width: 100%;
    height: auto;
}

.screenshot p {
    margin-bottom: 10px;
    width: 100%;
    height: auto;
    font-size: 0.9rem;
}

.carousel-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 5px;
    z-index: 10;
    pointer-events: none; /* Allow clicks to pass through the container */
}

.prev-btn, .next-btn {
    background-color: rgba(255, 255, 255, 0.85);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    font-size: 12px;
    color: #0B6E4F;
    pointer-events: auto; /* Re-enable clicks on buttons */
}

.prev-btn:hover, .next-btn:hover {
    background-color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    background-color: #ddd;
    border-radius: 50%;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.dot.active {
    background-color: #0B6E4F;
    transform: scale(1.15);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.dot:hover {
    background-color: #bbb;
    transform: scale(1.08);
}

.dot.active {
    background-color: #0B6E4F;
}

/* Security Section */
.security {
    background-color: #FFFFFF;
}

.security-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.security-list {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.security-list li {
    margin-bottom: 10px;
    padding-left: 30px;
    position: relative;
}

.security-list li:before {
    content: '✓';
    color: #0B6E4F;
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* FAQ Section */
.faq {
    background-color: #F4F6F8;
}

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

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.faq-question {
    background-color: #FFFFFF;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.faq-toggle {
    font-size: 1.5rem;
    color: #0B6E4F;
}

.faq-answer {
    background-color: #F4F6F8;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Testimonials Section */
.testimonials {
    background-color: #FFFFFF;
}

.testimonial-cards {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #F4F6F8;
    padding: 30px;
    border-radius: 10px;
    width: 300px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 40px;
}

.testimonial-user-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #0B6E4F;
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    padding: 3px;
}

.stars {
    color: #F6A623;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.quote {
    font-style: italic;
    margin-bottom: 15px;
}

.author {
    font-weight: 600;
    text-align: right;
}

/* Contact Section */
.contact {
    background-color: #F4F6F8;
    text-align: center;
}

.contact p {
    margin-bottom: 30px;
}

/* Footer */
.footer {
    background-color: #1F2937;
    color: #FFFFFF;
    padding: 60px 0 30px;
}

.social-links a {
    margin-right: 15px;
    color: #FFFFFF;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: #F6A623;
    color: #1F2937;
}

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

.footer-column {
    flex: 1;
    min-width: 200px;
    margin-bottom: 30px;
}

.footer-column h3 {
    color: #F6A623;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #FFFFFF;
}

.footer-column ul li a:hover {
    color: #F6A623;
}

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

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: #F6A623;
}

/* Responsive Styles */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin-bottom: 50px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .feature-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }
    
    .nav ul {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background-color: #FFFFFF;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    }
    
    .nav.active ul {
        display: flex;
    }
    
    .nav ul li {
        margin: 10px 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .reward-card {
        width: 100%;
        max-width: 250px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-column {
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .screenshot {
        width: 200px;
    }
    
    .testimonial-card {
        width: 100%;
    }
    
    .cookie-consent {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-consent p {
        margin-bottom: 15px;
        padding-right: 0;
    }
}