:root {
  --primary: #00ffd5;
  --bg-dark: #0a0a0a;
  --bg-card: #111111;
  --text-primary: #e6e6e6;
  --text-secondary: #9e9e9e;
  --nav-height: 100px;
  --gradient: linear-gradient(90deg, #00ffd5 0%, #00b4d8 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Space Grotesk', sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  overflow-x: hidden;
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-height);
  backdrop-filter: blur(10px);
  background: rgba(10, 25, 47, 0.85);
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.logo {
  font-size: 2rem;
  color: var(--primary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 0 10%;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-content {
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.floating-elements {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary);
  animation: float 6s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(0, 255, 213, 0.1);
  transition: transform 0.3s ease;
}

.floating-card:nth-child(1) {
  top: 20%;
  right: 20%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 40%;
  right: 10%;
  animation-delay: 1.5s;
}

.floating-card:nth-child(3) {
  top: 60%;
  right: 30%;
  animation-delay: 3s;
}

.floating-card:nth-child(4) {
  top: 80%;
  right: 15%;
  animation-delay: 4.5s;
}

.typing-text {
  display: inline-block;
}

.cursor {
  animation: blink 1s infinite;
  color: var(--primary);
}

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

.gradient-text {
  background: linear-gradient(45deg, var(--primary), #00b4d8, #0077b6);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.typing-animation {
  display: inline-block;
  border-right: 2px solid var(--primary);
  white-space: nowrap;
  animation: blink-caret 0.75s step-end infinite;
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--primary); }
}

.highlight {
  color: var(--primary);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0, 255, 213, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

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

.cta-button.primary {
  background: var(--gradient);
  color: var(--bg-dark);
  border: none;
}

.cta-button.secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 255, 213, 0.3);
}

.cta-button.primary:hover {
  background: linear-gradient(45deg, #00b4d8, var(--primary));
}

.scroll-indicator {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  background: rgba(0, 255, 213, 0.1);
  backdrop-filter: blur(10px);
  color: var(--primary);
  font-size: 0.7rem;
  opacity: 0.8;
  z-index: 1000;
  transition: all 0.3s ease;
  cursor: pointer;
}

.scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) scale(1.1);
  background: rgba(0, 255, 213, 0.2);
  box-shadow: 0 0 20px rgba(0, 255, 213, 0.3);
}

.scroll-indicator span {
  margin-top: 0.2rem;
  font-weight: 500;
}

.scroll-arrow {
  width: 2px;
  height: 15px;
  background: var(--primary);
  position: relative;
  animation: scrollBounce 2s infinite;
  opacity: 0.9;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: -3px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.section {
  padding: 100px 10%;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px rgba(0, 255, 213, 0.1);
}

.project-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

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

.project-overlay .project-links a {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.project-overlay .project-links a:hover {
  transform: scale(1.1);
  box-shadow: 0 5px 15px rgba(0, 255, 213, 0.4);
}

.project-content {
  padding: 1.5rem;
}

.project-title {
  color: var(--text-primary);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.project-description {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.tech-tag {
  background: rgba(0, 255, 213, 0.1);
  color: var(--primary);
  padding: 0.3rem 0.8rem;
  border-radius: 15px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 213, 0.2);
}

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

.skill-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 255, 213, 0.1);
}

.skill-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 213, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(0, 255, 213, 0.2);
  transition: all 0.3s ease;
}

.skill-card:hover .skill-icon-wrapper {
  background: rgba(0, 255, 213, 0.2);
  border-color: var(--primary);
  transform: scale(1.1);
}

.skill-icon {
  font-size: 2rem;
  color: var(--primary);
}

.skill-level {
  margin-top: 1rem;
}

.skill-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  width: 0%;
  transition: width 2s ease-in-out;
}

.github-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.github-project-card {
  background: var(--bg-card);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.github-project-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 213, 0.1);
}

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

.project-header h3 {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin: 0;
}

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

.project-stats span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.project-stats i {
  margin-right: 0.3rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.tech-badge {
  background: rgba(0, 255, 213, 0.1);
  color: var(--primary);
  padding: 0.2rem 0.6rem;
  border-radius: 10px;
  font-size: 0.8rem;
  border: 1px solid rgba(0, 255, 213, 0.2);
}

.project-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
}

