/* Mobile Styles (max-width: 767px) */
body {
  overflow-x: hidden;
}

.studio-container {
  overflow-x: hidden;
  width: 100%;
}
@media (max-width: 767px) {
  /* Header */
  .site-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    gap: 0;
  }
  
  .main-nav {
    display: none;
  }
  
  .contact-button {
    display: none;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .logo-icon {
    width: 30px;
    height: 30px;
  }
  
  /* Hamburger Menu */
  .hamburger-menu {
    display: block;
    width: 24px;
    height: 24px;
    position: relative;
    cursor: pointer;
    z-index: 1000;
  }
  
  .hamburger-menu span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-white);
    position: absolute;
    left: 0;
    transition: all 0.3s ease;
  }
  
  .hamburger-menu span:nth-child(1) {
    top: 4px;
  }
  
  .hamburger-menu span:nth-child(2) {
    top: 11px;
  }
  
  .hamburger-menu span:nth-child(3) {
    top: 18px;
  }
  
  .hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
  }
  
  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
  }
  
  .hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 11px;
  }
  
  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--primary-bg);
    z-index: 999;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .mobile-menu.active {
    display: flex;
    opacity: 1;
    z-index: 1;
  }
  
  .mobile-menu .nav-item {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-white);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
  }
  
  .mobile-menu .nav-item:hover {
    color: var(--text-white-80);
    transform: translateY(-2px);
  }
  
  .mobile-menu .contact-button {
    display: block;
    font-size: 18px;
    padding: 16px 32px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu .contact-button:hover {
    background-color: var(--text-white-10);
    transform: translateY(-2px);
  }
  
  /* Animate menu items on open */
  .mobile-menu.active .nav-item,
  .mobile-menu.active .contact-button {
    animation: slideInUp 0.4s ease forwards;
  }
  
  .mobile-menu.active .nav-item:nth-child(1) { animation-delay: 0.1s; }
  .mobile-menu.active .nav-item:nth-child(2) { animation-delay: 0.2s; }
  .mobile-menu.active .nav-item:nth-child(3) { animation-delay: 0.3s; }
  .mobile-menu.active .nav-item:nth-child(4) { animation-delay: 0.4s; }
  .mobile-menu.active .contact-button { animation-delay: 0.5s; }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Hero Section */
  .hero-section {
    padding: 0 20px;
    margin-top: 20px;
    min-height: auto;
  }
  
  .hero-title {
    font-size: 36px;
    line-height: 40px;
    margin: 20px 0 15px 0;
  }
  
  .hero-subtitle {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .process-card{
    display: none;
  }
  
  .stats-card{
    display: none;
  }
  /* Hide hero image and feature card on mobile */
  .hero-image,
  .feature-card {
    display: none;
  }
  
  /* About Section */
  .about-section {
    padding: 80px 20px;
  }
  
  .about-content-row {
    flex-direction: column;
    gap: 40px;
  }

  .about-title-container{
    display: block;
  }
  
  .about-title {
    font-size: 36px;
    line-height: 40px;
    order: 1;
    margin-bottom: 20px;
  }
  
  .about-description {
    font-size: 16px;
    line-height: 26px;
    margin-left: 0;
    margin-top: 0;
    order: 2;
    margin-bottom: 40px;
  }
  
  .about-image-container {
    display: none;
  }
  
  .experience-container {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    margin-top: 0;
    order: 3;
    overflow: hidden;
  }
  
  .experience-cards {
    flex-direction: row;
    gap: 15px;
    overflow-x: auto;
    padding: 0 20px 10px 20px;
    margin: 0 -20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  
  .experience-card {
    min-width: 260px;
    max-width: 260px;
    flex-shrink: 0;
    padding: 20px;
    scroll-snap-align: start;
    margin-right: 15px;
  }
  
  .experience-card:last-child {
    margin-right: 20px;
  }
  
  /* Custom scrollbar for experience cards */
  .experience-cards::-webkit-scrollbar {
    height: 4px;
  }
  
  .experience-cards::-webkit-scrollbar-track {
    background: var(--text-white-10);
    border-radius: 2px;
  }
  
  .experience-cards::-webkit-scrollbar-thumb {
    background: var(--text-white-30);
    border-radius: 2px;
  }
  
  .experience-cards::-webkit-scrollbar-thumb:hover {
    background: var(--text-white-50);
  }
  
  /* Firefox scrollbar */
  .experience-cards {
    scrollbar-width: thin;
    scrollbar-color: var(--text-white-30) var(--text-white-10);
  }
  
  /* Services Section */
  .services-section {
    padding: 30px 20px;
  }
  
  .service-item {
    flex-direction: column;
    margin-bottom: 40px;
    min-height: auto;
    gap: 20px;
  }
  
  .service-content {
    padding-right: 0;
    order: 2;
  }
  
  .service-title {
    font-size: 28px;
    line-height: 32px;
    margin-bottom: 15px;
  }
  
  .service-headline {
    font-size: 16px;
    line-height: 24px;
    margin-bottom: 15px;
  }
  
  .service-details {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 20px;
  }
  
  .service-image {
    height: 200px;
    order: 1;
    margin-top: 0;
    max-width: 339px;
  }

  .service-content{
    margin-left: 30px;
  }

  /* .service-item.reverse{
    display: none;
  } */

  .dev-origin-card{
    min-width: 350px;
  }

  .dev-origins-columns{
    align-items: center;
  }
  
  .service-button {
    order: 3;
    align-self: flex-start;
    margin-top: 0;
  }
  
  /* Process Section */
  .process-section {
    padding: 40px 20px 30px;
  }
  
  .process-container {
    flex-direction: column;
    gap: 30px;
    width: 100%;
    overflow: hidden;
  }
  
  .process-header {
    margin-bottom: 0;
    width: 100%;
  }
  
  .process-main-title {
    font-size: 36px;
    line-height: 40px;
    margin-bottom: 20px;
  }
  
  .process-description {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 0;
    width: 100%;
  }
  
  .process-steps {
    margin-left: 0;
    gap: 15px;
    width: 100%;
  }
  
  .process-step {
    padding: 20px;
    min-height: auto;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
  }
  
  .step-description {
    font-size: 16px;
    line-height: 20px;
    max-width: none;
    order: 1;
    width: 100%;
  }
  
  .step-image {
    order: 2;
    width: 60px;
    height: 60px;
  }
  
  /* Cases Section */
  .cases-section {
    padding: 30px 20px;
    flex-direction: column;
    gap: 25px;
  }
  
  .case-card {
    width: 100%;
    min-width: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .case-image {
    height: 180px;
    order: 1;
  }
  
  .case-title {
    font-size: 20px;
    order: 2;
    margin-bottom: 8px;
  }
  
  .case-description {
    font-size: 13px;
    order: 3;
    margin-bottom: 15px;
  }
  
  .case-button {
    order: 4;
    align-self: center;
    margin-top: 0;
  }
  
  /* Case Detail */
  .case-detail-section {
    padding: 30px 20px;
  }
  
  .case-detail-title {
    font-size: 28px;
    line-height: 32px;
  }
  
  .case-detail-subtitle {
    font-size: 16px;
  }
  
  .case-detail-content {
    padding: 20px;
  }
  
  .case-detail-content h2 {
    font-size: 24px;
    margin: 24px 0 12px 0;
  }
  
  .case-detail-content h3 {
    font-size: 20px;
    margin: 20px 0 10px 0;
  }
  
  .case-detail-content h4 {
    font-size: 18px;
    margin: 16px 0 8px 0;
  }
  
  .case-detail-content p,
  .case-detail-content li {
    font-size: 14px;
  }
  
  .back-link {
    margin-bottom: 30px;
    font-size: 14px;
  }
  
  /* Footer */
  .site-footer {
    flex-direction: column;
    padding: 60px 20px 0;
    gap: 40px;
  }
  
  .footer-logo {
    margin-bottom: 0;
  }
  
  .footer-description {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 30px;
  }
  
  .contact-title {
    font-size: 16px;
    margin-bottom: 20px;
  }
  
  .contact-address,
  .contact-email,
  .contact-phone {
    /* flex-direction: column; */
    align-items: flex-start;
    gap: 8px;
  }
  
  .contact-social {
    gap: 15px;
  }
  
  .social-link {
    width: 40px;
    height: 40px;
  }
  
  .social-link .contact-icon {
    width: 20px;
    height: 20px;
  }
  
  .address-text,
  .phone-number,
  .contact-link {
    font-size: 14px;
    line-height: 24px;
  }
  
  /* Form */
  .form-section {
    padding: 40px 0;
  }
  
  .form-container {
    padding: 30px 20px;
    max-width: 95vw;
    margin: 0 20px;
  }
  
  .form-title {
    font-size: 28px;
  }
  
  .form-image-wrapper {
    display: none;
  }
  
  /* Stats */
  .stats-container {
    flex-direction: column;
    gap: 30px;
    margin: 30px auto 0 auto;
  }
  
  .stat-value {
    font-size: 80px;
  }
  
  .stat-description {
    font-size: 20px;
    margin-top: 30px;
  }
  
  /* Tagline */
  .tagline-section {
    padding: 60px 20px;
  }
  
  .tagline {
    font-size: 40px;
    line-height: 46px;
  }
  
  /* Cases List */
  .cases-list-section {
    padding: 40px 20px;
  }
  
  .cases-list-title {
    font-size: 42px;
    line-height: 46px;
    margin-bottom: 30px;
  }
  
  .case-item {
    padding: 20px;
    margin-bottom: 30px;
  }
  
  .case-item-title {
    font-size: 24px;
  }
  
  .case-item-subtitle {
    font-size: 16px;
  }
  
  .case-content {
    flex-direction: column;
    gap: 20px;
  }
  
  .case-text {
    max-width: 100%;
  }
  
  .case-visual {
    max-width: 100%;
  }
  
  .case-details {
    flex-direction: column;
    gap: 15px;
  }

  .custom-form{
    width: 100%;
  }

  .reverse{
    flex-direction: row;
  }

  .case-list-link-container{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }
}
