/* Modern Color Palette & Variables - Brand Theme */
:root {
    /* Primary Brand Colors */
    --primary-color: #6c63ff;
    /* Official Brand Blue */
    --primary-hover: #6c63ff;
    --primary-light: #e6f0fa;
    --secondary-color: #6c63ff;
    /* Brand Secondary / Text Dark */
    --accent-color: #f26c4f;
    /* Brand Orange for CTAs */

    /* Backgrounds */
    --bg-light: #f4f8fb;
    /* Light Blue Tint */
    --bg-white: #ffffff;
    --bg-dark: #0b1120;
    --hero-gradient: linear-gradient(-135deg, #ffffff 50%, #eff6ff 50%);
    /* Subtle Blue Split */
    --card-bg: #ffffff;

    /* Text */
    --text-main: #334155;
    --text-light: #64748b;
    --text-dark: #1e293b;
    --text-white: #ffffff;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(3, 81, 149, 0.1);
    --shadow-md: 0 10px 15px -3px rgba(3, 81, 149, 0.1), 0 4px 6px -2px rgba(3, 81, 149, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(3, 81, 149, 0.1), 0 10px 10px -5px rgba(3, 81, 149, 0.04);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --border-radius-lg: 16px;
    /* Slightly sharper for professional look */
    --border-radius-btn: 6px;
    /* Standard professional btn radius */

    /* Spacing */
    --section-padding: 5rem 0;
    --container-width: 1400px;

    /* New Vars */
    --white: #ffffff;
    --border-radius-md: 12px;

    /* Font */
    --font-main: 'Outfit', sans-serif;
}

/* Reset & Base */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
        /* Tighter container on mobile */
    }
}

.section {
    padding: var(--section-padding);
    position: relative;
}

@media (max-width: 768px) {
    .section {
        padding: 2rem 0;
        /* Further reduced from 3rem to 2rem */
    }

    .section-sm {
        padding: 1.5rem 0;
        /* Tighter small sections */
    }

    h1,
    h2,
    h3 {
        margin-bottom: 0.75rem;
        /* Tighter headings */
    }

    p {
        margin-bottom: 0.8rem;
        /* Tighter paragraphs */
    }
}

.section-sm {
    padding: 2rem 0;
}

.trusted-text {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #888;
    margin-bottom: 1.5rem;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-center {
    text-align: center;
}

.d-flex {
    display: flex;
}

.align-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-1 {
    gap: 1rem;
}

.gap-2 {
    gap: 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-btn);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--accent-color);
    /* Orange for primary CTAs */
    color: white;
    box-shadow: 0 4px 12px rgba(242, 108, 79, 0.4);
}

.btn-primary:hover {
    background-color: #d65135;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(242, 108, 79, 0.6);
}

.btn-secondary {
    background-color: var(--primary-color);
    /* Blue for secondary actions */
    color: white;
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Header & Mega Menu */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: white;
    box-shadow: var(--shadow-sm);
    padding: 0;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 1rem;
}

.nav-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-box a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-box a:hover {
    color: var(--primary-color);
}

/* Mega Menu */
.mega-menu {
    position: static;
}

.mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    padding: 2rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid #eee;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: 0.3s;
}

.mega-menu:hover .mega-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mega-column h3 {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mega-column ul li {
    margin-bottom: 0.5rem;
}

.mega-column ul li a {
    font-size: 0.9rem;
    color: var(--text-light);
}

.mega-column ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

/* Form Card Global Style */
.form-card {
    background: #ffffff;
    padding: 2rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    text-align: left;
    transition: transform 0.3s ease;
}

.form-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.form-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.form-control {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: border-color 0.2s;
    background: #f8fafc;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
}

.btn-submit {
    width: 100%;
    background: var(--accent-color);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 0.5rem;
}

.btn-submit:hover {
    background: #d65135;
}

/* Hero Section */
.hero {
    padding-top: 140px;
    padding-bottom: 6rem;
    background: #ffffff;
    /* pure white background for simplicity */
    text-align: center;
    position: relative;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 80px;
        /* Reduced from 140px */
        padding-bottom: 2rem;
        /* Reduced from 6rem */
    }
}

/* Optional: Add a very subtle pattern or gradient if needed, but keeping it simple for now */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, #f0f9ff 10%, transparent 60%);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
    text-align: center;
}

/* Mobile Responsive for Hero Grid */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 2rem;
        text-align: center;
        /* Force center on mobile */
    }

    .trust-badges-hero {
        justify-content: center !important;
        /* Force badges to center on mobile */
    }
}




