/* ========================================
   WRITER PORTFOLIO — Deep Forest Green
   ======================================== */

/* ---------- CSS Variables ---------- */
:root {
  --green-900: #0e3b2e;
  --green-800: #145740;
  --green-700: #19654a;
  --green-600: #1e7a5a;
  --green-500: #2a8f6b;
  --green-400: #4caf8b;
  --green-300: #7bc8a8;
  --green-200: #b5dec9;
  --green-100: #dff0e8;
  --green-50: #f0f8f4;

  --sage-500: #8fae97;
  --sage-300: #b8cebd;
  --sage-100: #e4ede6;

  --white: #ffffff;
  --off-white: #f7f9f8;
  --gray-50: #f8faf9;
  --gray-100: #eef1ef;
  --gray-200: #dde2de;
  --gray-300: #c4cbc5;
  --gray-500: #7a857c;
  --gray-700: #4a524b;
  --charcoal: #1a2e22;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --shadow-sm: 0 2px 8px rgba(14, 59, 46, 0.06);
  --shadow-md: 0 4px 20px rgba(14, 59, 46, 0.08);
  --shadow-lg: 0 8px 40px rgba(14, 59, 46, 0.12);
  --shadow-xl: 0 16px 60px rgba(14, 59, 46, 0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* ---------- Utility ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.text-green {
  color: var(--green-700);
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 12px;
  position: relative;
  padding-left: 32px;
}

.section-tag::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 2px;
  background: var(--green-600);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  max-width: 540px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--green-800);
  color: var(--white);
  border: 2px solid var(--green-800);
}

.btn--primary:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn--outline {
  background: transparent;
  color: var(--green-800);
  border: 2px solid var(--green-800);
}

.btn--outline:hover {
  background: var(--green-800);
  color: var(--white);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(14, 59, 46, 0.06);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-900);
}

.logo-bracket {
  color: var(--green-600);
  font-weight: 400;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  position: relative;
}

.navbar__link::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--green-700);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--green-800);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  width: 20px;
}

.navbar__cta {
  font-size: 0.85rem;
  padding: 10px 24px;
}

.navbar__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}

.navbar__toggle span {
  display: block;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(
    135deg,
    var(--green-900) 0%,
    var(--green-800) 60%,
    var(--green-700) 100%
  );
  padding: 100px 0 60px;
  overflow: hidden;
}

/* Decorative curves */
.hero__curve {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero__curve--1 {
  width: 600px;
  height: 600px;
  top: -200px;
  left: -200px;
}

.hero__curve--2 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -80px;
}

.hero__curve--3 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  right: -100px;
  border-color: rgba(255, 255, 255, 0.05);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__greeting {
  font-size: 1.1rem;
  color: var(--sage-300);
  margin-bottom: 16px;
  font-weight: 400;
}

.hero__greeting .text-green {
  color: var(--green-300);
  font-weight: 600;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 24px;
}

.hero__title .text-green {
  color: var(--green-300);
}

.hero__desc {
  font-size: 1.05rem;
  color: var(--sage-300);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__actions .btn--primary {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
}

.hero__actions .btn--primary:hover {
  background: var(--green-100);
  border-color: var(--green-100);
  transform: translateY(-2px);
}

.hero__actions .btn--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.hero__actions .btn--outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

/* Hero Visual / Portrait */
.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__portrait-wrapper {
  position: relative;
  width: 420px;
  height: 480px;
}

.hero__portrait-bg {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 340px;
  height: 420px;
  background: var(--green-700);
  border-radius: 0 100px 0 100px;
  opacity: 0.5;
}

.hero__portrait-shape {
  position: absolute;
  top: 0;
  left: 0;
  width: 340px;
  height: 420px;
  background: linear-gradient(160deg, var(--green-600), var(--green-800));
  border-radius: 0 100px 0 100px;
  overflow: hidden;
}

.hero__portrait-shape::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -30px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
}

.hero__portrait-img {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 320px;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 90px 0 90px;
  z-index: 2;
}

/* Floating Icons */
.hero__float-icon {
  position: absolute;
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  box-shadow: var(--shadow-lg);
  z-index: 5;
  animation: float 4s ease-in-out infinite;
}

.hero__float-icon--pen {
  top: 30px;
  right: 60px;
  animation-delay: 0s;
}

.hero__float-icon--doc {
  bottom: 80px;
  left: -10px;
  animation-delay: 1s;
}

.hero__float-icon--chart {
  bottom: 40px;
  right: 20px;
  animation-delay: 2s;
}

.hero__float-icon--share {
  top: 60px;
  right: -10px;
  animation-delay: 0.5s;
  width: 42px;
  height: 42px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.about__image-col {
  display: flex;
  justify-content: center;
}

.about__image-wrapper {
  position: relative;
  width: 380px;
  height: 440px;
}

.about__image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--green-300);
  border-radius: var(--radius-lg);
  opacity: 0.6;
}

.about__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
}

.about__content .section-tag {
  margin-bottom: 12px;
}

.about__text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-100);
}

.about__stat {
  text-align: center;
}

.about__stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-800);
  line-height: 1;
}

