:root {
  --primary-color: #7a89e2;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --info-color: #7a89e2;
  --warning-color: #ffc107;
  --dark-color: #343a40;
  --light-color: #f8f9fa;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Section titles */
.section-title {
  font-weight: 700;
  color: var(--dark-color);
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

/* Navigation */
.navbar {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--dark-color) !important;
}

.navbar-nav .nav-link {
  font-weight: 500;
  transition: color 0.3s ease;
  color: var(--dark-color) !important;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color) !important;
}

.navbar-toggler {
  border-color: var(--dark-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #d7cbeb 100%);
  color: white;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.about-content {
  padding: 2rem 0;
}

.about-avatar {
  position: relative;
  display: inline-block;
}

.avatar-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.3);
  animation: float 3s ease-in-out infinite;
}

.about-stats {
  margin-top: 3rem;
}
.stat-card {
  background: white;
  padding: 2rem 1rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-10px);
}

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

.stat-label {
  color: var(--secondary-color);
  font-weight: 500;
}

.developer-avatar {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}

.avatar-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: float 3s ease-in-out infinite;
  background: white;
  padding: 1rem;
}

.about_avatar-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  animation: float 2s ease-in-out infinite;
  background: white;
  padding: 1rem;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-icon-1 {
  top: 10%;
  left: 10%;
  animation: floatRotate 6s ease-in-out infinite;
  animation-delay: 0s;
}

.floating-icon-2 {
  top: 20%;
  right: 10%;
  animation: floatRotate 8s ease-in-out infinite;
  animation-delay: 1s;
}

.floating-icon-3 {
  bottom: 30%;
  left: 5%;
  animation: floatRotate 7s ease-in-out infinite;
  animation-delay: 2s;
}

.floating-icon-4 {
  bottom: 10%;
  right: 15%;
  animation: floatRotate 9s ease-in-out infinite;
  animation-delay: 3s;
}

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

@keyframes floatRotate {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-10px) rotate(90deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
  }
}

/* Skills Section */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.skill-category {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
}

.skill-category:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-category-title {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 1.2rem;
}

.skill-category-icon {
  font-size: 2rem;
  margin-right: 1rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}

.skill-category:nth-child(1) .skill-category-icon {
  background: linear-gradient(45deg, #007bff, #0056b3);
  color: white;
}

.skill-category:nth-child(2) .skill-category-icon {
  background: linear-gradient(45deg, #28a745, #20c997);
  color: white;
}

.skill-category:nth-child(3) .skill-category-icon {
  background: linear-gradient(45deg, #ffc107, #fd7e14);
  color: white;
}

.skill-category:nth-child(4) .skill-category-icon {
  background: linear-gradient(45deg, #dc3545, #e83e8c);
  color: white;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--light-color);
  color: var(--dark-color);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #dee2e6;
  transition: all 0.3s ease;
}

.skill-tag:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
}

/* Project Card */
.project-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(45deg, var(--primary-color), #0056b3);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-logo {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.project-image {
  text-align: center;
  margin-bottom: 2rem;
}

.project-icon {
  font-size: 3.5rem;
  color: white;
}

.project-features .badge {
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.5rem;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.stat-item i {
  font-size: 1rem;
}

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

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
}

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

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 0 auto 1rem;
}

.contact-card:nth-child(1) .contact-icon {
  background: linear-gradient(45deg, #7a89e2, #125785);
  color: white;
}

.contact-card:nth-child(2) .contact-icon {
  background: linear-gradient(45deg, #333, #24292e);
  color: white;
}

.contact-card:nth-child(3) .contact-icon {
  background: linear-gradient(45deg, #0088cc, #229ed9);
  color: white;
}

.contact-card:nth-child(4) .contact-icon {
  background: linear-gradient(45deg, #0077b5, #00a0dc);
  color: white;
}

.contact-card h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card p,
.contact-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-card a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #0056b3);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-success {
  background: linear-gradient(45deg, #28a745, #34a853);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(45deg, #34a853, #28a745);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-outline-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .avatar-img {
    width: 180px;
    height: 180px;
  }

  .floating-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-content .lead {
    text-align: center;
    font-size: 1rem;
  }

  .hero-content .d-flex {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-content .btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: 0.5rem;
  }

  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
  }

  .skill-category {
    padding: 1.5rem;
  }

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

  .project-image {
    margin-bottom: 1rem;
    text-align: center;
  }

  .project-icon {
    font-size: 3rem;
  }

  .project-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

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

  /* Contact Section Mobile */
  .availability-badge {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  .social-section {
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .social-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .social-card {
    padding: 1.2rem;
  }

  .contact-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .avatar-img {
    width: 150px;
    height: 150px;
  }

  .floating-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .lead {
    font-size: 0.95rem;
  }

  .skill-category {
    padding: 1.2rem;
  }

  .skill-category-icon {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
  }

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

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .project-logo {
    width: 80px;
    height: 80px;
  }

  .project-icon {
    font-size: 2.5rem;
  }

  /* Contact Section Mobile Small */
  .availability-badge {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    text-align: center;
  }

  .social-section h3 {
    font-size: 1.3rem;
  }

  .contact-card {
    padding: 1.2rem;
  }

  .social-card {
    padding: 1rem;
  }

  .contact-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }

  .contact-card h4 {
    font-size: 1.1rem;
  }

  .contact-card h5 {
    font-size: 1rem;
  }

  .contact-card p,
  .contact-card small {
    font-size: 0.85rem;
  }
}

/* Animation for sections */
@media (prefers-reduced-motion: no-preference) {
  .skill-category,
  .project-card,
  .contact-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
  }

  .skill-category:nth-child(1) {
    animation-delay: 0.1s;
  }
  .skill-category:nth-child(2) {
    animation-delay: 0.2s;
  }
  .skill-category:nth-child(3) {
    animation-delay: 0.3s;
  }
  .skill-category:nth-child(4) {
    animation-delay: 0.4s;
  }
}

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

/* Footer */
footer {
  margin-top: 0;
}

/* Utility classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

/* Project Card */
.project-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #eee;
  position: relative;
  overflow: hidden;
}

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

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

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.project-logo {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  box-shadow: 0 10px 25px #000000;
}

.project-image {
  text-align: center;
  margin-bottom: 2rem;
}

.project-icon {
  font-size: 3.5rem;
  color: white;
}

.project-features .badge {
  font-size: 0.8rem;
  padding: 0.5rem 0.8rem;
  margin-bottom: 0.5rem;
}

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

.stat-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #666;
}

.stat-item i {
  font-size: 1rem;
}

/* Contact Section Improvements */
.availability-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 500;
  border: 1px solid rgba(40, 167, 69, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
  }
}

