
/* =====================================
   1. GLOBAL SETTINGS
===================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@500;600;700&display=swap');

:root {
    --forest: #173D2D;
    --forest-light: #24543D;
    --sage: #A8BFA5;
    --sage-light: #E4EBE1;
    --cream: #F6F5EF;
    --white: #FFFFFF;
    --text: #27352C;
    --muted: #758078;
    --border: #E2E7DF;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.7;
}

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

ul {
    list-style: none;
}

section {
    scroll-margin-top: 90px;
}

/* =====================================
   2. NAVIGATION BAR
===================================== */

header {
    background: var(--cream);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 18px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    display: block;
}

.logo span {
    color: #91AA88;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-size: 13px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #73936F;
}

/* NAVIGATION BUBBLE HOVER EFFECT */

.nav-links a {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    background-color: #e4ebe1;
    color: #173d2d;
    transform: translateY(-3px);
}

.nav-links a.active {
    background-color: #e4ebe1;
    color: #173d2d;
    border-radius: 30px;
}

.nav-button {
    background: var(--forest);
    color: white;
    padding: 11px 22px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.nav-button:hover,
.primary-button:hover {
    background: var(--forest-light);
    transform: translateY(-2px);
}

/* =====================================
   3. HERO SECTION
===================================== */

.hero {
    min-height: 640px;
    background: var(--forest);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    padding: 90px max(calc((100% - 1100px) / 2), 8%);
}

.hero-content {
    max-width: 650px;
}

.eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    color: #8FAA8A;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.16;
    font-weight: 600;
    margin-bottom: 25px;
}

.hero h1 span {
    display: block;
    color: var(--sage);
}

.hero-description {
    color: #D5DED5;
    max-width: 550px;
    font-size: 15px;
    margin-bottom: 32px;
}

.hero-buttons,
.contact-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.primary-button,
.secondary-button {
    display: inline-block;
    padding: 13px 25px;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 700;
    transition: 0.3s ease;
}

.primary-button {
    background: var(--sage);
    color: var(--forest);
}

.primary-button:hover {
    background: #BED0BA;
}

.secondary-button {
    border: 1px solid #A8BFA5;
    color: white;
}

.secondary-button:hover {
    background: rgba(255,255,255,0.1);
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 35px;
    color: #D5DED5;
    font-size: 12px;
}

.availability-dot {
    width: 9px;
    height: 9px;
    background: #A8D6A1;
    border-radius: 50%;
}

/* =====================================
   4. PROFILE CARD
===================================== */

.hero-card {
    background: var(--cream);
    color: var(--forest);
    width: 290px;
    min-width: 260px;
    padding: 35px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.18);
}

.profile-placeholder {
    width: 115px;
    height: 115px;
    border-radius: 50%;
    background: var(--sage-light);
    border: 5px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.profile-placeholder span {
    font-family: 'Playfair Display', serif;
    font-size: 35px;
    color: var(--forest);
}

.hero-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
}

.hero-card p {
    font-size: 12px;
    color: var(--muted);
}

.profile-divider {
    height: 1px;
    background: var(--border);
    margin: 25px 0;
}

.profile-stat strong {
    display: block;
    font-size: 22px;
}

.profile-stat span {
    font-size: 12px;
    color: var(--muted);
}

/* =====================================
   5. GENERAL SECTIONS
===================================== */

.section {
    padding: 100px 30px;
}

.section-heading {
    max-width: 750px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2,
.contact-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 4vw, 43px);
    line-height: 1.3;
    color: var(--forest);
    margin-bottom: 18px;
}

.section-heading > p:not(.eyebrow) {
    color: var(--muted);
    font-size: 14px;
}

/* =====================================
   6. ABOUT SECTION
===================================== */

.about-section {
    background: white;
}

.about-content {
    max-width: 800px;
    margin: auto;
    text-align: center;
}

.about-content p {
    font-size: 15px;
    color: #68746B;
    margin-bottom: 20px;
}

/* =====================================
   7. SERVICES SECTION
===================================== */

.services-section {
    background: var(--cream);
}

.services-grid {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: white;
    padding: 32px 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    transition: 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--sage);
    box-shadow: 0 12px 30px rgba(23,61,45,0.08);
}

.service-number {
    color: #829D7D;
    font-size: 13px;
    font-weight: 700;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    color: var(--forest);
    margin: 18px 0 12px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
}

/* =====================================
   8. PORTFOLIO SECTION
===================================== */

.portfolio-section {
    background: white;
}

/* Portfolio Section Layout Fix */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 35px;
}

