/* ========================================
   100GEMSOFT - Global Styles
   Modern Dark Theme Digital Agency
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    /* Colors */
    --primary-dark: #0a0a0a;
    --secondary-dark: #111111;
    --tertiary-dark: #1a1a1a;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --accent-secondary: #00cec9;
    --gradient-primary: linear-gradient(135deg, #6c5ce7 0%, #a29bfe 100%);
    --gradient-accent: linear-gradient(135deg, #6c5ce7 0%, #00cec9 100%);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border-color: rgba(255, 255, 255, 0.08);
    --card-bg: rgba(26, 26, 26, 0.8);

    /* Typography */
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;

    /* Spacing */
    --section-padding: 100px 5%;
    --container-width: 1400px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Noise Texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

ul,
ol {
    list-style: none;
}

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

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

/* ========================================
   NAVIGATION
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0.85rem 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: var(--transition-normal);
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

/* Navbar logo shrinks when scrolled */
.navbar.scrolled .logo img {
    height: 55px;
    max-width: 55px;
    object-fit: contain;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
}

.logo img {
    height: 80px;
    max-width: 80px;
    width: auto;
    object-fit: contain;
    -webkit-text-fill-color: initial;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo:hover img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 15px rgba(108, 92, 231, 0.6));
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 0.5rem 0;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-normal);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--text-primary);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    padding: 0.5rem 0;
    transition: color var(--transition-normal);
}

.nav-dropdown-toggle:hover {
    color: var(--text-primary);
}

.nav-dropdown-toggle svg {
    width: 12px;
    height: 12px;
    transition: var(--transition-normal);
}

.nav-dropdown:hover .nav-dropdown-toggle svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 250px;
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.dropdown-menu a:hover {
    background: var(--tertiary-dark);
}

.dropdown-menu a::after {
    display: none;
}

/* CTA Button */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s ease;
    border-radius: inherit;
}
.btn:hover::after { background: rgba(255,255,255,0.06); }

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: 0 4px 20px rgba(108,92,231,0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.5);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 20px rgba(108,92,231,0.15);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    background: var(--accent);
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

/* ========================================
   CURSOR SPOTLIGHT
======================================== */
.cursor-spotlight {
    position: fixed;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: transform 0.1s linear;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 5%;
    padding-top: 90px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* Background dot grid */
.hero-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(108,92,231,0.18) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    opacity: 0.4;
}

/* Glowing orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    animation: orbFloat 12s ease-in-out infinite;
}
.hero-orb-1 {
    width: 600px; height: 600px;
    top: -15%; right: -10%;
    background: radial-gradient(circle, rgba(108,92,231,0.22) 0%, transparent 70%);
    animation-duration: 14s;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    bottom: -10%; left: -5%;
    background: radial-gradient(circle, rgba(0,206,201,0.15) 0%, transparent 70%);
    animation-duration: 10s;
    animation-delay: -4s;
}
.hero-orb-3 {
    width: 250px; height: 250px;
    top: 40%; left: 40%;
    background: radial-gradient(circle, rgba(162,155,254,0.1) 0%, transparent 70%);
    animation-duration: 8s;
    animation-delay: -2s;
}

@keyframes orbFloat {
    0%,100% { transform: translate(0,0) scale(1); }
    33%      { transform: translate(30px,-40px) scale(1.05); }
    66%      { transform: translate(-20px,20px) scale(0.95); }
}

/* Floating rings */
.floating-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(108, 92, 231, 0.15);
    animation: ringFloat 10s ease-in-out infinite;
}
.floating-ring-1 { width: 500px; height: 500px; top: 8%; right: 3%; animation-duration: 12s; }
.floating-ring-2 { width: 300px; height: 300px; top: 45%; right: 18%; animation-delay: 2s; animation-duration: 9s; }
.floating-ring-3 { width: 180px; height: 180px; top: 25%; right: 33%; animation-delay: 4s; animation-duration: 7s; }

@keyframes ringFloat {
    0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50%      { transform: translateY(-35px) rotate(8deg); opacity: 1; }
}

/* Background image for hero */
.hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    opacity: 0.35;
    transition: opacity 0.6s ease;
}
.hero-bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(135deg,rgba(10,10,10,0.85) 0%,rgba(10,10,10,0.6) 50%,rgba(10,10,10,0.4) 100%);
}

