:root {
    /* Color Palette from Image */
    --clr-primary: #a2d149;
    --clr-primary-rgb: 162, 209, 73;
    --clr-secondary: #4b7c2a;
    --clr-accent: #d8ff7d;
    --clr-dark: #081c15;
    --clr-deep: #04100b;
    --clr-forest: #0d3521;
    
    /* Text Colors */
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);
    
    /* Transitions */
    --transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

@media (max-width: 768px) {
    :root {
        --glass-blur: blur(8px);
    }
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-deep);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none; /* Hide default cursor for custom one */
}

h1, h2, h3, .logo {
    font-family: 'Sora', sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Background Glows --- */
.bg-gradient-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 80% 20%, rgba(var(--clr-primary-rgb), 0.15) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(var(--clr-primary-rgb), 0.05) 0%, transparent 40%);
}

/* --- Custom Cursor --- */
.cursor-dot, .cursor-outline {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--clr-primary);
}

.cursor-outline {
    width: 30px;
    height: 30px;
    border: 1px solid rgba(var(--clr-primary-rgb), 0.5);
    transition: transform 0.1s ease;
}

/* --- Layout Elements --- */
.badge {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(var(--clr-primary-rgb), 0.1);
    color: var(--clr-primary);
    border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(8, 28, 21, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.logo-icon {
    width: 35px;
    height: 35px;
    background: var(--clr-primary);
    color: var(--clr-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
}

.logo-text span {
    color: var(--clr-primary);
}

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

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--clr-dark);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        z-index: 2000;
        box-shadow: -20px 0 50px rgba(0,0,0,0.5);
        border-left: 1px solid var(--glass-border);
    }

    .nav-links.active {
        right: 0;
    }
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    color: var(--clr-primary);
    opacity: 1;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

/* --- Buttons --- */
.btn-primary, .btn-primary-large {
    background: var(--clr-primary);
    color: var(--clr-dark);
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    border: none;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--clr-accent);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(var(--clr-primary-rgb), 0.3);
}

.btn-primary-large {
    padding: 1.2rem 2.5rem;
    font-size: 1.1rem;
}

.btn-outline {
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--clr-primary);
}

.btn-glow {
    background: var(--clr-primary);
    color: var(--clr-dark);
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease;
    z-index: -1;
}

.btn-glow:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    overflow: hidden;
}

.hero-layers {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    z-index: -1;
}

/* Replicating the image aesthetic with layered shapes */
.layer {
    position: absolute;
    top: -10%;
    right: -20%;
    width: 120%;
    height: 120%;
    border-radius: 35% 65% 26% 74% / 37% 33% 67% 63%;
    transition: var(--transition);
}

.layer-1 {
    background: var(--clr-primary);
    transform: rotate(15deg) translateX(10%);
    opacity: 0.9;
}

.layer-2 {
    background: var(--clr-secondary);
    transform: rotate(5deg) translateX(25%);
    z-index: -1;
}

.layer-3 {
    background: var(--clr-forest);
    transform: rotate(-5deg) translateX(40%);
    z-index: -2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 4rem;
}

.hero-text h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 2rem;
    font-weight: 800;
}

.hero-text p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text-muted);
    max-width: 550px;
    margin-bottom: 3rem;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

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

.floating-abstract {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
}

.orb-1 {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-forest));
    animation: orb-flare 10s infinite alternate ease-in-out;
    filter: blur(50px);
}

.orb-2 {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--clr-accent), var(--clr-primary));
    top: 30px;
    right: 30px;
    animation: orb-flare 12s infinite alternate-reverse ease-in-out;
    opacity: 0.5;
    filter: blur(60px);
}

@keyframes orb-flare {
    0% { transform: scale(1) translate(0, 0); filter: blur(40px); }
    50% { transform: scale(1.3) translate(40px, -20px); filter: blur(60px); opacity: 0.8; }
    100% { transform: scale(0.9) translate(-30px, 40px); filter: blur(50px); }
}

.orb-3 {
    width: 80px;
    height: 80px;
    background: white;
    bottom: 50px;
    left: 50px;
    animation: orb-float-3 10s infinite ease-in-out;
    opacity: 0.3;
}

