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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #ffffff;
  background-color: #000000;
  overflow-x: hidden;
}

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

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  transition: all 0.3s ease;
  height: 70px;
}

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

.nav-logo a {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(45deg, #ff2c2c 0%, #2c6bff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;

  background-size: 200% 200%;
  background-position: left; 
  transition: background-position 0.5s ease; 
}

.nav-logo a:hover {
  background-position: right;
  transition: background-position 2s ease;
}

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

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ff2c2c;
  transition: width 0.3s ease;
}

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

.lang-toggle {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ff2c2c;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 1rem;
}

.lang-toggle:hover {
  background: #ff2c2c;
  color: #000000;
  transform: translateY(-2px);
}

.lang-toggle:active {
  transform: translateY(0);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
  position: relative;
  align-self: center;
}

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

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  padding: 0 2rem;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  gap: 4rem;
}

.hero-text {
  flex: 0.8;
  max-width: 600px;
  overflow: visible;
}

.hero-image {
  flex: 1.4;
  max-width: 900px;
  position: relative;
}

.image-carousel {
  position: relative;
  width: 100%;
  height: auto;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.carousel-container:hover,
.image-carousel:hover .carousel-container {
  box-shadow: 0 25px 50px rgba(255, 44, 44, 0.4), 0 0 30px rgba(255, 44, 44, 0.2);
  transform: translateY(-2px);
}

.carousel-indicators:hover ~ .carousel-container,
.image-carousel:hover .carousel-container {
  box-shadow: 0 25px 50px rgba(255, 44, 44, 0.4), 0 0 30px rgba(255, 44, 44, 0.2);
  transform: translateY(-2px);
}

.hero-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-img.hero-fade-in {
  animation: heroImageFadeIn 1.5s ease-out forwards;
}

.hero-img:first-child {
  opacity: 1;
}

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

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.8);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.indicator:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.1);
}

.indicator.active {
  background: #ff2c2c;
  border-color: #ff2c2c;
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(255, 44, 44, 0.5);
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff2c2c 0%, #2c6bff 99%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: left;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  background: linear-gradient(45deg, #2c6bff -100%, #ff2c2c 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  text-align: left;
}

.hero-description {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 2rem;
  text-align: left;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(60deg, #2c6bff -160%, #ff2c2c 120%);
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  transform: translateY(0);
}

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

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(45deg);
}

.intro-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #1c2526 0%, #000000 100%);
}

.intro-content {
  text-align: center;
}

.intro-content h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.intro-content p {
  font-size: 1.2rem;
  color: #cccccc;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.specialty-item {
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.specialty-item:hover {
  transform: translateY(-10px);
  background: rgba(255, 44, 44, 0.1);
}

.specialty-item:hover .specialty-icon svg {
  transform: scale(1.1);
  color: #2c6bff;
}

.specialty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: #ff2c2c;
  display: flex;
  justify-content: center;
  align-items: center;
}

.specialty-icon svg {
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.specialty-item h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
}

.page-content {
  margin-top: 70px;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  background: linear-gradient(45deg, #ff2c2c 40%, #2c6bff 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-subtitle {
  font-size: 1.3rem;
  text-align: center;
  color: #cccccc;
  margin-bottom: 3rem;
}

.about-hero,
.projects-hero,
.contact-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #1c2526 0%, #000000 100%);
}

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

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

.about-text h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: #ff2c2c;
}

.about-text p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.about-image:hover img,
.about-image img:hover {
  box-shadow: 0 25px 50px rgba(255, 44, 44, 0.4), 0 0 30px rgba(255, 44, 44, 0.2);
  transform: translateY(-2px);
}

.expertise-section {
  padding: 5rem 0;
  background: rgba(255, 255, 255, 0.02);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 3rem;
  color: #ffffff;
}

.expertise-section {
  padding: 6rem 0;
  background: #0a0a0a;
}

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

.expertise-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.expertise-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 44, 44, 0.1);
  border-color: rgba(255, 44, 44, 0.3);
}

.expertise-card:hover .expertise-icon svg {
  transform: scale(1.1);
  color: #2c6bff;
}

.expertise-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #ff2c2c;
  display: flex;
  justify-content: center;
  align-items: center;
}

.expertise-icon svg {
  width: 48px;
  height: 48px;
  transition: all 0.3s ease;
}

.expertise-card h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #ffffff;
}

.expertise-card p {
  color: #cccccc;
  line-height: 1.6;
}