/* Hero layout */
.hero-wrapper {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    width: 100%;
    min-height: calc(100vh - 90px);
    padding: 60px 0;
}

.hero-content {
    max-width: 620px;
    position: relative;
    z-index: 3;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.4rem;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.35);
    border-radius: 50px;
    font-size: 0.88rem;
    color: var(--accent-light);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease forwards;
    position: relative;
    overflow: hidden;
}
.hero-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(108,92,231,0.15), transparent);
    transform: translateX(-100%);
    animation: shimmer 3s ease-in-out 1s infinite;
}
.hero-badge-icon { font-size: 0.9rem; }

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(200%); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 4.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.9s ease 0.15s both;
    letter-spacing: -0.02em;
}

.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}
.hero h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
    opacity: 0.6;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.9s ease 0.3s both;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.9s ease 0.45s both;
    margin-bottom: 2.5rem;
}

/* Trust row */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    animation: fadeInUp 0.9s ease 0.6s both;
}
.trust-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #00cec9;
    box-shadow: 0 0 10px rgba(0,206,201,0.7);
    animation: pulseDot 2s ease-in-out infinite;
}
@keyframes pulseDot {
    0%,100% { transform: scale(1); box-shadow: 0 0 6px rgba(0,206,201,0.5); }
    50%      { transform: scale(1.3); box-shadow: 0 0 14px rgba(0,206,201,0.9); }
}
.trust-text { font-size: 0.85rem; color: var(--text-secondary); }
.trust-divider { width: 1px; height: 14px; background: var(--border-color); }

/* Hero scroll hint */
.hero-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    animation: fadeInUp 1s ease 1.2s both;
}
.scroll-mouse {
    width: 26px; height: 42px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 7px;
}
.scroll-wheel {
    width: 4px; height: 8px;
    background: var(--accent-light);
    border-radius: 2px;
    animation: scrollWheel 1.8s ease-in-out infinite;
}
@keyframes scrollWheel {
    0%   { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(14px); }
}

/* ========================================
   HERO VISUAL — floating metric cards
======================================== */
.hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease 0.4s both;
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

.hero-visual-inner {
    position: relative;
    width: 380px;
    height: 440px;
}

/* Glow ring behind cards */
.hv-glow-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 320px; height: 320px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(108,92,231,0.12) 0%, transparent 70%);
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
    0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
    50%      { opacity: 1; transform: translate(-50%,-50%) scale(1.15); }
}

/* Main chart card */
.hv-card {
    background: rgba(26,26,26,0.85);
    border: 1px solid rgba(108,92,231,0.2);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    position: absolute;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hv-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 60px rgba(108,92,231,0.25);
}

.hv-card-main {
    width: 260px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 0 1px rgba(108,92,231,0.1);
    animation: cardFloat1 6s ease-in-out infinite;
}
@keyframes cardFloat1 {
    0%,100% { transform: translate(-50%,-50%) translateY(0); }
    50%      { transform: translate(-50%,-50%) translateY(-12px); }
}

.hv-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.hv-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
}
.hv-dot-green { background: #00b894; box-shadow: 0 0 8px rgba(0,184,148,0.6); animation: pulseDot 2s infinite; }

/* Bar chart */
.hv-chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 70px;
    margin-bottom: 1.2rem;
}
.hv-bar {
    flex: 1;
    height: var(--h);
    background: rgba(108,92,231,0.25);
    border-radius: 4px 4px 0 0;
    transition: background 0.3s;
    animation: barGrow 1.2s ease both;
}
.hv-bar:nth-child(1) { animation-delay: 0.1s; }
.hv-bar:nth-child(2) { animation-delay: 0.2s; }
.hv-bar:nth-child(3) { animation-delay: 0.3s; }
.hv-bar:nth-child(4) { animation-delay: 0.4s; }
.hv-bar:nth-child(5) { animation-delay: 0.5s; }
.hv-bar:nth-child(6) { animation-delay: 0.6s; }
.hv-bar:nth-child(7) { animation-delay: 0.7s; }
.hv-bar-active {
    background: linear-gradient(to top, var(--accent), var(--accent-light));
    box-shadow: 0 0 12px rgba(108,92,231,0.5);
}
@keyframes barGrow {
    from { transform: scaleY(0); transform-origin: bottom; }
    to   { transform: scaleY(1); transform-origin: bottom; }
}

