:root {
  --bs-font-sans-serif: 'Poppins', sans-serif;
}

body {
  font-family: 'Poppins', sans-serif !important;
}

/*.bg-darkred{background-color: rgba(184, 2, 2);}*/
.bg-darkred{background-color: #2173cd;}
.text-darkred{color: rgba(184, 2, 2) !important;}
.fs-7{font-size: 16px !important;}

.current-news-custom{
    background-color: rgb(0, 0, 0,0.6) !important;
    padding: 5px 0px;
    background-size: cover;
    background-image: url("https://i.pinimg.com/originals/94/c6/21/94c621cb041a939df0536eab50d14cae.jpg");    
    color: white;    
    text-shadow: 0px 0px 5px  #000000;
    place-content: center;
}

.current-news-custom:hover{
    background-image: url("../../assets/images/home-bg.jpeg");
    padding: 5px 0px;
    background-size: cover;
    color: white;
    text-shadow: 0px 0px 5px  #000000;
    place-content: center;
}

img.aboutusimghome{
    width: 100% !important;
}

.custom-gap{
    justify-content: space-between;
    gap: 10px;
}

/* Masonry image gallery styling */
.gallery-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .gallery-custom .images-custom {
    gap: 15px;
    max-width: 100%;
    margin: 40px 0;
    columns: 5 310px;
    list-style: none;
    padding-left: 0px !important;
  }

  .gallery-custom .images-custom .img-custom {
    display: flex;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    margin-bottom: 14px;
    border-radius: 4px;
  }
  .gallery-custom .images-custom img {
    width: 100%;
    transition: transform 0.2s ease;
  }
  
  .gallery-custom .images-custom .img-custom:hover img {
    transform: scale(1.1);
  }
  
  /* Image lightbox styling */
  .lightbox-custom {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    position: fixed;
    visibility: hidden;
    background: rgba(0,0,0,0.65);
  }
  .lightbox-custom.show {
    visibility: visible;
    z-index: 9999;
  }
  .lightbox-custom .wrapper-custom {
    position: fixed;
    left: 50%;
    top: 50%;
    width: 100%;
    padding: 20px;
    max-width: 850px;
    background: #fff;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.9);
    transition: transform 0.1s ease;
  }
  .lightbox-custom.show .wrapper-custom {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
  }
  .wrapper-custom :where(header, .details) {
    display: flex;
    align-items: center;
  }
  .wrapper-custom header {
    justify-content: space-between;
  }
  .details-custom i {
    font-size: 1.7rem;
  }
  .details-custom span {
    font-size: 1.2rem;
    margin-left: 10px;
  }
  .buttons-custom i {
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: inline-block;
    color: #fff;
    margin-left: 10px;
    background: #6C757D;
    font-size: 1.25rem;
    line-height: 40px;
    text-align: center;
    border-radius: 4px;
    transition: 0.2s ease;
  }
  .buttons-custom i:hover {
    background: #5f666d;
  }
  .wrapper-custom .preview-img-custom {
    display: flex;
    justify-content: center;
    margin-top: 25px;
  }
  .preview-img-custom .img-custom {
    max-height: 65vh;
  }
  .preview-img-custom img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  
  
  
/* Carousel Styles */
.owl-carousel {
  margin: 30px 0;
  padding: 20px 0;
  position: relative;
}

.card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 20px 10px;
  height: auto;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.card-image {
  height: 250px;
  overflow: hidden;
  position: relative;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.9);
}

.card:hover .card-image img {
  transform: scale(1.1);
  filter: brightness(1);
}

.card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #fff, #f8f9fa);
  position: relative;
  z-index: 1;
}

.card-content h2 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #2c3e50;
  font-weight: 600;
}

.card-content p {
  color: #7f8c8d;
  margin-bottom: 20px;
  flex-grow: 1;
}



