.section-title p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #000;
    margin-bottom: 30px;
    font-family: "Open Sans", sans-serif;
}

.button-primary,
.button-secondary {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
    display: inline-block;
    margin-left: 10px;
}

.button-primary {
    background-color: #b71a34;
    color: #ffc107;;
   box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
    min-width: 140px;
    text-align: center;
}

.button-primary:hover {
    background-color: #a5152f;
}

.button-secondary {
    border: 2px solid #b71a34;
    color: #ffc107;
    background-color: transparent;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
    background-color: rgb(183, 26, 52);

}

.button-secondary:hover {
    background-color: #b71a34;
    color: white;
    border-color: #b71a34;
}

.latest-updates-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: "Merriweather";
    display: flex;
    align-items: center;
    background:#b71a34;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #b71a34;
    gap: 0.5rem;
}

.post-list-style4 {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}
.post-list-image{
  width: 300px;
}
.post-list-image img {
    width: 100%;

    border-radius: 8px;
}

.post-list-content {
    flex: 1;
}

.entry-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.entry-cat a {
    
    font-weight: 900;
}

.btn-read-more {
    font-weight: 600;
    color: #000;
    text-decoration: none;
}

.widget-categories-limited {
  
    flex-wrap: wrap;
    
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    
    
}

.category-item img {
    width: 100%;
    border-radius: 6px;
}

.category-item .title {
    margin-top: 2px;
    font-weight: 600;
    text-align: center;
    font-size: 19px;
    line-height: 2rem;
    font-family: "Merriweather";
}

@media (max-width: 768px) {
    .post-list-style4 {
        flex-direction: column;
    }

    .post-list-image img {
        width: 100%;
    }

    .category-item {
        width: 100%;
    }
    /* Google Font: Merriweather */


/* Main container */
.regulatory-box {
  max-width: 400px;
  margin: 0 auto;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
  transition: box-shadow 0.3s ease;
}

.regulatory-box:hover {
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
}

/* Header */
.box-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
}

.box-icon {
  height: 28px;
  width: 75px;
  color: #b71a34;
  margin-right: 12px;
}

.box-title {
  font-weight: 700;
  font-size: 1.875rem; /* 30px */
  line-height: 2.25rem;
  
  color: #b71a34;
  margin: 0;
}

/* Description */
.box-description {
  margin-bottom: 32px;
  color: #4b5563;
  line-height: 1.6;
  font-size: 16px;
  font-family: sans-serif;
}

/* CTA Button */
.box-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: #b71a34;
  color: #fff;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.box-cta:hover {
  background-color: #a3142d;
}

