/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 13.5px;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #222222;
  background-color: #f4f4f4;
  font-size: 13.5px;
  font-weight: 400;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-img {
  width: 10vw;
  height: 10vw;
  object-fit: contain;
}
.hero-img-sm {
  width: 5vw;
  height: 5vw;
  object-fit: contain;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #222222;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #222222;
  margin-bottom: 1rem;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(244, 244, 244, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000000;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-link {
  text-decoration: none;
  color: #717171;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover {
  color: #000000;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: #000000;
  transition: width 0.3s ease;
  border-radius: 1px;
}

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

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 2px;
  background: #717171;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 0;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #f9f9f9;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23DDDDDD" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.5;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: rgba(0, 0, 0, 0.1);
  color: #000000;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #222222;
  line-height: 1.1;
}

.highlight {
  color: #000000;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #000000;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.hero-description {
  font-size: 1rem;
  color: #717171;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn {
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #000000;
  color: #f9f9f9;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-secondary {
  background: transparent;
  color: #000000;
}

.btn-secondary:hover {
  background: #000000;
  color: #f9f9f9;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #000000;
}

.btn-outline:hover {
  background: #000000;
  color: #f9f9f9;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cv-dropdown {
  position: relative;
  display: inline-block;
}

.cv-dropdown-btn {
  position: relative;
  cursor: pointer;
}

.cv-dropdown-btn i {
  transition: transform 0.3s ease;
}

.cv-dropdown.active .cv-dropdown-btn i {
  transform: rotate(180deg);
}

.cv-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 150px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  margin-top: 0.5rem;
}

.cv-dropdown.active .cv-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cv-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  color: #333;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.cv-dropdown-item:last-child {
}

.cv-dropdown-item:hover {
  background-color: #f4f4f4;
  color: #000000;
}

.cv-dropdown-item i {
  font-size: 0.9rem;
  width: 16px;
  text-align: center;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: #717171;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image {
  position: relative;
}

