/* Global Styles */
html, body {
    height: 100%;
    margin: 0;
    font-family: 'Public Sans', sans-serif;
    background: linear-gradient(45deg, #edfcd2, #ffefda);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /*background: url('/static/images/student-aesthetic-bg.svg') no-repeat center center fixed; /* Updated background image reference */
    background-size: cover; /* This ensures the image covers the entire background */
}


/* Navbar Styling */
.navbar {
    padding: 1rem;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
}

.navbar-nav .nav-link {
    color: #ffffff;
    padding: 5px 16px;
    transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #00008B ;
}

/* Multi-Level Dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0;
    background-color: white; /* Color for dropdown */
    border: none;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.dropdown-item {
    color: #333;
    transition: background-color 0.3s, color 0.3s;
}

.dropdown-item:hover {
    background-color: #7b7bff ;
    color: #ffd700;
}

/* Main Container */
.container {
    flex: 1;
    margin: auto;
    /*background: linear-gradient(to left, white, blue);*/
    border-radius: 10px;
    /* box-shadow: 0 8px 16px rgba(0, 0, 0.1, 0.1); */
}

/* Product Card */
.card {
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    overflow: hidden;
    margin-bottom: 20px; /* Add space between cards */
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-body {
    text-align: center;
}

.card-title {
    font-weight: bold;
}

.card-text {
    font-size: 0.9rem;
}

.card-footer {
    background-color: transparent;
    border-top: none;
}

/* General Button Styling */
.btn {
    padding: 10px 20px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

/* Button Primary Styling */
.btn-primary {
    background-color: #00008B;
    color: white; 
    border: none;
    font-weight: bold;
    text-transform: uppercase;
}

.btn-primary:hover {
    background-color: #FF5F15;
    color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .btn-primary {
        padding: 8px 16px; /* Smaller padding for better fit */
        font-size: 0.9rem; /* Reduced font size */
    }

    /* Make the navbar toggle button and other nav elements fit better */
    .navbar-nav .nav-link {
        padding: 10px 8px; /* Adjust padding for nav links */
        font-size: 0.95rem; /* Adjusted font size */
    }

    /* Adjust the dropdown menu for smaller screens */
    .dropdown-menu {
        width: 100%; /* Full width for easier interaction */
    }
}


/* Footer */
footer {
    text-align: center;
    padding-top: 20px;
    background: linear-gradient(45deg, #ffddbb, #91cfff);
    font-size: 14px;
}

footer a {
    color: #ffd700;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #ffbf00;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .navbar-nav {
        text-align: center; /* Center navbar items on medium screens */
    }
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.5rem; /* Adjust brand font size */
    }

    .navbar-nav .nav-link {
        padding: 8px 12px; /* Increase padding for touch targets */
    }

    .card-img-top {
        height: 150px; /* Reduce card image height on mobile */
    }

    .card {
        margin-bottom: 15px; /* Space between cards */
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 0.5rem; /* Reduce navbar padding on small screens */
    }

    .navbar-brand {
        font-size: 1.2rem; /* Smaller brand font size */
    }

    .navbar-nav .nav-link {
        font-size: 0.9rem; /* Smaller link font size */
    }

    .container {
        padding: 10px; /* Reduce container padding */
    }

    .card-img-top {
        height: 120px; /* Further reduce card image height */
    }

    .btn-primary {
        padding: 8px 16px; /* Adjust button padding for smaller screens */
    }
}

.main-container {
    color: white;
}

.sleek-button {
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #0ae23c;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
  }
  
  /* Single color sliding effect */
  .sleek-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff; /* The single color for the sliding effect */
    opacity: 0.2; /* Adjust opacity for the sliding color */
    transition: left 0.4s ease;
  }
  
  /* Hover effect */
  .sleek-button:hover::before {
    left: 100%;
  }
  
  .sleek-button:hover {
    background: #0D6EFD;
  }

  .sleek-button-2 {
    position: relative;
    display: inline-block;
    padding: 10px 30px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: #FF5F15;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    transition: background 0.3s ease;
  }

  /* Single color sliding effect */
  .sleek-button-2::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff; /* The single color for the sliding effect */
    opacity: 0.2; /* Adjust opacity for the sliding color */
    transition: left 0.4s ease;
  }
  
  /* Hover effect */
  .sleek-button-2:hover::before {
    left: 100%;
  }
  
  .sleek-button-2:hover {
    background: #0dfde9;
  }


  .sansi-orange {
    color: #FF5F15!important;
  }

  .search-bg {
    background: #ff5f15;
    color: white;
  }

  .carousel-cust {
    border-radius: 1em;
  }

  .search-bg:hover {
    background: #0ae23c;
    color: white;
  }

  .footer-ac-bg {
    background: linear-gradient(45deg,  #ffcc8d, #7d91ff);
  }

  .sear

  .detail-bg {
    background: linear-gradient(45deg,  #8dff98, #c698ff);
  }

  .nav-bg {
    background: linear-gradient(90deg, white, #00f);
  } 

  .brand-bg {
    background-color: white;
    box-shadow:0 0 20px 8px white;
    border-radius: 5px;
  }
  
  .detail-bg-2 {
    background: linear-gradient(45deg,  #fff28d, #ff98ea);
  }

  .admin-bg {
    background: linear-gradient(45deg,  #b7ffc7, #dbb9ff);
  }

  .add-card:hover {
    cursor: pointer;
  }
  
  .detail-bg-3 {
    background: linear-gradient(45deg,  #63c879, #a06ed4);
  }  
  
  .detail-bg-5 {
    background: linear-gradient(45deg,  #b7ffc7, #d3a9ff);
  }

  .workshop-item {
    background: rgb(150, 150, 188);
    border:2px solid lightblue;
  }

  .detail-bg-4 {
    background: radial-gradient(80% 40%,  #86c863, #6e89d4);
  }

  .sansi-orange-2 {
    color: #FF5F15!important;
    font-size: 18px;
  }

  .admin-card-1 {
    color: rgb(170, 130, 238);
  }

  .admin-card-btn-1 {
    background-color: rgb(170, 130, 238);
  }

  .admin-card-btn-1:hover {
    background-color: rgba(170, 130, 238, 0.649);
  }

  .item-cell:hover {
    background-color: #b765ff;
  }

  .admin-card-2 {
    color: rgb(181, 79, 114);
  }

  .admin-card-btn-2 {
    background-color: rgb(181, 79, 114);
  }

  .admin-card-btn-2:hover {
    background-color: rgba(181, 79, 114, 0.649);
  }

  .admin-card-3 {
    color: rgb(120, 0, 194);
  }

  .admin-card-btn-3 {
    background-color: rgb(120, 0, 194);
  }

  .admin-card-btn-3:hover {
    background-color: rgba(120, 0, 194, 0.649);
  }


  .desc-box {
    height: 70px;
  }

  .sansi-blue {
    color: #0D6EFD;
  }
  
  .sansi-bg-blue {
    background-color: #0D6EFD;
  }

  .hero-container {
    background: linear-gradient(45deg,  #cb6e11, #0088f0);
    color: white;
    padding: 4rem 2rem;
    border-radius: 10px;
    text-align: center;
  }
  
  .hero-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
  }
  
  .hero-container p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  
  .hero-container .btn-primary {
    background: #ff9456;
    border: none;
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    transition: background 0.3s ease, transform 0.3s ease;
  }
  
  .hero-container .btn-primary:hover {
    background: #ff9e4e;
    transform: translateY(-5px);
  }
  
  /* Gradient Card */
  /* Gradient Card */
.custom-card {
  background: linear-gradient(135deg, #6d87ed, #f09c00);
  border: none;
  color: white;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.8s ease, box-shadow 0.5s ease;
}

.custom-card:hover {
  transform: scale(1.5); /* Slight zoom effect */
  transition: transform 0.8s ease, box-shadow 0.7s ease;
  box-shadow: 4px 15px 25px rgba(0, 0, 0, 0.5);
}

/* Fade animation */
@keyframes fadeIn {
  0% {
      opacity: 0;
      transform: translateY(30px);
  }
  50% {
    opacity: 0.5;
    transform: translateY(15x);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

.featurette-2 {
  opacity: 0; /* Initially hidden */
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.featurette-2.visible {
  opacity: 1;
  transform: translateY(0);
}

  .custom-card .card-title {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .custom-card .card-text {
    font-size: 1rem;
  }

  .accordion-item {
    border: none;
  }

  .header-bg {
    background: linear-gradient(45deg, #ffddbb, #91cfff);
    background-color: #cb6e11!important;
  }

  .p-details {
    background: linear-gradient(45deg, #ffddbb, #91cfff);
  }

  .accordion-button:focus {
    z-index: none;
    border-color:transparent;
    box-shadow: none;
  }


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0; /* Space out the Bootstrap <hr> more */
  }
  
  /* Thin out the marketing headings */
  /* rtl:begin:remove */
  .featurette-heading {
    letter-spacing: -.05rem;
  }
  
  /* rtl:end:remove */
  
  /* RESPONSIVE CSS
  -------------------------------------------------- */
  
  @media (min-width: 40em) {
    /* Bump up size of carousel content */
    .carousel-caption p {
      margin-bottom: 1.25rem;
      font-size: 1.25rem;
      line-height: 1.4;
    }
  
    .featurette-heading {
      font-size: 50px;
    }
  }
  
  @media (min-width: 62em) {
    .featurette-heading {
      margin-top: 7rem;
    }
  }
  
  .bg-register {
    background-image: url('../images/register.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 100vh;
}

.p-tag {
    margin-bottom: 1px;
}


/* Featurettes
------------------------- */

.featurette-divider {
  margin: 5rem 0; /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
  letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
