 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      background: #020617;
      color: white;
      font-family: Arial, sans-serif;
      line-height: 1.6;
    }

    /* ================= NAVBAR ================= */

    .navbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 8%;
      background: #0f172a;
      position: sticky;
      top: 0;
      z-index: 1000;
    }

    .logo {
      color: #38bdf8;
      font-size: 24px;
      font-weight: bold;
    }

    .nav-links {
      display: flex;
      list-style: none;
    }

    .nav-links li {
      margin-left: 25px;
    }

    .nav-links a {
      text-decoration: none;
      color: white;
      font-size: 16px;
      transition: color 0.3s;
    }

    .nav-links a:hover {
      color: #38bdf8;
    }

    .menu-icon {
      display: none;
      border: none;
      background: transparent;
      color: white;
      font-size: 28px;
      cursor: pointer;
    }

    /* ================= HOME ================= */

    .home {
      min-height: 90vh;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 50px;
      padding: 80px 10%;
      background: linear-gradient(135deg, #020617, #0f172a);
    }

    .home-content {
      max-width: 650px;
      animation: slideLeft 1.2s ease;
    }

    .home-content h3 {
      font-size: 22px;
      color: #38bdf8;
    }

    .home-content h1 {
      font-size: 50px;
      margin: 10px 0;
      line-height: 1.2;
    }

    .home-content h2 {
      font-size: 26px;
      color: #94a3b8;
    }

    .home-content p {
      margin: 20px 0;
      line-height: 1.8;
      color: #cbd5f5;
    }

    .home-buttons {
      margin-top: 25px;
    }

    .btn {
      display: inline-block;
      padding: 12px 25px;
      border-radius: 30px;
      text-decoration: none;
      font-size: 15px;
      margin-right: 15px;
      transition: 0.3s;
    }

    .primary {
      background: #38bdf8;
      color: #020617;
    }

    .primary:hover {
      background: #0ea5e9;
      transform: translateY(-2px);
    }

    .secondary {
      border: 2px solid #38bdf8;
      color: #38bdf8;
    }

    .secondary:hover {
      background: #38bdf8;
      color: #020617;
    }

    .home-img img {
      width: 300px;
      height: 300px;
      object-fit: cover;
      border-radius: 50%;
      box-shadow: 0 0 40px #38bdf8;
      animation: float 3s ease-in-out infinite;
    }

    /* ================= ABOUT ================= */

    .about {
      min-height: 80vh;
      display: flex;
      align-items: center;
      gap: 60px;
      padding: 80px 10%;
      background: #020617;
    }

    .about-img img {
      width: 320px;
      border-radius: 20px;
      box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
    }

    .about-content {
      max-width: 700px;
    }

    .about-content h2 {
      font-size: 40px;
      color: #38bdf8;
      margin-bottom: 10px;
    }

    .about-content h3 {
      font-size: 22px;
      color: #94a3b8;
      margin-bottom: 20px;
    }

    .about-content p {
      line-height: 1.8;
      margin-bottom: 15px;
      color: #cbd5f5;
    }

    .about-info {
      display: flex;
      gap: 15px;
      margin: 25px 0;
      flex-wrap: wrap;
    }

    .about-info div {
      background: #0f172a;
      padding: 10px 18px;
      border-radius: 8px;
      font-size: 14px;
    }

    /* ================= GENERAL SECTIONS ================= */

    .skills,
    .projects,
    .contact {
      padding: 90px 10%;
    }

    .skills {
      background: #0f172a;
      text-align: center;
    }

    .projects {
      background: #020617;
      text-align: center;
    }

    .contact {
      background: #0f172a;
      text-align: center;
    }

    .section-title {
      font-size: 40px;
      color: #38bdf8;
    }

    .section-subtitle {
      margin: 10px 0 50px;
      color: #94a3b8;
    }

    /* ================= SKILLS ================= */

    .skills-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 30px;
    }

    .skill-card {
      background: #020617;
      padding: 30px 20px;
      border-radius: 16px;
      box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
      transition: transform 0.3s, box-shadow 0.3s;
    }

    .skill-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 0 35px rgba(56, 189, 248, 0.35);
    }

    .skill-card h3 {
      margin-bottom: 15px;
      color: #38bdf8;
    }

    .skill-card ul {
      list-style: none;
    }

    .skill-card ul li {
      margin: 10px 0;
      color: #cbd5f5;
    }

    /* ================= PROJECTS ================= */

    .projects-container {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
    }

    .project-card {
      background: #0f172a;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
      transition: transform 0.3s, box-shadow 0.3s;
      text-align: left;
    }

    .project-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 0 40px rgba(56, 189, 248, 0.4);
    }

    .project-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

    .project-content {
      padding: 20px;
    }

    .project-content h3 {
      color: #38bdf8;
      margin-bottom: 10px;
    }

    .project-content p {
      font-size: 14px;
      color: #cbd5f5;
    }

    .project-links {
      margin-top: 15px;
    }

    .project-links a {
      display: inline-block;
      padding: 8px 16px;
      margin: 5px;
      border-radius: 20px;
      text-decoration: none;
      font-size: 14px;
      color: #020617;
      background: #38bdf8;
      transition: background 0.3s;
    }

    .project-links a:hover {
      background: #0ea5e9;
    }

    /* ================= CONTACT ================= */

    .contact-container {
      display: flex;
      gap: 50px;
      margin-top: 50px;
      align-items: center;
      justify-content: center;
    }

    .contact-info {
      text-align: left;
      max-width: 400px;
    }

    .contact-info h3 {
      color: #38bdf8;
      margin-bottom: 15px;
    }

    .contact-info p {
      color: #cbd5f5;
      margin-bottom: 20px;
    }

    .info-item {
      background: #020617;
      padding: 12px 18px;
      border-radius: 10px;
      margin-bottom: 12px;
      font-size: 14px;
    }

    .info-item a {
      color: #cbd5f5;
      text-decoration: none;
    }

    .info-item a:hover {
      color: #38bdf8;
    }

    .contact-form {
      background: #020617;
      padding: 30px;
      border-radius: 18px;
      width: 100%;
      max-width: 400px;
      box-shadow: 0 0 30px rgba(56, 189, 248, 0.2);
    }

    .contact-form label {
      display: block;
      text-align: left;
      color: #cbd5f5;
    }

    .contact-form input,
    .contact-form textarea {
      width: 100%;
      padding: 12px;
      margin-top: 7px;
      margin-bottom: 15px;
      border-radius: 8px;
      border: none;
      outline: none;
      background: #0f172a;
      color: white;
      font-family: inherit;
    }

    .contact-form textarea {
      resize: vertical;
    }

    .contact-form input:focus,
    .contact-form textarea:focus {
      outline: 2px solid #38bdf8;
    }

    .contact-form button {
      width: 100%;
      border: none;
      cursor: pointer;
      font-family: inherit;
    }

    /* ================= SOCIAL ================= */

    .social-links {
      margin-top: 20px;
    }

    .social-links a {
      display: inline-block;
      margin-right: 15px;
      color: #38bdf8;
      text-decoration: none;
      font-weight: bold;
    }

    .social-links a:hover {
      color: white;
    }

    /* ================= FOOTER ================= */

    .footer {
      background: #020617;
      color: #94a3b8;
      text-align: center;
      padding: 30px 10%;
      border-top: 1px solid #1e293b;
    }

    .footer p {
      margin: 5px 0;
    }

    /* ================= ANIMATIONS ================= */

    @keyframes float {
      0%, 100% {
        transform: translateY(0);
      }

      50% {
        transform: translateY(-15px);
      }
    }

    @keyframes slideLeft {
      from {
        opacity: 0;
        transform: translateX(-50px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* ================= RESPONSIVE ================= */

    @media (max-width: 900px) {

      .home,
      .about {
        flex-direction: column;
        text-align: center;
      }

      .home-content {
        max-width: 100%;
      }

      .home-img img {
        margin-top: 30px;
        width: 230px;
        height: 230px;
      }

      .about-img img {
        width: 240px;
      }

      .about-info {
        justify-content: center;
      }

      .contact-container {
        flex-direction: column;
      }

      .contact-info {
        text-align: center;
      }
    }

    @media (max-width: 768px) {

      .navbar {
        padding: 18px 6%;
      }

      .nav-links {
        position: absolute;
        top: 70px;
        right: 0;
        background: #0f172a;
        flex-direction: column;
        width: 220px;
        display: none;
        padding: 15px 0;
      }

      .nav-links.active {
        display: flex;
      }

      .nav-links li {
        margin: 15px 0;
        text-align: center;
      }

      .menu-icon {
        display: block;
      }

      .home-content h1 {
        font-size: 38px;
      }

      .home-content h2 {
        font-size: 21px;
      }

      .section-title {
        font-size: 32px;
      }

      .skills,
      .projects,
      .contact,
      .about,
      .home {
        padding-left: 6%;
        padding-right: 6%;
      }
    }

    @media (max-width: 500px) {

      .home-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 200px;
      }

      .home-content h1 {
        font-size: 32px;
      }

      .home-content h3 {
        font-size: 18px;
      }

      .home-content p {
        font-size: 14px;
      }
    }