@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #0f172a;
    --dark: #0f172a;
    --accent-color: #2563eb;
    --secondary-color: #10b981;
    --text-color: #1e293b;
    --light-text: #64748b;
    --white: #ffffff;
    --section-bg: #f8fafc;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a {
    text-decoration: none;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 180px;
    /* Offset for fixed header - Adjusted for taller logo */
}

body {
    background: #ffffff;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    margin: 0;
    padding: 0;
}

/* Base Headings */
h1,
h2,
h3,
h4 {
    color: var(--primary-color);
    font-weight: 700;
}

/* Header & Nav */
header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Soft definition */
    transition: var(--transition);
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 4%;
    /* More room for nav */
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 90px;
    /* Standard premium height */
    position: relative;
    transition: var(--transition);
}


.logo {
    display: flex;
    align-items: center;
    height: 100%;
    z-index: 10;
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img,
.logo canvas {
    height: 100px;
    /* Slightly oversized to compensate for internal whitespace */
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition);
    margin: -5px 0;
    /* Pull in to minimize header bloat */
}


.logo:hover img {
    transform: scale(1.05);
}

nav ul,
nav ul li {
    list-style: none !important;
    margin: 0;
    padding: 0;
}

nav>ul {
    display: flex;
    gap: 1.5rem;
    /* Slightly reduced gap */
    align-items: center;
}

nav ul li {
    position: relative;
}

nav>ul>li a {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    /* Elegant smaller size */
    transition: var(--transition);
    position: relative;
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    /* Keep text on one line */
}

nav ul li a i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

nav>ul>li:hover>a i {
    transform: rotate(180deg);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--accent-color) !important;
    font-weight: 700;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    min-width: 280px;
    width: max-content;
    padding: 15px 0;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.5);
    pointer-events: none;
    list-style: none;
    z-index: 1000;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
    background: transparent;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0px);
    pointer-events: all;
}

.dropdown-menu li {
    padding: 0 12px;
    list-style: none !important;
}

.dropdown-menu li a {
    padding: 12px 25px !important;
    font-size: 0.9rem !important;
    /* 14.4px */
    font-weight: 500;
    color: var(--text-color) !important;
    border-radius: 12px;
    display: flex !important;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.dropdown-menu li a:hover {
    background: rgba(59, 130, 246, 0.05);
    color: var(--accent-color) !important;
    padding-left: 30px !important;
    transform: translateX(5px);
}

.dropdown-menu li a::after {
    display: none;
}

.nav-cta {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2563eb 100%);
    color: var(--white) !important;
    padding: 0.6rem 1.4rem !important;
    /* Slightly more elegant proportions */
    border-radius: 12px !important;
    font-weight: 700 !important;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.3);
    font-size: 0.9375rem !important;
    /* 15px */
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(59, 130, 246, 0.4);
}

/* Layout Utilities */
.container,
.process-grid,
.faq-container,
.advantage-grid,
.hero-grid,
.feature-split,
.quick-grid,
.pricing-grid,
.pricing-section>div,
.trust-bar>div,
section>div:not(.nav-overlay) {
    max-width: 1440px;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100%;
}

/* Ensure sections and bars span full width for backgrounds */
section,
.trust-bar,
.page-header,
footer {
    width: 100% !important;
    position: relative;
    display: block;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.gsap-reveal,
.gsap-hero-reveal {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Sections */
section {
    padding: 60px 5%;
    position: relative;
}

/* Page Header */
.page-header {
    background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 60%, #f0fdf4 100%);
    padding: 110px 5% 60px;
    /* Matched to 90px header */
    text-align: center;
    width: 100%;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.875rem;
    /* 14px */
    font-weight: 500;
}

.breadcrumb a {
    color: var(--light-text);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-color);
}

.breadcrumb i {
    font-size: 0.7rem;
    color: #cbd5e1;
}

.breadcrumb span {
    color: var(--primary-color);
    font-weight: 600;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 20px;
    color: var(--primary-color);
}

.page-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
    border-color: var(--accent-color);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--accent-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 60%, #f0fdf4 100%);
    padding-top: 110px;
    /* Reduced for sleeker header */
    padding-bottom: 40px;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.hero-content {
    text-align: left;
}

.hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    line-height: 1.15;
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: -0.03em;
}

.hero h1 span {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(59, 130, 246, 0.1);
    z-index: -1;
}

.hero-benefits {
    list-style: none;
    margin: 25px 0 35px;
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.hero-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
}

.hero-benefits li i {
    width: 32px;
    height: 32px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.hero-benefits li i.icon-online {
    color: #2563eb;
}

/* Premium Blue */
.hero-benefits li i.icon-ai {
    color: #8b5cf6;
}

/* Royal Purple */

.hero-form-card {
    background: white;
    padding: 40px;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(226, 232, 240, 0.8);
    position: relative;
}

.hero-form-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-align: center;
}

.hero-form-card p {
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 30px;
    color: var(--light-text);
}

.hero p {
    font-size: 1.25rem;
    color: var(--light-text);
    margin: 0 auto 50px;
    max-width: 800px;
}

