:root {
    --bg: #ffffff;
    --text-dark: #111111;
    --text-muted: #444444;
    --accent: #6c5ce7;
    --border: #ededed;
    --shadow: 0 20px 40px rgba(17, 17, 17, 0.05);
    font-size: 16px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text-muted);
    line-height: 1.7;
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
    height: auto;
}

.container {
    width: min(1200px, 100% - 48px);
    margin: 0 auto;
}

.site-header {
    padding: 24px 0 12px;
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    font-weight: 500;
    cursor: pointer;
    padding: 12px 20px;
    border-radius: 8px;
    transition: transform 0.2s ease, background 0.2s ease;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn--dark {
    background: var(--text-dark);
    color: #ffffff;
}

.btn--accent {
    background: var(--accent);
    color: #ffffff;
}

.btn--accent:hover {
    background: #5a4bda;
}

.icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--text-dark);
    color: #ffffff;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0 12px;
}

.icon-btn span {
    display: block;
    width: 20px;
    height: 2px;
    background: #ffffff;
    margin: 0 auto;
}

.hero {
    position: relative;
    padding: 96px 0 80px;
    background: var(--bg);
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(17, 17, 17, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(17, 17, 17, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.6;
    pointer-events: none;
}

.hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(16px, 3vw, 28px);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__text h1 {
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero__text {
    max-width: 640px;
    padding-left: clamp(32px, 5vw, 80px);
    align-self: flex-start;
    margin-top: -20px;
}

@media (max-width: 640px) {
    .hero__text {
        padding-left: 0;
        margin-top: 0;
    }
}

.hero__text .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    margin-bottom: 16px;
    color: var(--text-muted);
}

.location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.body {
    margin-bottom: 18px;
    font-size: 1rem;
    text-align: justify;
}

.hero__text .btn {
    margin-top: 20px;
}

.hero__highlights {
    list-style: none;
    margin: 10px 0 0;
    padding-left: 0;
    display: grid;
    gap: 8px;
    color: var(--text-dark);
    font-weight: 500;
}

.hero__highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero__highlights li::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
}

.hero__image {
    display: flex;
    justify-content: flex-end;
    align-self: stretch;
}

.portrait-card {
    width: min(420px, 100%);
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: var(--shadow);
}

.about-highlight {
    padding: 90px 0;
    background: #fdfcff;
    position: relative;
    overflow: hidden;
}

.about-highlight__inner {
    display: grid;
    grid-template-columns: minmax(180px, 240px) 1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
    position: relative;
}

.about-highlight__cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.about-highlight__content {
    position: relative;
    z-index: 2;
}

.about-highlight__btn {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.35);
}

.about-highlight__content h2 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.about-highlight__content p {
    font-size: 1rem;
    color: #3c3c3c;
    line-height: 1.7;
    margin-bottom: 16px;
}

.about-highlight__quote {
    font-style: italic;
    font-weight: 600;
    color: #555555;
}

