/*
Theme Name: DismissalQ Classic Theme
Description: Professional marketing theme for DismissalQ with auto-generated pages, lead management, and classic PHP editing.
Version: 1.4
Author: DismissalQ Team
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    padding-top: 110px;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.site-logo:hover {
    transform: translateY(-1px);
    color: #667eea;
}

.logo-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.main-navigation {
    display: flex;
    align-items: center;
}

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

.main-nav li,
.nav-menu li {
    margin: 0;
    position: relative;
}

.main-nav a,
.nav-menu a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    font-size: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: block;
    position: relative;
    background: transparent;
    border: 2px solid transparent;
}

.main-nav a:hover,
.nav-menu a:hover {
    color: #667eea;
    background: rgba(102, 126, 234, 0.08);
    border-color: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.nav-menu .current-menu-item a,
.main-nav .current-menu-item a {
    color: white;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.nav-menu .current-menu-item a:hover,
.main-nav .current-menu-item a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.5);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: rgba(102, 126, 234, 0.1);
    border: 2px solid rgba(102, 126, 234, 0.2);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10001;
}

/* Mobile Layout - Global Fixes */
@media (max-width: 768px) {
    /* Ensure consistent viewport behavior */
    html {
        overflow-x: hidden !important;
    }
    
    body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    /* Consistent header layout across all pages */
    .site-header {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        background: rgba(102, 126, 234, 0.15) !important;
        border: 2px solid rgba(102, 126, 234, 0.3) !important;
        opacity: 1 !important;
        visibility: visible !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
        position: relative !important;
        right: 0 !important;
        max-width: 48px !important;
        min-width: 48px !important;
    }
    
    .main-navigation {
        display: none !important;
    }
    
    .header-cta {
        display: none !important;
    }
    
    .header-container {
        padding: 0 1rem !important;
        position: relative !important;
        overflow: visible !important;
        width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    .site-logo {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .site-logo a {
        display: flex !important;
        align-items: center !important;
        max-width: calc(100vw - 120px) !important;
        overflow: hidden !important;
    }
}

.mobile-menu-toggle:hover {
    background: rgba(102, 126, 234, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
    transform: translateY(-1px);
}

.mobile-menu-toggle span {
    width: 26px;
    height: 3px;
    background: #667eea;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
    transform-origin: center;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 280px !important;
        height: 100vh !important;
        background: white !important;
        box-shadow: -2px 0 20px rgba(0, 0, 0, 0.15) !important;
        transition: right 0.3s ease !important;
        z-index: 9999 !important;
        padding: 100px 2rem 2rem;
        overflow-y: auto;
    }
    
    .main-navigation.mobile-active {
        right: 0 !important;
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: linear-gradient(135deg, #652e82 0%, #667eea 100%) !important;
        z-index: 9999 !important;
        padding: 80px 20px 20px !important;
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .main-navigation.mobile-active .nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        pointer-events: auto !important;
        position: relative !important;
        z-index: 10000 !important;
    }
    
    .main-navigation.mobile-active .nav-menu li {
        margin: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        width: 100%;
    }
    
    .main-navigation.mobile-active .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation.mobile-active .nav-menu a {
        display: block;
        padding: 1.2rem 0;
        font-size: 1.1rem;
        color: #ffffff !important;
        border-radius: 0;
        background: none !important;
        box-shadow: none !important;
        transform: none !important;
        text-align: left;
        font-weight: 500;
        pointer-events: auto !important;
        cursor: pointer !important;
        position: relative !important;
        z-index: 10000 !important;
    }
    
    .main-navigation.mobile-active .nav-menu a:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
        transform: none !important;
        box-shadow: none !important;
    }
    
    .header-cta {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex !important;
        order: 3;
    }
    
    body.mobile-menu-open {
        overflow: hidden;
    }
    
    body.mobile-menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        animation: fadeIn 0.3s ease;
        pointer-events: none !important;
    }
    
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

.header-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.header-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.header-cta:hover::before {
    left: 100%;
}

.header-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
    color: white;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
    color: #667eea;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
}

/* Problem Section */
.problem-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: #333;
}

.section-title .highlight {
    color: #667eea;
}

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

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.problem-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.problem-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #667eea;
}

.problem-description {
    color: #666;
    line-height: 1.6;
}

/* Solution Section */
.solution-section {
    padding: 6rem 0;
    background: white;
}

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

.solution-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.solution-card:hover::before {
    transform: scaleX(1);
}

.solution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.solution-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.solution-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.solution-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Impact Section */
.impact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.impact-stat {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.impact-number {
    font-size: 3rem;
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.impact-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

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

.feature-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #333;
}

.feature-list {
    list-style: none;
}

.feature-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold;
}

/* Timeline Section */
.timeline-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #667eea;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 100px;
    text-align: center;
    flex-shrink: 0;
}

.timeline-circle {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #667eea;
    margin: 0 auto 0.5rem;
    position: relative;
    z-index: 2;
}

