/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *




 */
 
body {
  font-family: 'Montserrat', sans-serif;
  font-display: swap;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
}

.jumbotron {
  border-radius: 10px;
}

.rule-text {
  font-weight: 700;
}

.text-purple {
  color: #6f42c1;
}


a {
  text-decoration: none;
  color: inherit; /* Ensures the text or elements inside do not change color */
}

a:hover .image-overlay {
  /* Any hover effects for the overlay can still be applied */
}


.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  text-align: center;
}

/* Apply font styles only to elements within the .navbar class */
.navbar {
  font-family: Arial, sans-serif;
  color: #333;
}




/* CSS for notifications */
.notification-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.notification {
  display: none;
  min-width: 200px;
  padding: 10px;
  margin-top: 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out; /* Increased duration for smoother transition */
  transform: translateY(20px);
}

.notification.show {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.notification.notice {
  background-color: #5cb85c; /* Green for success messages */
}

.notification.alert {
  background-color: #d9534f; /* Red for error messages */
}


  /* Timeline Styling */
  .timeline-container {
    position: relative;
    padding-left: 20px;
    border-left: 2px solid transparent;
  }

  .timeline-vertical {
    position: relative;
    padding-left: 30px;
  }

  .timeline-vertical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15px;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #f5a623, #e67e22, #d35400, #8e44ad, #2a2b5e);
    /*background: linear-gradient(to top, #2a2b5e, #5b2a6e, #8a345e, #b45b3b, #f5a623); */ /* Reversed gradient */
    /*background: linear-gradient(to bottom, #2a2b5e, #5b2a6e, #8a345e, #b45b3b, #f5a623);*/
    z-index: -1;
  }

  .timeline-item {
    position: relative;
    margin-bottom: 50px;
    cursor: pointer;
  }

  .timeline-marker {
    position: absolute;
    left: 0px;
    top: 15px; /* Adjusted for centering */
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: background-color 0.3s ease;
  }

  .timeline-info {
    margin-left: 30px;
  }

  .timeline-info h5 {
    margin-bottom: 5px;
    font-size: 1.1rem;
    color: #333;
  }

  .timeline-info p {
    margin: 0;
    font-size: 0.9rem;
  }

  .timeline-info small {
    font-size: 0.8rem;
    color: #666;
  }

  /* Modal-like Content */
  .timeline-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    max-width: 90%;
    padding: 20px;
    background-color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 8px;
  }

  .timeline-modal-content {
    text-align: left;
  }

  .timeline-modal h5 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #333;
  }

  .timeline-modal p {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
  }

  /* Animation for showing the modal */
  .timeline-modal.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }




  /* Basic project card styling */
  .project-card {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
  }

  .project-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    margin-right: 15px;
  }

  .brand-name {
    font-size: 1.25rem;
    color: #333;
    margin: 0;
  }

  .project-details {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
    font-size: 1rem;
    color: #555;
  }

  .project-details li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }

  .bullet-point {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ff5722; /* Bright color for the bullet points */
    margin-right: 10px;
  }


  /* Image Grid Styling */
  .project-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .row {
    display: flex;
    flex-wrap: wrap;
  }
  .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columns */
    grid-template-rows: repeat(5, 325px); /* 5 rows with a fixed height of 325px */
    gap: 20px; /* Space between images */
    justify-content: center; /* Centers the grid horizontally */
    padding-right: 20px;
  }


/* Media query for mobile devices */
@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column */
    grid-template-rows: repeat(10, 1fr); /* 10 rows */
  }
}


  .image-item {
    position: relative;
    width: 325px;
    height: 325px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #f5f5f5; 
  }

.project-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}


  .image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease;
  }

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 8px; /* Match the initial rounded corners */
  transition: opacity 0.3s ease, border-radius background-color 0.3s ease;
}

.image-item:hover {
  transform: scale(1.05); /* Slightly enlarge the image block */
  border-radius: 16px; /* Increase the corner rounding on hover */
}

.image-item:hover .project-image {
  transform: scale(1.1); /* Slightly move the image on hover */
}

.image-item:hover .image-overlay {
  border-radius: 16px; /* Match the increased rounded corners */
  background-color: transparent;
}
