/* General/Across Website */

@font-face {
  font-family: 'GothamBlack';
  src: url('fonts/Gotham-Black.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'AptosLight';
  src: url('fonts/Aptos-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Aptos';
  src: url('fonts/Aptos.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AllRoundGothic'; 
  src: url('fonts/All-Round-Gothic.ttf') format('truetype'); 
  font-weight: bold;         
  font-style: normal;       
}


*, *::before, *::after {
  box-sizing: inherit;
}

* {
  margin: 0;
  padding: 0;
}

body, html {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Aptos', sans-serif;
  box-sizing: border-box;

}

body {
  line-height: 1.3;
  color: #fff;
  background-image: url('white-background.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed; /* optional */
}

h2 {
  margin: 0;
  padding: 0;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

p {
  margin: 0;
  padding: 0;
  font-family: 'Aptos', sans-serif;
}

section {
  scroll-margin-top: 110px; /* same as your fixed header height */
}

a {
  color: white;
}

a:visited {
  color: white;
}


/* navbar*/

.nav-container {
  position: fixed;
  top: 0; left: 0; right: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  background: rgb(0, 0, 0);
  transition: background-color 0.3s ease;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
  color: #fff;
}

.nav-container.scrolled {
  background: rgb(0, 0, 0);
}

.logo {
  position: relative;  
  z-index: 11;
}

.logo img {
  max-height: 60px; /* Scales better across devices */
  width: auto;
  display: block;
}

.burger {
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  color: #fff;
  width: 100%;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

.nav-links a {
  display: block;
  padding: 1rem;
  text-decoration: none;
  background: transparent;
  text-align: right;
  border-radius: 6px;
  color: #fff;
}

.nav-links a:visited {
  color: #fff;
}

.nav-links a:hover {
  color: #fff;
  font-weight: bold;
  background:#08555162;
}

.nav-links .active-parent {
  font-weight: bold;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  height: 80px;
}

.nav-links.hidden {
  display: none;
}

.submenu {
  display: none;
  flex-direction: column;
  /* background-color: #ffffff33; */
  padding: .5rem 0;
  width: 100%;
}

  .submenu.open {
    display: flex;
  }

  .dropdown { 
    position: relative; 
  }

/* Hero Section */

h1 {
  font-size: 1.5rem;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

.hero {
  padding-top: 4rem;
  min-height: 100vh;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); 
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 1rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 1rem;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

.hero p {
  font-size: 1.2rem;
  margin: 0;
}

.section-divider {
  width: 80%;
  height: 2px;
  background: linear-gradient(to right, transparent, #fff, transparent);
  margin: 3rem auto;
}

/*End of hero section*/
/*Start of about, portfolio and services sections*/
/*About section*/

.grimy-bg {
  background-image: url('white-background.jpg'); 
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

#intro-section {
  padding: 0;
  margin: 0;
  text-align: center;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  display: flex;
  background: transparent;
  background-image: url('white-background.jpg'); 
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

#intro-section p {
  width: 50vw;
  margin: 1rem auto 0;
}

:root {
  --gap-move: 70px;    /* how far words travel */
  --delay: 0.2s;       /* wait before doing anything */
  --duration: 4.0s;    /* whole sequence length */
}

.logo-anim {
  position: relative;
  width: min(90vw, 700px);
  height: 280px;               /* enough room for split + tagline below */
  display: flex;
  flex-direction: column;
  justify-content: center;     /* start stacked in the middle */
  align-items: center;
  gap: .6rem;
  text-align: center;
  margin-bottom: 1rem;
}

.word {
  display: block;
  max-width: 320px;   /* cap size */
  width: 100%;        /* shrink on small screens */
  height: auto;       /* keep aspect ratio */
  margin: 0 auto;     /* center */
  will-change: transform;
}

/* Words: wait together → split → hold → rejoin */
.word.kean  { 
  animation: keanUp var(--duration) ease var(--delay) forwards; 
}

.word.sound { 
  animation: sndDown var(--duration) ease var(--delay) forwards; 
}

/* Tagline: hidden → show in middle → hide → show below */
.tagline {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
  font-size: clamp(1rem, 2.8vw, 1.4rem);
  animation: taglineSeq var(--duration) ease var(--delay) forwards;
}

@keyframes keanUp {
  /* 0–20%: wait stacked */
  0%, 20%   { transform: translateY(0); }
  /* 40%: fully apart */
  40%, 60%  { transform: translateY(calc(-1 * var(--gap-move))); }
  /* 80–100%: back together */
  80%, 100% { transform: translateY(0); }
}

@keyframes sndDown {
  0%, 20%   { transform: translateY(0); }
  40%, 60%  { transform: translateY(var(--gap-move)); }
  80%, 100% { transform: translateY(0); }
}

/* Tagline timing aligned with the word motion */
@keyframes taglineSeq {
  0%, 35%   { opacity: 0; transform: translate(-50%, -50%); } /* stay hidden until 35% */
  45%, 55%  { opacity: 1; transform: translate(-50%, -50%); } /* fade in between words */
  75%, 80%  { opacity: 0; transform: translate(-50%, -50%); } /* fade out */
  90%, 100% { opacity: 1; transform: translate(-50%, 110px); } /* appear underneath */
}

#about {
  padding: 0;
  margin: 0;
  text-align: center;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  display: flex;
  background: transparent;
}

.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-text {
  flex: 1;
  max-width: 70%;
}

.about-page-link {
  text-decoration: none;
  font-weight: bold;
  color: #fff;
}

.about-text h2 {
  margin: 2rem 0 1.5rem 0;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

.about-image {
  width: 80%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

 .portfolio-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.portfolio-image {
  height: 100px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
  margin-top: 1rem;
  margin-bottom: .5rem;
}
.portfolio-prompt {
  text-align: center;
  margin-top: 1rem;
}

.porfolio-item {
  width: 400px;
}

#portfolio-work-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 30px;
  margin-top: 2rem;
  width: 75%;
  font-size: 1.25rem;
}

#portfolio-work-details > div {
  flex: 1;
}

#portfolio-work-details p {
  margin: 0 0 10px;
}

#three-sound-wave {
  width: clamp(200px, 50vw, 1000px);
  height: auto;
  margin-top: 20px;

}
.down-arrow {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.5rem;
  color: #fff;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.3s ease;
  padding: 1rem;
  border-radius: 6px;
}

.down-arrow:hover {
  color: #fff;  
  transform: translateY(5px);
  background: #08555162;
  opacity: 1;
}

/*End of about*/
/*Portfolio section*/

#portfolio {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  background: transparent;
}

#portfolio h2 {
  margin: 1.5rem;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

.portfolio-gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.portfolio-item {
  width: 150px;
  height: 150px;
  transition: transform 0.2s ease;
  margin-bottom: 4rem;
  padding: 0;
}

.portfolio-item:hover {
  transform: scale(1.05);
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  object-fit: cover;
  box-shadow: 0 4px 10px rgba(255,255,255,0.8);
}

#testimonial-section {
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.testimonials {
  text-align: center;
  padding: 3rem 1rem;
  background-color: rgba(0,0,0,0.6); /* or match your site style */
  color: #fff;
}

.testimonials h2 {
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
  margin-bottom: 2rem;
}

.testimonial-carousel {
  display: grid;         /* stacks children in same grid cell */
  place-items: center;   /* optional: center text */
  max-width: 700px;
  margin: 0 auto;
}

.testimonial {
  grid-area: 1 / 1;      /* every slide sits in the same cell */
  opacity: 0;
  pointer-events: none;
  transition: opacity .6s ease;
  font-style: italic;
  font-size: 1.25rem;
}

.testimonial.active {
  opacity: 1;
  pointer-events: auto;
}

.testimonial h4 {
  margin-top: 1rem;
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
  font-weight: bold;
}

.testimonial-controls {
  margin-top: 1.5rem;
}

.testimonial-controls button {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.4rem 0.8rem;
  margin: 0 0.3rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.testimonial-controls button:hover {
  background-color: #085551be;
  border-color: #fff;
}


/*Services section*/

.services {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  background: transparent;
  text-align: center;
  font-size: 1.25rem;
}

.section-title {
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
  margin-bottom: 1rem;
}

.section-description {
  margin-bottom: 2rem;
  color: #fff;
}

.section-description-section {
  width: 60%;
  text-align: center;
  align-items: center;
  justify-content: center;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.service-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  text-align: center;
  min-height: 75vh;
}

.service-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.service-icon {
  width: 120px;
  height: 120px;
}

.service-title {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-family:'AllRoundGothic', 'GothamBlack', sans-serif;
}

.icon p {
  font-size: 1.25rem;
}

.service-details {
  position: static;      /* reset any absolute/relative from desktop */
  left: auto;            /* reset */
  width: 100%;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 1rem;
  display: block;        /* ensure visible on mobile */
  text-align: center;
}

#text-for-services-page-link {
  text-decoration: none;
  color: #fff;
  font-family: 'Aptos', sans-serif;
  margin-bottom: 4rem;
}

#services-page-link {
  text-decoration: none;
  color: #fff;
  font-family: 'Aptos', sans-serif;
  font-weight: bold;
}

#services-page-link:hover {
  cursor: pointer;
  background-color: #085551be;
}

.services-icons {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 50px;
  margin-bottom: 4rem;
}

.services-icons .icon img {
  width: auto;
  display: block;
  margin: 0 auto;
}

.primary-button {
  text-decoration: none;
  color: #fff;
  background-color: rgba(0,0,0,0.35);
  padding: .75rem;
  border-radius: 1rem;
}

.primary-button:hover {
  background-color: #08555173;
}

#services-section {
  margin-bottom: 5rem;
}

.services.one-hundred-vh {
  min-height: 100vh;
  padding-top: 17.5%;
}

/* contact section */

.contact-margin {
  margin-bottom: 7rem;
  text-align: center;
}
.contact-section.one-hundred-vh {
  min-height: 100vh;
}

.contact-section {
  padding: 0;
  margin: 0;
  text-align: justify;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction:column;
  background: transparent;
  background-image: url('white-background.jpg'); 
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  font-size: 1.25rem;
}

/* this gives the card on the service page some margin so it doesn't overlap the nav bar*/
.contact-section:not(.one-hundred-vh) {
  padding-top: 250px; /* adjust to match your nav height */
}

.contact-card{
  max-width: 640px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  text-align: justify;
}

.contact-card h2 { 
  margin-bottom: .75rem; 
  text-align: center; }

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  display: flex;
  flex-wrap: wrap;      /* let it break onto multiple lines if needed */
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-list .label {
  font-weight: 700;
  min-width: 120px;     /* keeps labels aligned but still flexible */
}

.contact-list .label { font-weight: 700; }

.email-link {
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: color .2s, background-color .2s, border-color .2s;
  padding: 2px 4px; border-radius: 6px;
}

.email-link:hover {
  background:#08555162;
}

.contact-section { position: relative; }
.contact-section:has(.email-link:hover) .contact-card {
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(3px) brightness(1.05);
  transition: all .2s ease;
}

.contact-form-section {
  padding: 0;
  margin: 0;
  text-align: center;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
  display: flex;
  background: transparent;
  background-image: url('white-background.jpg'); 
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
}

.contact-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
}

