/* Global Design System */
:root {
    --bg-color: #0b0b0f;
    --bg-secondary: #121218;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-primary: #00f2ff;
    /* Cyan */
    --accent-secondary: #bd00ff;
    /* Purple */
    --accent-tertiary: #ff0055;
    /* Pink/Red accent for contrast */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-main: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

/* Global Background Animation */
.global-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -20;
    overflow: hidden;
    background-color: var(--bg-color);
    /* Moved here */
    transition: background-color 0.3s;
    /* Smooth theme switch */
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: moveBlob 20s infinite alternate;
}

.blob-1 {
    top: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    animation-delay: 0s;
}

.blob-2 {
    bottom: 20%;
    right: 10%;
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    opacity: 0.2;
    animation-delay: -10s;
}

[data-theme="light"] .blob {
    opacity: 0.15;
}

@keyframes moveBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

[data-theme="light"] {
    --bg-color: #f0f2f5;
    --bg-secondary: #ffffff;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --accent-primary: #00aab5;
    /* Darker Cyan for Light Mode */
    --accent-secondary: #8a00ba;
    /* Darker Purple for Light Mode */
    --glass-bg: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.1);
    --card-hover-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Theme Toggle Button */
.theme-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 20px;
    transition: color 0.3s;
}

.theme-toggle:hover {
    color: var(--accent-primary);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-color);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--bg-color), var(--accent-secondary), var(--accent-primary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
}

/* overflow-x: hidden; handled above by html, body selector */

/* Custom Cursor */
.cursor {
    width: 30px;
    height: 30px;
    border: 1px solid var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, border-color 0.3s, background 0.3s;
    mix-blend-mode: exclusion;
    /* Better visibility on both themes */
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: left 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275), top 0.1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy follow */
    box-shadow: 0 0 15px var(--accent-primary);
}

.cursor.grow {
    width: 60px;
    height: 60px;
    background: rgba(0, 242, 255, 0.05);
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
    mix-blend-mode: normal;
}

.cursor.click {
    transform: translate(-50%, -50%) scale(0.8);
    background: rgba(0, 242, 255, 0.2);
    border-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Utilities */
.section {
    padding: 120px 0;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin: 0 auto 80px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: block;
}


.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.section-title::before {
    content: attr(data-text);
    /* Fallback or specific content if data-text used */
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 5rem;
    color: var(--text-primary);
    opacity: 0.04;
    white-space: nowrap;
    z-index: -1;
    pointer-events: none;
}

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(45deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--accent-secondary), var(--accent-primary));
    z-index: -1;
    transition: opacity 0.3s;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
}

.btn-secondary:hover {
    background: rgba(0, 242, 255, 0.1);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
}

/* Glassmorphism Card Style */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.1s, box-shadow 0.3s;
    /* Fast transform for tilt */
    transform-style: preserve-3d;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 25px 0;
    background: var(--bg-color);
    backdrop-filter: blur(15px);
    transition: padding var(--transition-speed);
    border-bottom: 1px solid var(--glass-border);
    opacity: 0.95;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 45px;
    /* Adjust height as needed */
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-links a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    bottom: -5px;
    left: 0;
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active-link {
    color: var(--accent-primary);
    text-shadow: none;
}

.nav-links a.active-link::after {
    width: 100%;
}

/* Hamburger Menu (Mobile) */
.hamburger {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 2000;
}

.bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--text-primary);
    /* Use variable for theme adaption */
    border-radius: 3px;
    position: absolute;
    transition: 0.4s;
    left: 0;
}

.bar:nth-child(1) {
    top: 0;
}

.bar:nth-child(2) {
    top: 10px;
}

.bar:nth-child(3) {
    top: 20px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

/* Dynamic Background */
#canvas-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
    /* Bring to front to ensure visibility */
    pointer-events: none;
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.greeting {
    font-size: 1.2rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.2s;
}

.name {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.4s;
    background: linear-gradient(135deg, #ffffff 0%, #a0a0ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .name {
    background: none;
    -webkit-text-fill-color: initial;
    color: var(--accent-secondary);
}

.role {
    font-size: 2.2rem;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.6s;
}

.role span {
    color: var(--accent-secondary);
    font-weight: 700;
    text-shadow: 0 0 20px rgba(189, 0, 255, 0.4);
}

.hero-desc {
    max-width: 650px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary);
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeInUp 0.8s forwards 0.8s;
}

.cta-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s forwards 1s;
    display: flex;
    justify-content: center;
    gap: 25px;
}

