/* ===== Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

/* ===== Shared buttons ===== */
.btn {
    background: #ff6600;
    color: white;
    padding: 0.65rem 1.1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    display: inline-block;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
}

.btn:hover,
.btn:focus {
    background: #e65c00;
}

.btn-secondary {
    border: 2px solid #ff6600;
    background: transparent;
    color: #ff6600;
    padding: 0.7rem 1.25rem;
    cursor: pointer;
    border-radius: 6px;
    display: inline-block;
    font-size: 16px;
    font-family: 'Times New Roman', Times, serif;
}

/* ===== Shared inner-page header (portfolio + about) ===== */
.site-header {
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.header-content .logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6600;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 1rem;
}

/* ===== Home leftovers already used from this file ===== */
.image-placeholder {
    height: 400px;
    background: #f0f0f0;
    position: relative;
    margin: 3%;
}

.text {
    align-items: center;
    font-family: 'Times New Roman', Times, serif;
}

.text p {
    font-size: 16px;
    line-height: 150%;
    margin: 3%;
    margin-bottom: 8%;
}

.text h3 {
    font-size: 24px;
    margin-left: 25%;
}

.text a {
    align-self: center;
    font-size: 16px;
    margin: 25%;
}

.stats {
    background: #232f3e;
    color: #FCA914;
    padding: 2rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat {
    text-align: center;
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.projects-title {
    font-size: 24px;
    margin-bottom: 5%;
    margin-left: 39%;
    align-items: center;
    font-family: 'Times New Roman', Times, serif;
}

.projects-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

.projects-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

#discover-work-btn {
    margin-left: 40%;
}

.satisfied {
    background: #ff6600;
    color: white;
    padding: 2rem;
    border-radius: 8px;
    align-items: center;
}

.satisfied h3 {
    margin-bottom: 1rem;
    margin-left: 40%;
}

.drop-btn {
    background: white;
    color: #ff6600;
    padding: 0.5rem 1rem;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
    margin-left: 40%;
}

@media (max-width: 760px) {
    .text a {
        font-size: 16px;
    }

    .text h3 {
        font-size: 20px;
    }

    .satisfied h3 {
        font-size: 20px;
        margin-bottom: 1rem;
        margin-left: 15%;
    }

    .drop-btn {
        margin-left: 30%;
    }

    .projects-title {
        font-size: 20px;
        margin-bottom: 3%;
        margin-left: 10%;
    }

    #discover-work-btn {
        margin-left: 10%;
        font-size: 16px;
    }
}

/* ===== Footer ===== */
.footer-bottom {
    background: linear-gradient(180deg, #232f3e 0%, #1a2332 100%);
    text-align: center;
    padding: 1.5rem 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 102, 0, 0.2);
    font-family: 'Times New Roman', Times, serif;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: #aaa;
}

.footer-bottom a {
    color: #ff6600;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* =========================================================
   Home
   ========================================================= */
html:has(.page-home),
.page-home {
    max-width: 100%;
    overflow-x: hidden;
}

.page-home .top-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: white;
    color: black;
    width: 100%;
    box-sizing: border-box;
}

.page-home .logo {
    flex: 0 0 auto;
    margin-right: 85%;
    margin-top: 15px;
}

.page-home .logo img {
    height: 60px;
    max-width: 100%;
    display: block;
}

.page-home .bottom-nav {
    display: flex;
    justify-content: flex-start;
    background-color: #232f3e;
    color: white;
    padding: 10px;
    width: 70%;
    margin-left: 20%;
    overflow-x: auto;
    box-sizing: border-box;
}

.page-home .nav-link {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    white-space: nowrap;
    background-color: #232f3e;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
}

.page-home .contact-btn {
    background: white;
    border: none;
    color: #ff6600;
    font-weight: bold;
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    text-decoration: none;
    padding: 5px;
    cursor: pointer;
    margin-left: 45%;
}

.page-home .hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #000;
    margin-left: 80%;
    z-index: 10001;
}

.page-home .fab {
    position: fixed;
    right: 30px;
    bottom: 25px;
    z-index: 13000;
    display: flex;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.page-home .fab .fab-toggle {
    pointer-events: auto;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ff6f00, #ff4500);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
    border: none;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    margin-right: 10px;
    margin-bottom: 20px;
}

.page-home .fab .fab-toggle:focus,
.page-home .fab .fab-toggle:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
    outline: none;
}

.page-home .fab .fab-toggle i {
    font-size: 20px;
}

.page-home .fab .fab-menu {
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 8px;
    background: transparent;
    transform-origin: bottom right;
}

