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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: #222;
  line-height: 1.6;
  background-color: #ffffff;
  cursor: none; /* Hide default cursor */
  padding-top: 80px; /* Space for fixed navbar */
}

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  will-change: left, top;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background-color: #000000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 0.15s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: float 4s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.5),
    0 0 25px rgba(255, 255, 255, 0.3), 0 0 35px rgba(255, 255, 255, 0.15);
}

.cursor-circle {
  width: 36px;
  height: 36px;
  border: 1.5px solid #000000;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  animation: float 4s ease-in-out infinite;
  animation-delay: 0.3s;
  opacity: 0.9;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4),
    0 0 30px rgba(255, 255, 255, 0.25), 0 0 40px rgba(255, 255, 255, 0.15);
}

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

/* Hide custom cursor on mobile devices */
@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

.nav-logo {
  flex-shrink: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.logo-link:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.logo-image {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
  display: block;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d4af37, #b8941f);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover,
.nav-link.active {
  color: #d4af37;
}

.nav-link:hover::before,
.nav-link.active::before {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
}

.nav-toggle-line {
  width: 28px;
  height: 2px;
  background: #222;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-toggle.active .nav-toggle-line {
  background: #d4af37;
}

/* Navigation Backdrop */
.nav-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  pointer-events: none;
}

.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

/* Mobile Navigation */
@media (max-width: 968px) {
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 60px 20px 40px;
    gap: 0;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-item {
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
  }

  .nav-menu.active .nav-item {
    opacity: 1;
    transform: translateY(0);
  }

  .nav-menu.active .nav-item:nth-child(1) {
    transition-delay: 0.1s;
  }

  .nav-menu.active .nav-item:nth-child(2) {
    transition-delay: 0.15s;
  }

  .nav-menu.active .nav-item:nth-child(3) {
    transition-delay: 0.2s;
  }

  .nav-menu.active .nav-item:nth-child(4) {
    transition-delay: 0.25s;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 20px 0;
    width: 100%;
    display: block;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
  }

  .nav-link::before {
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #b8941f);
  }

  .nav-link::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid #d4af37;
    border-bottom: 2px solid #d4af37;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    opacity: 1;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-image {
    height: 40px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 70px;
    padding: 0 15px;
  }

  body {
    padding-top: 70px;
  }

  .nav-menu {
    top: 70px;
    height: calc(100vh - 70px);
    background: rgba(255, 255, 255, 0.98);
  }

  .logo-image {
    height: 35px;
  }

  .nav-link {
    font-size: 1rem;
    padding: 18px 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  height: calc(100vh - 80px);
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-top: -80px;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #ffffff;
  z-index: 1;
  padding: 20px;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 2.5rem;
  letter-spacing: 0.1em;
  min-height: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

#typewriter-text {
  display: inline-block;
}

.typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  /* background-color: #ffffff; */
  animation: blink 1s infinite;
  margin-left: 2px;
  vertical-align: middle;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0;
  }
}

.cta-button {
  display: inline-block;
  padding: 16px 40px;
  background-color: #d4af37;
  color: #222;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 4px;
  transition: all 0.3s ease;
  border: 2px solid #d4af37;
}

.cta-button:hover {
  background-color: transparent;
  color: #d4af37;
  border-color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: #222;
  letter-spacing: 0.05em;
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #d4af37;
}

/* About Section */
.about {
  background-color: #ffffff;
}

.about-text {
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  color: #444;
}

/* Vision & Mission Section */
.vision-mission {
  background-color: #f8f8f8;
}

.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.vm-card {
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vm-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.vm-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.vm-title {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #222;
}

.vm-text {
  font-size: 1rem;
  line-height: 1.8;
  color: #555;
}

/* Highlights Section */
.highlights {
  background-color: #ffffff;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-card {
  text-align: center;
  padding: 30px 20px;
  transition: transform 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
}

.highlight-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: #d4af37;
  font-weight: 600;
}

.highlight-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}

.highlight-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #666;
}

/* Projects Section */
.projects {
  background-color: #f8f8f8;
}

.projects-description {
  font-size: 1.125rem;
  line-height: 1.8;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  color: #444;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-image-wrapper {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.75) 0%,
    rgba(0, 0, 0, 0.65) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 25px;
  opacity: 1;
  transform: translateX(0);
  border-left: 3px solid #d4af37;
}

.project-overlay-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  opacity: 1;
  transform: translateY(0);
}

.project-detail-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  position: relative;
}

.project-detail-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.project-detail-label {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(212, 175, 55, 0.9);
  margin-bottom: 5px;
}

.project-detail-value {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.project-name {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  padding: 25px 20px;
  color: #222;
  margin: 0;
  letter-spacing: 0.05em;
}

.project-view-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 32px;
  background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
  color: #222;
  border: none;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50%) translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
  z-index: 10;
}

.project-card:hover .project-view-btn,
.project-card:active .project-view-btn {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.project-view-btn:hover {
  background: linear-gradient(135deg, #b8941f 0%, #d4af37 100%);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
  transform: translateX(-50%) translateY(-2px);
}

.project-view-btn:active {
  transform: translateX(-50%) translateY(0);
}

/* Project Modal */
.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  max-height: 90vh;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  display: flex;
  flex-direction: column;
}

.project-modal.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 100;
}