.updated {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.view-btn {
  background: var(--primary);
  color: var(--bg-dark);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 255, 213, 0.3);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.contact-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.contact-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 3rem auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background: var(--primary);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  background: var(--primary);
  border-radius: 50%;
  top: 15px;
  z-index: 1;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(odd)::after {
  right: -10px;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-item:nth-child(even)::after {
  left: -10px;
}

.timeline-content {
  padding: 20px;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

.about-image-wrapper {
  position: relative;
  width: 300px;
  margin: 0 auto;
}

.about-image-container {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg-card);
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
  object-fit: cover;
  aspect-ratio: 1;
}

.about-image-wrapper:hover .about-image {
  transform: translate(-3px, -3px);
}

.about-content {
  color: var(--text-secondary);
}

.about-content h3 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.about-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.about-detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-detail-item i {
  color: var(--primary);
}

.contact-form-container {
  max-width: 600px;
  margin: 3rem auto;
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

.contact-form-container:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
}

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

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(0, 255, 213, 0.1);
}

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

.submit-button {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 1rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  border-radius: 6px;
}

.submit-button:hover {
  background: rgba(0, 255, 213, 0.1);
  transform: translateY(-3px);
}

.form-status {
  text-align: center;
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 6px;
  display: none;
}

.form-status.success {
  background: rgba(0, 255, 213, 0.1);
  color: var(--primary);
  display: block;
}

.form-status.error {
  background: rgba(255, 0, 0, 0.1);
  color: #ff4444;
  display: block;
}

.footer {
  text-align: center;
  padding: 2rem 0;
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 4rem;
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.copyright a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.copyright a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--primary);
}

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

.navbar {
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 5%;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--primary);
}

@media (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
    left: 0 !important;
  }

  .timeline-item::after {
    left: 21px !important;
    right: auto !important;
  }

  .timeline-content {
    width: 100%;
    word-wrap: break-word;
  }
}

.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.5;
  pointer-events: none;
}

.project-card,
.skill-card,
.contact-card {
  position: relative;
  overflow: hidden;
}

.project-card::before,
.skill-card::before,
.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.1),
      transparent);
  transition: 0.5s;
}

.project-card:hover::before,
.skill-card:hover::before,
.contact-card:hover::before {
  left: 100%;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 5px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0px);
  }
}

.skill-card,
.contact-card {
  animation: float 6s ease-in-out infinite;
}

.nav-links a {
  position: relative;
  padding: 5px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.custom-cursor {
  display: none;
}

.hero-subtitle {
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.hero-description {
  color: var(--text-secondary);
  font-size: 1.2rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

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

  .typing-animation {
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-visual {
    display: none;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
  }

  .floating-card {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

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

  .stat-number {
    font-size: 2rem;
  }
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.theme-toggle {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: scale(1.1);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

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

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

:root.light-theme {
  --primary: #0077b6;
  --bg-dark: #ffffff;
  --bg-card: #f8f9fa;
  --text-primary: #2d3748;
  --text-secondary: #4a5568;
}

:root.light-theme .navbar {
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

:root.light-theme .project-card,
:root.light-theme .skill-card,
:root.light-theme .contact-card,
:root.light-theme .github-project-card,
:root.light-theme .stat-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

:root.light-theme .floating-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 32px rgba(0, 119, 182, 0.1);
}

/* Mobile Navigation Styles */
@media (max-width: 768px) {
  .nav-links {
    display: none !important;
  }

  .mobile-menu-toggle {
    display: none !important;
  }

  .nav-controls {
    gap: 0.5rem !important;
  }
}

.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-text {
  color: var(--text-primary);
  font-size: 1.2rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@media (max-width: 768px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-wrapper {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .contact-form-container {
    margin: 3rem 1rem;
    padding: 1.5rem;
    max-width: calc(100% - 2rem);
  }

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

  .submit-button {
    padding: 0.8rem 1.5rem;
  }
}

.section {
  padding: 100px 10%;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 5%;
  }

  .contact-form-container {
    margin: 3rem auto;
    width: 90%;
    max-width: 600px;
  }
}
