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

:root {
    --primary-blue: #2874f0;
    --primary-yellow: #FFD700;
    --secondary-blue: #1e5bc6;
    --light-blue: #e3f2fd;
    --dark-blue: #003d82;
    --text-dark: #212121;
    --text-light: #878787;
    --bg-light: #f1f3f6;
    --white: #ffffff;
    --success: #388e3c;
    --warning: #f57c00;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 10000;
    display: none;
    animation: slideUp 0.4s ease;
}

.cookie-banner.show {
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    color: var(--text-dark);
}

.cookie-content a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
}

.btn-accept, .btn-decline {
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-accept {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-accept:hover {
    background: var(--secondary-blue);
}

.btn-decline {
    background: transparent;
    color: var(--text-dark);
    border: 1px solid #ddd;
}

.btn-decline:hover {
    background: var(--bg-light);
}

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-hover);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
}

.logo-text {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-blue);
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
}

.btn-login {
    background: var(--primary-blue);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: 600;
}

.btn-login:hover {
    background: var(--secondary-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.lead-form-container {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 32px;
}

.lead-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group-inline {
    display: flex;
    gap: 12px;
}

.form-group-inline input {
    flex: 1;
    padding: 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group-inline input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 16px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary:hover {
    background: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 116, 240, 0.3);
}

.disclaimer {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
}

.detailed-form h3 {
    color: var(--text-dark);
    margin-bottom: 24px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.form-grid input,
.form-grid select {
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-grid input:focus,
.form-grid select:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.btn-full {
    width: 100%;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.badge-icon {
    font-size: 20px;
}

/* Carousel Section */
.carousel-section {
    background: var(--white);
    padding: 60px 0;
}

.carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-card {
    min-width: 100%;
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.5s ease;
}

.carousel-card.active {
    opacity: 1;
    transform: scale(1);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.carousel-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.carousel-card p {
    font-size: 16px;
    color: var(--text-light);
}

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

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--primary-blue);
    width: 32px;
    border-radius: 6px;
}

/* Activity Nudges */
.activity-nudges {
    position: fixed;
    bottom: 100px;
    left: 20px;
    z-index: 999;
    max-width: 320px;
}

.activity-nudge {
    background: var(--white);
    padding: 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-hover);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInLeft 0.5s ease, fadeOut 0.5s ease 4.5s;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateX(-100%);
    }
}

.nudge-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 600;
    flex-shrink: 0;
}

.nudge-content {
    flex: 1;
}

.nudge-content p {
    font-size: 13px;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

/* Section Styles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 48px;
}

/* Express Membership Section */
.membership-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.benefit-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.benefit-card p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.6;
}

.cta-center {
    text-align: center;
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
}

/* Refer & Earn Section */
.refer-section {
    background: var(--white);
    padding: 80px 0;
}

.refer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.refer-left h2 {
    font-size: 36px;
    color: var(--text-dark);
    margin-bottom: 16px;
    font-weight: 700;
}

.refer-left p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
}

.refer-steps {
    list-style: none;
}

.refer-steps li {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding-left: 32px;
    position: relative;
}

.refer-steps li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 20px;
}

.share-box {
    background: var(--light-blue);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.share-box h3 {
    font-size: 20px;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 600;
}

.share-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.share-btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.share-btn.whatsapp {
    background: #25D366;
    color: var(--white);
}

.share-btn.whatsapp:hover {
    background: #1da851;
}

.share-btn.telegram {
    background: #0088cc;
    color: var(--white);
}

.share-btn.telegram:hover {
    background: #006699;
}

.referral-code {
    display: flex;
    gap: 8px;
}

.referral-code input {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    background: var(--white);
}

.referral-code button {
    padding: 12px 24px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.referral-code button:hover {
    background: var(--secondary-blue);
}

/* Testimonials Section */
.testimonials-section {
    background: var(--bg-light);
    padding: 80px 0;
}

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

.testimonial-card {
    background: var(--white);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-yellow));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.testimonial-text {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background: var(--white);
    padding: 80px 0;
}

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

.faq-item {
    margin-bottom: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 20px 24px;
    background: var(--white);
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-icon {
    font-size: 24px;
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

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

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* Calculator Section */
.calculator-section {
    background: var(--bg-light);
    padding: 80px 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.calculator-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.calculator-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.calculator-card p {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-blue);
    padding: 12px 32px;
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

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

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-col p {
    font-size: 14px;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--primary-yellow);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-4px);
}

.footer-compliance {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 32px;
}

.compliance-text {
    font-size: 13px;
    color: #bbb;
    line-height: 1.7;
    text-align: center;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #bbb;
}

.made-in-india {
    font-weight: 600;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 85px; /* Increased to avoid overlapping with other elements */
    right: 20px;
    z-index: 99; /* Reduced z-index */
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 44px; /* Slightly reduced size */
    height: 44px;
    background: rgba(255, 255, 255, 0.9); /* Semi-transparent background */
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    pointer-events: auto; /* Ensure clickability */
}

.whatsapp-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.whatsapp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.whatsapp-float:hover .whatsapp-icon img {
    transform: scale(1.1);
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 75px; /* Adjusted for mobile */
        right: 12px;
        width: 45px; /* Slightly smaller on mobile */
        height: 45px;
        position: fixed !important;
        display: flex !important;
        visibility: visible !important;
        background: rgba(255, 255, 255, 0.95); /* More opaque on mobile */
    }
    
    .whatsapp-icon img {
        padding: 6px;
    }
    
    /* Add margin to elements that might be covered */
    .footer {
        margin-bottom: 60px;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }
    
    .whatsapp-icon svg {
        width: 44px;
        height: 44px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        gap: 16px;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .form-group-inline {
        flex-direction: column;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .refer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .activity-nudges {
        left: 10px;
        right: 10px;
        max-width: calc(100% - 20px);
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }
    
    .btn-accept, .btn-decline {
        width: 100%;
    }
}