  html {
    scroll-behavior: smooth;
  }

  /*=============== GOOGLE FONTS ===============*/
  @import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap");

  /*=============== VARIABLES CSS ===============*/
  :root {
    --header-height: 3.5rem;

    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness)*/
    --black-color: hsl(220, 24%, 12%);
    --black-color-light: hsl(220, 24%, 15%);
    --black-color-lighten: hsl(220, 20%, 18%);
    --white-color: #fff;
    --body-color: hsl(220, 100%, 97%);

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: "Montserrat", sans-serif;
    --normal-font-size: .938rem;

    /*========== Font weight ==========*/
    --font-regular: 400;
    --font-semi-bold: 600;

    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }

  /*========== Responsive typography ==========*/
  @media screen and (min-width: 1024px) {
    :root {
      --normal-font-size: 1rem;
    }
  }

  /*=============== BASE ===============*/
  * {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--body-font);
    font-size: var(--normal-font-size);
    background-color: var(--body-color);
  }

  ul {
    list-style: none;
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
  }

  a {
    text-decoration: none;
  }

  /*=============== REUSABLE CSS CLASSES ===============*/
  .container {
    max-width: 1120px;
    margin-inline: 1.5rem;
  }

  /*=============== HEADER ===============*/
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--black-color);
    box-shadow: 0 2px 16px hsla(220, 32%, 8%, .3);
    z-index: var(--z-fixed);
  }

  /*=============== NAV ===============*/
  .nav {
    height: var(--header-height);
  }

  .nav__logo,
  .nav__burger,
  .nav__close {
    color: var(--white-color);
  }

  .nav__data {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav__logo {
    display: inline-flex;
    align-items: center;
    column-gap: .25rem;
    font-weight: var(--font-semi-bold);
    /* Color highlighting when pressed on mobile devices */
    /*-webkit-tap-highlight-color: transparent;*/
  }

  .nav__logo i {
    font-weight: initial;
    font-size: 1.25rem;
  }

  .nav__toggle {
    position: relative;
    width: 32px;
    height: 32px;
  }

  .nav__burger,
  .nav__close {
    position: absolute;
    width: max-content;
    height: max-content;
    inset: 0;
    margin: auto;
    font-size: 1.25rem;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
  }

  .nav__close {
    opacity: 0;
  }

  /* Navigation for mobile devices */
  @media screen and (max-width: 1118px) {
    .nav__menu {
      position: absolute;
      left: 0;
      top: 2.5rem;
      width: 100%;
      height: calc(100vh - 3.5rem);
      overflow: auto;
      pointer-events: none;
      opacity: 0;
      transition: top .4s, opacity .3s;
    }

    .nav__menu::-webkit-scrollbar {
      width: 0;
    }

    .nav__list {
      background-color: var(--black-color);
      padding-top: 1rem;
    }
  }

  .nav__link {
    color: var(--white-color);
    background-color: var(--black-color);
    font-weight: var(--font-semi-bold);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color .3s;
  }

  .nav__link:hover {
    background-color: var(--black-color-light);
  }

  /* Show menu */
  .show-menu {
    opacity: 1;
    top: 3.5rem;
    pointer-events: initial;
  }

  /* Show icon */
  .show-icon .nav__burger {
    opacity: 0;
    transform: rotate(90deg);
  }

  .show-icon .nav__close {
    opacity: 1;
    transform: rotate(90deg);
  }

  /*=============== DROPDOWN ===============*/
  .dropdown__item {
    cursor: pointer;
  }

  .dropdown__arrow {
    font-size: 1.25rem;
    font-weight: initial;
    transition: transform .4s;
  }

  .dropdown__link,
  .dropdown__sublink {
    padding: 1.25rem 1.25rem 1.25rem 2.5rem;
    color: var(--white-color);
    background-color: var(--black-color-light);
    display: flex;
    align-items: center;
    column-gap: .5rem;
    font-weight: var(--font-semi-bold);
    transition: background-color .3s;
  }

  .dropdown__link i,
  .dropdown__sublink i {
    font-size: 1.25rem;
    font-weight: initial;
  }

  .dropdown__link:hover,
  .dropdown__sublink:hover {
    background-color: var(--black-color);
  }

  .dropdown__menu,
  .dropdown__submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease-out;
  }

  /* Show dropdown menu & submenu */
  .dropdown__item:hover .dropdown__menu,
  .dropdown__subitem:hover>.dropdown__submenu {
    max-height: 1000px;
    transition: max-height .4s ease-in;
  }

  /* Rotate dropdown icon */
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }

  /*=============== DROPDOWN SUBMENU ===============*/
  .dropdown__add {
    margin-left: auto;
  }

  .dropdown__sublink {
    background-color: var(--black-color-lighten);
  }

  /*=============== BREAKPOINTS ===============*/
  /* For small devices */
  @media screen and (max-width: 340px) {
    .container {
      margin-inline: 1rem;
    }

    .nav__link {
      padding-inline: 1rem;
    }
  }

  /* For large devices */
  @media screen and (min-width: 1118px) {
    .container {
      margin-inline: auto;
    }

    .nav {
      height: calc(var(--header-height) + 2rem);
      display: flex;
      justify-content: space-between;
    }

    .nav__toggle {
      display: none;
    }

    .nav__list {
      height: 100%;
      display: flex;
      column-gap: 3rem;
    }

    .nav__link {
      height: 100%;
      padding: 0;
      justify-content: initial;
      column-gap: .25rem;
    }

    .nav__link:hover {
      background-color: transparent;
    }

    .dropdown__item,
    .dropdown__subitem {
      position: relative;
    }

    .dropdown__menu,
    .dropdown__submenu {
      max-height: initial;
      overflow: initial;
      position: absolute;
      left: 0;
      top: 6rem;
      opacity: 0;
      pointer-events: none;
      transition: opacity .3s, top .3s;
    }

    .dropdown__link,
    .dropdown__sublink {
      padding-inline: 1rem 3.5rem;
    }

    .dropdown__subitem .dropdown__link {
      padding-inline: 1rem;
    }

    .dropdown__submenu {
      position: absolute;
      left: 100%;
      top: .5rem;
    }

    /* Show dropdown menu */
    .dropdown__item:hover .dropdown__menu {
      opacity: 1;
      top: 5.5rem;
      pointer-events: initial;
      transition: top .3s;
    }

    /* Show dropdown submenu */
    .dropdown__subitem:hover>.dropdown__submenu {
      opacity: 1;
      top: 0;
      pointer-events: initial;
      transition: top .3s;
    }
  }

  .hero {
    min-height: 90vh;
    display: flex;
    align-items: center;

    justify-content: center;
    background-color: #f9fafb;
    padding: 0 20px;
  }

  .hero-content {
    max-width: 800px;
    text-align: center;
  }

  .hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #111827;

  }

  .hero h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #4f46e5;
    margin-bottom: 20px;
  }

  .hero p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 30px;
  }

  /* BUTTONS */
  .hero-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
  }

  .ui-btn {
    --btn-default-bg: rgb(41, 41, 41);
    --btn-padding: 15px 20px;
    --btn-hover-bg: rgb(51, 51, 51);
    --btn-transition: .3s;
    --btn-letter-spacing: .1rem;
    --btn-animation-duration: 1.2s;
    --btn-shadow-color: rgba(0, 0, 0, 0.137);
    --btn-shadow: 0 2px 10px 0 var(--btn-shadow-color);
    --hover-btn-color: white;
    --default-btn-color: #fff;
    --font-size: 16px;
    /* 👆 this field should not be empty */
    --font-weight: 600;
    --font-family: Menlo, Roboto Mono, monospace;
    border-radius: 50px;
    /* 👆 this field should not be empty */
  }

  /* button settings 👆 */

  .ui-btn {
    box-sizing: border-box;
    padding: var(--btn-padding);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--default-btn-color);
    font: var(--font-weight) var(--font-size) var(--font-family);
    background: var(--btn-default-bg);
    border: none;
    cursor: pointer;
    transition: var(--btn-transition);
    overflow: hidden;
    box-shadow: var(--btn-shadow);
  }

  .ui-btn span {
    letter-spacing: var(--btn-letter-spacing);
    transition: var(--btn-transition);
    box-sizing: border-box;
    position: relative;
    background: inherit;
  }

  .ui-btn span::before {
    box-sizing: border-box;
    position: absolute;
    content: "";
    background: inherit;
  }

  .ui-btn:hover,
  .ui-btn:focus {
    background: var(--btn-hover-bg);
  }

  .ui-btn:hover span,
  .ui-btn:focus span {
    color: var(--hover-btn-color);
  }

  .ui-btn:hover span::before,
  .ui-btn:focus span::before {
    animation: chitchat linear both var(--btn-animation-duration);
  }

  @keyframes chitchat {
    0% {
      content: "#";
    }

    5% {
      content: ".";
    }

    10% {
      content: "^{";
    }

    15% {
      content: "-!";
    }

    20% {
      content: "#$_";
    }

    25% {
      content: "№:0";
    }

    30% {
      content: "#{+.";
    }

    35% {
      content: "@}-?";
    }

    40% {
      content: "?{4@%";
    }

    45% {
      content: "=.,^!";
    }

    50% {
      content: "?2@%";
    }

    55% {
      content: "\;1}]";
    }

    60% {
      content: "?{%:%";
      right: 0;
    }

    65% {
      content: "|{f[4";
      right: 0;
    }

    70% {
      content: "{4%0%";
      right: 0;
    }

    75% {
      content: "'1_0<";
      right: 0;
    }

    80% {
      content: "{0%";
      right: 0;
    }

    85% {
      content: "]>'";
      right: 0;
    }

    90% {
      content: "4";
      right: 0;
    }

    95% {
      content: "2";
      right: 0;
    }

    100% {
      content: "";
      right: 0;
    }
  }

  .animated-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 16px 36px;
    border: 4px solid;
    border-color: transparent;
    font-size: 16px;
    background-color: inherit;
    border-radius: 100px;
    font-weight: 600;
    color: #4338ca;
    box-shadow: 0 0 0 2px #4338ca;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .animated-button svg {
    position: absolute;
    width: 24px;
    fill: #4338ca;
    z-index: 9;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .animated-button .arr-1 {
    right: 16px;
  }

  .animated-button .arr-2 {
    left: -25%;
  }

  .animated-button .circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background-color: #4338ca;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .animated-button .text {
    position: relative;
    z-index: 1;
    transform: translateX(-12px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .animated-button:hover {
    box-shadow: 0 0 0 12px transparent;
    color: white;
    border-radius: 12px;
  }

  .animated-button:hover .arr-1 {
    right: -25%;
  }

  .animated-button:hover .arr-2 {
    left: 16px;
  }

  .animated-button:hover .text {
    transform: translateX(12px);
  }

  .animated-button:hover svg {
    fill: white;
  }

  .animated-button:active {
    scale: 0.95;
    box-shadow: 0 0 0 4px greenyellow;
  }

  .animated-button:hover .circle {
    width: 220px;
    height: 220px;
    opacity: 1;
  }


  .details {
    max-width: 600px;
  }

  .img img {
    width: 450px;
  }

  @media (max-width: 768px) {
    .hero {
      margin-top: 50px;
      flex-direction: column;
      text-align: center;
      padding: 0 20px;
    }

    .hero-buttons {
      justify-content: center;
    }

    .hero-img {
      margin-top: 30px;
    }
    .hero h1 {
      font-size: 2.5rem;
      padding-top: 50px;
    }   
  }

  .projects {
    padding: 80px 20px;
    background: #0f172a;
    margin: 0 10px 0 10px;
    border-radius: 16px;
  }

  .section-title {
    text-align: center;
    font-size: 2rem;
    color: #f1f5f9;
    margin-bottom: 40px;
  }

  .projects-container {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  .project-card {
    background: #020617;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease;
  }

  .project-card:hover {
    transform: translateY(-10px);
  }

  .project-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }

  .project-content {
    padding: 20px;
  }

  .project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #4f46e5;
  }

  .project-content p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #cbd5f5;
    margin-bottom: 15px;
  }

  .tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
  }

  .tech-stack span {
    background: #1e293b;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: white;
  }

  .project-links {
    display: flex;
    gap: 12px;
    align-items: center;
  }

  .about {
    padding: 80px 20px;
    background-color: #f9fafb;
  }

  .about-container {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    /* Makes it responsive */
    max-width: 1100px;
    margin: 0 auto;
  }

  .about-img {
    flex: 1;
    min-width: 250px;
    text-align: center;
  }

  .about-img img {
    max-width: 100%;
    border-radius: 15px;
  }

  .about-content {
    flex: 2;
    min-width: 250px;
  }

  .about-content h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 20px;
  }

  .about-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #374151;
    margin-bottom: 15px;
  }

  .about-content .btn {
    margin-top: 10px;
  }

  .journey {
    padding: 80px 20px;
    background-color: #fff;
  }

  .journey-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }

  .journey h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 20px;
  }

  .journey-intro {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 50px;
  }

  .journey-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .journey-card {
    background-color: #f3f4f6;
    padding: 25px 20px;
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .journey-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .journey-card h3 {
    font-size: 1.3rem;
    color: #4f46e5;
    margin-bottom: 10px;
  }

  .journey-card p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.5;
  }


  .career {
    padding: 80px 20px;
    background-color: #f9fafb;
  }

  .career-container {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }

  .career h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 20px;
  }

  .career-intro {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 50px;
  }

  .career-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
  }

  .career-card {
    background-color: #fff;
    padding: 25px 20px;
    border-radius: 15px;
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .career-card h3 {
    font-size: 1.3rem;
    color: #4f46e5;
    margin-bottom: 10px;
  }

  .career-card p {
    font-size: 1rem;
    color: #374151;
    line-height: 1.5;
  }

  .career-icon {
    font-size: 2.5rem;
    color: #4f46e5;
    margin-bottom: 15px;
  }

  .contact {
    padding: 80px 20px;
    background-color: #fff;
    text-align: center;
  }

  .contact-container {
    max-width: 900px;
    margin: 0 auto;
  }

  .contact h2 {
    font-size: 2.5rem;
    color: #111827;
    margin-bottom: 20px;
  }

  .contact-intro {
    font-size: 1.1rem;
    color: #374151;
    margin-bottom: 50px;
  }

  .contact-info {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
  }

  .contact-card {
    background-color: #f3f4f6;
    padding: 20px;
    border-radius: 15px;
    min-width: 200px;
    flex: 1;
    max-width: 250px;
    transition: transform 0.3s, box-shadow 0.3s;
  }

  .contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

  .contact-card h3 {
    font-size: 1.2rem;
    color: #4f46e5;
    margin: 10px 0;
  }

  .contact-card p {
    font-size: 1rem;
    color: #374151;
  }

  .contact-icon {
    font-size: 2rem;
    color: #4f46e5;
  }

  .contact-socials {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
  }

  .contact-socials a {
    color: #4f46e5;
    font-size: 1.5rem;
    transition: transform 0.3s;
  }

  .contact-socials a:hover {
    transform: scale(1.2);
  }

  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    resize: none;
  }

  .contact-form button {
    width: max-content;
    margin: 0 auto;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    background-color: #4f46e5;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
  }

  .contact-form button:hover {
    background-color: #4338ca;
  }

  .footer {
    background-color: #111827;
    color: #f9fafb;
    padding: 40px 20px;
    text-align: center;
  }

  .footer-logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 10px;
    text-decoration: none;
  }

  .footer-logo i {
    font-size: 1.25rem;
  }

  .footer-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: #d1d5db;
  }

  .footer-socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
  }

  .footer-socials a {
    color: #4f46e5;
    font-size: 1.5rem;
    transition: transform 0.3s;
  }

  .footer-socials a:hover {
    transform: scale(1.2);
  }

  .footer-copy {
    font-size: 0.9rem;
    color: #9ca3af;
  }

  .back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #4f46e5;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: none;
    /* show only when scrolling */
    cursor: pointer;
    transition: transform 0.3s;
  }

  .back-to-top:hover {
    transform: scale(1.2);
  }

  .btn-outline {
    padding: 10px 15px;
    border: 2px solid #4f46e5;
    border-radius: 8px;
    color: #4f46e5;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s, color 0.3s;
  }

  .btn-outline:hover {
    background-color: #4f46e5;
    color: #fff;
  }

  .btn {
    padding: 10px 15px;
    background-color: #4f46e5;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s;
  }

  .btn:hover {
    background-color: #4338ca;
  }

  /* width */
  ::-webkit-scrollbar {
    width: 10px;
  }

  /* track */
  ::-webkit-scrollbar-track {
    background: #111;
  }

  /* handle */
  ::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4400ff, #ffffff);
    border-radius: 10px;
    transition: background 0.3s ease;
  }

  /* handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff00cc, #3333ff);
  }

  /* Logo hover */
  .nav__logo:hover {
    color: #4f46e5;
    /* highlight color */
    transform: scale(1.05);
    transition: color 0.3s ease, transform 0.3s ease;
  }

  /* Burger & Close icon hover */
  .nav__burger:hover,
  .nav__close:hover {
    color: #4f46e5;
    transform: scale(1.1);
  }

  .nav__link {
    position: relative;
    color: var(--white-color);
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease;
  }

  .nav__link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #4f46e5;
    transition: width 0.3s ease;
  }

  .nav__link:hover {
    color: #4f46e5;
    transform: translateY(-2px);
  }

  .nav__link:hover::after {
    width: 100%;
  }

  .dropdown__arrow {
    transition: transform 0.3s ease;
  }

  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
.heading {
  font-size: 3rem;
  color: #00f2ff;

  animation: bounce 1.5s infinite;
}

/* Keyframes for infinite bounce */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-15px); }
}
.heading span {
  color: #ff00c8;
}