/* Scroll Progress / Back to Top */
.progress-wrap {
    position: fixed;
    right: 30px;
    bottom: 30px;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 200ms linear;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    background: rgba(13, 13, 18, 0.8);
    backdrop-filter: blur(5px);
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.progress-wrap::after {
    position: absolute;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f062';
    /* arrow-up */
    text-align: center;
    line-height: 50px;
    font-size: 18px;
    color: var(--accent-primary);
    left: 0;
    top: 0;
    height: 50px;
    width: 50px;
    cursor: pointer;
    display: block;
    z-index: 1;
    transition: all 200ms linear;
}

.progress-wrap:hover::after {
    opacity: 0;
}

.progress-wrap:hover::before {
    opacity: 1;
}

/* Hover icon change or effect */
.progress-wrap i {
    z-index: 2;
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.progress-wrap:hover i {
    transform: translateY(-3px);
}

.progress-circle {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-circle path {
    fill: none;
    stroke: var(--accent-primary);
    stroke-width: 4;
    box-sizing: border-box;
    transition: all 200ms linear;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* New Animations */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animation Helper Classes */
.anim-hidden {
    opacity: 0;
    /* transition is handled via animation or transition property in JS observer */
}

.anim-fade-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.anim-fade-left {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.anim-fade-right {
    animation: fadeInRight 0.8s ease-out forwards;
}

.anim-zoom {
    animation: zoomIn 0.6s ease-out forwards;
}

/* Delay utilities */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* About Section */
.about-text {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-text strong {
    color: var(--text-primary);
}

.about-text h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
}

.social-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-links a {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.social-links a:hover {
    color: var(--text-primary);
    background: var(--accent-primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 242, 255, 0.4);
    border-color: transparent;
}

/* Skills Section */
.skills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
}

.skill-card {
    text-align: center;
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.05), transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-card i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s;
}

.skill-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

.skill-card h3 {
    margin-bottom: 20px;
    font-size: 1.6rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.tags span {
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    display: inline-block;
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    background: rgba(11, 11, 15, 0.98);
    border-top: 1px solid var(--glass-border);
    position: relative;
    z-index: 10;
}

[data-theme="light"] .footer {
    background: #eef2f5;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    /* Brand gets more space */
    gap: 60px;
    margin-bottom: 60px;
}

.footer-desc {
    color: var(--text-secondary);
    margin: 15px 0 25px;
    /* Reduced top margin since logo has its own weight */
    max-width: 350px;
    line-height: 1.6;
}

.footer .logo img {
    height: 55px;
    /* Slightly larger in footer */
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: 0.3s;
    position: relative;
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 5px;
    /* Slight shift effect */
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.highlight {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Footer Socials override (left align in brand col) */
.footer-col .footer-socials {
    justify-content: flex-start;
    margin-top: 0;
}

.footer-col .footer-socials a {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
}

.footer-col .footer-socials a:hover {
    background: var(--accent-primary);
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-desc {
        margin: 20px auto 30px;
    }

    .footer-col .footer-socials {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* GitHub Stats Section */
.github-stats-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.stats-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 100%;
}

.stat-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    /* Optional: shadow drop for the images themselves since they are transparent */
    filter: drop-shadow(0 0 10px rgba(0, 242, 255, 0.2));
}

@media (max-width: 768px) {
    .stats-row {
        flex-direction: column;
        align-items: center;
    }
}


/* Filter Buttons & Navigation */
.filter-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.filter-wrapper {
    overflow: hidden;
    position: relative;
}

.filter-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: transform 0.3s ease;
    white-space: nowrap;
}

.filter-arrow {
    display: none;
    /* Hide by default on desktop */
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--accent-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.3s;
    z-index: 5;
    backdrop-filter: blur(10px);
}

.filter-arrow:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border-radius: 30px;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent-primary);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.3);
    border-color: transparent;
}

@media (max-width: 992px) {
    .filter-navigation {
        justify-content: space-between;
        padding: 0 10px;
    }

    .filter-arrow {
        display: flex;
    }

    .filter-wrapper {
        overflow-x: auto;
        scrollbar-width: none;
        /* Hide scrollbar for Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar for IE/Edge */
    }

    .filter-wrapper::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar for Chrome/Safari/Brave */
    }

    .filter-container {
        justify-content: flex-start;
        padding: 5px 0;
    }
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 60px;
}

.project-card.hide {
    display: none;
}

.project-card {
    padding: 0;
    overflow: hidden;
    position: relative;
    border: none;
    transform-style: preserve-3d;
}

.project-image {
    height: 240px;
    background: #1e1e24;
    /* Placeholder color */
    position: relative;
    overflow: hidden;
}

.project-image .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    opacity: 0.6;
}

.project-info {
    padding: 30px;
    transform: translateZ(20px);
    /* 3D depth */
}

.project-info h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.project-info p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 25px;
}

.project-links {
    display: flex;
    gap: 20px;
}

.btn-sm {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-sm:hover {
    color: var(--accent-secondary);
    text-decoration: underline;
}

/* Contact Section */
.contact {
    position: relative;
    padding-bottom: 100px;
}

.contact::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(189, 0, 255, 0.1), transparent 70%);
    z-index: -1;
    filter: blur(50px);
}

.contact-header-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.sub-title {
    color: #ff6b6b;
    /* Accent Orange */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 10px;
}

.contact-header-content .section-title {
    margin-bottom: 20px;
    font-size: 2.5rem;
    text-transform: none;
    /* Override uppercase if needed */
}

/* Override existing section title line for this specific header if desired, 
   or keep it global. The image shows a clean title. 
   Let's hide the global pseudo-elements for this specific instance if consistent with design. */
