
    /* Add this at the beginning of your style tag */
    html, body {
      max-width: 100%;
      overflow-x: hidden;
    }

    .container {
      padding-right: 15px;
      padding-left: 15px;
      margin-right: auto;
      margin-left: auto;
    }
    
    /* Modify the responsive section */
    @media (max-width: 768px) {
      /* Ensure no element causes horizontal overflow */
      .row {
        margin-right: -15px;
        margin-left: -15px;
      }
      
      .col-lg-6, .col-md-6, .col-lg-8 {
        padding-right: 15px;
        padding-left: 15px;
      }
      
      /* Adjust hero section for mobile */
      .hero h1 {
        font-size: 2.2rem;
        text-align: center;
      }
      
      .hero h2 {
        font-size: 1.3rem;
        text-align: center;
      }
      
      .hero p {
        text-align: center;
        padding: 0 10px;
      }
      
      .hero .d-flex {
        justify-content: center;
      }
      
      /* Fix card padding */
      .card {
        margin: 0 10px;
      }
      
      /* Timeline adjustments */
      .timeline {
        padding-left: 20px;
      }
      
      .timeline-item::before {
        left: -20px;
      }
      
      /* Contact form adjustments */
      .form-control {
        width: 100%;
      }
    }
    
    /* Add this to prevent any potential overflow */
    img {
      max-width: 100%;
      height: auto;
    }
    :root {
      --primary-color: #0c3a2d;
      --secondary-color: #ffc107;
      --accent-color: #17a2b8;
      --light-bg: #f8f9fa;
      --dark-text: #212529;
      --light-text: #f8f9fa;
    }
    
    body {
      font-family: 'Poppins', sans-serif;
      background-color: var(--light-bg);
      color: var(--dark-text);
      scroll-behavior: smooth;
      overflow-x: hidden;
    }

    h1, h2, h3, h4, h5, h6 {
      font-family: 'Montserrat', sans-serif;
      font-weight: 600;
    }

    .navbar {
      background-color: var(--primary-color);
      color: var(--light-text);
      transition: all 0.3s ease;
      padding: 15px 0;
    }

    .navbar.scrolled {
      padding: 10px 0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
	
    .navbar-brand, .nav-link {
      color: var(--light-text) !important;
      font-weight: 500;
    }

    .navbar-brand {
      font-size: 28px;
      transition: all 0.3s ease;
    }

    .nav-link {
      position: relative;
      margin: 0 10px;
      font-size: 16px;
    }

    .nav-link::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      bottom: 0;
      left: 0;
      background-color: var(--secondary-color);
      transition: width 0.3s ease;
    }

    .nav-link:hover::after {
      width: 100%;
    }

    .hero {
      background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('static/images/bg-professional.jpg') center center/cover no-repeat;
      min-height: 90vh;
      display: flex;
      justify-content: center;
      align-items: center;
      color: var(--light-text);
      position: relative;
      overflow: hidden;
    }

    .hero-content {
      position: relative;
      z-index: 2;
    }

    .hero h1 {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .hero h2 {
      font-size: 2rem;
      color: var(--secondary-color);
      margin-bottom: 25px;
    }

    .hero p {
      font-size: 1.1rem;
      max-width: 600px;
      margin-bottom: 30px;
      opacity: 0.9;
    }

    .profile-img {
      max-height: 350px;
      /* border: 5px solid var(--light-text); */
      border-radius: 30px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
      transform: perspective(1000px) rotateY(-10deg);
      transition: all 0.5s ease;
    }

    .profile-img:hover {
      transform: perspective(1000px) rotateY(0deg);
    }

    .btn-primary-custom {
      background-color: var(--primary-color);
      color: white;
      border: 2px solid var(--primary-color);
      padding: 10px 25px;
      border-radius: 30px;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .btn-primary-custom:hover {
      background-color: transparent;
      color: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .btn-outline-custom {
      border: 2px solid var(--light-text);
      color: var(--light-text);
      padding: 10px 25px;
      border-radius: 30px;
      font-weight: 500;
      transition: all 0.3s ease;
    }

    .btn-outline-custom:hover {
      background-color: var(--light-text);
      color: var(--primary-color);
      transform: translateY(-3px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }

    .section-title {
      font-weight: 700;
      color: var(--primary-color);
      position: relative;
      display: inline-block;
      margin-bottom: 50px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      width: 50px;
      height: 3px;
      background-color: var(--secondary-color);
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
    }

    .card {
      border: none;
      border-radius: 10px;
      overflow: hidden;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
      transition: all 0.4s ease;
      height: 100%;
      background-color: white;
    }

    .card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    }

    .card-header {
      background-color: var(--primary-color);
      color: white;
      padding: 15px;
      font-weight: 500;
    }

    .skill-badge {
      background-color: var(--primary-color);
      color: white;
      padding: 8px 15px;
      border-radius: 20px;
      margin: 5px;
      display: inline-block;
      font-size: 0.85rem;
      transition: all 0.3s ease;
    }

    .skill-badge:hover {
      background-color: var(--secondary-color);
      transform: scale(1.05);
    }

    .progress {
      height: 8px;
      border-radius: 4px;
      margin-bottom: 15px;
    }

    .progress-bar {
      background-color: var(--primary-color);
    }

    .timeline {
      position: relative;
      padding-left: 30px;
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 10px;
      top: 0;
      bottom: 0;
      width: 2px;
      background-color: var(--primary-color);
    }

    .timeline-item {
      position: relative;
      margin-bottom: 30px;
    }

    .timeline-item::before {
      content: '';
      position: absolute;
      left: -30px;
      top: 5px;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background-color: var(--secondary-color);
      border: 3px solid var(--primary-color);
    }

    .contact-info-item {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
    }

    .contact-info-icon {
      width: 50px;
      height: 50px;
      background-color: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 15px;
      font-size: 20px;
    }

    .social-icons {
      display: flex;
      margin-top: 20px;
    }

    .social-icon {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-right: 10px;
      transition: all 0.3s ease;
    }

    .social-icon:hover {
      background-color: var(--secondary-color);
      transform: translateY(-3px);
    }

    .form-control {
      border-radius: 5px;
      padding: 12px 15px;
      border: 1px solid #ddd;
      margin-bottom: 15px;
    }

    .form-control:focus {
      box-shadow: 0 0 0 0.25rem rgba(12, 58, 45, 0.25);
      border-color: var(--primary-color);
    }

    .footer {
      background-color: var(--primary-color);
      color: var(--light-text);
      padding: 30px 0;
      text-align: center;
    }

    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      background-color: var(--primary-color);
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
      z-index: 99;
    }

    .back-to-top.active {
      opacity: 1;
      visibility: visible;
    }

    .back-to-top:hover {
      background-color: var(--secondary-color);
      transform: translateY(-5px);
    }

    /* Particle JS Background */
    #particles-js {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0;
      left: 0;
      z-index: 1;
    }

    /* Typewriter Effect */
    .typewriter {
      display: inline-block;
    }

    .typewriter-text {
      display: inline-block;
      overflow: hidden;
      border-right: 3px solid var(--secondary-color);
      white-space: nowrap;
      margin: 0 auto;
      letter-spacing: 2px;
      animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
    }

    @keyframes typing {
      from { width: 0 }
      to { width: 100% }
    }

    @keyframes blink-caret {
      from, to { border-color: transparent }
      50% { border-color: var(--secondary-color); }
    }

    /* Skill Meter Animation */
    @keyframes progress {
      0% { width: 0; }
    }

    .progress-bar {
      animation: progress 1.5s ease-in-out forwards;
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2.5rem;
      }
      
      .hero h2 {
        font-size: 1.5rem;
      }
      
      .profile-img {
        max-height: 250px;
        margin-top: 30px;
      }
    }
        /* Add this to your existing CSS */
    #particles-js {
    pointer-events: none; /* This allows clicks to pass through to elements below */
    }

    /* Ensure buttons are above other elements */
    .btn-primary-custom, 
    .btn-outline-custom {
    position: relative;
    z-index: 10;
    }

    /* Make sure the hero content container is above particles */
    .hero .container {
    position: relative;
    z-index: 2;
    }