.hero-content h1 {
    font-size: 3.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.75rem;

    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2rem;

    }
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-light);
    margin: 0 auto 2rem;
    max-width: 600px;
}

@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-badge {
    background: #f3e8ff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    text-align: left;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}



/* Footer (5-Column Layout) */
.footer {
    background: var(--bg-dark);
    color: #9ca3af;
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h5 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: #9ca3af;
    font-size: 0.9rem;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.copyright {
    border-top: 1px solid #2b1c55;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .nav-box {
        display: none;
    }

    /* Use mobile toggle */
    .hero-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
        gap: 3rem;
        /* Add gap between doubled stacked items */
    }

    .hero {
        padding-top: 70px;
        padding-bottom: 8rem;
        text-align: center;
        overflow: hidden;
    }



    .hero-content {
        order: 1;
        /* Text First */
        text-align: center;
    }

    .hero-right {
        order: 2;
        /* Form Second */
        margin-bottom: 2rem;
        display: flex;
        justify-content: center;
    }

    .form-card {
        width: 100%;
        max-width: 400px;
        /* Consistent max-width */
        margin: 0 auto;
    }

    .hero-right {
        display: none !important;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 576px) {
    .trusted-logos-track {
        gap: 2rem;
        /* Reduce gap on mobile */
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }



}

/* Hero Trust Badges */
.trust-badges-hero {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s;
}

.review-badge img {
    height: auto;
    object-fit: contain;
}

.review-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
    .trust-badges-hero {
        justify-content: center;
        margin-bottom: 2rem;
    }
}

/* Hero Trust Badges */
.trust-badges-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Centering */
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.review-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
    border: 1px solid #f1f5f9;
    transition: transform 0.3s;
}

.review-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.badge-llp {
    background: #ffffff;
    border: 1px solid #e0e7ff;
    color: #4338ca;
}

.badge-llp i {
    color: #4338ca !important;
}

.badge-iso {
    background: #ffffff;
    border: 1px solid #d1fae5;
    color: #047857;
}

.badge-iso i {
    color: #047857 !important;
}

.review-badge {
    /* Base "Shadow Box" effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    /* Stronger shadow as requested "she box" */
}


@media (max-width: 576px) {

    .search-bar {
        padding: 0.5rem;
        border-radius: 50px;
        box-shadow: var(--shadow-md);
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        /* Full width on mobile */
        margin: 0 auto 2rem;
        border: 1px solid #eee;
        text-align: left;
        position: relative;
    }

    .search-suggestions {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        z-index: 100;
        margin-top: 10px;
        display: none;
        overflow: hidden;
        border: 1px solid #eee;
    }

}

.search-bar {
    background: white;
    padding: 0.5rem 0.5rem 0.5rem 1.5rem;
    border-radius: 50px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    max-width: 500px;
    margin: 0 auto 2rem;
    border: 1px solid #eee;
    text-align: left;
    position: relative;
}

.search-bar i.fa-search {
    color: #aaa;
    margin-right: 15px;
    font-size: 1.1rem;
}

.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    padding: 0;
}

.search-bar .btn-primary {
    border-radius: 30px;
    padding: 0.6rem 1.8rem;
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .search-bar {
        max-width: 100%;
        margin: 0 1rem 1.5rem;
        padding: 0.4rem 0.4rem 0.4rem 1.2rem;
        border-radius: 40px;
    }

    .search-bar i.fa-search {
        margin-right: 8px;
        font-size: 0.95rem;
    }

    .search-bar input {
        font-size: 0.9rem;
    }

    .search-bar .btn-primary {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }

    .search-suggestions {
        left: 1.2rem;
        right: 1.2rem;
    }

    .suggestion-item {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 400px) {
    .search-bar {
        padding: 0.3rem 0.3rem 0.3rem 0.8rem;
        margin: 0 0.5rem 1.5rem;
        gap: 2px;
    }

    .search-bar i.fa-search {
        margin-right: 4px;
        font-size: 0.85rem;
    }

    .search-bar input {
        font-size: 0.8rem;
        padding: 0;
    }

    .search-bar .btn-primary {
        padding: 0.4rem 0.8rem;
        font-size: 0.75rem;
        border-radius: 25px;
    }

    .search-suggestions {
        left: 0.8rem;
        right: 0.8rem;
    }

    .suggestion-item {
        padding: 8px 10px;
        font-size: 0.8rem;
    }
}

/* Search Suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 1.5rem;
    /* Match padding of container */
    right: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 100;
    margin-top: 10px;
    display: none;
    /* Hidden by default */
    overflow: hidden;
    border: 1px solid #eee;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 12px 15px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    border-bottom: 1px solid #f8fafc;
    transition: 0.2s;
    text-align: left;
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background-color: #f8fafc;
    color: var(--primary-color);
    padding-left: 20px;
}


