

:root {
  --off-white: #F0F0EE;
  --pink: #DE709A;
  --deep-blue: #004A6F; 
  --green: #15906C;
  --sage: #B5D1B6;
}

*, html, body {
  box-sizing: border-box;
  font-size: 16px;
  font-family: "roca", 'helvetica neue';
  font-weight: 400;
  font-style: normal;
}


#menu-toggle {
    display: none;
}

/* Hide hamburger on desktop */
.menu-icon {
    display: none;
}

.nav-primary {
  background: #B5D1B6;
  

  position:absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 2000px;
  box-sizing: border-box;
  border-radius: 50px;
  padding: 12px 30px;

  box-shadow: 0 8px 25px rgba(21, 144, 108, 0.1);
  z-index: 1000;
  text-decoration: none;
  

  align-items: center;
  justify-content: space-between;
  gap: 25px;
  display: flex;
}

.logo {
    display: flex;
    justify-content: center;
}

.logo img {
    margin-top: 50px;
    margin-bottom: 1px;
    width: 16rem;
    height: auto;
}


.nav-primary li {
  list-style-type: none;
  display: inline-block;
}

.nav-primary li a {
  text-decoration: none;
  font-size: 20px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 25px;

  list-style: none;
  margin: 0;
  padding: 0;

}

.nav-list li{
  list-style: none;
}

.nav-list a {
  color: #004A6F;
  text-decoration: none;
}

.nav-list a:hover {
  color: #DE709A;
}

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

.nav-logo img {
height: 80px;
width: auto;
display: block;
object-fit: contain;
/*transition: transform 0.2s ease; */
} 

.logo-text {
  margin-left: 20px;
}

a {
  font-weight: 900;
  color: #004A6F;
  

}

* ::before, *::after {
  box-sizing: inherit;
}

.page-border {
  margin-top: 120px;
}

body {
  background: #F0F0EE;
  
}

.overlap-illustrations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 100px 8%;
  background: #F0F0EE;
  
}

.character-animation {
        margin-top: 35px;
       
            }

.cover {
  display: block;
  width: 100%;
  border-radius: 20px;
  
}

.overlaping-illustration1 {
position: absolute;
height: auto;
z-index: 2;

width: 250px;
top: 150px;
left: 60px;
rotate: 90deg;
}

.overlaping-illustration2 {
position: absolute;
height: auto;
z-index: 2;

width: 230px;
bottom: -230px;
right: 80px;
}

h1 {
  font-family: dunkel-sans-medium, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 2rem;
  text-align: center;
  color: #004A6F;
}

h2 {
  font-family: dunkel-sans-medium, sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 3rem;
  text-align: center;
  color: #DE709A;
}

p {
  font-weight: 450;
  color: #004A6F;
  text-align: center;
  font-size: 1rem;
  max-width: 1500px;
  
}

.about-section {
  background: #004A6F;
  align-items: center;
  border-radius: 50px;
  padding: 5px 0 40px 0;
}



.about-bodycopy {
  color: #F0F0EE;
  max-width: 1500px;
  margin: 0 auto;
  text-align: left;
}

.align {
  display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 16px 18px;
}

.align h3 {
  margin: 0;
}

.selected-work{
  padding: 80px 8%;
  background: #F0F0EE;
  color: #004A6F;
}

.selected-work h2 {
text-align: center;
margin-bottom: 15px;
}

.selected-intro {
  max-width: 600px;
  margin: 0 auto 40px;
  text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
    align-items: start;
}

/* Individual project cards */
.project-card {
    background: rgba(21, 144, 108, 0.2);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
}

.project-card summary {
    cursor: pointer;
    list-style: none;
    padding-bottom: 18px;
}

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

.project-card summary img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.project-card h3 {
    margin: 16px 18px 8px;
}

.project-prompt {
    display: block;
    margin: 0 18px;
    color: #15906C;
    font-size: 0.9rem;
}

.project-card[open] .project-prompt {
    color: #DE709A;
}

/* Information revealed when clicked */
.project-info {
    padding: 0 18px 18px;
    line-height: 1.6;
}

.project-info p {
    margin-top: 0;
}

/* View all projects button */
.view-all-button {
    display: block;
    width: fit-content;
    margin: 40px auto 0;
    padding: 14px 28px;
    background: #004A6F;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    text-align: center;
}

.view-all-button:hover {
    background: #15906C;
}

.project-button {
    flex-shrink: 0;
    display: block;
    width: fit-content;
    margin: 15px 0 0 auto;
    padding: 8px 14px;
    background: #004A6F;
    color: #F0F0EE;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: background 0.3s ease;
}