.orbit-icon {
    position: absolute;
    width: 48px;
    height: 48px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.orbit-icon i {
    font-size: 48px;
    line-height: 1;
}

.orbit-icon--one {
    top: 32px;
    left: 18%;
    color: #61DAFB;
}

.orbit-icon--two {
    top: 20px;
    right: 18%;
    color: #3178C6;
}

.orbit-icon--three {
    bottom: 30px;
    right: 12%;
    color: #339933;
}

.orbit-icon--four {
    bottom: 40px;
    left: 10%;
    color: #092E20;
}

@media (min-width: 992px) {
    .hero__grid {
        grid-template-columns: 1.05fr 0.95fr;
    }
}

.section {
    padding: 80px 0;
}

.section__label {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    color: #777777;
    margin-bottom: 12px;
}

.section__header h2,
.section h2 {
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.about__wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: clamp(32px, 5vw, 60px);
    align-items: start;
}

.about__intro {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.stat {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
}

.stat__value {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
}

.stat__label {
    font-size: 0.9rem;
    color: #666666;
}

.about__panel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.detail-card {
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-card--accent {
    background: #f6f3ff;
    border-color: #ded5ff;
}

.detail-card__label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #7a7a7a;
}

.detail-card ul,
.detail-card ol {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 8px;
}

.detail-card ol {
    counter-reset: steps;
}

.detail-card ol li {
    counter-increment: steps;
    position: relative;
    padding-left: 28px;
}

.detail-card ol li::before {
    content: counter(steps);
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip-grid span {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 6px 14px;
    font-size: 0.9rem;
}

.about__note {
    margin-top: 16px;
    color: #666666;
}

.expertise-simple {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
}

.expertise-card {
    flex: 1 1 260px;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expertise-card h3 {
    color: var(--text-dark);
}

.expertise-card p {
    color: #555555;
}

.expertise-card ul {
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: var(--text-muted);
}

.work__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.work-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: border 0.2s ease, transform 0.2s ease;
}

.work-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.work-card:hover {
    border-color: #cccccc;
    transform: translateY(-4px);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.85rem;
}

.card-actions {
    display: flex;
    gap: 16px;
}

.text-link {
    color: var(--text-dark);
    font-weight: 500;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.service-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.approach__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.approach-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    background: #ffffff;
}

.approach-card h3 {
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section--contact {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.contact__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.socials {
    display: flex;
    gap: 16px;
}

.site-footer {
    padding: 40px 0 30px;
}

.site-footer--dark {
    background: #050505;
    color: #f5f5f5;
}

.footer__cta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.footer__prompt {
    font-size: 1rem;
    color: #c3c3c3;
}

.footer__email {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    color: var(--accent);
    font-weight: 600;
    width: fit-content;
    transition: opacity 0.2s ease;
}

.footer__email:hover {
    opacity: 0.8;
}

.footer-card {
    background: #7563f6;
    border-radius: 20px;
    padding: clamp(24px, 4vw, 32px);
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.footer-card__brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.footer-card__role {
    color: #f2f2ff;
    font-weight: 600;
    margin-top: 4px;
}

.footer-card__copy {
    margin-top: 16px;
    color: #f8f8ff;
    max-width: 420px;
}

.footer-card__right {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-social {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.footer-social svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
}

.footer-social:hover {
    transform: translateY(-2px);
    border-color: #ffffff;
}

.footer__meta {
    margin-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #9a9a9a;
    flex-wrap: wrap;
    gap: 12px;
}

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    background: #111111;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    z-index: 20;
}

.toast--active {
    opacity: 1;
    transform: translateY(0);
}

.drawer,
.drawer__overlay {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.drawer {
    z-index: 40;
}

.drawer__overlay {
    z-index: 30;
}

.drawer {
    width: 280px;
    background: #ffffff;
    border-left: 1px solid var(--border);
    padding: 24px;
    transform: translateX(100%);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.drawer__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-dark);
}

.drawer__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.drawer__close span {
    background: var(--text-dark);
    height: 2px;
    width: 20px;
    display: block;
}

.drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.drawer__link {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 500;
}

.drawer--open {
    transform: translateX(0);
}

.drawer__overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
}

.drawer__overlay--visible {
    opacity: 1;
    pointer-events: all;
}

.whatsapp {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25d366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
    z-index: 25;
}

/* Projects Section */
.projects__header {
    margin-bottom: 48px;
    text-align: left;
}

.projects__header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.projects__subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.projects__layout {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 60px;
    align-items: start;
}

.projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.projects__sidebar {
    position: sticky;
    top: 40px;
    padding-top: 10px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    scrollbar-width: thin;
}

.sidebar-group {
    margin-bottom: 40px;
}

.sidebar-group h3 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 16px;
    font-weight: 600;
}

.category-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-dark);
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.2s ease;
}

.category-btn .count {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.category-btn:hover {
    background: #f5f5f5;
}

.category-btn.active {
    background: var(--text-dark);
    color: #ffffff;
}

.category-btn.active .count {
    color: rgba(255, 255, 255, 0.6);
}

.sidebar-note {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .projects__layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects__sidebar {
        position: static;
        order: -1;
        display: flex;
        overflow-x: auto;
        gap: 32px;
        padding-bottom: 20px;
        border-bottom: 1px solid #eee;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .projects__sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar-group {
        margin-bottom: 0;
        min-width: max-content;
    }

    .category-list {
        flex-direction: row;
        gap: 8px;
    }

    .category-btn {
        background: #f5f5f5;
        padding: 8px 16px;
        border-radius: 100px;
    }
    
    .category-btn.active {
        background: var(--text-dark);
        color: white;
    }
}

.project-card {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
    transition: none;
}

.project-card:hover {
    transform: none;
    box-shadow: none;
}

.project-card:hover .project-card__image {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-card__image {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 16px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

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

.project-card:hover .project-card__image img {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-card__overlay {
    opacity: 1;
}

.project-card__content {
    padding: 24px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.project-card__content h3 {
    color: var(--text-dark);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
}

.project-card__year {
    font-size: 0.9rem;
    color: #999;
    font-weight: 500;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
}

.project-card__content p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
    max-width: 90%;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.project-card__tags span {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(108, 92, 231, 0.15);
    font-size: 0.85rem;
    color: var(--primary);
    background: rgba(108, 92, 231, 0.05);
    font-weight: 500;
}

.btn--white {
    background: #fff;
    color: var(--text-dark);
    border: none;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

.btn--white:hover {
    transform: scale(1.05);
}

.services-section {
    background: #fdfbff;
}

.services__header {
    margin-bottom: 60px;
    max-width: 600px;
}

.services__subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--border);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: #ddd;
}

.service-card__number {
    font-size: 3rem;
    font-weight: 800;
    color: #f0f0f0;
    line-height: 1;
    margin-bottom: auto;
    font-family: inherit;
    position: absolute;
    top: 30px;
    right: 30px;
}

.service-card:hover .service-card__number {
    color: var(--accent);
    opacity: 0.1;
}

/* Spacer for number */
.service-card__content {
    margin-top: 40px; 
}

.service-card__content h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.service-card__content p {
    color: #555;
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.service-card__features {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 24px;
}

.service-card__features li {
    font-size: 0.9rem;
    color: var(--text-dark);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card__features li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.philosophy {
    border-top: 2px solid #c7b6ff;
    border-bottom: 2px solid #c7b6ff;
    background: #ffffff;
}

.philosophy__inner {
    display: grid;
    grid-template-columns: minmax(140px, 200px) 1fr;
    gap: clamp(24px, 6vw, 80px);
    align-items: start;
}

.philosophy__label {
    letter-spacing: 0.3em;
    text-transform: lowercase;
    color: #6c5ce7;
    font-size: 0.8rem;
    margin-top: 8px;
}

.philosophy__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.philosophy__headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    color: #111111;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.philosophy__line {
    display: block;
}

.philosophy__line--muted {
    color: #b5b5b5;
    font-weight: 600;
}

.philosophy__quote {
    color: #7a5af8;
    font-weight: 500;
}

.philosophy__body {
    max-width: 620px;
    color: #4a4a4a;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .philosophy__inner {
        grid-template-columns: 1fr;
    }

    .philosophy__label {
        letter-spacing: 0.2em;
    }
}

.experience {
    background: #fafafa;
}

.experience__header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.experience__header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
}

.experience__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: clamp(24px, 4vw, 48px);
}

.experience-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-right: clamp(0px, 2vw, 24px);
}

.experience-card__period {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #8a8a8a;
}

.experience-card h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.experience-card__company {
    color: #6c6c6c;
    font-size: 0.95rem;
}

.experience-card__body {
    color: #373737;
    line-height: 1.6;
}

.tools {
    background: #ffffff;
    text-align: center;
}

.tools__label {
    margin-bottom: 40px;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
}

.tools__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 32px;
    align-items: center;
    justify-items: center;
}

.tool {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #555555;
    font-size: 0.95rem;
}

.tool__icon {
    width: 68px;
    height: 68px;
    border-radius: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.tool__icon--html { background: #f16c3d; }
.tool__icon--css { background: #3a84f7; }
.tool__icon--js { background: #f5d547; color: #111111; }
.tool__icon--react { background: #61dafb; color: #0b2b33; font-size: 1.4rem; }
.tool__icon--next { background: #111111; }
.tool__icon--tailwind { background: #34d0d1; }
.tool__icon--firebase { background: #fbbc05; color: #111111; }
.tool__icon--wordpress { background: #21759b; }
.tool__icon--figma { background: #f24e1e; }
.tool__icon--elementor { background: #d33c7f; }
.tool__icon--woo { background: #9661a6; font-size: 0.9rem; }
.tool__icon--github { background: #24292f; }

.quick-answers {
    background: #f6f4ff;
}

.quick-answers__header {
    text-align: center;
    margin-bottom: 48px;
}

.quick-answers__header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.quick-answers__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.qa-card {
    border-radius: 28px;
    background: #7c6ce7;
    color: #ffffff;
    padding: 0 28px;
    box-shadow: 0 25px 45px rgba(124, 108, 231, 0.35);
    position: relative;
    transition: border-radius 0.2s;
}

.qa-card[open] {
    border-radius: 28px 28px 0 0;
    z-index: 100;
}

.qa-card summary {
    list-style: none;
    cursor: pointer;
    padding: 24px 0;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1; /* Keep text above background */
}

.qa-card summary::-webkit-details-marker {
    display: none;
}

.qa-card summary::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.2s ease;
}

.qa-card[open] summary::after {
    transform: rotate(45deg);
}

.qa-card p {
    padding-bottom: 24px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 0.95rem;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #7c6ce7;
    padding: 0 28px 24px 28px;
    border-radius: 0 0 28px 28px;
    box-shadow: 0 25px 45px rgba(124, 108, 231, 0.35);
    z-index: 99;
    margin-top: -1px; /* Stitch seam */
}

@media (max-width: 768px) {
    .header__inner {
        gap: 16px;
    }

    .hero {
        padding-top: 40px;
    }

    .hero__image {
        justify-content: flex-start;
    }

    .about-highlight__inner {
        grid-template-columns: 1fr;
    }

    .orbit-icon {
        display: none;
    }

    .projects__controls {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .projects__grid {
        grid-template-columns: 1fr;
    }

    .contact__inner {
        gap: 32px;
    }

    .footer__inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-card__right {
        justify-content: flex-start;
    }

    .footer__email {
        font-size: 1.75rem;
    }
}
/* About Page */
.about-page__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.about-page__header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.about-page__header p {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
}

.about-page__grid {
    display: grid;
    gap: 3rem;
    align-items: start;
}

.about-page__image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
    object-fit: cover;
    /* Basic shadow or styling to make it look nice even if just a placeholder */
    background-color: #eee;
    min-height: 300px;
}

.about-page__content {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-color);
}

.about-page__content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.about-page__content strong {
    font-weight: 700;
    color: var(--heading-color);
}

/* Responsive Grid */
@media (min-width: 768px) {
    .about-page__grid {
        grid-template-columns: 1fr 1fr;
        align-items: center; 
    }
}


/* About Page Extras */
.about-divider {
    border: 0;
    border-top: 3px solid var(--border);
    margin: 8rem 0;
}

.about-extras {
    display: grid;
    gap: 3rem;
    margin-bottom: 5rem;
}

.about-extra h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.about-extra p {
    color: var(--text-muted);
    line-height: 1.6;
}

.about-section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

@media (min-width: 768px) {
    .about-extras {
        grid-template-columns: 1fr 1fr;
    }
}


/* Testimonial Card */
.testimonial-card {
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 5rem;
    position: relative;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.testimonial-icon svg {
    width: 40px;
    height: 40px;
    fill: var(--accent);
    margin-bottom: 2rem;
    display: block;
}

.testimonial-content p {
    font-size: 1.5rem;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 2rem;
    font-weight: 500;
}

.testimonial-author {
    margin-bottom: 3rem;
    font-size: 1rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    font-weight: 700;
}

.testimonial-author span {
    color: var(--text-muted);
}

.testimonial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.testimonial-dots span {
    width: 32px;
    height: 6px;
    background: #E5E7EB;
    border-radius: 4px;
    display: block;
    transition: background 0.3s;
}

.testimonial-dots span.active {
    background: var(--accent);
    width: 24px;
}

.testimonial-nav {
    display: flex;
    gap: 12px;
}

.testimonial-nav button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s ease;
}

.testimonial-nav button:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .testimonial-card {
        padding: 2rem;
    }
    .testimonial-content p {
        font-size: 1.25rem;
    }
    .testimonial-footer {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }
    .testimonial-nav {
        width: 100%;
        justify-content: flex-end;
    }
}


/* About Page Navigation Active State */
.drawer__link[href='about.html'],
.header__nav .nav-link[href='about.html'] {
    /* Assuming there's a specific style for active state, if not we add one or rely on JS.
       For now, let's just make sure the mobile drawer treats it appropriately if JS toggles classes.
       Actually, standard HTML/CSS approach: */
}
/* Let's fix the header to actually have nav links if index has them?
   Wait, index.html header might just have logo and buttons.
   Let's check index.html header to match. */


/* Active Navigation State */
.drawer__link--active {
    color: var(--text-dark);
    font-weight: 600;
    position: relative;
}

.drawer__link--active::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background-color: var(--accent);
    border-radius: 50%;
}


/* Projects Page */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.projects-grid {
    display: grid;
    gap: 3rem;
}

.project-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.project-card__image {
    height: 240px;
    width: 100%;
    background-color: #f9fafb;
}

.project-card__content {
    padding: 2rem;
}

.project-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.project-card__desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.project-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.project-card__tags span {
    background: #f3f4f6;
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
}

.project-card__links {
    display: flex;
    gap: 1.5rem;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.2s;
}

.btn-link:hover {
    color: var(--accent);
}

@media (min-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Filter Buttons */
.projects-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--text-dark);
    color: var(--text-dark);
}

.filter-btn.active {
    background: var(--text-dark);
    color: #fff;
    border-color: var(--text-dark);
}


/* Contact Page */
.contact-layout {
    display: grid;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .contact-layout {
        grid-template-columns: 3fr 2fr;
        align-items: start;
    }
}

.contact-form {
    background: #fff;
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: #f9fafb;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.btn--block {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 1rem;
}

.contact-info__card {
    background: #f9fafb;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.contact-info__card h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-info__card p {
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    padding: 0.75rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

.social-link svg {
    color: var(--text-muted);
}

.social-link:hover svg {
    color: var(--accent);
}


.btn--outline {
    background: transparent;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.btn--outline:hover {
    background: var(--text-dark);
    color: #fff;
}


/* --- Mobile Optimization Overrides --- */

@media (max-width: 768px) {
    /* Improve Footer Stacking */
    .footer-card {
        flex-direction: column;
        text-align: left;
        align-items: flex-start;
        padding: 32px 24px;
    }

    .footer-card__left {
        width: 100%;
        margin-bottom: 24px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-card__copy {
        margin-left: 0;
        margin-right: 0;
    }

    .footer-card__right {
        width: 100%;
        justify-content: flex-start;
        gap: 12px;
    }

    /* Improve About Section centering */
    .about-highlight__inner {
        text-align: center;
    }

    .about-highlight__image {
        margin: 0 auto;
        justify-content: center;
    }
    
    .about-highlight__cta {
        align-items: center;
    }

    /* General Padding Adjustments */
    .section {
        padding: 60px 0;
    }

    .hero {
        padding: 64px 0 48px;
    }

    .hero__text h1 {
        font-size: 2.5rem;
    }
    
    /* Ensure Header content doesn't break */
    .header__inner {
        flex-wrap: nowrap; /* Prevent logo and burger from wrapping */
    }
}

@media (max-width: 480px) {
    .container {
        width: 100%;
        padding: 0 20px;
    }

    .hero__text h1 {
        font-size: 2rem;
    }
    
    .footer__email {
        font-size: 1.25rem;
    }

    .projects__layout {
        gap: 32px;
    }

    .footer-social {
        width: 40px;
        height: 40px;
    }
}


@media (max-width: 768px) {
    /* Hero Image First on Mobile */
    .hero__image {
        order: -1;
        justify-content: center;
        margin-bottom: 32px;
    }
    
    .hero__text {
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        padding-left: 0; 
    }

    .hero__text .location {
        justify-content: center;
    }
    
    .hero__text .body {
        text-align: justify;
        max-width: 100%; /* Ensure it takes full width for justification to look right */
    }

    .projects__header {
        text-align: center;
    }

    .services__header {
        text-align: center;
    }

    .philosophy__inner {
        text-align: center;
        /* Center content if they are block elements */
        justify-items: center; 
    }

    .experience__header {
        text-align: center;
    }

    .experience-card {
        align-items: center;
        text-align: center;
    }

    .experience-card__body {
        text-align: justify;
    }
}

/* Mobile Marquee Animation */
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .tools {
        overflow: hidden; /* Hide scrollbar */
        width: 100%;
    }

    .tools .container {
        width: 100%;
        padding: 0;
        max-width: 100%;
    }

    .tools__grid {
        display: flex; /* Override grid */
        width: max-content; /* Allow full width of content */
        gap: 32px;
        animation: scroll 20s linear infinite;
        grid-template-columns: none;
        padding: 0 16px; /* Optional initial padding */
    }

    .tool {
        flex-shrink: 0;
        width: 120px;
    }
}


@media (max-width: 768px) {
    .about-extra {
        text-align: center;
        margin-bottom: 32px; /* Add some spacing between sections if stacked */
    }
}


@media (max-width: 768px) {
    .about-section-title {
        text-align: center;
    }

    .testimonial-content p {
        text-align: justify;
    }
}


/* Fixed Hamburger Toggler */
#open-drawer {
    position: fixed;
    top: 24px;
    right: 24px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Add shadow for visibility over content */
}

@media (max-width: 480px) {
    #open-drawer {
        right: 20px;
    }
}


/* Prevent hamburger overlap on smaller screens */
@media (max-width: 1280px) {
    .header__actions {
        padding-right: 60px;
    }
}