.about__stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 4px;
  font-weight: 500;
}

/* ========================================
   PORTFOLIO SECTION
   ======================================== */
.portfolio {
  padding: 100px 0;
  background: var(--gray-50);
}

.portfolio__filters {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.portfolio__filter {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  transition: var(--transition);
}

.portfolio__filter:hover {
  border-color: var(--green-400);
  color: var(--green-700);
}

.portfolio__filter.active {
  background: var(--green-800);
  color: var(--white);
  border-color: var(--green-800);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.portfolio__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.portfolio__card::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-600);
  transform: scaleX(0);
  transition: var(--transition);
}

.portfolio__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio__card:hover::before {
  transform: scaleX(1);
}

.portfolio__card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-700);
  background: var(--green-50);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.portfolio__card-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.3;
}

.portfolio__card-excerpt {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 20px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.portfolio__card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-700);
  position: relative;
}

.portfolio__card-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-600);
  transition: var(--transition);
}

.portfolio__card-link:hover::after {
  width: 100%;
}

.portfolio__card-link svg {
  transition: var(--transition);
}

.portfolio__card-link:hover svg {
  transform: translateX(4px);
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.services__card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

.services__card:hover {
  background: var(--white);
  border-color: var(--green-200);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.services__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background: var(--green-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-700);
  transition: var(--transition);
}

.services__card:hover .services__icon {
  background: var(--green-800);
  color: var(--white);
}

.services__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 12px;
}

.services__desc {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.services__accent {
  width: 40px;
  height: 3px;
  background: var(--green-400);
  border-radius: 2px;
  margin: 20px auto 0;
  transition: var(--transition);
}

.services__card:hover .services__accent {
  width: 60px;
  background: var(--green-600);
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
  padding: 100px 0;
  background: var(--green-50);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonials__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonials__card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.testimonials__quote-icon {
  color: var(--green-200);
  margin-bottom: 16px;
}

.testimonials__text {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--gray-700);
  margin-bottom: 24px;
}

.testimonials__author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonials__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-800);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonials__avatar span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.testimonials__name {
  display: block;
  font-weight: 600;
  color: var(--green-800);
  font-size: 0.95rem;
}

.testimonials__role {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
  padding: 100px 0;
  background: var(--white);
  position: relative;
  overflow: hidden;
}

.contact__bg-shape {
  position: absolute;
  top: -100px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: var(--green-50);
  border-radius: 50%;
  opacity: 0.5;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.contact__desc {
  font-size: 1rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-top: 16px;
  margin-bottom: 28px;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact__detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.contact__detail svg {
  color: var(--green-600);
  flex-shrink: 0;
}

.contact__form-wrapper {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form__group input,
.form__group textarea,
.form__group select {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
}

.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(42, 143, 107, 0.1);
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: var(--gray-300);
}

.form__group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a857c' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}

.form__group select option[disabled] {
  color: var(--gray-300);
}

.contact__form .btn--primary {
  margin-top: 8px;
  padding: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--green-900);
  padding: 48px 0 32px;
  color: var(--sage-300);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer__brand .navbar__logo {
  color: var(--white);
}

.footer__tagline {
  font-size: 0.9rem;
  color: var(--sage-300);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.9rem;
  color: var(--sage-300);
  transition: var(--transition);
}

.footer__links a:hover {
  color: var(--white);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage-300);
  transition: var(--transition);
}

.footer__social a:hover {
  background: var(--green-700);
  border-color: var(--green-700);
  color: var(--white);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--sage-300);
  opacity: 0.7;
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__portrait-wrapper {
    width: 340px;
    height: 400px;
  }

  .hero__portrait-bg {
    width: 280px;
    height: 340px;
  }

  .hero__portrait-shape {
    width: 280px;
    height: 340px;
  }

  .hero__portrait-img {
    width: 260px;
    height: 320px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about__image-wrapper {
    width: 300px;
    height: 350px;
    margin: 0 auto;
  }

  .about__content .section-tag {
    justify-content: center;
  }

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

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

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

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

@media (max-width: 768px) {
  .navbar__menu,
  .navbar__cta {
    display: none;
  }

  .navbar__menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    gap: 4px;
    border-bottom: 1px solid var(--gray-100);
    box-shadow: var(--shadow-md);
  }

  .navbar__toggle {
    display: flex;
  }

  .navbar__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .navbar__toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .navbar__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero__portrait-wrapper {
    width: 280px;
    height: 340px;
  }

  .hero__portrait-bg {
    width: 240px;
    height: 300px;
  }

  .hero__portrait-shape {
    width: 240px;
    height: 300px;
  }

  .hero__portrait-img {
    width: 220px;
    height: 280px;
  }

  .hero__float-icon {
    width: 38px;
    height: 38px;
  }

  .hero__float-icon svg {
    width: 18px;
    height: 18px;
  }

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

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

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

  .about__stats {
    gap: 16px;
  }

  .about__stat-number {
    font-size: 1.8rem;
  }

  .contact__form-wrapper {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero__title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .portfolio__filters {
    gap: 6px;
  }

  .portfolio__filter {
    font-size: 0.78rem;
    padding: 8px 14px;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
