@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Hero Section styles */
.custom-hero.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: stretch;
    padding: 0;
    padding-top: 15vh;
    position: relative;
    z-index: 1;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
    background: transparent;
    max-width: 100vw;
    margin: 0;
}.hero-content {
    flex: 1;
    display: flex;
    align-items: flex-end;
    padding-left: 40px;
    padding-bottom: 40px;
    z-index: 2;
    position: relative;
    margin-bottom: 0;
}.hero-text-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 600px;
}

.left-name {
  text-align: left;
  font-size: clamp(2.5rem, 7vw, 4.5rem) !important;
  font-weight: 800 !important;
  color: #2d3a43 !important;
  margin-bottom: 18px;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  letter-spacing: -0.02em;
}

.left-description {
  text-align: left;
  font-size: 1.2rem;
  color: #4a5a67;
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  max-width: 500px;
}

.hero-image-preview {
    width: 100vw;
    overflow: hidden;
    position: relative;
    height: 350px;
    z-index: 1;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.04);
}.hero-image-crop {
    width: 100vw;
    min-width: 100vw;
    height: 350px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 0 0 24px 24px;
    background: #eaeaea;
}

@media (min-width: 901px) {
  .custom-hero.hero-section {
    padding-top: 25vh;
  }
  .hero-content {
    padding-bottom: 15px;
    margin-bottom: 0;
  }
  .hero-image-preview {
    margin-top: 0;
    width: calc(100vw - 80px);
    margin-left: 40px;
    margin-right: 40px;
  }
  .hero-image-crop {
    width: 100%;
    min-width: 100%;
  }
  .technologies-section {
    margin-top: 80px;
  }
}

@media (max-width: 900px) {
  .hero-content {
    padding-left: 4vw;
    padding-right: 4vw;
    padding-bottom: 30px;
    margin-bottom: 0;
  }
  .hero-image-preview {
    height: 180px;
    width: calc(100vw - 8vw);
    margin-left: 4vw;
    margin-right: 4vw;
  }
  .hero-image-crop {
    height: 180px;
    width: 100%;
    min-width: 100%;
  }
  .left-name {
    font-size: 2.2rem !important;
  }
  .left-description {
    font-size: 1rem;
  }
}
.hero-section {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    padding-bottom: 5vh;
    position: relative;
    z-index: auto;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.2s;
}

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

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

/* Intro text styles */
.intro-text {
    text-align: center;
    margin-bottom: 30px;
    z-index: 2;
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.5s;
}

.intro-text p {
    font-size: 1.2rem;
    color: #666;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 10px 20px;
    border: 2px dashed transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
    max-width: 650px;
    cursor: text;
}

.intro-text p[contenteditable="true"]:hover {
    border-color: #ddd;
    background-color: rgba(255, 255, 255, 0.3);
}

.intro-text p[contenteditable="true"]:focus {
    outline: none;
    border-color: #007acc;
    background-color: rgba(255, 255, 255, 0.5);
}

.main-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    animation: slideUp 1s ease-out forwards;
    animation-delay: 0.8s;
}

.header {
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Scroll Indicator */
.scroll-indicator {
    display: none;  /* Hidden by default on desktop */
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: absolute;
    bottom: 40px;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 1.2s;
}

.scroll-text {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: #666;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #666;
    animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(100%);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        justify-content: center;
    }
    
    .scroll-indicator {
        display: flex;  /* Show only on mobile */
        position: absolute;
        bottom: 40px;
    }
}