.page-home .fab .fab-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.page-home .fab .fab-item i {
    width: 20px;
    text-align: center;
}

.page-home .fab .fab-menu[hidden] {
    display: none;
}

.page-home .fab .fab-item svg {
    width: 18px;
    height: 18px;
    display: block;
    flex: 0 0 18px;
}

@media (max-width: 420px) {
    .page-home .fab {
        right: 10px;
        bottom: 10px;
    }

    .page-home .fab .fab-toggle {
        width: 50px;
        height: 50px;
    }
}

@media print {
    .page-home .fab {
        display: none;
    }
}

.page-home .hero {
    background: url('../photo.jpg') center/cover no-repeat;
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    color: #fff;
}

.page-home .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 0;
}

.page-home .hero > * {
    position: relative;
    z-index: 1;
}

.page-home .hero h1 {
    font-size: 64px;
    margin: 3%;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;
}

.page-home .hero h2 {
    font-size: 32px;
}

.page-home .section {
    padding: 3rem 1rem;
    max-width: 90%;
    margin: 0 auto;
}

.page-home .section-title {
    font-size: 32px;
    margin-left: 5%;
    font-family: 'Times New Roman', Times, serif;
}

.page-home .cards {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 1rem 0;
}

.page-home .card {
    flex: 0 0 300px;
    min-width: 230px;
    height: 300px;
    background: #f0f0f0;
    scroll-snap-align: start;
    border-radius: 6px;
}

.page-home .cta-group {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1.25rem;
}

.page-home .hero-title {
    display: flex;
    align-items: center;
    gap: 300px;
    margin-left: 10%;
    justify-content: left;
    flex-wrap: wrap;
}

.page-home .two-col {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: center;
    background: linear-gradient(180deg, #fff, #fbfbfb);
    padding: 1.75rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    max-width: 1000px;
    margin: 0 auto;
}

.page-home .two-col .text {
    padding-right: .6rem;
}

.page-home .two-col .text h3 {
    font-size: 1.6rem;
    margin-bottom: .5rem;
    color: #111;
}

.page-home .two-col .text p {
    color: #444;
    margin-bottom: .75rem;
    line-height: 1.6;
}

.page-home .feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: grid;
    gap: .5rem;
}

.page-home .feature-list li {
    display: flex;
    gap: .6rem;
    align-items: flex-start;
}

.page-home .feature-list li::before {
    content: '\2713';
    color: #ff6600;
    font-weight: 700;
    margin-top: 2px;
}

.page-home .two-col .visual {
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
}

.page-home .two-col .visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .45s ease;
}

.page-home .two-col .visual:hover img {
    transform: scale(1.04);
}

.page-home .cta-group .btn {
    padding: .7rem 1.25rem;
}

.page-home .cta-split {
    display: flex;
    gap: 1rem;
    max-width: 1100px;
    margin: 1.5rem auto;
    height: 260px;
}

.page-home .cta-half {
    flex: 1 1 50%;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    padding: 1.5rem;
    transition: transform .45s cubic-bezier(.2, .9, .2, 1), box-shadow .35s ease;
    cursor: default;
}

.page-home .cta-half:focus-within,
.page-home .cta-half:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
}

.page-home .cta-half .inner {
    max-width: 420px;
    text-align: left;
}

.page-home .cta-half h3 {
    margin: 0 0 .35rem;
    font-size: 1.3rem;
}