.projects-content {
  padding: 5rem 0;
}

.projects-category {
  margin-bottom: 6rem;
}

.projects-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #ff2c2c;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
}

.category-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(45deg, #ff2c2c 0%, #2c6bff 100%);
  border-radius: 2px;
}

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

.project-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 550px;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  will-change: transform;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 10px 20px rgba(0, 0, 0, 0.2);
}

.project-image {
  position: relative;
  overflow: hidden;
  height: 320px;
  width: 100%;
  flex-shrink: 0;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: block;
  will-change: transform;
}

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

.project-info {
  border-radius: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0rem 1.5rem 0rem 1.5rem;
  height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-align: left;
  transition: transform 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),
              background 0.4s ease,
              padding 0.4s ease;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7) 20%, rgba(0, 0, 0, 0.95));
  backdrop-filter: blur(10px);
  flex-shrink: 0;
  transform: translateY(0px);
  overflow: visible;
  will-change: transform, height;
}

.project-card:hover .project-info {
  transform: translateY(-10px);
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.98));
  height: 230px;
  backdrop-filter: blur(10px);
  justify-content: flex-end;
  padding: 2rem 1.5rem 2rem 1.5rem;
  overflow: visible;
}

.project-content {
  flex-grow: 1;
  transition: margin-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              gap 0.4s ease;
  margin-right: -1.5rem;
  margin-left: -1.5rem;
  margin-bottom: 0;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.95) 30%, rgba(0, 0, 0, 0.98));
  border-radius: 10px;
}

@media (max-width: 768px) {
  .project-content {
    margin-right: -1.15rem;
    margin-left: -1.15rem;
    gap: 0.5rem;
    background: rgba(0,0,0,0.85);
    border-radius: 8px;
    padding: 0.5rem 0.5rem 0 0.5rem;
  }
}
.project-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

.project-content h3 {
  order: unset;
  margin: 0;
  flex: 1;
}

