body {
     background-image: url('/template_resource/img/background.jpg');
     background-size: cover;
     background-position: center;
     background-attachment: fixed;
     color: #333;
     font-family: 'Roboto Condensed', sans-serif;
     min-height: 100vh;
     position: relative;
 }

 body::before {
     content: '';
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: rgba(255, 255, 255, 0.6);
     z-index: 0;
 }

 .site-wrapper {
     position: relative;
     z-index: 1;
     min-height: 100vh;
     display: flex;
     flex-direction: column;
 }

 .header {
     background-color: rgba(255, 255, 255, 0.9);
     padding: 20px 0;
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     border-bottom: 1px solid rgba(0,0,0,0.1);
 }

 .navbar {
     background-color: #f8f9fa;
     backdrop-filter: blur(5px);
     -webkit-backdrop-filter: blur(5px);
     box-shadow: 0 2px 4px rgba(0,0,0,0.1);
 }

 .navbar .nav-link {
     color: #333 !important;
     text-transform: uppercase;
     font-size: 0.9rem;
     letter-spacing: 1px;
     padding: 1rem 1.5rem;
     transition: all 0.3s ease;
 }

 .navbar .nav-link:hover {
     color: #0077b5 !important;
     background-color: rgba(0,0,0,0.05);
 }

 .linkedin-icon {
     font-size: 1.5rem;
     color: #0077b5;
     transition: color 0.3s ease;
 }

 .linkedin-icon:hover {
     color: #005582;
 }

 .content-area {
     flex: 1;
     padding: 2rem 0;
 }

 .category-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 1.5rem;
     padding: 1rem;
 }

 .category-card {
     position: relative;
     height: 200px;
     width: 300px; 
     border-radius: 8px;
     overflow: hidden;
     cursor: pointer;
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     background-color: #fff;
     box-shadow: 0 4px 6px rgba(0,0,0,0.1);
     margin: 10px auto;
 }

 .category-card a { text-decoration: none; color: #333}

 .category-card::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgba(255, 255, 255, 0.9);
     transition: background-color 0.3s ease;
 }

 .category-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0,0,0,0.15);
 }

 .category-card:hover::before {
     background-color: rgba(255, 255, 255, 0.5);
 }

 .category-content {
     position: relative;
     z-index: 2;
     height: 100%;
     padding: 1.5rem;
     display: flex;
     flex-direction: column;
     justify-content: center;
     align-items: center;
     text-align: center;
     background-color: rgba(255, 255, 255, 0.9);
     transition: background-color 0.3s ease;
 }

 .category-card:hover .category-content {
     background-color: rgba(255, 255, 255, 0.7);
 }

 .category-title {
     font-size: 1.5rem;
     font-weight: 700;
     margin-bottom: 0.5rem;
     text-transform: uppercase;
     letter-spacing: 1px;
     color: #333;
 }

 .category-icon {
     font-size: 2.5rem;
     margin-bottom: 1rem;
     transition: transform 0.3s ease;
     color: #0077b5;
 }

 .category-card:hover .category-icon {
     transform: scale(1.2);
 }

 /* Category-specific background images */
 .category-code {
    background-image: url('/template_resource/img/bfg.png');
     background-size: cover;
     background-position: center;
 }

 .category-hand-rock {
     background-image: url('/template_resource/img/fcs.png');
     background-size: cover;
     background-position: center;
 }

 .category-heartbeat {
     background-image: url('/template_resource/img/peak.png');
     background-size: cover;
     background-position: center;
 }

 .category-web {
     background-image: url('/template_resource/img/bfg.png');
     background-size: cover;
     background-position: center;
 }

 .recent-posts, .main-content {
    position:relative;
     background-color: rgba(255, 255, 255, 0.9);
     backdrop-filter: blur(10px);
     -webkit-backdrop-filter: blur(10px);
     padding: 2rem;
     border-radius: 8px;
     margin-bottom: 2rem;
     box-shadow: 0 4px 6px rgba(0,0,0,0.1);
 }

 .recent-posts h3 {
     color: #333;
     border-bottom: 2px solid rgba(0,0,0,0.1);
     padding-bottom: 0.5rem;
     margin-bottom: 1rem;
 }

 .recent-posts a {
     color: #0077b5;
     text-decoration: none;
     transition: color 0.3s ease;
 }

 .recent-posts a:hover {
     color: #005582;
 }

 .back { 
    position:absolute; 
    top: 10px;
    right: 10px;

 }

 @media (max-width: 768px) {
     .header h1 {
         font-size: 1.5rem;
     }
     .header h2 {
         font-size: 1rem;
     }
     .category-grid {
         grid-template-columns: 1fr;
     }
 }