/* ===========================
   CSS Variables & Reset
   =========================== */
:root {
    --primary-color: #0066CC;
    --primary-dark: #004C99;
    --primary-light: #3385D6;
    --secondary-color: #FFFFFF;
    --accent-color: #E6F2FF;
    --text-dark: #1A1A1A;
    --text-gray: #4A5568;
    --text-light: #718096;
    --border-color: #E2E8F0;
    --success-color: #10B981;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

body.loaded {
    animation: fadeIn 0.5s ease-in;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), var(--primary-light));
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-dark), var(--primary-color));
}

/* ===========================
   Navigation
   =========================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-icon {
    transition: var(--transition);
}

.logo:hover .logo-icon {
    transform: rotate(360deg) scale(1.1);
}

.btn-nav {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    background-size: 200% 200%;
    color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--primary-color);
    z-index: -1;
    transition: width 0.3s ease;
}

.btn-secondary:hover::after {
    width: 100%;
}

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

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

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

.btn-lg {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* Ripple Effect */
.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple-animation 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: var(--secondary-color);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

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

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

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; transform: translateX(-100%); }
    50% { opacity: 1; transform: translateX(100%); }
}

.hero-subtitle {
    font-size: 1.35rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Hero Dashboard */
.hero-dashboard {
    animation: fadeInRight 1s ease-out 0.8s both;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.dashboard-svg {
    width: 100%;
    height: auto;
}

.chart-line {
    animation: drawLine 2s ease-out 1s forwards;
}

@keyframes drawLine {
    to {
        stroke-dashoffset: 0;
    }
}

.chart-dot {
    opacity: 0;
    animation: popIn 0.5s ease-out forwards;
}

.chart-dot:nth-child(1) { animation-delay: 1.5s; }
.chart-dot:nth-child(2) { animation-delay: 1.7s; }
.chart-dot:nth-child(3) { animation-delay: 1.9s; }
.chart-dot:nth-child(4) { animation-delay: 2.1s; }

@keyframes popIn {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.metric-card {
    animation: slideDown 0.6s ease-out forwards;
    opacity: 0;
}

.metric-card-1 { animation-delay: 1.2s; }
.metric-card-2 { animation-delay: 1.4s; }
.metric-card-3 { animation-delay: 1.6s; }

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
}

.progress-fill {
    animation: fillProgress 2s ease-out 2s forwards;
}

@keyframes fillProgress {
    from { width: 0; }
    to { width: 150px; }
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg {
    display: block;
    width: 100%;
    height: auto;
}

/* ===========================
   Trust Section
   =========================== */
.trust {
    padding: 3rem 0;
    background-color: var(--secondary-color);
}

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

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.trust-item:hover {
    transform: translateY(-5px);
}

.trust-icon {
    transition: var(--transition);
}

.trust-icon svg {
    filter: drop-shadow(0 4px 6px rgba(0, 102, 204, 0.2));
    transition: var(--transition);
}

.trust-item:hover .trust-icon svg {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 8px 12px rgba(0, 102, 204, 0.3));
}

.trust-item p {
    font-size: 1rem;
    color: var(--text-gray);
    font-weight: 500;
}

/* ===========================
   Services Section
   =========================== */
.services {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F7FAFC 0%, #EDF2F7 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 300px;
    background: radial-gradient(circle at 50% 0%, rgba(0, 102, 204, 0.05), transparent);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    position: relative;
    z-index: 1;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
    position: relative;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service-card {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 0.05;
}

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

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-icon {
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-icon svg {
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 102, 204, 0.2));
}

.service-card:hover .service-icon svg {
    transform: scale(1.15) rotate(10deg);
    filter: drop-shadow(0 8px 16px rgba(0, 102, 204, 0.4));
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.service-card:hover h3 {
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-gray);
    line-height: 1.7;
}

/* ===========================
   Why Us Section
   =========================== */
.why-us {
    padding: 5rem 0;
    background-color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.why-us::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 102, 204, 0.05), transparent);
    border-radius: 50%;
    pointer-events: none;
}

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

.why-us-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.why-us-list {
    list-style: none;
}

.why-us-list li {
    padding: 1rem 0;
    padding-left: 2.5rem;
    position: relative;
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    transition: var(--transition);
}

.why-us-list li:hover {
    padding-left: 3rem;
    color: var(--text-dark);
}

.why-us-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.3rem;
    width: 28px;
    height: 28px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.why-us-list li:hover::before {
    transform: scale(1.2) rotate(360deg);
    background: rgba(16, 185, 129, 0.2);
}

.stats-card {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.stat {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--secondary-color);
    position: relative;
    z-index: 1;
}

.stat:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

/* ===========================
   How It Works Section
   =========================== */
.how-it-works {
    padding: 5rem 0;
    background: linear-gradient(180deg, #F7FAFC 0%, var(--secondary-color) 100%);
}

.steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    margin-top: 3rem;
}

