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

body {
  background: #ffffff;
  color: #111;
  font-family: Arial, Helvetica, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* HEADER */

.header {
  height: 82px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: #111;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
}

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

.nav a {
  color: #111;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}

.nav a.active::after {
  content: "";
  width: 100%;
  height: 3px;
  background: #f5a800;
  position: absolute;
  left: 0;
  bottom: -12px;
}

.admin-icon {
  width: 42px;
  height: 42px;
  border: 1.5px solid #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px !important;
}

.quote-btn {
  background: #f5a800;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800 !important;
}

/* HERO */

.hero {
  text-align: center;
  padding: 6px 0 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 5px;
  color: #777;
  font-size: 14px;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(48px, 6vw, 86px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -3px;
  margin-bottom: 22px;
}

.subtitle {
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.2;
  margin-bottom: 48px;
}

.subtitle span {
  color: #f5a800;
}

/* CAROUSEL */

.carousel-wrapper {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  overflow: hidden;
}

.carousel {
  width: min(1100px, 78vw);
  height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  overflow: hidden;
}

.project-card {
  position: relative;
  flex: 0 0 auto;
  border-radius: 28px;
  overflow: hidden;
  background: #eee;
  transition: all 0.45s ease;
  box-shadow: 0 18px 45px rgba(0,0,0,0.12);
  cursor: pointer;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.68), rgba(0,0,0,.05), transparent);
}

.project-info {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: #fff;
  text-align: left;
}

.project-info h2 {
  font-size: 25px;
  margin-bottom: 8px;
}

.project-info p {
  font-size: 15px;
  opacity: .95;
}

.project-arrow {
  position: absolute;
  right: 20px;
  bottom: 24px;
  z-index: 3;
  width: 46px;
  height: 46px;
  background: #fff;
  color: #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 28px;
  text-decoration: none;
}

/* Different card sizes like Nik */

.card-center {
  width: 360px;
  height: 500px;
  opacity: 1;
  transform: scale(1);
}

.card-near {
  width: 270px;
  height: 400px;
  opacity: 1;
}

.card-far {
  width: 125px;
  height: 300px;
  opacity: .75;
}

.card-hidden {
  display: none;
}

/* SIDE BUTTONS */

.slider-btn {
  display: none;
}

.slider-btn:hover {
  opacity: .8;
}

.bottom-controls {
  margin-top: 22px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.bottom-controls button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 2px solid #111;
  background: #fff;
  color: #111;
  font-size: 35px;
  cursor: pointer;
}

/* FOOTER */

.footer {
  margin: 52px 7% 0;
  padding: 28px 0;
  border-top: 1px solid #d8d8d8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 14px;
}

.footer strong {
  color: #111;
  font-size: 18px;
}

.footer p {
  margin-top: 6px;
}

.footer-links {
  display: flex;
  gap: 34px;
}

.footer-links a {
  color: #111;
  text-decoration: none;
  font-weight: 600;
}

/* MOBILE */

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header {
    height: auto;
    padding: 22px 6%;
    flex-direction: column;
    gap: 18px;
  }

  .logo {
    font-size: 21px;
  }

  .nav {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .quote-btn {
    padding: 11px 18px;
  }

  .admin-icon {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }

  .subtitle {
    font-size: 24px;
    padding: 0 20px;
    margin-bottom: 32px;
  }

  .carousel-wrapper {
    gap: 8px;
  }

  .carousel {
    width: 100vw;
    height: 390px;
    gap: 12px;
  }

  .card-center {
    width: 230px;
    height: 350px;
  }

  .card-near {
    width: 155px;
    height: 280px;
  }

  .card-far {
    width: 70px;
    height: 220px;
  }

  .project-info {
    left: 18px;
    right: 18px;
    bottom: 20px;
  }

  .project-info h2 {
    font-size: 20px;
  }

  .project-info p {
    font-size: 13px;
  }

  .project-arrow {
    width: 38px;
    height: 38px;
    font-size: 23px;
    right: 14px;
    bottom: 18px;
  }

  .slider-btn {
    display: none;
  }

  .bottom-controls {
    margin-top: 10px;
  }

  .footer {
    margin: 32px 6% 0;
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }

  .footer-links {
    gap: 22px;
  }
}
.about-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 55px 35px 80px;
  color: #111;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 70px;
  align-items: center;
}

