* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary-gradient: linear-gradient(45deg, #ff8a00, #e52e71);
  --bg-gradient: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  --card-bg: rgba(255, 255, 255, 0.05);
  --text-primary: #fff;
  --text-secondary: rgba(255, 255, 255, 0.8);
  --border-color: rgba(255, 255, 255, 0.1);
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--bg-gradient);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background: rgba(15, 32, 39, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid var(--border-color);
  transform: translateY(0);
  transition: transform 0.3s ease, background 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  animation: fadeInLeft 0.8s ease forwards;
}

.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #ff8a00;
  overflow: hidden;
  background-color: #2c5364;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-text span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links li {
  opacity: 0;
  animation: fadeInDown 0.5s ease forwards;
}

.nav-links li:nth-child(1) {
  animation-delay: 0.3s;
}
.nav-links li:nth-child(2) {
  animation-delay: 0.4s;
}
.nav-links li:nth-child(3) {
  animation-delay: 0.5s;
}
.nav-links li:nth-child(4) {
  animation-delay: 0.6s;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover {
  color: #ff8a00;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-gradient);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.8rem;
  cursor: pointer;
  margin-right: 20px;
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.hero h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.3s forwards;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease 0.6s forwards;
}

.btn {
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  border: none;
  font-family: "Poppins", sans-serif;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Floating elements */
.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  animation: float 6s ease-in-out infinite;
}

.element-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 60%;
  animation-delay: 0s;
}

.element-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
}

.element-3 {
  width: 60px;
  height: 60px;
  top: 80%;
  left: 20%;
  animation-delay: 4s;
}

.element-4 {
  width: 100px;
  height: 100px;
  top: 40%;
  left: 10%;
  animation-delay: 1s;
}