/* Header Typography */
.header-left,
.header-right,
.header-right a {
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

/* Remove scroll-reveal classes if present */
.hidden-on-load, .show-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}
/* Hide technologies section on load, show with animation after scroll */
.hidden-on-load {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.show-on-scroll {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
/* Technologies Section */
.technologies-section {
    width: 100%;
    margin-top: 200px;
    margin-bottom: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.technologies-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    position: relative;
    letter-spacing: -0.02em;
}

.technologies-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #888;
}
.technologies-logos {
    overflow: hidden;
    width: 100%;
    position: relative;
    margin: 0 auto;
}

.logos-scroll {
  display: flex;
  align-items: center;
  gap: 80px;
  padding-left: 40px;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  will-change: transform;
}

.technology-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    opacity: 0.9;
    flex-shrink: 0;
    transition: transform 0.2s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.technology-logo-img:hover {
    transform: scale(1.08);
}

/* Mobile-specific styles */
@media (max-width: 600px) {
  .logos-scroll {
    gap: 30px;
    padding-left: 20px;
  }
  
  .technology-logo-img {
    width: 70px;
    height: 70px;
  }
}
/* Header styles */
.header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 40px 0 40px;
    box-sizing: border-box;
    background: transparent;
    position: relative;
    z-index: 10;
}
.header-left {
    font-size: 1.3rem;
    font-weight: 600;
    color: #222;
    letter-spacing: 0.05em;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
.header-right {
    display: flex;
    font-size: 1.1rem;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    gap: 32px;
}
.header-right a {
    font-size: 1.1rem;
    color: #222;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.03em;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: color 0.2s;
}
.header-right a:hover {
    color: #555;
}
body {
    margin: 0;
    padding: 0;
    background: #f4f4f4;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
    position: relative;
}

/* Prevent scrolling when modal is open */
body.modal-open {
    overflow: hidden;
    padding-right: 0; /* Prevent layout shift when scrollbar disappears */
}
.intro {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: #222;
    z-index: 2;
}
.intro a {
    color: #222;
    text-decoration: underline;
}
/* Main name styles for hero section (not fixed) */
/* Centered main name styles for hero section test */
.main-name {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-bottom: -140px;
    box-sizing: border-box;
}
.main-name span {
    font-size: clamp(28px, 14vw, 120px);
    font-weight: bold;
    color: #111;
    letter-spacing: -0.05em;
    line-height: 1;
    text-align: center;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    white-space: nowrap;
}

.experiences-section {
  background-color: #f5f5f5;
  padding: 60px 40px;
  min-height: auto;
}

.experiences-title {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: #2c3e50;
}

.experiences-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.experience-item {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 30px;
  align-items: start;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: none;
}

.experience-item:hover {
  transform: none;
  box-shadow: none;
}

.experience-logo {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 12px;
  padding: 0;
  flex-shrink: 0;
}

.experience-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.experience-content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 30px;
  align-items: start;
}

.experience-header {
  margin-bottom: 0;
}

.company-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0 0 6px 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
}

