/* 
  Global Styles
  -------------------------------------------------------------------------
*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Montserrat', sans-serif;
    color: #f5f5f5;
    background-color: #121212;
    line-height: 1.6;
  }
  
  /* Container Utilities */
  .container {
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
  }
  
  /* 
    Navbar
    -------------------------------------------------------------------------
  */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1f1f1f;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
  }
  
  .navbar__brand {
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    color: #f5f5f5;
  }
  
  .navbar__menu {
    display: flex;
    list-style-type: none;
  }
  
  .navbar__item {
    margin-left: 2rem;
  }
  
  .navbar__link {
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 600;
    transition: color 0.3s;
  }
  
  .navbar__link:hover {
    color: #3498db;
  }
  
  /* Hamburger Menu (Mobile) */
  .navbar__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
  }
  
  .bar {
    height: 3px;
    width: 25px;
    background-color: #f5f5f5;
    margin: 4px 0;
    transition: 0.4s;
  }
  
  /* 
    Hero Section
    -------------------------------------------------------------------------
  */
  .hero {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    /* Example gradient background for dark theme */
    background: linear-gradient(
      135deg,
      #1c1c1c,
      #2c2c2c
    );
    text-align: center;
    color: #f5f5f5;
    padding: 2rem;
  }
  
  .hero__content {
    display: flex;             /* Enables Flexbox */
    align-items: center;       /* Vertically centers items */
    justify-content: center; /* Aligns items to the left */
    gap: 20px;  
  }
  
  .hero__title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
  }
  
  .hero__title span {
    color: #0f3cf1; /* highlight color for your name */
  }
  
  .hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border: none;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .btn--primary {
    background-color: #3450db;
    color: #fff;
  }
  
  .btn--primary:hover {
    background-color: #217dbb;
  }
  
  .btn--outline {
    background-color: transparent;
    color: #345bdb;
    border: 2px solid #3447db;
    margin-right: 0.5rem;
    padding: 0.6rem 1.2rem;
  }
  
  .btn--outline:hover {
    background-color: #3498db;
    color: #fff;
  }
  
  /* 
    Sections (Projects, About, Contact)
    -------------------------------------------------------------------------
  */
  section {
    padding: 4rem 2rem;
    text-align: center;
  }
  
  .section__title {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .section__subtitle {
    color: #aaaaaa;
    margin-bottom: 3rem;
    font-weight: 400;
  }
  
  /* Projects Section */
  .projects__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    width: 90%;
    margin: 2rem auto 0 auto;
  }
  
  .project__card {
    background-color: #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    text-align: left;
    display: flex;
    flex-direction: column;
  }
  
  .project__img {
    width: 100%;
    height: auto;
    opacity: 0.9; /* subtle dim for dark theme */
  }
  
  .project__img:hover {
    opacity: 1;
    transition: opacity 0.3s;
  }
  
  .project__info {
    padding: 1rem;
  }
  
  .project__title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #f5f5f5;
  }
  
  .project__description {
    margin-bottom: 1rem;
    color: #cccccc;
  }
  
  /* About Section */
  .about__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .about__img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid #327cae;
  }
  
  .about__info {
    max-width: 500px;
    text-align: left;
    margin: 0 auto;
  }
  
  .about__info p {
    margin-bottom: 1rem;
    color: #dddddd;
  }
  
  /* Contact Section */
  .contact__form {
    max-width: 600px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact__form input,
  .contact__form textarea {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    background-color: #2c2c2c;
    color: #f5f5f5;
    border: 1px solid #444;
    border-radius: 4px;
    outline: none;
  }
  
  .contact__form input:focus,
  .contact__form textarea:focus {
    border-color: #3529b8;
  }
  
  .contact__form button {
    align-self: flex-start;
  }
  
  /* 
    Footer
    -------------------------------------------------------------------------
  */
  .footer {
    background-color: #1f1f1f;
    padding: 1rem;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    border-top: 1px solid #333;
  }
  
  /* 
    Fade-in Sections (for Intersection Observer)
    -------------------------------------------------------------------------
  */
  .fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  }
  
  .fade-in-section.is-visible {
    opacity: 1;
    transform: none;
  }
  
  /* 
    Media Queries
    -------------------------------------------------------------------------
  */
  @media (max-width: 768px) {
    .navbar__menu {
      position: absolute;
      top: 70px;
      right: 0;
      width: 200px;
      flex-direction: column;
      background-color: #2c2c2c;
      border: 1px solid #333;
      transform: translateX(100%);
      transition: transform 0.3s ease-in-out;
      box-shadow: 0 2px 6px rgba(0,0,0,0.5);
    }
  
    .navbar__menu.show {
      transform: translateX(0);
    }
  
    .navbar__item {
      margin: 1rem 0;
      text-align: center;
    }
  
    .navbar__toggle {
      display: flex;
    }
  
    /* Adjust hero title size for mobile */
    .hero__title {
      font-size: 2rem;
    }
  }

  .small-circle {
    width: 300px;            /* Desired width */
    height: 300px;           /* Equal height for a perfect circle */
    object-fit: cover;       /* Ensures the image fills the circle */
    border-radius: 70%;      /* Rounds the corners to create a circle */
    border: 3px solid #000000; /* Optional: adds a border */
    margin-right: 100px;
  }

  
  
  