.step {
    background-color: var(--secondary-color);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: var(--shadow-lg);
}

.step h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.step p {
    color: var(--text-gray);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2.5rem;
    color: var(--primary-color);
    font-weight: bold;
    animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(10px); opacity: 1; }
}

/* ===========================
   CTA Section
   =========================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: 200% 200%;
    animation: gradientShift 12s ease infinite;
    padding: 5rem 0;
    text-align: center;
    color: var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1), transparent),
                radial-gradient(circle at 70% 50%, rgba(255, 255, 255, 0.1), transparent);
    animation: float 15s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 5rem 0;
    background-color: var(--secondary-color);
}

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

.contact-form {
    background: linear-gradient(135deg, #F7FAFC 0%, #EDF2F7 100%);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

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

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
    background-color: white;
}

.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(0, 102, 204, 0.1);
    transform: translateY(-2px);
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    padding: 2.5rem;
    border-radius: 16px;
    height: fit-content;
    color: white;
    box-shadow: var(--shadow-lg);
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

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

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: var(--transition);
}

.contact-detail:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.detail-icon {
    font-size: 1.5rem;
}

.contact-detail a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-detail a:hover {
    opacity: 0.8;
}

/* ===========================
   Footer
   =========================== */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #0A0A0A 100%);
    color: var(--secondary-color);
    padding: 3rem 0 1.5rem;
}

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

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1rem;
    color: var(--primary-light);
}

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

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: var(--transition);
}

.footer-links a:hover::after {
    width: 100%;
}

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

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

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

.social-icon:hover {
    background: rgba(0, 102, 204, 0.2);
    transform: translateY(-5px) rotate(360deg);
}