.cta-icon {
  height: 20px;
  width: 20px;
  margin-left: 8px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

}
.container {
    max-width: 1550px;
    margin: 0px auto;
    padding: 0 0px;
  
}
  

  .about-section {
    background: #fff;
    padding: 50px 60px;
    border-radius: 16px;
    line-height: 1.8;
    
  }

    .about-hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;

   max-width: 1550px;
    margin: auto;
  }

  .about-hero-section {
    background-color: #fff;
    padding: 10px;
    border-radius: 12px;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
    line-height: 1.8;
   
  }

  .about-hero-section.light-bg {
    background-color: #fff;
  }

 .about-hero-section h2 {
    font-size: 21px;
    color: #b71a34;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: linear-gradient(to right, #eeeeee 0%, #ffffff 100%);
}

  .about-hero-section ul {
    padding-left: 20px;
    margin-top: 10px;
  }

  .about-hero-section ul li {
    margin-bottom: 10px;
  }

  @media (min-width: 768px) {
    .about-hero-wrapper {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: space-between;
   
    }

    .about-hero-section {
      flex: 1 1 30%;
      min-width: 300px;
    }
  
  .events-section {
    background-color: #fff;
    padding: 64px 24px;
    font-family: "Segoe UI", sans-serif;
  }

  .events-container {
   max-width: 1550px;;
    margin: auto;
  }


  .events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
  }

  @media (min-width: 640px) {
    .events-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (min-width: 1024px) {
    .events-grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }

  .event-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    margin-top: 20px;
  }

  .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.15);
  }

  .event-image {
    width: 100%;
    height: 224px;
    object-fit: cover;
  }

  .event-placeholder {
    width: 100%;
    height: 224px;
    background-color: #e5e5e5;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: italic;
    font-size: 0.9rem;
  }

  .event-content {
    padding: 24px;
  }

  .event-category {
    display: inline-block;
    background-color: #f8dada;
    color: #b71a34;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 12px;
  }

  .event-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.4;
    max-height: 3.6em;
    font-family: 'Merriweather';
   
  }

  .event-info {
    font-size: 0.95rem;
    color: #000;
    margin-bottom: 4px;
  }

  .event-link {
    display: inline-block;
    background-color: #b71a34;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 16px;
    border-radius: 4px;
    margin-top: 12px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }

  .event-link:hover {
    background-color: #8a1226;
  }

  .no-events {
    text-align: center;
    font-style: italic;
    color: #777;
    font-size: 1rem;
    padding: 24px;
  }
    .tab { padding:12px 30px; border:1px solid #ccc;  background:#fff; cursor:pointer; font-weight:600; }
  .tab-active { background:#b71a34; color:#fff; border-color:#b71a34; }
  .form-card { background:#fff; padding:40px; border-radius:16px; box-shadow:0 3px 10px rgba(0,0,0,0.1); }
  .form-title { color:#b71a34; font-weight:700; margin-bottom:20px; }
  .form-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(250px,1fr)); gap:20px; margin-bottom:20px; }
  input, textarea { width:100%; padding:10px; border:1px solid #ccc; border-radius:6px; }
  textarea { min-height:120px; }
  .btn-submit { background:#b71a34; color:#fff; padding:12px; border:none; border-radius:8px; cursor:pointer; font-size:1rem; }
  .btn-submit:hover { background:#93152b; }
  .captcha-box { background:#eee; padding:10px 15px; border-radius:6px; font-weight:700; letter-spacing:2px; }
  .captcha-error { display:none; color:red; font-size:0.9rem; }
  .refresh-btn { border:none; background:#b71a34; color:#fff; border-radius:6px; padding:6px 10px; cursor:pointer; }

  }
/* ========== TEAM SECTION STYLES ========== */
/* ====== TEAM SECTION RESPONSIVE ===== */
.team-section {
  padding: 25px 0;
}

/* ====== GRID LAYOUT ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

/* ====== Card ====== */
.faculty-box-02 {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.faculty-box-02:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* ====== Image ====== */
.faculty-image {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #007bff;
}

.faculty-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.faculty-box-02:hover .faculty-image img {
  transform: scale(1.05);
}

/* ====== Text Section ===== */
.faculty-content {
  background: #fff;
  padding: 15px 12px 20px;
  text-align: center;
}

.faculty-content h5 {
  color: #000;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.faculty-content p {
  color: #555;
  font-size: 0.9rem;
  margin-bottom: 6px;
  line-height: 1.4;
}

/* ====== Email ===== */
.team-email {
  margin-top: 5px;
}

.team-email a {
  color: #007bff !important;
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
  word-break: break-word;
  display: none;
}

.team-email a:hover {
  color: #2277be;
  text-decoration: underline;
}

/* ====== RESPONSIVE MEDIA QUERIES ===== */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
  }

  .faculty-content h5 {
    font-size: 1rem;
  }

  .faculty-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 12px;
  }

  .faculty-content {
    padding: 12px 10px 15px;
  }

  .faculty-content h5 {
    font-size: 0.95rem;
  }

  .faculty-content p {
    font-size: 0.8rem;
  }

  .team-email a {
    font-size: 0.8rem;
  }
}


/* === Custom Arrow Buttons === */
.carousel-control-prev.custom-prev,
.carousel-control-next.custom-next {
  width: 70px;
  height: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  border-radius: 50%;
  display: none;
  transition: all 0.3s ease;
}

.carousel-control-prev.custom-prev:hover,
.carousel-control-next.custom-next:hover {
  background: #b71a34; /* JGU red */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 25px;
  height: 25px;
      display: none;
}

/* Adjust positions */
.carousel-control-prev.custom-prev {
  left: 30px;
}
.carousel-control-next.custom-next {
  right: 30px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-control-prev.custom-prev,
  .carousel-control-next.custom-next {
    width: 50px;
    height: 50px;
  }
  .carousel-control-prev.custom-prev { left: 15px; }
  .carousel-control-next.custom-next { right: 15px; }
}
.hero-slider {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

/* Reset layout wrappers */
#site-wrapper, .main-wrapper, .container-fluid, .container {
  position: static !important;
  overflow: visible !important;
  height: auto !important;
}

/* Ensure slider sits inside normal flow (not fixed) */
.hero-slider, 
#carouselExampleControls,
.carousel-inner,
.carousel-item {
  position: relative !important;
  z-index: 0 !important;
}

/* Fix theia sticky issue */
.theiaStickySidebar {
  position: static !important;
  height: auto !important;
  overflow: visible !important;
  transform: none !important;
}

/* Optional: limit image height to view height but allow scroll after */
.carousel-item img {
  height: 70vh;
  width: 100%;
  object-fit: cover;
}

#carouselExampleControls {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  overflow: hidden;
  position: relative;
  z-index: 1;
}

#carouselExampleControls img {
  height: 90vh;
  width: 100%;
  object-fit: cover;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  background-size: 60%;

}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  background-color: rgba(183, 26, 52, 0.9); /* JGU Red */
}

/* Scroll fix */
html, body {
  height: auto !important;
  min-height: 100vh !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
}
