:root {
    --bg-dark: #050505;
    --bg-light: #121212;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --text-main: #f5f5f5;
    --text-muted: #9ba1a6;
    --accent-primary: #7c3aed;
    --accent-secondary: #c084fc;
    --accent-glow: rgba(124, 58, 237, 0.5);

    --font-heading: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    --spacing-section: 80px;
    --border-radius: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    overflow-x: hidden;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

.h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Classic cursor active */

.container {
    max-width: 1450px;
    margin: 0 auto;
    padding: 0 5%;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.section-title {
    text-align: center;
    margin-bottom: 5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    white-space: nowrap;
}

.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.15;
}

.bg-top-left {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: var(--accent-primary);
}

.bg-center-right {
    width: 500px;
    height: 500px;
    top: 40%;
    right: -100px;
    background: #4f46e5;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-book {
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    background: var(--accent-primary);
    color: white !important;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(124, 58, 237, 0.2);
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.btn-book:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(124, 58, 237, 0.3);
    background: var(--accent-secondary);
}

.btn-sm {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: white;
    border: 1px solid var(--accent-primary);
}

.btn-primary:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--text-muted);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline-light:hover {
    background: white;
    color: black;
}

.btn-full {
    width: 100%;
}

.btn-glow {
    box-shadow: 0 0 20px var(--accent-glow);
    animation: btn-pulse 2.5s infinite;
}

@keyframes btn-pulse {
    0% {
        box-shadow: 0 0 20px var(--accent-glow);
    }

    50% {
        box-shadow: 0 0 35px var(--accent-glow);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 0 20px var(--accent-glow);
        transform: scale(1);
    }
}

.btn-glow:hover {
    box-shadow: 0 0 40px var(--accent-glow);
    animation: none;
    transform: translateY(-2px);
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(16px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--accent-secondary);
}

.nav {
    display: flex;
    gap: 2.5rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s;
    position: relative;
}

.nav a:hover {
    color: var(--text-main);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    z-index: 99;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    transition: var(--transition-smooth);
    animation: wa-bounce 2s infinite;
}

.floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
    animation: none;
}

@keyframes wa-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4rem;
    max-width: 1450px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.hero-title {
    font-size: clamp(1rem, 4vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subheading {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--accent-secondary);
    margin-bottom: 1rem;
}

.separator {
    color: var(--border-color);
    margin: 0 10px;
}

.typing-container {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    margin-bottom: 2rem;
    color: var(--text-muted);
}

.typing-text {
    color: var(--text-main);
    font-weight: 600;
}

.cursor-blink {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

.hero {
    min-height: 100vh;
    padding: 220px 0 140px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem; /* Added spacing */
    margin-bottom: 3.5rem;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 1.2rem 2.5rem;
    border-radius: 100px;
    backdrop-filter: blur(20px);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.badge h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.badge p {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trust-badges .divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.social-proof {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition-smooth);
    background: transparent;
}

.social-icon:hover {
    color: var(--text-main);
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.1);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 5px 15px var(--accent-glow);
}

.hero-visual {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-wrapper {
    position: relative;
    width: 450px;
    height: 550px;
    overflow: visible;
}

.image-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 255, 255, 0.05);
}

.image-glow {
    position: absolute;
    width: 120%;
    height: 120%;
    top: -10%;
    left: -10%;
    background: radial-gradient(circle at 50% 50%, var(--accent-glow), transparent 60%);
    opacity: 0.6;
    z-index: -1;
    animation: float-slow 8s infinite alternate ease-in-out;
}

.hero-img {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    object-fit: cover;
    object-position: center 20%;
    filter: brightness(0.9) contrast(1.1) drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
}

.float-badge {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.fb-1 {
    top: 45%; /* Increased bottom spacing from fb-6 */
    right: -12%;
    color: #4dc2f8;
    animation: float 6s ease-in-out infinite;
    z-index: 10;
}

.fb-6 {
    top: 15%;
    right: -10%;
    color: #e2e8f0; /* Off-white color */
    animation: float 6s ease-in-out infinite 0.5s;
    background: rgba(255, 255, 255, 0.08); /* Slightly more visible off-white base */
}

.fb-2 {
    bottom: 15%;
    left: -10%;
    color: #f24e1e;
    animation: float 5s ease-in-out infinite reverse;
}

.fb-3 {
    top: 45%;
    left: -15%;
    color: #fbbf24;
    animation: float 7s ease-in-out infinite 1s;
}

.fb-4 {
    bottom: 10%;
    right: 0%;
    color: #a855f7;
    animation: float 8s ease-in-out infinite 0.5s;
}

.fb-5 {
    top: 10%;
    left: -5%;
    color: #10b981;
    animation: float 6.5s ease-in-out infinite 1.5s reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes float-slow {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.1) translate(10px, -10px);
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: rgba(124, 58, 237, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.1);
}

.skill-card:hover::before {
    opacity: 1;
}

.skill-icon {
    font-size: 2.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
    transition: transform 0.4s ease;
}

.skill-card:hover .skill-icon {
    transform: scale(1.1) rotate(-5deg);
}

.skill-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.skill-card p {
    color: var(--text-muted);
}

.projects-wrapper {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.project-card:nth-child(even) {
    grid-template-columns: 1fr 1.2fr;
}

.project-card:nth-child(even) .project-info {
    order: -1;
}

.project-img-wrapper {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 16/10;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
}

.project-img-wrapper:hover .project-overlay {
    opacity: 1;
}

.project-img-wrapper:hover .project-img {
    transform: scale(1.05);
}

.project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 100px;
    color: var(--accent-secondary);
}

.project-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.project-results {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.result {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    font-weight: 500;
}

.result i {
    color: #10b981;
}

.glass-panel {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    padding: 4rem;
}

.contact-info .h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.contact-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.method-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-secondary);
}

.method h4 {
    margin-bottom: 0.2rem;
}

.method p {
    color: var(--text-muted);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.2rem;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition-smooth);
    outline: none;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    border-color: var(--accent-primary);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.input-group label {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: var(--transition-smooth);
    pointer-events: none;
}

.input-group textarea+label {
    top: 1.2rem;
    transform: none;
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
    top: -0.6rem;
    left: 1rem;
    font-size: 0.8rem;
    background: var(--bg-dark);
    padding: 0 0.5rem;
    color: var(--accent-secondary);
    z-index: 10;
}

/* Hide label for select as it's handled via placeholder-like option */
.input-group select+label {
    display: none;
}

.input-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    background-size: 1.2rem;
}