.project-button:hover {
    background: #15906C;
}

    /* CONTACT */

    .contactbox-section {
        padding: 80px 8%;
        background: #F0F0EE;
        color: #004A6F;
    }

    .contact-heading {
        max-width: 650px;
        margin: 0 auto 40px;
        text-align: center;
    }

    .contact-label {
        color: #15906C;
        font-size: 0.85rem;
        font-weight: bold;
        letter-spacing: 2px;
    }

    .contact-heading h2 {
        font-size: clamp(2rem, 4vw, 3rem);
        margin: 15px 0;
    }

    .contact-heading p {
        line-height: 1.7;
    }

    .contact-form {
        max-width: 750px;
        margin: 0 auto;
        padding: 35px;
        background: #15906C;
        border-radius: 20px;
        box-sizing: border-box;
    }

    .form-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }

    .form-group {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 22px;
    }

    .form-group label {
        font-weight: 600;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 13px;
        border: 1px solid #15906C;
        border-radius: 10px;
        background: #F0F0EE;
        color: #004A6F;
        font: inherit;
        box-sizing: border-box;
    }

    .form-group textarea {
        resize: vertical;
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: 2px solid #15906C;
        border-color: #15906C;
    }

    .contact-button {
        display: block;
        margin-left: auto;
        padding: 14px 26px;
        border: none;
        border-radius: 30px;
        background: #004A6F;
        color: #F0F0EE;
        font: inherit;
        cursor: pointer;
    }

    .contact-button:hover {
        background: #DE709A;
    }

    /* Mobile publication */
    @media (max-width: 600px) {
        .contact-section {
            padding: 55px 6%;
        }

        .contact-form {
            padding: 22px;
        }

        .form-row {
            grid-template-columns: 1fr;
            gap: 0;
        }
    }

    .contact-section {
      background: #B5D1B6;
      align-items: center;
      border-radius: 50px;
      padding: 30px 0 40px 0;
    }

    .contact-heading {
    color: #F0F0EE;
      max-width: 1500px;
      margin: 0 auto;
      text-align: left;
    }

    .contact-bodycopy {
      color: #F0F0EE;
      max-width: 1500px;
      margin: 0 auto;
      text-align: left;
    }

        /* =========================
          ABOUT PAGE
        ========================= */

        .about-page {
            max-width: 1400px;
            margin: 0 auto;
            padding: 100px 5% 80px;
        }

        .about-page h1,
        .about-page h2,
        .about-page h3 {
            color: #004A6F;
        }

        .about-page h2 {
            font-size: clamp(1.8rem, 3vw, 2.8rem);
            line-height: 1.2;
        }

        .about-page p {
            line-height: 1.8;
        }

        .about-page h1 span,
        .about-page h2 span {
            color: #DE709A;
        }

        .about-label {
            color: #15906C;
            font-size: 0.78rem;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
        }

        /* Hero section */

        .about-hero {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            align-items: center;
            gap: 70px;
            padding: 50px 0 100px;
        }

        .about-hero-text h1 {
            font-size: clamp(3rem, 6vw, 5.5rem);
            line-height: 1.05;
            margin: 15px 0 25px;
        }

        .about-intro {
            color: #004A6F;
            font-size: 1.3rem;
            font-weight: 600;
        }

        .about-hero-text > p:not(.about-label) {
            max-width: 520px;
        }

        .about-hero-image {
            min-width: 0;
            aspect-ratio: 4 / 5;
            overflow: hidden;
            border-radius: 48% 48% 20px 20px;
            
        }

        .about-hero-image img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        /* Buttons */

        .about-button {
            display: inline-block;
            margin-top: 20px;
            padding: 13px 24px;
            border-radius: 30px;
            background: #004A6F;
            color: #F0F0EE;
            text-decoration: none;
            transition: background 0.2s ease;
        }

        .about-button:hover {
            background: #15906C;
        }

         .about-email-button {
            display: inline-block;
            margin-top: 20px;
            padding: 13px 82px;
            border-radius: 30px;
            
            background: #B5D1B6;
            color: #004A6F;
            text-decoration: none;
            transition: background 0.2s ease;
        }

        .about-email-button:hover {
            background: #DE709A;
            color: #F0F0EE;
        }

        /* My story */

        .about-story {
            display: grid;
            grid-template-columns: 0.8fr 1.2fr;
            gap: 70px;
            padding: 75px 0;
            border-top: 1px solid #B5D1B6;
        }

        .about-story-heading h2 {
            margin-top: 15px;
        }

        .about-story-text p:first-child {
            margin-top: 0;
        }

        /* Creative interests */

        .about-services {
            padding: 75px 0;
            border-top: 1px solid #B5D1B6;
            
        }

        .service-p {
          text-align: left;
        }

        .about-section-heading {
            margin-bottom: 40px;
        }

        .about-services-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }

        .about-service-card {
            padding: 30px;
            border-radius: 20px;
            background: #F0F0EE;
            border: 1px solid #B5D1B6;
            transition: transform 0.2s ease;
        }

        .about-service-card:hover {
            transform: translateY(-5px);
        }

        .service-number {
            display: inline-block;
            color: #15906C;
            font-size: 0.85rem;
            font-weight: 700;
        }

        .about-service-card h3 {
            margin-top: 30px;
            font-size: 1.4rem;
        }

        .about-service-card p {
            margin-bottom: 0;
        }

        /* Design approach */

        .about-approach {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 65px;
            align-items: center;
            padding: 75px 0;
            border-top: 1px solid #B5D1B6;
        }

        .about-approach1 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: clamp(30px, 6vw, 80px);
            align-items: left;
            padding: 75px 0;
            border-top: 1px solid #B5D1B6;
        }

        .about-values {
            display: flex;
            flex-direction: column;
            gap: 25px;
            padding: 120px 0px;
        }

        .about-value {
            display: flex;
            align-items: flex-start;
            gap: 18px;
        }

        .about-value > span {
            color: #DE709A;
            font-size: 1.8rem;
            line-height: 1.2;
        }

        .about-value h3 {
            margin: 0 0 5px;
        }

        .about-value p {
            margin: 0;
        }

        /* Skills */

        .about-skills {
            padding: 75px 0;
            text-align: center;
            border-top: 1px solid #B5D1B6;
        }

        .about-skill-tags {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin-top: 30px;
        }

        .about-skill-tags span {
            padding: 11px 18px;
            border-radius: 30px;
            background: #B5D1B6;
            color: #004A6F;
            font-size: 0.9rem;
        }

        /* Contact section */

        .about-contact {
            padding: 65px 25px;
            text-align: center;
            border-radius: 24px;
            background: #F0F0EE;
            
        }

        .about-contact h2 {
            margin: 15px 0;
        }

        .about-contact > p:not(.about-label) {
            max-width: 520px;
            margin: 0 auto;
        }

         .about-contacts {
            padding: 65px 0px;
            text-align: left;
            border-radius: 24px;
            background: #F0F0EE;
            
        }

         .about-contacts h2 {
            margin: 15px 0;
        }

        .about-contacts > p:not(.about-label) {
            max-width: 520px;
            margin: 0 auto;
            }

        /* Responsive publication */

        @media (max-width: 800px) {
            .about-hero {
                grid-template-columns: 1fr 0.8fr;
                gap: 30px;
            }

            .about-story,
            .about-approach, .about-approach1 {
                grid-template-columns: 1fr;
                gap: 25px;
            }

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

        @media (max-width: 600px) {
            .about-page {
                padding: 30px 5% 55px;
            }

            .about-hero {
                grid-template-columns: 1fr;
                gap: 35px;
                padding: 35px 0 65px;
            }

            .about-hero-text h1 {
                font-size: 3rem;
            }

            .about-hero-image {
                max-width: 420px;
                width: 100%;
                margin: 0 auto;
            }

            .about-story,
            .about-services,
            .about-approach,
            .about-skills,
            .about-approach1 {
                padding: 55px 0;
            }

            .about-service-card {
                padding: 25px;
            }

            .about-contact {
                padding: 45px 20px;
            }

            .about-contacts {
                padding: 45px 20px;
            }

        }

            /* =========================
              PORTFOLIO PAGE
            ========================= */

            .portfolio-page {
                max-width: 1400px;
                margin: 0 auto;
                padding: 60px 5% 80px;
            }

            /* Page introduction */

            .portfolio-intro {
                max-width: 700px;
                margin: 40px auto 55px;
                text-align: center;
            }

            .portfolio-label {
                color: #15906C;
                font-size: 0.8rem;
                font-weight: 700;
                letter-spacing: 2px;
                text-transform: uppercase;
            }

            .portfolio-intro h1 {
                color: #004A6F;
                font-size: clamp(2.5rem, 5vw, 4.5rem);
                margin: 15px 0;
            }

            .portfolio-intro h1 span {
                color: #DE709A;
            }

            .portfolio-intro > p:last-child {
                max-width: 550px;
                margin: 0 auto;
                line-height: 1.7;
            }

            /* Filter buttons */

            .portfolio-filters {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                gap: 12px;
                margin-bottom: 35px;
            }

            .filter-btn {
                background: transparent;
                color: #004A6F;
                border: 1px solid #004A6F;
                border-radius: 30px;
                padding: 10px 22px;
                font: inherit;
                font-size: 0.9rem;
                cursor: pointer;
                transition: background 0.2s ease, color 0.2s ease;
            }

            .filter-btn:hover,
            .filter-btn.active {
                background: #004A6F;
                color: #F0F0EE;
            }

            .filter-btn:focus-visible {
                outline: 3px solid #DE709A;
                outline-offset: 4px;
            }

            /* Project grid */

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

            .portfolio-card {
                min-width: 0;
                color: #004A6F;
                text-decoration: none;
                background: #B5D1B6;
                border-radius: 16px;
                border: 2px solid #B5D1B6;
            
            }

            .portfolio-card[hidden] {
                display: none;
            }

            .portfolio-image {
                aspect-ratio: 4 / 3;
                overflow: hidden;
                background: #F0F0EE;
                
            }

            .portfolio-image img {
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                transition: transform 0.4s ease;
            }

            .portfolio-card:hover .portfolio-image img {
                transform: scale(1.04);
            }

            .portfolio-card-info {
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 12px;
                padding: 14px 2px;
            }

            .portfolio-card-info h2 {
                font-size: 1.2rem;
                margin: 5px 0 0;
            }

            .project-category {
                color: #15906C;
                font-size: 0.78rem;
                font-weight: 700;
                text-transform: uppercase;
                letter-spacing: 1px;
                margin: 0;
            }

            .project-arrow {
                display: grid;
                place-items: center;
                flex-shrink: 0;
                width: 38px;
                height: 38px;
                border-radius: 50%;
                color: #F0F0EE;
                background: #004A6F;
                font-size: 1.2rem;
                transition: background 0.2s ease, color 0.2s ease;
            }

            .portfolio-card:hover .project-arrow {
                background: #F0F0EE;
                color: #004A6F;
            }

            

            /* Contact call to action */

            .portfolio-cta {
                margin-top: 100px;
                padding: 55px 25px;
                text-align: center;
                background: #B5D1B6;
                border-radius: 24px;
            }

            .portfolio-cta h2 {
                color: #004A6F;
                font-size: clamp(1.8rem, 3vw, 2.6rem);
                margin-top: 0;
            }

            .portfolio-cta p {
                line-height: 1.6;
            }

            .portfolio-cta-button {
                display: inline-block;
                margin-top: 15px;
                padding: 13px 25px;
                border-radius: 30px;
                background: #004A6F;
                color: #F0F0EE;
                text-decoration: none;
                transition: background 0.2s ease;
            }

            .portfolio-cta-button:hover {
                background: #15906C;
            }

            /* Responsive publication */

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

            @media (max-width: 600px) {
                .portfolio-page {
                    padding: 35px 5% 55px;
                }

                .portfolio-intro {
                    margin: 35px auto 40px;
                }

                .portfolio-filters {
                    gap: 8px;
                }

                .filter-btn {
                    padding: 9px 15px;
                    font-size: 0.82rem;
                }

                .portfolio-grid {
                    grid-template-columns: 1fr;
                    gap: 25px;
                }

                .portfolio-cta {
                    margin-top: 60px;
                    padding: 40px 20px;
                }
            }






                /* PROJECT */

                /* Project page */
                .project-page {
                    padding-top: 120px;
                    color: #004A6F;
                    background: #F0F0EE;
                }

                .project-page h1,
                .project-page h2,
                .project-page h3 {
                    line-height: 1.2;
                }

                .project-page h1 {
                    font-size: clamp(2.5rem, 6vw, 5rem);
                    margin: 10px 0 20px;
                }

                .project-page h2 {
                    font-size: clamp(1.8rem, 3vw, 2.8rem);
                    margin-top: 0;
                }

                .project-page p {
                    line-height: 1.8;
                }

                .project-label {
                    color: #15906C;
                    font-size: 0.8rem;
                    font-weight: bold;
                    letter-spacing: 2px;
                }

                /* Hero */
                .project-hero {
                    padding: 50px 8% 70px;
                    text-align: center;
                }

                .project-subtitle {
                    max-width: 650px;
                    margin: 0 auto 40px;
                }

                .project-hero-image {
                    display: block;
                    height: 100%;
                    max-height: 650px;
                    object-fit: cover;
                    border-radius: 20px;
                }

                /* Overview */
                .project-overview {
                    display: grid;
                    grid-template-columns: 2fr 1fr;
                    gap: 60px;
                    padding: 70px 10%;
                    background: #B5D1B6;
                }

                .project-details {
                    border-left: 2px solid #15906C;
                    padding-left: 25px;
                }

                /* Alternating image and text sections */
                .project-section {
                    display: grid;
                    grid-template-columns: 1fr 1fr;
                    align-items: center;
                    gap: 60px;
                    padding: 90px 8%;
                }

                .project-section-text {
                    max-width: 520px;
                }

                .project-content-image {
                    height: 100%;
                    display: block;
                    border-radius: 16px;
                    object-fit: cover;
                }

                .project-section.reverse {
                    background: white;
                }

                /* Final outcome gallery */
                .project-outcomes {
                    padding: 90px 8%;
                    text-align: center;
                }

                .outcome-intro {
                    max-width: 600px;
                    margin: 0 auto 40px;
                }

                .outcome-grid {
                    display: grid;
                    grid-template-columns: repeat(3, minmax(0, 1fr));
                    gap: 20px;
                }

                .outcome-grid img {
                    display: block;
                    height: 100%;
                    aspect-ratio: 4 / 5;
                    object-fit: cover;
                    border-radius: 14px;
                }

                /* Reflection */
                .project-reflection {
                    max-width: 750px;
                    margin: 0 auto;
                    padding: 70px 8%;
                }

                /* Bottom call to action */
                .project-footer {
                    padding: 70px 8%;
                    text-align: center;
                    background: #B5D1B6;
                }

                .project-button {
                    display: inline-block;
                    padding: 14px 26px;
                    background: #004A6F;
                    color: #F0F0EE;
                    text-decoration: none;
                    border-radius: 30px;
                }

                .project-button:hover {
                    background: #15906C;
                }

                /* Responsive publication */
                @media (max-width: 600px) {
                    .project-page {
                        padding-top: 100px;
                    }

                    .project-overview,
                    .project-section {
                        grid-template-columns: 1fr;
                        gap: 30px;
                        padding: 50px 7%;
                    }

                    .project-details {
                        border-left: none;
                        border-top: 2px solid #15906C;
                        padding: 20px 0 0;
                    }

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

                    .project-hero,
                    .project-outcomes {
                        padding: 50px 7%;
                    }
                }


                    /* --- FOOTER --- */


                    footer {
                      background: #B5D1B6;

                      position:absolute;
                      left: 50%;
                      transform: translateX(-50%);

                      width: calc(100% - 40px);
                      max-width: 2000px;
                      box-sizing: border-box;
                      border-radius: 50px;
                      padding: 12px 30px;

                      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.10);
                      z-index: 1000;
                      text-decoration: none;
                      

                      align-items: center;
                      justify-content: space-between;
                      gap: 25px;
                      display: flex;
                    }




