        /* Loading Screen Styles */
    .loading-screen {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-color) 100%);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      transition: opacity 0.5s ease-out;
    }
    
    .loading-spinner {
      width: 50px;
      height: 50px;
      border: 5px solid rgba(255, 255, 255, 0.3);
      border-radius: 50%;
      border-top-color: white;
      animation: spin 1s ease-in-out infinite;
      margin-bottom: 20px;
    }
    
    .loading-text {
      color: white;
      font-weight: 600;
      font-size: 1.2rem;
      letter-spacing: 1px;
    }
    
    @keyframes spin {
      to {
        transform: rotate(360deg);
      }
    }
    
    .loading-screen.hidden {
      opacity: 0;
      pointer-events: none;
    }
    :root {
      --primary-color: #1f5a9e;
      --secondary-color: #4a6ba9;
      --accent-color: #6b8cc9;
      --light-color: #f0f5ff;
      --dark-color: #0d2b50;
    }
    
    body {
      font-family: 'Inter', sans-serif;
      background-color: #f8f9fa;
      color: #333;
      overflow-x: hidden;
    }
    html { overflow-x: hidden; }
    
    .navbar {
      background-color: var(--primary-color);
      padding: 1rem 0;
      transition: all 0.3s ease;
    }
    
    .navbar-brand {
      font-weight: 700;
      color: white !important;
    }
    
    .nav-link {
      color: rgba(255, 255, 255, 0.85) !important;
      font-weight: 500;
      margin: 0 0.5rem;
      transition: all 0.3s ease;
      position: relative;
    }
    
    .nav-link:hover, .nav-link.active {
      color: white !important;
    }
    
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background-color: white;
      transition: width 0.3s ease;
    }
    
    .nav-link:hover::after, .nav-link.active::after {
      width: 100%;
    }
    
    .hero-section {
      padding: 100px 0;
      background: linear-gradient(135deg, #ffffff 0%, #e6f0ff 100%);
      position: relative;
      overflow: hidden;
    }
    
    .hero-content h1 {
      font-weight: 800;
      font-size: 3.5rem;
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }
    
    .hero-highlight {
      color: var(--primary-color);
      position: relative;
      display: inline-block;
    }
    

    
    .tagline {
      background-color: var(--primary-color);
      color: white;
      padding: 0.5rem 1.5rem;
      border-radius: 50px;
      font-weight: 600;
      display: inline-block;
      margin-top: 1rem;
      box-shadow: 0 4px 10px rgba(31, 90, 158, 0.3);
    }
    
    .profile-img {
      width: 280px;
      height: 280px;
      border-radius: 50%;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
      transition: all 0.4s ease;
    }
    
    .profile-img:hover {
      transform: scale(1.05) rotate(2deg);
    }
    
    .about-section {
      padding: 100px 0;
      position: relative;
    }
    
    .about-img-container {
      position: relative;
      max-width: 280px;
      margin: 0 auto;
    }
    
    .about-img {
      width: 100%;
      border-radius: 20px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      position: relative;
      z-index: 2;
    }
    
    .about-bg {
      position: absolute;
      width: 90%;
      height: 90%;
      bottom: -15px;
      right: -15px;
      background-color: var(--accent-color);
      border-radius: 20px;
      z-index: 1;
    }
    
    .section-title {
      position: relative;
      display: inline-block;
      margin-bottom: 2rem;
      font-weight: 700;
    }
    
    .section-title::after {
      content: '';
      position: absolute;
      bottom: -8px;
      left: 0;
      width: 50%;
      height: 4px;
      background-color: var(--primary-color);
      border-radius: 2px;
    }
    
    .social-section {
      background-color: var(--secondary-color);
      padding: 60px 0;
      border-radius: 20px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .social-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 15px;
      transition: all 0.3s ease;
      color: var(--primary-color);
      font-size: 1.5rem;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    
    .social-icon:hover {
      transform: translateY(-5px);
      background-color: var(--primary-color);
      color: white;
    }
    
    .skills-section {
      padding: 100px 0;
    }
    
    .skill-card {
      background-color: white;
      border-radius: 15px;
      padding: 25px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
      transition: all 0.3s ease;
      height: 100%;
      border: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .skill-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    }
    
    .skill-img {
      height: 70px;
      margin-bottom: 20px;
      transition: transform 0.3s ease;
    }
    
    .skill-card:hover .skill-img {
      transform: scale(1.1);
    }
    
    .soft-skill {
      display: inline-block;
      background-color: var(--light-color);
      color: var(--primary-color);
      padding: 8px 20px;
      border-radius: 50px;
      margin: 5px;
      font-weight: 600;
      font-size: 0.9rem;
      transition: all 0.3s ease;
    }
    
    .soft-skill:hover {
      background-color: var(--primary-color);
      color: white;
      transform: translateY(-3px);
    }
    
    .projects-section {
      padding: 100px 0;
      background-color: var(--light-color);
    }
    
    .project-card {
      background: white;
      border-radius: 15px;
      overflow: hidden;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
      transition: all 0.4s ease;
      height: 100%;
    }
    
    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
    
    .project-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
    }
    
    .project-content {
      padding: 25px;
    }
    
    .tech-tag {
      display: inline-block;
      background-color: var(--light-color);
      color: var(--primary-color);
      padding: 5px 15px;
      border-radius: 50px;
      margin-right: 8px;
      margin-bottom: 10px;
      font-size: 0.8rem;
      font-weight: 600;
    }
    
    .contact-section {
      padding: 100px 0;
    }
    
    .contact-card {
      background-color: var(--secondary-color);
      color: white;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      height: 100%;
    }
    
    .contact-icon {
      font-size: 1.8rem;
      color: white;
      margin-right: 15px;
    }
    
    .contact-form {
      background-color: white;
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
      height: 100%;
    }
    
    .form-control, .form-control:focus {
      border: 1px solid #dee2e6;
      box-shadow: none;
    }
    
    .form-control:focus {
      border-color: var(--primary-color);
    }
    
    .btn-primary {
      background-color: var(--primary-color);
      border-color: var(--primary-color);
      padding: 10px 30px;
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .btn-primary:hover {
      background-color: #174885;
      border-color: #174885;
      transform: translateY(-3px);
    }
    
    /* Contact email button responsive styles */
    .contact-form .btn-primary {
      word-wrap: break-word;
      white-space: normal;
      text-align: center;
      line-height: 1.4;
    }
    
    .footer {
      background-color: var(--dark-color);
      color: rgba(255, 255, 255, 0.7);
      padding: 40px 0 20px;
    }
    
    .back-to-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: var(--primary-color);
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
      z-index: 1000;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .back-to-top.show {
      opacity: 1;
      visibility: visible;
    }
    
    .back-to-top:hover {
      background-color: #174885;
      transform: translateY(-5px);
    }
    
    /* Animations */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .animate {
      animation: fadeInUp 0.8s ease forwards;
    }
    
    .delay-1 {
      animation-delay: 0.1s;
    }
    
    .delay-2 {
      animation-delay: 0.2s;
    }
    
    .delay-3 {
      animation-delay: 0.3s;
    }
    
    /* Responsive adjustments */
    @media (max-width: 992px) {
      .hero-content h1 {
        font-size: 2.8rem;
      }
      
      .hero-section {
        padding: 80px 0;
      }
    }
    
    @media (max-width: 768px) {
      .hero-content h1 {
        font-size: 2.3rem;
      }
      
      .profile-img {
        width: 220px;
        height: 220px;
        margin-top: 30px;
      }
      
      .section-title {
        font-size: 1.8rem;
      }
      /* Prevent decorative background from causing horizontal scroll on small screens */
      .about-bg {
        right: 0;
      }
      
      .social-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
      }
      
      /* Contact form responsive adjustments for tablets */
      .contact-form .btn-primary {
        font-size: 1rem;
        padding: 15px 25px;
        /* Ensure very long strings (emails) can wrap and never create overflow */
        overflow-wrap: anywhere;
        word-break: break-word;
      }
    }
    
    @media (max-width: 576px) {
      .hero-content h1 {
        font-size: 2rem;
      }
      
      .tagline {
        font-size: 0.9rem;
      }
      
      .section-title {
        font-size: 1.6rem;
      }
      
      .contact-icon {
        font-size: 1.5rem;
      }
      
      /* Contact form responsive adjustments */
      .contact-form .btn-primary {
        font-size: 0.9rem;
        padding: 12px 20px;
        overflow-wrap: anywhere;
        word-break: break-word;
      }
      
      .contact-form h4 {
        font-size: 1.3rem;
      }
      
      .contact-form p {
        font-size: 0.9rem;
      }
    }
