* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1520 50%, #0d0d0d 100%);
}

.main-section {
  width: 90%;
  margin: 30px auto 40px;
  background-color: rgba(245, 245, 240, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 30px 25px;
  box-shadow: 0 0 30px rgba(20, 90, 160, 0.2),
    inset 0 0 20px rgba(245, 245, 240, 0.03);
  border: 1px solid rgba(70, 150, 220, 0.15);
  animation: slideInDown 0.8s ease;
}

/* NAVBAR */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 30px;
  background: linear-gradient(
    135deg,
    rgba(25, 110, 180, 0.65),
    rgba(150, 120, 200, 0.34)
  );
  border-radius: 18px;
  margin: 0;
  box-shadow: 0 10px 30px rgba(90, 80, 160, 0.35),
    inset 0 0 22px rgba(170, 140, 210, 0.06);
  border: 1.5px solid rgba(120, 100, 180, 0.55);
  backdrop-filter: blur(14px);
}

nav h1 {
  color: #f5f5f0;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(20, 90, 160, 0.5);
  white-space: nowrap;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #f5f5f0;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  padding: 8px 15px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #9dc4ff, #c9a7f0);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: #e6ddff;
  text-shadow: 0 0 12px rgba(160, 140, 210, 0.7);
}

.skills-section .gallery-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.skills-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin: 12px auto 18px;
  max-width: 520px;
  padding: 0 8px;
}

.skill-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(212, 168, 168, 0.12),
    rgba(232, 200, 200, 0.06)
  );
  border: 1px solid rgba(212, 168, 168, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  flex: 0 0 auto;
}

.skill-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
  width: 100%;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.skill-card {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.4),
    rgba(63, 26, 26, 0.15)
  );
  border: 1px solid rgba(200, 150, 150, 0.12);
  border-radius: 14px;
  padding: 16px;
  color: #e8dede;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #f5eaea;
}

.skill-card p {
  margin: 0;
  font-size: 14px;
  color: #d4d4c8;
  line-height: 1.5;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(200, 150, 150, 0.18);
}

/* Responsive adjustments for skills */
@media (max-width: 850px) {
  .skills-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 440px) {
  .skills-cards {
    grid-template-columns: 1fr;
  }
  .skill-icon {
    width: 34px;
    height: 34px;
  }
  .skill-icon img {
    width: 70%;
    height: 70%;
  }
}

.gallery-info p {
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(63, 26, 26, 0.3);
  border-radius: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 20px rgba(63, 26, 26, 0.3),
    inset 0 0 15px rgba(245, 245, 240, 0.03);
  border: 1px solid rgba(200, 150, 150, 0.15);
  backdrop-filter: blur(10px);
}

