/* ===================================
   CPaaS Website - Main Stylesheet
   Version: 1.0
   Author: CPaaS by WMart.in
   =================================== */

/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --gray-color: #6b7280;
    --gray-light: #e5e7eb;
    --white: #ffffff;
    --black: #000000;
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;
    
    /* Light mode (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
}

/* Dark mode variables */
[data-theme="dark"] {
    --bg-primary: #1f2937;
    --bg-secondary: #111827;
    --text-primary: #f9fafb;
    --text-secondary: #d1d5db;
    --border-color: #374151;
    --white: #1f2937;
    --light-color: #111827;
    --dark-color: #f9fafb;
    --gray-light: #374151;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
}

/* ===== RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

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

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

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

ul {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

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

/* ===== HEADER & NAVIGATION ===== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar {
    padding: 1rem 0;
}

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

.logo img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

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

.nav-link.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white);
}

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

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

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

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

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    color: var(--white);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: var(--font-secondary);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.hero-feature i {
    color: var(--success);
}

.hero-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-width: 400px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.2));
    animation: float 6s ease-in-out infinite;
}

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

.floating-card {
    position: absolute;
    background: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    animation: float 4s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-card.card-1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-card.card-2 {
    top: 50%;
    right: -15%;
    animation-delay: 1s;
}

.floating-card.card-3 {
    bottom: 10%;
    left: -5%;
    animation-delay: 2s;
}

.floating-card.card-4 {
    bottom: 30%;
    right: -10%;
    animation-delay: 3s;
}

/* ===== TRUST SECTION ===== */
.trust-section {
    padding: 3rem 0;
    background: var(--light-color);
}

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

.trust-stat {
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-color);
    font-size: 1rem;
}

/* ===== SECTIONS ===== */
.services-section,
.why-choose-section,
.integration-section,
.testimonials-section {
    padding: 5rem 0;
}

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

.section-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    line-height: 1.6;
}

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

/* ===== SERVICE CARDS ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-card.featured {
    border: 2px solid var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.service-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

.service-features {
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--dark-color);
}

.service-features i {
    color: var(--success);
    margin-top: 3px;
    flex-shrink: 0;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.feature-icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.feature-description {
    color: var(--gray-color);
    line-height: 1.6;
}

/* ===== INTEGRATION SECTION ===== */
.integration-section {
    background: var(--light-color);
}