/* Section Styling */
section {
  padding: 100px 0;
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

section.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible h2 {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.section-header.visible p {
  opacity: 1;
  transform: translateY(0);
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content.visible .about-image {
  opacity: 1;
  transform: translateX(0);
}

.image-frame {
  width: 100%;
  max-width: 400px;
  border-radius: 20px;
  border: 4px solid #ff8a00;
  overflow: hidden;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  position: relative;
}

.image-frame::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255, 138, 0, 0.2),
    rgba(229, 46, 113, 0.2)
  );
  z-index: 1;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-frame:hover img {
  transform: scale(1.05);
}

.about-text {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-content.visible .about-text {
  opacity: 1;
  transform: translateX(0);
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.about-text p {
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.skill {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.about-content.visible .skill {
  opacity: 1;
  transform: scale(1);
}

.about-content.visible .skill:nth-child(1) {
  transition-delay: 0.1s;
}
.about-content.visible .skill:nth-child(2) {
  transition-delay: 0.2s;
}
.about-content.visible .skill:nth-child(3) {
  transition-delay: 0.3s;
}
.about-content.visible .skill:nth-child(4) {
  transition-delay: 0.4s;
}
.about-content.visible .skill:nth-child(5) {
  transition-delay: 0.5s;
}
.about-content.visible .skill:nth-child(6) {
  transition-delay: 0.6s;
}
.about-content.visible .skill:nth-child(7) {
  transition-delay: 0.7s;
}
.about-content.visible .skill:nth-child(8) {
  transition-delay: 0.8s;
}
/* Work Section */
.work-section {
  background: rgba(0, 0, 0, 0.2);
  padding: 80px 0;
}

/* Project Filters */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 40px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Projects Grid */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.project-card {
  background: var(--card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  opacity: 0;
  transform: translateY(30px);
}

.work-section.visible .project-card {
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* FIXED: Project Image Section */
.project-image {
  position: relative;
  height: 400px;
  width: 100%; /* Ensure full width */
  overflow: hidden;
  background: var(--primary-gradient); /* Fallback background */
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
}

.project-image img {
  width: 100%; /* Full width of container */
  height: 100%; /* Full height of container */
  object-fit: cover; /* This ensures image covers the entire area */
  object-position: center; /* Center the image */
  display: block; /* Remove extra space below image */
  transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

/* Status badge positioning */
.status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 12px;
  font-size: 0.7rem;
  z-index: 2;
}

.status-badge.live {
  background: #10b981;
}

.status-badge.in-development {
  background: #f59e0b;
}

/* Project Details */
.project-details {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-details h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.project-details p {
  color: var(--text-secondary);
  margin-bottom: 15px;
  font-size: 0.9rem;
  line-height: 1.6;
  flex-grow: 1;
}

.project-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.project-link {
  background: var(--primary-gradient);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-align: center;
  flex: 1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.project-link.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-color);
}

.project-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.project-link.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.project-link:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.project-link:disabled:hover {
  transform: none;
  box-shadow: none;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.tag {
  background: rgba(255, 255, 255, 0.1);
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Animation delays */
.work-section.visible .project-card:nth-child(1) {
  transition-delay: 0.1s;
}
.work-section.visible .project-card:nth-child(2) {
  transition-delay: 0.2s;
}
.work-section.visible .project-card:nth-child(3) {
  transition-delay: 0.3s;
}
.work-section.visible .project-card:nth-child(4) {
  transition-delay: 0.4s;
}
.work-section.visible .project-card:nth-child(5) {
  transition-delay: 0.5s;
}
.work-section.visible .project-card:nth-child(6) {
  transition-delay: 0.6s;
}

/* Contact Section */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-form {
  background: var(--card-bg);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-color);
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-section.visible .contact-form {
  opacity: 1;
  transform: translateX(0);
}

.contact-form h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.contact-form p {
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contact-section.visible .form-group {
  opacity: 1;
  transform: translateY(0);
}

.contact-section.visible .form-group:nth-child(1) {
  transition-delay: 0.1s;
}
.contact-section.visible .form-group:nth-child(2) {
  transition-delay: 0.2s;
}
.contact-section.visible .form-group:nth-child(3) {
  transition-delay: 0.3s;
}
.contact-section.visible .form-group:nth-child(4) {
  transition-delay: 0.4s;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.15);
  color: white;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff8a00;
  box-shadow: 0 0 0 2px rgba(255, 138, 0, 0.2);
}

.contact-form .btn {
  width: 100%;
  margin-top: 10px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease 0.5s, transform 0.5s ease 0.5s;
}

.contact-section.visible .contact-form .btn {
  opacity: 1;
  transform: translateY(0);
}

.contact-info {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.contact-section.visible .contact-info {
  opacity: 1;
  transform: translateX(0);
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-social {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  text-decoration: none;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.contact-section.visible .contact-social a {
  opacity: 1;
  transform: scale(1);
}

.contact-section.visible .contact-social a:nth-child(1) {
  transition-delay: 0.1s;
}
.contact-section.visible .contact-social a:nth-child(2) {
  transition-delay: 0.2s;
}
.contact-section.visible .contact-social a:nth-child(3) {
  transition-delay: 0.3s;
}
.contact-section.visible .contact-social a:nth-child(4) {
  transition-delay: 0.4s;
}
.contact-section.visible .contact-social a:nth-child(5) {
  transition-delay: 0.5s;
}
.contact-section.visible .contact-social a:nth-child(6) {
  transition-delay: 0.6s;
}
.contact-section.visible .contact-social a:nth-child(7) {
  transition-delay: 0.7s;
}
.contact-section.visible .contact-social a:nth-child(8) {
  transition-delay: 0.8s;
}

.contact-social a:hover {
  transform: translateY(-5px);
}

.github {
  background: #333;
}

.linkedin {
  background: #0077b5;
}

.dribbble {
  background: #ea4c89;
}

.behance {
  background: #1769ff;
}

.facebook {
  background: #3b5998;
}

.instagram {
  background: linear-gradient(
    45deg,
    #f09433,
    #e6683c,
    #dc2743,
    #cc2366,
    #bc1888
  );
}

.tiktok {
  background: #000;
}

.twitter {
  background: #1da1f2;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 0.2s forwards;
}

.footer-logo span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  color: var(--text-secondary);
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.footer-social a:nth-child(1) {
  animation: fadeInUp 0.5s ease 0.3s forwards;
}
.footer-social a:nth-child(2) {
  animation: fadeInUp 0.5s ease 0.4s forwards;
}
.footer-social a:nth-child(3) {
  animation: fadeInUp 0.5s ease 0.5s forwards;
}
.footer-social a:nth-child(4) {
  animation: fadeInUp 0.5s ease 0.6s forwards;
}
.footer-social a:nth-child(5) {
  animation: fadeInUp 0.5s ease 0.7s forwards;
}
.footer-social a:nth-child(6) {
  animation: fadeInUp 0.5s ease 0.8s forwards;
}
.footer-social a:nth-child(7) {
  animation: fadeInUp 0.5s ease 0.9s forwards;
}
.footer-social a:nth-child(8) {
  animation: fadeInUp 0.5s ease 1s forwards;
}

.footer-social a:hover {
  color: #ff8a00;
  transform: translateY(-3px);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease 1.1s forwards;
}

/* Modal styling */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background: var(--bg-gradient);
  width: 90%;
  max-width: 600px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  display: flex;
  max-height: 90vh;
  overflow-y: auto;
  animation: scaleIn 0.3s ease;
}

.modal-image {
  flex: 1;
  background: var(--primary-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 30px;
  min-height: 300px;
}

.modal-image-content {
  text-align: center;
}

.modal-image h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-form {
  flex: 1.5;
  padding: 40px;
}

.modal-form h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.modal-form p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2001;
}

.close-modal:hover {
  background: rgba(0, 0, 0, 0.5);
  transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(10deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive design */
@media (max-width: 992px) {
  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero h1 {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 15px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(15, 32, 39, 0.95);
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 140px 0 80px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  section {
    padding: 80px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 30px;
  }

  .modal-content {
    flex-direction: column;
  }

  .modal-image {
    min-height: 200px;
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .modal-form {
    padding: 25px;
  }
}
