/* 
 * Futuresight Analytics Limited - Main Stylesheet
 * Author: Futuresight Analytics Limited
 * Version: 2.0.0 - Enhanced Interactive & Conversion-Optimized
 */

/* ==================== Reset & Base Styles ==================== */

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

/* Performance Optimization */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --primary-navy: #0A2540;
    --primary-blue: #2E90FA;
    --accent-teal: #06B6D4;
    --white: #FFFFFF;
    --light-grey: #F8FAFC;
    --medium-grey: #E2E8F0;
    --dark-grey: #334155;
    --text-primary: #1E293B;
    --text-secondary: #64748B;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--white);
    overflow-x: hidden;
}

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

.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2000;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    color: var(--white);
    text-align: center;
    padding: 2rem;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content p {
    margin-top: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
}

.logo:focus-visible {
    outline: 2px solid var(--primary-blue);
    outline-offset: 4px;
    border-radius: 6px;
}

.logo .logo-mark {
    width: 42px;
    height: 42px;
    display: block;
    object-fit: contain;
}

.logo span {
    display: inline-block;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    gap: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

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

.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0d3a5f 100%);
    color: var(--white);
    padding: 120px 2rem 80px;
    margin-top: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-brand {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.75rem 1.25rem;
    border-radius: 999px;
    box-shadow: 0 15px 35px rgba(10, 37, 64, 0.15);
    margin-bottom: 1.5rem;
}

.hero-logo-mark {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.hero-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.hero-brand-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-navy);
}

.hero-brand-tagline {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--text-secondary);
}

/* Animated Background Particles */
.hero:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(46, 144, 250, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(46, 144, 250, 0.05) 0%, transparent 50%);
    animation: backgroundMove 20s ease infinite;
}

@keyframes backgroundMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(50px, 30px); }
}
.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top: 4px solid var(--primary-blue);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 70px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    z-index: 999;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(46, 144, 250, 0.5);
}

/* ==================== Header & Navigation ==================== */

header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 0.8s ease;
}

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

/* Typing Effect Cursor */
.typing-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background-color: var(--primary-blue);
    margin-left: 5px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero h2 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.hero-outcomes {
    list-style: none;
    text-align: left;
    max-width: 700px;
    margin: 2rem auto;
    font-size: 1.1rem;
}

.hero-outcomes li {
    margin-bottom: 1rem;
    padding-left: 0;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 2.5rem 0;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    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.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(46, 144, 250, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(46, 144, 250, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.cta-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    border: none;
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.5rem;
}

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

/* ==================== Sections ==================== */

section {
    padding: 80px 2rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    border-radius: 2px;
}

/* Trust Badges Section */
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    padding: 2rem 0;
    margin: 3rem 0;
    border-top: 1px solid var(--medium-grey);
    border-bottom: 1px solid var(--medium-grey);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
}
.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.value-item:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue), var(--accent-teal));
    transition: left 0.3s ease;
}

.value-item:hover:before {
    left: 0;
}

.value-item h4 {
    margin-bottom: 0.75rem;
    position: relative;
    padding-top: 3.5rem;
}

.value-item h4:before {
    content: '✓';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    border-radius: 50%;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.value-item:hover h4:before {
    transform: translateX(-50%) rotate(360deg);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(46, 144, 250, 0.3);
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1) rotate(360deg);
    box-shadow: 0 8px 25px rgba(46, 144, 250, 0.5);
}

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

.case-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--accent-teal);
    transition: all 0.3s ease;
    position: relative;
}

.case-card:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.case-card:before {
    content: '📊';
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 3rem;
    opacity: 0.1;
    transition: all 0.3s ease;
}

.case-card:hover:before {
    opacity: 0.2;
    transform: scale(1.2) rotate(10deg);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-navy);
    line-height: 1;
    padding: 0.25rem;
}

.mobile-menu-toggle:focus-visible {
    outline: 2px solid var(--primary-blue);
    border-radius: 6px;
}

.hero h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.testimonial {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-style: italic;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonial:hover {
    border-color: var(--primary-blue);
    transform: scale(1.03);
    box-shadow: 0 8px 30px rgba(46, 144, 250, 0.2);
}

.testimonial:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    transition: all 0.3s ease;
}

.testimonial:hover:before {
    opacity: 0.5;
    transform: scale(1.2);
}

/* Star Rating */
.testimonial-rating {
    color: #FFB800;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-style: normal;
}

.testimonial-author {
    font-weight: 600;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 1rem;
}

/* ==================== Contact Form ==================== */

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid var(--medium-grey);
    transition: all 0.3s ease;
}

.contact-form:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 30px rgba(46, 144, 250, 0.15);
}

.contact-phone {
    text-align: center;
    font-weight: 600;
    color: var(--primary-navy);
    margin-bottom: 2rem;
}

.contact-phone a {
    color: var(--primary-blue);
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid var(--medium-grey);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(46, 144, 250, 0.1);
    transform: translateY(-2px);
}

.field-hint {
    display: block;
    margin-top: 0.3rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.submit-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;
}