.profile-placeholder {
  width: 320px;
  height: 320px;
  background: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9f9f9;
  font-size: 4rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.floating-element {
  position: absolute;
  width: 60px;
  height: 60px;
  background: #f9f9f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.5rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  animation: float 6s ease-in-out infinite;
}

.floating-1 {
  top: 10px;
  left: -50px;
  animation-delay: 0s;
}

.floating-2 {
  top: 40%;
  right: -50px;
  animation-delay: 2s;
}

.floating-3 {
  bottom: 10px;
  left: 30px;
  animation-delay: 4s;
}

.floating-4 {
  top: 25%;
  left: -60px;
  animation-delay: 1s;
}

.floating-5 {
  top: 80%;
  right: -40px;
  animation-delay: 3s;
}

.floating-6 {
  top: 5%;
  right: 20px;
  animation-delay: 5s;
}

.floating-7 {
  bottom: 30%;
  left: 50px;
  animation-delay: 2.5s;
}

.floating-8 {
  top: 65%;
  left: -30px;
  animation-delay: 1.5s;
}

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

/* About Section */
.about {
  padding: 120px 0;
  background: #f4f4f4;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-text p {
  font-size: 1rem;
  color: #717171;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-visual {
  display: grid;
  gap: 2rem;
}

.about-card {
  background: #f9f9f9;
  padding: 2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.about-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9f9f9;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #222222;
}

.about-card p {
  font-size: 0.9rem;
  color: #717171;
  line-height: 1.6;
}

/* Skills Section */
.skills {
  padding: 120px 0;
  background: #f9f9f9;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.skill-card {
  background: #f4f4f4;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #000000;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.skill-card:hover::before {
  transform: scaleX(1);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.skill-logo {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.skill-card:hover .skill-logo {
  transform: scale(1.1);
}

.skill-name {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0;
  color: #222222;
}

.skill-rating {
  display: none;
}

.star {
  display: none;
}

.skill-details {
  display: none;
}

/* Projects Section */
.projects {
  padding: 120px 0;
  background: #f4f4f4;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

.project-card {
  background: #f9f9f9;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Project Carousel Styles */
.project-carousel {
  position: relative;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: #f4f4f4;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Mobile phone frame styles */
.project-carousel.mobile-frame {
  background: #1a1a1a;
  border-radius: 5px;
  padding: 8px;
  box-shadow: 0 0 0 2px #333, 0 8px 32px rgba(0, 0, 0, 0.3);
  position: relative;
  height: 280px;
  width: 140px;
  margin: 0 auto;
  background-image: none;
}

.project-carousel.mobile-frame.pixel,
.project-carousel.mobile-frame.iphone {
  background: none;
  box-shadow: none;
  padding: 0;
  background-image: none;
}

.project-carousel.mobile-frame::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 10;
}

.project-carousel.mobile-frame::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  background: #333;
  border-radius: 2px;
  z-index: 10;
}

.project-carousel.mobile-frame .project-carousel-track {
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  background: #000;
}

.project-carousel.mobile-frame .project-carousel-slide {
  border-radius: 8px;
  overflow: hidden;
}

.project-carousel.mobile-frame .project-carousel-slide img {
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.project-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}

.project-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-carousel-slide.active {
  opacity: 1;
}

.project-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.project-image-placeholder {
  width: 100%;
  height: 220px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9f9f9;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}

.project-image-placeholder::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(249, 249, 249, 0.1) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.project-card:hover .project-image-placeholder::before {
  transform: translateX(100%);
}

.project-carousel-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
  gap: 1rem;
}

.project-carousel.mobile-frame .project-carousel-controls {
  bottom: 8px;
  left: 8px;
  right: 8px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
}

.project-carousel-btn {
  background: rgba(249, 249, 249, 0.3);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: #000000;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  border: none;
}

.project-carousel.mobile-frame .project-carousel-btn {
  width: 28px;
  height: 28px;
  font-size: 0.7rem;
  background: rgba(249, 249, 249, 0.3);
  backdrop-filter: blur(10px);
}

.project-carousel-btn:hover {
  background: rgba(249, 249, 249, 0.5);
  transform: scale(1.1);
}

.project-carousel-btn:active {
  transform: scale(0.95);
}

.project-carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.project-carousel.mobile-frame .project-carousel-dots {
  gap: 0.3rem;
}

.project-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 8px;
  background: rgba(249, 249, 249, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.project-carousel.mobile-frame .project-carousel-dot {
  width: 6px;
  height: 6px;
  background: rgba(249, 249, 249, 0.6);
}

.project-carousel-dot.active {
  background: #f9f9f9;
  transform: scale(1.2);
}

.project-carousel-dot:hover {
  background: rgba(249, 249, 249, 0.8);
}

.project-content {
  padding: 2rem;
}

.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.project-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #222222;
  margin: 0;
  flex: 1;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.project-status.web {
  background: rgba(52, 152, 219, 0.1);
  color: #3498db;
}

.project-status.mobile {
  background: rgba(46, 204, 113, 0.1);
  color: #2ecc71;
}

.project-status i {
  font-size: 0.7rem;
}

.project-description {
  color: #717171;
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 0.9rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tech-tag {
  background: #f4f4f4;
  color: #717171;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-link {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.project-link.live {
  background: #000000;
  color: #f9f9f9;
}

.project-link.code {
  background: transparent;
  color: #000000;
}

.project-link:hover {
  transform: translateY(-2px);
}

/* Contact Section */
.contact {
  padding: 120px 0;
  background: #f9f9f9;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-intro {
  color: #717171;
  margin-bottom: 3rem;
  line-height: 1.7;
  font-size: 1rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: #000000;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f9f9f9;
  font-size: 1.2rem;
}

.contact-text {
  display: flex;
  flex-direction: column;
}

.contact-label {
  font-size: 0.8rem;
  color: #717171;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-value {
  font-size: 1rem;
  color: #222222;
  font-weight: 500;
}

.contact-form {
  background: #f4f4f4;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 2rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222222;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: inherit;
  background: #f9f9f9;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  background: #f9f9f9;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-method-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  color: #222222;
  margin-bottom: 0.5rem;
}

.contact-method-options {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-method-option {
  flex: 1;
  cursor: pointer;
  position: relative;
}

.contact-method-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.option-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background: #f9f9f9;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-method-option input[type="radio"]:checked + .option-content {
  background: rgba(0, 0, 0, 0.05);
  color: #000000;
}

.contact-method-option:hover .option-content {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.option-content i {
  font-size: 1.1rem;
}

/* Footer */
.footer {
  background: #f4f4f4;
  color: #000000;
  padding: 3rem 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-left p {
  color: #717171;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  background: #000000;
  transform: translateY(-2px);
}

.copyright {
  color: #717171;
  font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 13px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: #f9f9f9;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .profile-placeholder {
    width: 250px;
    height: 250px;
    font-size: 3rem;
  }

  .floating-element {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .project-status {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }

  .project-carousel {
    height: 220px;
  }

  .project-carousel.mobile-frame {
    height: 280px;
    width: 140px;
  }

  .project-image-placeholder {
    height: 220px;
  }

  .project-carousel-controls {
    padding: 0.4rem 0.8rem;
    gap: 0.8rem;
  }

  .project-carousel-btn {
    width: 28px;
    height: 28px;
    font-size: 0.7rem;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 12px;
  }

  .container {
    padding: 0 1rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
  }

  .profile-placeholder {
    width: 200px;
    height: 200px;
    font-size: 2.5rem;
  }

  .floating-element {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .project-carousel {
    height: 180px;
  }

  .project-carousel.mobile-frame {
    height: 240px;
    width: 120px;
  }

  .project-image-placeholder {
    height: 180px;
  }

  .project-carousel-controls {
    padding: 0.3rem 0.6rem;
    gap: 0.6rem;
  }

  .project-carousel-btn {
    width: 24px;
    height: 24px;
    font-size: 0.6rem;
  }

  .project-carousel-dot {
    width: 6px;
    height: 6px;
  }

  .contact-form {
    padding: 2rem;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .project-status {
    font-size: 0.65rem;
    padding: 0.25rem 0.5rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}