.contact-form h2 {
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
    font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
}

.contact-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #fff;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: 'Aptos', sans-serif;
}

.contact-form textarea {
    resize: vertical;
    height: 150px;
}

.contact-form a {
  color: white;
}

.contact-form button {
    background-color: rgba(34, 139, 34, 0);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.contact-form button:hover {
    background-color: #085551be;
}

/*about page inc gallery*/

#gallery {
  display: grid;
  place-content: center;                 /* centers h2 + intro */
  min-height: clamp(420px, 62vh, 760px); /* tall but leaves room below */
  text-align: center;
  color: #fff;
  row-gap: 1rem;                         /* space between h2 and intro */
  margin-top: -2rem;
}

/* Tighten the space under the intro */

.gallery-intro {
  max-width: 700px;
  margin: 0 auto 1.25rem;                /* smaller than before */
  font-size: 1.25rem;
  line-height: 1.6;
  font-family: 'Aptos', sans-serif;
  opacity: 0.9;
}

/* Slideshow sits immediately below the header */
.slideshow-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;                   /* no top gap; keep a bottom gap */
  position: relative;
  margin-top: -11rem;
}

.gallery-header h2 {
  font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Hide the images by default */
.mySlides {
display: none;
}

.mySlides img {
  width: 100%;
  height: 70vh;          /* pick a consistent height relative to screen */
  object-fit: contain;   /* show whole image, no cropping */
  background: #000;      /* fills any gaps left/right */
  border-radius: 6px;    /* optional: neat rounded edges */
}

#home-projects {
  margin-bottom: 4rem;
}