.project-card:hover .project-content {
  margin-bottom: 6rem;
  padding-bottom: 0;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.project-info h3 {
  padding-left: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
  line-height: 1.3;
  transition: font-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              margin-bottom 0.4s ease;
}

.project-card:hover .project-info h3 {
  padding-left: 1rem;
  font-size: 1.5rem;
  margin-bottom: 0.8rem;
}

.project-category {
  color: #2c6bff;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: font-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              margin-bottom 0.4s ease;
}

.project-card:hover .project-category {
  color: #2c6bff;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.project-info p {
  text-align: justify;
  padding-left: 1rem;
  padding-right: 1rem;
  color: #ffffff;
  line-height: 1.5;
  font-size: 0.9rem;
  transition: font-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              line-height 0.4s ease;
  margin-bottom: 0.5rem;
}

.project-card:hover .project-info p {
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.6;
}

.project-info .project-content p[data-translate] {
  margin-bottom: 0.5rem !important;
  transition: margin-bottom 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              line-height 0.4s ease;
  max-height: none;
  overflow: visible;
  line-height: 1.5;
  display: block;
}

.project-card:hover .project-info .project-content p[data-translate] {
  max-height: none !important;
  overflow: visible !important;
  margin-bottom: 1.5rem !important;
  -webkit-line-clamp: none;
  line-clamp: none;
  display: block !important;
  line-height: 1.6;
  -webkit-box-orient: unset;
}

.project-date {
  color: #cccccc !important;
  font-size: 0.8rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
  padding: 0 2rem !important;
  font-style: italic;
  text-align: right;
  transition: font-size 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              padding-top 0.4s ease;
  flex-shrink: 0;
  align-self: flex-start;
  order: unset;
}

.project-card:hover .project-date {
  color: #cccccc !important;
  font-size: 0.85rem !important;
  align-self: flex-end;
  margin-top: auto !important;
  padding-top: 1.5rem !important;
}

.contact-content {
  padding: 5rem 0;
}

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

.contact-info h2 {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  color: #cccccc;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-methods {
  margin-bottom: 3rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-icon {
  font-size: 1.5rem;
  width: 50px;
  text-align: center;
}

.contact-method h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.contact-method p {
  color: #cccccc;
  margin: 0;
}

.social-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

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

.social-link-large {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link-large:hover {
  background: rgba(255, 44, 44, 0.1);
  border-color: rgba(255, 44, 44, 0.3);
  transform: translateY(-2px);
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff2c2c;
  background: rgba(255, 255, 255, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888888;
}

.submit-button {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(145deg, #2c6bff -160%, #ff2c2c 120%);
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 44, 44, 0.3);
}

.footer {
  background: #1c2526;
  padding: 2rem 0;
  margin-top: 5rem;
}

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

.footer-content p {
  color: #cccccc;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  background: #F4FAF8;
  color: #333;
  padding: 0.8rem;
  border-radius: 50%;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
}

.social-links a svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-links a[href*="instagram"] {
  color: #E4405F;
}

.social-links a[href*="instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.social-links a[href*="soundcloud"], .social-links a[aria-label="SoundCloud"] {
  color: #FF5500;
}

.social-links a[href*="soundcloud"]:hover, .social-links a[aria-label="SoundCloud"]:hover {
  background: #FF5500;
  color: white;
}

.social-links a[href*="youtube"], .social-links a[aria-label="YouTube"] {
  color: #FF0000;
}

.social-links a[href*="youtube"]:hover, .social-links a[aria-label="YouTube"]:hover {
  background: #FF0000;
  color: white;
}

.social-links a[href*="spotify"], .social-links a[aria-label="Spotify"] {
  color: #1DB954;
}

.social-links a[href*="spotify"]:hover, .social-links a[aria-label="Spotify"]:hover {
  background: #1DB954;
  color: white;
}

.social-links a[href*="apple"], .social-links a[aria-label="Apple Music"] {
  color: #FA243C;
}

.social-links a[href*="apple"]:hover, .social-links a[aria-label="Apple Music"]:hover {
  background: linear-gradient(45deg, #FA243C 0%, #FF6B35 50%, #FA243C 100%);
  color: white;
}

.social-links a[href*="tidal"], .social-links a[aria-label="Tidal"] {
  color: #00FFFF;
}

.social-links a[href*="tidal"]:hover, .social-links a[aria-label="Tidal"]:hover {
  background: linear-gradient(45deg, #00FFFF 0%, #0080FF 50%, #00FFFF 100%);
  color: white;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.social-link {
  color: #cccccc;
  transition: all 0.3s ease;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
  color: #ff2c2c;
  background: rgba(255, 44, 44, 0.1);
  transform: translateY(-2px);
}

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

.fade-in {
  opacity: 0;
  animation: fadeIn 1.2s ease forwards;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: fadeInLeft 1.2s ease forwards;
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  animation: fadeInRight 1.2s ease forwards;
}

h1.fade-in {
  animation-duration: 1.5s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

h2.fade-in {
  background: linear-gradient(45deg, #ff2c2c 40%, #2c6bff 110%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation-duration: 1.3s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

h3.fade-in {
  margin: 2rem 0rem 0rem 0rem;
  animation-duration: 1.1s;
  animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

@keyframes fadeInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes heroImageFadeIn {
  0% {
    opacity: 0;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes subtle-zoom {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }
  
  .hero-text {
    order: 2;
  }
  
  .hero-image {
    order: 1;
    max-width: 500px;
  }
  
  .hero-title {
    text-align: center;
    font-size: 2.8rem;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    text-align: center;
  }
  
  .hero-description {
    text-align: center;
  }
  
  .expertise-card {
    flex: 0 0 calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 1rem;
    height: auto;
    min-height: 100vh;
  }
  
  .hero-container {
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
    text-align: center;
  }
  
  .hero-text {
    order: 2;
    max-width: 100%;
  }
  
  .hero-image {
    order: 1;
    max-width: 100%;
    flex: 1;
  }
  
  .carousel-container {
    height: 280px;
    max-width: 100%;
  }
  
  .hero-title {
    font-size: 2.2rem;
    text-align: center;
    line-height: 1.1;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    text-align: center;
  }
  
  .hero-description {
    font-size: 1rem;
    text-align: center;
  }
  
  .carousel-indicators {
    bottom: 15px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  .carousel-container {
    height: 280px !important;
    min-height: 280px;
    background-color: #333; 
    position: relative;
    overflow: hidden;
  }
  
  .hero-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0 !important;
    z-index: 1;
  }
  
  .hero-img:first-child {
    opacity: 1 !important;
    z-index: 2;
    display: block !important;
  }
  
  .hero-img.active {
    opacity: 1 !important;
    z-index: 2;
    display: block !important;
  }
  
  .carousel-container img:first-child {
    opacity: 1 !important;
    position: relative !important;
    display: block !important;
  }
  
  .image-carousel {
    width: 100%;
    height: 280px;
    display: block;
    position: relative;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hamburger {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.95);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
    z-index: 999;
    backdrop-filter: blur(10px);
  }

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

  .hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.1;
  }

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

  .hero-description {
    font-size: 1rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .project-card {
    margin: 0 10px;
    height: 480px; 
  }

  .project-image {
    height: 280px; 
  }

  .project-info {
    height: 200px; 
    padding: 1.5rem 1.5rem;
    transform: translateY(80px); 
  }

  body.index .project-info.fade-in-left {
    height: 220px;
    padding: 1.2rem 0.8rem 1.8rem 0.8rem;
    font-size: 0.85rem;
    line-height: 1.4;
    box-shadow: 0 8px 24px rgba(44,107,255,0.10);
    background: linear-gradient(135deg, #181818 60%, #232323 100%);
    border-radius: 12px;
    margin-bottom: 0.8rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .project-card:hover .project-info {
    transform: translateY(10px); 
    height: 300px; 
    padding: 1.5rem 1rem 2.5rem 1rem;
  }

  .project-content {
    margin-bottom: 0;
  }

  .project-card:hover .project-content {
    margin-bottom: 5.5rem; 
  }

  .project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
  }

  .project-card:hover .project-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
  }

  .project-category {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .project-card:hover .project-category {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }

  .project-info p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .project-card:hover .project-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .project-date {
    font-size: 0.75rem !important;
    padding-top: 0.8rem !important;
  }

  .project-card:hover .project-date {
    font-size: 0.8rem !important;
    padding-top: 0.8rem !important;
  }

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

  .projects-category {
    margin-bottom: 4rem;
  }

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

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

  .expertise-card {
    min-height: 250px;
    padding: 2rem;
  }

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

  .social-links-large {
    flex-direction: column;
  }

  .page-title {
    font-size: 2.2rem;
  }

  .container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
    line-height: 1.1;
  }

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

  .nav-container {
    padding: 1rem;
    position: relative;
    height: 70px;
  }

  .contact-form {
    padding: 1.5rem;
  }

  .nav-link {
    padding: 1rem;
    font-size: 1.1rem;
  }

  .cta-button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    min-height: 48px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; 
    padding: 1rem;
  }

  .projects-grid {
    gap: 1.5rem;
  }

  .project-card {
    margin: 0 5px;
    height: 420px;
  }

  .project-image {
    height: 240px; 
  }

  .project-info {
    height: 180px;
    padding: 1rem;
    transform: translateY(50px);
  }

  .project-card:hover .project-info {
    transform: translateY(-20px);
    height: 260px;
    padding: 1.2rem 1rem 2rem 1rem;
  }

  .project-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    line-height: 1.2;
  }

  .project-card:hover .project-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }

  .project-category {
    font-size: 0.75rem;
    margin-bottom: 0.6rem;
    letter-spacing: 0.5px;
  }

  .project-card:hover .project-category {
    font-size: 0.8rem;
    margin-bottom: 0.8rem;
  }

  .project-info p {
    font-size: 0.8rem;
    line-height: 1.3;
  }

  .project-card:hover .project-info p {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .project-date {
    font-size: 0.7rem !important;
    padding-top: 0.6rem !important;
  }

  .project-card:hover .project-date {
    font-size: 0.75rem !important;
  }

  .category-title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .projects-category {
    margin-bottom: 3rem;
  }

  .projects-content {
    padding: 3rem 0;
  }

  .project-card {
    -webkit-tap-highlight-color: transparent;
  }

  .project-card:active {
    transform: translateY(-5px) scale(0.98);
  }

  body {
    overflow-x: hidden;
  }

  img {
    max-width: 100%;
    height: auto;
  }
}

@media (hover: none) and (pointer: coarse) {
  .project-info {
    transform: translateY(20px);
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.9) 30%, rgba(0, 0, 0, 0.95));
  }

  .project-card:hover .project-info,
  .project-card:active .project-info,
  .project-card:focus .project-info {
    transform: translateY(-40px);
  }

  .project-info h3 {
    font-size: 1.2rem;
  }

  .project-info p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .project-card:active {
    transform: translateY(-8px) scale(0.98);
    transition: all 0.2s ease;
  }
}

.latest-project-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    position: relative;
    overflow: hidden;
}

.latest-project-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 44, 44, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(44, 107, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.latest-project-content {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    padding: 10px 0;
    position: relative;
    min-height: 250px;
}

.project-info {
    padding-right: 15px;
    position: relative;
    z-index: 1;
    max-width: 800px;
    width: 100%;
}

.project-category {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.category-badge {
    background: linear-gradient(135deg, #ff2c2c, #ff4757);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-year {
    color: #888;
    font-size: 0.9rem;
    font-weight: 500;
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 30px;
}

.project-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cccccc;
    font-size: 0.95rem;
}

.feature-icon {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.project-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.play-demo-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 2px solid #2c6bff;
    color: #2c6bff;
    padding: 12px 24px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.play-demo-btn:hover {
    background: #2c6bff;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 107, 255, 0.3);
}

.project-visual {
    position: relative;
}

.project-image-container {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.project-image-container:hover .project-image {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: end;
}

.waveform-animation {
    display: flex;
    gap: 4px;
    align-items: end;
    height: 40px;
}

.wave-bar {
    width: 6px;
    background: linear-gradient(to top, #ff2c2c, #2c6bff);
    border-radius: 3px;
    animation: waveform 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { animation-delay: 0s; }
.wave-bar:nth-child(2) { animation-delay: 0.2s; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; }
.wave-bar:nth-child(4) { animation-delay: 0.6s; }
.wave-bar:nth-child(5) { animation-delay: 0.8s; }

@keyframes waveform {
    0%, 100% {
        height: 10px;
        opacity: 0.5;
    }
    50% {
        height: 40px;
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .latest-project-section {
        padding: 60px 0;
    }
    
    .latest-project-content {
        display: block;
        margin-top: 1rem;
        margin-bottom: 2rem;
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
        min-height: auto;
    }
    
    .project-info.fade-in-left,
    .project-info.fade-in-right {
        padding: 20px !important;
        margin: 0 auto !important;
        max-width: 100% !important;
        max-height: none !important;
        height: auto !important;
        min-height: 180px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        border-radius: 15px !important;
        box-shadow: 0 8px 24px rgba(44,107,255,0.15) !important;
        background: linear-gradient(135deg, #1a1a1a 40%, #2a2a2a 100%) !important;
        overflow: visible !important;
        transform: none !important;
        position: relative !important;
    }
    
    .project-info.fade-in-left .project-category,
    .project-info.fade-in-right .project-category {
        margin-bottom: 12px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .project-info.fade-in-left .category-badge,
    .project-info.fade-in-right .category-badge {
        font-size: 0.75rem;
        padding: 4px 12px;
    }
    
    .project-info.fade-in-left .project-year,
    .project-info.fade-in-right .project-year {
        font-size: 0.8rem;
    }
    
    .project-info.fade-in-left .project-title,
    .project-info.fade-in-right .project-title {
        font-size: 1.4rem !important;
        margin-bottom: 12px;
        line-height: 1.3;
        color: #ffffff;
    }
    
    .project-info.fade-in-left .project-description,
    .project-info.fade-in-right .project-description {
        font-size: 0.9rem;
        line-height: 1.5;
        color: #cccccc;
        text-align: justify;
        margin: 0;
    }
    
    .project-info {
        padding-right: 0;
        order: 2;
    }
    
    .project-visual {
        order: 1;
    }
    
    .project-actions {
        flex-direction: column;
        align-items: stretch;
        margin-top: 2rem;
    }
    
    .project-actions .cta-button,
    .play-demo-btn {
        text-align: center;
        justify-content: center;
    }
    
    .project-image {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .latest-project-section {
        padding: 40px 0;
    }
    
    .latest-project-content {
        display: block;
        margin-bottom: 1.5rem;
        padding: 0 10px;
        min-height: auto;
    }
    
    .project-info.fade-in-left,
    .project-info.fade-in-right {
        padding: 16px !important;
        min-height: 160px !important;
        border-radius: 12px !important;
    }
    
    .project-info.fade-in-left .project-title,
    .project-info.fade-in-right .project-title {
        font-size: 1.2rem !important;
        margin-bottom: 10px;
    }
    
    .project-info.fade-in-left .project-description,
    .project-info.fade-in-right .project-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .project-info.fade-in-left .category-badge,
    .project-info.fade-in-right .category-badge {
        font-size: 0.7rem;
        padding: 3px 10px;
    }
    
    .project-info.fade-in-left .project-year,
    .project-info.fade-in-right .project-year {
        font-size: 0.75rem;
    }
}