
    body {
      background-color: #E6E6FA;
      /* Light shade of violet */
    }

    .w3-card-4 {
      background-color: #F8F8FF;
      /* GhostWhite for a lighter card background */
    }

    .w3-text-red,
    .w3-hover-opacity:hover {
      color: #f44336 !important;
      /* BlueViolet for text and hover effects */
    }

    .w3-light-grey {
      background-color: #E6E6FA;
      /* Matching the background */
    }

    .w3-text-theme {
      color: #8A2BE2 !important;
      /* BlueViolet for themed text */
    }

    .w3-container {
      color: #4B0082;
      /* Indigo for container text */
    }

    /* For skill bars */

    .skill-bar {
      position: relative;
      height: 24px;
      /* Adjust this value to change the height of the bars */
      min-width: 24px;
      /* Ensures very short bars are still visible */
    }

    .skill-text {
      position: absolute;
      left: 0;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      text-align: center;
      color: white;
      /* Default text color */
    }

    /* Ensure text is visible on very short bars */
    .skill-bar[style*="width:25%"] .skill-text,
    .skill-bar[style*="width:10%"] .skill-text {
      color: black;
      left: 100%;
      right: auto;
      white-space: nowrap;
    }

    /* For highlight effects */
    .highlight-container {
      transition: background-color 0.3s ease;
    }

    .emphasis-word {
      transition: all 0.3s ease;
      position: relative;
    }

    .highlight-container:hover .emphasis-word::before {
      content: "";
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      background-color: #8A2BE2;
      opacity: 0.2;
      z-index: -1;
      border-radius: 3px;
    }

    .highlight-container:hover .emphasis-word {
      color: black;
      /* Changed to black */
      font-weight: bold;
    }

    .w3-third img {
      width: 100%;
      height: auto;
    }

    /* Technology logos styling */
    .tech-section {
      margin-top: 15px;
      padding: 15px;
      background-color: #f8f9fa;
      border-radius: 8px;
      /* border-left: 4px solid #8A2BE2; */
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    }

    .tech-logos {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-top: 8px;
    }

    .tech-logo {
      height: 40px;
      width: auto;
      max-width: 80px;
      object-fit: contain;
      transition: all 0.3s ease;
      filter: grayscale(100%) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    .tech-logo:hover {
      transform: scale(1.2);
      filter: grayscale(100%) drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    }

    /* Color logos when parent highlight-container is hovered */
    .highlight-container:hover .tech-logo {
      filter: grayscale(0%) drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    }

    .highlight-container:hover .tech-logo:hover {
      transform: scale(1.2);
      filter: grayscale(0%) drop-shadow(0 4px 8px rgba(0,0,0,0.2));
    }

    .tech-text {
      font-size: 14px;
      font-weight: bold;
      margin-bottom: 8px;
      text-align: center;
      width: 100%;
      color: #8A2BE2;
      filter: grayscale(100%);
      transition: all 0.3s ease;
    }

    .highlight-container:hover .tech-text {
      filter: grayscale(0%);
    }

    /* Footer styling */
    .footer {
      background-color: #4B0082;
      color: white;
      text-align: center;
      padding: 20px;
      margin-top: 40px;
    }

    .disclaimer {
      font-size: 11px;
      opacity: 0.8;
      line-height: 1.4;
    }
    
    .icon-link {
        display: inline-block;
        margin: 5px 10px;
        position: relative;
        text-decoration: none;
        color: inherit;
    }
    
    .icon-link i {
        font-size: 24px;
        transition: transform 0.2s ease;
        color: inherit;
    }
    
    .icon-link:hover i {
        transform: scale(1.2);
        color: inherit;
    }
    
    .tooltip {
        visibility: hidden;
        opacity: 0;
        position: absolute;
        bottom: 125%;
        left: 50%;
        transform: translateX(-50%);
        background-color: #333;
        color: white;
        text-align: center;
        padding: 5px 8px;
        border-radius: 4px;
        font-size: 12px;
        white-space: nowrap;
        transition: opacity 0.3s;
        z-index: 1;
    }
    
    .tooltip::after {
        content: "";
        position: absolute;
        top: 100%;
        left: 50%;
        margin-left: -5px;
        border-width: 5px;
        border-style: solid;
        border-color: #333 transparent transparent transparent;
    }
    
    .icon-link:hover .tooltip {
        visibility: visible;
        opacity: 1;
    }

    /* Simple News Section Styling - Add this to your existing CSS */

    .loading-news {
        text-align: center;
        padding: 20px;
        color: #8A2BE2;
        font-style: italic;
    }

    /* Make sure the news section has relative positioning for the badge */
    #newsContainer .w3-container:first-child {
        position: relative;
    }

    /* Style for linked headlines */
    .w3-container a.w3-text-theme {
        transition: color 0.3s ease;
    }

    .w3-container a.w3-text-theme:hover {
        color: #9370DB !important;
        text-decoration: underline !important;
    }

    /* Styling for headline-only news items */
    .news-headline-only {
        padding: 8px 16px !important;
        transition: background-color 0.3s ease;
    }

    .news-headline-only h6 {
        margin: 0 0 5px 0 !important;
        font-size: 15px;
    }

    .news-headline-only p {
        margin: 0 !important;
    }