/* Next & previous buttons */
.test-prev, .test-next {
cursor: pointer;
position: absolute;
top: 50%;
width: auto;
margin-top: -22px;
padding: 16px;
color: white;
font-weight: bold;
font-size: 18px;
transition: 0.6s ease;
border-radius: 0 3px 3px 0;
user-select: none;
}

/* Position the "prev button" to the left */
.test-prev {
left: 0;
border-radius: 3px 0 0 3px;
}

/* Position the "next button" to the right */
.test-next {
right: 0;
border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.test-prev:hover, .test-next:hover {
background-color: #183313;
}

/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
position: absolute;
top: 0;
background-color: #183313;
}

/* The dots/bullets/indicators */
.dot {
cursor: pointer;
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}

.active, .dot:hover {
background-color: #717171;
}

/* Fading animation */
.fade {
animation-name: fade;
animation-duration: 1.5s;
}

@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}

.service-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Optional: show on click (mobile) */
.service-details .open{
  max-width: 80vw;
  opacity:1;
  transform: translateX(28px);
}

.service-contact-btn {
  text-decoration: none;
  color: #fff;
}

/*Contact section*/

#contact {
  display: flex;
  flex-direction: column;
  padding: 1rem;
}

.contact-section-content {
  text-align: justify;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* left | centered | right */
  align-items: center;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  width: 100%;
  padding: 0.5rem 0.75rem;
  gap: 0.5rem;
}