.hv-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Trend line SVG */
.hv-trend-line {
    width: 100%;
    height: 28px;
    margin-bottom: 0.8rem;
    display: block;
    animation: trendDraw 1.5s ease 0.8s both;
}
@keyframes trendDraw {
    from { opacity: 0; transform: scaleX(0); transform-origin: left; }
    to   { opacity: 1; transform: scaleX(1); transform-origin: left; }
}
.hv-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hv-label { font-size: 0.8rem; color: var(--text-secondary); }

/* Small cards */
.hv-card-sm {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.3rem;
    width: 190px;
}
.hv-card-top {
    top: 2%;
    right: -5%;
    animation: cardFloat2 7s ease-in-out infinite;
}
.hv-card-bottom {
    bottom: 5%;
    left: -5%;
    animation: cardFloat3 5s ease-in-out infinite;
}
@keyframes cardFloat2 {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-14px) rotate(1deg); }
}
@keyframes cardFloat3 {
    0%,100% { transform: translateY(0) rotate(1deg); }
    50%      { transform: translateY(-10px) rotate(-1.5deg); }
}

.hv-icon-wrap {
    width: 42px; height: 42px;
    background: rgba(108,92,231,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.hv-icon-teal { background: rgba(0,206,201,0.12); }

.hv-sm-value {
    font-size: 1.4rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.2rem;
}
.hv-sm-label { font-size: 0.75rem; color: var(--text-secondary); }

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

/* ========================================
   SECTIONS
======================================== */
section {
    padding: var(--section-padding);
}

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

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--accent-light);
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ========================================
   SERVICE CARDS
======================================== */
.services-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.23,1,0.32,1), border-color 0.3s, box-shadow 0.35s;
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}
/* Glow overlay */
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(108,92,231,0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-12px);
    border-color: rgba(108, 92, 231, 0.35);
    box-shadow: 0 30px 70px rgba(108,92,231,0.18), 0 0 0 1px rgba(108,92,231,0.1);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after  { opacity: 1; }

.service-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.service-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.service-card:hover .service-card-image img {
    transform: scale(1.1);
}

.service-card-content {
    padding: 2rem;
}

.service-card-category {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50px;
    font-size: 0.8rem;
    color: var(--accent-light);
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    color: var(--accent);
    font-weight: 500;
}

.service-card-link svg {
    transition: var(--transition-normal);
}

.service-card:hover .service-card-link svg {
    transform: translateX(5px);
}

/* ========================================
   STATS SECTION
======================================== */
.stats-section {
    background: var(--secondary-dark);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 800px; height: 300px;
    background: radial-gradient(ellipse, rgba(108,92,231,0.06) 0%, transparent 70%);
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}
.stat-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}
.stat-item.active::before { transform: scaleX(1); }
.stat-item:hover {
    transform: translateY(-6px);
    border-color: rgba(108,92,231,0.3);
    box-shadow: 0 20px 50px rgba(108,92,231,0.12);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-item.active .stat-number {
    animation: statGlow 2s ease-in-out 2s infinite alternate;
}

@keyframes statGlow {
    from { filter: drop-shadow(0 0 4px rgba(108,92,231,0.2)); }
    to   { filter: drop-shadow(0 0 16px rgba(108,92,231,0.7)); }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 20px;
    width: 100%;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(108,92,231,0.4);
    border-radius: 20px;
    z-index: -1;
    animation: borderPulse 4s ease-in-out infinite;
}
@keyframes borderPulse {
    0%,100% { border-color: rgba(108,92,231,0.3); box-shadow: none; }
    50%      { border-color: rgba(108,92,231,0.7); box-shadow: -4px -4px 30px rgba(108,92,231,0.1), 4px 4px 30px rgba(0,206,201,0.08); }
}

/* About image floating badge */
.about-img-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: rgba(26,26,26,0.9);
    border: 1px solid rgba(108,92,231,0.3);
    border-radius: 16px;
    padding: 1.2rem 1.5rem;
    backdrop-filter: blur(20px);
    text-align: center;
    animation: cardFloat2 6s ease-in-out infinite;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.aib-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.aib-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.1rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: border-color 0.3s, transform 0.3s;
}