.timeline-week {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-left: 2rem;
    flex: 1;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.timeline-title {
    font-weight: 600;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.timeline-description {
    color: #666;
    line-height: 1.6;
}

/* Testimonials Section */
.testimonials-section {
    padding: 6rem 0;
    background: white;
}

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

.testimonial-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid #667eea;
    position: relative;
}

.testimonial-quote {
    font-style: italic;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 1.1rem;
}

.testimonial-author {
    font-weight: 600;
    color: #667eea;
}

.testimonial-position {
    color: #666;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

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

.cta-subtitle {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Footer */
.site-footer {
    background: #2d3748;
    color: white;
    padding: 0;
    margin-top: 4rem;
}

.footer-content {
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: #667eea;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo .logo-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 0.75rem;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.5rem;
}

.footer-tagline {
    color: #a0aec0;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #667eea;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

.footer-section p {
    color: #cbd5e0;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-bottom {
    background: #1a202c;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(102, 126, 234, 0.1);
}

.footer-bottom p {
    color: #a0aec0;
    margin: 0;
    font-size: 0.9rem;
    text-align: center;
}

.footer-bottom p:first-child {
    margin-bottom: 0.5rem;
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-container {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 2rem;
    }
    
    .footer-section:first-child {
        grid-column: 1 / -1;
        text-align: center;
        margin-bottom: 1rem;
    }
}

@media (max-width: 640px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-content {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

.footer-text {
    opacity: 0.8;
    margin-bottom: 1rem;
}

/* Form Styles */
.demo-form, .contact-form {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 2rem auto;
}

/* Demo form desktop styling - make it wider to match contact form */
.demo-form {
    max-width: 800px;
}

.demo-form form {
    max-width: none !important;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* Mobile menu toggle is handled in the mobile navigation section above */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .problems-grid,
    .solutions-grid,
    .features-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .main-nav {
        display: none;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-marker {
        width: 50px;
    }
    
    .timeline-content {
        margin-left: 1rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 0.75rem !important;
    }
    
    .section-container {
        padding: 0 0.75rem !important;
    }
    
    .site-logo .logo-text {
        font-size: 1.3rem !important;
    }
    
    .mobile-menu-toggle {
        margin-right: 0 !important;
        max-width: 44px !important;
        min-width: 44px !important;
    }
}
    
    .hero-section {
        padding: 6rem 0 3rem;
    }
    
    .impact-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-stat {
        padding: 1.5rem;
    }
    
    .impact-number {
        font-size: 2.5rem;
    }
    
    /* Contact page mobile fixes */
    .contact-section {
        padding: 2rem 0 !important;
    }
    
    .contact-section .section-container > div[style*="grid-template-columns"] {
        display: block !important;
        grid-template-columns: none !important;
        gap: 2rem !important;
    }
    
    .contact-form {
        margin-bottom: 2rem !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .contact-section .section-container > div > div:last-child {
        margin-bottom: 0 !important;
    }
    
    .faq-section {
        padding: 2rem 0 !important;
    }
    
    .demo-form, .contact-form {
        padding: 1.5rem !important;
        margin: 1rem 0 !important;
        border-radius: 10px !important;
    }
    
    .form-group {
        margin-bottom: 1.25rem !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
    }
    
    /* Contact info box mobile styling */
    .contact-section .section-container > div > div[style*="background: white"] {
        padding: 1.5rem !important;
        margin-top: 1rem !important;
    }
    
    /* Demo request form mobile fixes */
    .demo-form-section {
        padding: 2rem 0 !important;
    }
    
    .demo-form-section form div[style*="grid-template-columns"] {
        display: block !important;
        grid-template-columns: none !important;
        gap: 0 !important;
    }
    
    .demo-benefits-section {
        padding: 2rem 0 !important;
    }
    
    .demo-benefits-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* Demo form specific mobile adjustments */
    .demo-form form[style*="max-width"] {
        max-width: 100% !important;
        margin: 0 !important;
    }
    
    .demo-form h2 {
        text-align: left !important;
        font-size: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    /* About page mobile fixes */
    .story-section {
        padding: 2rem 0 !important;
    }
    
    .story-section .section-container > div[style*="grid-template-columns"] {
        display: block !important;
        grid-template-columns: none !important;
        gap: 2rem !important;
    }
    
    .story-section div[style*="background: white"] {
        margin-top: 2rem !important;
        padding: 2rem !important;
    }
    
    .values-section {
        padding: 2rem 0 !important;
    }
    
    .values-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .values-section div[style*="padding: 2.5rem"] {
        padding: 2rem 1.5rem !important;
    }
    
    .commitment-section {
        padding: 2rem 0 !important;
    }
    
    .commitment-section div[style*="background: white"] {
        padding: 2rem !important;
        margin-top: 2rem !important;
    }
    
    .commitment-section div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    /* About page typography mobile adjustments */
    .story-section h2[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .story-section p[style*="font-size: 1.2rem"] {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .commitment-section h2[style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
        margin-bottom: 1.5rem !important;
    }
    
    .commitment-section p[style*="font-size: 1.2rem"] {
        font-size: 1.1rem !important;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Success/Error Messages */
.message {
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message.info {
    background: #cce5ff;
    color: #004085;
    border: 1px solid #b3d7ff;
}