:root {
    --bg-dark: #07070a;
    --bg-gradient: linear-gradient(135deg, #07070a 0%, #100b1f 50%, #0d1222 100%);
    --primary: #6d28d9;
    --primary-glow: #8b5cf6;
    --secondary: #2563eb;
    --secondary-glow: #3b82f6;
    --accent: #22d3ee;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-highlight: rgba(255, 255, 255, 0.15);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg-dark);
    background-image: var(--bg-gradient);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Glowing Orbs */
.background-effects {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out alternate;
}

.orb-1 { width: 400px; height: 400px; background: var(--primary); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: var(--secondary); bottom: -200px; right: -100px; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: var(--accent); top: 50%; left: 40%; animation-delay: -10s; opacity: 0.2; }

@keyframes floatOrb {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.2); }
}

/* Typography */
h1, h2, h3, h4, .logo, .counter {
    font-family: var(--font-heading);
    color: var(--text-main);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary-glow), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient { color: var(--accent); }

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

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.highlight-border { position: relative; }

.highlight-border::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, var(--glass-highlight), transparent, var(--glass-highlight));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-heading);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    border: 1px solid transparent;
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(109, 40, 217, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.7);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    border-color: var(--glass-border);
    color: white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255,255,255, 0.1);
    border-color: var(--glass-highlight);
    transform: translateY(-2px);
}

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

/* ──────────────────────────────────────────
   NAVIGATION
────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: all 0.3s ease;
}

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

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 1px;
}

.nav-logo-img {
    height: 65px;
    width: auto;
    display: block;
    mix-blend-mode: screen;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-sm) {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:not(.btn-sm):hover { color: white; }

.nav-links a:not(.btn-sm)::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: var(--primary-glow);
    transition: width 0.3s ease;
}

.nav-links a:not(.btn-sm):hover::after { width: 100%; }

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
    padding: 0.25rem 0.5rem;
    z-index: 101;
}

/* ──────────────────────────────────────────
   SECTIONS
────────────────────────────────────────── */
section {
    padding: 8rem 0;
    position: relative;
    z-index: 10;
}

.section-header { margin-bottom: 4rem; }

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
}

.accent-line {
    width: 60px; height: 4px;
    background: linear-gradient(90deg, var(--primary-glow), var(--accent));
    border-radius: 2px;
    margin-top: 1rem;
}

.accent-line.center { margin: 1rem auto 0; }
.text-center { text-align: center; }

.subtitle {
    color: var(--text-muted);
    margin-top: 1rem;
    font-size: 1.1rem;
}

/* Scroll Animations */
[data-animate] {
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate="fade-up"]   { transform: translateY(40px); }
[data-animate="fade-left"] { transform: translateX(50px); }
[data-animate="fade-right"]{ transform: translateX(-50px); }
[data-animate="zoom-in"]   { transform: scale(0.9); }

.is-visible {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* ──────────────────────────────────────────
   HERO
────────────────────────────────────────── */
.hero-section {
    padding-top: 12rem;
    padding-bottom: 6rem;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.subtitle-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 50px;
    color: var(--primary-glow);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* 3D Scene */
.scene-3d {
    perspective: 1000px;
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
}

.object-3d {
    position: absolute;
    transform-style: preserve-3d;
}

@keyframes float1 { 0%, 100% { transform: translateY(0) rotateX(10deg) rotateY(-10deg); } 50% { transform: translateY(-20px) rotateX(15deg) rotateY(-5deg); } }
@keyframes float2 { 0%, 100% { transform: translateY(0) translateX(0) scale(1); } 50% { transform: translateY(15px) translateX(10px) scale(1.05); } }
@keyframes float3 { 0% { transform: rotate(0deg) translateX(100px) rotate(0deg); } 100% { transform: rotate(360deg) translateX(100px) rotate(-360deg); } }
@keyframes float4 { 0% { transform: scale(0.9) rotateY(0deg) rotateX(60deg); } 100% { transform: scale(1.1) rotateY(360deg) rotateX(60deg); } }

.float-1 { animation: float1 6s infinite ease-in-out; }
.float-2 { animation: float2 5s infinite ease-in-out; }
.float-3 { animation: float3 12s infinite linear; }
.float-4 { animation: float4 8s infinite alternate ease-in-out; }

.card-data, .card-ai {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.card-data { top: 20%; right: 10%; z-index: 2; border-left: 4px solid var(--accent); }
.card-ai  { bottom: 20%; left: 10%; z-index: 4; border-left: 4px solid var(--primary-glow); }
.card-data i, .card-ai i { font-size: 2rem; color: var(--text-main); }
.card-data span, .card-ai span { font-weight: 600; font-family: var(--font-heading); font-size: 1.1rem; }

.sphere {
    width: 200px; height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(139, 92, 246, 0.8), rgba(0,0,0,0) 70%);
    box-shadow: 0 0 50px rgba(139, 92, 246, 0.4);
    z-index: 1;
}

.ring {
    width: 300px; height: 300px;
    border: 2px dashed rgba(34, 211, 238, 0.4);
    border-radius: 50%;
    z-index: 0;
}

/* ──────────────────────────────────────────
   ABOUT
────────────────────────────────────────── */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper { height: 500px; }

.about-image {
    width: 100%; height: 100%;
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
    box-shadow: inset 0 0 40px rgba(139, 92, 246, 0.1);
}

.profile-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.experience-badge {
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 5;
}

.experience-badge .num {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-heading);
}

.experience-badge .text {
    font-weight: 500;
    font-size: 0.9rem;
    line-height: 1.2;
}

.about-content h3 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.about-content .role { color: var(--primary-glow); font-size: 1.2rem; margin-bottom: 1.5rem; letter-spacing: 1px; }
.about-content p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2rem; }

