:root {
    --bg-color: #09090b;
    --surface-color: rgba(255, 255, 255, 0.03);
    --surface-border: rgba(255, 255, 255, 0.08);
    --surface-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --accent-1: #a1a1aa;
    --accent-2: #52525b;
    --accent-gradient: linear-gradient(135deg, #d4d4d8, #71717a, #3f3f46);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.tech-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    mask-image: radial-gradient(circle at center 30%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center 30%, black, transparent 80%);
}

.bg-glow {
    position: fixed;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1100px;
    background-color: rgba(25, 25, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

header.nav-hidden {
    transform: translateX(-50%) translateY(-150%);
    opacity: 0;
    pointer-events: none;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: monospace;
    font-weight: bold;
    color: white;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #888;
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a.active, .nav-links a:hover {
    color: white;
}

main {
    padding-top: 80px;
}

section {
    padding: 8rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 0.8rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.section-title i {
    font-size: 1rem;
    color: var(--text-primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    animation: badgePulse 3s infinite alternate ease-in-out;
}

.hero-badge::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
    animation: dotBlink 2s infinite;
}

@keyframes badgePulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.0); border-color: rgba(255, 255, 255, 0.05); }
    100% { box-shadow: 0 0 20px 0 rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.15); }
}

@keyframes dotBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.dynamic-headline {
    font-size: 4.5rem;
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.word-slider {
    display: inline-block;
    overflow: hidden;
    height: 1.1em;
    vertical-align: bottom;
}

.word-slider-inner {
    display: flex;
    flex-direction: column;
    animation: slideWords 8s infinite cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.word-slider .word {
    display: block;
    height: 1.1em;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes slideWords {
    0%, 20% { transform: translateY(0%); }
    25%, 45% { transform: translateY(-25%); }
    50%, 70% { transform: translateY(-50%); }
    75%, 95% { transform: translateY(-75%); }
    100% { transform: translateY(0%); }
}

.hero h2.typewriter {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.hero h2 .text-accent {
    color: #fff;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary, .btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover, .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.social-links {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.social-links a {
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    color: #fff;
    background: var(--surface-hover);
    border-color: var(--accent-1);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
    text-decoration: none;
    cursor: pointer;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    margin-top: 6px;
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(12px); opacity: 0; }
}

.arrow span {
    display: block;
    width: 10px;
    height: 10px;
    border-bottom: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: rotate(45deg);
    margin: -4px auto;
    animation: scrollArrow 2s infinite;
}

.arrow span:nth-child(2) { animation-delay: -0.2s; }
.arrow span:nth-child(3) { animation-delay: -0.4s; }

@keyframes scrollArrow {
    0% { opacity: 0; transform: rotate(45deg) translate(-5px, -5px); }
    50% { opacity: 1; }
    100% { opacity: 0; transform: rotate(45deg) translate(5px, 5px); }
}

.about-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.bento-card {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.bento-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    background: var(--surface-hover);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.main-bio {
    grid-column: span 2;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bento-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--surface-border);
}

.bento-header h3 {
    font-size: 1rem;
    font-family: monospace;
    color: var(--accent-1);
    letter-spacing: 0px;
    z-index: 1;
}

.bento-watermark {
    position: absolute;
    bottom: -40px;
    right: -20px;
    font-size: 14rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.02);
    font-family: 'Space Grotesk', sans-serif;
    pointer-events: none;
    z-index: 0;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--accent-1);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-1);
    animation: dotBlink 2s infinite;
}

.bio-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.bio-text strong {
    color: var(--text-primary);
}

.stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.bento-icon {
    width: 40px;
    height: 40px;
    color: var(--accent-1);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02), 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-box p {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.services-grid, .projects-grid, .feedback-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card, .project-card, .feedback-card {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid var(--surface-border);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.service-card::after, .project-card::after, .feedback-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% -20%, rgba(255,255,255,0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover, .project-card:hover, .feedback-card:hover {
    transform: translateY(-8px);
    background: var(--surface-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::after, .project-card:hover::after, .feedback-card:hover::after {
    opacity: 1;
}

.marquee-wrapper {
    overflow: hidden;
    white-space: nowrap;
    padding: 20px 0;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.marquee-track {
    display: inline-flex;
    gap: 16px;
    animation: marqueeScroll 25s linear infinite;
    width: max-content;
}

.marquee-track-reverse {
    animation: marqueeScrollReverse 25s linear infinite;
}

.marquee-wrapper:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marqueeScrollReverse {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.skill-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: default;
    transition: all 0.3s ease;
}

.skill-pill i {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-pill:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.skill-pill:hover i {
    color: var(--text-primary);
}

.service-card i {
    display: block;
    font-size: 3rem !important;     color: var(--accent-1);
    margin-bottom: 1.5rem;
    transition: all 0.4s ease;
}

.service-card:hover i {
    transform: scale(1.1) translateY(-5px);
    color: #fff;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
}

.service-card h3, .project-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.service-card p, .project-card p {
    color: var(--text-secondary);
}

.feedback-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.quote-icon {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 8rem !important;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    transform: rotate(10deg);
}

.stars {
    color: #fbbf24;     margin-bottom: 1.5rem;
    font-size: 0.9rem;
    z-index: 1;
}

.stars i {
    margin-right: 4px;
}

.feedback-card p {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    z-index: 1;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
}

.client-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--accent-1), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
}

.client-details h4 {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0 0 0.2rem 0;
    font-size: 1.05rem;
}

.client-details span {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question i {
    color: var(--text-secondary);
    transition: transform 0.4s ease, color 0.3s ease;
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    color: var(--text-secondary);
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-question i {
    transform: rotate(135deg);     color: var(--accent-1);
}

.faq-item:hover .faq-question {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--accent-1);
}

.faq-item:hover .faq-answer {
    max-height: 200px;
    opacity: 1;
    padding: 1.5rem 2rem;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-content p {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 1.2rem;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.contact-form .btn {
    border-radius: 12px;
    margin-top: 1rem;
    width: 100%;
}





.services-grid .service-card:nth-child(1) { transition-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { transition-delay: 0.2s; }
.services-grid .service-card:nth-child(3) { transition-delay: 0.3s; }
.services-grid .service-card:nth-child(4) { transition-delay: 0.4s; }
.services-grid .service-card:nth-child(5) { transition-delay: 0.5s; }
.services-grid .service-card:nth-child(6) { transition-delay: 0.6s; }

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 5rem 5% 2rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
}

.footer-brand {
    flex: 1;
    min-width: 320px;
    max-width: 400px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.footer-brand p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.footer-social {
    margin-bottom: 2.5rem;
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s;
    text-decoration: none;
}

.footer-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.footer-links-group {
    display: flex;
    flex: 2;
    gap: 3rem;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 0;
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s, transform 0.3s;
}

.footer-column ul li a i {
    font-size: 1rem;
    opacity: 0.8;
    transition: transform 0.3s, color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

.footer-column ul li a:hover i {
    transform: translateX(4px);
    opacity: 1;
    color: var(--accent-1);
}

.footer-bottom {
    max-width: 1200px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.availability-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary);
    font-size: 0.9rem;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        gap: 3rem;
    }
    .footer-links-group {
        flex-direction: column;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    
    .scroll-indicator {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    section {
        padding: 5rem 5%;
    }
}

.contact-page-wrapper {
    padding: 120px 5% 80px 5%;
    max-width: 1300px;
    margin: 0 auto;
    min-height: 100vh;
}

.contact-grid-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-grid-container > * {
    min-width: 0;
}

.contact-info-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.info-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 0;
}

.info-content {
    min-width: 0;
}

.info-value {
    overflow-wrap: break-word;
    word-break: break-word;
}

.social-icons-row {
    flex-wrap: wrap;
}

.info-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.icon-circle {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--accent-1);
    flex-shrink: 0;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.info-value {
    font-size: 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a.info-value:hover {
    color: #fff;
}

.info-sub {
    font-size: 0.85rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.response-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #10b981;
    font-size: 0.9rem;
    font-weight: 500;
}

.response-badge i {
    font-size: 1.1rem;
}

.response-badge strong {
    font-weight: 700;
    color: #fff;
}

.social-media-card .social-icons-row {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.social-icons-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons-row a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: translateY(-2px);
}

.contact-form-column {
    padding: 40px;
}

.contact-form-column h2 {
    font-size: 2rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.form-subtitle {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1rem;
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.required {
    color: #ef4444;
}

.modern-contact-form input,
.modern-contact-form select,
.modern-contact-form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

.modern-contact-form textarea {
    resize: vertical;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
}

.modern-contact-form select {
    appearance: none;
    cursor: pointer;
}

.modern-contact-form option {
    background-color: var(--bg-color);
    color: var(--text-primary);
}

.select-wrapper {
    position: relative;
}

.select-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
}

.form-footer {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 16px;
}

.btn-glow {
    background: var(--text-primary);
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
    background: #fff;
}

.privacy-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-emerald-500 {
    color: #10b981;
}

@media (max-width: 900px) {
    .contact-grid-container {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

@keyframes slideUpFade {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-info-column .info-card,
.contact-info-column .response-badge {
    animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.contact-info-column > *:nth-child(1) { animation-delay: 0.1s; }
.contact-info-column > *:nth-child(2) { animation-delay: 0.2s; }
.contact-info-column > *:nth-child(3) { animation-delay: 0.3s; }
.contact-info-column > *:nth-child(4) { animation-delay: 0.4s; }
.contact-info-column > *:nth-child(5) { animation-delay: 0.5s; }
.contact-info-column > *:nth-child(6) { animation-delay: 0.6s; }

.contact-form-column {
    animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
    position: relative;
}

.modern-contact-form input:focus,
.modern-contact-form select:focus,
.modern-contact-form textarea:focus {
    outline: none;
    border-color: var(--accent-1);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.5);
}

.info-card:hover .icon-circle i {
    transform: scale(1.15) translateY(-2px);
    filter: drop-shadow(0 0 8px var(--accent-1));
}

.fade-in, .fade-left, .fade-right, .zoom-in, .blur-in {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), filter 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

.fade-in {
    transform: translateY(40px) scale(0.95);
    filter: blur(5px);
}

.fade-left {
    transform: translateX(40px);
}

.fade-right {
    transform: translateX(-40px);
}

.zoom-in {
    transform: scale(0.9);
}

.blur-in {
    filter: blur(10px);
    transform: translateY(20px);
}

.fade-in.visible, .fade-left.visible, .fade-right.visible, .zoom-in.visible, .blur-in.visible {
    opacity: 1;
    transform: translate(0) scale(1);
    filter: blur(0);
}

@media (max-width: 768px) {
    /* Prevent horizontal shift animations on mobile to avoid overflow and jank */
    .fade-left, .fade-right {
        transform: translateY(30px); /* Convert horizontal to vertical for mobile */
    }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-left, .fade-right, .zoom-in, .blur-in {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: blur(0) !important;
    }
}

/* --- New Featured Projects Format --- */
.projects-header {
    text-align: left;
    margin-bottom: 4rem;
}

.portfolio-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
}

.projects-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.projects-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.project-card.featured-project {
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    max-width: 500px;
}

.project-card.featured-project:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.card-bg-number {
    position: absolute;
    top: -15px;
    right: -5px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    z-index: 0;
    line-height: 1;
    pointer-events: none;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-badge {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.project-card.featured-project h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.project-card.featured-project p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
    position: relative;
    z-index: 1;
}

.card-tags-wrapper {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.card-tags-track {
    display: inline-flex;
    gap: 8px;
    animation: cardTagsScroll 15s linear infinite;
    width: max-content;
    padding: 0.5rem 0;
}

.card-tags-wrapper:hover .card-tags-track {
    animation-play-state: paused;
}

@keyframes cardTagsScroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 4px)); }
}

.card-tags-track .tag {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-tags-track .tag:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.card-actions {
    position: relative;
    z-index: 1;
    margin-top: auto;
}

.btn-live {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-live:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   RESPONSIVE DESIGN (Media Queries)
   ========================================================================== */

/* -----------------------------------------------------------
   PRIORITY 1: MOBILE NAVIGATION (<= 768px) & 
   PRIORITY 3: ENHANCED 768px BREAKPOINT
   ----------------------------------------------------------- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1000;
    padding: 0;
}
.hamburger span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}
.nav-open .hamburger span:first-child { transform: rotate(45deg) translate(5px, 5px); }
.nav-open .hamburger span:nth-child(2) { opacity: 0; transform: translateX(20px); }
.nav-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

body.nav-open {
    overflow: hidden;
}

@media (max-width: 1024px) {
    /* PRIORITY 3: Tablet Breakpoint */
    .about-bento {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .about-bento .main-bio {
        grid-column: 1 / -1;
    }

    .nav-links a {
        font-size: 0.8rem;
    }
}

@media (max-width: 1024px) {
    /* Priority 1: Mobile Nav */
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: 0; width: 100%; height: 100vh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        gap: 2rem;
        overflow-y: auto;
        padding-bottom: 2rem;
    }
    body.nav-open .nav-links {
        transform: translateX(0);
    }
    .nav-links li { margin: 0; }
    .nav-links a { font-size: 1.5rem; }

    /* Priority 3: Enhanced 768px */
    .about-bento {
        grid-template-columns: 1fr !important;
    }
    .about-bento .bento-card {
        grid-column: 1 / -1;
    }
    .hero h1 {
        font-size: 2.4rem;
    }
    .projects-title {
        font-size: 2rem;
    }
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .social-links {
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    /* Priority 5: Blog & Modals */
    .modal-layout-grid {
        grid-template-columns: 1fr !important;
    }
    .modal-toc {
        order: -1;
        margin-bottom: 2rem;
        position: static !important;
    }
}

@media (max-width: 480px) {
    /* Priority 3: Small-phone */
    .hero h1 {
        font-size: 2rem;
    }
    .word-slider {
        max-width: 100%;
        overflow: hidden;
    }
    section {
        padding: 4rem 1.2rem;
    }
    .btn-primary, .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    .bento-card.stat-box {
        padding: 1rem;
    }

    /* Priority 5: Contact */
    .form-footer {
        flex-direction: column;
        gap: 1rem;
    }
    .form-footer .btn-glow {
        width: 100%;
        justify-content: center;
    }
}

/* Priority 4: Touch Target Sizes */
.social-links a, .nav-item, .social-icons-row a {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.hamburger {
    min-width: 44px;
    min-height: 44px;
}
button, a {
    touch-action: manipulation;
}

/* Priority 6: Testimonials */
.testimonials-grid, .feedback-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
}
.feedback-card p {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ==========================================================================
   ADDITIONAL RESPONSIVE FIXES
   ========================================================================== */

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

.projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.project-card.featured-project {
    max-width: 100%;
}

@media (max-width: 1024px) {
    header {
        width: 92%;
        top: 14px;
    }
    .dynamic-headline {
        font-size: 3.4rem;
    }
    section {
        padding: 6rem 5%;
    }
}

@media (max-width: 900px) {
    .contact-page-wrapper {
        padding: 100px 5% 60px 5%;
    }
    .modal-article-header h1 {
        font-size: 2.4rem;
    }
    .modal-hero-image-wrap img {
        max-height: 320px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 0.9rem 1.2rem;
    }
    .logo-text {
        font-size: 1rem;
    }
    .dynamic-headline {
        font-size: 2.6rem;
        letter-spacing: -1px;
        gap: 8px;
    }
    .hero h2.typewriter {
        font-size: 1.4rem;
    }
    .hero-subtitle {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    .section-title {
        font-size: 0.75rem;
        padding: 0.7rem 1.4rem;
    }
    .services-grid, .feedback-grid {
        grid-template-columns: 1fr;
    }
    .service-card, .project-card, .feedback-card {
        padding: 1.8rem;
    }
    .projects-title {
        font-size: 1.8rem;
    }
    .projects-subtitle {
        font-size: 1rem;
    }
    .card-bg-number {
        font-size: 6rem;
    }
    .contact-grid-container {
        gap: 24px;
    }
    .contact-form-column {
        padding: 24px;
    }
    .contact-form-column h2 {
        font-size: 1.6rem;
    }
    .footer-bottom p {
        font-size: 0.8rem;
    }
}

@media (max-width: 640px) {
    .blog-header-center .section-title,
    .modal-article-header h1 {
        font-size: 2rem;
    }
    .blog-search-bar-wrap {
        flex-direction: column;
        align-items: stretch;
    }
    .search-input-group {
        min-width: 0;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .modal-content {
        padding: 5rem 1.2rem;
    }
    .modal-meta-row {
        flex-wrap: wrap;
        gap: 0.8rem;
        row-gap: 0.4rem;
    }
    .detailed-author-card {
        padding: 1.8rem !important;
        gap: 1.5rem !important;
    }
    .article-newsletter {
        padding: 2.5rem 1.5rem !important;
    }
}

@media (max-width: 480px) {
    body {
        overflow-x: hidden;
    }
    .hero-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
    .dynamic-headline {
        font-size: 2.1rem;
    }
    .hero h2.typewriter {
        font-size: 1.2rem;
    }
    .about-bento {
        gap: 1rem;
    }
    .bento-card {
        padding: 1.4rem;
    }
    .stat-number {
        font-size: 2.6rem;
    }
    .footer-container {
        gap: 2rem;
    }
    .footer-links-group {
        gap: 1.5rem;
    }
    .contact-page-wrapper {
        padding: 90px 4% 50px 4%;
    }
    .info-card {
        padding: 16px;
        gap: 14px;
    }
    .modern-contact-form input,
    .modern-contact-form select,
    .modern-contact-form textarea {
        padding: 13px;
    }
    .faq-question {
        padding: 1.2rem 1.4rem;
        font-size: 1rem;
    }
    .faq-answer {
        padding: 0 1.4rem;
    }
    .faq-item:hover .faq-answer {
        padding: 1.2rem 1.4rem;
    }
}

@media (max-width: 380px) {
    .dynamic-headline {
        font-size: 1.8rem;
    }
    .nav-links a {
        font-size: 1.25rem;
    }
    .logo-text {
        display: none;
    }
}

