/* GENERAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  :root {
    --background: #0b1120;
    --surface: #151f33;
    --primary: #38bdf8;
    --text: #f1f5f9;
    --muted: #b7c4d8;
  }
  
  body {
    font-family: Arial, sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.7;
  }
  
  a {
    color: var(--primary);
    text-decoration: none;
  }
  
  section {
    scroll-margin-top: 80px;
  }
  
  /* NAVIGATION */
  header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: #0b1120;
    border-bottom: 1px solid #263349;
  }
  
  .navbar {
    max-width: 1100px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    font-size: 1.4rem;
    font-weight: bold;
    color: var(--primary);
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 24px;
  }
  
  .nav-links a {
    color: var(--text);
    transition: color 0.3s;
  }
  
  .nav-links a:hover {
    color: var(--primary);
  }
  
  .menu-btn {
    display: none;
    color: var(--text);
    background: transparent;
    border: 1px solid #526078;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 1.3rem;
  }
  
  /* HERO */
  .hero {
    max-width: 1100px;
    min-height: 540px;
    margin: auto;
    padding: 80px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
  }
  
  .hero-content {
    max-width: 600px;
  }
  
  .tagline {
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 12px;
  }
  
  .hero h1 {
    font-size: clamp(2.3rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 12px;
  }
  
  .hero h1 span {
    color: var(--primary);
  }
  
  .hero h2 {
    color: var(--muted);
    font-size: 1.4rem;
    margin-bottom: 18px;
  }
  
  .hero-content > p:not(.tagline) {
    color: var(--muted);
    margin-bottom: 28px;
  }
  
  .btn {
    display: inline-block;
    background: var(--primary);
    color: #07111f;
    font-weight: bold;
    padding: 12px 22px;
    border-radius: 8px;
    transition: transform 0.3s, background 0.3s;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    background: #7dd3fc;
  }
  
  .profile {
    text-align: center;
    min-width: 220px;
  }
  
  .profile-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 18px;
    border: 4px solid var(--primary);
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--surface);
    color: var(--primary);
    font-size: 4rem;
    font-weight: bold;
  }
  
  .profile p {
    font-weight: bold;
    font-size: 1.2rem;
  }
  
  .profile small {
    color: var(--muted);
  }
  
  /* GENERAL SECTIONS */
  .section {
    padding: 75px 24px;
    text-align: center;
  }
  
  .alternate {
    background: #101a2b;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 35px;
  }
  
  .about-card,
  .contact-card {
    max-width: 760px;
    margin: auto;
    padding: 30px;
    background: var(--surface);
    border: 1px solid #263349;
    border-radius: 16px;
    text-align: left;
  }
  
  .about-card p,
  .contact-card p {
    color: var(--muted);
    margin-bottom: 16px;
  }
  
  .contact-card {
    text-align: center;
  }
  
  .contact-card .btn {
    margin: 10px 0;
  }
  
  .contact-card .social {
    margin: 18px 0 0;
  }
  
  /* SKILLS AND ACADEMIC CARDS */
  .card-grid,
  .academic-grid {
    max-width: 1000px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  
  .card,
  .academic-card {
    padding: 26px 18px;
    background: var(--surface);
    border: 1px solid #263349;
    border-radius: 14px;
    transition: transform 0.3s, border-color 0.3s;
  }
  
  .card:hover,
  .academic-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
  }
  
  .card-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
  }
  
  .card h3,
  .academic-card h3 {
    margin-bottom: 10px;
  }
  
  .card p,
  .academic-card p {
    color: var(--muted);
    font-size: 0.92rem;
  }
  
  /* FOOTER */
  footer {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    border-top: 1px solid #263349;
  }
  
  /* MOBILE RESPONSIVENESS */
  @media (max-width: 760px) {
    .menu-btn {
      display: block;
    }
  
    .navbar {
      flex-wrap: wrap;
    }
  
    .nav-links {
      display: none;
      flex-direction: column;
      width: 100%;
      padding-top: 18px;
      gap: 12px;
    }
  
    .nav-links.open {
      display: flex;
    }
  
    .hero {
      flex-direction: column;
      text-align: center;
      padding-top: 55px;
    }
  
    .profile-circle {
      width: 160px;
      height: 160px;
    }
  
    .card-grid,
    .academic-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  
  @media (max-width: 420px) {
    .card-grid,
    .academic-grid {
      grid-template-columns: 1fr;
    }
  
    .section-title {
      font-size: 1.8rem;
    }
  }