/* ==================================================
   1. GLOBAL RESPONSIVE STYLES
================================================== */

html {
    width: 100%;
    overflow-x: clip;
}

body {
    width: 100%;
    margin: 0;
}

img,
video {
    max-width: 100%;
    height: auto;
}

* {
    box-sizing: border-box;
}

/* ==================================================
   2. SHARED NAVIGATION
================================================== */

.nav-primary {
    position: absolute;
    top: 15px;
    left: 50%;
    z-index: 1000;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    width: calc(100% - 40px);
    max-width: 2000px;
    padding: 10px 25px;
    transform: translateX(-50%);
    box-sizing: border-box;
}


.nav-logo .logo-text {
    height: 55px;
    margin-left: 10px;
}

.nav-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 25px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-list li {
    list-style: none;
}

.nav-list a {
    display: block;
    padding: 8px 0;
    font-size: 1rem;
    text-decoration: none;
    white-space: nowrap;
}

/* Hamburger menu is hidden on larger screens */

.menu-toggle {
    display: none;
}

/* ==================================================
   3. HOMEPAGE
================================================== */

/* Hero video and overlapping illustrations */

.page-border {
    margin-top: 110px;
}

.overlap-illustrations {
    position: relative;
    display: block;
    padding: 100px 8%;
    isolation: isolate;
}

.cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.overlaping-illustration1 {
    position: absolute;
    top: 30px;
    left: 3%;
    z-index: 2;
    width: 250px;
    height: auto;
    rotate: 90deg;
    pointer-events: none;
}

.overlaping-illustration2 {
    position: absolute;
    right: 3%;
    bottom: 30px;
    z-index: 2;
    width: 230px;
    height: auto;
    pointer-events: none;
}

/* About introduction */

.about-section {
    margin: 0 4%;
    padding: 25px 7% 35px;
    border-radius: 30px;
}

.about-section h2 {
    margin: 15px 0 25px;
    font-size: clamp(2rem, 5vw, 3rem);
}

.about-bodycopy {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    text-align: left;
    overflow-wrap: break-word;
}

/* Selected portfolio projects */

.selected-work {
    padding: 55px 6%;
}

.selected-work > h2 {
    font-size: clamp(2rem, 6vw, 3rem);
}

.selected-work > p {
    max-width: 500px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.project-card {
    min-width: 0;
}

.project-card summary {
    padding-bottom: 12px;
}

.project-card summary img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.align {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
}

.project-card h3 {
    margin: 0;
    font-size: 1rem;
    overflow-wrap: anywhere;
}

.project-button {
    margin: 5px 0 0;
    padding: 8px 12px;
    font-size: 0.8rem;
    white-space: normal;
}

.project-prompt {
    margin: 0 12px;
    font-size: 0.8rem;
}

.project-info {
    padding: 0 12px 15px;
}

.project-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: left;
}