/* Quick Action Cards */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.quick-card {
    background: white;
    padding: 30px 20px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.quick-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-color);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.1);
}

.quick-card i {
    font-size: 2rem;
}

.quick-card span {
    font-weight: 600;
    color: var(--primary-color);
}

/* Clients */
.client-section {
    padding: 60px 5%;
    background: white;
    text-align: center;
}

.client-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    margin-top: 40px;
}

.client-grid img {
    height: 30px;
    opacity: 0.4;
    transition: var(--transition);
}

.client-grid img:hover {
    opacity: 1;
}

/* Feature Split */
.feature-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 60px 5%;
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.feature-split.reverse {
    direction: rtl;
}

.feature-split.reverse .feature-text {
    direction: ltr;
}

.feature-image img {
    width: 100%;
    border-radius: 32px;
    box-shadow: var(--shadow);
}

.tag {
    display: inline-block;
    padding: 6px 16px;
    background: #eff6ff;
    color: var(--accent-color);
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.feature-text h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.feature-list {
    list-style: none;
    margin-top: 30px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-weight: 500;
}

.feature-list li i {
    width: 24px;
    height: 24px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.feature-list li:hover i {
    background: var(--accent-color);
    color: white;
    transform: translateX(3px);
}

/* AI Section Card */
.ai-card {
    background: var(--dark);
    border-radius: 48px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    color: white;
    position: relative;
    overflow: hidden;
    max-width: 1440px;
    margin: 0 auto;
}

.ai-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
}

.ai-card h2 {
    color: white;
    font-size: 3rem;
}

.ai-card p {
    opacity: 0.7;
    font-size: 1.1rem;
}

.considerations-card {
    background: var(--primary-color) !important;
    padding: 40px !important;
    display: block !important;
    border-radius: 40px !important;
}

.considerations-card h2 {
    color: white !important;
    margin-bottom: 20px !important;
}

.considerations-card p {
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 30px !important;
    font-size: 1rem;
}

.considerations-card .feature-list {
    margin-top: 30px !important;
}

.considerations-card .feature-list li {
    color: white !important;
    opacity: 1 !important;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.considerations-card .feature-list li i {
    color: #ffd700 !important;
    /* Gold for importance */
    background: rgba(255, 255, 255, 0.1);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
    flex-shrink: 0;
    margin-top: 3px;
}

/* Trust Bar Redesign */
.trust-bar {
    background: #ffffff;
    padding: 20px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 40px;
    transition: var(--transition);
    border-right: 1px solid rgba(0, 0, 0, 0.06);
}

.trust-item:last-child {
    border-right: none;
}

.trust-item i {
    width: 65px;
    height: 65px;
    background: #eff6ff;
    color: var(--accent-color);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.trust-item:hover {
    background: rgba(37, 99, 235, 0.02);
}

.trust-item:hover i {
    background: var(--accent-color);
    color: white;
    transform: rotateY(180deg) scale(1.1);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

.trust-item div span {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 2px;
}

.trust-item div p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--light-text);
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

/* Pricing Cards */
.pricing-section {
    background: #fffcf8;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 60px;
    max-width: 1440px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 50px 30px;
    border-radius: 12px;
    border: 1px solid #eef2f6;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.pricing-card.featured {
    border: 2px solid #333;
    z-index: 2;
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: #00d285;
    color: white;
    padding: 5px 15px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.pricing-card h3 {
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: #333;
}

.price-box {
    margin-bottom: 30px;
}

.price-box .currency {
    font-size: 1.4rem;
    font-weight: 400;
    color: #444;
}

.price-box .amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: #111;
    line-height: 1;
}

.price-label {
    font-size: 0.85rem;
    color: #777;
    margin-top: 8px;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plan-btn {
    display: block;
    padding: 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 35px;
    transition: 0.3s;
    text-transform: uppercase;
}

.plan-btn.blue {
    background: #1579ff;
    color: white;
}

.plan-btn.blue:hover {
    background: #005edb;
}

.plan-btn.red {
    background: #f03e3e;
    color: white;
}

.plan-btn.red:hover {
    background: #db2d2d;
}

.features-header {
    text-align: left;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0056b3;
    margin-bottom: 20px;
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 10px;
}

.features-list {
    list-style: none;
    text-align: left;
    margin: 0;
    padding: 0;
}

.features-list li {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.features-list li i {
    color: #1579ff;
    font-size: 0.8rem;
}

/* Process Steps */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--accent-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.process-step:hover .step-number {
    background: var(--accent-color);
    color: white;
    transform: rotate(10deg);
}

.process-step h4 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.process-step p {
    font-size: 0.95rem;
    color: var(--light-text);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background: white;
    border-radius: 20px;
    margin-bottom: 15px;
    border: 1px solid #f1f5f9;
}

.faq-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-content {
    padding: 0 30px 24px;
    color: var(--light-text);
    display: none;
}

/* --- New Floating System --- */
.ff-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: fixed !important;
    z-index: 10000 !important;
    border: none;
    outline: none;
}

.ff-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

/* WhatsApp (Right-aligned in group) */
.ff-whatsapp {
    position: relative !important;
    background: #25d366;
    font-size: 1.8rem;
    animation: ff-pulse-green 2s infinite;
}

@keyframes ff-pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Floating Group - Right */
.ff-action-group {
    position: fixed;
    bottom: 30px;
    right: 40px;
    /* More inward for desktop */
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Better spacing between buttons */
    z-index: 10000;
}

body.popup-active .ff-action-group,
body.popup-active .ff-whatsapp {
    z-index: 1 !important;
    /* Send to back when popup is active */
    pointer-events: none !important;
}

/* Scroll Top with New Translate Animation Logic */
.ff-scroll-top {
    position: relative !important;
    /* Managed by group position */
    background: var(--accent-color);
    font-size: 1.2rem;
    display: none;
    /* JS will toggle */
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    /* Initial translate state */
}

/* Chat Bubble */
.ff-chat-bubble {
    position: relative !important;
    background: var(--primary-color);
    font-size: 1.5rem;
}

/* Chat Window Restyling */
.ff-chat-window {
    position: absolute;
    bottom: 80px;
    right: 75px;
    /* Shifted left to avoid overlapping with floating buttons */
    width: 330px;
    height: 480px;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 43, 91, 0.2);
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    flex-direction: column;
    overflow: hidden;
    z-index: 9000;
    border: 1px solid #f1f5f9;
}

.ff-chat-window.active {
    display: flex;
    pointer-events: all;
    opacity: 1;
    transform: translateY(0);
}

.ff-chat-header {
    background: var(--primary-color);
    padding: 15px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ff-chat-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ff-chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ff-chat-avatar i {
    animation: pulse-avatar 2s infinite ease-in-out;
    border-radius: 50%;
}

@keyframes pulse-avatar {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Body state when popup is open */
body.popup-active {
    overflow: hidden !important;
}

body.popup-active .ff-floating-group {
    display: none !important;
}

.ff-chat-user-info {
    display: flex;
    flex-direction: column;
}

.ff-chat-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.ff-chat-user-name {
    font-weight: 600;
    font-size: 0.95rem;
    display: block;
    line-height: 1.2;
}

.ff-chat-user-status {
    font-size: 0.75rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.ff-chat-user-status::before {
    content: '';
    width: 7px;
    height: 7px;
    background: #10b981;
    /* Green dot */
    border-radius: 50%;
    display: inline-block;
}

.ff-chat-header i {
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
    font-size: 1.2rem;
}

.ff-chat-header i:hover {
    opacity: 1;
}

.ff-chat-messages {
    flex: 1;
    padding: 15px 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.ff-chat-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.ff-chat-opt {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 8px 15px;
    border-radius: 25px;
    text-align: left;
    font-size: 0.8rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    width: fit-content;
}

.ff-chat-opt:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background: #f1f5f9;
}

.ff-msg {
    padding: 10px 14px;
    border-radius: 16px;
    font-size: 0.85rem;
    max-width: 85%;
    line-height: 1.4;
}

.ff-bot-msg {
    background: #e2e8f0;
    color: var(--primary-color);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.ff-user-msg {
    background: var(--accent-color);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.ff-chat-input-area {
    padding: 12px 20px;
    background: white;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ff-chat-input-area input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 0.9rem;
    color: #475569;
}

.ff-chat-input-area button {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Footer Refinements */
footer .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    align-items: start;
}

.footer-map-container iframe {
    transition: filter 0.3s ease;
}

.footer-map-container iframe:hover {
    filter: none !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

footer h3,
footer h4 {
    color: white;
    margin-bottom: 25px;
}

footer p,
footer li a {
    color: var(--light-text) !important;
    font-size: 0.95rem;
    transition: var(--transition);
}

footer li a:hover {
    color: var(--accent-color) !important;
    padding-left: 8px;
}

footer img {
    height: 120px;
    /* Increased size */
    width: auto;
    object-fit: contain;
    transition: var(--transition);
    margin-left: -15px;
    /* Offset whitespace */
}

footer img:hover {
    transform: translateY(-5px) scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.12));
}

/* Popup */
.ff-phone-group {
    display: flex;
    gap: 12px;
    width: 100%;
}

.ff-country-select {
    width: 100px !important;
}

.ff-phone-input {
    flex: 1;
}

#popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 200000 !important;
    /* Extremely high to top everything */
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    pointer-events: auto !important;
}

#popup-form {
    background: white;
    padding: 50px;
    border-radius: 40px;
    width: 95%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
    z-index: 200001 !important;
    pointer-events: auto !important;
}

#popup-form * {
    pointer-events: auto !important;
}

.close-popup {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: var(--transition);
    background: #f1f5f9;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.close-popup:hover {
    color: var(--accent-color);
    background: #e2e8f0;
    transform: rotate(90deg);
}

#popup-form h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    letter-spacing: -0.02em;
}

#popup-form p {
    margin-bottom: 35px;
    color: var(--light-text);
    font-size: 1.05rem;
}

.form-group {
    margin-bottom: 25px;
    text-align: left;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 2px solid #f1f5f9;
    font-size: 1rem;
    color: var(--primary-color);
    background: #f8fafc;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    background: white;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
    color: #94a3b8 !important;
    opacity: 0.7 !important;
}

/* Form Validation Styles */
.form-control.error {
    border-color: #ef4444 !important;
    background-color: #fef2f2 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1) !important;
}

.form-control.error:focus {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2) !important;
    background-color: #ffffff !important;
}

.form-control.error {
    animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-3px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(3px, 0, 0);
    }
}

