@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CUSTOM VARIABLES --- */
:root {
    --primary: #7c3aed;
    --primary-rgb: 124, 58, 237;
    --secondary: #2563eb;
    --secondary-rgb: 37, 99, 235;
    --accent: #10b981;
    --accent-rgb: 16, 185, 129;

    /* Light Mode (Default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --card-bg: rgba(255, 255, 255, 0.75);
    --card-border: rgba(124, 58, 237, 0.08);
    --card-hover-border: rgba(124, 58, 237, 0.25);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(124, 58, 237, 0.05), 0 8px 10px -6px rgba(124, 58, 237, 0.05);
    --shadow-glow: 0 0 20px rgba(124, 58, 237, 0.15);
    --glass-blur: 16px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] {
    /* Dark Mode variables */
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --card-bg: rgba(15, 23, 42, 0.6);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-hover-border: rgba(124, 58, 237, 0.4);
    --nav-bg: rgba(9, 13, 22, 0.85);
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -2px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 25px rgba(124, 58, 237, 0.3);
}

/* --- RESET & BASE STYLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

button,
input,
select,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.logo-img {
    border-radius: 0 !important;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border: 2px solid var(--bg-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* --- SELECTION --- */
::selection {
    background-color: var(--primary);
    color: #fff;
}

/* --- UTILITY CLASSES --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 992px) {
    .grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.section {
    padding: 6rem 0;
    position: relative;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- GLASSMORPHISM --- */
.glass {
    background: var(--card-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.glass:hover {
    border-color: var(--card-hover-border);
    box-shadow: var(--shadow-md);
}

/* --- BADGES --- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.badge-primary {
    background: rgba(124, 58, 237, 0.1);
    color: var(--primary);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.badge-secondary {
    background: rgba(37, 99, 235, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

/* --- BUTTONS --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.5), var(--shadow-glow);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--card-border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--bg-secondary);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
}

/* --- HEADER / NAVBAR --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

/* --- TOP BAR UTILITY --- */
.top-bar {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--card-border);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 0.35rem 0;
    transition: margin-top 0.3s ease, opacity 0.2s ease, height 0.3s ease, padding 0.3s ease, max-height 0.3s ease;
    opacity: 1;
    height: 34px;
    box-sizing: border-box;
    overflow: hidden;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
}

.top-bar-item svg {
    flex-shrink: 0;
}

.top-bar-item.link {
    color: var(--text-secondary);
    transition: var(--transition);
}

.top-bar-item.link:hover {
    color: var(--primary);
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-left: 1px solid var(--card-border);
    padding-left: 0.75rem;
}

.top-social-link {
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.top-social-link:hover {
    color: var(--primary);
    transform: translateY(-1px);
}

.header.sticky {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.header.sticky .top-bar {
    height: 0;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 576px) {
    .top-bar {
        height: auto;
        max-height: 80px;
    }
    .top-bar-container {
        flex-direction: column;
        gap: 0.25rem;
    }
    .top-bar-right {
        gap: 0.75rem;
    }
    .header.sticky .top-bar {
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
        border-bottom: none;
        opacity: 0;
        pointer-events: none;
    }
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-img {
    height: 45px;
    width: auto;
    object-fit: contain;
    mix-blend-mode: multiply;
    /* Removes white background in light mode */
    transition: var(--transition);
}

[data-theme="dark"] .logo-img {
    filter: brightness(0) invert(1);
    /* Inverts dark logo to white */
    mix-blend-mode: screen;
    /* Removes black background of inverted image */
}

.logo svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: url(#logo-grad);
    stroke-width: 2.5;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    border: 1px solid var(--card-border);
}

.theme-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--primary);
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 992px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--bg-primary);
        flex-direction: column;
        align-items: center;
        padding-top: 3rem;
        gap: 2.5rem;
        transition: var(--transition);
        border-top: 1px solid var(--card-border);
        box-shadow: var(--shadow-md);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-actions .btn {
        display: none;
        /* Hide top CTA on mobile */
    }
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    background: radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 650px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--card-border);
    padding-top: 1rem;
}

@media (min-width: 576px) {
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Background floating elements */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.3;
    animation: floatBlob 10s infinite alternate ease-in-out;
}

.blob-1 {
    top: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: var(--primary);
}

.blob-2 {
    bottom: 10%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: var(--secondary);
    animation-delay: -3s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 30px) scale(1.1);
    }
}