.search-bar input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
}

.trusted-logos {
    display: flex;
    gap: 4rem;
    overflow: hidden;
    padding: 2rem 0;

}

.trusted-logos-track {
    display: flex;
    gap: 4rem;
    animation: scroll 40s linear infinite;
    width: max-content;
}

.trusted-logos img {
    height: 60px;
    width: auto;
    filter: grayscale(10%);
    transition: all 0.3s ease;
    object-fit: contain;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


/* Automation Hub Section */
.automation-hub {
    position: relative;
    padding: 6rem 0;
    overflow: hidden;
    background: #fff;
}

.hub-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.hub-center {
    text-align: center;
    z-index: 10;
    background: white;
    padding: 2rem;
    border-radius: 100%;
    /* Circular or pill depending on content, let's go pill/box for text */
    /* Wait, user image has text in center, no background box visible, just text. */
    border-radius: 20px;
    max-width: 400px;
}

.hub-tag {
    display: inline-block;
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.hub-connectors {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.connector-path {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 2px;
    vector-effect: non-scaling-stroke;
}

.hub-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: transform 0.3s;
}

.hub-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.hub-icon img {
    width: 24px;
    height: 24px;
}

/* Positioning Icons - Responsive relative to container */
/* Left side */
.icon-l-1 {
    top: 20%;
    left: 10%;
}

.icon-l-2 {
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
}

.icon-l-3 {
    bottom: 20%;
    left: 10%;
}

/* Right side */
.icon-r-1 {
    top: 20%;
    right: 10%;
}

.icon-r-2 {
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
}

.icon-r-3 {
    bottom: 20%;
    right: 10%;
}


@media (max-width: 768px) {
    .hub-container {
        flex-direction: column;
        min-height: auto;
    }

    .hub-connectors,
    .hub-icon {
        display: none;
        /* Hide complex diagram on mobile */
    }

    .hub-center {
        padding: 0 1rem;
    }
}

/* Why Trust Us (V3 - Mini Grid Style) */
/* Section Background Override */
.section.bg-cream {
    background-color: #FFFBF2;
}

.trust-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.trust-card-mini {
    background: #ffffff;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border: 1px solid #eee;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.trust-card-mini:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.trust-mini-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: #F3F8FC;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Icon colors for variety if needed by modifier classes, 
   but keeping unified for now or simple shifts */
.trust-card-mini:nth-child(2n) .trust-mini-icon {
    color: #f97316;
    background: #fff7ed;
}

.trust-card-mini:nth-child(3n) .trust-mini-icon {
    color: #10b981;
    background: #ecfdf5;
}

.trust-card-mini:nth-child(4n) .trust-mini-icon {
    color: #3b82f6;
    background: #eff6ff;
}

.trust-mini-content h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.trust-mini-content span {
    font-size: 0.8rem;
    color: #94a3b8;
    display: block;
}


/* Why Trust Us Mini Grid - Consolidated */
.trust-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .trust-grid-mini {
        grid-template-columns: 1fr 1fr;
        /* Force 2 columns */
        gap: 1rem;
    }

    .trust-card-mini {
        flex-direction: column;
        /* Stack icon and text */
        text-align: center;
        padding: 1rem;
        gap: 0.8rem;
        justify-content: center;
    }

    .trust-mini-icon {
        margin: 0 auto;
        /* Center icon */
    }

    .trust-mini-content h4 {
        font-size: 0.9rem;
    }

    .trust-mini-content span {
        font-size: 0.75rem;
    }
}

.section-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-dark);
    margin-bottom: 3rem;
}

.bg-white {
    background: #ffffff;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* ============================
   Mobile Bottom Sticky Bar
   ============================ */
.mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: none;
    /* Hidden on Desktop */
    background: white;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 15px;
    gap: 12px;
}

.action-btn {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
    border-radius: 12px;
}

.consult-btn {
    background: var(--primary-color);
    color: white;
}

.consult-btn:hover {
    background: #5a52d5;
    color: white;
}

.whatsapp-btn {
    background: #25d366;
    color: white;
}

