/*
Theme Name: WebTrain Smart Health Mall v1.5
Description: A modern, clean, and intuitive responsive WordPress theme for healthy functional food businesses. Supports partners starting their online malls with Korean content display.
Version: 1.5
Author: WebTrain Smart Health Mall 
*/

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

html {
    scroll-behavior: smooth;
    /* Optimize for smooth scrolling */
    -webkit-overflow-scrolling: touch;
    /* Prevent scroll chaining for smoother experience */
    overscroll-behavior: contain;
    /* Additional optimizations for smoother scrolling */
    scroll-padding-top: 0;
    scroll-padding-bottom: 0;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    overflow-x: hidden; /* Prevent horizontal scroll */
    /* Optimize for smooth animations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    /* Additional optimizations for smoother scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Smooth scrolling optimizations */
    scroll-behavior: smooth;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    color: #555;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

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

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    text-decoration: none;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #27ae60;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 3rem;
    align-items: center;
}

.main-navigation li {
    margin: 0;
    padding: 0;
}

.main-navigation a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.75rem 0;
    display: block;
    font-size: 1rem;
}

.main-navigation a:hover,
.main-navigation a.active {
    color: #27ae60;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #333;
    flex-shrink: 0;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background-color: #f8f9fa;
    color: #27ae60;
}

.mobile-menu-toggle.active {
    background-color: #27ae60;
    color: white;
}

/* Force mobile menu toggle to be visible on all devices below 1200px */
@media (max-width: 1200px) {
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .main-navigation {
        display: none !important;
    }
    
    .main-navigation.active {
        display: flex !important;
    }
}

/* Hero Section */
.hero-section {
    /* Default background color - will be overridden by customizer if set */
    background-color: #27ae60;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 4rem 0 6rem 0; /* Further reduced padding for smoother scrolling */
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 700px; /* Updated to 700px as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem; /* Reduced margin for smoother transition */
    z-index: 1; /* Lower z-index so it doesn't overlap other sections */
    /* Optimize for smoother scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: auto;
}



.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4); /* Increased opacity for better text readability */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Lower z-index to prevent overlap with other sections */
    text-align: center;
    /* Optimize for smoother scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

.hero-title {
    font-size: 2.5rem; /* Reduced font size for better proportion */
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0,0,0,0.8);
    color: #ffffff;
    position: relative;
    z-index: 2;
    /* Optimize for smoother scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

.hero-subtitle {
    font-size: 1.1rem; /* Reduced font size for better proportion */
    margin-bottom: 1.5rem; /* Reduced margin for better spacing */
    opacity: 1;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    position: relative;
    z-index: 2;
    font-weight: 500;
    /* Optimize for smoother scrolling */
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    will-change: auto;
}

.cta-button {
    display: inline-block;
    background: #ffffff;
    color: #27ae60;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    will-change: transform, box-shadow, background-color, color;
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
    background: #27ae60;
    color: #ffffff;
}

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

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.4);
}

/* Hero Section - Optimized for smooth performance */
.hero-section {
    /* Remove all transitions for smoother scrolling */
    will-change: auto;
    /* Ensure proper stacking context */
    transform: translateZ(0);
    backface-visibility: hidden;
}

.hero-content {
    /* Remove transitions for smoother scrolling */
    will-change: auto;
}

.hero-title {
    /* Remove transitions for smoother scrolling */
    will-change: auto;
}

.hero-subtitle {
    /* Remove transitions for smoother scrolling */
    will-change: auto;
}

/* Features Section */
.features-section {
    padding: 2rem 0 4rem 0; /* Further reduced top padding for smoother scrolling */
    background: #f8f9fa;
    position: relative;
    z-index: 1; /* Ensure it's above the hero section */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1rem; /* Further reduced top margin for smoother scrolling */
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2; /* Ensure cards are above the background */
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e9ecef;
    will-change: transform, box-shadow, border-color;
    position: relative;
    z-index: 3; /* Ensure cards are above everything */
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    border-color: #27ae60;
}