.orb-ring {
    position: absolute;
    width: 380px;
    height: 380px;
    border: 2px solid rgba(var(--clr-primary-rgb), 0.15);
    border-radius: 50%;
    animation: ring-pulse 8s infinite ease-in-out;
}

@keyframes ring-pulse {
    0%, 100% { transform: scale(1) rotate(0deg); border-color: rgba(var(--clr-primary-rgb), 0.1); }
    50% { transform: scale(1.15) rotate(180deg); border-color: rgba(var(--clr-primary-rgb), 0.3); box-shadow: 0 0 50px rgba(var(--clr-primary-rgb), 0.1); }
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle, var(--clr-primary) 1px, transparent 1px),
        radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px;
    opacity: 0.2;
    animation: particles-float 20s linear infinite;
}

.glass-card {
    position: absolute;
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.5);
    animation: card-float 6s infinite ease-in-out;
    overflow: hidden;
    z-index: 20;
}

.dashboard-ui {
    width: 450px; /* Larger card */
    height: 320px;
    padding: 0;
    transform: rotate(0deg); 
    background: rgba(8, 28, 21, 0.2); /* Lighter for more clarity */
}

/* --- CRM High-Fidelity Dashboard --- */
.crm-dashboard {
    width: 600px;
    height: 420px;
    background: #0b0e14;
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    color: #fff;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.05);
    transform: scale(0.65); /* Reduced scale to fit the area better */
    transform-origin: center;
}

/* Sidebar */
.crm-sidebar {
    width: 140px;
    background: #11141b;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
}