nav h1 {
  color: #f5f5f0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav a {
  color: #f5f5f0;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.3s ease;
  padding: 8px 15px;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #d4a8a8, #e8c8c8);
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a:hover,
nav a.active {
  color: #e8c8c8;
  text-shadow: 0 0 10px rgba(200, 150, 150, 0.5);
}

/* HERO */
.hero {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 40px;
  color: #f5f5f0;
  gap: 30px;
  animation: slideInUp 0.8s ease 0.2s backwards;
}

.hero-bottom {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 300px;
  text-align: center;
  width: 100%;
}

.hero h1 {
  font-size: 55px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 15px;
  animation: slideInUp 0.8s ease 0.3s backwards;
}

.hero h2 {
  font-size: 28px;
  margin-bottom: 20px;
  background: linear-gradient(to right, #d4a8a8, #e8c8c8, #f0d8d8);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideInUp 0.8s ease 0.4s backwards;
}

.hero p {
  max-width: 450px;
  margin: 15px auto 30px;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.9;
  color: #d4d4c8;
  animation: slideInUp 0.8s ease 0.5s backwards;
}

.Buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  animation: slideInUp 0.8s ease 0.6s backwards;
}

.btn {
  padding: 15px 35px;
  background: linear-gradient(135deg, #d4a8a8, #c89898);
  border-radius: 30px;
  border: 2px solid #d4a8a8;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #1a1a1a;
  font-size: 16px;
  box-shadow: 0 0 20px rgba(200, 150, 150, 0.3);
}

.btn:hover {
  background: transparent;
  color: #e8c8c8;
  box-shadow: 0 0 30px rgba(200, 150, 150, 0.6);
  transform: translateY(-3px);
  border-color: #e8c8c8;
}

.btn:active {
  transform: translateY(-1px);
}

.hero-img {
  width: 240px;
  height: 320px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(20, 90, 160, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  animation: pulse 2s ease-in-out infinite;
  transition: all 0.5s ease;
  border: 3px solid rgba(70, 150, 220, 0.5);
  flex-shrink: 0;
}

.hero-img:hover {
  box-shadow: 0 0 45px rgba(100, 180, 255, 0.6);
  transform: scale(1.05);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: lighten;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

.profil-oval {
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40% !important;
  object-fit: cover;
  display: block;
  width: 100%;
  height: 100%;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  animation: slideInUp 0.8s ease 0.6s backwards;
  flex: 1;
  min-width: 250px;
  max-width: 400px;
}

.info-card {
  background: linear-gradient(
    135deg,
    rgba(212, 168, 168, 0.1),
    rgba(232, 200, 200, 0.05)
  );
  border: 1px solid rgba(212, 168, 168, 0.3);
  border-radius: 10px;
  padding: 12px 15px;
  backdrop-filter: blur(10px);
  box-shadow: 0 0 20px rgba(200, 150, 150, 0.2);
  transition: all 0.3s ease;
}

.info-card:hover {
  background: linear-gradient(
    135deg,
    rgba(212, 168, 168, 0.2),
    rgba(232, 200, 200, 0.1)
  );
  box-shadow: 0 0 30px rgba(200, 150, 150, 0.4);
  transform: translateY(-5px);
  border-color: rgba(232, 200, 200, 0.5);
}

.info-card p {
  margin: 0;
  font-size: 12px;
  color: #d4d4c8;
  line-height: 1.4;
}

.ul-icons {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  animation: slideInUp 0.8s ease 0.7s backwards;
}

.ul-icons li {
  list-style: none;
}

.ul-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 2px solid #d4a8a8;
  border-radius: 50%;
  font-size: 20px;
  color: #d4a8a8;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(200, 150, 150, 0.2);
}

.ul-icons a:hover {
  background: #d4a8a8;
  color: #1a1a1a;
  box-shadow: 0 0 25px rgba(200, 150, 150, 0.6);
  transform: scale(1.2) rotateZ(10deg);
}

/* INFO */
.info-sec {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 20px 40px;
  gap: 20px;
}

.info-card {
  display: flex;
  align-items: center;
  gap: 15px;
  animation: fadeInScale 0.8s ease backwards;
}

.info-card:nth-child(2) {
  animation-delay: 0.2s;
}

.info-card:nth-child(3) {
  animation-delay: 0.4s;
}

.info-card h1 {
  font-size: 45px;
  background: linear-gradient(to right, #d4a8a8, #e8c8c8);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin: 0;
}

.info-card p {
  color: #f5f5f0;
  font-size: 18px;
  font-weight: 500;
}

/* ABOUT */
.about-section {
  padding: 60px 40px;
  color: #f5f5f0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.5),
    rgba(63, 26, 26, 0.3)
  );
}

.about-container {
  max-width: 1100px;
  margin: auto;
}

.section-title {
  text-align: center;
  font-size: 45px;
  margin-bottom: 60px;
  font-weight: 900;
  letter-spacing: 1px;
  position: relative;
  animation: slideInUp 0.8s ease;
  color: #f5f5f0;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #d4a8a8, #e8c8c8);
  margin: 20px auto 0;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(200, 150, 150, 0.5);
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
}

.about-img {
  width: 240px;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(200, 150, 150, 0.25);
  transition: all 0.3s ease;
  animation: slideInUp 0.8s ease;
  border: 2px solid rgba(200, 150, 150, 0.2);
}

.about-img:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(200, 150, 150, 0.4);
}

.about-text {
  max-width: 600px;
  animation: slideInUp 0.8s ease 0.2s backwards;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #e8c8c8;
}

.about-text p {
  margin-bottom: 15px;
  line-height: 1.8;
  opacity: 0.9;
  color: #d4d4c8;
}

/* SKILLS */
.skills-section {
  padding: 60px 40px;
  color: #f5f5f0;
  background: linear-gradient(
    135deg,
    rgba(63, 26, 26, 0.3),
    rgba(26, 26, 26, 0.5)
  );
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.skill-card {
  background: rgba(63, 26, 26, 0.2);
  padding: 30px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 0 15px rgba(200, 150, 150, 0.1);
  border: 2px solid rgba(200, 150, 150, 0.15);
  transition: all 0.3s ease;
  animation: fadeInScale 0.8s ease backwards;
  backdrop-filter: blur(8px);
}

.skill-card:nth-child(2) {
  animation-delay: 0.1s;
}

.skill-card:nth-child(3) {
  animation-delay: 0.2s;
}

.skill-card:nth-child(4) {
  animation-delay: 0.3s;
}

.skill-card:hover {
  border-color: #d4a8a8;
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(200, 150, 150, 0.3);
  background: rgba(63, 26, 26, 0.35);
}

.skill-card i {
  font-size: 50px;
  margin-bottom: 15px;
  color: #d4a8a8;
  transition: all 0.3s ease;
  display: block;
}

.skill-card:hover i {
  color: #e8c8c8;
  transform: scale(1.2) rotateZ(-10deg);
}

.skill-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #f5f5f0;
}

.skill-card p {
  font-size: 14px;
  opacity: 0.8;
  color: #d4d4c8;
}

/* GALLERY */
.gallery-section {
  padding: 60px 40px;
  color: #f5f5f0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.5),
    rgba(63, 26, 26, 0.3)
  );
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(200, 150, 150, 0.15);
  transition: all 0.3s ease;
  aspect-ratio: 1;
  animation: fadeInScale 0.8s ease backwards;
  border: 2px solid rgba(200, 150, 150, 0.1);
}

.gallery-item:nth-child(2) {
  animation-delay: 0.1s;
}

.gallery-item:nth-child(3) {
  animation-delay: 0.2s;
}

.gallery-item:nth-child(4) {
  animation-delay: 0.3s;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 50px rgba(200, 150, 150, 0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 30px 15px 15px;
  background: linear-gradient(
    to top,
    rgba(26, 26, 26, 0.95),
    rgba(26, 26, 26, 0.6)
  );
  color: #f5f5f0;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-info {
  transform: translateY(0);
}

/* Skills section */
.skills-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 8px auto 18px;
  max-width: 420px;
}

.skill-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    rgba(212, 168, 168, 0.12),
    rgba(232, 200, 200, 0.06)
  );
  border: 1px solid rgba(212, 168, 168, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.skill-icon img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
}

