/* Root colors */
:root {
    --teal: #008080;
    --dark-gray: #333333;
    --light-gray: #f5f5f5;
    --text-color: #222222;
    --hover-teal: #006666;
  }
  
  /* Reset & base */
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--light-gray);
    color: var(--text-color);
    line-height: 1.6;
    scroll-behavior: smooth;
  }
  
  .container {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
  }
  
  /* Header */
  .header {
    text-align: center;
    padding: 2.5rem 1rem 1rem;
  }
  
  .profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--teal);
    margin-bottom: 1rem;
  }
  
  .header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin: 0.3rem 0 0.2rem;
    color: var(--teal);
  }
  
  .header p {
    font-weight: 400;
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin: 0;
  }
  
  .section {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  
  .section.in-view {
    opacity: 1;
    transform: translateY(0);
  }
  
  
  
  /* About paragraph */
  #about p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: var(--dark-gray);
  }
  
  /* Timeline - Experience */
  .timeline {
    border-left: 3px solid var(--teal);
    padding-left: 1rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .timeline .item {
    margin-bottom: 1.8rem;
    position: relative;
  }
  
  .timeline .item h3 {
    margin: 0 0 0.2rem 0;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1.2rem;
  }
  
  .timeline .item span {
    font-size: 0.9rem;
    color: #555555;
    font-style: italic;
  }
  
  .timeline .item p {
    margin-top: 0.3rem;
    color: #444444;
    font-size: 1rem;
  }
  
  /* Skills list */
  .skills-list {
    list-style: none;
    padding: 0;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    justify-content: center;
  }
  
  .skills-list li {
    background-color: var(--teal);
    color: white;
    padding: 0.5rem 1.1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    user-select: none;
    box-shadow: 0 2px 6px rgb(0 128 128 / 0.3);
    transition: background-color 0.3s ease;
  }
  
  .skills-list li:hover {
    background-color: var(--hover-teal);
    cursor: default;
  }
  
  /* Contact form */
  .contact-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
  }
  
  .contact-form input,
  .contact-form textarea {
    font-family: inherit;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    border: 2px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    transition: border-color 0.3s ease;
  }
  
  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: var(--teal);
    outline: none;
  }
  
  .contact-form button {
    background-color: var(--teal);
    color: white;
    padding: 0.85rem;
    font-size: 1.15rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 3px 7px rgb(0 128 128 / 0.5);
    transition: background-color 0.3s ease;
  }
  
  .contact-form button:hover {
    background-color: var(--hover-teal);
  }
  
  /* Socials at bottom */
  #connect {
    text-align: center;
  }
  
  #connect h2 {
    margin-bottom: 1rem;
  }
  
  .socials {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
  }
  
  .socials a img {
    width: 32px;
    height: 32px;
    filter: grayscale(40%);
    transition: filter 0.3s ease, transform 0.3s ease;
  }
  
  .socials a:hover img {
    filter: none;
    transform: scale(1.2);
  }
  
  /* Footer */
  .footer {
    padding: 1.4rem 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #666666;
    border-top: 1px solid #ddd;
  }
  
  /* Responsive adjustments */
  @media (max-width: 768px) {
    .profile-img {
      width: 110px;
      height: 110px;
    }
  
    .header h1 {
      font-size: 2rem;
    }
  
    .skills-list {
      justify-content: center;
    }
  
    .timeline {
      padding-left: 0.6rem;
    }
  
    .section {
      margin-bottom: 2.5rem;
    }
  }
  