
    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&family=Ubuntu:wght@400;500;700&display=swap');

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      text-decoration: none;
      scroll-behavior: smooth;
    }

    /* Scrollbar */
    ::-webkit-scrollbar {
      width: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #f1f1f1;
    }
    ::-webkit-scrollbar-thumb {
      background: #6e93f7;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #4070f4;
    }

    /* Navigation */
    nav {
      position: fixed;
      width: 100%;
      padding: 15px 0;
      z-index: 998;
      transition: all 0.3s ease;
      font-family: 'Ubuntu', sans-serif;
      background: rgba(255, 255, 255, 0.98);
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    nav.sticky {
      background: #4070f4;
      padding: 10px 0;
    }
    nav .navbar {
      width: 90%;
      max-width: 1200px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin: auto;
    }
    nav .navbar .logo a {
      font-weight: 600;
      font-size: 28px;
      color: #4070f4;
    }
    nav.sticky .navbar .logo a {
      color: #fff;
    }
    nav .navbar .menu {
      display: flex;
      position: relative;
    }
    nav .navbar .menu li {
      list-style: none;
      margin: 0 15px;
    }
    .navbar .menu a {
      font-size: 16px;
      font-weight: 500;
      color: #0E2431;
      padding: 6px 0;
      transition: all 0.4s ease;
      position: relative;
    }
    .navbar .menu a:hover {
      color: #4070f4;
    }
    .navbar .menu a::after {
      content: '';
      position: absolute;
      width: 0;
      height: 2px;
      background: #4070f4;
      bottom: 0;
      left: 0;
      transition: width 0.3s ease;
    }
    .navbar .menu a:hover::after {
      width: 100%;
    }
    nav.sticky .menu a {
      color: #FFF;
    }
    nav.sticky .menu a:hover {
      color: #0E2431;
    }
    .navbar .media-icons {
      display: flex;
      align-items: center;
    }
    .navbar .media-icons a {
      color: #4070f4;
      font-size: 18px;
      margin: 0 6px;
      transition: transform 0.3s ease;
    }
    .navbar .media-icons a:hover {
      transform: translateY(-3px);
    }
    nav.sticky .media-icons a {
      color: #FFF;
    }

    /* Menu Button */
    nav .menu-btn,
    .navbar .menu .cancel-btn {
      position: absolute;
      color: #fff;
      right: 20px;
      top: 20px;
      font-size: 24px;
      cursor: pointer;
      transition: all 0.3s ease;
      display: none;
      background: transparent;
      border: none;
      z-index: 999;
    }
    nav .menu-btn {
      color: #4070f4;
    }
    nav.sticky .menu-btn {
      color: #FFF;
    }

    /* Home Section */
    .home {
      position: relative;
      height: 100vh;
      width: 100%;
      background: url("Abiral-Acharya-seo-expert-jhapa.webp") no-repeat center center/cover;

      font-family: 'Ubuntu', sans-serif;
      display: flex;
      align-items: center;
      padding-top: 70px;
    }
    .home::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(255, 255, 255, 0.25);
      z-index: 0;
    }
    .home .home-content {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .home .text {
      width: 100%;
      padding: 20px;
    }
    .home .text-one {
      font-size: 22px;
      color: #0E2431;
      margin-bottom: 10px;
    }
    .home .text-two {
      color: #0E2431;
      font-size: clamp(32px, 8vw, 65px);
      font-weight: 700;
      line-height: 1.2;
      margin-bottom: 10px;
    }
    .home .text-three {
      font-size: clamp(20px, 5vw, 35px);
      margin: 10px 0;
      color: #4070f4;
      font-weight: 600;
    }
    .home .text-four {
      font-size: 18px;
      margin: 10px 0 20px;
      color: #0E2431;
    }
    .home .button {
      margin: 20px 0;
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 15px;
    }
    .home .button button {
      outline: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 500;
      background: #4070f4;
      color: #fff;
      cursor: pointer;
      border: 2px solid transparent;
      transition: all 0.4s ease;
      min-width: 140px;
    }
    .home .button button:hover {
      border-color: #4070f4;
      background-color: #fff;
      color: #4070f4;
      transform: translateY(-3px);
      box-shadow: 0 5px 15px rgba(64, 112, 244, 0.3);
    }
    .home .button a {
      color: inherit;
      text-decoration: none;
      display: block;
    }

    /* Sections */
    section {
      padding: 70px 0;
      scroll-margin-top: 70px;
    }
    section .content {
      width: 90%;
      max-width: 1200px;
      margin: 0 auto;
      font-family: 'Poppins', sans-serif;
    }
    section .title {
      display: flex;
      justify-content: center;
      margin-bottom: 40px;
    }
    section .title span {
      color: #0E2431;
      font-size: 28px;
      font-weight: 600;
      position: relative;
      padding-bottom: 8px;
      text-align: center;
    }
    section .title span::before,
    section .title span::after {
      content: '';
      position: absolute;
      height: 3px;
      width: 100%;
      background: #4070f4;
      left: 0;
      bottom: 0;
    }
    section .title span::after {
      bottom: -7px;
      width: 70%;
      left: 50%;
      transform: translateX(-50%);
    }

    /* About Section */
    .about .about-details {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }
    .about .about-details .left {
      width: 100%;
      max-width: 400px;
    }
    .about .left img {
      width: 100%;
      height: auto;
      border-radius: 12px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    .about-details .right {
      width: 100%;
    }
    section .topic {
      color: #0E2431;
      font-size: 24px;
      font-weight: 600;
      margin-bottom: 15px;
      text-align: center;
    }
    .about-details .right p {
      text-align: justify;
      color: #0E2431;
      line-height: 1.6;
      margin-bottom: 20px;
      font-size: 16px;
    }
    section .button {
      margin: 20px 0;
      text-align: center;
    }
    section .button button {
      outline: none;
      padding: 12px 24px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 500;
      background: #4070f4;
      color: #fff;
      border: 2px solid transparent;
      cursor: pointer;
      transition: all 0.4s ease;
    }
    section .button button:hover {
      border-color: #4070f4;
      background-color: #fff;
      color: #4070f4;
    }

    /* Skills Section */
    .skills {
      background: #F0F8FF;
    }
    .skills .content {
      padding: 40px 0;
    }
    .skills .skills-details {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 30px;
    }
    .skills-details .text {
      width: 100%;
    }
    .skills-details p {
      color: #0E2431;
      text-align: justify;
      line-height: 1.6;
      font-size: 16px;
      margin-bottom: 20px;
    }
    .skills .skills-details .experience {
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 20px 0;
    }
    .skills-details .experience .num {
      color: #0E2431;
      font-size: 60px;
      font-weight: 700;
      line-height: 1;
    }
    .skills-details .experience .exp {
      color: #0E2431;
      margin-left: 15px;
      font-size: 16px;
      font-weight: 500;
    }
    .skills-details .boxes {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .skills-details .box {
      width: 100%;
      margin: 0;
      position: relative;
    }
    .skills-details .boxes .topic {
      font-size: 18px;
      color: #4070f4;
      margin-bottom: 10px;
    }
    .skills-details .boxes .per {
      font-size: 20px;
      color: #0E2431;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .progress-bar {
      height: 8px;
      background: #e0e0e0;
      border-radius: 4px;
      margin-top: 5px;
      overflow: hidden;
      position: relative;
    }
    .progress-bar::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: calc(var(--percentage) * 1%);
      background: #4070f4;
      border-radius: 4px;
      transition: width 1s ease-out;
    }

    /* Services Section */
    .services .boxes {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 20px;
    }
    .services .boxes .box {
      margin: 0;
      width: 100%;
      max-width: 350px;
      text-align: center;
      border-radius: 12px;
      padding: 25px 15px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
      cursor: default;
      transition: all 0.4s ease;
      background: #fff;
      position: relative;
      overflow: hidden;
      z-index: 1;
    }
    .services .boxes .box:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(64, 112, 244, 0.15);
    }
    .services .boxes .box::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: #4070f4;
      z-index: -1;
      transform: scaleY(0);
      transform-origin: bottom;
      transition: transform 0.4s ease;
    }
    .services .boxes .box:hover::before {
      transform: scaleY(1);
    }
    .services .boxes .box .icon {
      height: 60px;
      width: 60px;
      background: #4070f4;
      border-radius: 50%;
      text-align: center;
      line-height: 60px;
      font-size: 22px;
      color: #fff;
      margin: 0 auto 15px auto;
      transition: all 0.4s ease;
      position: relative;
      z-index: 2;
    }
    .services .boxes .box:hover .icon {
      background-color: #fff;
      color: #4070f4;
      border: 2px solid #4070f4;
    }
    .services .boxes .box .topic {
      font-size: 20px;
      font-weight: 600;
      color: #0E2431;
      margin-bottom: 12px;
      transition: all 0.4s ease;
      position: relative;
      z-index: 2;
    }
    .services .boxes .box p {
      color: #555;
      line-height: 1.6;
      font-size: 15px;
      transition: all 0.4s ease;
      position: relative;
      z-index: 2;
    }
    .services .boxes .box:hover .topic,
    .services .boxes .box:hover p {
      color: #fff !important;
    }

    /* Contact Section */
    .contact {
      background: #F0F8FF;
    }
    .contact .content {
      margin: 0 auto;
      padding: 40px 0;
    }
    .contact .text {
      width: 100%;
      text-align: center;
    }
    .contact .topic {
      font-size: 24px;
      margin-bottom: 15px;
    }
    .contact p {
      color: #0E2431;
      line-height: 1.6;
      margin-bottom: 25px;
      font-size: 16px;
      text-align: justify;
    }
    .contact iframe {
      width: 100%;
      height: 300px;
      border: 0;
      border-radius: 8px;
      margin: 20px 0;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
    .contact-methods {
      display: flex;
      flex-direction: column;
      gap: 15px;
      margin-bottom: 25px;
    }
    .contact-item {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      font-size: 16px;
    }
    .contact-item i {
      color: #4070f4;
      font-size: 18px;
    }
    .contact .button {
      text-align: center;
    }

    /* Footer */
    footer {
      background: #4070f4;
      padding: 15px 0;
      text-align: center;
      font-family: 'Poppins', sans-serif;
    }
    footer .text span {
      font-size: 15px;
      font-weight: 400;
      color: #fff;
    }
    footer .text span a {
      font-weight: 500;
      color: #FFF;
      transition: all 0.3s ease;
    }
    footer .text span a:hover {
      text-decoration: underline;
      opacity: 0.9;
    }

    /* Scroll Button */
    .scroll-button a {
      position: fixed;
      bottom: 20px;
      right: 20px;
      color: #fff;
      background: #4070f4;
      padding: 10px 12px;
      font-size: 18px;
      border-radius: 50%;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      display: none;
      transition: all 0.3s ease;
      z-index: 99;
    }
    .scroll-button a:hover {
      background: #2a5bd7;
      transform: translateY(-3px);
    }

    /* Responsive Design */
    @media (min-width: 576px) {
      .home .home-content {
        text-align: left;
        align-items: flex-start;
      }
      .about .about-details {
        flex-direction: row;
      }
      .about .about-details .left {
        width: 40%;
      }
      .about-details .right {
        width: 60%;
        padding-left: 30px;
      }
      section .topic {
        text-align: left;
      }
      .skills-details {
        flex-direction: row;
      }
      .skills-details .text {
        width: 50%;
      }
      .skills-details .boxes {
        width: 45%;
        margin-top: 0;
      }
      .services .boxes .box {
        width: calc(50% - 15px);
      }
    }

    @media (min-width: 768px) {
      nav .navbar .menu {
        display: flex;
        position: relative;
      }
      nav .menu-btn,
      .navbar .menu .cancel-btn {
        display: none;
      }
      .home {
        background-attachment: fixed;
      }
      .home .home-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
      }
      .home .text {
        width: 55%;
      }
      .home-image {
        width: 40%;
        display: block;
      }
      .services .boxes .box {
        width: calc(33.333% - 15px);
      }
      .contact .text {
        width: 80%;
      }
    }

    @media (min-width: 992px) {
      nav .navbar .menu li {
        margin: 0 20px;
      }
      .navbar .menu a {
        font-size: 18px;
      }
      .home .text-one {
        font-size: 25px;
      }
      .home .text-four {
        font-size: 23px;
      }
      section .title span {
        font-size: 30px;
      }
      .about-details .right p {
        font-size: 17px;
      }
    }

    @media (max-width: 767px) {
      /* Navigation for mobile */
      nav .navbar {
        padding: 0 15px;
      }
      nav .navbar .menu {
        position: fixed;
        left: -100%;
        top: 0;
        background: #0E2431;
        height: 100vh;
        width: 100%;
        max-width: 300px;
        padding-top: 70px;
        flex-direction: column;
        align-items: center;
        transition: all 0.5s ease;
        z-index: 998;
      }
      .navbar.active .menu {
        left: 0;
      }
      nav .navbar .menu li {
        margin: 15px 0;
      }
      nav .navbar .menu a {
        font-size: 20px;
        color: #fff;
      }
      nav.sticky .menu a:hover {
        color: #4070f4;
      }
      nav .navbar .media-icons {
        display: none;
      }
      nav .menu-btn,
      .navbar .menu .cancel-btn {
        display: block;
      }
      
      /* Home section mobile adjustments */
      .home {
        background-position: center;
        padding-top: 60px;
      }
      
      /* Button adjustments */
      .home .button {
        flex-direction: column;
        align-items: center;
      }
      .home .button button {
        width: 100%;
        max-width: 250px;
      }
      
      /* Skills section adjustments */
      .skills-details .experience .num {
        font-size: 50px;
      }
      
      /* Contact section adjustments */
      .contact-item {
        flex-direction: column;
        text-align: center;
      }
    }

    @media (max-width: 480px) {
      .home .text-two {
        font-size: 32px;
      }
      .home .text-three {
        font-size: 22px;
      }
      .home .text-four {
        font-size: 16px;
      }
      section .title span {
        font-size: 24px;
      }
      .skills-details .experience .num {
        font-size: 40px;
      }
      .contact iframe {
        height: 250px;
      }
    }

    /* Keyboard navigation focus styles */
    .keyboard-nav .navbar .menu a:focus,
    .keyboard-nav .button button:focus,
    .keyboard-nav .media-icons a:focus,
    .keyboard-nav .scroll-button a:focus {
      outline: 2px solid #4070f4;
      outline-offset: 2px;
    }

    /* Global */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Poppins', sans-serif;
    }

    body {
        background: #f8f9fa;
    }

    /* Footer */
    footer {
        width: 100%;
        background: #2c3e50;
        color: #fff;
        padding: 3rem 1rem 1rem;
    }

    .footer-content {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
    }

    .footer-column h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        position: relative;
        padding-bottom: 0.3rem;
        font-weight: 600;
    }

    .footer-column h3::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 40px;
        height: 2px;
    
    }

    .footer-column p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #ddd;
    }

    /* Lists fixed to align straight */
    .footer-column ul {
        list-style: none; 
        padding: 0;       
        margin: 0;        
    }

    .footer-column ul li {
        margin: .5rem 0;  
        padding: 0;        
    }

    .footer-column ul li a {
        color: #ddd;
        text-decoration: none;
        font-size: 0.95rem;
        display: block;    /* full width for vertical alignment */
        transition: color 0.3s;
    }

    .footer-column ul li a:hover {
        color: #3498db;
    }

    .social-links {
        display: flex;
        gap: 0.8rem;
        margin-top: 0.8rem;
    }

    .social-links a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.3s;
        font-size: 0.9rem;
    }

    .social-links a:hover {
        background: #3498db;
        transform: translateY(-3px);
    }

    .copyright {
        text-align: center;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.85rem;
        color: #ccc;
    }

    /* Mobile-first responsiveness */
    @media (max-width: 768px) {
        footer {
            padding: 2rem 1rem 1rem;
        }
        .footer-column h3 {
            font-size: 1.1rem;
        }
        .footer-column p, .footer-column ul li a {
            font-size: 0.9rem;
        }
        .social-links a {
            width: 32px;
            height: 32px;
            font-size: 0.8rem;
        }
    }

    @media (max-width: 480px) {
        .footer-content {
            grid-template-columns: 1fr;
            gap: 1.5rem;
        }
        footer {
            padding: 1.5rem 1rem 1rem;
        }
        .footer-column h3 {
            font-size: 1rem;
        }
        .footer-column p, .footer-column ul li a {
            font-size: 0.85rem;
        }
        .social-links a {
            width: 30px;
            height: 30px;
            font-size: 0.75rem;
        }
    }