.feature-icon {
    font-size: 3rem;
    color: #27ae60;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.feature-description {
    color: #666;
    font-size: 0.95rem;
}

/* Sections */
.section {
    padding: 4rem 0;
    position: relative;
    z-index: 10;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    color: #2c3e50;
}

/* Business System */
.business-system {
    background: white;
    position: relative;
    z-index: 10;
}

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

.step-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #27ae60;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    will-change: transform, box-shadow, background-color, border-left-width;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.2);
    background: white;
    border-left-width: 6px;
}

.step-number {
    background: #27ae60;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, background-color, box-shadow;
}

.step-card:hover .step-number {
    transform: scale(1.2);
    background: #229954;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.step-card h3 {
    transition: color 0.3s ease;
}

.step-card:hover h3 {
    color: #27ae60;
}

.step-card p {
    transition: color 0.3s ease;
    margin-bottom: 1.5rem;
}

.step-card:hover p {
    color: #555;
}

/* CTA Button for Step Cards */
.step-card-cta {
    margin-top: auto;
    text-align: center;
}

.cta-button-step {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    border: 2px solid transparent;
}

.cta-button-step:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    text-decoration: none;
}

.cta-button-step:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

/* System Advantages Grid */
.system-advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    text-align: center;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #27ae60;
}

.advantage-title {
    color: #27ae60;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Partner Benefits */
.benefits-section {
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.benefit-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #27ae60;
}

.benefit-title {
    color: #27ae60;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

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

.benefit-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 0.95rem;
}

.benefit-list li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    margin-right: 0.5rem;
}

/* FAQ Section */
.faq-section {
    background: white;
}

.faq-item {
    background: #f8f9fa;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background: #27ae60;
    color: white;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #577dc5;
}

.faq-answer {
    padding: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

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

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

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #27ae60;
}

.submit-button {
    background: #2752ae;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #88b3e4;
}

/* Contact Info */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    text-align: center;
    padding: 1.5rem;
    background: #e1e4e7;
    border-radius: 8px;
}

.contact-icon {
    font-size: 2rem;
    color: #4691d6;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: #f8f9fa;
    color: #333;
    padding: 4rem 0 2rem;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo h3 {
    color: #0f0f0f;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-site-logo {
    margin-bottom: 1rem;
}

.footer-site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
}

.footer-site-logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #87CEEB;
}

.footer-logo p {
    color: #000;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    margin-right: 1.5rem;
}

.footer-social h4 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #000;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #5F9EA0;
    transform: translateY(-2px);
}

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