.social-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid #eee;
}

.social-section h3 {
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 2rem;
}

/* Contact Cards */
.contact-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.contact-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  border: 1px solid #eee;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.contact-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.social-card {
  padding: 1.5rem;
}

.social-card h5 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
}

.contact-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 0 auto 1rem;
  transition: transform 0.3s ease;
}

.contact-card:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Specific icon colors */
.email-icon {
  background: linear-gradient(135deg, #ea4335, #fbbc04);
  color: white;
}

.telegram-icon {
  background: linear-gradient(135deg, #0088cc, #229ed9);
  color: white;
}

.github-icon {
  background: linear-gradient(135deg, #333, #24292e);
  color: white;
}

.discord-icon {
  background: linear-gradient(135deg, #5865f2, #7289da);
  color: white;
}

.instagram-icon {
  background: linear-gradient(135deg, #e4405f, #fd1d1d, #fcb045);
  color: white;
}

.contact-card h4 {
  color: var(--dark-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-card p,
.contact-card a {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact-card small {
  color: #888;
  font-size: 0.8rem;
  font-style: italic;
}

.contact-card a:hover {
  color: var(--primary-color);
}

/* Buttons */
.btn {
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-color), #0056b3);
  border: none;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #0056b3, var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-success {
  background: linear-gradient(45deg, #28a745, #34a853);
  border: none;
}

.btn-success:hover {
  background: linear-gradient(45deg, #34a853, #28a745);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(40, 167, 69, 0.3);
}

.btn-outline-primary {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-outline-secondary {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-secondary:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .avatar-img {
    width: 180px;
    height: 180px;
  }

  .floating-icon {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }

  .hero-icon {
    font-size: 8rem;
  }

  .hero-content h1 {
    font-size: 2.2rem;
    text-align: center;
  }

  .hero-content .lead {
    text-align: center;
    font-size: 1rem;
  }

  .hero-content .d-flex {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .hero-content .btn {
    width: 100%;
    max-width: 280px;
    margin-bottom: 0.5rem;
  }

  .project-image {
    margin-bottom: 1rem;
    text-align: center;
  }

  .project-icon {
    font-size: 3rem;
  }

  .skill-card,
  .project-card,
  .contact-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

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

  .navbar-nav .nav-link {
    text-align: center;
    padding: 0.8rem 1rem !important;
  }

  .contact-card {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .avatar-img {
    width: 150px;
    height: 150px;
  }

  .floating-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content .lead {
    font-size: 0.95rem;
  }

  .hero-icon {
    font-size: 6rem;
  }

  .skill-card,
  .contact-card {
    padding: 1.2rem;
  }

  .project-card {
    padding: 1.5rem;
  }

  .skill-icon {
    font-size: 2.5rem;
  }

  .contact-icon {
    font-size: 2rem;
  }

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

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Проект секція на мобільних */
  .project-card .row {
    text-align: center;
  }

  .project-features {
    text-align: center;
    margin: 1rem 0;
  }

  .project-stats {
    justify-content: center;
    text-align: center;
  }

  .project-card .d-flex {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .project-card .btn {
    flex: 1;
    min-width: 120px;
    margin-bottom: 0.5rem;
  }

  .project-logo {
    width: 80px;
    height: 80px;
  }

  .project-icon {
    font-size: 2.5rem;
  }
}

/* Animation for sections */
@media (prefers-reduced-motion: no-preference) {
  .skill-card,
  .project-card,
  .contact-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
  }

  .skill-card:nth-child(1) {
    animation-delay: 0.1s;
  }
  .skill-card:nth-child(2) {
    animation-delay: 0.2s;
  }
  .skill-card:nth-child(3) {
    animation-delay: 0.3s;
  }
}

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

/* Footer */
footer {
  margin-top: 0;
}

/* Utility classes */
.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}