.integration-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.integration-categories {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.integration-category h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
    font-size: 1.125rem;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tech-tag {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.tech-tag:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.code-example {
    background: var(--dark-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.code-header {
    background: #374151;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.code-title {
    color: var(--white);
    font-weight: 600;
}

.code-lang-selector {
    display: flex;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    color: var(--gray-color);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    transition: var(--transition);
}

.lang-btn:hover,
.lang-btn.active {
    background: var(--primary-color);
    color: var(--white);
}

.code-block {
    display: none;
    padding: 2rem;
    color: #e5e7eb;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    overflow-x: auto;
}

.code-block.active {
    display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gray-light);
    transition: var(--transition);
}

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

.testimonial-stars {
    color: var(--warning);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.testimonial-text {
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.author-name {
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.author-position {
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z"></path></svg>');
    background-size: cover;
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    color: var(--white);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-note {
    margin-top: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

/* ===== CONTACT FORM ===== */
.contact-form-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-description {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-detail {
    display: flex;
    gap: 1rem;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.contact-detail h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

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

.contact-detail a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.checkbox-group {
    flex-direction: row;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    display: none;
}

.form-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    display: block;
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error);
    display: block;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block !important;
    margin-bottom: 1rem;
    /* Removed problematic filter that made logo invisible */
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    margin-top: 3px;
    color: var(--primary-color);
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact a:hover {
    color: var(--white);
}

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

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
}

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

/* ===== BACK TO TOP BUTTON ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ===== PAGE HERO ===== */
.page-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.25rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

/* ===== SERVICE DETAIL PAGES ===== */
.service-detail {
    padding: 5rem 0;
}

.service-detail.alternate {
    background: var(--light-color);
}

.service-detail-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-detail.alternate .service-detail-content {
    grid-template-columns: 1fr 1.5fr;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-badge.featured {
    background: var(--primary-color);
    color: var(--white);
}

.service-detail-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.service-detail-description {
    font-size: 1.125rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.service-features-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

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

.feature-item i {
    color: var(--success);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-item h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.feature-item p {
    color: var(--gray-color);
}

.service-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray-color);
}

.service-cta {
    display: flex;
    gap: 1rem;
}

.use-cases-box {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.use-cases-box h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.use-cases-box ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.use-cases-box ul li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--dark-color);
}

.use-cases-box ul li i {
    color: var(--primary-color);
}

/* ===== PRICING LOCATION TOGGLE ===== */
.pricing-location-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pricing-location-toggle .btn {
    min-width: 200px;
    flex: 0 1 auto;
}

/* Mobile: Stack buttons vertically */
@media (max-width: 480px) {
    .pricing-location-toggle {
        flex-direction: column;
        gap: 0.75rem;
        padding: 0 1rem;
    }
    
    .pricing-location-toggle .btn {
        width: 100%;
        min-width: 100%;
        justify-content: center;
        font-size: 0.95rem;
        padding: 0.875rem 1.25rem;
    }
    
    .pricing-location-toggle .btn i {
        font-size: 1rem;
    }
}

/* Tablet: Allow side-by-side if space permits */
@media (min-width: 481px) and (max-width: 768px) {
    .pricing-location-toggle {
        padding: 0 1rem;
    }
    
    .pricing-location-toggle .btn {
        min-width: 160px;
        flex: 1 1 45%;
        max-width: 250px;
    }
}

/* Larger tablets and small desktops */
@media (min-width: 769px) and (max-width: 1024px) {
    .pricing-location-toggle .btn {
        min-width: 200px;
    }
}

/* ===== PRICING PAGE ORDERING ===== */
/* India pricing appears first visually */
#india-pricing {
    order: -1;
}

#global-pricing {
    order: 2;
}

/* Make parent flex container to enable ordering */
body:has(#india-pricing) main,
body:has(#india-pricing) > *:not(header):not(footer) {
    display: flex;
    flex-direction: column;
}

/* ===== COMPARISON TABLE STYLES ===== */
.comparison-section,
.feature-comparison-section {
    padding: 5rem 0;
    overflow: visible;
}

.comparison-section .container,
.feature-comparison-section .container {
    overflow: visible;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 3rem 0;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    padding-top: 25px; /* Space for BEST VALUE badge */
    overflow-y: visible; /* Allow badge to show above */
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
    min-width: 800px;
}

.comparison-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-table th:last-child {
    border-right: none;
}

.comparison-table th.highlight-col {
    background: var(--success);
    position: relative;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    transform: scale(1.02);
}

.comparison-table th.highlight-col::after {
    content: "⭐ BEST VALUE";
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a1a;
    padding: 0.5rem 1.25rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 6px 12px rgba(251, 191, 36, 0.4);
    z-index: 100;
    white-space: nowrap;
    border: 2px solid #fff;
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--gray-light);
}

.comparison-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

.comparison-table td {
    padding: 1rem;
    border-right: 1px solid var(--gray-light);
}

.comparison-table td:last-child {
    border-right: none;
}

.comparison-table td.highlight-col {
    background: rgba(16, 185, 129, 0.05);
    font-weight: 600;
    color: var(--success);
    border-left: 3px solid var(--success);
    border-right: 3px solid var(--success);
}

.comparison-table td.success {
    color: var(--success);
    font-weight: 600;
}

.comparison-note {
    background: rgba(59, 130, 246, 0.1);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

.comparison-note p {
    margin: 0;
    color: var(--dark-color);
}

.comparison-note i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.why-choose-section {
    background: var(--light-color);
    padding: 5rem 0;
}

/* Dark mode compatibility for comparison table */
[data-theme="dark"] .comparison-table {
    background: var(--bg-primary);
}

[data-theme="dark"] .comparison-table tbody tr {
    border-bottom-color: var(--border-color);
}

[data-theme="dark"] .comparison-table td {
    border-right-color: var(--border-color);
}

[data-theme="dark"] .comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .comparison-note {
    background: rgba(59, 130, 246, 0.15);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
    .hero-content,
    .integration-content,
    .contact-form-wrapper,
    .service-detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-detail.alternate .service-detail-content {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        display: none;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* Hero section responsive */
    .hero {
        padding: 4rem 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-logo {
        max-width: 250px;
        margin: 0 auto;
    }
    
    .floating-card {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Trust section */
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    /* Section titles */
    .section-title {
        font-size: 2rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* CTAs */
    .cta-buttons {
        flex-direction: column;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    /* Page titles */
    .page-title {
        font-size: 2rem;
    }
    
    .service-detail-title {
        font-size: 1.75rem;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 3rem 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== ADDITIONAL STYLES FOR SPECIFIC PAGES ===== */

/* Features Page */
.features-showcase {
    padding: 5rem 0;
}

.feature-showcase-item {
    padding: 4rem 0;
}

.feature-showcase-item.alternate {
    background: var(--light-color);
}

.feature-showcase-content {
    max-width: 900px;
    margin: 0 auto;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.feature-icon-large i {
    font-size: 2.5rem;
    color: var(--white);
}

.feature-showcase-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-list i {
    color: var(--success);
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Developers Page */
.developer-section {
    padding: 5rem 0;
}

.quick-start {
    margin-bottom: 5rem;
}

.quick-start-steps {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

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

.step-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.language-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.lang-badge {
    background: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--gray-light);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.code-examples-section,
.api-reference,
.sdks-section,
.resources-section {
    margin-bottom: 5rem;
}

.code-example-container {
    margin-bottom: 3rem;
}

.code-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0;
    background: #374151;
    padding: 1rem 1.5rem 0;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.code-tab {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.code-tab:hover,
.code-tab.active {
    background: var(--dark-color);
    color: var(--white);
}

.api-endpoints {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.api-endpoint {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
}

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

.http-method {
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--white);
}

.http-method.post {
    background: var(--success);
}

.endpoint-path {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--dark-color);
}

.endpoint-description {
    color: var(--gray-color);
    margin-bottom: 1.5rem;
}

.endpoint-params table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

.endpoint-params td {
    padding: 0.75rem;
    border: 1px solid var(--gray-light);
}

.endpoint-params code {
    background: rgba(37, 99, 235, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
}

.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.sdk-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.sdk-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.sdk-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.sdk-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.sdk-card code {
    display: block;
    background: var(--light-color);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: 0.85rem;
    margin: 1rem 0;
    overflow-x: auto;
}

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

.resource-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    transition: var(--transition);
}

.resource-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.resource-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.resource-card a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Pricing Page */
.pricing-section {
    padding: 5rem 0;
}

.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gray-light);
    border-radius: 30px;
    transition: var(--transition);
}

.slider::before {
    content: '';
    position: absolute;
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background: var(--white);
    border-radius: 50%;
    transition: var(--transition);
}

.toggle-switch input:checked + .slider {
    background: var(--primary-color);
}

.toggle-switch input:checked + .slider::before {
    transform: translateX(30px);
}

.save-badge {
    background: var(--success);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--gray-light);
    border-radius: var(--border-radius-xl);
    padding: 2.5rem;
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-10px);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(147, 51, 234, 0.05) 100%);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--gray-light);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 1rem;
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--gray-color);
    align-self: flex-end;
    margin-bottom: 0.75rem;
}

.pricing-description {
    color: var(--gray-color);
}

.pricing-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing-features i {
    flex-shrink: 0;
}

.pricing-features .fa-check {
    color: var(--success);
}

.pricing-features .fa-times {
    color: var(--gray-color);
}

.pricing-features .inactive {
    opacity: 0.5;
}

.service-pricing-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-pricing-card {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.service-pricing-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-light);
}

.service-pricing-header i {
    font-size: 2rem;
    color: var(--primary-color);
}

.service-pricing-header h3 {
    font-size: 1.25rem;
}

.pricing-table {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.price-value {
    font-weight: 700;
    color: var(--primary-color);
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--gray-color);
    font-style: italic;
}

.pricing-features-section {
    padding: 5rem 0;
}

.included-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.included-feature {
    text-align: center;
}

.included-feature i {
    font-size: 2.5rem;
    color: var(--success);
    margin-bottom: 1rem;
}

.included-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.included-feature p {
    color: var(--gray-color);
}

.faq-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
}

.faq-item h4 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.faq-item p {
    color: var(--gray-color);
    line-height: 1.6;
}

/* Use Cases Page */
.use-case-section {
    padding: 5rem 0;
}

.use-case-item {
    padding: 4rem 0;
}

.use-case-item.alternate {
    background: var(--light-color);
}

.use-case-content {
    max-width: 1000px;
    margin: 0 auto;
}

.use-case-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.use-case-icon i {
    font-size: 2.5rem;
    color: var(--white);
}

.use-case-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.use-case-description {
    font-size: 1.25rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.use-case-features {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

.feature-group h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.feature-group ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-group ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-group ul li i {
    color: var(--success);
    margin-top: 3px;
}

.use-case-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.use-case-stats .stat {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.use-case-stats .stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.use-case-stats .stat p {
    color: var(--gray-color);
}

/* About Page */
.about-intro-section {
    padding: 5rem 0;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-text .lead {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-logo {
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.1));
}

.mission-vision-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-vision-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.mission-vision-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.mission-vision-card .icon i {
    font-size: 2rem;
    color: var(--primary-color);
}

.mission-vision-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mission-vision-card p {
    color: var(--gray-color);
    line-height: 1.6;
}

.why-choose-about-section,
.technology-section {
    padding: 5rem 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.why-choose-card {
    background: var(--white);
    border: 1px solid var(--gray-light);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
}

.why-choose-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.why-choose-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.why-choose-card h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.why-choose-card p {
    color: var(--gray-color);
}

.technology-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.technology-feature {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(147, 51, 234, 0.1));
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tech-icon i {
    font-size: 1.75rem;
    color: var(--primary-color);
}

.tech-content h4 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.tech-content p {
    color: var(--gray-color);
    line-height: 1.6;
}

.stats-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--gray-color);
}

.wmart-section {
    padding: 5rem 0;
}

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

.wmart-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.wmart-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.wmart-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 1.125rem;
}

.wmart-feature i {
    color: var(--success);
    font-size: 1.5rem;
}

/* Contact Page */
.contact-main-section {
    padding: 5rem 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-section {
    background: var(--light-color);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
}

.contact-info-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-intro {
    color: var(--gray-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
}

.contact-method-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.contact-method-content h4 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-method-content p {
    color: var(--dark-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-note {
    font-size: 0.85rem;
    color: var(--gray-color);
}

.contact-social h4 {
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.contact-form-section-main {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
}

.contact-form-main h3 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.form-description {
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.form-control {
    width: 100%;
}

.contact-features-section {
    padding: 5rem 0;
    background: var(--light-color);
}

.contact-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-feature {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.contact-feature i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-feature h4 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.contact-feature p {
    color: var(--gray-color);
}

.faq-contact-section {
    padding: 5rem 0;
}

.faq-item i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .use-case-features {
        grid-template-columns: 1fr;
    }
    
    .about-intro-content {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 0;
    }
    
    .step {
        flex-direction: column;
    }
    
    .use-case-content h2 {
        font-size: 1.75rem;
    }
    
    .wmart-content h2,
    .contact-info-section h2 {
        font-size: 1.75rem;
    }
}

/* ===== THEME TOGGLE BUTTON ===== */
.theme-toggle {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    cursor: pointer;
    border: none;
}

.theme-toggle:hover {
    background: var(--primary-dark);
    transform: translateY(-5px) rotate(180deg);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

[data-theme="dark"] .theme-toggle .fa-sun {
    display: inline-block;
}

[data-theme="dark"] .theme-toggle .fa-moon {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-sun,
:root:not([data-theme="dark"]) .theme-toggle .fa-sun {
    display: none;
}

[data-theme="light"] .theme-toggle .fa-moon,
:root:not([data-theme="dark"]) .theme-toggle .fa-moon {
    display: inline-block;
}

/* Dark mode specific adjustments */
[data-theme="dark"] .header {
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-color);
}

[data-theme="dark"] .nav-menu {
    background: var(--bg-primary);
}

[data-theme="dark"] .service-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .testimonial-card,
[data-theme="dark"] .pricing-card,
[data-theme="dark"] .use-cases-box {
    background: var(--bg-primary);
    border-color: var(--border-color);
}

[data-theme="dark"] .footer {
    background: var(--bg-secondary);
}

[data-theme="dark"] .footer-logo {
    /* Logo should display normally without filters */
    filter: none;
}

[data-theme="dark"] .trust-section,
[data-theme="dark"] .integration-section,
[data-theme="dark"] .contact-form-section {
    background: var(--bg-secondary);
}

/* ===== FOOTER LOGO FIX ===== */
.footer-logo {
    max-width: 200px;
    height: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 1rem;
}

[data-theme="dark"] .footer-logo {
    /* Logo should display normally without filters */
    filter: none;
}

/* Mobile responsiveness improvements */
@media (max-width: 480px) {
    .theme-toggle {
        width: 45px;
        height: 45px;
        bottom: 80px;
        right: 20px;
        font-size: 1.1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .footer-logo {
        max-width: 150px;
    }
    
    /* Hero section mobile improvements */
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-image {
        order: -1; /* Move image above text on mobile */
    }
    
    .hero-logo {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .floating-card {
        display: none; /* Hide floating cards on mobile */
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
    
    .hero-feature {
        font-size: 0.9rem;
    }
    
    /* Button improvements */
    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.75rem;
    }
    
    /* Trust section mobile */
    .trust-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Services grid mobile */
    .service-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    /* Features section mobile */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    /* Contact form mobile */
    .contact-form-wrapper {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
        gap: 2rem;
    }
    
    .contact-form {
        padding: 0;
    }
    
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
        font-size: 1rem;
    }
    
    .contact-info {
        order: -1;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* Section spacing */
    section {
        padding: 2.5rem 0;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    /* Container padding */
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }
    
    /* All sections mobile padding */
    section {
        padding-left: 0;
        padding-right: 0;
    }
    
    /* All buttons mobile friendly */
    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1.25rem;
        white-space: normal;
        line-height: 1.4;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
    
    /* All headings mobile optimized */
    h1, .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    h2, .section-title {
        font-size: 1.5rem;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    h3 {
        font-size: 1.25rem;
        line-height: 1.3;
    }
    
    /* All paragraph text mobile */
    p, .page-description, .section-description {
        font-size: 1rem;
        line-height: 1.6;
        word-wrap: break-word;
    }
    
    /* All grids mobile */
    .pricing-grid,
    .services-grid,
    .features-grid,
    .service-pricing-grid,
    .included-features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
    
    /* All cards mobile */
    .pricing-card,
    .service-card,
    .feature-card,
    .service-pricing-card {
        padding: 1.5rem;
        margin: 0;
    }
    
    /* Comparison table mobile */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .comparison-table {
        min-width: 600px;
        font-size: 0.85rem;
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-note {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    /* Services page mobile */
    .service-detail {
        padding: 2.5rem 0;
    }
    
    .service-detail-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    
    .service-detail-title {
        font-size: 1.5rem;
    }
    
    .service-detail-description {
        font-size: 1rem;
    }
    
    .service-visual {
        order: -1;
    }
    
    .service-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .use-cases-list {
        grid-template-columns: 1fr;
    }
    
    /* Features page mobile */
    .feature-showcase-item {
        padding: 2.5rem 0;
    }
    
    .feature-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .feature-icon-large i {
        font-size: 2rem;
    }
    
    /* Developers page mobile */
    .code-example {
        font-size: 0.85rem;
    }
    
    .api-endpoint {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .sdk-grid {
        grid-template-columns: 1fr;
    }
    
    /* Pricing page mobile */
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card {
        max-width: 100%;
    }
    
    .price {
        font-size: 2rem;
    }
    
    /* Use cases page mobile */
    .use-case-detail {
        padding: 2.5rem 0;
    }
    
    .use-case-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .use-case-content h2 {
        font-size: 1.5rem;
    }
    
    /* About page mobile */
    .about-section {
        padding: 2.5rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    /* Page hero mobile */
    .page-hero {
        padding: 3rem 0 2rem;
    }
    
    .page-title {
        font-size: 1.75rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    
    .page-description {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 1rem;
        max-width: 100%;
    }
    
    .page-hero-content {
        padding: 0;
    }
    
    /* CTA sections mobile */
    .cta-section {
        padding: 3rem 0;
    }
    
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}