.skills-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 10px;
  width: 100%;
  max-width: 1000px;
}

.skill-card {
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.4),
    rgba(63, 26, 26, 0.15)
  );
  border: 1px solid rgba(200, 150, 150, 0.12);
  border-radius: 14px;
  padding: 18px;
  color: #e8dede;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.skill-card h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  color: #f5eaea;
}

.skill-card p {
  margin: 0;
  font-size: 14px;
  color: #d4d4c8;
  line-height: 1.5;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(200, 150, 150, 0.18);
}

/* Responsive adjustments for skills */
@media (max-width: 850px) {
  .skills-cards {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }
}

@media (max-width: 440px) {
  .skills-cards {
    grid-template-columns: 1fr;
  }
  .skill-icon {
    width: 36px;
    height: 36px;
  }
  .skill-icon img {
    width: 70%;
    height: 70%;
  }
}

@keyframes glow {
  0% {
    text-shadow: 0 0 10px rgba(200, 150, 150, 0.4);
  }
  50% {
    text-shadow: 0 0 20px rgba(220, 170, 170, 0.7);
  }
  100% {
    text-shadow: 0 0 10px rgba(200, 150, 150, 0.4);
  }
}

.gallery-info p {
  font-size: 14px;
  opacity: 0.8;
}

/* CONTACT */
.contact-section {
  padding: 60px 40px;
  color: #f5f5f0;
  background: linear-gradient(
    135deg,
    rgba(63, 26, 26, 0.3),
    rgba(26, 26, 26, 0.5)
  );
}