.job-title {
  font-size: 1rem;
  font-weight: 500;
  color: #555;
  margin: 0 0 6px 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.job-duration {
  font-size: 0.9rem;
  color: #666;
  font-weight: 400;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.job-description {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

.job-description p {
  margin: 0;
}

/* Responsive design for experiences */
@media (max-width: 1200px) {
  .experiences-section {
    padding: 50px 30px;
  }
  
  .experience-item {
    grid-template-columns: 50px 1fr;
    gap: 25px;
  }
  
  .experience-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .experience-logo {
    width: 50px;
    height: 50px;
  }
}

/* Certifications Section */
.certifications-section {
    padding: 100px 40px;
    text-align: center;
}

.section-what {
    color: #444;
    font-size: 1rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-description {
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
}

.certifications-grid {
    max-width: 1200px;
    margin: 0 auto;
}

.cert-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

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

.cert-item {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: calc(33.333% - 20px);
    text-align: center;
    transition: transform 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.cert-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.cert-item:hover {
    transform: translateY(-5px);
}

.cert-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.cert-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cert-item h3 {
    color: #1a1a1a;
    font-size: 1.2rem;
    margin: 0 0 10px;
    font-weight: 600;
    letter-spacing: -0.02em;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cert-item p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}



@media (max-width: 992px) {
    .cert-row {
        flex-wrap: wrap;
    }

    .cert-item {
        width: calc(50% - 15px);
    }
}

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

    .cert-item {
        width: 100%;
    }

    .section-description {
        font-size: 1rem;
        padding: 0 20px;
    }
}

/* Contact Section */
.contact-section {
    padding: 80px 40px;
    color: white;
    background-color: #2A2A2A;
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: 0;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    align-items: flex-start;
    padding: 0;
}

.contact-left {
    flex: 1;
}

.contact-left h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    color: white;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 40px;
}

.socials h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: white;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lets-chat-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    color: #2A2A2A;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    margin-top: 20px;
    width: fit-content;
}

.lets-chat-button:hover {
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.2rem;
}

.contact-left h2 {
    font-size: 2.5rem;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.contact-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.socials h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: #FFFFFF;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.lets-chat-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: white;
    color: #2A2A2A;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
    margin-top: 40px;
    width: fit-content;
}

.lets-chat-button:hover {
    transform: translateY(-2px);
}

.arrow {
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        gap: 40px;
    }

    .contact-left h2 {
        font-size: 2rem;
    }

    .contact-section {
        padding: 60px 20px;
    }
}

/* Portfolio Section */
.portfolio-section {
  padding: 80px 40px;
  min-height: auto;
  position: relative;
}

.portfolio-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
}

.portfolio-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #e0e0e0;
  transform: translateX(-50%);
  z-index: 1;
}

.portfolio-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 40px 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  position: relative;
}

.portfolio-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  background: #f8f8f8;
  border: 2px solid #e0e0e0;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.portfolio-item-reverse {
  grid-template-columns: 1fr 1fr;
}

.portfolio-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8f8f8;
  border-radius: 16px;
  padding: 30px;
  min-height: 350px;
  margin-left: 40px;
}

.project-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.portfolio-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 40px 0 0;
}

.project-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.project-tag {
  background: transparent;
  border: 1px solid #333;
  color: #333;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.02em;
}

.project-title {
  font-size: 2.2rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-description {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

.project-link {
  display: inline-block;
  background: #000;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  width: fit-content;
  margin-top: 8px;
}

.project-link:hover {
  background-color: #333;
  transform: translateY(-1px);
}

/* Other Projects Section */
.other-projects-section {
  padding: 40px 20px 60px 20px;
  min-height: auto;
  width: 100%;
  box-sizing: border-box;
}

.other-projects-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  padding-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.other-project-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.other-project-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.project-image-preview {
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: #f5f5f5;
}

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

.other-project-item:hover .preview-image {
  transform: scale(1.03);
}

.other-project-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 20px;
}

.other-project-content .project-title {
  font-size: 1.4rem;
  margin-top: 5px;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
}

.other-project-content .project-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #555;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
}

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

.other-project-link {
  display: inline-block;
  background: #000;
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  width: fit-content;
}

.other-project-link:hover {
  background-color: #333;
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .other-projects-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .project-image-preview {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .other-projects-section {
    padding: 30px 20px;
  }

  .other-projects-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .other-project-item {
    max-width: 500px;
    margin: 0 auto;
  }

  .project-image-preview {
    height: 160px;
  }

  .other-project-content {
    padding: 15px;
  }

  .other-project-content .project-title {
    font-size: 1.2rem;
  }
}

/* Contact Section */
.contact-section {
  padding: 80px 40px;
  background-color: #f8f9fa;
  min-height: auto;
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #555;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.contact-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  gap: 10px;
}

.contact-link:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
}

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

.contact-text {
  font-weight: 500;
  font-size: 1.1rem;
  color: #888;
}

.contact-right {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #f8f9fa;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #007acc;
  background-color: white;
}

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

.contact-submit {
  background: #222;
  color: white;
  border: none;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-submit:hover {
  background: #333;
  transform: translateY(-1px);
}

/* Project Detail Modal */
.project-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  overflow-x: hidden;
}