.about-highlights {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.about-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.about-highlights li i { margin-top: 5px; font-size: 1.2rem; }
.about-highlights li strong { color: var(--text-main); font-weight: 600; }

/* ──────────────────────────────────────────
   SERVICES
────────────────────────────────────────── */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 4rem;
}

.service-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3rem;
    border-radius: 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
}

.service-row.reverse { direction: rtl; }
.service-row.reverse > * { direction: ltr; }

.service-image-wrapper {
    position: relative;
    width: 100%; height: 350px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.service-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.filter-hue-1 { filter: hue-rotate(90deg) contrast(1.1); }
.filter-hue-2 { filter: hue-rotate(-60deg) brightness(1.2); }

.service-row:hover .service-img { transform: scale(1.05); }

.service-text { position: relative; z-index: 2; }

.service-text .icon-box {
    width: 60px; height: 60px;
    border-radius: 16px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-glow);
    display: flex; justify-content: center; align-items: center;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.service-text h3 { font-size: 2rem; margin-bottom: 1rem; }
.service-text p { color: var(--text-muted); line-height: 1.8; font-size: 1.1rem; }

/* Card glow on services */
.card-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(135deg, rgba(139,92,246,0.05), transparent);
}

/* ──────────────────────────────────────────
   WHY CHOOSE ME
────────────────────────────────────────── */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.stat-card {
    padding: 3rem 2rem;
    text-align: center;
    border-top: 3px solid var(--accent);
}

.stat-card .counter {
    font-size: 4rem;
    display: inline-block;
    color: white;
}

.stat-card .plus {
    font-size: 3rem;
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
}

.stat-card p {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

.why-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 16px;
    border-left: 2px solid var(--primary-glow);
}

.why-item .icon { font-size: 2rem; color: var(--primary-glow); margin-top: 5px; }
.why-item h4 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.why-item p { color: var(--text-muted); }

/* ──────────────────────────────────────────
   CERTIFICATIONS
────────────────────────────────────────── */
.cert-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.cert-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem 2.5rem;
    min-width: 250px;
    transition: all 0.3s ease;
}

.cert-card:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 30px rgba(255,255,255,0.1);
    transform: scale(1.05) !important;
}

