/* Evoin Sparks Contact Page - Modernized */

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

:root {
    --red: #E53935;
    --orange: #FF9800;
    --black: #000000;
    --white: #FFFFFF;
    --gray-light: #F5F5F5;
    --gray: #757575;
    --border: #E0E0E0;
    --gradient-spark: linear-gradient(135deg, var(--orange) 0%, var(--red) 100%);
    --success: #00C896;
}

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

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

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

/* ============================================
   HEADER (Same as About & Services)
   ============================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.site-header[data-shrink="true"] {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 1002;
    transition: all 0.3s ease;
}

.logo-mark {
    height: 54px;
    width: auto;
    transition: all 0.3s ease;
}

.site-header[data-shrink="true"] .logo-mark {
    height: 44px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--black);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--orange);
}

.nav-indicator {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-spark);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem !important;
    background: var(--gradient-spark);
    color: var(--white) !important;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.3);
    color: var(--white) !important;
}

.nav-cta .nav-indicator {
    display: none;
}

.nav-icon {
    font-size: 1.125rem;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1002;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-light);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: var(--orange);
    border-color: var(--orange);
    transform: rotate(15deg);
}

.theme-icon-wrapper {
    position: relative;
    width: 20px;
    height: 20px;
}

.theme-icon {
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.theme-icon--sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-icon--moon {
    opacity: 0;
    transform: rotate(90deg);
}

.theme-toggle:hover .theme-icon {
    color: var(--white);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    border-color: var(--orange);
    background: var(--gray-light);
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 100%;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[data-state="open"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[data-state="open"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[data-state="open"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.nav-overlay[aria-hidden="false"] {
    display: block;
    opacity: 1;
}

.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: var(--gradient-spark);
    transition: width 0.1s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.05) 0%, rgba(229, 57, 53, 0.05) 100%);
}

.hero-background {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 152, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(229, 57, 53, 0.08) 0%, transparent 50%);
}

.floating-elements {
    position: absolute;
    inset: 0;
}

.floating-element {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.floating-element.chart {
    left: 10%;
    top: 20%;
    animation-delay: 0s;
}

.floating-element.graph {
    right: 15%;
    top: 60%;
    animation-delay: 2s;
}

.floating-element.rupee {
    left: 80%;
    top: 30%;
    animation-delay: 4s;
}

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

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 152, 0, 0.1);
    border: 2px solid var(--orange);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: var(--red);
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: var(--gradient-spark);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    font-size: 1.25rem;
}

.feature-text {
    font-weight: 600;
    color: var(--black);
}

/* ============================================
   TRUST STATS SECTION
   ============================================ */

.trust-section {
    padding: 60px 0;
    background: var(--white);
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: var(--gray-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(229, 57, 53, 0.1);
}

.stat-number {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: var(--gradient-spark);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    font-weight: 600;
    color: var(--gray);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Form Container */
.form-container {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.form-header {
    margin-bottom: 2rem;
}

.form-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: var(--gray);
}

.tally-form-wrapper {
    min-height: 600px;
}

.tally-form-wrapper iframe {
    border-radius: 12px;
}

/* Info Sidebar */
.info-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--gray-light);
}

.card-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.card-header p {
    color: var(--gray);
    font-size: 0.95rem;
}

/* Contact Items */
.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1.25rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-spark);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-details h4 {
    font-weight: 700;
    margin-bottom: 0.25rem;
    font-size: 1.125rem;
}

.contact-details a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-details a:hover {
    color: var(--red);
}

.contact-details small {
    color: var(--gray);
    font-size: 0.875rem;
}

.contact-details address {
    font-style: normal;
    color: var(--black);
}

/* Quick Actions */
.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--gray-light);
    border-radius: 12px;
    text-decoration: none;
    color: var(--black);
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: var(--gradient-spark);
    color: var(--white);
    transform: translateX(5px);
}

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

.quick-action.whatsapp-action:hover {
    background: #128C7E;
}

.quick-action.call-action {
    background: var(--gradient-spark);
    color: var(--white);
}

.quick-action.call-action:hover {
    background: var(--red);
}

.action-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.quick-action div {
    display: flex;
    flex-direction: column;
}

.quick-action strong {
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.quick-action span {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Trust Items */
.trust-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.trust-item {
    display: flex;
    gap: 1rem;
}

.trust-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trust-item span {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ============================================
   FAQ SECTION
   ============================================ */

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

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--gray-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active {
    background: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--black);
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--orange);
}

.faq-icon {
    width: 32px;
    height: 32px;
    background: var(--gradient-spark);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* ============================================
   RISK DISCLOSURE SECTION
   ============================================ */

.risk-section {
    padding: 60px 0;
    background: var(--gray-light);
}

.risk-card {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    border-left: 4px solid var(--red);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.risk-icon {
    font-size: 2.5rem;
}

.risk-header h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--red);
}

.risk-content p {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.risk-content p strong {
    color: var(--black);
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-description {
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

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

.social-link:hover {
    background: var(--gradient-spark);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

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

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

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: var(--gray);
}

/* ============================================
   DARK THEME (Body only, header stays light)
   ============================================ */

body[data-theme="dark"] {
    --white: #0A0A0A;
    --black: #FFFFFF;
    --gray-light: #1A1A1A;
    --gray: #A0A0A0;
    --border: #333333;
    background: #0A0A0A;
    color: #FFFFFF;
}

/* Header Always Light */
body[data-theme="dark"] .site-header {
    background: #FFFFFF !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

body[data-theme="dark"] .nav-link {
    color: #000000 !important;
}

body[data-theme="dark"] .nav-link:hover {
    color: var(--orange) !important;
}

body[data-theme="dark"] .theme-toggle {
    background: #F5F5F5 !important;
}

body[data-theme="dark"] .nav-toggle {
    border-color: #E0E0E0 !important;
}

body[data-theme="dark"] .hamburger-line {
    background: #000000 !important;
}

body[data-theme="dark"] .nav-menu {
    background: #FFFFFF !important;
}

body[data-theme="dark"] .nav-cta {
    background: var(--gradient-spark) !important;
    color: #FFFFFF !important;
}

/* Dark Theme Content */
body[data-theme="dark"] .hero {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.08) 0%, rgba(229, 57, 53, 0.08) 100%);
}

body[data-theme="dark"] .trust-section {
    background: #0F0F0F;
}

body[data-theme="dark"] .contact-section {
    background: #0A0A0A;
}

body[data-theme="dark"] .faq-section {
    background: #0F0F0F;
}

body[data-theme="dark"] .risk-section {
    background: #0A0A0A;
}

body[data-theme="dark"] .stat,
body[data-theme="dark"] .form-container,
body[data-theme="dark"] .info-card,
body[data-theme="dark"] .faq-item,
body[data-theme="dark"] .risk-card {
    background: #1A1A1A;
}

body[data-theme="dark"] .feature,
body[data-theme="dark"] .quick-action {
    background: #1A1A1A;
}

body[data-theme="dark"] .quick-action:hover {
    background: var(--gradient-spark);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .nav {
        padding: 0.75rem 1rem;
    }
    
    .logo-mark {
        height: 44px;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 0;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-menu[data-state="open"] {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--gray-light);
    }
    
    .nav-link {
        width: 100%;
        padding: 1rem 0;
        font-size: 1.125rem;
    }
    
    .nav-indicator {
        display: none;
    }
    
    .nav-cta {
        margin-top: 1rem;
        width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem !important;
    }
    
    body.nav-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-container {
        padding: 2rem 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .trust-stats {
        grid-template-columns: 1fr;
    }
}
