  /* Card Details Page Styles */

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial;
    background: #002c40;
    color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
  }

  /* Header */
  .detail-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 44, 64, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .detail-nav {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo { 
    display: flex; 
    align-items: center; 
    font-weight: 700; 
    letter-spacing: 1.6px; 
    color: #ffffff; 
    font-size: 1.05rem; 
  }

  .logo img { 
    height: 40px; 
    width: 40px;
    border-radius: 50%;
    border: 2px solid #04e3b2;
    object-fit: cover;
    margin-right: 12px; 
  }

  .back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #04e3b2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }

  .back-btn svg {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
  }

  .back-btn:hover {
    gap: 12px;
  }

  .back-btn:hover svg {
    transform: translateX(-4px);
  }

  /* Hero Section */
  .detail-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    margin-top: 70px;
    overflow: hidden;
  }

  .detail-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  .detail-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 44, 64, 0.3) 0%, rgba(0, 44, 64, 0.9) 100%);
  }

  .detail-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 60px;
  }

  .detail-category {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #04e3b2;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.2s;
  }

  .detail-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 800px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards 0.4s;
  }

  @keyframes fadeInUp {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Project Info Section */
  .project-info {
    padding: 100px 40px;
    background: #002c40;
  }

  .project-info-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
  }

  /* Main Content */
  .project-main {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }

  .content-block {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
  }

  .content-block:nth-child(1) { animation-delay: 0.1s; }
  .content-block:nth-child(2) { animation-delay: 0.2s; }
  .content-block:nth-child(3) { animation-delay: 0.3s; }
  .content-block:nth-child(4) { animation-delay: 0.4s; }
  .content-block:nth-child(5) { animation-delay: 0.5s; }

  .block-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #04e3b2;
  }

  .block-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    white-space: pre-line;
  }

  /* Detail Gallery */
  .detail-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
  }

  .detail-gallery img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
    cursor: pointer;
  }

  .detail-gallery img:hover {
    transform: scale(1.05);
  }

  /* Video Container in Gallery */
  .video-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    /* background: #000; */
  }

  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
  }

  /* Sidebar */
  .project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .sidebar-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
  }

  .sidebar-card:nth-child(1) { animation-delay: 0.2s; }
  .sidebar-card:nth-child(2) { animation-delay: 0.3s; }

  .sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #fff;
  }

  /* Services List */
  .services-list {
    list-style: none;
  }

  .services-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
  }

  .services-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #04e3b2;
    font-weight: 700;
    font-size: 1.1rem;
  }

  /* CTA Card */
  .sidebar-cta {
    background: linear-gradient(135deg, rgba(4, 227, 178, 0.1) 0%, rgba(4, 227, 178, 0.05) 100%);
    border-color: rgba(4, 227, 178, 0.3);
  }

  .sidebar-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    font-size: 0.95rem;
  }

  .cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: #04e3b2;
    color: #002c40;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
  }

  .cta-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
  }

  .cta-btn:hover {
    background: #00b88f;
    gap: 14px;
  }

  .cta-btn:hover svg {
    transform: translateX(4px);
  }

  /* Related Projects */
  .related-projects {
    padding: 80px 40px;
    background: #001a28;
  }

  .related-container {
    max-width: 1400px;
    margin: 0 auto;
  }

  .related-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #fff;
  }

  .related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .related-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
  }

  .related-card:hover {
    transform: translateY(-8px);
    border-color: rgba(4, 227, 178, 0.3);
  }

  .related-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
  }

  .related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .related-card:hover .related-card-image img {
    transform: scale(1.1);
  }

  .related-card-content {
    padding: 20px;
  }

  .related-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #fff;
  }

  .related-card-category {
    font-size: 0.85rem;
    color: #04e3b2;
    font-weight: 600;
  }

  /* Footer */
  .detail-footer {
    background: #001520;
    padding: 30px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
  }

  .footer-content p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
  }

  /* Responsive */
  @media (max-width: 1024px) {
    .project-info-container {
      grid-template-columns: 1fr;
    }

    .project-sidebar {
      order: -1;
    }

    .related-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 768px) {
    .detail-nav {
      padding: 15px 20px;
    }

    .detail-hero {
      height: 50vh;
      min-height: 400px;
    }

    .detail-hero-content {
      padding: 0 20px 40px;
    }

    .detail-title {
      font-size: 2.5rem;
    }

    .project-info {
      padding: 60px 20px;
    }

    .detail-gallery {
      grid-template-columns: 1fr;
    }

    .related-grid {
      grid-template-columns: 1fr;
    }

    .related-projects {
      padding: 60px 20px;
    }
  }

  @media (max-width: 480px) {
    .detail-title {
      font-size: 2rem;
    }

    .block-title {
      font-size: 1.5rem;
    }

    .block-text {
      font-size: 1rem;
    }
  }