.sidebar-header { font-weight: 800; font-size: 0.75rem; color: #fff; margin-bottom: 25px; letter-spacing: 1px; }

.nav-grp { margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.nav-title { font-size: 0.55rem; color: #7b7e8c; font-weight: 800; display: flex; align-items: center; gap: 5px; }
.nav-grp a { font-size: 0.6rem; color: #7b7e8c; text-decoration: none; padding: 6px 0; display: flex; align-items: center; justify-content: space-between; transition: 0.3s; }
.nav-grp a.active { color: #a2d149; border-left: 2px solid #a2d149; padding-left: 10px; background: linear-gradient(90deg, rgba(162,209,73,0.1), transparent); }
.nav-grp a:hover:not(.active) { color: #fff; }

.badge { background: #4bffb0; color: #081c15; padding: 1px 4px; border-radius: 4px; font-size: 0.45rem; text-transform: uppercase; font-weight: 900; }

.btn-download { 
    margin-top: auto; background: linear-gradient(90deg, #a2d149, #4b7c2a); 
    border: none; border-radius: 6px; padding: 8px; color: #fff; font-size: 0.6rem; 
    font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 5px; 
    cursor: pointer; transition: 0.3s;
}

/* Main Content */
.crm-main { flex: 1; padding: 20px; display: flex; flex-direction: column; gap: 15px; background: #081c15; }

.crm-top-row { display: grid; grid-template-columns: 1fr 1fr 0.6fr; gap: 15px; }
.crm-card-grad { padding: 15px; border-radius: 12px; display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.pink-grad { background: linear-gradient(135deg, #a2d149, #4b7c2a); }
.cyan-grad { background: linear-gradient(135deg, #4bffb0, #1b4332); }
.crm-card-grad .lbl { font-size: 0.5rem; color: rgba(255,255,255,0.8); }
.crm-card-grad .val { font-size: 1.2rem; font-weight: 800; display: flex; align-items: baseline; gap: 2px; }
.crm-card-grad .val span { font-size: 0.6rem; font-weight: 400; opacity: 0.8; margin-right: 4px; }

.crm-stats-mini { display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.mini-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.6rem; color: #7b7e8c; }
.mini-row i { color: #a2d149; margin-right: 8px; }
.pos { color: #4bffb0; font-weight: 800; }
.neg { color: #ff5555; font-weight: 800; }

/* Charts Box */
.crm-mid-row { display: grid; grid-template-columns: 2fr 1fr; gap: 15px; }
.chart-container { background: #11141b; border-radius: 12px; padding: 15px; border: 1px solid rgba(255,255,255,0.03); }
.chart-header { font-size: 0.6rem; color: rgba(255,255,255,0.7); margin-bottom: 15px; }

.full-line-chart { width: 100%; height: 100px; }
.path-solved { fill: none; stroke: #a2d149; stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-path 5s ease-in-out infinite alternate; }
.path-created { fill: none; stroke: #4bffb0; stroke-width: 3; stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw-path 4s ease-in-out infinite alternate; opacity: 0.4; }
.chart-point { fill: #a2d149; filter: drop-shadow(0 0 5px #a2d149); animation: point-pulse 2s infinite; }

.side-wave-box { display: flex; flex-direction: column; justify-content: space-between; }
.wave-val { font-size: 1rem; font-weight: 800; color: #a2d149; }
.side-wave { width: 100%; height: 40px; }

@keyframes draw-path { 
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

/* Bottom Row */
.crm-bottom-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 15px; }

.donut-chart { position: relative; width: 60px; height: 60px; margin: 0 auto; }
.donut-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 8; }
.donut-fill { fill: none; stroke: #a2d149; stroke-width: 8; stroke-dasharray: 251; stroke-dashoffset: 120; stroke-linecap: round; animation: donut-anim 3s ease-in-out infinite alternate; }
.donut-val { position: absolute; inset: 0; display: grid; place-content: center; font-size: 0.6rem; font-weight: 800; }

.circle-progress { position: relative; width: 80px; height: 80px; margin: 0 auto; }
.prog-bg { fill: none; stroke: rgba(255,255,255,0.05); stroke-width: 10; }
.prog-fill { fill: none; stroke: #4bffb0; stroke-width: 10; stroke-dasharray: 220; stroke-dashoffset: 70; stroke-linecap: round; animation: prog-anim 4s ease-in-out infinite alternate; }
.prog-content { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.p-title { font-size: 0.7rem; font-weight: 800; }
.p-lbl { font-size: 0.4rem; opacity: 0.6; }

.bar-chart-mini { display: flex; align-items: flex-end; gap: 8px; height: 60px; justify-content: center; }
.bar { flex: 1; background: linear-gradient(to top, #a2d149, #1b4332); border-radius: 4px; height: 0; animation: bar-grow 2s ease-in-out infinite alternate; }

@keyframes donut-anim { from { stroke-dashoffset: 251; } to { stroke-dashoffset: 120; } }
@keyframes prog-anim { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 70; } }
@keyframes bar-grow { from { transform: scaleY(0.2); } to { transform: scaleY(1); } }
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    z-index: 5;
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 82%;
    background: linear-gradient(to top, #00f2ff, #0070f3);
    animation: liquid-wave 4s infinite linear;
}

.liquid::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -150%;
    left: -50%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 40%;
    animation: rotate 10s infinite linear;
}

.liquid-val {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.gauge-label { font-size: 0.7rem; opacity: 0.5; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

@keyframes f-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes liquid-wave {
    0%, 100% { clip-path: polygon(0% 45%, 16% 44%, 33% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%); }
    50% { clip-path: polygon(0% 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%); }
}

.pulse-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #00f2ff, transparent);
    width: 100%;
    animation: pulse-move 3s infinite linear;
}

.pulse-line.secondary {
    background: linear-gradient(90deg, transparent, #ff7e00, transparent);
    animation-delay: 1.5s;
}

@keyframes f-float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes liquid-wave {
    0%, 100% { clip-path: polygon(0% 45%, 16% 44%, 33% 50%, 54% 60%, 70% 61%, 84% 59%, 100% 52%, 100% 100%, 0% 100%); }
    50% { clip-path: polygon(0% 60%, 15% 65%, 34% 66%, 51% 62%, 67% 50%, 84% 45%, 100% 46%, 100% 100%, 0% 100%); }
}

@keyframes node-blink {
    to { opacity: 0.3; transform: scale(0.8); }
}

@keyframes pulse-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 20px); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(40px, -30px); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-20px, -40px); }
}

@keyframes card-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-3deg); }
}

@keyframes shimmer-effect {
    to { left: 150%; }
}

@keyframes particles-float {
    from { transform: translateY(0); }
    to { transform: translateY(-100px); }
}

/* --- Services Section --- */
.services {
    padding: 10rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 cards in one row for desktop to fit all solutions */
    gap: 2rem;
    padding: 2rem 0;
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr); /* 3x2 for laptops */
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for tablets and all mobile */
        gap: 1.5rem; /* Slightly tighter gap for smaller screens */
    }
}

@media (max-width: 400px) {
    .services-grid {
        grid-template-columns: 1fr; /* Only stack on extremely narrow phones (below 400px) */
    }
}

/* --- Services 3D Cards (Newest Design) --- */
.parent {
    width: 100%;
    height: 380px;
    perspective: 1000px;
    position: relative;
}

.card {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(135deg, #14452f 0%, #081c15 100%);
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 60px -12px;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(162, 209, 73, 0.1);
}

.glass {
    transform-style: preserve-3d;
    position: absolute;
    inset: 8px;
    border-radius: 55px;
    border-top-right-radius: 100%;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.6) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transform: translate3d(0px, 0px, 25px);
    border-left: 1px solid white;
    border-bottom: 1px solid white;
    transition: all 0.5s ease-in-out;
}

.content {
    padding: 130px 25px 0px 25px;
    transform: translate3d(0, 0, 26px);
    position: relative;
    z-index: 10;
}

.content .title {
    display: block;
    color: #fff;
    font-weight: 900;
    font-size: 1.1rem; /* Reduced for a cleaner look */
    font-family: 'Sora', sans-serif;
    line-height: 1.3;
    max-width: 140px; /* Forces shorter titles into 2 lines for uniformity */
}

.content .text {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem; /* Reduced from 1rem to prevent card overflow */
    margin-top: 12px;
    line-height: 1.5;
}

.bottom {
    padding: 10px 25px;
    transform-style: preserve-3d;
    position: absolute;
    bottom: 30px;
    left: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transform: translate3d(0, 0, 26px);
    z-index: 10;
}

.bottom .social-buttons-container {
    display: flex;
    gap: 12px;
    transform-style: preserve-3d;
}

.bottom .social-buttons-container .social-button {
    width: 35px;
    aspect-ratio: 1;
    padding: 5px;
    background: rgb(255, 255, 255);
    border-radius: 50%;
    border: none;
    display: grid;
    place-content: center;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 7px 5px -5px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background 0.2s ease-in-out;
}

.bottom .social-buttons-container .social-button i {
    width: 16px;
    color: var(--clr-forest);
}

.bottom .social-buttons-container .social-button:hover {
    background: black;
    transform: scale(1.1) translate3d(0, 0, 40px);
    box-shadow: rgba(0, 0, 0, 0.4) -5px 15px 10px 0px;
}

.bottom .social-buttons-container .social-button:hover i {
    color: white;
}

.logo {
    position: absolute;
    right: 0;
    top: 0;
    transform-style: preserve-3d;
    z-index: 5;
}

.logo .circle {
    display: block;
    position: absolute;
    aspect-ratio: 1;
    border-radius: 50%;
    top: 0;
    right: 0;
    box-shadow: rgba(0, 0, 0, 0.2) -10px 10px 20px 0px;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.233);
    transition: all 0.5s ease-in-out;
}

.logo .circle1 { width: 120px; transform: translate3d(0, 0, 20px); top: 5px; right: 5px; }
.logo .circle2 { width: 100px; transform: translate3d(0, 0, 40px); top: 10px; right: 10px; transition-delay: 0.1s; }
.logo .circle3 { width: 80px; transform: translate3d(0, 0, 60px); top: 15px; right: 15px; transition-delay: 0.2s; }
.logo .circle4 { width: 65px; transform: translate3d(0, 0, 80px); top: 20px; right: 20px; transition-delay: 0.3s; }
.logo .circle5 { 
    width: 50px; transform: translate3d(0, 0, 100px); top: 25px; right: 25px; 
    display: grid; place-content: center; transition-delay: 0.4s;
    background: white !important;
}

.logo .circle5 i {
    width: 25px;
    height: 25px;
    color: var(--clr-forest);
}

.parent:hover .card {
    background: linear-gradient(135deg, #1a5c3e 0%, #0a2d1d 100%);
    border-color: rgba(162, 209, 73, 0.3);
    transform: rotate3d(1, 1, 0, 25deg);
    box-shadow: rgba(0, 0, 0, 0.5) 30px 50px 25px -40px, rgba(0, 0, 0, 0.4) 0px 25px 30px 0px;
}

.parent:hover .card .bottom .social-buttons-container .social-button {
    transform: translate3d(0, 0, 50px);
}

.parent:hover .card .logo .circle2 { transform: translate3d(0, 0, 60px); background: rgba(255, 255, 255, 0.3); }
.parent:hover .card .logo .circle3 { transform: translate3d(0, 0, 80px); background: rgba(255, 255, 255, 0.4); }
.parent:hover .card .logo .circle4 { transform: translate3d(0, 0, 100px); background: rgba(255, 255, 255, 0.5); }
.parent:hover .card .logo .circle5 { transform: translate3d(0, 0, 120px); background: rgba(255, 255, 255, 0.6); }

@media (max-width: 600px) {
    .parent { width: 100%; height: 320px; } /* Removed fixed width to respect grid */
    .content { padding: 90px 15px 0px 15px; }
    .content .title { font-size: 1rem; max-width: 90%; } /* Further reduced for mobile */
    .content .text { font-size: 0.8rem; }
}

/* --- About Section --- */
.about {
    padding: 5rem 0 10rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 500px;
}

.abstract-shape {
    width: 100%;
    height: 100%;
    background: var(--clr-forest);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: morph 15s ease-in-out infinite alternate;
}

.stat-card {
    position: absolute;
    bottom: 10%;
    right: 10%;
    padding: 2.5rem 3.5rem;
    border-radius: 100px; /* Oval shape */
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    text-align: center;
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(var(--clr-primary-rgb), 0.4) 0%, transparent 70%);
    z-index: -1;
    border-radius: 50%;
    animation: pulse-glow 3s infinite ease-in-out;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(0.8);
        filter: brightness(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
        filter: brightness(1.5);
    }
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-primary);
    font-family: 'Sora', sans-serif;
    animation: text-glow 3s infinite ease-in-out;
}

@keyframes text-glow {
    0%, 100% { filter: brightness(1); text-shadow: 0 0 0px rgba(var(--clr-primary-rgb), 0); }
    50% { filter: brightness(1.3); text-shadow: 0 0 15px rgba(var(--clr-primary-rgb), 0.5); }
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-list {
    list-style: none;
    margin-top: 2.5rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-weight: 500;
}

.accent {
    color: var(--clr-primary);
}

/* --- CTA Section --- */
.cta {
    padding-bottom: 10rem;
}

.glass-vibrant {
    background: linear-gradient(135deg, rgba(var(--clr-primary-rgb), 0.1), rgba(13, 53, 33, 0.4));
    backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(var(--clr-primary-rgb), 0.2);
    padding: 6rem 4rem;
    border-radius: 40px;
    text-align: center;
}

.cta h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.cta p {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

/* --- Footer --- */
.footer {
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    background: var(--clr-deep);
}

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

.footer-info p {
    margin-top: 1.5rem;
    color: var(--text-muted);
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--clr-primary);
}

.footer-links h4, .footer-contact h4 {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- Animations --- */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    25% { border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%; }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; }
    75% { border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%; }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s forwards cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    animation: fadeIn 1.5s forwards ease;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Reveal on Scroll class */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Media Queries --- */
@media (max-width: 992px) {
    .section-header h2 { font-size: 2.5rem; }
    .hero-content { grid-template-columns: 1fr; text-align: center; }
    .hero-text p { margin: 0 auto 3rem; }
    .hero-actions { justify-content: center; }
    .hero-layers { width: 100%; opacity: 0.2; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { height: 350px; order: 2; }
    .about-text { order: 1; text-align: center; }
    .feature-list li { justify-content: center; }
}

@media (max-width: 768px) {
    .navbar { padding: 1rem 0; }
    .mobile-toggle { display: block; position: relative; z-index: 2100; }
    .nav-links a { font-size: 1.5rem; width: 100%; text-align: center; }
    .hero { min-height: auto; padding-top: 150px; padding-bottom: 50px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 3rem; }
    .footer-info p { margin: 1.5rem auto; }
    .footer-contact p { justify-content: center; }
    .services-grid { gap: 2rem; }
    .stat-card { right: 50%; transform: translateX(50%); bottom: -20px; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.5rem; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn-glow, .hero-actions .btn-outline { width: 100%; text-align: center; }
    .glass-vibrant { padding: 4rem 1.5rem; border-radius: 30px; }
}