.about-feature:hover {
    border-color: rgba(108,92,231,0.3);
    transform: translateY(-3px);
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--accent);
    font-size: 1.3rem;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* ========================================
   PROCESS SECTION
======================================== */
.process-section {
    background: var(--secondary-dark);
    position: relative;
    overflow: hidden;
}
.process-section::before {
    content: '';
    position: absolute;
    bottom: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(0,206,201,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    padding-top: 1rem;
}


/* Animated connector line via ::before */
.process-grid::before {
    content: '';
    position: absolute;
    top: 50px;
    left: calc(12.5% + 50px);
    right: calc(12.5% + 50px);
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-secondary), var(--accent));
    background-size: 200% 100%;
    animation: lineFlow 3s linear infinite;
    opacity: 0.3;
    z-index: 1;
}
@keyframes lineFlow {
    0%   { background-position: 0% 50%; opacity: 0.2; }
    50%  { background-position: 100% 50%; opacity: 0.5; }
    100% { background-position: 0% 50%; opacity: 0.2; }
}


.process-step {
    text-align: center;
    position: relative;
    padding: 0 1rem;
}

.process-number {
    width: 100px;
    height: 100px;
    background: var(--primary-dark);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 0 2px var(--accent), inset 0 0 0 2px var(--primary-dark);
}
.process-step:hover .process-number {
    transform: scale(1.12);
    box-shadow: 0 0 0 2px var(--accent), 0 0 30px rgba(108,92,231,0.4), inset 0 0 0 2px var(--primary-dark);
}
.process-step:nth-child(even) .process-number {
    color: var(--accent-secondary);
    box-shadow: 0 0 0 2px var(--accent-secondary), inset 0 0 0 2px var(--primary-dark);
}
.process-step:nth-child(even):hover .process-number {
    box-shadow: 0 0 0 2px var(--accent-secondary), 0 0 30px rgba(0,206,201,0.4), inset 0 0 0 2px var(--primary-dark);
}

.process-step h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}
.process-step p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* ========================================
   CLIENTS / MARQUEE
======================================== */
.clients-section {
    padding: 4rem 0;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.marquee {
    display: flex;
    animation: marquee 30s linear infinite;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 0 2rem;
}

.marquee-content img {
    height: 50px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition-normal);
}