.footer-section h4 {
    color: #000;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

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

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

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

.footer-section a:hover {
    color: #0ca9e7;
}

.footer-section i {
    color: #0c0c0c;
    margin-right: 0.5rem;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom-content p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .main-navigation {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: white !important;
        flex-direction: column !important;
        padding: 1rem !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
        z-index: 1000 !important;
        border-radius: 0 0 8px 8px !important;
    }
    
    .main-navigation.active {
        display: flex !important;
    }
    
    .main-navigation ul {
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .main-navigation li {
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    
    .main-navigation li:last-child {
        border-bottom: none !important;
    }
    
    .main-navigation a {
        display: block !important;
        padding: 1rem !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .system-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .system-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .main-navigation {
        display: none !important;
    }
    
    .main-navigation.active {
        display: flex !important;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .system-steps {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .system-advantages-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Pricing Cards Styles */
.pricing-overview {
    margin-bottom: 3rem;
}

.subsection-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.pricing-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #27ae60;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.pricing-header h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.0rem;
    font-weight: 700;
    color: #0e0533;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    color: #070707;
    font-size: 0.9rem;
    margin: 0;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-features li {
    padding: 0.5rem 0;
    color: #1f1e1e;
    position: relative;
    padding-left: 1.5rem;
}

.pricing-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
}

/* Key Benefits Section */
.key-benefits {
    margin-bottom: 3rem;
}

.key-benefits .benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.key-benefits .benefit-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

.key-benefits .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.key-benefits .benefit-title {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.key-benefits .benefit-description {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Target Profiles Section */
.target-profiles {
    margin-bottom: 3rem;
}

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

.profile-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid #e9ecef;
}

.profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.profile-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.profile-card h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.profile-card p {
    color: #555;
    line-height: 1.6;
    margin: 0;
}

/* Benefits CTA Section */
.benefits-cta {
    text-align: center;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 12px;
    margin-top: 3rem;
}

.benefits-cta h3 {
    color: white;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.benefits-cta p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.benefits-cta .cta-button {
    background: white;
    color: #27ae60;
    border: 2px solid white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.benefits-cta .cta-button:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
}

/* Section Subtitle */
.section-subtitle {
    text-align: center;
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .key-benefits .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 100%;
    }
    
    .profiles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-cta {
        padding: 2rem 1rem;
    }
    
    .benefits-cta h3 {
        font-size: 1.5rem;
    }
    
    .benefits-cta p {
        font-size: 1rem;
    }
    
    .subsection-title {
        font-size: 1.25rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .pricing-card {
        padding: 1.5rem;
    }
    
    .key-benefits .benefit-card {
        padding: 1.5rem;
    }
    
    .profile-card {
        padding: 1.5rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .benefit-icon,
    .profile-icon {
        font-size: 2.5rem;
    }
}

/* Modern Features Section Styles */
.features-section-modern {
    padding: 5rem 0;
    background: #f8f9fa;
    position: relative;
    z-index: 10;
}

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

.partnership-badge {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 2px solid rgba(102, 126, 234, 0.3);
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.features-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.feature-card-modern {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.feature-icon-modern {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-title-modern {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-description-modern {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Modern Features */
@media (max-width: 768px) {
    .features-title {
        font-size: 2rem;
    }
    
    .features-subtitle {
        font-size: 1rem;
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card-modern {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .features-title {
        font-size: 1.75rem;
    }
    
    .features-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-card-modern {
        padding: 1.5rem 1rem;
    }
    
    .feature-icon-modern {
        font-size: 3rem;
    }
    
    .key-benefits .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Partner Application Section */
.partner-application-section {
    background-color: skyblue;
    padding: 4rem 0;
}

.application-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 3rem 0;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.step-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.step-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.step-number {
    background: #27ae60;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    transform: scale(1.1);
    background: #229954;
}

.step-item h4 {
    color: #2c3e50;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-item p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Partner Application */
@media (max-width: 1024px) {
    .application-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .application-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        max-width: 600px;
    }
    
    .step-item {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .application-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
    }
    
    .step-item {
        padding: 1.5rem;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Partner Network Section */
.partner-network-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.partner-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin: 3rem 0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.platform-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.platform-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

.platform-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border-color: #27ae60;
}

.platform-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
}

.platform-card h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.platform-card p {
    color: #6c757d;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #27ae60;
    text-decoration: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border: 2px solid #27ae60;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: transparent;
}

.platform-link:hover {
    background: #27ae60;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3);
}

.platform-link i {
    font-size: 0.9rem;
}

.success-story {
    background: white;
    border-radius: 15px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #e9ecef;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.success-story h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.success-story p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 1.1rem;
}

/* Responsive Design for Partner Network */
@media (max-width: 768px) {
    .partner-platforms {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 100%;
    }
    
    .platform-card {
        padding: 2rem 1.5rem;
    }
    
    .success-story {
        padding: 2rem 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .platform-icon {
        font-size: 3rem;
    }
    
    .platform-card h3 {
        font-size: 1.25rem;
    }
    
    .success-icon {
        font-size: 2.5rem;
    }
    
    .success-story h4 {
        font-size: 1.25rem;
    }
}

/* Modern FAQ Section */
.faq-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
}

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

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-modern {
    background: white;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.faq-item-modern:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.faq-question-modern {
    padding: 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.faq-question-modern:hover {
    background: #f8f9fa;
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

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

.faq-text h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    line-height: 1.4;
}

.faq-text p {
    color: #6c757d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

.faq-toggle {
    color: #27ae60;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question-modern.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer-modern {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #f8f9fa;
    padding: 0 2rem;
}

.faq-answer-modern.active {
    max-height: 500px;
    padding: 2rem;
}

.answer-content {
    padding: 0 2rem 2.5rem;
}

.answer-content p {
    color: #555;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    font-size: 1rem;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

/* Responsive Design for Modern FAQ */
@media (max-width: 768px) {
    .faq-question-content {
        gap: 1rem;
    }
    
    .faq-icon {
        font-size: 1.5rem;
    }
    
    .faq-text h4 {
        font-size: 1rem;
    }
    
    .faq-text p {
        font-size: 0.9rem;
    }
    
    .faq-question-modern {
        padding: 1.5rem;
    }
    
    .answer-content {
        padding: 0 1.5rem 2rem;
    }
}

@media (max-width: 480px) {
    .faq-question-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .faq-icon {
        font-size: 1.25rem;
    }
    
    .faq-question-modern {
        padding: 1.25rem;
    }
    
    .answer-content {
        padding: 0 1.25rem 1.75rem;
    }
}

/* Modern Contact Section */
.contact-section-modern {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

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

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

.contact-card-modern {
    background: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.contact-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.contact-icon-modern {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-card-modern h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-card-modern p {
    color: #27ae60;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-time {
    color: #6c757d;
    font-size: 0.9rem;
    display: block;
}

.contact-form-modern {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

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

.form-header h3 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-header p {
    color: #6c757d;
    font-size: 1rem;
}

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

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

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

.form-group-modern label {
    color: #2c3e50;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group-modern input,
.form-group-modern select,
.form-group-modern textarea {
    padding: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group-modern input:focus,
.form-group-modern select:focus,
.form-group-modern textarea:focus {
    outline: none;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.form-group-modern input::placeholder,
.form-group-modern textarea::placeholder {
    color: #adb5bd;
}

.submit-button-modern {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: #ffffff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.submit-button-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39, 174, 96, 0.3);
}

.submit-button-modern i {
    transition: transform 0.3s ease;
}

.submit-button-modern:hover i {
    transform: translateX(5px);
}

/* Responsive Design for Modern Contact */
@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-section-modern {
        padding: 3rem 0;
    }
    
    .contact-card-modern {
        padding: 1.5rem;
    }
    
    .contact-form-modern {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-icon-modern {
        font-size: 2rem;
    }
    
    .contact-card-modern h4 {
        font-size: 1.1rem;
    }
    
    .contact-card-modern p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .contact-section-modern {
        padding: 2rem 0;
    }
    
    .contact-card-modern {
        padding: 1.25rem;
    }
    
    .contact-form-modern {
        padding: 1.5rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
    
    .submit-button-modern {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Section Title Display - Fixed Styles */
.section-title-display {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    background: #27ae60 !important;
    color: #ffffff !important;
    padding: 1rem 2rem !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.3) !important;
    z-index: 999999 !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    white-space: nowrap !important;
    border: 2px solid #ffffff !important;
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
}

.section-title-display i {
    font-size: 0.9rem !important;
    opacity: 0.8 !important;
}

.section-title-display span {
    font-weight: 700 !important;
}

/* Section Title Display */
.section-title-display {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(39, 174, 96, 0.95);
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(39, 174, 96, 0.3);
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title-display.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.title-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
}

.title-content i {
    font-size: 0.9rem;
    opacity: 0.8;
}

.title-content span {
    font-weight: 700;
}

/* Responsive Design for Section Title Display */
@media (max-width: 768px) {
    .section-title-display {
        padding: 0.875rem 1.5rem;
        border-radius: 40px;
    }
    
    .title-content {
        font-size: 1rem;
        gap: 0.75rem;
    }
    
    .title-content i {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .section-title-display {
        padding: 0.75rem 1.25rem;
        border-radius: 35px;
        max-width: 90vw;
    }
    
    .title-content {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .title-content span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 200px;
    }
} 

/* Back to Top Button Styles - Modern Design */
.back-to-top-btn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 8px 25px rgba(44, 62, 80, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.back-to-top-btn:hover {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(44, 62, 80, 0.35);
    border-color: rgba(255, 255, 255, 0.2);
}

.back-to-top-btn:active {
    transform: translateY(-1px) scale(1.02);
    box-shadow: 0 6px 20px rgba(44, 62, 80, 0.3);
}

.back-to-top-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.3);
}

.back-to-top-btn i {
    transition: transform 0.3s ease;
    font-weight: 600;
}

.back-to-top-btn:hover i {
    transform: translateY(-2px);
}

/* Add a subtle pulse animation when button appears */
@keyframes buttonPulse {
    0% { transform: translateY(0) scale(1); }
    50% { transform: translateY(0) scale(1.05); }
    100% { transform: translateY(0) scale(1); }
}

.back-to-top-btn.show {
    animation: buttonPulse 0.6s ease-out;
}

/* Responsive Design for Back to Top Button */
@media (max-width: 768px) {
    .back-to-top-btn {
        bottom: 30px;
        right: 30px;
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .back-to-top-btn {
        bottom: 25px;
        right: 25px;
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
}

/* Ensure button is always visible on mobile when needed */
@media (max-width: 768px) {
    .back-to-top-btn.show {
        opacity: 1;
        visibility: visible;
    }
}

/* Contact Form Message Styles */
.form-message {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

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

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

/* Submit Button Loading State */
.submit-button-modern:disabled {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    cursor: not-allowed;
    transform: none;
}

.submit-button-modern:disabled:hover {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    transform: none;
    box-shadow: 0 4px 15px rgba(149, 165, 166, 0.3);
}

.submit-button-modern:disabled i {
    animation: spin 1s linear infinite;
}

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

/* Form Validation Styles */
.form-group-modern input:invalid,
.form-group-modern textarea:invalid {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

.form-group-modern input:invalid:focus,
.form-group-modern textarea:invalid:focus {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.3);
}

/* Required field indicator */
.form-group-modern label[for*="name"]::after,
.form-group-modern label[for*="phone"]::after,
.form-group-modern label[for*="message"]::after {
    content: " *";
    color: #e74c3c;
    font-weight: bold;
}

/* Modern Business Flow Cards */
.business-flow-modern {
    margin: 4rem 0;
}

.flow-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 3rem;
    position: relative;
}

.flow-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

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

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

.flow-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.flow-step-number {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
}

.flow-icon {
    font-size: 2.5rem;
    margin-left: auto;
}

.flow-card-content h4 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.flow-card-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.flow-connector {
    position: absolute;
    top: 39%;
    right: 30px;
    transform: translateY(-50%);
    background: linear-gradient(135deg, #dcdfdd, #dee0df);
    color: rgb(8, 8, 8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    z-index: 2;
}

.flow-card:last-child .flow-connector {
    display: none;
}

/* Responsive Design for Flow Cards */
@media (max-width: 1024px) {
    .flow-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3.5rem;
    }
    
    .flow-card {
        padding: 1.5rem;
    }
    
    .flow-connector {
        right: -22px;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .flow-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .flow-card {
        padding: 1.25rem;
    }
    
    .flow-connector {
        display: none;
    }
    
    .flow-card-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .flow-icon {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .flow-card {
        padding: 1rem;
    }
    
    .flow-step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .flow-icon {
        font-size: 2rem;
    }
    
    .flow-card-content h4 {
        font-size: 1.2rem;
    }
} 