.eyebrow {
  color: #c58d2d;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 45px;
  height: 1px;
  background: #c58d2d;
  margin-left: 15px;
  vertical-align: middle;
}

.about-copy h1 {
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.95;
  margin: 0 0 18px;
  letter-spacing: -3px;
}

.about-copy h1 span {
  color: #c58d2d;
}

.about-copy h4 {
  font-size: 15px;
  letter-spacing: 7px;
  margin: 0 0 32px;
}

.about-copy p {
  color: #444;
  line-height: 1.7;
  max-width: 560px;
}

.about-copy .lead {
  color: #111;
  font-weight: 800;
  font-size: 19px;
  line-height: 1.5;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
  padding: 13px 28px;
  border: 1px solid #c58d2d;
  border-radius: 999px;
  color: #111;
  font-weight: 800;
  text-decoration: none;
}

.about-cta span {
  background: #c58d2d;
  color: #fff;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.about-main-img img {
  width: 100%;
  border-radius: 14px;
  display: block;
  box-shadow: 0 20px 45px rgba(0,0,0,.12);
}

.about-projects {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  margin: 55px 0 75px;
}

.about-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  padding-bottom: 16px;
}

.about-card img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
}

.about-card h3 {
  font-size: 15px;
  margin: 14px 8px 5px;
}

.about-card p {
  margin: 0;
  font-size: 12px;
  color: #555;
}

.designer-coder {
  display: grid;
  grid-template-columns: 1fr 340px 1fr;
  gap: 70px;
  align-items: center;
  padding: 60px 0;
  border-top: 1px solid #f1f1f1;
}

.about-list h2 {
  font-size: 33px;
  margin: 0 0 8px;
}

.about-list h5 {
  color: #c58d2d;
  font-size: 13px;
  margin: 0 0 20px;
  letter-spacing: 1px;
}

.about-list p {
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  margin: 0;
  color: #333;
}

.pie-wrap {
  text-align: center;
}

.pie-chart {
  width: 315px;
  height: 315px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  margin: 0 auto;
  box-shadow: 0 14px 35px rgba(0,0,0,.12);
}

.pie-left,
.pie-right {
  width: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 25px;
  font-weight: 800;
}

.pie-left {
  background: linear-gradient(180deg, #d8a03a, #bc7b23);
}

.pie-right {
  background: linear-gradient(180deg, #111, #333);
  border-left: 8px solid #fff;
}

.pie-text {
  font-size: 24px;
  font-style: italic;
  margin: 22px 0 0;
}

.pie-text span {
  color: #c58d2d;
}

.random-facts {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 55px 0;
}

.facts-img img {
  width: 100%;
  display: block;
}

.facts-copy h2,
.skills-section h2,
.story-copy h2 {
  font-size: 34px;
  margin: 0 0 25px;
}

.facts-copy h2::after,
.skills-section h2::after,
.story-copy h2::after {
  content: "";
  display: block;
  width: 35px;
  height: 3px;
  background: #c58d2d;
  margin-top: 8px;
}

.facts-copy ul {
  padding: 0;
  margin: 0;
}

.facts-copy li {
  list-style: none;
  margin: 13px 0;
  color: #333;
}

.facts-copy li::before {
  content: "◎";
  color: #c58d2d;
  font-weight: 800;
  margin-right: 10px;
}

.skills-section {
  padding: 40px 0 55px;
}

.skills-chart {
  display: grid;
  grid-template-columns: 70px 1fr;
  height: 330px;
  border-bottom: 1px solid #ddd;
}

.skill-levels {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 5px 15px 0 0;
  color: #666;
  font-weight: 800;
}

.skill-bars {
  display: flex;
  align-items: flex-end;
  gap: 38px;
  padding-left: 20px;
  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 80px,
      #e8e8e8 81px
    );
  border-left: 1px solid #ddd;
}

.bar {
  width: 135px;
  min-height: 120px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 12px 25px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45);
}