/* kill the fixed widths that skew centering */
.footer-copy, #social-links { width: auto; }

/* align the side columns to edges */
.footer-copy { justify-self: start; }
#social-links { justify-self: end; }

/* center block: menu in a row */
#footer-menu {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  list-style: none;
  padding: 0; margin: 0;
}

footer ul a { color: #fff; text-decoration: none; }
footer ul a:hover { opacity: .8; }

#social-links img { height: 40px; width: auto; }

.email-link {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

#cookie-consent-container {
    display: none; /* Initially hidden */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px;
    text-align: center;
    z-index: 1000;
}

#cookie-consent {
    max-width: 800px;
    margin: 0 auto;
}

#accept-cookies {
    background-color: #08555100;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 10px;
}

#accept-cookies:hover {
    background-color: #085551be;
}

#decline-cookies {
    background-color: #08555100;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 10px;
}

#decline-cookies:hover {
    background-color: #085551be;
}

.collabs-section-one {
  font-size: 1.25rem;
  width: 50%;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

/* If you also see a box behind the active quote, clear it too */
#testimonial-section .testimonial { background: transparent; }
#testimonial-section .testimonial.active { background: transparent; }

@media (min-width: 768px) {

  h1 {
    font-size: 2rem;
    font-family: 'AllRoundGothic', 'GothamBlack', sans-serif;
  }

  /* body {
    margin: 0 auto;
  } */

  .grimy-bg {
    background-image: url('white-background.jpg'); 
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
}

/* nav menu */
  .burger {
    display: none;
  }

  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 0.5rem 1rem;
  }

  .nav-header {
    flex: 0 0 auto;
    margin-right: 1.5rem;
    padding: 0;
    height: auto;
  }

  .nav-links,
  .nav-links.hidden {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    width: auto;
    min-width: 0;
    margin-left: auto;
    padding: 0;
    background: transparent;
    flex: 0 1 auto;
    flex-wrap: nowrap;
  }

  .nav-links a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.5rem 0.75rem;
  }

  .dropdown {
    position: relative;
    width: auto;
  }

  .submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    display: none;
    flex-direction: column;
    background: #000;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    z-index: 1000;
    min-width: max-content;
  }

  .submenu.open {
    display: flex;
  }

  .submenu a {
    text-align: center;
    white-space: nowrap;
    display: block;
    width: 100%;
  }

  .logo img {
    max-height: 100px;
  }

  .dropdown:hover .submenu,
  .dropdown:focus-within .submenu {
    display: flex;
  }

  /*about page*/

  .about-text {
    max-width: 50%;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .about-image {
    width: 600px;
  }

  .portfolio-list {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: row;
    gap: 30px;
  }

  .porfolio-item {
  width: 500px;
}

.porfolio-item p{
  margin-top:10px;
}

  /* .about-text .section-divider {
    display: none;
  } */

  .service-item {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    text-align: left;
  }

  /* Desktop: keep layout flow-based (no absolute/left:60%) */
  .service-details {
    pointer-events: none;
    position: static;
    max-width: 48rem;
    text-align: center;
    margin: 0 auto;
  }

  .service-item:hover .service-details {
    display: block;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  #portfolio-work-details {
    flex-direction: row;
    align-items: stretch;
  }

  .services-icons {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 100px;
  }

  .services-icons .icon.desk-icon {
    margin-right: -18px; /* reduce spacing before this icon */
  }

  /* Uniform circular icon badges */
.services-icons {
  --icon-diameter: 180px;   /* tweak size here */
  --icon-padding: 24px;     /* inner breathing room */
}

.services-icons .icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.services-icons .icon img {
  width: var(--icon-diameter);
  height: var(--icon-diameter);
  border-radius: 50%;
  padding: var(--icon-padding);
  background: transparent;          /* no bg by default */
  object-fit: contain;               /* keep SVGs proportioned */
  transition: background-color .25s ease, transform .2s ease;
}

/* Hover: uniform circular bg */
.services-icons .icon:hover img {
  background: rgba(8, 85, 81, 0.37); /* your dark green tint */
  cursor: pointer;
}

/* Optional tiny lift */
@media (hover:hover) {
  .services-icons .icon:hover img { transform: translateY(-2px); }
}

.no-hover .icon:hover img {
  background: transparent !important;
  transform: none !important;        
  cursor: default;
}

.nav-container.scrolled {
    background: #000;
}

#footer-menu {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  list-style: none;
  padding: 0; margin: 0;
}

}