@media screen and (max-width: 1400px) {
  #profile {
    height: 83vh;
    margin-bottom: 6rem;
  }
  .about-containers {
    flex-wrap: wrap;
  }
  #contact,
  #projects {
    height: fit-content;
  }
}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
  }
  #experience,
  .experience-details-container {
    margin-top: 2rem;
  }
  #profile,
  .section-container {
    display: block;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 5%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 0;
  }
  
  /* Enhanced Experience and Certifications for medium screens */
  .experience-item {
    padding: 1.5rem;
  }
  
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .certifications-container {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  }
}

@media screen and (max-width: 600px) {
  #contact,
  footer {
    height: 40vh;
  }
  #profile {
    height: 83vh;
    margin-bottom: 0;
  }
  article {
    font-size: 1rem;
  }
  footer nav {
    height: fit-content;
    margin-bottom: 2rem;
  }
  .about-containers,
  .contact-info-upper-container,
  .btn-container {
    flex-wrap: wrap;
  }
  .contact-info-container {
    margin: 0;
  }
  .contact-info-container p,
  .nav-links li a {
    font-size: 1rem;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: justify;
  }
  
  /* Platforms Mobile */
  .platforms-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
  }
  
  .platform-item {
    padding: 1rem;
  }
  
  .platform-icon {
    width: 35px;
    height: 35px;
  }
  
  .platform-name {
    font-size: 0.8rem;
  }
  
  .platforms-title {
    font-size: 1.3rem;
  }
  
  /* UNIVERSAL PREMIUM SLIDER MOBILE - ALL SLIDERS */
  .slider-container {
    margin: 1rem;
    border-radius: 1.5rem;
    box-shadow: 
      0 15px 45px rgba(0, 0, 0, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  
  .slider-wrapper {
    height: 350px;
    border-radius: 1.5rem;
  }
  
  .slide-image {
    border-radius: 1.5rem;
  }
  
  .slider-btn {
    width: 50px;
    height: 50px;
    backdrop-filter: blur(15px);
  }
  
  .prev-btn {
    left: 15px;
  }
  
  .next-btn {
    right: 15px;
  }
  
  .slider-btn svg {
    width: 22px;
    height: 22px;
  }
  
  .slider-dots {
    padding: 1.5rem;
    gap: 0.6rem;
    flex-wrap: wrap;
    max-height: 120px;
    overflow-y: auto;
  }
  
  .dot {
    width: 12px;
    height: 12px;
  }
  
  /* Slider Section Mobile */
  .second-slider-section,
  .third-slider-section {
    margin-top: 2rem;
    padding: 1rem 0;
  }
  
  .slider-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }
  
  /* Specific Heights for Mobile */
  .second-slider .slider-wrapper {
    height: 320px;
  }
  
  .third-slider .slider-wrapper {
    height: 340px;
  }
  
  /* Enhanced Experience Section Mobile */
  .experience-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .company-icon {
    width: 50px;
    height: 50px;
  }
  
  .position-title {
    font-size: 1.2rem;
  }
  
  .company-name {
    font-size: 1rem;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .skill-category {
    padding: 1rem;
  }
  
  /* Certifications Mobile */
  .certifications-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .certification-card {
    padding: 1.5rem;
  }
  
  .cert-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .cert-title {
    font-size: 1.1rem;
  }
  
  .cert-issuer {
    font-size: 1rem;
  }
  
  .cert-provider-logo {
    margin-left: 0;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .provider-logo {
    width: 70px;
    height: 50px;
  }
  
  .cert-actions {
    justify-content: center;
  }
  
  .cert-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .btn-arrow {
    width: 12px;
    height: 12px;
  }
  
  /* Certificate Images Mobile */
  .cert-image {
    height: 150px;
  }
  
  .cert-image-overlay {
    padding: 0.8rem;
  }
  
  .view-cert-text {
    font-size: 0.8rem;
  }
  
  .cert-modal-content {
    width: 95%;
    margin: 10% auto;
  }
  
  .cert-modal-close {
    top: -35px;
    font-size: 24px;
    width: 35px;
    height: 35px;
  }
  
  /* Publications Mobile */
  .publication-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .publication-icon {
    align-self: center;
  }
  
  .publication-title {
    font-size: 1.2rem;
  }
  
  .publication-meta {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .publication-description {
    font-size: 0.95rem;
  }
  
  .publication-tags {
    justify-content: center;
  }
  
  .publication-actions {
    justify-content: center;
  }
  
  .pub-btn {
    padding: 0.7rem 1.2rem;
    font-size: 0.85rem;
  }
  
  .publication-company-logo {
    margin-left: 0;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .publisher-logo {
    width: 70px;
    height: 50px;
  }
  
  /* Experience Highlights Mobile */
  .experience-highlight {
    justify-content: center;
  }
  
  .highlight-badge {
    font-size: 0.7rem;
    padding: 0.3rem 0.6rem;
  }
}