.portfolio-card {
    background: #ffffff;
    border: 1px solid #e4ebE1;
    border-radius: 16px;
    padding: 28px;
    height: 100%;
    box-sizing: border-box;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.portfolio-category {
    color: #52745c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.portfolio-card h3 {
    color: #173d2d;
    font-size: 20px;
    margin-bottom: 14px;
}

.portfolio-card p {
    color: #666666;
    font-size: 14px;
    line-height: 1.8;
}

.portfolio-tools {
    color: #52745c;
    font-size: 12px;
    font-weight: 600;
    margin-top: auto;
    padding-top: 18px;
}

.portfolio-disclaimer {
    text-align: center;
    color: #777777;
    font-size: 13px;
    margin-top: 30px;
}

@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

/* =====================================
   9. TOOLS SECTION
===================================== */

.tools-section {
    background: var(--sage-light);
}

.tools-list {
    max-width: 950px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.tools-list span {
    background: white;
    color: var(--forest);
    padding: 12px 22px;
    border: 1px solid #D6E1D3;
    border-radius: 5px;
    font-size: 13px;
    font-weight: 600;
    transition: 0.3s;
}

.tools-list span:hover {
    background: var(--forest);
    color: white;
}

/* =====================================
   10. EXPERIENCE SECTION
===================================== */

.experience-section {
    background: white;
}

.experience-card {
    max-width: 800px;
    margin: auto;
    padding: 40px;
    border-left: 4px solid var(--sage);
    background: var(--cream);
    border-radius: 5px;
}

.experience-date {
    color: #789573;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.experience-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--forest);
    font-size: 25px;
    margin: 12px 0;
}

.experience-company {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 25px;
}

.experience-card ul {
    list-style: disc;
    padding-left: 20px;
}

.experience-card li {
    color: #68746B;
    font-size: 14px;
    margin-bottom: 10px;
}

/* =====================================
   11. CONTACT SECTION
===================================== */

.contact-section {
    background: var(--forest);
    color: white;
    text-align: center;
}

.contact-section .eyebrow {
    color: var(--sage);
}

.contact-section h2 {
    color: white;
    max-width: 750px;
    margin: 0 auto 20px;
}

.contact-section > p:not(.eyebrow) {
    color: #D5DED5;
    max-width: 650px;
    margin: 0 auto 30px;
    font-size: 14px;
}

.contact-buttons {
    justify-content: center;
}

.contact-section .secondary-button {
    border-color: var(--sage);
}

/* =====================================
   12. FOOTER
===================================== */

.footer {
    background: #102C20;
    color: #CBD7CA;
    padding: 25px;
    text-align: center;
    font-size: 11px;
}

.footer p + p {
    margin-top: 5px;
    color: #8FA58F;
}

/* =====================================
   13. RESPONSIVE DESIGN
===================================== */

@media (max-width: 900px) {

    .hero {
        padding: 75px 35px;
        gap: 35px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 650px) {

    .navbar {
        flex-wrap: wrap;
        gap: 15px;
        padding: 15px 20px;
    }

    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .nav-button {
        padding: 9px 14px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 70px 25px;
    }

    .hero-buttons,
    .hero-note {
        justify-content: center;
    }

    .hero-card {
        width: 100%;
        max-width: 300px;
    }

    .section {
        padding: 70px 22px;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .experience-card {
        padding: 28px 22px;
    }

    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-buttons a {
        width: 100%;
        max-width: 260px;
        text-align: center;
    }
}
.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}



/* TWO-ROW ANIMATED TOOLS LOGOS - GAP FIX */

.tools-marquee {
    width: 100%;
    overflow: hidden;
    margin-top: 25px;
    padding: 15px 0;
}

.tools-track {
    display: flex;
    width: max-content;
    will-change: transform;
}

.tools-track-left {
    animation: tools-scroll-left 35s linear infinite;
}

.tools-track-right {
    animation: tools-scroll-right 35s linear infinite;
}

.tools-group {
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-shrink: 0;
    width: max-content;
    min-width: 100vw;
    box-sizing: border-box;
    gap: 18px;
    padding: 0 24px;
}

.tool-item {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 125px;
    min-height: 115px;
    padding: 16px;
    box-sizing: border-box;
    background: #ffffff;
    border: 1px solid #e4ebe1;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(23, 61, 45, 0.06);
    transition: transform 0.3s ease;
}

.tool-item:hover {
    transform: translateY(-5px);
}

.tool-item img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.tool-item span {
    color: #173d2d;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
}

.tool-initial {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background: #173d2d;
    color: #ffffff !important;
    border-radius: 10px;
    font-size: 20px !important;
}

.tools-marquee:hover .tools-track {
    animation-play-state: paused;
}

@keyframes tools-scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@keyframes tools-scroll-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

@media (max-width: 650px) {
    .tools-group {
        gap: 12px;
        padding: 0 12px;
    }

    .tool-item {
        min-width: 105px;
        min-height: 100px;
        padding: 12px;
    }

    .tool-item img {
        width: 30px;
        height: 30px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tools-track {
        animation: none;
    }
}
