/* 
===================================
======== Responsive Design ========
===================================
*/

@media (max-width: 480px) {
  /*=== Newsletter Section ===*/
  .newsletter-content {
    padding: 40px 20px;
  }
  .newsletter-title {
    font-size: 1.8rem;
  }
  .newsletter-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 576px) { 
  /*=== Hero Section ===*/
  .hero-scroll-indicator {
    bottom: 30px;
  }
  .hero {
    padding-top: 100px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .hero-btn {
    width: 100%;
  }
  /*=== About Section ===*/ 
  .about {
    padding: 70px 0;
  }
  .about-title {
    font-size: 2rem;
  }
  .about-experience {
    padding: 15px;
    right: 0;
  }
  .about-exp-number {
    font-size: 1.5rem;
  }
  /*=== Skills Section ===*/ 
  .skills-title {
    font-size: 2rem;
  }
  .skill-card {
    padding: 25px;
  }
  /*=== Projects Section ===*/ 
  .projects-title {
    font-size: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-content {
    padding: 20px;
  } 
  /*=== Experience Section ===*/ 
  .experience-title {
    font-size: 2rem;
  }
  .timeline-content {
    padding: 15px;
  }
  /*=== Contact Section ===*/ 
  .contact-title {
    font-size: 2rem;
  }
  .contact-info,
  .contact-form {
    padding: 25px;
  }
  .contact-item {
    flex-direction: column;
    gap: 10px;
  }
  .form-submit {
    width: 100%;
  }
  /*=== Footer Section ===*/
  .footer {
    padding: 60px 0 20px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  /*=== Navbar Section ===*/ 
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    padding: 20px;
    z-index: 1000;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 30px;
  }
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }
  .contact-btn {
    margin: 20px 0 0 0;
    width: 100%;
    max-width: 200px;
    display: block;
  } 
  
  /*== Hero Section ==*/ 
  .hero-scroll-indicator {
    bottom: 40px;
  }
  /*=== Skills Section ===*/  
  .skills {
    padding: 80px 0;
  }
  .skills-header {
    margin-bottom: 40px;
  }
  .skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
  }
  /*=== Projects Section ===*/ 
  .projects {
    padding: 80px 0;
  }
  .projects-header {
    margin-bottom: 40px;
  }
  .project-img-container {
    height: 200px;
  }
  /*=== Experience Section ===*/ 
  .experience {
    padding: 80px 0;
  }
  .timeline::before {
    left: 20px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-date {
    left: 60px;
    transform: none;
  }
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 60px !important;
  }
  .timeline-content::before {
    left: -10px !important;
    right: auto !important;
    border-right: 1px solid #eee !important;
    border-bottom: 1px solid #eee !important;
    border-left: none !important;
  } 
  /*=== Contact Section ===*/ 
  .contact {
    padding: 80px 0;
  }
  .contact-header {
    margin-bottom: 40px;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 30px;
  } 
  /*=== Footer Section ===*/ 
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer-brand,
  .footer-column,
  .footer-social {
    align-items: center;
    text-align: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
  .footer-list {
    align-items: center;
  }
  /*=== Newsletter Section ===*/ 
  .newsletter {
    padding: 60px 0;
  }
  .newsletter-content {
    padding: 40px 30px;
  }
  .newsletter-title {
    font-size: 2rem;
  }
  .form-group {
    min-width: 100%;
  }
  .newsletter-submit {
    width: 100%;
  }
}
@media (max-width: 992px) {
  /*=== Hero Section ===*/
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
    align-items: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-name::after {
    bottom: 2px;
  }
  
  /*=== About Section ===*/ 
  .about .container {
    flex-direction: column;
  }
  .about-image {
    margin-bottom: 50px;
  }
  .about-content {
    text-align: center;
  }
  .about-detail-item {
    justify-content: center;
  }
  /*=== Projects Section ===*/ 
  .projects-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  /*=== Contact Section ===*/ 
  .contact-info,
  .contact-form {
    padding: 30px;
  }
}