.whatsapp-btn:hover {
    background: #20bd5a;
    color: white;
}

/* Hide Legacy Mobile Sticky CTA if any remains */
.mobile-sticky-cta {
    display: none !important;
}

/* Responsiveness: Show Bottom Bar on Mobile */
@media (max-width: 768px) {
    .mobile-bottom-bar {
        display: flex;
    }

    /* Hide Floating WhatsApp on Mobile */
    .Whatsapp-floating {
        display: none !important;
    }

    /* Ensure footer doesn't get covered (optional padding) */
    body {
        padding-bottom: 70px;
    }
}

/* =========================================
   NEW SECTIONS: What We Do & Why Trust Us (Jobster Style V2)
   ========================================= */

/* Why Trust Us (Jobster - Featured Job Offers Style) */
/* Section Background Override */
.section.bg-cream {
    background-color: #FFFBF2;
    /* Warm Cream from reference */
}

.trust-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.trust-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.trust-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.trust-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

/* Icons with specific branding colors */
.bg-icon-purple {
    background: #6c63ff;
}

.bg-icon-blue {
    background: #3b82f6;
}

.bg-icon-orange {
    background: #f97316;
}

.bg-icon-green {
    background: #10b981;
}

.trust-tag {
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
}

.trust-content h3 {
    color: var(--text-dark);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    margin-top: 1rem;
}

.trust-content p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.trust-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f8fafc;
}

.trust-meta {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 5px;
}

.btn-action-square {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: 0.3s;
}

.btn-action-square:hover {
    transform: scale(1.05);
}




/* =========================================
   Testimonials V3 (Video + Text Slider)
   ========================================= */