.form-control.error::placeholder {
    color: #f87171 !important;
}

.error-msg {
    color: #ef4444;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 5px;
    display: block;
}


#popup-form .btn-primary {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 16px;
    margin-top: 10px;
    cursor: pointer;
    border: none;
    background: #ff9f43 !important;
    /* Set to Orange as per reference */
    color: white;
    box-shadow: 0 10px 20px rgba(255, 159, 67, 0.3);
    transition: var(--transition);
}

#popup-form .btn-primary:hover {
    transform: translateY(-2px);
    background: #ff8c1a !important;
    box-shadow: 0 15px 30px rgba(255, 159, 67, 0.4);
}

.ff-quote-btn {
    background: #ff9f43 !important;
    background-image: none !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 18px !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 20px rgba(255, 159, 67, 0.3) !important;
    border: none !important;
    cursor: pointer !important;
}

.ff-quote-btn:hover {
    background: #ff8c1a !important;
    transform: translateY(-2px) !important;
}

.nav-toggle,
.nav-close {
    display: none;
}

.nav-toggle {
    font-size: 1.4rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
    background: #f8fafc;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.nav-toggle:active {
    background: #eff6ff;
    transform: scale(0.95);
}

/* Mobile */
@media (max-width: 1024px) {
    .header-container {
        flex-direction: row !important;
        justify-content: space-between !important;
        /* Spread logo and toggle */
        padding: 0 5% !important;
        height: 110px !important;
    }

    .logo {
        position: relative !important;
        width: auto !important;
        display: flex;
        justify-content: flex-start;
        margin: 0 !important;
    }

    .logo img {
        height: 70px !important;
        /* Proper mobile scale */
        margin: 0 !important;
        width: auto;
    }

    header.scrolled .logo img {
        height: 70px !important;
    }

    .nav-toggle {
        display: flex !important;
        position: absolute !important;
        right: 20px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
    }

    nav {
        position: fixed !important;
        top: 0 !important;
        width: 100% !important;
        height: 100vh !important;
        background: white !important;
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.1) !important;
        padding: 60px 30px 40px !important;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 99999 !important;
        /* Extremely high to top everything */
        overflow-y: auto !important;
        display: block !important;
        transform: translateX(100%);
        right: 0 !important;
    }

    nav.active {
        transform: translateX(0);
    }

    .nav-close {
        display: flex !important;
        justify-content: flex-end;
        font-size: 2rem;
        color: var(--primary-color);
        cursor: pointer;
        margin-bottom: 20px;
        padding-bottom: 15px;
        border-bottom: 1px solid #f1f5f9;
        z-index: 100000 !important;
    }

    .nav-close i {
        transition: transform 0.3s ease;
    }

    .nav-close:hover i {
        transform: rotate(90deg);
        color: var(--accent-color);
    }

    .mobile-nav-logo {
        padding-bottom: 30px;
        margin-bottom: 20px;
        border-bottom: 2px solid #f1f5f9;
        text-align: center;
    }

    .mobile-nav-logo img {
        height: 45px;
        object-fit: contain;
    }

    nav.active {
        right: 0;
    }

    nav>ul {
        flex-direction: column;
        align-items: stretch;
        /* Stretch items to full width */
        gap: 0px;
        width: 100%;
        display: flex;
    }

    nav>ul>li {
        border-bottom: 1px solid #f1f5f9;
    }

    nav>ul>li:last-child {
        border-bottom: none;
    }

    nav>ul>li a {
        padding: 18px 5px;
        font-size: 0.95rem;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--primary-color);
        font-weight: 600;
    }

    nav>ul>li a::after {
        display: none !important;
        /* Hide hover line on mobile */
    }

    /* Mobile Dropdown Refinements */
    nav .dropdown-menu {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none !important;
        width: 100% !important;
        min-width: 100% !important;
        box-shadow: none !important;
        padding: 5px 0 10px 15px !important;
        border: none !important;
        background: #f8fafc !important;
        border-radius: 12px !important;
        margin: 5px 0 10px !important;
        transition: none !important;
    }

    nav li.dropdown.active>.dropdown-menu {
        display: flex !important;
        flex-direction: column !important;
    }

    nav .dropdown-menu li {
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        /* No borders for sub-items */
    }

    nav .dropdown-menu li a {
        padding: 12px 15px !important;
        font-size: 0.85rem !important;
        color: var(--text-color) !important;
        display: block !important;
        border-radius: 8px !important;
        width: 100% !important;
        text-align: left !important;
        font-weight: 500 !important;
    }

    nav .dropdown-menu li a:hover {
        background: rgba(59, 130, 246, 0.05) !important;
        color: var(--accent-color) !important;
    }

    nav li.dropdown.active>a {
        color: var(--accent-color) !important;
    }

    nav li.active>a i,
    nav li.dropdown.active>a i {
        transform: rotate(180deg) !important;
    }

    .nav-cta {
        margin-top: 25px !important;
        margin-bottom: 20px !important;
        text-align: center;
        width: 100% !important;
        display: block !important;
        padding: 15px !important;
    }

    @media (max-width: 600px) {
        .ff-chat-window {
            position: fixed !important;
            left: 50% !important;
            right: auto !important;
            transform: translateX(-50%) !important;
            bottom: 140px !important;
            /* Move up slightly to clear mobile floating buttons */
            width: 90% !important;
            max-width: 380px;
            height: 550px !important;
            max-height: 80vh;
        }

        .ff-action-group {
            right: 20px !important;
            bottom: 20px !important;
        }

        .ff-phone-group {
            display: flex !important;
            flex-direction: row !important;
            gap: 12px !important;
            width: 100% !important;
        }

        .ff-country-select {
            flex: 0 0 90px !important;
            margin-bottom: 0 !important;
        }

        .ff-phone-input {
            flex: 1 !important;
            margin-bottom: 0 !important;
        }

        #popup-form .form-group {
            margin-bottom: 18px !important;
        }

        #popup-form .form-control {
            margin-bottom: 0 !important;
        }

        #popup-form {
            width: 95% !important;
            padding: 50px 20px 30px !important;
            /* Increased top padding to avoid close button overlap */
        }

        .close-popup {
            top: 15px !important;
            right: 15px !important;
            width: 35px !important;
            height: 35px !important;
            font-size: 1.2rem !important;
        }
    }

    .hero {
        padding-top: 140px !important;
        min-height: auto !important;
        padding-bottom: 60px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .hero-benefits {
        display: flex !important;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        margin: 20px 0 30px !important;
        background: none !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 12px !important;
    }

    .hero-benefits li {
        justify-content: flex-start !important;
        font-size: 1rem !important;
        margin-bottom: 0 !important;
        line-height: 1.4 !important;
        font-weight: 500;
        color: var(--primary-color);
        width: 100%;
        text-align: left !important;
    }

    .hero-benefits li i {
        display: inline-block !important;
        font-size: 1.15rem !important;
    }

    .trust-bar {
        padding: 50px 15px !important;
        /* Added side padding for mobile framing */
        background: #f1f5f9 !important;
        border: none !important;
    }

    .trust-flex {
        /* Bootstrap grid row handles layout */
        display: flex !important;
        flex-wrap: wrap !important;
    }

    .trust-item {
        background: #ffffff !important;
        padding: 24px !important;
        border-radius: 20px !important;
        display: flex !important;
        align-items: center !important;
        gap: 20px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03) !important;
        border: 1px solid rgba(226, 232, 240, 0.8) !important;
        transition: transform 0.3s ease !important;
        position: relative !important;
        overflow: hidden !important;
        height: 100% !important;
        width: 100% !important;
        /* Explicitly forced 100% width */
    }

    .trust-item::after {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        height: 100%;
        width: 4px;
        background: var(--accent-color);
        opacity: 0.7;
    }

    .trust-item i {
        font-size: 1.4rem !important;
        color: var(--accent-color) !important;
        background: #eff6ff !important;
        width: 55px !important;
        height: 55px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 16px !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }

    .trust-item div {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .trust-item span {
        font-size: 1.3rem !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
        letter-spacing: -0.02em !important;
        line-height: 1 !important;
    }

    .trust-item p {
        font-size: 0.95rem !important;
        color: var(--light-text) !important;
        font-weight: 500 !important;
        margin: 0 !important;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .hero-grid,
    .feature-split,
    .grid,
    .ai-card {
        grid-template-columns: 1fr !important;
        gap: 40px;
        padding: 40px 10px !important;
        text-align: center;
    }

    .hero-content {
        text-align: center;
    }

    /* Removed redundant hero-benefits align-items */

    .hero h1 {
        font-size: 2.8rem;
    }

    .quick-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    /* Trust items are already 100% and centered in the 1024px query, 
       no specific override needed here unless we want to reduce gap */
    .trust-flex {
        gap: 35px !important;
    }

    h2 {
        font-size: 2.2rem !important;
        line-height: 1.2 !important;
    }

    .hero h1 {
        font-size: 2.2rem !important;
        line-height: 1.1 !important;
    }

    .faq-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .pricing-badge {
        position: static;
        display: inline-block;
        margin-bottom: 20px;
    }

    .quick-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Fixed Service Cards for Mobile */
    .service-card {
        min-width: 100% !important;
        padding: 30px 20px !important;
    }

    /* Fixed Intro Grid for Mobile - Center text and icons */
    .grid[style*="grid-template-columns: 1fr 1fr"],
    .grid[style*="1fr 1fr"] {
        grid-template-columns: 1fr !important;
        text-align: center !important;
        gap: 30px !important;
    }

    .doc-group {
        text-align: left !important;
        background: white;
        padding: 24px 15px;
        /* Less horizontal padding */
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        height: 100%;
        margin-bottom: 5px;
    }

    .doc-group .feature-list {
        margin-top: 15px !important;
    }

    .doc-group .feature-list li {
        font-size: 0.88rem !important;
        /* Slightly smaller for single line */
        margin-bottom: 15px !important;
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    .grid[style*="grid-template-columns: 1fr 1fr"]>div {
        background: white;
        padding: 25px;
        border-radius: 24px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
        border: 1px solid #f1f5f9;
        transition: transform 0.3s ease;
    }

    .grid[style*="grid-template-columns: 1fr 1fr"] h5 {
        justify-content: center;
        display: flex;
        flex-direction: column;
        /* Stack icon on top */
        align-items: center;
        gap: 12px;
        font-size: 1.3rem !important;
        color: var(--primary-color);
        margin-bottom: 10px !important;
    }

    .grid[style*="grid-template-columns: 1fr 1fr"] h5 i {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .grid[style*="grid-template-columns: 1fr 1fr"] p {
        margin-left: auto;
        margin-right: auto;
        max-width: 250px;
        font-size: 0.9rem !important;
        color: var(--light-text);
        line-height: 1.5;
    }

    .hero-form-card {
        padding: 30px 8px !important;
        border-radius: 16px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-form-card h3 {
        font-size: 1.3rem !important;
    }

    /* Stack form inputs on small screens */
    .tag {
        padding: 5px 12px;
        font-size: 0.75rem !important;
        margin-bottom: 12px !important;
    }

    .breadcrumb {
        font-size: 0.75rem !important;
        margin-bottom: 15px !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }

    .breadcrumb i {
        font-size: 0.6rem;
    }

    .hero-form-card div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .hero-form-card label {
        margin-bottom: 6px !important;
        display: block;
    }

    .section-title {
        margin-bottom: 30px !important;
    }

    h2 {
        font-size: 1.8rem !important;
        line-height: 1.25 !important;
    }

    .feature-list li i {
        font-size: 1rem !important;
        margin-top: 3px;
        color: var(--secondary-color) !important;
    }

    /* Document Upload Area Padding */
    .hero-form-card div[style*="background: #f8fafc"] {
        padding: 20px 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        border-radius: 12px;
    }

    /* Document Grid Stacking */
    .hero-form-card div[style*="display: grid"][style*="minmax(280px, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Trust Bar Mobile Refined */
    .trust-bar {
        padding: 30px 10px !important;
    }

    .trust-item {
        border-right: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding: 20px 15px !important;
        gap: 15px !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
    }

    .trust-item:last-child {
        border-bottom: none;
    }

    .trust-item i {
        width: 55px !important;
        height: 55px !important;
        font-size: 1.3rem !important;
        border-radius: 15px !important;
    }

    .trust-item div span {
        font-size: 1.25rem !important;
    }

    .trust-item div p {
        font-size: 0.75rem !important;
    }

    /* Common CTA Mobile */
    .common-cta {
        padding: 60px 20px !important;
        margin: 0 15px 50px !important;
        border-radius: 30px !important;
    }

    .common-cta h2 {
        font-size: 1.8rem !important;
    }

    .common-cta p {
        font-size: 1rem !important;
        margin-bottom: 30px !important;
    }

    .common-cta .btn {
        padding: 1rem 1.5rem !important;
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }

    .common-cta-btns {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .common-cta-trust-list {
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 35px !important;
        align-items: center;
    }

    .trust-point-item {
        display: flex !important;
        align-items: center !important;
        flex-direction: row !important;
        justify-content: flex-start;
        width: 100%;
        max-width: 280px;
        gap: 12px !important;
    }

    /* Spacing between sections */
    section {
        padding: 60px 12px !important;
        overflow-x: hidden !important;
    }

    section.hero {
        padding-left: 5px !important;
        padding-right: 5px !important;
    }

    .process-grid {
        grid-template-columns: 1fr !important;
        padding: 0 10px;
    }

    .process-step {
        text-align: center;
        background: white;
        padding: 30px 20px;
        border-radius: 24px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    }

    .process-step h4 {
        margin-top: 15px;
        margin-bottom: 5px;
        font-size: 1.2rem;
    }

    .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .faq-container {
        padding: 0 10px !important;
    }

    .faq-header {
        font-size: 1rem !important;
        padding: 15px 20px !important;
    }

    .faq-content {
        padding: 0 20px 20px !important;
        font-size: 0.9rem !important;
    }

    .feature-list {
        margin-top: 25px !important;
        padding-left: 0 !important;
        width: 100%;
    }

    .feature-list li {
        font-size: 0.95rem !important;
        margin-bottom: 20px !important;
    }

    .hero-grid {
        gap: 30px !important;
    }

    .hero-content .tag {
        margin-top: 10px;
        margin-bottom: 5px !important;
    }

    .hero-content h1 {
        margin-top: 5px;
    }

    /* Fixed Quick Grid for Mobile */
    .quick-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .pricing-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 30px !important;
        padding: 0 10px;
    }

    .pricing-card {
        width: 100% !important;
        margin: 0 !important;
        text-align: center;
        border-radius: 24px !important;
    }

    .plan-btn {
        width: 100% !important;
        margin: 10px 0 !important;
        padding: 15px !important;
    }

    .features-list {
        text-align: left !important;
        display: inline-block;
        width: auto;
        margin: 0 auto;
    }

    .quick-card {
        padding: 40px 20px !important;
    }

    footer .grid {
        grid-template-columns: 1fr !important;
        text-align: left !important;
        gap: 40px !important;
    }

    footer .grid ul {
        align-items: flex-start !important;
    }

    footer .grid div {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        text-align: center !important;
        justify-content: center !important;
        flex-direction: column;
        gap: 10px !important;
    }

    .considerations-card {
        padding: 35px 15px !important;
        border-radius: 20px !important;
        margin: 0 10px !important;
    }

    .considerations-card h2 {
        font-size: 1.6rem !important;
        line-height: 1.25 !important;
    }

    .considerations-card p {
        font-size: 0.95rem !important;
        margin-bottom: 25px !important;
    }

    .considerations-card .feature-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 20px !important;
    }

    .considerations-card .feature-list li {
        font-size: 0.92rem !important;
        line-height: 1.5 !important;
        display: block !important;
        /* Stack vertically */
        padding-left: 35px !important;
        position: relative !important;
        margin-bottom: 25px !important;
    }

    .considerations-card .feature-list li i {
        position: absolute !important;
        left: 0 !important;
        top: 2px !important;
        width: 24px !important;
        height: 24px !important;
        font-size: 0.75rem !important;
    }

    .considerations-card .feature-list li strong {
        display: block !important;
        /* Forces description to new line */
        font-size: 1.05rem !important;
        margin-bottom: 6px !important;
        color: #fff !important;
    }

    .page-header {
        padding: 130px 20px 60px !important;
        background: radial-gradient(circle at top right, #eff6ff 0%, #ffffff 100%);
    }

    .page-header h1 {
        font-size: 2.2rem !important;
        margin-bottom: 20px !important;
    }

    .page-header p {
        font-size: 1rem !important;
        line-height: 1.5 !important;
        max-width: 100% !important;
    }

    /* Floating buttons collision fix */
    .ff-floating-group {
        bottom: 15px !important;
    }

    .ff-whatsapp {
        left: auto !important;
        width: 50px !important;
        height: 50px !important;
    }

    .ff-action-group {
        right: 15px !important;
        gap: 10px !important;
    }

    .ff-scroll-top,
    .ff-chat-bubble {
        width: 50px !important;
        height: 50px !important;
    }

    /* Service Advantages & Why Us Cards spacing */
    .grid[style*="display: flex"] {
        flex-direction: column !important;
        gap: 20px !important;
        margin-top: 20px !important;
    }

    .service-card {
        max-width: 100% !important;
        padding: 30px 20px !important;
        margin-bottom: 0 !important;
    }

    /* Feature Split (Intro) Spacing */
    .feature-split {
        padding: 20px 0 !important;
        gap: 30px !important;
    }

    .feature-image,
    .feature-text {
        padding: 0 15px !important;
    }

    .feature-text p {
        margin-bottom: 20px !important;
        line-height: 1.6 !important;
    }

    .feature-image img {
        border-radius: 20px !important;
        margin-top: 15px;
        margin-bottom: 10px;
    }

    /* Form Container Spacing */
    .hero-form-container {
        padding: 0 !important;
    }

    .hero-form-card {
        padding: 30px 10px !important;
        margin-top: -20px;
        /* Pull up slightly */
    }

    .hero-form-card h3 {
        margin-bottom: 5px !important;
    }

    /* Section Inner Gaps */
    section div[style*="text-align: center"][style*="margin-bottom: 60px"] {
        margin-bottom: 35px !important;
    }
}

/* Active Class for Dropdown Links */
.dropdown-menu li a.active {
    background: rgba(59, 130, 246, 0.1) !important;
    color: var(--accent-color) !important;
    font-weight: 700 !important;
    border-left: 3px solid var(--accent-color);
    padding-left: 25px !important;
}


/* Common CTA Styles */
.common-cta {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
    color: white;
}

.common-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 140%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(37, 99, 235, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.common-cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.common-cta-trust-list {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    opacity: 0.7;
}

.trust-point-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: white;
}

.trust-point-item i {
    width: 22px;
    height: 22px;
    background: var(--accent-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* Home CTA (Index Page) */
.home-cta {
    max-width: 1280px;
    /* More contained and premium card width */
    margin: 0 auto 100px;
    /* Perfectly centered with balanced side space */
    width: 92%;
    /* Fallback for smaller screens to maintain margins */
    padding: 100px 5%;
    border-radius: 48px;
    position: relative;
    overflow: hidden;
    color: white;
    box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.4);
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%),
        radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 40%);
}

.home-cta::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.home-cta::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.home-cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.home-cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
}

.home-cta-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.85;
    max-width: 650px;
    margin: 0 auto 50px;
}

.flex-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.cta-white-btn {
    background: white;
    color: var(--primary-color) !important;
    padding: 1.2rem 2.8rem !important;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.cta-white-btn:hover {
    background: var(--accent-color);
    color: white !important;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
}

.cta-outline-btn {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white !important;
    padding: 1.2rem 2.8rem !important;
    border-radius: 16px;
    font-weight: 700;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.cta-outline-btn:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 9998;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

@media (max-width: 1024px) {
    .home-cta {
        padding: 60px 20px !important;
        margin: 0 15px 60px !important;
        border-radius: 32px !important;
    }

    .home-cta h2 {
        font-size: 2.2rem !important;
    }

    .home-cta p {
        font-size: 1rem !important;
    }

    .flex-btns {
        flex-direction: column;
        gap: 15px;
    }

    .flex-btns .btn {
        width: 100%;
        text-align: center;
    }
}

.common-cta h2 {
    color: white;
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 25px;
    line-height: 1.1;
}

.common-cta h2 span {
    color: var(--accent-color);
}

.common-cta p {
    color: #cbd5e1;
    font-size: 1.15rem;
    margin-bottom: 45px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.common-cta-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn-primary {
    background: var(--accent-color);
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    font-size: 1.1rem;
}

.cta-btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.4);
    color: white;
}

.cta-btn-whatsapp {
    background: #25d366;
    color: white;
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cta-btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

@media (max-width: 600px) {
    .common-cta {
        padding: 60px 24px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .common-cta h2 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        margin-bottom: 15px !important;
    }

    .common-cta p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        margin-bottom: 40px !important;
        opacity: 0.9;
    }

    .common-cta-btns {
        flex-direction: column !important;
        gap: 12px !important;
        margin-bottom: 40px !important;
    }

    .cta-btn-primary,
    .cta-btn-whatsapp {
        width: 100% !important;
        justify-content: center !important;
        padding: 16px 20px !important;
        font-size: 1rem !important;
        border-radius: 12px !important;
    }

    .common-cta-trust-list {
        margin-top: 40px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        opacity: 1 !important;
        margin: 40px 0 0 0 !important;
        /* Explicitly move to the left */
        width: 100% !important;
    }

    .trust-point-item {
        font-size: 0.9rem !important;
        font-weight: 500 !important;
        width: 100% !important;
        justify-content: flex-start !important;
        /* Align icons and text to left */
        color: rgba(255, 255, 255, 0.9) !important;
        text-align: left !important;
    }

    .home-cta {
        padding: 60px 24px !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    .home-cta h2 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        margin-bottom: 20px !important;
    }

    .home-cta p {
        font-size: 1rem !important;
        line-height: 1.6 !important;
        margin-bottom: 35px !important;
        max-width: 100% !important;
    }

    .flex-btns {
        gap: 12px !important;
    }

    .cta-white-btn,
    .cta-outline-btn {
        width: 100% !important;
        padding: 16px 20px !important;
        font-size: 1rem !important;
    }
}

/* Advantage Cards */
.advantage-card {
    background: white;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px -12px rgba(15, 23, 42, 0.1);
    border-color: var(--accent-color);
}

.advantage-card .service-icon {
    margin-bottom: 20px;
}

/* Form Full Width Layout */
.form-container-stacked {
    max-width: 1000px;
    margin: 0 auto;
}

.form-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.form-header-center h2 span {
    color: var(--accent-color);
}

.form-full-width {
    width: 100% !important;
    max-width: 100% !important;
}

/* Global Alert Styles */
.ff-alert {
    padding: 15px 25px;
    border-radius: 12px;
    margin: 20px auto;
    max-width: 800px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 500;
    animation: slideDown 0.5s ease forwards;
    position: relative;
    z-index: 1000;
}

.ff-alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fee2e2;
}

.ff-alert-success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #dcfce7;
}

.ff-alert i {
    font-size: 1.2rem;
}

.expertise-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    border-radius: 40px;
    margin: 0 auto 100px;
    padding: 80px;
    max-width: 1440px;
    width: 90%;
}

@media (max-width: 768px) {
    .expertise-section {
        padding: 40px 20px;
        margin: 0 5% 60px;
        border-radius: 24px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header .logo #header-logo-canvas {
    height: 100px;
}

/* Center logo on mobile */
@media (max-width: 768px) {
    header .header-container {
        justify-content: center !important;
        position: relative !important;
        padding: 0 10px !important;
        height: 70px !important;
    }

    header.scrolled .header-container {
        height: 70px !important;
    }

    header .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: 100% !important;
        margin: 0 !important;
        z-index: 10 !important;
    }

    header .logo a {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }

    header .logo #header-logo-canvas {
        height: 80px !important;
        width: auto !important;
        max-width: 250px !important;
        object-fit: contain !important;
    }

    header .nav-toggle {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        margin: 0;
        z-index: 20;
    }

    footer .grid>div:first-child {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}