.modal-content {
  background-color: #fafafa;
  margin: 3% auto;
  padding: 0;
  width: 90%;
  max-width: 1100px;
  height: 85vh;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 25px;
  background: none;
  border: none;
  font-size: 2rem;
  font-weight: 300;
  color: #666;
  cursor: pointer;
  z-index: 1001;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background-color: rgba(0, 0, 0, 0.1);
  color: #333;
}

.project-details {
  padding: 0;
  display: none;
}

.project-details.active {
  display: block;
}

.modal-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 85vh;
}

.modal-image-section {
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.modal-project-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

/* Image Gallery Styles */
.image-gallery {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.gallery-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image {
  display: none;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
}

.gallery-image.active {
  display: block;
}

/* Video specific styles */
video.gallery-image {
  width: 100%;
  height: auto;
  max-height: 100%;
}

video.gallery-image.active {
  display: block;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.gallery-nav:hover {
  background: rgba(0, 0, 0, 0.7);
}

.gallery-prev {
  left: 10px;
}

.gallery-next {
  right: 10px;
}

.gallery-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);
  cursor: pointer;
  transition: background 0.3s ease;
}

.indicator.active {
  background: rgba(255, 255, 255, 1);
}

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

.modal-content-section {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.project-detail-header {
  margin-bottom: 30px;
}

.project-detail-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 15px 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.project-detail-description {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 400;
  max-width: 800px;
}

.project-detail-body {
  display: flex;
  flex-direction: column;
  gap: 25px;
  flex: 1;
  justify-content: space-between;
}

.project-detail-section {
  margin-bottom: 20px;
}

.detail-section-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin-bottom: 12px;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.05em;
}

.role-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.role-tag {
  background: transparent;
  border: 1px solid #666;
  color: #666;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 400;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.02em;
}

.project-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 20px;
}

.detail-grid-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #666;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 1rem;
  font-weight: 400;
  color: #1a1a1a;
  margin: 0;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.jump-to-screens {
  background: #000;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-size: 0.95rem;
  font-weight: 500;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  width: fit-content;
}

.jump-to-screens:hover {
  background-color: #333;
  transform: translateY(-1px);
}

.achievement-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.achievement-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #444;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.achievement-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #666;
  font-weight: bold;
}