.contact-content {
  display: grid;
  grid-template-columns: 480px 1fr; /* map left (fixed width), form/info right (fluid) */
  gap: 40px;
  align-items: start;
  animation: slideInUp 0.8s ease;
}

.contact-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
}

/* map container */
.google-maps {
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
}

.google-maps iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* responsive: stack, map first on small screens */
@media (max-width: 850px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* ensure map appears above form on mobile */
  .contact-map {
    order: 0;
  }

  .contact-form-block {
    order: 1;
  }

  .google-maps {
    height: 260px;
  }
}

.contact-form-wrapper {
  animation: slideInUp 0.8s ease 0.2s backwards;
}

.contact-form {
  display: grid;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border-radius: 10px;
  border: 2px solid transparent;
  outline: none;
  background: rgba(245, 245, 240, 0.95);
  font-family: inherit;
  font-size: 16px;
  transition: all 0.3s ease;
  color: #1a1a1a;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: slideInUp 0.8s ease 0.4s backwards;
}

.social-media h3,
.contact-address h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #e8c8c8;
}

.social-icons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 2px solid #d4a8a8;
  border-radius: 50%;
  font-size: 20px;
  color: #d4a8a8;
  text-decoration: none;
  transition: all 0.25s ease;
  background: rgba(63, 26, 26, 0.06);
}

.social-icons a:hover {
  background: #d4a8a8;
  color: #1a1a1a;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 30px rgba(200, 150, 150, 0.2);
}

.contact-address p {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d4d4c8;
}

.google-maps {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.03);
}

/* Responsive: stack on small screens (map above form) */
@media (max-width: 850px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .google-maps iframe {
    height: 260px !important;
  }
}

/* FOOTER */
.footer {
  text-align: center;
  color: rgba(245, 245, 240, 0.6);
  padding: 30px 20px;
  background: rgba(26, 26, 26, 0.8);
  font-size: 14px;
  border-top: 1px solid rgba(200, 150, 150, 0.2);
}

/* RESPONSIVE */
@media (max-width: 850px) {
  .main-section {
    width: 95%;
    padding: 20px;
    margin: 20px auto;
  }

  nav {
    flex-direction: column;
    gap: 15px;
    padding: 15px;
  }

  nav ul {
    display: none;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding-top: 15px;
    border-top: 1px solid rgba(200, 150, 150, 0.2);
  }

  nav ul.active {
    display: flex;
  }

  nav a {
    text-align: center;
    font-size: 14px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .hero-bottom {
    flex-direction: column;
  }

  .hero-img {
    width: 210px;
    height: 280px;
  }

  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .Buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .info-sec {
    flex-direction: column;
  }

  .info-card {
    width: 100%;
  }

  .about-section,
  .skills-section,
  .gallery-section,
  .contact-section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 32px;
  }

  .about-content {
    flex-direction: column;
    gap: 30px;
  }

  .about-img {
    width: 100%;
    max-width: 240px;
  }

  .about-text {
    max-width: 100%;
  }

  .skill-card {
    padding: 20px 15px;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 440px) {
  .main-section {
    width: 100%;
    border-radius: 15px;
    padding: 15px;
    margin: 10px 0;
  }

  nav h1 {
    font-size: 22px;
  }

  nav a {
    font-size: 12px;
    padding: 5px 10px;
  }

  .hero {
    padding: 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    font-size: 14px;
  }

  .hero-bottom {
    flex-direction: column;
  }

  .hero-img {
    width: 190px;
    height: 250px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .info-card p {
    font-size: 12px;
  }

  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .info-card h1 {
    font-size: 32px;
  }

  .info-card p {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    max-width: 100%;
  }

  .ul-icons a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