.page-home .cta-half p {
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

.page-home .cta-half .btn {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.page-home .cta-half .btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

.page-home .cta-half.apply {
    background: linear-gradient(135deg, #ff7a00 0%, #ff4b00 100%);
}

.page-home .cta-half.learn {
    background: linear-gradient(135deg, #232f3e 0%, #232f3e 100%);
}

.page-home .cta-half::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.04));
    transform: translateY(10%);
    opacity: 0;
    transition: transform .6s ease, opacity .6s ease;
}

.page-home .cta-half:hover::after {
    transform: translateY(0%);
    opacity: 1;
}

@media (max-width: 760px) {
    .page-home .two-col {
        margin-left: 0%;
        gap: 25px;
    }

    .page-home .contact-btn {
        background: none;
    }

    .page-home .hero h1 {
        font-size: 32px;
    }

    .page-home .hero h2 {
        font-size: 24px;
    }

    .page-home h1 {
        font-size: 32px;
    }

    .page-home h2 {
        font-size: 24px;
    }

    .page-home .logo img {
        height: 50px;
    }

    .page-home .logo {
        flex: 0 0 auto;
        margin-right: 2%;
        margin-left: 20px;
    }

    .page-home .top-nav {
        display: grid;
        grid-template-columns: 56px 1fr 56px;
        align-items: center;
        position: relative;
        padding: 6px 10px;
    }

    .page-home .top-nav .logo {
        grid-column: 2;
        justify-self: center;
        position: static;
        margin: 0;
    }

    .page-home .top-nav .logo img {
        height: 48px;
    }

    .page-home .top-nav > div:first-child {
        grid-column: 1;
        justify-self: start;
    }

    .page-home .top-nav .right-links {
        grid-column: 3;
        justify-self: end;
        margin-right: 8px;
    }

    .page-home .bottom-nav {
        display: none;
    }

    .page-home .hamburger {
        display: block;
    }

    .page-home .bottom-nav.open {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        box-sizing: border-box;
        background: #232f3e;
        z-index: 9999;
        padding: 10px;
    }

    .page-home .bottom-nav.open a,
    .page-home .bottom-nav.open .contact-btn {
        display: block;
        margin: 8px 0;
        width: 100%;
        white-space: normal;
    }

    .page-home .section {
        padding: 1rem 1rem;
    }

    .page-home .section-title {
        font-size: 24px;
        margin-left: 1%;
    }

    .page-home .hero-title {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .page-home .card {
        width: 100px;
        height: 200px;
        background: #f0f0f0;
    }

    .page-home .cta-split {
        flex-direction: column;
        height: auto;
    }

    .page-home .cta-half {
        padding: 1rem;
        text-align: center;
    }

    .page-home .cta-half .inner {
        text-align: center;
    }

    .page-home .cta-half h3 {
        font-size: 1.1rem;
    }
}

/* =========================================================
   Portfolio
   ========================================================= */
html:has(.page-portfolio),
.page-portfolio {
    max-width: 100%;
    overflow-x: hidden;
}

.page-portfolio {
    background-color: #f0f0f0;
    color: #222;
}

.page-portfolio .page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 1rem;
}

.page-portfolio .page-intro {
    margin: 0 0 2rem;
    max-width: 640px;
}

.page-portfolio .page-intro h1 {
    margin: 0 0 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: #232f3e;
}

.page-portfolio .page-intro p {
    margin: 0;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
}

.page-portfolio .projects {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.page-portfolio .project {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: center;
    background: #fff;
    padding: 1.75rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.page-portfolio .project:nth-child(even) {
    grid-template-columns: 1fr 280px;
}

.page-portfolio .project:nth-child(even) .project-visual {
    order: 2;
}

.page-portfolio .project-visual img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    max-height: 420px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-portfolio .project-visual picture {
    display: block;
}

.page-portfolio .project-kicker {
    margin: 0 0 0.35rem;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    color: #ff6600;
}

.page-portfolio .project-copy h2 {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    line-height: 1.2;
    color: #232f3e;
}

.page-portfolio .project-copy ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.65rem;
}

.page-portfolio .project-copy li {
    position: relative;
    padding-left: 1.35rem;
    color: #444;
    font-size: 1.05rem;
    line-height: 1.5;
}

.page-portfolio .project-copy li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #ff6600;
}

.page-portfolio .page-cta {
    text-align: center;
    margin: 2.25rem 0 0.5rem;
}

@media (max-width: 760px) {
    .page-portfolio .nav-links {
        display: none;
    }

    .page-portfolio .header-content {
        justify-content: center;
    }

    .page-portfolio .header-content .logo {
        font-size: 1.2rem;
    }

    .page-portfolio .page {
        padding: 1.25rem 1rem 0.5rem;
    }

    .page-portfolio .page-intro h1 {
        font-size: 1.6rem;
    }

    .page-portfolio .page-intro p {
        font-size: 1rem;
    }

    .page-portfolio .project,
    .page-portfolio .project:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 1.1rem;
        padding: 1.15rem;
    }

    .page-portfolio .project:nth-child(even) .project-visual {
        order: 0;
    }

    .page-portfolio .project-visual {
        width: min(100%, 280px);
        margin: 0 auto;
    }

    .page-portfolio .project-visual img {
        max-height: 320px;
    }

    .page-portfolio .project-copy h2 {
        font-size: 1.4rem;
        text-align: center;
    }

    .page-portfolio .project-kicker {
        text-align: center;
    }
}