/* Scroll Animation Styles */
.animate-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-logo {
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-logo.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.animate-experience {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-experience.visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-project {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-project.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Remove any existing animation overrides */
.hidden-on-load, .show-on-scroll {
  opacity: 1 !important;
  transform: none !important;
  pointer-events: auto !important;
}

/* Modal Animation Styles */
.project-modal {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.modal-opening {
  opacity: 1;
  visibility: visible;
}

.animate-modal {
  transform: scale(0.9) translateY(30px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

.animate-modal.modal-visible {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.animate-close {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.animate-close.modal-visible {
  opacity: 1;
  transform: scale(1);
}

.animate-modal-image {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-modal-image.modal-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-modal-content {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-modal-content.modal-visible {
  opacity: 1;
  transform: translateX(0);
}

.animate-modal-title {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-modal-title.modal-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-modal-desc {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-modal-desc.modal-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-modal-role {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-modal-role.modal-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-modal-details {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-modal-details.modal-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-modal-button {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-modal-button.modal-visible {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-preview {
  display: none;
}

.phone-mockup {
  display: none;
}

.project-preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

/* Hide video controls */
video.preview-image {
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

video.preview-image::-webkit-media-controls-panel,
video.preview-image::-webkit-media-controls-play-button,
video.preview-image::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
}

/* Responsive design for experiences */
@media (max-width: 1200px) {
  .experiences-section {
    padding: 50px 30px;
  }
  
  .experience-item {
    grid-template-columns: 50px 1fr;
    gap: 25px;
  }
  
  .experience-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .experience-logo {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 768px) {
  .experiences-section {
    padding: 40px 20px;
  }
  
  .experiences-title {
    font-size: 1.8rem;
  }
  
  .experience-item {
    grid-template-columns: 45px 1fr;
    gap: 20px;
  }
  
  .experience-content {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .experience-logo {
    width: 45px;
    height: 45px;
  }
  
  .company-name {
    font-size: 1.1rem;
  }
  
  .job-title {
    font-size: 0.95rem;
  }
  
  .job-duration {
    font-size: 0.85rem;
  }
  
  .job-description {
    font-size: 0.9rem;
  }
  
  /* Fix mobile layout issues */
  * {
    box-sizing: border-box;
    max-width: 100%;
  }
  
  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }
  
  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
    margin: 0;
    padding: 0;
  }
  
  .main-name span {
    font-size: 32px !important;
    max-width: 100%;
    display: inline-block !important;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
    color: #111 !important;
    font-weight: bold !important;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    letter-spacing: -0.02em;
    overflow: visible;
    position: relative;
    z-index: 999;
    background: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
  
  .main-name {
    padding: 0 15px;
    margin-bottom: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex !important;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: visible !important;
    position: relative;
    height: auto;
    z-index: 999;
    order: 2;
  }
  
  .hero-section {
    padding: 0;
    padding-top: 10vh;
    padding-bottom: 5vh;
    overflow: visible;
    width: 100vw;
    max-width: 100vw;
    box-sizing: border-box;
    min-height: 90vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .intro-text {
    padding: 0 15px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    order: 1;
  }
  
  .intro-text p {
    padding: 10px 0;
    max-width: calc(100vw - 30px);
    word-wrap: break-word;
    box-sizing: border-box;
    margin: 0 auto;
  }

  .header {
    padding: 20px 15px 0 15px;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .header-left {
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  
  .header-right {
    font-size: 0.9rem;
    gap: 15px;
    display: flex;
    align-items: center;
  }
  
  .header-right a {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  
  .technologies-section {
    padding: 0 15px;
    margin-top: 5vh;
    margin-bottom: 5vh;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  .technologies-title {
    font-size: 2rem;
    text-align: center;
    max-width: calc(100vw - 30px);
    margin: 0 auto 40px auto;
  }
  
  .technologies-logos {
    overflow: hidden;
    width: 100%;
    max-width: calc(100vw - 30px);
    margin: 0 auto;
  }
  
  .logos-scroll {
    gap: 50px;
    animation: scroll-logos 5s linear infinite !important;
  }
  
  .technology-logo-img {
    width: 80px;
    height: 80px;
  }
  
  .experiences-section {
    padding: 5vh 15px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .experiences-container {
    max-width: calc(100vw - 30px);
    margin: 0 auto;
  }

  .portfolio-section {
    padding: 5vh 20px;
  }  .portfolio-container {
    gap: 60px;
  }
  
  .portfolio-item,
  .portfolio-item-reverse {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  /* Fix order for reverse items on mobile */
  .portfolio-item-reverse {
    display: flex;
    flex-direction: column;
  }
  
  .portfolio-item-reverse .portfolio-image {
    order: -1;
  }
  
  .portfolio-image {
    min-height: 250px;
    padding: 20px;
  }
  
  .project-title {
    font-size: 1.8rem;
  }
  
  .project-description {
    font-size: 1rem;
  }
  
  .project-tags {
    gap: 8px;
  }
  
  .project-tag {
    font-size: 0.75rem;
  }

  /* Contact Mobile Styles */
  .contact-section {
    padding: 60px 20px;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .contact-left h2 {
    font-size: 2rem;
    text-align: left;
  }
  
  .contact-right {
    width: 100%;
  }
  
  .lets-chat-button {
    width: 100%;
    justify-content: center;
  }
  
  /* Modal Responsive */
  .modal-content {
    width: 95%;
    margin: 5% auto;
    max-height: 85vh;
  }
  
  .modal-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  .modal-image-section {
    padding: 20px;
    min-height: 200px;
  }
  
  .modal-content-section {
    padding: 30px 20px;
  }
  
  .project-detail-title {
    font-size: 2.2rem;
  }
  
  .project-detail-description {
    font-size: 1.1rem;
  }
  
  .project-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .role-tags {
    gap: 8px;
  }
  
  .role-tag {
    font-size: 0.8rem;
    padding: 6px 12px;
  }
  
  /* Force name visibility on small screens */
  .main-name span {
    font-size: 36px !important;
    color: #111 !important;
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    font-weight: bold !important;
    font-family: Arial, sans-serif !important;
    transform: none !important;
    text-indent: 0 !important;
    letter-spacing: normal !important;
    text-shadow: none !important;
    background: none !important;
    border: none !important;
    outline: none !important;
  }
  
  .main-name {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* CRITICAL: Force name visibility with maximum specificity */
.hero-section .main-name#main-name span,
.main-name#main-name span,
#main-name span,
div.main-name span {
  font-size: clamp(24px, 8vw, 120px) !important;
  color: #111 !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: bold !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  transform: none !important;
  text-indent: 0 !important;
  letter-spacing: -0.02em !important;
  white-space: nowrap !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 99999 !important;
  background: none !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
}

/* Direct targeting of the name text element */
.name-text,
#name-text,
span.name-text,
span#name-text {
  font-size: clamp(2.5rem, 8vw, 6rem) !important;
  color: #181818 !important;
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-weight: 800 !important;
  font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  transform: none !important;
  text-indent: 0 !important;
  letter-spacing: -0.03em !important;
  white-space: nowrap !important;
  overflow: visible !important;
  position: relative !important;
  z-index: 99999 !important;
  background: none !important;
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  max-width: none !important;
  width: auto !important;
  height: auto !important;
}

.hero-section .main-name#main-name,
.main-name#main-name,
#main-name,
div.main-name {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  overflow: visible !important;
  text-align: center !important;
  position: relative !important;
  z-index: 99999 !important;
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
}

/* Contact Section */
.contact-section {
    background: #1f2937;
    padding: 80px 40px;
    margin-top: 60px;
    width: 100%;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 80px;
    align-items: start;
}

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: #a0a9b8;
    margin: 0;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    max-width: 400px;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #374151;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    width: fit-content;
    font-size: 0.95rem;
}

.contact-button:hover {
    background: #4b5563;
    transform: translateY(-1px);
}

.contact-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: auto;
  min-height: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
}

.contact-social-links {
    display: flex;
    gap: 16px;
    margin-top: 75px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-button {
    background: #374151;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: 500;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-button:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.contact-footer {
    font-size: 0.85rem;
    color: #6b7280;
    font-family: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-align: right;
    margin-top: 40px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .contact-section {
        padding: 60px 20px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .contact-title {
        font-size: 2.2rem;
        text-align: center;
        align-items: center;
    }

    .contact-subtitle {
        font-size: 1rem;
        max-width: 100%;
    }

    .contact-social-links {
        margin-top: -5px;
        justify-content: center;
        gap: 12px;
    }

    .contact-footer {
        text-align: center;
        margin-top: 30px;
    }

    .social-button {
        font-size: 0.85rem;
        padding: 8px 14px;
    }
}



/* Mobile Contact Section - Center text */
@media (max-width: 768px) {
    .contact-left {
        align-items: center;
        text-align: center;
    }
    
    .contact-button {
        align-self: center;
    }
}

/* Mobile Portfolio Section - Revert to vertical layout */
@media (max-width: 768px) {
    .portfolio-container::before {
        display: none;
    }
    
    .portfolio-item {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }
    
    .portfolio-item::before {
        display: none;
    }
    
    .portfolio-content {
        padding: 0;
        order: 2;
    }
    
    .portfolio-image {
        order: 1;
        margin-left: 0;
        min-height: 250px;
    }
}