.modal-close-btn:hover {
  background: rgba(212, 175, 55, 0.9);
  border-color: #d4af37;
  transform: rotate(90deg);
}

.modal-header {
  padding: 30px 40px;
  background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
  border-bottom: 2px solid #e8e8e8;
}

.modal-title {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin: 0;
  letter-spacing: 0.05em;
  text-align: center;
}

.modal-body {
  flex: 1;
  overflow: auto;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.modal-image {
  width: 100%;
  height: auto;
  max-height: calc(90vh - 120px);
  object-fit: contain;
  display: block;
}

/* Contact Section */
.contact {
  background-color: #f8f8f8;
}

.contact-wrapper {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background-color: #ffffff;
  padding: 50px 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 25px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #ffffff;
  color: #222;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.form-message {
  display: none;
  padding: 14px 18px;
  margin-bottom: 25px;
  border-radius: 4px;
  font-size: 0.95rem;
  text-align: center;
  font-weight: 500;
}

.form-message.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

.submit-button {
  width: 100%;
  padding: 16px;
  background-color: #d4af37;
  color: #222;
  border: 2px solid #d4af37;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover:not(:disabled) {
  background-color: transparent;
  color: #d4af37;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Footer */
.footer {
  background-color: #222;
  color: #ffffff;
  padding: 50px 0 30px;
}

.footer-content {
  margin-bottom: 40px;
}

.footer-contact {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.footer-contact-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #d4af37;
  letter-spacing: 0.05em;
}

.footer-contact-item {
  margin-bottom: 15px;
  line-height: 1.8;
}

.footer-contact-label {
  font-weight: 600;
  color: #d4af37;
  display: inline-block;
  min-width: 120px;
  text-align: right;
  margin-right: 15px;
  vertical-align: top;
}

.footer-contact-value {
  color: #e0e0e0;
  display: inline-block;
  text-align: left;
}

.footer-link {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #d4af37;
}

.footer-text {
  font-size: 0.9rem;
  color: #ccc;
  letter-spacing: 0.05em;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
}

/* Responsive Design */
@media (max-width: 968px) {
  .vm-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

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

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

  .vm-card {
    padding: 40px 30px;
  }

  .highlights-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .projects-description {
    font-size: 1rem;
    margin-bottom: 2.5rem;
  }

  .project-image-wrapper {
    height: 250px;
  }

  .project-overlay {
    width: 50%;
    padding: 25px 20px;
  }

  .project-detail-label {
    font-size: 0.7rem;
  }

  .project-detail-value {
    font-size: 1rem;
  }

  .project-overlay-content {
    gap: 20px;
  }

  .project-detail-item {
    padding-bottom: 15px;
    gap: 6px;
  }

  .project-view-btn {
    padding: 10px 28px;
    font-size: 0.85rem;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  .project-card.active .project-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .project-name {
    font-size: 1.25rem;
    padding: 20px;
  }

  .modal-container {
    width: 95%;
    max-height: 95vh;
  }

  .modal-header {
    padding: 25px 30px;
  }

  .modal-title {
    font-size: 1.5rem;
  }

  .modal-close-btn {
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
  }

  .contact-form {
    padding: 40px 30px;
  }

  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    height: calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    margin-top: -70px;
  }

  .hero-slide {
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 0.1em;
  }

  .hero-subtitle {
    font-size: 1rem;
    min-height: 1.5em;
  }

  .typewriter-cursor {
    height: 1em;
  }

  .cta-button {
    padding: 14px 30px;
    font-size: 0.9rem;
  }

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

  .about-text {
    font-size: 1rem;
  }

  .vm-card {
    padding: 30px 20px;
  }

  .vm-title {
    font-size: 1.5rem;
  }

  .projects-description {
    font-size: 0.95rem;
  }

  .project-image-wrapper {
    height: 200px;
  }

  .project-overlay {
    width: 55%;
    padding: 20px 15px;
  }

  .project-detail-label {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
  }

  .project-detail-value {
    font-size: 0.9rem;
  }

  .project-overlay-content {
    gap: 15px;
  }

  .project-detail-item {
    padding-bottom: 12px;
    gap: 5px;
  }

  .project-view-btn {
    padding: 8px 24px;
    font-size: 0.8rem;
    bottom: 15px;
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }

  .project-card.active .project-view-btn {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }

  .project-name {
    font-size: 1.125rem;
    padding: 15px;
  }

  .modal-container {
    width: 98%;
    max-height: 98vh;
    border-radius: 12px;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-title {
    font-size: 1.25rem;
  }

  .modal-close-btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
  }

  .modal-image {
    max-height: calc(98vh - 100px);
  }

  .contact-form {
    padding: 30px 20px;
  }

  .footer-contact-title {
    font-size: 1.25rem;
  }

  .footer-contact-label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    min-width: auto;
    margin-right: 0;
  }

  .footer-contact-value {
    display: block;
    margin-bottom: 15px;
  }
}