/* Owl Carousel Custom Navigation */
.owl-nav button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: white !important;
  color: #2c3e50 !important;
  width: 50px;
  height: 50px;
  border-radius: 50% !important;
  font-size: 24px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.owl-nav button:hover {
  background: #3498db !important;
  color: white !important;
}

.owl-prev {
  left: -25px;
}

.owl-next {
  right: -25px;
}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #ddd;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

.owl-dots .owl-dot.active span {
  background: #3498db;
  width: 15px;
  height: 15px;
}

.owl-dots .owl-dot:hover span {
  background: #bbb;
}


/* Custom Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
  gap: 20px;
}

.custom-prev, .custom-next {
  background: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.custom-prev:hover, .custom-next:hover {
  background: #3498db;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.custom-dots {
  display: flex;
  gap: 8px;
}

.custom-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

  .custom-dot.active {
    background: #3498db;
    transform: scale(1.2);
  }
  
  .fsize{
        font-size: 1rem;
    }
  
  
  
  
  /* Responsive media query code */
  @media screen and (max-width: 688px) {
    .lightbox-custom .wrapper-custom {
      padding: 12px;
      max-width: calc(100% - 26px);
    }
    .wrapper-custom .preview-img-custom {
      margin-top: 15px;
    }
    .gallery-custom .images-custom {
      max-width: 100%;
      padding: 0px 0px;
      margin-top: 20px;
    }
    .fsize{
        font-size: 0.7rem;
    }
  }
  
  .hitech {
      display: flex;
    justify-content: left;
    align-items: baseline;
    flex-direction: row;
  }
  /* Responsive media query code */
  @media screen and (max-width: 1200px) {
    .hitech {  flex-direction: column;  }
    
  }

  .bg-custom{
    background: linear-gradient(rgba(0, 0, 0, 0.761), rgba(0, 0, 0, 0.613)), 
    url('https://theoxfordmagazine.com/wp-content/uploads/nuffield-college-oxford-01-1920x1080-1.jpg') no-repeat center center / cover !important;
  }

  .bg-custom-reg{
    background-image: linear-gradient(135deg,rgba(184, 2, 2)60%,rgba(255, 255, 255)40%);
  }

  .bg-custom-regco{
    background-image: linear-gradient(135deg,rgba(184, 2, 2, 0)0%,rgb(255, 166, 0)50%);
  }

  .bdcrp{
    background-image: url('../images/breadcrump.png') !important; background-size: 100% 100%; background-position: center; background-repeat: no-repeat;
  }

.faculty-card {
  border: 1px solid #ddd;
  border-radius: 5px;
  text-align: center;
  padding: 10px;
  margin: 5px;
  font-weight: 500;
}

.gallery img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  cursor: pointer;
}

/* Zoom CSS */
.zoom-container {
  overflow: hidden;
  cursor: zoom-in;
}

.zoom-container img {
  transition: transform 0.3s ease-in-out;
}

.zoom-container.zoomed img {
  transform: scale(2);
  cursor: zoom-out;
}
  

  /* Header Styles */
.faq-header {
    position: relative;
    height: 300px;
    background-color: #e6edf5;
    border-radius: 20px;
    margin-bottom: 3rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-text h1 {
    font-size: 150px;
    color: #4a86e8;
    font-weight: 700;
    letter-spacing: -2px;
    position: relative;
    z-index: 2;
}

.faq-illustration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('faq-illustration.svg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.9;
}

/* FAQ Section Styles */
.faq-section {
    padding: 2rem 0;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #333;
    font-size: 1.8rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.faq-toggle {
    color: #4a86e8;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background-color: #f9fafc;
}

.faq-item.active .faq-answer {
    padding: 1.2rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: #666;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-text h1 {
        font-size: 100px;
    }
    
    .faq-header {
        height: 200px;
    }
    
    .container {
        padding: 1rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .faq-text h1 {
        font-size: 70px;
    }
    
    .faq-header {
        height: 150px;
    }
    
    .faq-section h2 {
        font-size: 1.4rem;
    }
}