 * {
      box-sizing: border-box;
    }

    body {
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0;
      min-height: 100vh;
      background-color: #00000079;
      padding: 10px;
    }

    .container {
      border: 1px solid black;
      background-color: white;
      min-height: auto;
      width: 100%;
      max-width: 210mm;
    }

    .buttonContainer {
      position: fixed;
      top: 20px;
      right: 20px;
      z-index: 1000;
    }

    .print-button {
      padding: 10px 20px;
      background-color: rgb(44, 29, 121);
      border: 2px solid;
      border-radius: 5px;
      color: white;
      cursor: pointer;
      font-size: 14px;
      font-weight: bold;
    }

    .print-button:hover {
      background-color: rgb(34, 19, 91);
    }

    .header {
      background: linear-gradient(50deg, #0f0fc7d8 0%, #201e22 100%);
      margin: 20px;
      text-align: center;
      position: relative;
      border-bottom: 2px solid #000000;
    }

    .header h1 {
      padding-top: 30px;
      color: white;
      font-size: 1.8em;
      margin: 0;
      padding-bottom: 10px;
    }

    .contact-info {
      padding: 5px;
      color: white;
      font-size: 0.85em;
    }

    .contact-info p {
      margin: 5px 0;
     
      
    }

    .img-container {
      position: relative;
      top: 30px;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .cv-img-wrapper {
      width: 150px;
      height: 150px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid white;
      background-color: #9c9fa1;
      flex-shrink: 0;
    }

    .cv-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .professional-summary {
      display: flex;
      background-color: white;
      margin: 20px;
      margin-top: -19px;
      border-bottom: 1px solid black;
      flex-direction: column;
      padding: 20px;
    }

    .professional-summary p {
      font-size: 0.95em;
      line-height: 1.6;
    }

    .content {
      background-color: white;
      margin: 20px;
      margin-top: -20px;
      padding: 20px;
      display: block;
      gap: 20px;
    }

    .section {
      margin: 20px 0;
    }

    .section-title {
      color: #2c3e50;
      font-size: 1.2em;
      margin-bottom: 10px;
    }

    hr {
      border: none;
      border-top: 2px solid #3498db;
      margin-bottom: 15px;
    }

    .skills-grid {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    .skill-item {
      padding: 10px;
      background: #f8f9fa;
      border-left: 3px solid #3498db;
      font-size: 0.9em;
    }

    .skill-item strong {
      display: block;
      color: #2c3e50;
      margin-bottom: 5px;
    }

    .education-item, .experience-item {
      margin-bottom: 20px;
    }

    .education-item h3, .experience-item h3 {
      color: #2c3e50;
      margin-bottom: 5px;
      font-size: 1em;
    }

    .education-date, .experience-meta {
      color: #666;
      font-style: italic;
      margin-bottom: 10px;
      font-size: 0.9em;
    }

    .experience-item ul {
      margin-left: 20px;
      margin-top: 10px;
    }

    .experience-item li {
      margin-bottom: 8px;
      font-size: 0.9em;
    }

    .section ul {
      margin-left: 20px;
      margin-top: 10px;
    }

    .section li {
      margin-bottom: 8px;
      font-size: 0.9em;
    }

    /* TABLET AND DESKTOP */
    @media (min-width: 768px) {
      body {
        padding: 20px;
      }

      .header h1 {
        font-size: 2.2em;
      }

      .content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
      }

      .section-title {
        font-size: 1.3em;
      }
    }

    /* PRINT STYLES */
    @media print {
      @page {
        size: A4 portrait;
        margin: 7mm;
      }

      body {
        margin: 0;
        padding: 0;
        background: white;
      }

      .buttonContainer {
        display: none !important;
      }

      .container {
        border: none;
        box-shadow: none;
        margin: 0;
        max-width: 100%;
        width: 100%;
      }

      .experience-item {margin-top: 10% !important;}

      .skills-grid{
        gap: 20px;
      }

      .header {
        background: linear-gradient(50deg, #0f0fc7d8 0%, #201e22 100%) !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
      }

      .content {
        display: grid;
        grid-template-columns: 1fr 1fr;
      }
    }