/* --- HERO ILLUSTRATION --- */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-container {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    border: 2px solid var(--card-border);
    animation: morphVisual 8s infinite ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@keyframes morphVisual {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 50% 50% 30% 70% / 50% 60% 40% 60%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

.floating-card {
    position: absolute;
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: hoverCard 4s infinite ease-in-out;
}

.fc-1 {
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.fc-2 {
    bottom: 15%;
    right: -5%;
    animation-delay: -2s;
}

@keyframes hoverCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.fc-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.fc-info span {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.fc-info strong {
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* --- SECTION HEADERS --- */
.section-header {
    max-width: 650px;
    margin: 0 auto 4rem auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- ABOUT PREVIEW / SPLIT LAYOUT --- */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}

@media (min-width: 992px) {
    .split-layout {
        grid-template-columns: 1.1fr 0.9fr;
    }

    .split-layout.reverse {
        grid-template-columns: 0.9fr 1.1fr;
    }
}

.about-graphics {
    position: relative;
}

.about-main-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 1px solid var(--card-border);
}

.about-badge-overlay {
    position: absolute;
    bottom: -20px;
    left: 40px;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
}

.about-badge-overlay .num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.about-badge-overlay .label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bullet-list {
    list-style: none;
    margin: 1.5rem 0 2.5rem 0;
}

.bullet-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.bullet-icon {
    margin-top: 0.25rem;
    color: var(--accent);
    flex-shrink: 0;
}

/* --- CARDS & SERVICES --- */
.service-card {
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, rgba(37, 99, 235, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #ffffff;
}

.service-title {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

.service-link svg {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link svg {
    transform: translateX(5px);
}

/* Service Category Filter Menu */
.filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3.5rem;
}

.filter-btn {
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-secondary);
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

/* --- WHY CHOOSE US --- */
.why-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.why-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    position: relative;
}

.why-num {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(124, 58, 237, 0.08);
    line-height: 1;
}

.why-title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

/* --- INDUSTRIES WE SUPPORT --- */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .industry-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.industry-card {
    padding: 2rem 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.industry-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.industry-card:hover .industry-icon {
    transform: scale(1.15) rotate(5deg);
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: white;
}

.industry-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* --- PROCESS / STRATEGY --- */
.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    height: 100%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.process-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 3.5rem;
}

.process-item:last-child {
    margin-bottom: 0;
}

.process-indicator {
    position: absolute;
    left: 8px;
    top: 5px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.process-item:nth-child(even) .process-indicator {
    border-color: var(--secondary);
}

.process-title {
    font-size: 1.35rem;
    margin-bottom: 0.5rem;
}

/* --- FUTURISTIC ROADMAP --- */
.roadmap-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .roadmap-timeline {
        grid-template-columns: repeat(3, 1fr);
    }

    .roadmap-timeline::before {
        content: '';
        position: absolute;
        top: 40px;
        left: 10%;
        width: 80%;
        height: 2px;
        background: linear-gradient(90deg, var(--primary), var(--secondary));
        z-index: 1;
    }
}

.roadmap-step {
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.roadmap-year {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin-bottom: 1.5rem;
    margin-top: -3.5rem;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.roadmap-text {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- TESTIMONIALS SLIDER --- */
.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.slider-container {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
    min-width: 100%;
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-rating {
    display: flex;
    gap: 0.25rem;
    color: #eab308;
    margin-bottom: 1rem;
}

.testimonial-quote {
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--card-border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.slider-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-trigger {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    text-align: left;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.faq-icon-box {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.faq-item.active .faq-icon-box {
    transform: rotate(180deg);
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
}

.faq-content-inner {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-muted);
}

/* Search styling */
.faq-search-wrapper {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.faq-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3.5rem;
    border-radius: 50px;
    border: 1px solid var(--card-border);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.faq-search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

.faq-search-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* --- CONTACT SECTION --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1.2fr;
    }
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-info-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    display: flex;
    gap: 1.5rem;
}

.contact-card-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-sm);
    background: rgba(124, 58, 237, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card-title {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.contact-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Contact Form */
.contact-form {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 576px) {
    .form-group-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.15);
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.25rem center;
    background-size: 1rem;
    padding-right: 2.5rem;
}

/* Embedded Map */
.map-container {
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--card-border);
    box-shadow: var(--shadow-sm);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- FOOTER --- */
.footer {
    background: #080c14;
    /* Deep rich corporate black-blue */
    padding: 5rem 0 2.5rem 0;
    border-top: 1px solid rgba(124, 58, 237, 0.15);
    /* Soft purple border glow */
    color: #94a3b8;
}

.footer h1,
.footer h2,
.footer h3,
.footer h4,
.footer h5,
.footer h6,
.footer .footer-title {
    color: #ffffff !important;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 576px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    }
}

.footer-about .logo {
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-link:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: var(--primary) !important;
    padding-left: 5px;
}

.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: #cbd5e1;
}

.footer-contact-info svg {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-copy {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-legal-links {
    display: flex;
    gap: 1.5rem;
}

.footer-legal-links a {
    font-size: 0.875rem;
    color: #64748b;
}

.footer-legal-links a:hover {
    color: var(--primary);
}

/* --- FLOATING ACTION MODULES --- */
.floating-widget-bar {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 1005;
    /* Keeps widgets above all content */
    pointer-events: none;
    /* Let clicks pass through empty space */
}

.float-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    /* Re-enable pointer events for the buttons */
}

.float-btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.btn-whatsapp {
    background-color: #25d366;
    color: #ffffff;
}

.btn-whatsapp:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.btn-top {
    background-color: var(--primary);
    color: #ffffff;
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin-top: 0;
    margin-bottom: 0;
    overflow: hidden;
    transform: scale(0);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s, height 0.3s, margin 0.3s;
}

.btn-top:hover {
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

.btn-top.show {
    opacity: 1;
    visibility: visible;
    height: 50px;
    transform: scale(1);
}

.btn-quote-sticky {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 1005;
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.35);
}

/* Force white logo filters for footer logo */
.footer .logo-img {
    filter: brightness(0) invert(1) !important;
    mix-blend-mode: screen !important;
}

/* --- MODAL DIALOGS --- */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal.open {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(8, 12, 20, 0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.modal-container {
    position: relative;
    width: 95%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    z-index: 2;
    background: var(--bg-primary);
    border: 1px solid rgba(124, 58, 237, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), var(--shadow-glow);
    transform: scale(0.85);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
}

.modal.open .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--primary);
    border-color: var(--primary);
}

.modal-title {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* --- SCROLL REVEAL SCROLLING ANIMATION --- */
.reveal {
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up {
    transform: translateY(50px);
}

.reveal-left {
    transform: translateX(50px);
}

.reveal-right {
    transform: translateX(-50px);
}

.reveal-visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* --- ANIMATED LOADER --- */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 4px solid var(--bg-tertiary);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spinLoader 1s linear infinite;
}

@keyframes spinLoader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Form Success Overlay */
.form-success-message {
    display: none;
    text-align: center;
    padding: 2rem;
}

.form-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 1.5rem;
}

/* Service Detail Modal content styling */
.detail-modal-body h4 {
    margin: 1.5rem 0 0.5rem 0;
}

.detail-modal-body ul {
    padding-left: 1.25rem;
    margin-bottom: 1.5rem;
}

.detail-modal-body li {
    margin-bottom: 0.5rem;
}

/* Privacy/Terms Content layout */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.legal-content h2 {
    margin: 2rem 0 1rem 0;
    font-size: 1.5rem;
}

.legal-content p {
    margin-bottom: 1.25rem;
}

.legal-content ul {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}

/* --- DECORATIVE FLOATING PARTICLES --- */
.floating-particle {
    position: absolute;
    width: var(--size, 20px);
    height: var(--size, 20px);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.15) 0%, rgba(37, 99, 235, 0.15) 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
    animation: floatParticle var(--duration, 8s) infinite ease-in-out alternate;
}

@keyframes floatParticle {
    0% {
        transform: translateY(0) rotate(0deg) scale(1);
    }

    100% {
        transform: translateY(-40px) rotate(360deg) scale(1.15);
    }
}

/* Custom positioning and sizes for floating elements */
.particle-1 {
    --size: 40px;
    --duration: 12s;
    top: 15%;
    left: 5%;
    animation-delay: 0s;
}

.particle-2 {
    --size: 25px;
    --duration: 8s;
    top: 45%;
    right: 8%;
    animation-delay: -2s;
}

.particle-3 {
    --size: 60px;
    --duration: 15s;
    bottom: 15%;
    left: 8%;
    animation-delay: -4s;
}

.particle-4 {
    --size: 30px;
    --duration: 10s;
    bottom: 35%;
    right: 5%;
    animation-delay: -1s;
}

/* Dynamic client-side generated floating particles */
.floating-particle-dynamic {
    position: absolute;
    border-radius: 50%;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
    pointer-events: none;
    animation: floatParticleDynamic var(--duration, 15s) infinite ease-in-out alternate;
}

@keyframes floatParticleDynamic {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(var(--move-x-1, 30px), var(--move-y-1, -40px)) scale(1.15) rotate(120deg);
    }

    66% {
        transform: translate(var(--move-x-2, -30px), var(--move-y-2, 50px)) scale(0.85) rotate(240deg);
    }

    100% {
        transform: translate(var(--move-x-3, 40px), var(--move-y-3, -60px)) scale(1.05) rotate(360deg);
    }
}


/* Subtle 3D scale transition on glass cards */
.glass {
    transition: var(--transition);
}

.glass:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 25px -5px rgba(124, 58, 237, 0.1), 0 8px 10px -6px rgba(124, 58, 237, 0.1);
    border-color: rgba(124, 58, 237, 0.3);
}