.view-all-button {
    max-width: 100%;
}

/* Homepage contact form */

/* Hide the spam protection field */
.spam-check {
    position: absolute;
    left: -9999px;
    opacity: 0;
}

/* Form status message */
#form-status {
    margin-top: 15px;
    font-size: 0.95rem;
}

/* Disabled button while submitting */
.contact-button:disabled {
    opacity: 0.6;
    cursor: wait;
}



.contactbox-section {
    padding: 50px 5%;
}

.contact-section {
    width: 100%;
    padding: 30px 6% 35px;
    border-radius: 30px;
}

.contact-heading {
    width: 100%;
    margin: 0 auto 30px;
    text-align: center;
}

.contact-heading h2 {
    font-size: clamp(1.8rem, 6vw, 2.5rem);
    line-height: 1.2;
}

.contact-heading p {
    font-size: 1rem;
    line-height: 1.7;
}

.contact-form {
    width: 100%;
    padding: 20px;
    border-radius: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.form-group {
    min-width: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
    min-width: 0;
    max-width: 100%;
    font-size: 16px;
}

.contact-button {
    max-width: 100%;
}

/* ==================================================
   4. ABOUT PAGE
================================================== */

.about-page,
.portfolio-page,
.project-page {
    width: 100%;
    padding-top: 120px;
}

/* Introduction and portrait */

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(250px, 0.8fr);
    align-items: center;
    gap: clamp(30px, 6vw, 90px);
    padding: 60px 8%;
}

.about-hero-text,
.about-hero-image {
    min-width: 0;
}

.about-hero-text h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    overflow-wrap: break-word;
}

.about-intro {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    line-height: 1.6;
}

.about-hero-image img {
    display: block;
    width: 100%;
    max-height: 650px;
    object-fit: cover;
    border-radius: 30px;
}

/* Story */

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: 50px;
    padding: 65px 8%;
}

.about-story-heading,
.about-story-text {
    min-width: 0;
}

.about-story-heading h2,
.about-section-heading h2,
.about-approach h2,
.about-approach1 h2,
.about-skills h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.about-story-text p,
.about-approach-text p,
.about-approach1-text p,
.about-section-heading > p:last-child,
.about-contact,.about-contacts > p {
    line-height: 1.8;
}

/* Services and creative interests */

.about-services {
    padding: 65px 8%;
}

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

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-service-card {
    min-width: 0;
    padding: clamp(22px, 3vw, 38px);
    overflow-wrap: break-word;
}

.about-service-card h3 {
    font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.service-p {
    line-height: 1.7;
}

h1.colour {
    color: #DE709A;
}

/* Approach and values */

.about-approach {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(30px, 6vw, 80px);
    padding: 65px 8%;
}

.about-approach1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(30px, 6vw, 80px);
    padding: 65px 8%;
}

.about-approach-text,
.about-approach1-text,
.about-values {
    min-width: 0;
}

