:root {
    --bg-dark: #050507;
    --bg-panel: #0f1016;
    --primary: #00f3ff;
    --primary-dim: rgba(0, 243, 255, 0.1);
    --secondary: #bc13fe;
    --secondary-dim: rgba(188, 19, 254, 0.1);
    --text-main: #f0f0f0;
    --text-muted: #a0a0b0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
    --border-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 50vw;
    height: 50vw;
    background: var(--primary);
    top: -20%;
    left: -10%;
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-2 {
    width: 40vw;
    height: 40vw;
    background: var(--secondary);
    bottom: -10%;
    right: -10%;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

.blob-3 {
    width: 30vw;
    height: 30vw;
    background: #4f46e5;
    top: 40%;
    left: 40%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation-delay: -10s;
    opacity: 0.2;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 90%);
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(100px, 50px) rotate(20deg);
    }
}

/* Typography & Utilities */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.text-center {
    text-align: center;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 100px 0;
    position: relative;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: var(--font-heading);
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 243, 255, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(188, 19, 254, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.full-width {
    width: 100%;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-highlight);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

.highlight-border {
    position: relative;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(5, 5, 7, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: white;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

/* Updated Hero layout for Image */
.hero-profile-container {
    flex: 0 0 300px;
    position: relative;
    display: flex;
    justify-content: center;
}

.profile-card {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    padding: 5px;
    /* Border gap */
    background: var(--glass-bg);
    position: relative;
    overflow: hidden;
}

.profile-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: var(--gradient-main);
    border-radius: 50%;
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.profile-card:hover .profile-img {
    transform: scale(1.05);
}

@keyframes rotateBorder {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hero-text {
    flex: 1;
    z-index: 1;
}

.badge-container {
    margin-bottom: 20px;
}

.badge {
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(0, 243, 255, 0.2);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.hero-subtitle strong {
    color: var(--text-main);
}

.cta-group {
    display: flex;
    gap: 15px;
}

/* Stats Grid */
.stats-container {
    margin-bottom: 40px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-card {
    text-align: center;
    padding: 20px 15px;
}

.stat-icon {
    font-size: 1.8rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-main {
    display: flex;
    justify-content: center;
    align-items: baseline;
    font-family: var(--font-heading);
    font-weight: 700;
    color: white;
}

.stat-number {
    font-size: 2.2rem;
}

.stat-prefix,
.stat-suffix {
    font-size: 1.5rem;
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.8rem;
    opacity: 0.7;
}

.bouncing {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
}

.about-text h3 {
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-text p {
    color: var(--text-muted);
}

.about-list {
    list-style: none;
    margin-bottom: 25px;
}

.about-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 0;
}

.divider {
    border: 0;
    height: 1px;
    background: var(--glass-border);
    margin: 25px 0;
}

.command-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
}

.cmd-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 8px;
    width: 100%;
    text-align: center;
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s;
}

.cmd-box.ai {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.1);
}

.cmd-box.data {
    border-color: #4f46e5;
    color: #a5b4fc;
}

.cmd-box.mkt {
    border-color: var(--secondary);
    color: var(--secondary);
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.1);
}

.cmd-box.web {
    border-color: #10b981;
    color: #6ee7b7;
}

.cmd-result {
    margin-top: 10px;
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--gradient-main);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cmd-arrow {
    color: var(--text-muted);
    font-size: 1.2rem;
}


/* Services / Pillars */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pillar-card {
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.pillar-card:hover::before {
    transform: scaleX(1);
}

.pillar-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 20px;
}

.pillar-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.pillar-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.pillar-features {
    list-style: none;
}

.pillar-features li {
    margin-bottom: 10px;
    color: var(--text-main);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pillar-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.skill-item {
    margin-bottom: 20px;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-main);
}

.skill-bar-bg {
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 5px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.5s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.skill-item.revealed .skill-bar-fill {
    transform: scaleX(1);
}

/* Impact Section */
.impact-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

.impact-content {
    flex: 1;
}

.impact-visual {
    flex: 1;
}

.impact-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.impact-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.impact-val {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-heading);
}

.impact-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.command-center-mockup {
    font-family: 'Consolas', 'Monaco', monospace;
    padding: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.6);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--glass-border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.mockup-title {
    margin-left: 10px;
    font-size: 0.8rem;
    color: #888;
}

.mockup-body {
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-line {
    margin-bottom: 5px;
}

.indent {
    padding-left: 20px;
}

.indent-2 {
    padding-left: 40px;
}

.indent-3 {
    padding-left: 60px;
}

.code-blue {
    color: #569cd6;
}

.code-purple {
    color: #c586c0;
}

.code-yellow {
    color: #dcdcaa;
}

.code-green {
    color: #ce9178;
}

.output {
    color: var(--text-muted);
    opacity: 0.8;
    margin-top: 15px;
    border-top: 1px dashed #333;
    padding-top: 10px;
}

/* Projects / Dashboards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.project-card {
    padding: 0;
    overflow: hidden;
    transition: all 0.4s ease;
}

.project-img-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
}

.project-tag {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.project-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.client-card {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    padding: 20px;
}

.client-logo {
    max-width: 120px;
    max-height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 8px;
    transition: transform 0.3s;
    background: white;
    /* Ensure visibility if transparent */
    padding: 5px;
}

.client-card:hover .client-logo {
    transform: scale(1.1);
}

.client-card h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.client-highlight {
    font-size: 0.85rem;
    color: var(--primary);
    width: 100%;
}

/* Certifications TABS */
.tabs-container {
    margin-top: 40px;
}

.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-family: var(--font-heading);
    transition: all 0.3s;
    font-size: 0.95rem;
}

.tab-btn:hover {
    border-color: var(--primary);
    color: white;
}

.tab-btn.active {
    background: var(--primary-dim);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.cert-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    transition: all 0.3s;
}

.cert-item:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.cert-item i {
    color: var(--secondary);
    font-size: 1.2rem;
}

.fade-in {
    animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Contact */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: all 0.3s;
}

.contact-item:hover {
    border-color: var(--primary);
    background: rgba(0, 243, 255, 0.05);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Footer & Modal */
.footer {
    padding: 30px 0;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    width: 90%;
    max-width: 500px;
    background: #15151a;
    border: 1px solid var(--glass-border);
    position: relative;
    transform: scale(0.95);
    transition: all 0.3s;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .hero-profile-container {
        order: -1;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .impact-layout,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .cmd-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0f1016;
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .profile-card {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .cta-group {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .impact-list {
        grid-template-columns: 1fr;
    }

    .tabs-nav {
        flex-direction: column;
    }

    .tab-btn {
        width: 100%;
    }
}