.submit-btn:hover:before {
    width: 400px;
    height: 400px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(46, 144, 250, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.calendly-wrapper {
    margin-top: 3rem;
    padding: 1.5rem;
    border-radius: 16px;
    border: 2px solid var(--medium-grey);
    background: var(--white);
    box-shadow: 0 18px 40px rgba(10, 37, 64, 0.12);
    overflow: hidden;
}

.calendly-wrapper .calendly-inline-widget {
    min-height: 680px;
    width: 100%;
    border: none;
}

/* Form Success Message */
.form-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    display: none;
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ==================== Back to Top Button ==================== */

.back-to-top {
    position: fixed;
    bottom: 100px;
    left: 30px;
    right: auto;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(46, 144, 250, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.visible {
    display: flex;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(46, 144, 250, 0.6);
}

.value-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* ==================== Services Section ==================== */

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

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-top-color: var(--accent-teal);
}

.service-card ul {
    list-style: none;
    margin-top: 1rem;
}

.service-card li {
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    color: var(--text-secondary);
}

.service-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
}

/* ==================== How We Work Section ==================== */

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

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-teal));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

/* ==================== Case Studies Section ==================== */

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

.case-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-left: 6px solid var(--accent-teal);
}

.case-results {
    background-color: var(--light-grey);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.case-results h5 {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 1rem;
}

.case-results ul {
    list-style: none;
}

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

.case-results li:before {
    content: "●";
    position: absolute;
    left: 0;
    color: var(--accent-teal);
}

/* ==================== Tech Stack Section ==================== */

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

.tech-category {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.tech-category h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--medium-grey);
}

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

.tech-list li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ==================== Why Us Section ==================== */

.differentiators {
    max-width: 800px;
    margin: 2rem auto;
}

.differentiators ul {
    list-style: none;
}

.differentiators li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    padding-left: 3rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.differentiators li:before {
    content: "→";
    position: absolute;
    left: 1rem;
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: bold;
}

/* ==================== Testimonials Section ==================== */

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

.testimonial {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    font-style: italic;
    position: relative;
}

.testimonial:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary-blue);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial p {
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.testimonial-author {
    margin-top: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-navy);
    text-align: right;
}

/* ==================== Contact Section ==================== */

.contact-container {
    max-width: 700px;
    margin: 0 auto;
}

.contact-form {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px 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: var(--primary-navy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--medium-grey);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

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

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background-color: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    background-color: #1d7ae8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 144, 250, 0.3);
}

/* ==================== Footer ==================== */

footer {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 3rem 2rem 1.5rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-logo-mark {
    width: 64px;
    height: auto;
    margin-bottom: 1rem;
    object-fit: contain;
}

.footer-section p,
.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ==================== Responsive Design ==================== */

@media (max-width: 768px) {
    nav {
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        padding: 1.25rem 1.5rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 12px 12px;
        gap: 1rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero h2 {
        font-size: 1.2rem;
    }

    .hero-outcomes {
        padding-left: 0;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .hero-brand {
        flex-direction: column;
        border-radius: 24px;
        padding: 1rem;
    }

    .hero-logo-mark {
        width: 56px;
        height: 56px;
    }

    h2 {
        font-size: 2rem;
    }

    .values-grid,
    .services-grid,
    .case-studies {
        grid-template-columns: 1fr;
    }

    section {
        padding: 50px 1.5rem;
    }

    .floating-cta {
        bottom: 1.25rem;
        right: 1rem;
        left: auto;
    }

    .floating-btn {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
    }

    .back-to-top {
        bottom: 90px;
        left: 20px;
        right: auto;
    }

    .calendly-wrapper {
        padding: 1rem;
        margin-top: 2rem;
    }

    .calendly-wrapper .calendly-inline-widget {
        min-height: 620px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 1rem 60px;
    }

    .hero-brand {
        width: 100%;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .service-card,
    .case-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .trust-badges {
        gap: 1rem;
    }
    
    .trust-badge {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
    
    .floating-cta {
        left: auto;
        right: 0.75rem;
        bottom: 0.75rem;
        gap: 0.5rem;
    }
    
    .floating-btn {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .calendly-wrapper {
        padding: 0.75rem;
    }

    .calendly-wrapper .calendly-inline-widget {
        min-height: 560px;
    }
}

/* ==========================================
   Additional Conversion Elements
   ========================================== */
.testimonial-rating {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.form-success {
    display: none;
    background: #10b981;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    animation: fadeInUp 0.5s ease;
}

.form-success.visible {
    display: block;
}

.form-error {
    display: none;
    background: #ef4444;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 600;
    animation: fadeInUp 0.5s ease;
}

.form-error.visible {
    display: block;
}

.contact-form input.invalid,
.contact-form textarea.invalid {
    border-color: #ef4444;
}

.contact-form input.valid,
.contact-form textarea.valid {
    border-color: #10b981;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(100, 116, 139, 0.8);
}

#contact ul {
    list-style: none;
    padding: 0;
}

#contact ul li {
    padding: 0.5rem 0;
    font-size: 1.05rem;
}

.hero-outcomes li strong {
    color: var(--accent-teal);
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 1.5rem;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    animation: float 3s ease-in-out infinite;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.floating-cta.visible {
    opacity: 1;
    visibility: visible;
}

.floating-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    color: var(--white);
    background: var(--primary-blue);
    box-shadow: 0 18px 36px rgba(10, 37, 64, 0.3);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-btn:hover,
.floating-btn:focus-visible {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 22px 42px rgba(10, 37, 64, 0.35);
}

.floating-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.8);
    outline-offset: 3px;
}

.floating-btn.call {
    background: var(--primary-blue);
}

.floating-btn.whatsapp {
    background: #25D366;
}

.floating-btn.calendly {
    background: var(--accent-teal);
}
