/*
Theme Name: RPA Flow Theme
Theme URI: http://example.com/rpa-flow
Author: RPA Flow
Author URI: http://example.com
Description: A custom theme for RPA Flow Automation Solutions.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, threaded-comments, translation-ready
Text Domain: rpa-flow
*/

/* Reset & Base Styles */
:root {
    --primary: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --dark-bg: #0f172a;
    --dark-surface: #1e293b;
    --light-bg: #f8fafc;
    --text-main: #334155;
    --text-light: #94a3b8;
    --white: #ffffff;
    --max-width: 1200px;
    --nav-height: 80px;
    --radius-lg: 1rem;
    --radius-md: 0.5rem;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --gradient-hero: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
    --gradient-text: linear-gradient(to right, #60a5fa, #2dd4bf);
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    max-width: 100vw;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--dark-bg);
    line-height: 1.2;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

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

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography & Utilities */
.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mt-5 {
    margin-top: 3rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

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

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    margin-left: 1rem;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    font-family: 'Plus Jakarta Sans', sans-serif;
}

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

.nav-links a {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

.nav-toggle {
    display: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 1024px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    padding-top: calc(var(--nav-height) + 4rem);
    padding-bottom: 6rem;
    background: var(--gradient-hero);
    color: var(--white);
    overflow: hidden;
}

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

.tagline {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 2rem;
    color: #93c5fd;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero p {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.stats-row {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
}

.stat-label {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Hero Visual Animation */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.main-card {
    width: 380px;
    height: 280px;
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.main-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

.card-header {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.circle {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ef4444;
}

.yellow {
    background: #f59e0b;
}

.green {
    background: #22c55e;
}

.loading-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.progress {
    width: 60%;
    height: 100%;
    background: var(--primary);
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% {
        width: 0%;
    }

    50% {
        width: 70%;
    }

    100% {
        width: 100%;
    }
}

.code-lines .line {
    background: rgba(255, 255, 255, 0.1);
    height: 10px;
    border-radius: 2px;
    margin-bottom: 0.8rem;
}

.short {
    width: 40%;
}

.medium {
    width: 70%;
}

.long {
    width: 90%;
}

.status-badge {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    font-size: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.floating-card-1,
.floating-card-2 {
    position: absolute;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-weight: 500;
    z-index: 3;
    animation: float 6s ease-in-out infinite;
}

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

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

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Sections */
.section {
    padding: 6rem 0;
}

.bg-light {
    background-color: var(--light-bg);
}

.bg-dark {
    background-color: var(--dark-bg);
    color: var(--white);
}

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

.section-subtitle {
    display: block;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 2px;
    /* Increased letter-spacing */
}

/* Specific visibility fix for dark sections */
#pricing .section-subtitle,
#benefits .section-subtitle,
#contact .section-subtitle {
    color: var(--accent);
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.check-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.check-list i {
    color: var(--primary);
}

.about-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-5px);
}

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

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

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

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

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

.service-card p {
    color: var(--text-main);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-features {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.service-features li {
    margin-bottom: 0.4rem;
    position: relative;
    padding-left: 1rem;
}

.service-features li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
}

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

/* Process Timeline (Flexbox for centered last row) */
.process-timeline {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
}

.process-step {
    flex: 0 0 calc(33.333% - 1.34rem);
    /* 3 items per row accounting for 2rem gap */
    max-width: 400px;
    /* Prevent overly stretched items on large screens */
}

@media (max-width: 992px) {
    .process-step {
        flex: 0 0 calc(50% - 1rem);
        /* 2 items per row */
    }
}

@media (max-width: 768px) {
    .process-step {
        flex: 0 0 100%;
        /* Full width on mobile */
    }
}

.process-step {
    position: relative;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.step-number {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border: 4px solid var(--white);
}

.step-content h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

/* Benefits */
.col-half {
    width: 50%;
}

.row {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.benefits-list {
    margin-top: 2rem;
}

.benefit-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.benefit-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 0.25rem;
}

.benefit-item h4 {
    color: var(--white);
    margin-bottom: 0.25rem;
}

.benefit-item p {
    color: #94a3b8;
    font-size: 0.9rem;
}

.stats-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

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

.stat-card p {
    color: #cbd5e1;
}

/* Use Cases */
.case-studies-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.case-card {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--primary);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.case-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.badge {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.case-card p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tech-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.7;
}

.tech-logos span {
    font-weight: 600;
    color: var(--text-light);
    font-size: 1.25rem;
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.faq-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--text-main);
}

/* CTA */
.cta-section {
    background: var(--gradient-hero);
    color: var(--white);
    text-align: center;
    padding: 6rem 1rem;
}

.cta-form {
    max-width: 500px;
    margin: 2rem auto 0;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem;
    border-radius: var(--radius-md);
    border: none;
    outline: none;
}

/* Footer */
.footer {
    background: var(--dark-bg);
    color: #94a3b8;
    padding: 4rem 0 0;
    font-size: 0.9rem;
}

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

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

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

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

.footer ul li a:hover {
    color: var(--primary);
}

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

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 100%;
        text-align: center;
        padding: 0 1rem;
        gap: 3rem;
    }

    .hero h1 {
        font-size: 2.5rem;
        word-wrap: break-word;
    }

    .hero-btns {
        justify-content: center;
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .hero-btns .btn-secondary {
        margin-left: 0;
    }

    .hero-visual {
        display: none;
    }

    /* Simplify for tablet? Or keep specific sizing */
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .stats-row {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--dark-bg);
        flex-direction: column;
        padding: 2rem;
        height: auto;
    }

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

    .nav-toggle {
        display: block;
    }

    .row {
        flex-direction: column;
        gap: 2rem;
    }

    .col-half {
        width: 100%;
    }

    .form-group {
        flex-direction: column;
    }

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

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Mobile Menu Active State */
.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--dark-bg);
    padding: 2rem;
    height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeIn 0.3s ease;
}

/* Enhanced Tech Stack Styles */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 992px) {
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

.tech-category {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tech-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

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

.tech-category:hover::before {
    transform: scaleX(1);
}

.tech-icon {
    width: 60px;
    height: 60px;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.tech-category h4 {
    color: var(--dark-bg);
    font-weight: 700;
    margin-bottom: 0.75rem;
}

/* Enhanced Pricing Styles (Overrides) */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.7), rgba(15, 23, 42, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-gradient);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.6), 0 0 15px rgba(59, 130, 246, 0.2);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-header h3 {
    color: var(--white) !important;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.price-desc {
    color: #cbd5e1 !important;
    /* Lighter grey for better contrast */
    font-size: 0.95rem;
}

.pricing-features li {
    color: #e2e8f0 !important;
    /* Very light grey */
}

.pricing-features li i {
    color: var(--accent) !important;
    /* Gold checks */
}

.pricing-card.featured {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.2);
}

/* Accordion FAQ Styles - Aesthetically Modern */
.faq-container {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .faq-container {
        grid-template-columns: 1fr;
    }
}

.faq-item {
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.faq-item summary {
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--dark-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    font-size: 1.05rem;
}

/* Remove default marker */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary i {
    color: var(--primary);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
    background: rgba(59, 130, 246, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.faq-item[open] summary i {
    transform: rotate(180deg);
    background: var(--primary);
    color: var(--white);
}

.faq-content {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-content {
    border-top-color: #f1f5f9;
    padding-top: 1rem;
}

.faq-content p {
    margin: 0;
}

/* Enhanced Getting Started / CTA */
.getting-started-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.gs-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.gs-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.3);
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.15);
}

.gs-card h3 {
    color: var(--accent);
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 800;
}

.gs-card p {
    color: #e2e8f0;
    margin-bottom: 2rem;
    flex-grow: 1;
    font-size: 1.05rem;
}

.gs-card ul {
    margin-bottom: 2.5rem;
    color: #cbd5e1;
}

.gs-card ul li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.gs-card ul li::before {
    content: "\f00c";
    /* FontAwesome Check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--accent);
}

.gs-card button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: auto;
}

/* Success Story List Styles */
.result-list {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-main);
}

.result-list strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.result-list ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.result-list li {
    margin-bottom: 0.25rem;
}

.case-card {
    display: flex;
    flex-direction: column;
}

.case-header h4 {
    white-space: normal;
    font-size: 1.1rem;
    line-height: 1.4;
    max-width: 70%;
}

/* Testimonials Styles */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

@media (max-width: 992px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.quote-icon {
    font-size: 2rem;
    color: rgba(59, 130, 246, 0.2);
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.client-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.3);
}

.client-info h4 {
    color: var(--dark-bg);
    margin-bottom: 0.25rem;
    font-size: 1rem;
    font-weight: 700;
}

.client-info span {
    display: block;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
}

/* Consultation Page Styles */
.consultation-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

@media (max-width: 900px) {
    .consultation-wrapper {
        grid-template-columns: 1fr;
    }
}

.contact-info-panel {
    background: var(--light-bg);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
}

.contact-info-panel h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
}

.contact-info-panel ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 0.75rem;
    line-height: 1.5;
}

.info-block h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid #f1f5f9;
}

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

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

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

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

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

.form-group-vertical input,
.form-group-vertical select,
.form-group-vertical textarea {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid #cbd5e1;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-group-vertical input:focus,
.form-group-vertical select:focus,
.form-group-vertical textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: var(--white);
}

.full-width {
    width: 100%;
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

/* Responsive Adjustments for Consultation Page */
@media (max-width: 900px) {
    .consultation-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info-panel,
    .form-container {
        padding: 2rem;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 1rem;
    }

    .consultation-wrapper {
        margin-top: 2rem;
        gap: 1.5rem;
    }

    .contact-info-panel,
    .form-container {
        padding: 1.5rem;
    }

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

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

    .full-width {
        font-size: 1rem;
        padding: 0.85rem;
    }
}