.video-placeholder {
    width: 100%;
    height: 400px;
    /* Fixed height or aspect ratio */
    background-color: black;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.play-button {
    width: 70px;
    height: 70px;
    background: red;
    /* YouTube Red approx */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 0 5px rgba(255, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    margin-left: 4px;
    /* Optical center fixing */
}

/* Slider Container */
.testimonial-slider-v3 {
    position: relative;
    min-height: 300px;
}

.review-item-v3 {
    display: none;
    flex-direction: column;
    animation: fadeIn 0.6s ease;
    text-transform: uppercase;
}

.review-item-v3.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Testimonial Card Styling */
.testimonial-card-v3 {
    background: transparent;
    padding: 0;
    margin-bottom: 2rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.stars {
    color: #FFD700;
    margin-bottom: 2px;
    font-size: 0.9rem;
}

.client-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.client-review {
    color: #333;
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Slider Controls */
.slider-controls-v3 {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    justify-content: flex-start;
    /* Aligned left as per image? Or center? Image shows standard arrows + dots */
    margin-top: 1rem;
}

#prevBtnV3,
#nextBtnV3 {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    transition: 0.2s;
}

#prevBtnV3:hover,
#nextBtnV3:hover {
    color: var(--primary-color);
}

.dot-v3 {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot-v3.active {
    background-color: #666;
    /* Darker gray active */
    transform: scale(1.1);
}





/* =========================================
   Benefits Style Services (Dark Card Container)
   ========================================= */

.benefits-container {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: visible;
    margin-top: 2rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* Center Vertically */
    gap: 3rem;
    box-shadow: none;
}

.benefits-header {
    flex: 0 0 250px;
    /* Fixed width for the text side */
    margin-bottom: 0;
    text-align: left;
    padding-left: 1rem;
    border-left: 5px solid var(--accent-color);
}

.benefits-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 Column Grid */
    gap: 1.5rem;
    overflow-x: visible;
    padding-bottom: 0;
    justify-content: start;
}

/* Remove scrollbar styles as no longer needed */
.benefits-grid::-webkit-scrollbar,
.benefits-grid::-webkit-scrollbar-track,
.benefits-grid::-webkit-scrollbar-thumb {
    display: none;
}

.benefit-card {
    background: white;
    width: 100%;
    /* Fill grid cell */
    border-radius: 24px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #eef2f7;
    margin-bottom: 0;
    /* Grid handles spacing */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.benefit-card:hover,
.benefit-card.active {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(108, 99, 255, 0.15);
    border-color: rgba(108, 99, 255, 0.4);
}

.benefit-card.active {
    background: white;
    box-shadow: 0 0 0 4px rgba(108, 99, 255, 0.1), 0 10px 30px rgba(0, 0, 0, 0.2);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    background: #f8faff;
    border-radius: 50%;
}

.benefit-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.benefit-card a {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0.8;
    transition: 0.2s;
}

.benefit-card:hover a {
    opacity: 1;
    gap: 8px;
}

@media (max-width: 992px) {
    .benefits-container {
        flex-direction: column;
        /* Stack on tablet/mobile */
        align-items: flex-start;
        padding: 2rem;
    }

    .benefits-header {
        flex: auto;
        width: 100%;
        margin-bottom: 2rem;
        text-align: center;
        /* Center header on mobile */
        border-left: none;
        /* Remove side border */
        border-bottom: 5px solid var(--accent-color);
        /* Add bottom border instead */
        padding-left: 0;
        padding-bottom: 1rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Cols on Tablet */
        width: 100%;
    }
}

@media (max-width: 768px) {
    .benefits-container {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }

    .benefits-grid {
        gap: 1rem;
        grid-template-columns: 1fr;
        /* 1 Col on Mobile */
    }

    .benefit-card {
        min-width: 0;
        /* Let grid control width */
        padding: 1.5rem 1rem;
        flex-direction: row;
        /* Horizontal card on mobile to save space? */
        align-items: center;
        text-align: left;
        gap: 1rem;
        border-radius: 16px;
        /* Slightly smaller radius for mobile */
    }

    /* Ensure the text doesn't overflow and looks clean on very small screens */
    .benefit-card p {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        /* Added for standard compatibility */
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .benefit-card h4 {
        margin-bottom: 0.1rem;
    }

    .benefit-card .benefit-content {
        flex: 1;
        min-width: 0;
    }
}

@media (max-width: 350px) {
    .benefit-card {
        padding: 1rem;
        gap: 0.8rem;
    }

    .benefit-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

.benefit-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.benefit-card h4 {
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.benefit-card a {
    font-size: 0.75rem;
}

/* Testimonial V3 Mobile */
.testimonial-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.video-placeholder {
    height: 250px;
    /* Smaller video on mobile */
}

/* Contact Popup Styles */
.contact-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    /* backdrop-filter: blur(4px); Removed for performance */
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease-out;
}

.contact-background.active {
    display: flex;
    opacity: 1;
}

.contact-popup {
    background: white;
    width: 90%;
    max-width: 450px;
    padding: 2.5rem;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.15s ease-out;
    animation: slideUp 0.2s ease-out forwards;
}

.contact-background.active .contact-popup {
    transform: translateY(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
    line-height: 1;
}

.contact-close-btn:hover {
    color: var(--text-dark);
}

.contact-popup h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.contact-popup p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.contact-popup .form-group {
    margin-bottom: 1.2rem;
}

.contact-popup label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.contact-popup input,
.contact-popup textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: 0.2s;
}

.contact-popup input:focus,
.contact-popup textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
}

.contact-popup .btn-primary {
    margin-top: 1rem;
    padding: 1rem;
    font-size: 1.1rem;
}

@media (max-width: 576px) {
    .contact-popup {
        padding: 1.2rem;
        border-radius: 12px;
        width: 95%;
    }

    .contact-popup h3 {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }

    .contact-popup p {
        font-size: 0.8rem;
        margin-bottom: 1.2rem;
    }

    .contact-popup .form-group {
        margin-bottom: 0.8rem;
    }

    .contact-popup label {
        font-size: 0.75rem;
        margin-bottom: 0.2rem;
    }

    .contact-popup input,
    .contact-popup textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }

    .contact-popup .btn-primary {
        padding: 0.8rem;
        font-size: 1rem;
        margin-top: 0.5rem;
    }
}

/* Prevent scroll when popup is open */
body.no-scroll {
    overflow: hidden;
}

/* CTA Helper Text */
.cta-helper-text {
    font-size: 12px;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
    /* Desktop hidden */
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    z-index: 9999;
    border-top: 1px solid #eee;
}

@media (max-width: 991px) {
    .mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}

.nav-item-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.75rem;
    transition: color 0.3s;
}

.nav-item-bottom i {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #334155;
}

.nav-item-bottom.active,
.nav-item-bottom:hover {
    color: var(--primary-color);
}

/* Footer Mobile Layout */
@media (max-width: 768px) {
    .footer-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 1rem;
        /* 1.5rem value row gap, 1rem col gap */
    }

    .footer-col {
        margin-bottom: 0 !important;
    }

    /* Make Contact column full width as it usually has long content */
    .footer-col:first-child {
        grid-column: 1 / -1;
        margin-bottom: 1rem !important;
    }
}