.about-value {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.about-value > span {
    flex-shrink: 0;
}

.about-value h3,
.about-value p {
    overflow-wrap: break-word;
}

.about-value p {
    line-height: 1.6;
    text-align: left;
}

/* Skills */

.about-skills {
    padding: 65px 8%;
    text-align: center;
}

.about-skill-tags {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.about-skill-tags span {
    max-width: 100%;
    overflow-wrap: break-word;
}

/* Contact call to action */

.about-contact {
    margin: 40px 8% 70px;
   /* padding: clamp(30px, 5vw, 65px); */
    border-radius: 30px;
    text-align: center;
}

.about-contact h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.about-contact p {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
}

.about-contacts {
    margin: 40px 4% 70px;
   /* padding: clamp(30px, 5vw, 65px); */
    border-radius: 30px;
    text-align: left;
}

.about-contacts h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.2;
    overflow-wrap: break-word;
    color: #DE709A;
}

.about-contacts p {
    max-width: 650px;
    margin-right: auto;
    margin-left: auto;
}
section.center {
    display: flex;
    justify-content: center;
}

/* ==================================================
   5. PORTFOLIO PAGE
================================================== */

.portfolio-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 45px 8% 35px;
    text-align: center;
}

.portfolio-intro h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    overflow-wrap: break-word;
}

.portfolio-intro > p:last-child {
    max-width: 700px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.8;
}

.portfolio-projects {
    padding: 30px 8% 70px;
}

/* Project filters */

.portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 35px;
}

.filter-btn {
    max-width: 100%;
    cursor: pointer;
}

/* Project cards */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2.5vw, 32px);
}

.portfolio-card {
    display: block;
    width: 100%;
    min-width: 0;
    overflow: hidden;
}

.portfolio-image {
    width: 100%;
    overflow: hidden;
}

.portfolio-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.portfolio-card-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 18px;
}

.portfolio-card-info > div {
    min-width: 0;
}

.portfolio-card-info h2 {
    font-size: clamp(1rem, 1.7vw, 1.4rem);
    overflow-wrap: anywhere;
}

.project-category {
    overflow-wrap: break-word;
}

.project-arrow {
    flex-shrink: 0;
}

.portfolio-card[hidden] {
    display: none !important;
}

/* Portfolio call to action */

.portfolio-cta {
    margin: 20px 8% 70px;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 30px;
    text-align: center;
}

.portfolio-cta h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.portfolio-cta p {
    line-height: 1.7;
}

/* ==================================================
   6. PROJECT DETAIL PAGE
================================================== */

.project-hero {
    padding: 45px 8% 60px;
    text-align: center;
}

.project-hero h1 {
    font-size: clamp(2.5rem, 5vw, 5rem);
    line-height: 1.1;
    overflow-wrap: break-word;
}

.project-subtitle {
    max-width: 750px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.project-hero-image {
    display: block;
    height: 100%;
    max-height: 650px;
    margin: 35px auto 0;
    object-fit: cover;
    border-radius: 25px;
}

/* Overview */

.project-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
    align-items: start;
    gap: clamp(30px, 6vw, 80px);
    padding: 60px 8%;
}

.overview-text,
.project-details {
    min-width: 0;
}

.overview-text p,
.project-details p {
    line-height: 1.8;
    overflow-wrap: break-word;
}

/* Concept and process */

.project-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: clamp(25px, 5vw, 65px);
    padding: 60px 8%;
}

.project-section-text {
    min-width: 0;
}

.project-section-text h2 {
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.project-section-text p {
    line-height: 1.8;
}

.project-content-image {
    display: block;
    height: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 22px;
}

/* Reverse publication on desktop */

.project-section.reverse .project-content-image {
    order: 0;
}

.project-section.reverse .project-section-text {
    order: 1;
}

/* Final outcomes */

.project-outcomes {
    padding: 60px 8%;
    text-align: center;
}

.project-outcomes h2,
.project-reflection h2 {
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    overflow-wrap: break-word;
}

.outcome-intro {
    max-width: 700px;
    margin: 0 auto 35px;
    line-height: 1.8;
}

.outcome-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/*.outcome-grid img {
    display: block;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
} */

.outcome-grid1 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px; 
}

/*.outcome-grid1 img {
    display: block;
    height: 100%;
    aspect-ratio: 4 / 6;
    object-fit: cover;
    border-radius: 18px;
} */

.outcome-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; 
}

/*.outcome-grid2 img {
    display: block;
    height: 100%;
    aspect-ratio: / 5;
    object-fit: cover;
    border-radius: 18px;
}

/* Reflection and footer call to action */

.project-reflection {
    max-width: 950px;
    margin: 0 auto;
    padding: 60px 8%;
}

.project-reflection p {
    line-height: 1.8;
}

.project-footer {
    margin: 20px 8% 70px;
    padding: clamp(30px, 5vw, 60px);
    border-radius: 30px;
    text-align: center;
}

.project-footer h2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
}



/* ==================================================
   7. SHARED FOOTER
================================================== */

footer .nav-logo img {
    height: 50px;
}

footer p {
    margin: 0;
}