.marquee-content img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    position: relative;
    transition: var(--transition-normal);
    border-left: 3px solid var(--accent);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 4rem;
    font-family: var(--font-display);
    color: var(--accent);
    opacity: 0.15;
    line-height: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(108, 92, 231, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.author-info h4 {
    font-weight: 600;
    font-size: 1rem;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

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

/* ========================================
   FAQ SECTION
======================================== */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.faq-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.faq-content>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
}

.faq-question svg {
    transition: var(--transition-normal);
    flex-shrink: 0;
}

.faq-item.active .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

/* ========================================
   CTA SECTION
======================================== */
.cta-section {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(108, 92, 231, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    background: var(--secondary-dark);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.contact-info h2 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info>p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 55px;
    height: 55px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-item-text h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 0.3rem;
}

.contact-item-text p {
    font-size: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--tertiary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
    background: var(--primary-dark);
    border-radius: 25px;
    padding: 3rem;
}

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

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

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.6rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: var(--secondary-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

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

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

.form-group select option {
    background: var(--secondary-dark);
}

.submit-btn {
    width: 100%;
    padding: 1.2rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 12px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(108, 92, 231, 0.4);
}

/* ========================================
   FOOTER
======================================== */
footer {
    padding: 5rem 5% 2rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-brand .logo {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    display: inline-flex;
}

.footer-brand .logo img {
    height: 100px;
    max-width: 100px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 300px;
}

.footer-column h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* ========================================
   PAGE HEADERS
======================================== */
.page-header {
    padding: 180px 5% 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center top, rgba(108, 92, 231, 0.15) 0%, transparent 60%);
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    position: relative;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ========================================
   SERVICE DETAIL PAGE
======================================== */
.service-detail {
    padding: var(--section-padding);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
}

.service-main h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.service-main p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
}

.feature-item h4 {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.feature-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Service Sidebar */
.service-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.sidebar-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.sidebar-card ul li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.sidebar-card ul li:last-child {
    border-bottom: none;
}

.sidebar-card ul li::before {
    content: '✓';
    color: var(--accent);
    font-weight: bold;
}

/* ========================================
   BLOG SECTION
======================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.blog-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.blog-card:hover {
    transform: translateY(-10px);
    border-color: rgba(108, 92, 231, 0.3);
}

.blog-card-image {
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-content {
    padding: 2rem;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.blog-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ========================================
   SCROLL ANIMATIONS
======================================== */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s cubic-bezier(0.23,1,0.32,1), transform 0.8s cubic-bezier(0.23,1,0.32,1);
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.7s cubic-bezier(0.23,1,0.32,1), transform 0.7s cubic-bezier(0.23,1,0.32,1);
}
.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stagger delays */
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }
.reveal-delay-4 { transition-delay: 0.48s; }

/* ========================================
   HERO RESPONSIVE
======================================== */
@media (max-width: 1100px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
        padding-bottom: 80px;
    }
    .hero-content { max-width: 100%; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-visual { justify-content: center; }
    .hero-visual-inner { width: 340px; height: 380px; }
}

@media (max-width: 768px) {
    .hero-visual { display: none; }
    .hero { min-height: 100vh; padding-top: 80px; }
}

/* ========================================
   FLOATING WHATSAPP BUTTON
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: whatsappBounce 0.6s ease-out 1s both;
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(37, 211, 102, 0.3);
    animation: whatsappPulse 2s ease-in-out infinite;
    z-index: -1;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    fill: #fff;
}

@keyframes whatsappPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@keyframes whatsappBounce {
    0% {
        transform: scale(0) translateY(50px);
        opacity: 0;
    }

    60% {
        transform: scale(1.15) translateY(-5px);
        opacity: 1;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }
}

/* ========================================
   SCROLL TO TOP BUTTON
======================================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    background: rgba(108, 92, 231, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    cursor: pointer;
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: rgba(108, 92, 231, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(108, 92, 231, 0.3);
}

@media (max-width: 768px) {
    .scroll-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
    }
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }

    .process-grid::before {
        display: none;
    }

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

    .service-detail-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px 5%;
    }

    .services-grid,
    .process-grid,
    .stats-grid,
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .service-features-list {
        grid-template-columns: 1fr;
    }

    .testimonial-text {
        font-size: 1.2rem;
    }

    /* Mobile logo sizes */
    .logo img {
        height: 65px;
        max-width: 65px;
        object-fit: contain;
    }

    .navbar.scrolled .logo img {
        height: 48px;
        max-width: 48px;
        object-fit: contain;
    }

    .footer-brand .logo img {
        height: 80px;
        max-width: 80px;
        object-fit: contain;
    }
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: var(--transition-normal);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.mobile-menu a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    cursor: pointer;
    color: var(--text-primary);
    transition: var(--transition-normal);
}

.mobile-menu-close:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .page-header {
        padding: 140px 5% 60px;
    }

    .page-header h1 {
        font-size: 2.2rem;
    }

    .btn {
        width: 100%;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-item-text {
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 1rem;
    }

    .service-card-image {
        height: 180px;
    }
}

/* ========================================
   HOME CONTACT FORM
   ======================================== */
.contact-section-home {
    background: var(--tertiary-dark);
    position: relative;
    padding: var(--section-padding);
    overflow: hidden;
}
.contact-section-home::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 700px; height: 400px;
    background: radial-gradient(ellipse, rgba(108,92,231,0.06) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(20,20,20,0.85);
    border: 1px solid var(--border-color);
    padding: 3rem;
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
}

.contact-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-family: var(--font-display);
    font-size: 2rem;
}

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

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

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-normal);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.05);
}

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

.form-btn {
    width: 100%;
    padding: 1rem;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-normal);
}

.form-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(108, 92, 231, 0.3);
}

@media (max-width: 768px) {
    .contact-container {
        padding: 2rem;
    }
}