@media (min-width: 761px) and (max-height: 820px) {
    .page-portfolio .page {
        padding: 1.25rem 1.25rem 0.5rem;
    }

    .page-portfolio .project,
    .page-portfolio .project:nth-child(even) {
        gap: 1.5rem;
        padding: 1.25rem 1.5rem;
    }

    .page-portfolio .project {
        grid-template-columns: 240px 1fr;
    }

    .page-portfolio .project:nth-child(even) {
        grid-template-columns: 1fr 240px;
    }

    .page-portfolio .project-visual img {
        max-height: 360px;
    }

    .page-portfolio .project-copy h2 {
        font-size: 1.5rem;
    }
}

/* =========================================================
   About
   ========================================================= */
.page-about h1,
.page-about h2,
.page-about h3,
.page-about p,
.page-about ul,
.page-about section,
.page-about main,
.page-about footer {
    margin: 0;
    padding: 0;
}

.page-about {
    line-height: 1.6;
    color: #333;
    background-color: #fafafa;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.page-about h1 {
    color: #333;
    font-weight: 600;
    margin-bottom: 1rem;
}

.page-about .hero {
    text-align: center;
    margin: 3rem 0;
    background: linear-gradient(135deg, #ffdab9 0%, #ffcc99 100%);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.page-about .hero h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.page-about .intro {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: #555;
}

.page-about .mission {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin: 4rem 0;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.page-about .mission-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.page-about .mission-text p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
}

.page-about .mission-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.page-about .mission-image:hover {
    transform: scale(1.02);
}

.page-about .mission-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-about .testimonials {
    margin: 4rem 0;
    text-align: center;
}

.page-about .testimonials h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
}