footer .nav-list {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* ==================================================
   8. TABLET RESPONSIVE STYLES
   Screens between 601px and 900px
================================================== */

@media (min-width: 601px) and (max-width: 900px) {

    /* Navigation */

    .nav-primary {
        width: calc(100% - 40px);
        padding: 10px 18px;
        gap: 12px;
    }

    .nav-logo img {
        height: 55px;
    }

    .nav-logo .logo-text {
        height: 40px;
        margin-left: 7px;
    }

    .nav-list {
        gap: 14px;
    }

    .nav-list a {
        font-size: 0.88rem;
    }

    .nav-primary li a {
        text-decoration: none;
        font-size: 16px;
        }

    

        .logo img {
            margin-top: 30px;
            width: 12rem;
        }

    /* Homepage */

    .page-border {
        margin-top: 100px;
    }

    .overlap-illustrations {
        padding: 70px 7%;
    }

    .overlaping-illustration1 {
        width: 150px;
        top: 15px;
        left: 2%;
    }

    .overlaping-illustration2 {
        width: 145px;
        bottom: 15px;
        right: 2%;
    }

    .about-section {
        margin: 0 5%;
        padding: 30px 7% 40px;
        border-radius: 28px;
    }

    .about-section h2 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .about-bodycopy {
        max-width: 680px;
        font-size: 1rem;
        line-height: 1.8;
    }

    .selected-work {
        padding: 60px 5%;
    }

    .selected-work > h2 {
        font-size: clamp(2.2rem, 4vw, 3rem);
    }

    .project-grid {
        gap: 22px;
    }

    .align {
        gap: 10px;
        padding: 14px;
    }

    .project-card h3 {
        font-size: 1rem;
    }

    .contactbox-section {
        padding: 55px 5%;
    }

    .contact-section {
        padding: 35px 6%;
        border-radius: 28px;
    }

    .contact-form {
        padding: 25px;
    }

    footer {
        width: calc(100% - 40px);
        margin: 25px auto;
        padding: 22px;
    }

    /* About page */

    .about-page,
    .portfolio-page,
    .project-page {
        padding-top: 100px;
    }

    .about-hero {
        gap: 30px;
        padding: 45px 6%;
    }

    .about-story {
        gap: 30px;
        padding: 50px 6%;
    }

    .about-services,
    .about-skills {
        padding: 50px 6%;
    }

    .about-services-grid {
        gap: 16px;
    }

    .about-service-card {
        padding: 22px;
    }

    .about-approach {
        gap: 30px;
        padding: 50px 6%;
    }

     .about-approach1 {
        gap: 30px;
        padding: 50px 6%;
    }

    .about-contact {
        margin: 30px 6% 55px;
    }

    .about-contacts {
        margin: 30px 6% 55px;
    }

    /* Portfolio page */

    .portfolio-intro {
        padding-right: 6%;
        padding-left: 6%;
    }

    .portfolio-projects {
        padding-right: 6%;
        padding-left: 6%;
    }

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

    .portfolio-cta {
        margin-right: 6%;
        margin-left: 6%;
    }

    /* Project page */

    .project-hero,
    .project-overview,
    .project-section,
    .project-outcomes {
        padding-right: 6%;
        padding-left: 6%;
    }

    .project-overview {
        grid-template-columns: minmax(0, 1.3fr) minmax(180px, 0.7fr);
        gap: 30px;
    }

    .project-section {
        gap: 30px;
    }

    .outcome-grid {
        gap: 15px;
    }

    .project-reflection {
        padding-right: 6%;
        padding-left: 6%;
    }

    .project-footer {
        margin-right: 6%;
        margin-left: 6%;
    }
    
    .project-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.7fr);
    align-items: start;
    gap: clamp(30px, 6vw, 80px);
    padding: 60px 8%;
}

.overview-text,
.project-details {
    min-width: 0;
}

.overview-text p,
.project-details p {
    line-height: 1.8;
    overflow-wrap: break-word;
}

.outcome-grid1 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; 
}

.outcome-grid2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px; 
}

}

/* ==================================================
   9. MOBILE RESPONSIVE STYLES
   Screens 600px and below
================================================== */