.contact-header-content .section-title::after,
.contact-header-content .section-title::before {
    display: none;
}

.contact-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Contact Info Column */
.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Icon Colors */
.icon-orange {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
}

.icon-green {
    background: rgba(32, 201, 151, 0.1);
    color: #20c997;
}

.icon-purple {
    background: rgba(174, 62, 201, 0.1);
    color: #ae3ec9;
}

.contact-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.contact-details p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Form Column */
.contact-form-column .glass-card {
    padding: 40px;
    background: var(--bg-secondary);
    /* Solid or glass depending on preference, image looks clean white/light */
    border: 1px solid var(--glass-border);
}

[data-theme="dark"] .contact-form-column .glass-card {
    background: rgba(255, 255, 255, 0.03);
}

.contact-form .form-group {
    margin-bottom: 25px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-color);
    border: 1px solid var(--glass-border);
    border-radius: 5px;
    /* Sqaure-ish rounded as per image */
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.1);
}

.submit-btn {
    width: 100%;
    /* Or auto if matching image exactly, image has wide button */
    border-radius: 5px;
    background: #007bff;
    /* Blue as per image potentially, or keep theme */
    background: linear-gradient(45deg, #008eb3, #00aab5);
    /* Matching theme but solid block feel */
    color: white;
    font-size: 1rem;
    padding: 15px;
}

/* Media Queries for Contact */
@media (max-width: 900px) {
    .contact-grid-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .contact-item {
        flex: 1;
        min-width: 250px;
    }
}

/* Media Queries */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .name {
        font-size: 3.5rem;
    }

    .role {
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        background: rgba(11, 11, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        padding-top: 120px;
        border-left: 1px solid var(--glass-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        transform: translateX(0%);
    }

    .cursor,
    .cursor-follower {
        display: none;
        /* Hide custom cursor on touch devices */
    }

    * {
        cursor: auto;
        /* Revert cursor */
    }

    .hamburger {
        display: block;
    }

    .hamburger.toggle .bar:nth-child(1) {
        transform: rotate(45deg);
        top: 10px;
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .bar:nth-child(3) {
        transform: rotate(-45deg);
        top: 10px;
    }
}

/* ... existing styles ... */

/* Hero Section Updates */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    /* More space for navbar */
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.hero-text {
    text-align: left;
    z-index: 2;
}

.hero-desc {
    margin: 0 0 40px 0;
    /* Left align margin */
    max-width: 90%;
}

.cta-buttons {
    justify-content: flex-start;
    /* Left align buttons */
}

/* Hero Image Styling */
.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-img-wrapper {
    width: 380px;
    height: 480px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(0, 242, 255, 0.1);
    animation: floatImage 5s ease-in-out infinite;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.hero-icon-placeholder {
    font-size: 8rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(189, 0, 255, 0.3));
}

.hero-blob {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-secondary) 0%, transparent 70%);
    opacity: 0.2;
    z-index: -1;
    filter: blur(50px);
    animation: pulseBlob 5s infinite alternate;
}

@keyframes floatImage {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulseBlob {
    0% {
        transform: scale(0.8);
        opacity: 0.1;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-text {
        text-align: center;
        order: 2;
    }

    .hero-image-container {
        order: 1;
    }

    .hero-desc {
        margin: 0 auto 40px auto;
    }

    .cta-buttons {
        justify-content: center;
    }

    .hero-img-wrapper {
        width: 300px;
        height: 380px;
        border-radius: 20px;
    }

    .hero-blob {
        width: 300px;
        height: 300px;
    }
}

/* Client Reviews Section */
.reviews-slider-container {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.reviews-grid {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.7, 0, 0.3, 1);
    gap: 30px;
}

.review-card {
    min-width: calc(33.333% - 20px);
    /* Desktop: 3 cards */
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.5;
    transform: scale(0.9);
}

.review-card.active-slide {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 10px 40px rgba(0, 242, 255, 0.15);
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent-primary);
}

.client-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.client-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.rating {
    color: #ffcc00;
    font-size: 0.9rem;
}

.review-text {
    font-style: italic;
    color: var(--text-secondary);
    line-height: 1.6;
    position: relative;
    padding-left: 20px;
}

.review-text::before {
    content: '“';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 50%;
    left: -20px;
    right: -20px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: 0.3s;
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--accent-primary);
    color: var(--bg-color);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.4);
}

.slider-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 10px;
}

/* See More Reviews Button */
.see-more-reviews-container {
    display: none;
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 992px) {
    .reviews-slider-container {
        overflow: visible;
    }

    .reviews-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        transform: none !important;
    }

    .review-card {
        min-width: 0;
        opacity: 1;
        transform: none;
        display: none;
        /* Hide all initially, JS will show first few */
    }

    .review-card.mobile-visible {
        display: flex;
    }

    .slider-controls,
    .slider-pagination {
        display: none;
    }

    .see-more-reviews-container {
        display: block;
    }
}

@media (max-width: 600px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Alert Styles */
.alert-success {
    color: #00ff88;
    margin-bottom: 20px;
    padding: 10px 15px;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.alert-hide {
    opacity: 0;
    transform: translateY(-10px);
}