@media (max-width: 768px) {
  .cutom-spacing-title {
    margin-top: 10px;
  }
  .main-details {
    display: flex;
    justify-content: center;
  }
  .smooch-font {
    font-family: Smooch;
    font-size: 30px;
  }
  .typing-container {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    height: 60px;
  }
  .profile-pic {
    display: block;
    width: 200px;
    height: 400px;
    filter: drop-shadow(0 0 0.3rem #e8e9eb);
    transition: all 0.4s ease;
    position: relative;
  }
  .profile-details {
    display: flex;
    justify-content: center;
  }

  .timeline-track {
    flex-direction: column;
    padding: 40px 0;
    align-items: flex-start;
  }

  .timeline-track::before {
    top: 0;
    left: 20px;
    bottom: 0;
    width: 2px;
    height: auto;
    transform: none;
    background: #e0e0e0;
  }

  .timeline-item-modern {
    width: 100%;
    margin-bottom: 40px;
    padding-left: 60px;
    position: relative;
  }

  .timeline-marker-modern {
    position: absolute;
    left: 20px;
    top: 25px;
    transform: translateX(-50%);
    margin: 0;
  }

  .timeline-content-modern::before {
    left: -10px;
    top: 20px;
    transform: rotate(45deg);
  }

  .timeline-content-modern {
    margin-left: 20px;
    min-height: 50px;
  }
  .skills-img {
    width: 100vw;
    height: 50vh;
  }
  .navbar-brand {
    display: none;
  }
  .navbar-white {
    background: transparent !important;
    transition: background 0.3s;
    box-shadow: none;
  }
  .navbar-white-open {
    background: #f3f4f6 !important;
    transition: background 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    color: black !important;
  }
  .nav-link {
    color: rgba(0, 0, 0, 0.7);
  }
  .nav-link.active {
    color: #000000 !important;
  }

  .nav-masthead .nav-link {
    color: rgba(0, 0, 0, 0.5);
  }

  .nav-masthead .nav-link:hover,
  .nav-masthead .nav-link:focus {
    color: rgb(0, 0, 0);
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .nav-links {
    display: none;
  }

  .image-container {
    width: 250px;
    height: 250px;
  }

  .cta-buttons {
    justify-content: center;
  }
  .atom-container {
    width: 350px;
    height: 350px;
  }

  .tech-icon {
    width: 50px;
    height: 50px;
  }

  .tech-icon .icon {
    font-size: 24px;
  }

  .atom-core {
    width: 60px;
    height: 60px;
  }

  .orbital-ring:nth-child(1) {
    width: 150px;
    height: 150px;
    margin: -75px 0 0 -75px;
  }

  .orbital-ring:nth-child(2) {
    width: 240px;
    height: 240px;
    margin: -120px 0 0 -120px;
  }

  .orbital-ring:nth-child(3) {
    width: 330px;
    height: 330px;
    margin: -165px 0 0 -165px;
  }

  .skills-grid {
    grid-template-columns: 1fr;
  }
  .social-links {
    justify-content: center;
  }

  .floating-icon:nth-child(1) {
    left: 20%;
  }

  .floating-icon:nth-child(2) {
    right: 20%;
  }

  .floating-icon:nth-child(3) {
    left: 20%;
  }

  .floating-icon:nth-child(4) {
    right: 20%;
  }

  .tech-icon:nth-child(5) {
    top: 10px;
  }

  .tech-icon:nth-child(6) {
    top: 180px;
    right: 80px;
  }

  .tech-icon:nth-child(7) {
    bottom: 180px;
    right: 10px;
  }

  .tech-icon:nth-child(8) {
    bottom: 30px;
    right: 30px;
  }

  .tech-icon:nth-child(11) {
    bottom: 280px;
    left: 80px;
  }

  .tech-icon:nth-child(12) {
    top: 120px;
    left: 20px;
  }

  .tech-icon:nth-child(13) {
    top: 80px;
    left: 130px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 1px !important;
    margin-bottom: 1px !important;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    border-top: none;
  }

  .social-links {
    justify-content: center;
  }

  .footer {
    padding: 40px 0 20px;
  }

  .footer-section h3,
  .quick-links,
  .contact-info {
    display: none;
  }

  .section-experience {
    margin: 3rem 1rem !important;
    border-radius: 10px;
  }
  .content-area {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 20px;
  }
  .left-column,
  .right-column {
    padding: 0;
    margin-top: 0;
  }
  .cert-grid {
    grid-template-columns: 1fr;
  }
}
