/* ===== Global Variables & Reset ===== */
:root {
    --primary-color: #3a86ff;
    --secondary-color: #8338ec;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --grey-bg: #f5f7fa;
    --danger-color: #ff006e;
    --success-color: #06d6a0;
    --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
  }
  
  body {
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
  }
  
  /* ===== Section Styles ===== */
  section {
    min-height: 100vh;
    padding: 10rem 9% 2rem;
  }
  
  .white-section {
    background-color: white;
  }
  
  .grey-section {
    background-color: var(--grey-bg);
  }
  
  /* ===== Common Elements ===== */
  h1, h2, h3, h4 {
    font-weight: 700;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  .btn {
    display: inline-block;
    padding: 1rem 2.8rem;
    background: var(--primary-color);
    border-radius: 4rem;
    box-shadow: 0 0 1rem var(--primary-color);
    font-size: 1.6rem;
    color: white;
    letter-spacing: 0.1rem;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
  }
  
  .btn:hover {
    box-shadow: none;
    transform: scale(1.05);
  }
  
  .heading {
    font-size: 4.5rem;
    text-align: center;
    margin-bottom: 5rem;
  }
  
  .heading span {
    color: var(--primary-color);
  }
  
  /* ===== Header & Navigation ===== */
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 9%;
    background: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    box-shadow: var(--box-shadow);
  }
  
  .header.sticky {
    background: white;
    box-shadow: var(--box-shadow);
  }
  
  .logo {
    font-size: 2.5rem;
    color: var(--dark-color);
    font-weight: 700;
    cursor: default;
  }
  
  .navbar {
    display: flex;
    gap: 3.5rem;
  }
  
  .navbar a {
    font-size: 1.7rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1rem;
  }
  
  .navbar a:hover,
  .navbar a.active {
    color: var(--primary-color);
  }
  
  .menu-toggle {
    display: none;
    font-size: 2.5rem;
    color: var(--dark-color);
    cursor: pointer;
    z-index: 101;
  }
  
  /* ===== Home Section ===== */
  .home {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
  }
  
  .home-content {
    max-width: 60rem;
    z-index: 3;
    text-align: center;
  }
  
  .home-content h3 {
    font-size: 3.2rem;
    font-weight: 700;
  }
  
  .home-content h1 {
    font-size: 5.6rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0.3rem 0;
  }
  
  .home-content h2 {
    font-size: 3.2rem;
    font-weight: 700;
    color: var(--primary-color);
  }
  
  .home-content p {
    font-size: 1.6rem;
    margin: 2rem 0 4rem;
  }
  
  /* ===== Social Media ===== */
  .social-media {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3rem 0;
  }
  
  .social-media a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: transparent;
    border: 0.2rem solid var(--primary-color);
    border-radius: 50%;
    font-size: 2.2rem;
    color: var(--primary-color);
    transition: var(--transition);
  }
  
  .social-media a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-0.3rem);
    box-shadow: var(--box-shadow);
  }
  
  /* ===== Download Button ===== */
  .download-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
  }
  
  .download-cv {
    padding: 1.2rem 3.5rem;
    font-size: 1.7rem;
    letter-spacing: 0.05rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
  }
  
  .download-cv i {
    font-size: 1.5rem;
  }
  
  /* ===== About Section ===== */
  .about-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
  }
  
  .about-img {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 30rem;
  }
  
  .circle-img {
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    overflow: hidden;
    border: 1rem solid var(--primary-color);
    box-shadow: 0 0 2rem var(--primary-color);
  }
  
  .circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .about-text {
    flex: 1;
    min-width: 30rem;
  }
  
  .about-text h3 {
    font-size: 2.6rem;
    margin-bottom: 2rem;
  }
  
  .about-text p {
    font-size: 1.6rem;
    margin-bottom: 3rem;
  }
  
  .info-box {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  
  .info-item {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
  
  .info-item span {
    font-weight: 600;
    color: var(--primary-color);
    display: inline-block;
    min-width: 10rem;
    margin-right: 0.5rem;
  }
  
  /* ===== Services Section ===== */
  .services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
  }
  
  .service-box {
    background: white;
    padding: 3rem 2rem 4rem;
    border-radius: 2rem;
    text-align: center;
    border: 0.2rem solid var(--light-color);
    transition: var(--transition);
    box-shadow: var(--box-shadow);
  }
  
  .grey-section .service-box {
    background: white;
  }
  
  .service-box:hover {
    border-color: var(--primary-color);
    transform: scale(1.02);
  }
  
  .service-box i {
    font-size: 7rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
  }
  
  .service-box h3 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
  }
  
  .service-box p {
    font-size: 1.6rem;
    margin: 0;
  }
  
  /* ===== Portfolio Section ===== */
  .portfolio-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
    gap: 3rem;
  }
  
  .portfolio-box {
    position: relative;
    border-radius: 2rem;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    height: 25rem;
  }
  
  .portfolio-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }
  
  .portfolio-box:hover img {
    transform: scale(1.1);
  }
  
  .portfolio-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.1), var(--primary-color));
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    padding: 0 4rem;
    transform: translateY(100%);
    transition: var(--transition);
  }
  
  .portfolio-box:hover .portfolio-layer {
    transform: translateY(0);
  }
  
  .portfolio-layer h4 {
    font-size: 2.5rem;
    color: white;
  }
  
  .portfolio-layer p {
    font-size: 1.6rem;
    margin: 0.3rem 0 1rem;
    color: white;
  }
  
  .portfolio-layer a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 5rem;
    height: 5rem;
    background: white;
    border-radius: 50%;
  }
  
  .portfolio-layer a i {
    font-size: 2rem;
    color: var(--dark-color);
  }
  
  /* ===== Contact Section ===== */
  .contact-form {
    max-width: 70rem;
    margin: 1rem auto;
    text-align: center;
  }
  
  .white-section .contact-form input,
  .white-section .contact-form textarea {
    background: var(--grey-bg);
    border: 0.1rem solid rgba(0, 0, 0, 0.05);
  }
  
  .contact-form .input-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  
  .contact-form .input-box input,
  .contact-form textarea {
    width: 100%;
    padding: 1.5rem;
    font-size: 1.6rem;
    color: var(--dark-color);
    border-radius: 0.8rem;
    margin: 0.7rem 0;
    border: 0.1rem solid rgba(0, 0, 0, 0.1);
  }
  
  .contact-form .input-box input {
    width: 49%;
  }
  
  .contact-form textarea {
    resize: none;
    min-height: 20rem;
  }
  
  /* ===== Footer ===== */
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 2rem 9%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .footer-text p {
    font-size: 1.6rem;
  }
  
  .footer-icon a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.8rem;
    background: var(--primary-color);
    border-radius: 0.8rem;
    transition: var(--transition);
  }
  
  .footer-icon a:hover {
    box-shadow: 0 0 1rem var(--primary-color);
  }
  
  .footer-icon a i {
    font-size: 2.4rem;
    color: white;
  }
  
  /* ===== Responsive Design ===== */
  @media (max-width: 1200px) {
    html {
      font-size: 55%;
    }
  }
  
  @media (max-width: 991px) {
    .header {
      padding: 2rem 3%;
    }
  
    section {
      padding: 10rem 3% 2rem;
    }
  
    .footer {
      padding: 2rem 3%;
    }
  }
  
  @media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .navbar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100vh;
      padding: 10rem 3% 0;
      background: white;
      box-shadow: var(--box-shadow);
      transition: 0.3s ease;
      flex-direction: column;
      gap: 3rem;
      z-index: 100;
    }
  
    .navbar.active {
      left: 0;
    }
  
    .home-content h1 {
      font-size: 4.5rem;
    }
  
    .home-content h2 {
      font-size: 2.8rem;
    }
  
    .about-content {
      flex-direction: column;
    }
  
    .about-img {
      margin-bottom: 4rem;
    }
  
    .contact-form .input-box input {
      width: 100%;
    }
  
    .circle-img {
      width: 25rem;
      height: 25rem;
    }
  }
  
  @media (max-width: 600px) {
    .home-content h1 {
      font-size: 4rem;
    }
  
    .home-content h3 {
      font-size: 2.4rem;
    }
  
    .heading {
      font-size: 3.5rem;
    }
  
    .info-box {
      grid-template-columns: 1fr;
    }
  
    .footer {
      flex-direction: column;
      gap: 2rem;
      text-align: center;
    }
  }
  
  @media (max-width: 450px) {
    html {
      font-size: 50%;
    }
  
    .home-content h1 {
      font-size: 3.5rem;
    }
  
    .circle-img {
      width: 20rem;
      height: 20rem;
    }
  
    .portfolio-box {
      height: 20rem;
    }
  }
  
  @media (max-width: 350px) {
    .home-content h1 {
      font-size: 3rem;
    }
  
    .home-content h2 {
      font-size: 2.2rem;
    }
  
    .circle-img {
      width: 18rem;
      height: 18rem;
    }
  }