.input-group select option {
    background: var(--bg-dark);
    color: var(--text-main);
    padding: 1rem;
}

.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

/* Logo Grid */
.logo-grid {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.section-subtitle-sm {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    opacity: 0.7;
}

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 3rem 5rem;
}

.partner-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    color: #ffffff;
    /* White logos */
    font-family: var(--font-heading);
    font-weight: 600;
    opacity: 0.6;
    transition: var(--transition-smooth);
    filter: grayscale(1) brightness(2);
}

.partner-logo:hover {
    opacity: 1;
    transform: translateY(-5px);
    filter: grayscale(0) brightness(1);
}

.partner-logo i {
    font-size: 2rem;
}

/* About Me */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    aspect-ratio: 1;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.about-subtitle {
    font-size: 1.5rem;
    color: var(--accent-secondary);
    margin-bottom: 1.5rem;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

.stat-text {
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* Professional Technical Skills */
.technical-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.tech-card {
    position: relative;
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.03);
}

.tech-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tech-icon {
    font-size: 2rem;
    color: var(--accent-secondary);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.05);
    border-radius: 12px;
}

.tech-card:hover .tech-icon {
    color: var(--accent-primary);
}

.tech-pct {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-muted);
    font-size: 1.1rem;
    opacity: 0.5;
}

.tech-card:hover .tech-pct {
    color: var(--accent-primary);
    opacity: 1;
}

.tech-title-wrap h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.progress-track {
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
    /* Added top spacing below title */
    margin-bottom: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--accent-primary);
    width: 0;
    transition: width 1.5s ease;
}

.reveal-up.active .progress-bar {
    width: var(--skill-progress);
}

.tech-info p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

.tech-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: auto;
}

.tag-sm {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
}

@media (max-width: 992px) {
    .technical-skills-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .tech-card {
        padding: 2rem;
    }
}

/* Experience Timeline */
.timeline {
    max-width: 800px;
    margin: 4rem auto 0;
    position: relative;
    padding-left: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Base line layer */
.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 1;
    transition: height 2s ease;
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    margin-left: -4rem;
    /* Precise line alignment */
    position: relative;
}

.timeline-dot {
    width: 22px;
    height: 22px;
    background: var(--bg-dark);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 5;
    transition: all 0.5s ease;
    flex-shrink: 0;
    margin-left: -11px;
    /* Half of width for center alignment */
}

.timeline-item:hover .timeline-dot {
    background: var(--accent-primary);
    box-shadow: 0 0 20px var(--accent-glow);
    transform: scale(1.3);
}

.timeline-date {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-secondary);
    white-space: nowrap;
}

.timeline-content {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item:hover .timeline-content {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.05);
    transform: translateX(15px);
}