.page-about .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.page-about .testimonial {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-about .testimonial:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.page-about .testimonial h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.page-about .stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.page-about .testimonial p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.page-about .footer-bottom {
    padding: 2rem;
    margin-top: 4rem;
    border-radius: 16px 16px 0 0;
}

.page-about .footer-bottom a {
    transition: color 0.3s ease;
}

.page-about .footer-bottom a:hover {
    color: #ff8533;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .page-about .mission {
        gap: 2rem;
        padding: 1.5rem;
    }

    .page-about .hero {
        margin: 2rem 0;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-about {
        padding: 0.5rem;
    }

    .page-about .header-content .logo {
        max-width: 150px;
        height: 50px;
    }

    .page-about .hero h2 {
        font-size: 2rem;
    }

    .page-about .intro {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .page-about .mission {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .page-about .mission-text h2 {
        font-size: 1.8rem;
        text-align: center;
    }

    .page-about .mission-text p {
        font-size: 1rem;
        text-align: center;
    }

    .page-about .testimonials h2 {
        font-size: 1.8rem;
    }

    .page-about .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .page-about .testimonial {
        padding: 1.2rem;
    }

    .page-about .footer-bottom {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .page-about .hero,
    .page-about .mission {
        padding: 1rem;
        margin: 1.5rem 0;
        border-radius: 12px;
    }

    .page-about .hero h2 {
        font-size: 1.6rem;
    }

    .page-about .intro {
        font-size: 0.95rem;
    }

    .page-about .mission-text h2 {
        font-size: 1.5rem;
    }

    .page-about .testimonials h2 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .page-about .testimonial h3 {
        font-size: 1.1rem;
    }

    .page-about .testimonial p {
        font-size: 0.9rem;
    }

    .page-about .site-header {
        padding: 1rem;
    }
}

/* =========================================================
   Careers
   ========================================================= */
html:has(.page-careers),
.page-careers {
    max-width: 100%;
    overflow-x: hidden;
}

.page-careers .home {
    margin-right: 70%;
    color: black;
    text-decoration: none;
}

.page-careers .hero {
    text-align: center;
    position: relative;
    color: #ff6600;
    background-color: #fff;
}

.page-careers .hero > * {
    position: relative;
    z-index: 1;
}

.page-careers .hero h1 {
    font-size: 64px;
    margin-bottom: 1rem;
    font-family: 'Times New Roman', Times, serif;
}

.page-careers .section {
    padding: 3rem 1rem;
    max-width: 90%;
    margin: 0 auto;
}

.page-careers .section-title {
    font-size: 32px;
    margin-bottom: 2rem;
    font-family: 'Times New Roman', Times, serif;
    margin-left: 37%;
}

.page-careers .hero-title {
    display: flex;
    align-items: center;
}

.page-careers .btn {
    padding: 0.8rem 1.5rem;
    height: 20%;
    margin: 1rem auto;
    border-radius: 0;
    display: inline-block;
}

.page-careers .form-section {
    background: #f0f0f0;
    padding: 2rem;
    border-radius: 6px;
}

.page-careers .form-section form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.page-careers .form-section input,
.page-careers .form-section textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.page-careers .form-section button {
    background: #ff6600;
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-weight: bold;
}

@media (max-width: 760px) {
    .page-careers .section {
        padding: 1rem 1rem;
    }

    .page-careers .section-title {
        font-size: 24px;
        margin-left: 25%;
    }
}

/* =========================================================
   Contact
   ========================================================= */
.page-contact .form-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

.page-contact .form-container label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.page-contact .form-container input[type="text"],
.page-contact .form-container input[type="email"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
    font-size: 16px;
}

.page-contact .form-container input[type="text"]:focus,
.page-contact .form-container input[type="email"]:focus {
    border-color: #ff6600;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.page-contact .radio-group {
    margin-bottom: 20px;
    padding: 10px;
    background-color: #fff;
    border-radius: 5px;
    border: 1px solid #6c85ab;
}

.page-contact .radio-group p {
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #555;
}

.page-contact .radio-group label {
    display: inline;
    margin-right: 20px;
    font-weight: normal;
    cursor: pointer;
}

.page-contact .actions {
    text-align: center;
    margin-top: 20px;
}

.page-contact .button {
    background-color: #ff6600;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    padding: 12px 30px;
    transition: background-color 0.3s ease;
}

.page-contact .button:hover {
    background-color: #FCA914;
}

.page-contact .title {
    margin-left: 45%;
}

@media (max-width: 600px) {
    .page-contact .title {
        margin-left: 20%;
        margin-top: 10%;
    }

    .page-contact .form-container {
        max-width: 90%;
        padding: 15px;
        margin: 10px;
    }

    .page-contact .radio-group label {
        display: block;
        margin-right: 0;
        margin-bottom: 10px;
    }

    .page-contact .button {
        width: 100%;
        margin-left: 1%;
    }
}

/* =========================================================
   Services
   ========================================================= */
html:has(.page-services) {
    scroll-behavior: smooth;
}

.page-services h1,
.page-services p,
.page-services section,
.page-services main {
    margin: 0;
    padding: 0;
}

.page-services {
    line-height: 1.6;
    color: #333;
    background-color: #fff5eb;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.page-services header {
    background-color: transparent;
    padding: 2rem 1rem;
    text-align: center;
}

.page-services h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.page-services .logo {
    max-width: 250px;
    margin: 0 auto;
    display: block;
    transition: transform 0.3s ease;
}

.page-services .logo:hover {
    transform: scale(1.05);
}

.page-services .tagline {
    text-align: center;
    margin: 2rem 0 4rem;
    color: #ff6b00;
    font-size: 1.8rem;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.page-services .services {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: calc(100vw - 400px);
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #ff6b00 #fff5eb;
    padding-left: calc(50vw - 200px);
    padding-right: calc(50vw - 200px);
}

.page-services .services::-webkit-scrollbar {
    height: 8px;
}

.page-services .services::-webkit-scrollbar-thumb {
    background-color: #ff6b00;
    border-radius: 4px;
}

.page-services .services::-webkit-scrollbar-track {
    background-color: #fff5eb;
}

.page-services .service {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    min-width: 400px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    scroll-snap-align: center;
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.page-services .service:nth-child(1) { animation-delay: 0.1s; }
.page-services .service:nth-child(2) { animation-delay: 0.3s; }
.page-services .service:nth-child(3) { animation-delay: 0.5s; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-services .service:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-services .service:nth-child(even) {
    flex-direction: row-reverse;
}

.page-services .service-image {
    flex: 0 0 200px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.page-services .service-image:hover {
    transform: scale(1.05);
}

.page-services .service-content {
    flex: 1;
}

.page-services .service-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.page-services .service-button {
    background-color: #ff6b00;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 1rem;
    display: inline-block;
    text-decoration: none;
    font-weight: 500;
    margin-left: 20%;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-services .service-button:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .page-services .logo img {
        height: 10px;
    }

    .page-services .logo {
        max-width: 100px;
    }

    .page-services {
        padding: 0.5rem;
    }

    .page-services .services {
        gap: calc(100vw - 90vw);
        background-color: #fff5eb;
        padding-left: calc(50vw - 45vw);
        padding-right: calc(50vw - 45vw);
    }

    .page-services .service {
        background-color: #fff5eb;
        flex-direction: column !important;
        min-width: 90vw;
        margin: 0 auto;
    }

    .page-services .service-button {
        margin-left: 20%;
    }

    .page-services .service-image {
        max-width: 75%;
        flex: unset;
    }

    .page-services .tagline {
        font-size: 16px;
        margin: 2%;
    }

    .page-services .service-content p {
        margin-bottom: 20%;
        font-size: 12px;
    }
}
