/* Import Montserrat font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600&display=swap');

body {
    background-color: #0f0f0f;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Navbar */
.navbar {
    background: #000;
    padding: 10px 5px;
    border-radius: 50px;
    display: flex;
    position: sticky;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.navbar a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: 0.3s;
}

/* Hover effect */
.navbar li:hover a {
    transform: scale(0.8);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/* Optional: Add a tooltip effect */
.navbar li::after {
    content: attr(data-title);
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

.navbar li:hover::after {
    opacity: 1;
}
/* General Styles */
body {
    text-align: center;
    margin: 0;
}

/* Work Section */
.work-section {
    padding: 160px 20px;
}

/* Work Label (Centered) */
.work-label {
    display: inline-block;
    background-color: #1a1a1a;
    color: white;
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 12px;
    text-transform: uppercase;
    margin: 0 auto;
}

/* Heading */
.work-heading {
    font-size: 48px;
    font-weight: bold;
    margin: 20px 0;
    line-height: 1.2;
}

/* Work Item (Image and Text Box) */
.work-item {
    background-color: #111;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centers all content */
    max-width: 600px;
    width: 90%;
    margin: 20px auto;
}
.work-item a{
    color: #fff;
    text-decoration: none;
}
.work-item:hover img {
    filter: grayscale(100%);
}

.work-item img {
    width: 100%;
    border-radius: 12px;
    transition: filter 0.3s ease-in-out;
}
/* Video Styling */
.work-item video {
    width: 100%;
    height: 400px; /* Fixed height */
    border-radius: 12px;
    object-fit: cover;
}
.work-title {
    margin-top: 10px;
    font-size: 18px;
    font-weight: bold;
}

/* Work Category (Centered) */
.work-category {
    display: inline-block;
    background-color: #222;
    padding: 4px 10px;
    font-size: 14px;
    border-radius: 10px;
    margin-top: 10px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .work-heading {
        font-size: 36px;
    }
    .work-item {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .work-heading {
        font-size: 28px;
    }
    .work-label {
        font-size: 12px;
        padding: 4px 10px;
    }
}

footer {
    background-color: #0f0f0f;
    color: white;
    padding: 20px;
    text-align: center;
  }
  .footer-container {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    border-top: 1px solid white;

  }
  .footer-section h4 {
    font-weight: bold;
  }
  .footer-section ul {
    a {
        color: white; /* Change this to any color you want */
        text-decoration: none; /* Removes the underline */
    }
    
    a:hover {
        color: gray; /* Change this to the hover color you prefer */
    }
    
    list-style: none;
    padding: 0;
  }
  .footer-section ul li {
    margin: 5px 0;
    font-weight: 800;
    text-align: left;
  }
  .footer-section ul li a {
    color: white;
    text-decoration: none;
  }
  .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    max-width: 1000px;
    margin: auto;
    border-top: 1px solid white;
  }
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
    .footer-bottom {
      flex-direction: column;
      text-align: center;
    }
  }