.timeline-body {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.timeline-logo {
    min-width: 50px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    font-family: var(--font-heading);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.logo-confia {
    background: linear-gradient(135deg, #1e293b, #334155);
}

.logo-getspace {
    background: linear-gradient(135deg, #f97316, #fb923c);
}

.logo-parshva {
    background: linear-gradient(135deg, #ec4899, #f472b6);
}

.logo-triple {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.logo-cscodetech {
    background: linear-gradient(135deg, #fbbf24, #fcd34d);
}

.timeline-info {
    flex-grow: 1;
}

.timeline-role {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.timeline-company {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.timeline-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Portfolio 3 Col Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.portfolio-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.portfolio-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.portfolio-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.5s ease;
    border-radius: 16px;
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.2rem;
}

.portfolio-overlay span {
    color: var(--accent-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
}

.portfolio-link {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-item:hover .portfolio-link {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.portfolio-overlay h3 {
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay h3 {
    transform: translateY(0);
}

/* Testimonial Slider */
.testimonials-slider-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 1rem;
    gap: 2rem;
}

.testimonials-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 1.35rem);
    width: calc(33.333% - 1.35rem);
    scroll-snap-align: start;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.2rem;
    border-radius: var(--border-radius);
    opacity: 1;
    transition: opacity 0.3s ease;
}

.testimonial-slide .stars {
    color: #fbbf24;
    display: flex;
    gap: 0.3rem;
}

.testimonial-slide.active-slide {
    opacity: 1;
}

.client-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.testimonial-slide .review-text {
    font-size: 1.1rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--text-muted);
}

.testimonial-slide h4 {
    font-size: 1.2rem;
    margin-top: 1rem;
}

.client-role {
    color: var(--accent-secondary);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.slider-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 3rem;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

.dot.active {
    background: var(--accent-primary);
    width: 30px;
    border-radius: 10px;
}

@media (max-width: 1024px) {
    .h2 {
        font-size: 3rem;
    }

    .hero-container {
        gap: 2rem;
    }

    .image-wrapper {
        width: 100%;
        height: 500px;
    }

    .project-card,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .project-card:nth-child(even) .project-info {
        order: initial;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        transform: none;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.95);
        backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition-smooth);
        z-index: 100;
    }

    .nav.active {
        right: 0;
    }

    .nav a {
        font-size: 1.8rem;
    }

    .menu-toggle {
        display: block;
        z-index: 101;
        position: relative;
    }

    .header-cta {
        display: none;
    }

    .hero-container {
        padding-top: 1rem;
        padding-bottom: 1rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 1.5rem;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 2.5rem;
        padding: 0 1rem;
    }

    .image-wrapper {
        width: 280px;
        height: 340px;
        margin: 0 auto 3rem;
        position: relative;
    }

    .trust-badges {
        flex-direction: row;
        gap: 1rem;
        padding: 1rem 1.2rem;
        width: 100%;
        max-width: 340px;
        border-radius: 12px;
        margin-bottom: 2rem;
    }

    .badge h3 {
        font-size: 1.1rem;
    }

    .trust-badges .divider {
        height: 25px;
    }

    .hero-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .hero-actions {
        flex-direction: row !important;
        justify-content: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-actions .btn {
        flex: 1;
        width: auto !important;
        padding: 0.8rem 0.5rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .about-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 3rem;
    }

    .about-image {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .float-badge {
        display: none !important;
    }

    .contact-wrapper {
        padding: 2.5rem 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }

    .contact-info {
        width: 100%;
    }

    .contact-info .h2 {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }

    .contact-methods {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        margin-top: 2rem;
    }

    .method {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }

    .contact-form {
        width: 100%;
        margin-top: 1rem;
    }

    .testimonials-slider {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 0;
        -webkit-overflow-scrolling: touch;
    }

    .testimonial-slide {
        flex: 0 0 100% !important;
        width: 100%;
        scroll-snap-align: start;
        padding: 2.5rem 1.5rem;
    }

    .testimonial-slide .review-text {
        font-size: 1.1rem;
    }

    .dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--border-color);
        cursor: pointer;
    }

    .dot.active {
        background: var(--accent-primary);
        width: 20px;
        border-radius: 4px;
    }

    .input-group label.select-label {
        top: 0.5rem;
        left: 1.2rem;
        transform: none;
        background: transparent;
        font-size: 0.7rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .footer .social-proof {
        justify-content: center;
        margin-top: 1rem;
    }
}

/* Portfolio Modal Styles */
.portfolio-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.portfolio-modal.active {
    display: flex;
}

.modal-content {
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
}

#modal-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .modal-content {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Modal Slider Refinement */
.modal-slider-container {
    width: 100%;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

.modal-slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-slide {
    min-width: 100%;
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.modal-slider-nav {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    pointer-events: none;
    z-index: 5;
}

.modal-nav-prev,
.modal-nav-next {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: all;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.modal-nav-prev:hover,
.modal-nav-next:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: scale(1.1);
}

.modal-slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.modal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s ease;
}

.modal-dot.active {
    background: var(--accent-primary);
    width: 25px;
    border-radius: 4px;
}

.modal-info h3 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff, #9ba1a6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-info span {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.1);
    color: var(--accent-secondary);
    border-radius: 6px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.modal-actions {
    margin-top: 3rem;
}

/* Portfolio Item Hover Enhancement */
.portfolio-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(124, 58, 237, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-img-wrapper::after {
    opacity: 1;
}

@media (max-width: 768px) {
    .testimonial-slide {
        flex: 0 0 100%;
        width: 100%;
    }

    .partners-grid {
        gap: 2rem 3rem;
    }
}

/* Floating Actions Final */
.floating-btn {
    position: fixed;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    z-index: 1000;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
}

.floating-wa {
    bottom: 2rem;
    background: #25D366;
}

.floating-cv {
    bottom: 7rem;
    background: var(--accent-primary);
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

/* Custom Tooltips */
.floating-btn::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 15px);
    background: rgba(15, 23, 42, 0.95);
    color: white;
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.floating-btn:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-5px);
}

/* Form Submission Status */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.form-status.success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.form-status.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}