/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    font-family: 'Cabinet Grotesk', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  * {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    scroll-behavior: smooth;
  }
  
  body {
    
    padding: 0;
    margin: 0;
    font-family: 'Cabinet Grotesk', sans-serif;
    line-height: 1.6;
    background-color: #f7f7f7;
    color: #333333;
  }
  
  nav {
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
      rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    z-index: 1;
  }
  nav .logo {
    
    display: flex;
    align-items: center;
  }
  nav .logo img {
    height: 50px;
    width: auto;
    margin-right: 10px;
  }
  
  
  nav .logo h1 {
    font-size: 1.1rem;
    background: linear-gradient(to right, #b927fc 0%, #2c64fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  nav ul {
    list-style: none;
    display: flex;
  }
  nav ul li {
    margin-left: 1.5rem;
  }
  nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 95%;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 5px;
  }
  
  nav ul li a:hover {
    background-color: #DC143C;
    color: #fff;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
  }
  
  .hamburger .line {
    width: 25px;
    height: 1px;
    background-color: #DC143C;
    display: block;
    margin: 7px auto;
    transition: all 0.3s ease-in-out;
  }
  .hamburger-active {
    transition: all 0.3s ease-in-out;
    transition-delay: 0.6s;
    transform: rotate(45deg);
  }
  
  .hamburger-active .line:nth-child(2) {
    width: 0px;
  }
  
  .hamburger-active .line:nth-child(1),
  .hamburger-active .line:nth-child(3) {
    transition-delay: 0.3s;
  }
  
  .hamburger-active .line:nth-child(1) {
    transform: translateY(12px);
  }
  
  .hamburger-active .line:nth-child(3) {
    transform: translateY(-5px) rotate(90deg);
  }
  
  .menubar {
    position: absolute;
    top: 0;
    left: -60%;
    font-family: 'Cabinet Grotesk', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 60%;
    height: 100vh;
    padding: 20% 0;
    background: rgba(255, 255, 255);
    transition: all 0.5s ease-in;
    z-index: 2;
  }
  .active {
    left: 0;
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  }
  
  .menubar ul {
    padding: 0;
    list-style: none;
  }
  .menubar ul li {
    margin-bottom: 32px;
  }
  
  .menubar ul li a {
    text-decoration: none;
    color: #000;
    font-size: 95%;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 5px;
  }
  
  .menubar ul li a:hover {
    background-color: #DC143C;
    color: #fff;
  }
  @media screen and (max-width: 790px) {
    .hamburger {
      display: block;
    }
    nav ul {
      display: none;
    }
  }
  
  /* General Styling */
  body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    /* background-color: #f4f4f4; */
  }
  
  /* Navbar Styling (Consistent with Provided Navbar Styles) */
  nav {
    padding: 5px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  
    z-index: 10; /* Ensure the navbar stays above the slider */
     background: rgba(255, 255, 255, 0.9); 
    position: fixed;
    width: 100%;
    top: 0;
  }
  
  nav .logo h1 {
    font-size: 1.1rem;
    background: linear-gradient(to right, #b927fc 0%, #2c64fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  nav ul li a:hover {
    background-color: #DC143C;
    color: #fff;
  }
  
  /* Header */
header {
    margin: 60px;
    text-align: center;
    padding: 20px;
    
    color: #DC143C;
  }
  
  header h1 {
    margin-top: auto;
    margin: 0;
  }
  
  /* Gallery */
  .gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
  }
  
     /* Card styling */
  .card {
    display: inline-block;
    margin: 10px;
    cursor: pointer;
  }
  .card img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
  }
  .card:hover img {
    transform: scale(1.05);
  }

  /* Pop-out styling */
  .pop-out {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    max-width: auto ;
    max-height: auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px solid dc143c;
    background-color: white;
    overflow: hidden;
  }
  .pop-out img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
  }
  .details {
    padding: 10px;
  }
  
  .details .title {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
  }
  
  .details .date {
    color: #666;
    font-size: 14px;
    margin: 5px 0 0;
  }
  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
  }
  
  .modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .modal-content img {
    max-width: 50%;
    max-height: 50%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s ease;
  }
  
  .nav-button_left{
    
   color: #DC143C;
   background-color: white;
   size: 10px  ;
  
    
  }
  /* Add close button */
  .modal-content::after {
  position: absolute;
    top: 10px;
    right: 10px;
    color: #DC143C;
    
    padding: 5px 10px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
  }
  
  .close-modal{
    color: #DA1F27;
    position: absolute ;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
  }
  
  /* Scroll Animation */
  .gallery {
    animation: fadeIn 1s ease-in-out;
  }
  
  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  

















/* Footer Styles */
footer {
    /* position: relative; */
    background: rgb(57,96,53);
    background: linear-gradient(0deg, rgba(57,96,53,1) 0%, rgba(218,31,39,1) 100%);
    color: #fff;
    text-align: center;
    padding: 20px 10px;
    border-top: 7px solid #DA1F27;
    border-radius: 5px 5px 0 0;
  }
  
  .footer-container {
    /* display: flex;
    flex-wrap: wrap; */
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }
  
  .footer-section {
    flex: 1;
    min-width: 250px;
    padding: 10px;
  }
  
  .footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section a {
    display: inline-flex;
    gap: 50px;
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
  
  .footer-section a:hover {
    color: #DC143C;
  }
  
  /* Responsive Footer */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      text-align: center;
    }
    .footer-section {
      text-align: center;
      padding: 20px 0;
    }
  }
  