.cert-icon { font-size: 2.5rem; }
.meta-color     { color: #0668E1; }
.google-color   { color: #4285F4; }
.hubspot-color  { color: #FF7A59; }
.linkedin-color { color: #0A66C2; }
.tiktok-color   { color: #00f2fe; }
.cert-card h4   { font-size: 1.2rem; font-weight: 600; }

/* ──────────────────────────────────────────
   CONTACT
────────────────────────────────────────── */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.contact-info { padding: 4rem; }
.contact-info h2 { font-size: 2.4rem; line-height: 1.2; }
.contact-info p { color: var(--text-muted); font-size: 1.1rem; margin-top: 1rem; }

.social-links { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }

.social-item {
    display: flex; align-items: center; gap: 1.5rem;
    text-decoration: none; color: white;
    padding: 1rem; border-radius: 16px;
    transition: background 0.3s;
}

.social-item:hover { background: rgba(255,255,255,0.05); }

.social-icon {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; color: white;
    flex-shrink: 0;
}

.whatsapp { background: #25D366; }
.phone    { background: var(--secondary); }
.linkedin { background: #0A66C2; }

.social-text span   { display: block; font-size: 0.9rem; color: var(--text-muted); }
.social-text strong { display: block; font-size: 1.1rem; font-weight: 600; }

.contact-cta {
    padding: 4rem;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    text-align: center;
    border-left: 1px solid var(--glass-border);
    position: relative; overflow: hidden;
}

.contact-orb {
    width: 300px; height: 300px;
    background: var(--primary);
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.contact-cta h3 { font-size: 2.5rem; margin-bottom: 2rem; position: relative; z-index: 1; }
.contact-cta .btn { position: relative; z-index: 1; }
.contact-cta i { margin-left: 10px; transition: transform 0.3s; }
.contact-cta .btn:hover i { transform: translateX(5px); }

/* ──────────────────────────────────────────
   FOOTER
────────────────────────────────────────── */
footer { padding: 3rem 0; border-top: 1px solid var(--glass-border); margin-top: 4rem; }
footer p { color: var(--text-muted); }

/* ══════════════════════════════════════════
   RESPONSIVE — 992px (Tablet)
══════════════════════════════════════════ */
@media (max-width: 992px) {

    /* Nav — show hamburger, hide links */
    .nav-links {
        display: none;
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background: rgba(7, 7, 10, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2.5rem;
        z-index: 99;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links li a {
        font-size: 1.4rem !important;
    }

    .hamburger {
        display: block;
        position: relative;
        z-index: 101;
    }

    /* Hero */
    .hero-section {
        padding-top: 8rem;
        padding-bottom: 4rem;
        min-height: auto;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content   { order: 2; }
    .hero-visual    { order: 1; margin-bottom: 1rem; }
    .hero-content h1 { font-size: 2.8rem; }
    .hero-content p  { max-width: 100%; margin: 0 auto 2rem; }
    .cta-group       { justify-content: center; }

    /* About */
    .about-layout { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
    .about-image-wrapper { height: 380px; margin-bottom: 3rem; }
    .about-highlights li { justify-content: center; text-align: left; }

    /* Fix badge overflow on tablet — keep inside wrapper */
    .experience-badge {
        right: 10px;
        bottom: -10px;
    }

    /* Services */
    .service-row {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem;
        gap: 2rem;
        direction: ltr !important;
    }

    .service-row.reverse { direction: ltr; }
    .service-text .icon-box { margin: 0 auto 1.5rem; }

    /* Contact */
    .contact-layout { grid-template-columns: 1fr; }
    .contact-cta    { border-left: none; border-top: 1px solid var(--glass-border); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 768px (Mobile)
══════════════════════════════════════════ */
@media (max-width: 768px) {

    .container { padding: 0 1.25rem; }

    section { padding: 5rem 0; }

    .section-header { margin-bottom: 2.5rem; }
    .section-header h2 { font-size: 2.2rem; }

    /* Hero */
    .hero-section { padding-top: 7rem; }
    .hero-content h1 { font-size: 2.2rem; }
    .hero-content p  { font-size: 1rem; }
    .scene-3d { height: 280px; }

    /* About */
    .about-image-wrapper { height: 300px; }
    .about-content h3    { font-size: 2rem; }
    .experience-badge    { padding: 1rem; gap: 0.75rem; right: 8px; bottom: -8px; }
    .experience-badge .num  { font-size: 2.2rem; }
    .experience-badge .text { font-size: 0.8rem; }

    /* Services */
    .service-image-wrapper { height: 220px; }
    .service-text h3       { font-size: 1.5rem; }
    .service-text p        { font-size: 1rem; }
    .services-list         { gap: 2.5rem; }

    /* Stats */
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .stat-card  { padding: 2rem 1.5rem; }
    .stat-card .counter { font-size: 3rem; }

    /* Why */
    .why-highlights { grid-template-columns: 1fr; }

    /* Certs */
    .cert-card { min-width: unset; width: 100%; padding: 1.2rem 1.5rem; }
    .cert-grid { flex-direction: column; align-items: stretch; gap: 1rem; }

    /* Contact */
    .contact-info   { padding: 2rem; }
    .contact-info h2 { font-size: 1.8rem; }
    .contact-cta    { padding: 2.5rem 1.5rem; }
    .contact-cta h3 { font-size: 1.8rem; }
    .btn-large      { padding: 0.9rem 1.8rem; font-size: 1rem; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 480px (Small phones)
══════════════════════════════════════════ */
@media (max-width: 480px) {

    .container { padding: 0 1rem; }

    /* Hero */
    .hero-section { padding-top: 6rem; }
    .hero-content h1 { font-size: 1.9rem; }
    .subtitle-badge  { font-size: 0.8rem; }
    .scene-3d        { height: 220px; }

    /* Reduce card sizes inside hero scene */
    .card-data, .card-ai { padding: 0.9rem 1rem; gap: 0.6rem; }
    .card-data i, .card-ai i { font-size: 1.3rem; }
    .card-data span, .card-ai span { font-size: 0.85rem; }
    .sphere { width: 130px; height: 130px; }
    .ring   { width: 190px; height: 190px; }

    /* About */
    .about-image-wrapper { height: 260px; }

    /* Buttons */
    .cta-group { flex-direction: column; align-items: center; gap: 1rem; }
    .btn { width: 100%; max-width: 280px; }

    /* Section headings */
    .section-header h2 { font-size: 1.9rem; }

    /* Nav logo smaller on tiny screens */
    .nav-logo-img { height: 48px; }
}