.social-icon svg {
    transition: var(--transition);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Scroll Animations
   =========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll[data-delay="100"].visible {
    transition-delay: 0.1s;
}

.animate-on-scroll[data-delay="200"].visible {
    transition-delay: 0.2s;
}

.animate-on-scroll[data-delay="300"].visible {
    transition-delay: 0.3s;
}

.animate-on-scroll[data-delay="400"].visible {
    transition-delay: 0.4s;
}

.animate-on-scroll[data-delay="500"].visible {
    transition-delay: 0.5s;
}

.animate-on-scroll[data-delay="150"].visible {
    transition-delay: 0.15s;
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 1024px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }

    .hero-dashboard {
        max-width: 500px;
        margin: 2rem auto 0;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .why-us-content {
        grid-template-columns: 1fr;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .hero-dashboard {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .btn-lg {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .stats-card {
        padding: 2rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .logo span {
        font-size: 1.2rem;
    }

    .logo-icon {
        width: 24px;
        height: 24px;
    }

    .btn-nav {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .service-card,
    .step,
    .contact-form,
    .contact-info {
        padding: 1.5rem;
    }

    .trust-icon svg {
        width: 48px;
        height: 48px;
    }

    .service-icon svg {
        width: 60px;
        height: 60px;
    }
}

/* ===========================
   Accessibility
   =========================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Form validation styles */
input:invalid:not(:placeholder-shown),
select:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
    border-color: #EF4444;
}

input:valid:not(:placeholder-shown),
select:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
}

/* ===========================
   Loading Animation
   =========================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===========================
   Logo Marquee Section
   =========================== */
.logo-marquee-section {
    padding: 4rem 0;
    background: linear-gradient(180deg, #fff, #f7fafc);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee-heading {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-gray);
    font-weight: 500;
    margin-bottom: 2rem;
}

.logo-marquee-container {
    overflow: hidden;
    padding: 2rem 0;
}

.logo-marquee {
    display: flex;
    gap: 4rem;
    animation: scroll-logos 40s linear infinite;
}

.logo-marquee:hover {
    animation-play-state: paused;
}

@keyframes scroll-logos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-item {
    flex-shrink: 0;
    width: 150px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.3s ease;
}

.client-logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.client-logo-item svg {
    max-width: 100%;
    max-height: 100%;
}

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

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

.testimonial-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition);
    position: relative;
}

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

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
    padding-left: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

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

.author-photo {
    flex-shrink: 0;
}

.author-info strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.author-info span {
    display: block;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.company-logo {
    margin-top: 1rem;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover .company-logo {
    opacity: 0.7;
}

/* ===========================
   Case Studies Section
   =========================== */
.case-studies {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

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

.case-study-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

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

.case-study-header {
    margin-bottom: 2rem;
}

.case-study-industry {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-study-header h3 {
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: 0;
}

.case-study-challenge,
.case-study-solution {
    margin-bottom: 2rem;
}

.case-study-challenge h4,
.case-study-solution h4,
.case-study-results h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.case-study-solution ul {
    list-style: none;
    padding: 0;
}

.case-study-solution li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.case-study-solution li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.metric-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    border: 2px solid var(--border-color);
}

.metric-display {
    display: flex;
    align-items: baseline;
    justify-content: center;
    white-space: nowrap;
    gap: 0.125rem;
    margin-bottom: 0.5rem;
}

.metric-value,
.metric-prefix,
.metric-suffix {
    display: inline;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
}

.case-study-timeline {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-gray);
    font-style: italic;
}

/* ===========================
   Team Section
   =========================== */
.team {
    padding: 6rem 0;
    background: white;
}

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

.team-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.team-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.team-photo {
    margin-bottom: 1.5rem;
}

.team-photo svg {
    border-radius: 50%;
    border: 4px solid var(--border-color);
}

.team-card:hover .team-photo svg {
    border-color: var(--primary-color);
}

.team-info h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-credentials {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.credential {
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.team-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-linkedin:hover {
    gap: 0.75rem;
}

/* ===========================
   FAQ Section
   =========================== */
.faq {
    padding: 6rem 0;
    background: white;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: var(--transition);
}

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

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin: 0;
    flex: 1;
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 300;
    transition: transform 0.3s ease;
}

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

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

.faq-answer p {
    padding: 0 2rem 1.5rem 2rem;
    color: var(--text-gray);
    line-height: 1.8;
}

/* ===========================
   Hero Badges & Footer Badges
   =========================== */
.hero-badges {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-badge span {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--border-color);
}

.footer-badge-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.badge-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.badge-text span {
    display: block;
    color: var(--text-gray);
    font-size: 0.85rem;
}

/* ===========================
   ROI Calculator Modal
   =========================== */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-dark);
}

.modal-close {
    font-size: 2rem;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

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

.calculator-inputs {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.calc-input-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.calc-input-group input[type="number"],
.calc-input-group input[type="range"] {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.calc-input-group input[type="number"]:focus,
.calc-input-group input[type="range"]:focus {
    outline: none;
    border-color: var(--primary-color);
}

.range-value {
    display: block;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
}

.roi-results {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 16px;
}

.roi-results.hidden {
    display: none;
}

.roi-results h3 {
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

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

.result-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid var(--border-color);
}

.result-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.result-label {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.roi-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
}

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

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

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

/* ===========================
   Mobile Responsive Updates
   =========================== */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .case-studies-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .metric-value,
    .metric-prefix,
    .metric-suffix {
        font-size: 1.75rem;
    }

    .case-study-card {
        padding: 2rem;
    }

    /* Logo Marquee */
    .client-logo-item {
        width: 120px;
        height: 70px;
    }

    .logo-marquee {
        gap: 2rem;
    }

    .hero-badges {
        flex-direction: column;
        gap: 1rem;
    }
    
    .footer-badges {
        grid-template-columns: 1fr;
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
    }
}

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

    .results-grid {
        grid-template-columns: 1fr;
    }

    /* Metric font size adjustments */
    .metric-value,
    .metric-prefix,
    .metric-suffix {
        font-size: 1.5rem;
    }

    /* Service Cards */
    .service-card h3 {
        font-size: 1.2rem;
    }

    /* Testimonials */
    .testimonial-quote {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    /* Case Studies */
    .case-study-card {
        padding: 1.5rem;
    }

    .case-study-header h3 {
        font-size: 1.2rem;
    }

    .case-study-challenge h4,
    .case-study-solution h4,
    .case-study-results h4 {
        font-size: 1rem;
    }

    .case-studies-grid {
        gap: 1.5rem;
    }

    /* Team Section */
    .team-info h3 {
        font-size: 1.3rem;
    }

    .team-card {
        padding: 1.5rem;
    }

    .team-grid {
        gap: 1.5rem;
    }

    .team-photo svg {
        width: 150px;
        height: 150px;
    }

    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }

    .contact-info {
        padding: 1.5rem;
    }

    .contact-info h3 {
        font-size: 1.3rem;
    }

    .form-group label {
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-brand h3 {
        font-size: 1.3rem;
    }

    .footer-brand p {
        font-size: 0.95rem;
    }

    /* FAQ */
    .faq-question {
        padding: 1rem 1.25rem;
    }

    .faq-answer p {
        padding: 0 1.25rem 1rem 1.25rem;
    }

    .faq-icon {
        font-size: 1.3rem;
    }

    /* Hero Badges */
    .trust-badge svg {
        width: 32px;
        height: 32px;
    }

    .trust-badge {
        padding: 0.6rem 1rem;
    }

    .hero-badges {
        gap: 0.75rem;
    }

    /* Testimonial Author Photos */
    .author-photo svg {
        width: 50px;
        height: 50px;
    }

    /* Logo Marquee */
    .client-logo-item {
        width: 100px;
        height: 60px;
    }

    .logo-marquee {
        gap: 1.5rem;
    }

    .marquee-heading {
        font-size: 1.1rem;
    }
}