@media (max-width: 600px) {

    /* Navigation and hamburger menu */

     .nav-primary {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
       border-radius: 40px;
    }

    /* Show hamburger */
    .menu-icon {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 28px;
        height: 21px;
        cursor: pointer;
        z-index: 1001;
    }

    .menu-icon span {
        display: block;
        width: 100%;
        height: 3px;
        background-color: #004A6F;
        border-radius: 7px;
        transition: 0.3s ease;
    }

    /* Hide menu by default */
    .nav-primary .nav-list {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        width: 100%;
        list-style: none;
        font-size: 1rem;
        text-align: right;
        
    
        
    }

    .nav-primary li a {
    text-decoration: none;
    font-size: 18px;
    }

     .nav-logo img {
        height: 55px;
    }

     .logo-text {
        height: px;
        max-width: 200px;
        margin-left: 4px;
    }

    .logo img {
        width: 12rem;
        margin-top: -20px;
    }



    /* Show menu when checkbox is checked */
    #menu-toggle:checked ~ .nav-list {
        display: flex;
    } 

    /* Turn hamburger into an X */
    #menu-toggle:checked + .menu-icon span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }


    #menu-toggle:checked + .menu-icon span:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked + .menu-icon span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    } 

    /* Homepage */

    .page-border {
        margin-top: 80px;
    }

    .overlap-illustrations {
        display: block;
        padding: 45px 5%;
    }

    .cover {
        border-radius: 14px;
    }

    .overlaping-illustration1 {
        width: 90px;
        top: 5px;
        left: 0;
    }

    .overlaping-illustration2 {
        width: 85px;
        right: 0;
        bottom: 5px;
    }

    .about-section {
        margin: 0 4%;
        padding: 20px 7% 30px;
        border-radius: 25px;
    }

    .about-section h2 {
        margin-bottom: 20px;
    }

    .about-bodycopy {
        font-size: 0.95rem;
        line-height: 1.75;
    }

    .selected-work {
        padding: 45px 5%;
    }

    .project-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .align {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 8px;
        padding: 14px;
    }

    .project-card h3 {
        font-size: 1.05rem;
    }

    .project-button {
        flex-shrink: 0;
        margin: 0;
    }

    .project-prompt {
        margin-top: 0;
    }

    .project-info {
        padding: 0 14px 16px;
    }

    .contactbox-section {
        padding: 35px 4%;
    }

    .contact-section {
        padding: 25px 5% 30px;
        border-radius: 25px;
    }

    .contact-heading h2 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .contact-form {
        padding: 18px;
    }

    .form-row {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }

    .contact-button {
        width: 100%;
    }

    footer {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: calc(100% - 20px);
        padding: 18px 12px;
        text-align: center;
    }

    footer .nav-logo img {
        height: 45px;
    }

    footer .nav-list {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    } 

    /* About page */

    .about-page,
    .portfolio-page,
    .project-page {
        padding-top: 80px;
    }

    .about-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 35px 6% 40px;
    }

    .about-hero-text {
        text-align: center;
    }

    .about-hero-text h1 {
        font-size: clamp(2.3rem, 10vw, 3.5rem);
    }

    .about-intro {
        font-size: 1.1rem;
    }

    .about-hero-image {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
    }

    .about-hero-image img {
        max-height: 480px;
        border-radius: 22px;
    }

    .about-story {
        grid-template-columns: minmax(0, 1fr);
        gap: 15px;
        padding: 40px 7%;
    }

    .about-story-heading h2,
    .about-section-heading h2,
    .about-approach h2,
    .about-skills h2 {
        font-size: clamp(1.9rem, 8vw, 2.7rem);
    }

    .about-story-text p,
    .about-approach-text p,
    .about-approach1-text p {
        font-size: 0.96rem;
    }

    .about-services {
        padding: 40px 6%;
    }

    .about-section-heading {
        margin-bottom: 25px;
    }

    .about-services-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .about-service-card {
        padding: 24px;
    }

    .about-approach {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding: 40px 7%;
    }

    .about-approach1 {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding: 40px 7%;
    }

    .about-value {
        gap: 13px;
    }

    .about-skills {
        padding: 40px 6%;
    }

    .about-skill-tags {
        gap: 9px;
    }

    .about-skill-tags span {
        font-size: 0.9rem;
    }

    .about-contact {
        margin: 25px 5% 40px;
        padding: 30px 7%;
        border-radius: 24px;
    }

    .about-contact h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    .about-contacts {
        margin: 25px 5% 40px;
        padding: 30px 7%;
        border-radius: 24px;
    }

    .about-contacts h2 {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
    }

    /* Portfolio page */

    .portfolio-intro {
        padding: 35px 6% 25px;
    }

    .portfolio-intro h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem);
    }

    .portfolio-intro > p:last-child {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .portfolio-projects {
        padding: 20px 5% 45px;
    }

    .portfolio-filters {
        gap: 8px;
        margin-bottom: 25px;
    }

    .filter-btn {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .portfolio-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .portfolio-card-info {
        padding: 15px;
    }

    .portfolio-card-info h2 {
        font-size: 1.2rem;
    }

    .portfolio-cta {
        margin: 15px 5% 40px;
        padding: 30px 7%;
        border-radius: 24px;
    }

    /* Project detail page */

    .project-hero {
        padding: 35px 6% 40px;
    }

    .project-hero h1 {
        font-size: clamp(2.3rem, 9vw, 3.5rem);
    }

    .project-subtitle {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .project-hero-image {
        margin-top: 25px;
        border-radius: 18px;
    }

    .project-overview {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
        padding: 40px 7%;
    }

    .project-section {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        padding: 40px 7%;
    }

    .project-section.reverse .project-section-text {
        order: 0;
    }

    .project-section.reverse .project-content-image {
        order: 1;
    }

    .project-section-text h2 {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }

    .project-content-image {
        max-height: none;
        border-radius: 18px;
    }

    .project-outcomes {
        padding: 40px 6%;
    }

    .outcome-intro {
        font-size: 0.96rem;
        line-height: 1.7;
    }

    .outcome-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .outcome-grid1 {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .project-reflection {
        padding: 40px 7%;
    }

    .project-footer {
        margin: 15px 5% 40px;
        padding: 30px 7%;
        border-radius: 24px;
    }

    .outcome-grid1 {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px; 
}

    .outcome-grid2 {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px; 
}

    
}

/* ==================================================
   10. EXTRA-SMALL PHONES
   Screens 360px and below
================================================== */

@media (max-width: 360px) {

    

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    .overlaping-illustration1 {
        width: 72px;
    }

    .overlaping-illustration2 {
        width: 68px;
    }

    .about-hero,
    .about-story,
    .about-approach,
    .about-approach1 {
     
        padding-right: 5%;
        padding-left: 5%;
    }

    .portfolio-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 8px 10px;
        font-size: 0.78rem;
    }

    .portfolio-card-info {
        padding: 12px;
    }

    .project-overview,
    .project-section {
        padding-right: 5%;
        padding-left: 5%;
    }
}