.bar strong {
  font-size: 46px;
  line-height: 1;
  text-shadow: 0 2px 3px rgba(0,0,0,.25);
}

.bar strong span {
  font-size: 22px;
}

.bar p {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  margin: 18px 0 0;
}

.bar.blue {
  background: linear-gradient(180deg, #4bb0ff, #1d6fc7);
}

.bar.green {
  background: linear-gradient(180deg, #65c95a, #378d34);
}

.bar.yellow {
  background: linear-gradient(180deg, #ffd05a, #dfa100);
}

.bar.red {
  background: linear-gradient(180deg, #ff4c5d, #d62434);
}

.bar.purple {
  background: linear-gradient(180deg, #8061e8, #5537ba);
}

.bar.teal {
  background: linear-gradient(180deg, #16b8c9, #087f93);
}

.story-section {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 35px 0 70px;
}

.story-img img {
  width: 100%;
  display: block;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.story-copy p {
  color: #333;
  line-height: 1.7;
}

.story-copy a {
  color: #c58d2d;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 950px) {
  .about-hero,
  .designer-coder,
  .random-facts,
  .story-section {
    grid-template-columns: 1fr;
  }

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

  .pie-chart {
    width: 270px;
    height: 270px;
  }

  .skills-chart {
    overflow-x: auto;
  }

  .skill-bars {
    min-width: 1000px;
  }
}
.contact-hero,
.quote-hero {
  max-width: 1000px;
  margin: 80px auto 50px;
  text-align: center;
}

.contact-hero h1,
.quote-hero h1 {
  font-size: 64px;
  margin-bottom: 20px;
}

.contact-hero p,
.quote-hero p {
  color: #666;
  font-size: 18px;
}

.contact-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  padding: 40px;
}

.info-card {
  background: white;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.contact-form,
.quote-form {
  max-width: 1000px;
  margin: auto;
  padding: 40px;
}

.contact-form input,
.contact-form textarea,
.quote-form input,
.quote-form textarea,
.quote-form select {
  width: 100%;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 15px;
}

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

.contact-form button,
.quote-form button {
  background: #c58d2d;
  color: white;
  border: none;
  padding: 16px 35px;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover,
.quote-form button:hover {
  opacity: .9;
}

@media(max-width:768px){

  .contact-grid,
  .form-row{
    grid-template-columns:1fr;
  }

  .contact-hero h1,
  .quote-hero h1{
    font-size:42px;
  }

}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {

  .header{
    flex-direction: column;
    gap: 10px;
    padding: 10px;
  }

  .logo{
    font-size: 1rem;
    text-align: center;
  }

  .nav{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .nav a{
    font-size: 1rem;
  }

 .hero{
  padding: 10px 15px 20px;
  overflow: hidden;
}

.hero h1{
  font-size: 1.8rem;
  line-height: 1.1;
  text-align: center;
}

.subtitle{
  font-size: 1rem;
  line-height: .6;
  text-align: center;
  padding: 0 3px;
  margin-bottom: 0px;
}

.carousel-wrapper{
  margin-top: 0;
}
  .carousel{
  width: 100%;
  min-height: 520px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  overflow: visible;
}

.card-center{
  width: 300px;
  height: 430px;
}

.card-near{
  width: 220px;
  height: 380px;
  opacity: .8;
}

.card-far{
  width: 200px;
  height: 350px;
  opacity: .55;
}
  .project-card{
    flex: 0 0 auto;
    transition: all .3s ease;
  }


  .project-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .project-info h2{
    font-size: 1.6rem;
  }

  .project-info p{
    font-size: 1rem;
  }

  .slider-btn{
    display: none;
  }

  .bottom-controls{
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 0px;
  }

  .bottom-controls button{
    background: transparent;
    border: none;
    font-size: 2rem;
    cursor: pointer;
  }

  .footer{
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px 15px;
  }

  .footer-links{
    justify-content: center;
  }
}