/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', serif;
  font-weight: 600;
}

/* Body */
body, p, li, a, span, div {
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

@media all and (min-width: 851px) {
  .layout-container {
    max-width: 100% !important;
  }
}
.region-header {
  display: flex;
}
#header {
  background-color: #fff !important;
  background-image: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0.15) 0%,
    rgba(255, 255, 255, 0.15) 100%
  ) !important;
  background-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(255, 255, 255, 0.15) 100%
  ) !important;
}
a,
.link {
  color: #0071b3;
}
.carousel {
  &__slide {
    &__inner {
      overflow: hidden;
      position: relative;

      .doAnimation .slick-active & {
        .carousel__image {
          animation: scale-out 0.875s cubic-bezier(0.7, 0, 0.3, 1) 0.375s both;
          transform: scale(1.3);
        }
      }
    }

    &__overlay {
      background-color: transparent;
      background-size: 100%;
      height: 100%;
      left: 0;
      opacity: 0.5;
      position: absolute;
      top: 0;
      width: 100%;
      z-index: 2;

      .slick-active & {
        animation: scale-in-hor-left 1.375s cubic-bezier(0.645, 0.045, 0.355, 1)
          0.25s reverse both;
      }
    }
  }

  &__image {
    height: 100%;
    object-fit: cover;
    position: relative;
    transform: scale(1);
    width: 100%;
    z-index: 1;
  }
}

@keyframes scale-out {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes scale-in-hor-left {
  0% {
    -webkit-transform: translateX(-100%) scaleX(0);
    transform: translateX(-100%) scaleX(0);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
  50% {
    -webkit-transform: translateX(-50%) scaleX(0.5);
    transform: translateX(-50%) scaleX(0.5);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
  100% {
    -webkit-transform: translateX(0) scaleX(1);
    transform: translateX(0) scaleX(1);
    -webkit-transform-origin: 0% 0%;
    transform-origin: 0% 0%;
    opacity: 1;
  }
}

/* SLIDER CODE */

/* Carousel wrapper */
.carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
 max-width: 100%;
  margin: 0 auto;
}

/* Each slide */
.carousel__slide {
  position: relative;
}

.carousel__slide__inner {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  height: 600px; /* fixed height for all slides, adjust as needed */
}

/* Slide image */
.carousel__image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop/scale without distortion */
  display: block;
}

/* Title + description container */
.carousel__slide__inner h2,
.carousel__slide__inner .banner-desc {
  position: absolute;
  z-index: 2;
  color: #fff;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
  width: 80%; /* don’t let text stretch edge to edge */
}

/* Title styling */
.carousel__slide__inner h2 {
  bottom: 120px;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.6);
}

/* Description styling */
.carousel__slide__inner .banner-desc {
  bottom: 50px;
  font-size: 1.2rem;
  line-height: 1.4;
  text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.6);
}

/* Overlay with gradient */
.carousel__slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Gradient: dark at bottom, transparent at top */
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,
    /* bottom darker */ rgba(0, 0, 0, 0.3) 40%,
    /* middle medium */ rgba(0, 0, 0, 0) 100% /* top transparent */
  );
  z-index: 1;
  border-radius: 8px;
}
/* === Carousel container === */
.carousel {
  position: relative;
}

/* === Arrows === */
.slick-prev,
.slick-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;

  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #c7c4c0;
  border: none;
  cursor: pointer;
}

.slick-prev:before,
.slick-next:before {
  font-family: "slick";
  font-size: 20px;
  line-height: 1;
  color: #f8b239;
  opacity: 1; /* force visible */
}

/* .slick-prev:hover,
.slick-next:hover {
  background: #F8B239;
}
 */
/* Positioning */
.slick-prev {
  left: 20px; /* left side */
}
.slick-next {
  right: 20px; /* right side */
}

/* === Dots === */
.slick-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex !important;
  justify-content: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.slick-dots li {
  margin: 0;
  padding: 0;
}

.slick-dots li button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f8b239;
  border: 2px solid #ff5e00;
  padding: 0;
  font-size: 0;
  cursor: pointer;
}

.slick-dots li.slick-active button {
  background: #f8b239;
}

.slick-dots li.slick-active button:before {
  color: rgb(20, 11, 5) !important;
}

/* header css */
/* Wrapper for header-top */
.header-top {
  display: flex;
  justify-content: space-between; /* pushes left + right apart */
  align-items: center;
  /*  flex-wrap: wrap;allows wrapping on small screens */
   /*gap: 10px; optional space between regions */
}

/* Ensure both regions behave well */
.region-header-top-left {
  flex: 1 1 auto; /* shrink and grow as needed */
}
.region-header-top-right {
  align-items: right;
}

/* On mobile: stack vertically */
@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    align-items: flex-start; /* stack aligned to left */
  }

  .region-header-top-left,
  .region-header-top-right {
    width: 100%;
  }
}
.clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item {
  padding-left: 14px;
}

ul.clearfix.menu {
  padding-right: 14px;
}
.header-top {
  background-color: #f8b239;
}
@media (min-width: 768px) {
.header-top {
  height: 46px;
}
}
.region-header-top-left {
  color: #fff;
}
.region-header-top-right ul.clearfix.menu {
  a,
  .link {
    color: #fff;
  }
}

li.menu-item {
  display: flex !important;
  flex-wrap: nowrap !important;
  flex-direction: row !important;
}

/* footer */

.footer-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .region-header {
    margin-top: 20px;
  }
}
.site-footer .block {
  padding: 0; /* remove old padding */
  border: none; /* remove borders if any */
  margin: 0; /* reset margins */
}

.site-footer {
  background: #181d37 !important;
}
.region.region-footer-bottom-last {
  background-color: #ec9c29;
}

.region.region-primary-menu {
  display: flex;
  padding: 10px;
  background-color: #181d37;
}
/* Language switcher wrapper */
.language-switcher-language-url .content {
  position: relative;
  display: inline-block;
}

/* Hide list by default */
.language-switcher-language-url .content ul.links {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  min-width: 120px;
  z-index: 999;
  list-style: none;
  padding: 5px 0;
  margin: 0;
}

/* Style list items */
.language-switcher-language-url .content ul.links li {
  margin: 0;
}

.language-switcher-language-url .content ul.links li a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #333;
}

.language-switcher-language-url .content ul.links li a:hover {
  background: #f2f2f2;
}

/* Dropdown trigger button */
.language-switcher-language-url .content::before {
  content: "🌐 Language ▼"; /* You can change text */
  display: block;
  padding: 8px 12px;
  background:#181d37;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

/* Show menu on hover */
.language-switcher-language-url .content:hover ul.links {
  display: block;
}

.region.region-header-top-right {
  display: flex;
  padding-right: 14px;
}


/* Breadcum */
/* Page Header wrapper with background */
.path-frontpage .featured-page_header {
  display: none;
}
.featured-page_header {
    /* background: url(/sites/default/files/gacc-kathlal/gacc-kathlal/homepage/header-image_0.jpg) no-repeat center center; */
    background-size: cover;
    background-color: #5f6ebe; /* fallback color */
    background-blend-mode: multiply; /* overlay-like effect */
    position: relative;
    padding: 10px 0;
    color: #fff;
}


.featured-page_header .overlay {
  background: rgb(99 108 155);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Ensure content sits on top of overlay */
.featured-page_header .container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Title */
.region-page-header .page-title .field--name-title{
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

/* Breadcrumb */
.region-page-header .breadcrumb {
  margin: 0;
}

/* Breadcrumb */
.region-page-header .breadcrumb {
  margin: 0;
}

.region-page-header .breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 8px;
  align-items: center;
}

.region-page-header .breadcrumb li {
  color: #fff;
}

.region-page-header .breadcrumb li a {
  color: #ffd700; /* golden link */
  text-decoration: none;
  font-weight: 500;
}

.region-page-header .breadcrumb li a:hover {
  text-decoration: underline;
}

.region-page-header .breadcrumb li + li::before {
  content: "›";
  color: #ffd700;
  margin: 0 6px;
}
/* Make header container a flex row */
.region-page-header {
  display: flex;
  justify-content: space-between; /* space between title (left) and breadcrumb (right) */
  align-items: center;
  width: 100%;
  padding: 20px;
}

/* Title block stays left */
#block-mytheme-pagetitle {
  flex: 0 0 auto;
}

/* Breadcrumb block moves right */
#block-mytheme-breadcrumbs {
  flex: 0 0 auto;
  margin-left: auto;
  text-align: right;
}

/* Breadcrumb inline styling */
#block-mytheme-breadcrumbs nav.breadcrumb ol {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#block-mytheme-breadcrumbs nav.breadcrumb li {
  display: inline;
  color: #fff;
}

#block-mytheme-breadcrumbs nav.breadcrumb li a {
  color: #ff9006; /* golden */
  text-decoration: none;
  font-weight: 500;
}

#block-mytheme-breadcrumbs nav.breadcrumb li a:hover {
  text-decoration: underline;
}

#block-mytheme-breadcrumbs nav.breadcrumb li + li::before {
  content: "›";
  margin: 0 6px;
  color: #ffd700;
}

/* footer styling */
footer.site-footer {
  p {
    font-size: 14px;
     color: #fff !important;
  }
  a {
    font-size: 14px !important;
  }
  h2 {
    font-size: 20px !important;
    font-weight: 700;
    color: #fff;
  }
  ul.menu {
    margin: 0;
    padding: 0;
  }
  .menu-item a:hover {
    color: #ec9c29;
  }
  .clearfix.text-formatted.field.field--name-body.field--type-text-with-summary.field--label-hidden.field__item {
    padding-left: 0;
  }
}

.site-footer {
  padding: 35px 0 0 0px !important;
}
.footer-col {
  padding-left: 15px;
}
.footer-columns .footer-col:first-child {
  padding-left: 20px; /* Adjust padding value as needed */
}
#block-mytheme-copyrighttext .clearfix p {
  padding: 10px 0px 0px 15px;
}

/* principle message */
.home-msg {
  .home-msg-photo {
    text-align: center;
  }
  .home-msg-text-area {
    background: #ec9c29;
    border-radius: 10px;
    padding: 10px 40px 10px 40px;
    margin-top: -60px;
  }
  .home-msg-photo img {
    border-radius: 100%;
    border: #ffffff solid 10px;
  }

  .home-msg-heading {
    text-align: center;
    font-size: 26px;
    color: #ffffff;
  }
  .home-msg-text p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.7;
  }
  .home-msg-name {
    font-size: 18px;
    color: #ffffff;
  }
}
/* card */
/* Grid wrapper */
.views-view-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}


.staff-profile {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin-bottom: 15px;
  background: #fff;
}

.staff-left {
  width: 180px;
  text-align: center;
}

.staff-left .photo img {
  width: 100%;
  max-height: 200px;
  border-radius: 6px;
}

.staff-left .cv-link {
  margin-top: 8px;
}

.staff-right {
  flex: 1;
}

.staff-right .name {
  font-weight: bold;
  font-size: 1.1em;
  margin-bottom: 4px;
}

.staff-right .designation,
.staff-right .subject,
.staff-right .qualification {
  margin-bottom: 5px;
}

/* Hover effect */
.views-view-grid .views-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

/* Image */
.views-view-grid .views-field-field-photo img {
  border-radius: 8px;
  width: 140px;
  height: 180px;
  object-fit: cover;
  margin: 0 auto 15px;
  display: block;
}

/* Name / Title */
.views-view-grid .views-field-title a {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
  display: block;
  margin-bottom: 6px;
}

.views-view-grid .views-field-title a:hover {
  color: #0a6ebd;
}

/* Designation */
.views-view-grid .views-field-field-role-designation {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 6px;
}

/* Qualifications */
.views-view-grid .views-field-body {
  font-size: 0.9rem;
  color: #444;
  margin-bottom: 8px;
  min-height: 40px; /* keep space equal */
}

/* Contact */
.views-view-grid .views-field-field-phone a,
.views-view-grid .views-field-field-email {
  display: block;
  font-size: 0.85rem;
  color: #0a6ebd;
  margin: 2px 0;
  text-decoration: none;
}

.views-view-grid .views-field-field-phone a:hover {
  text-decoration: underline;
}

/* Department */
.views-view-grid .views-field-field-department {
  font-weight: 600;
  color: #0a6ebd;
  margin-top: auto; /* push department to bottom */
}

/* Responsive fixes */
@media (max-width: 992px) {
  .views-view-grid .views-col {
    width: calc(50% - 20px);
  }
}

@media (max-width: 600px) {
  .views-view-grid .views-col {
    width: 100%;
  }
}

/* home-page */
/* Styling for the overall container and individual columns */
.path-frontpage .layout--threecol-section {
  /* Styling for the overall container and individual columns */
  .layout--threecol-section {
    display: flex;
    justify-content: center;
    /* This single line correctly adds the gap between boxes */
    gap: 20px !important;
  }

  /* Styles for the Board of Directors cards */
  .views-col {
    min-height: 300px;
    /* Other card styles from previous responses should be here */
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    text-align: center;
    overflow: visible;
    position: relative;
  }

  /* Base styling for all card regions */
  .layout__region {
    /* gap: 10px; */
    flex: 1;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: sans-serif;
    text-align: center;
    min-height: 250px;
  }

  /* Specific background colors for each section */
  .layout__region--first {
    background-color: #181d37; /* General */
  }
  .layout__region--second {
    background-color: #f8b239; /* Commerce - lighter color */
  }
  .layout__region--third {
    background-color: #181d37; /* Arts */
  }

  /* Styling for the section titles (e.g., "GENERAL", "COMMERCE", "ARTS") */
  h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
    margin: 0 0 15px 0;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
  }

  /* Dotted line under the title */
  .view-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    /* border-bottom: 2px dotted #4CAF50; */
  }

  /* Styling for the list items (the links) */
  .views-row {
    margin-bottom: 10px;
  }

  .views-field-title a {
    color: #fff; /* Dark gray for the link text */
    text-decoration: none; /* Removes underline */
    transition: color 0.3s; /* Smooth color transition on hover */
  }

  .views-field-title a:hover {
    color: #007bff; /* Blue color on hover for a subtle effect */
  }
}


h2 {
    font-family: "HeinekenCurvemedium" !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 52px;
    letter-spacing: 0;
    color: #181d37;
}
p {
  font-size: 14px;
}

.layout--threecol-section {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.custom-button {
  /* Button appearance */
  display: inline-block;
  background-color: #f8b239;
  border: 1px solid #ffd700;
  padding: 18px 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none; /* Removes the default underline from the link */
  color: #ffffff; /* Sets the text color */
  /* Hover effect */
  transition: background-color 0.3s ease;
}

.custom-button:hover {
  background-color: #e0e0e0;
}
/* programme card */
/* BEGIN CARD DESIGN */
.hero {
  display: inline-block;
  position: relative;
  width: 400px;
  min-width: 400px;
  height: 400px;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.3);
  margin: 30px;
}

.hero-profile-img {
  height: 70%;
}

.hero-description-bk {
  background-image: linear-gradient(0deg, #3f5efb, #f8b239);
  border-radius: 30px;
  position: absolute;
  top: 55%;
  left: -5px;
  height: 65%;
  width: 108%;
  transform: skew(19deg, -9deg);
}

.second .hero-description-bk {
  background-image: linear-gradient(-20deg, #bb7413, #e7d25c);
}

.hero-logo {
  height: 80px;
  width: 80px;
  border-radius: 20px;
  background-color: #fff;
  position: absolute;
  bottom: 30%;
  left: 30px;
  overflow: hidden;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.7);
}

.hero-logo img {
  height: 100%;
}

.hero-description p {
    position: absolute;
    color: #fff !important;
    font-weight: 900 !important;
    left: 150px;
    bottom: 26%;
}
.hero-btn {
  position: absolute;
  color: #fff;
  right: 30px;
  bottom: 10%;
  padding: 10px 20px;
  border: 1px solid #fff;
}

.hero-btn a {
  color: #fff;
}

.hero-date {
  position: absolute;
  color: #fff;
  left: 30px;
  bottom: 10%;
}
/* END CARD DESIGN */

.btn i:before {
  width: 14px;
  height: 14px;
  position: fixed;
  color: #fff;
  background: #0077b5;
  padding: 10px;
  border-radius: 50%;
  top: 5px;
  right: 5px;
}

.material-tabs ul.quicktabs-tabs {
  position: relative;
  z-index: 1;
  padding: 0.7rem;
  margin-right: 1rem;
  margin-bottom: -20px;
  margin-left: 1rem;
  margin-top: 0;
  background-color: #ec9c29 !important;
  border: 0;
  border-radius: 0.25rem;
  -webkit-box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18),
    0 4px 15px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}
.library-staff {
  display: flex;
  padding: 10px;
}
.library-staff img {
  max-width: 300px;
  height: auto;
  padding-right: 50px;
}
/*Color for tab*/
/* Tabs wrapper */
.category-tabs {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  display: flex;
  border-bottom: 2px solid #ec9c29;
  flex-wrap: wrap; /* in case too many tabs */
}

/* Each tab */
.category-tabs li {
  margin: 0;
}

/* Tab link */
.category-tabs li a {
  display: flex; /* use flexbox for vertical centering */
  align-items: center; /* vertically center text */
  justify-content: center; /* center text horizontally */
  height: 40px; /* fixed height for all tabs */
  min-width: 60px; /* ensures consistent width */
  padding: 0 10px; /* horizontal padding only */
  text-decoration: none;
  background: #f8b239;
  border: 1px solid #ec9c29;
  border-bottom: none; /* remove bottom to blend with border */
  color: #fff;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

/* Rounded corners for first & last */
.category-tabs li:first-child a {
  border-top-left-radius: 6px;
}
.category-tabs li:last-child a {
  border-top-right-radius: 6px;
}

/* Hover effect */
.category-tabs li a:hover {
  background: #ffd700;
  color: #000;
}

/* Active tab */
.category-tabs li.active a {
  background: #ffd700;
  border-bottom: 2px solid #fff; /* same as wrapper bg to "merge" */
  font-weight: 600;
  color: #000;
  position: relative;
  top: 2px; /* lift slightly */
}

/* Container for the image description */
.class-img-desc {
  display: flex;
  align-items: center; /* Vertically centers items */
  gap: 10px; /* Adds space between the title and details */
  font-family: Arial, sans-serif;
  color: #ec9c29;
}

/* Styling for the title */
.cl-img-title {
  font-weight: bold;
  font-size: 1.1em;
  position: relative;
  margin-right: 20px; /* Space for the arrow */
}

/* Styling for the details */
.cl-img-details {
  font-size: 1em;
  color: #0094f0;
}

/* Arrow after the title using a pseudo-element */
.cl-img-title::after {
  content: "\2192"; /* Unicode for right arrow */
  font-size: 1.2em;
  font-weight: normal;
  position: absolute;
  right: -20px; /* Positions the arrow to the right of the title */
  top: 50%;
  transform: translateY(-50%);
  color: #000;
}
.view-photo-gallery h3 {
  color: #f39a00 !important;
  font-size: 20px;
}

.region.region-header-top-left h2 {
  color: #fff !important;
  font-size: 15px !important;
}

body p {
  font-size: 14px;
  line-height: 26px;
  font-weight: 400;
  color: #222121;
}

.card-botton{
    padding: 11px 24px;
    color: #fff;
    font-family: "HeinekenCorebold";
    font-size: 18px;
    font-style: normal;
    font-weight: normal;
    line-height: 24px;
    border-radius: 8px;
    background: #f39a00;
    position: relative;
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 48px;
    height: auto;
    color: #f39a00;
    background: #F6F6F6;
    border-color: #F6F6F6;
}

.path-frontpage .layout--threecol-section {
    padding-bottom:30px;
}

.webform-button--submit {
  display: inline-block;
    background-color: #ec9c29 !important;
    color: #fff  !important;;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button {
     background-color: #ec9c29 !important;
    color: #fff  !important;;
}

/* Make checkboxes inline */
.bef-checkboxes .form-type-checkbox {
  display: inline-block;       /* Put in a row */
  margin-right: 1px;          /* Add some spacing */
}

/* Hide default checkbox and make label look like button */
.bef-checkboxes .form-type-checkbox input[type="checkbox"] {
  display: none; /* Hide actual checkbox */
}

.bef-checkboxes .form-type-checkbox label {
  display: inline-block;
  padding: 0.5em 1em;
  cursor: pointer;
  text-align: center;
  border: 1px solid #d2d2d2;
  border-radius: 1em;
  background: linear-gradient(to bottom, #ec9c29, #f67d01);
  color: #fff;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, sans-serif;
  font-size: 0.9em;
  transition: all 0.2s ease-in-out;
}

/* On hover */
.bef-checkboxes .form-type-checkbox label:hover {
  background: linear-gradient(to bottom, #f0a22f, #a31f1f);
}

/* Active / checked state */
.bef-checkboxes .form-type-checkbox input[type="checkbox"]:checked + label {
  background: linear-gradient(to bottom, #8f1d1d, #ec9c29);
  border-color: #8f1d1d;
  color: #fff;
}

/* webform */
/* Wrapper */
.block-webform {
  max-width: 700px;
  margin: 40px auto;
  padding: 30px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Labels */
.block-webform label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

/* Inputs & textarea */
.block-webform input[type="text"],
.block-webform input[type="email"],
.block-webform textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  transition: all 0.3s ease;
}

.block-webform input[type="text"]:focus,
.block-webform input[type="email"]:focus,
.block-webform textarea:focus {
  border-color: #636c9b; /* matches your theme color */
  box-shadow: 0 0 6px rgba(99, 108, 155, 0.3);
  outline: none;
}

/* Textarea */
.block-webform textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button */
.block-webform input[type="submit"] {
  background: #636c9b;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.block-webform input[type="submit"]:hover {
  background: #4a517b;
}

/* Spacing between fields */
.block-webform .form-item {
  margin-bottom: 20px;
}

iframe.gmap_iframe {
    width: 100%;
    height: 300px;
}

.breadcrumb li.is-active {
    color: #000 !important;
}
@media (max-width: 991px) {
    .region-we-mega-menu {
        padding: 36px 15px 15px 15px !important;
    }
    .search-block-form form#search-block-form {
    display: flex;
    }
  }

.navbar-we-mega-menu .span12 {
  padding: 10px;
}

.brick--type--hero-banner .carousel__slide__inner .banner-desc p{
    color:#fff;
    font-size: 20px;
};

/* Three Column News / Announcements Section */
.layout--threecol-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px 20px;
  justify-content: center;
  background: transparent;
}


/* The main card container (.display-news-box from your view) */
.display-news-box {
  background: #1a1f3d; /* Dark navy */
  color: white;
  border-radius: 30px;
  padding: 40px 30px;
  height: 350px; /* Fixed height for uniformity */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.display-news-box:hover {
  transform: translateY(-10px);
}

/* Middle card - Golden background */
.layout__region--second .display-news-box {
  background: #e6b800; /* Golden yellow */
}

/* Title (h2 from block or view header) */
.display-news-box h2,
.display-news-box .view-header h2 {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 30px 0;
  color: white;
}

/* News items container */
.display-news-box .view-content {
  flex: 1;
  overflow: hidden;
  position: relative;
  height: 140px; /* Adjust based on number of items */
}

/* Scrolling news titles - moving up */
.views-row {
  text-align: center;
  margin-bottom: 20px;
}

.views-field-title {
  height: 50px;
  overflow: hidden;
  position: relative;
}

.views-field-title a {
  display: block;
  font-size: 18px;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  position: absolute;
  width: 100%;
  left: 0;
  text-align: center;
  animation: scrollUp 8s linear infinite;
}

@keyframes scrollUp {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px);
    opacity: 0;
  }
}

/* Stagger animation for multiple items */
.views-row:nth-child(1) a { animation-delay: 0s; }
.views-row:nth-child(2) a { animation-delay: 2s; }
.views-row:nth-child(3) a { animation-delay: 4s; }
.views-row:nth-child(4) a { animation-delay: 6s; }

/* View all link at bottom */
.display-news-box .view-footer {
  text-align: center;
  margin-top: auto;
}

.display-news-box .view-footer a {
  color: #a0d8ff;
  text-decoration: underline;
  font-size: 16px;
  font-weight: 500;
}

.display-news-box .view-footer a:hover {
  color: white;
}

/* Responsive - stack on mobile */
@media (max-width: 992px) {
  .layout--threecol-section {
    flex-direction: column;
    align-items: center;
  }

  .layout__region {
    width: 90%;
    max-width: 500px;
  }

  .display-news-box {
    height: 400px;
  }
}

/*Keyfact*/
/* Key Facts Section - Vertical Stacked Cards with Strong Frosted Glass */
.keyfacts-section {
  position: relative;
  min-height: 550px;
  padding: 80px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Dark overlay */
.keyfacts-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

/* Horizontal row of cards */
.stats-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Each card (.eck-entity) */
.stats-container .eck-entity {
  background: rgba(255, 255, 255, 0.08); /* Stronger gray-tinted glass */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 28px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 220px;
  max-width: 280px;
  flex: 1;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  transition: all 0.4s ease;
}

.stats-container .eck-entity:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-15px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

/* Label (top) */
.field--name-field-dsiplay-text {
  font-size: 18px;
  color: #f5f5f5;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: capitalize;
}

/* Big number (middle) */
.field--name-field-number {
  font-size: 52px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 25px;
  line-height: 1;
}

/* Icon (bottom) */
.field--name-field-icon img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(58%) sepia(94%) saturate(4000%) hue-rotate(5deg) brightness(110%);
}

/* Responsive */
@media (max-width: 1024px) {
  .stats-container {
    gap: 30px;
  }
  .stats-container .eck-entity {
    padding: 35px 25px;
  }
  .field--name-field-number {
    font-size: 46px;
  }
}

@media (max-width: 768px) {
  .keyfacts-section {
    min-height: auto;
    padding: 60px 20px;
  }
  .stats-container {
    flex-direction: column;
    align-items: center;
  }
  .stats-container .eck-entity {
    width: 90%;
    max-width: 350px;
    padding: 40px;
  }
}

/*Principle message*/
/* Principal's Message Section - Centered Elegant Design */
.layout--twocol-section--25-75 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 100px 40px;
  max-width: 1200px;
  margin: 0 auto;
  background: #ffffff;
  text-align: center; /* Center all text */
}

/* Image container */
.layout__region--first {
  flex: 0 0 auto;
}

.layout__region--first img {
  width: 300px;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border: 8px solid white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.layout__region--first img:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

/* Text column - full width on small screens */
.layout__region--second {
  flex: 1;
  min-width: 300px;
  max-width: 900px;
}

/* Message body */
.layout__region--second .field--name-body {
  font-size: 18px;
  line-height: 1.9;
  color: #444444;
  font-family: 'Georgia', 'Times New Roman', serif;
  text-align: justify;
}

.layout__region--second .field--name-body p {
  margin-bottom: 28px;
}

/* Quotes in italic */
.layout__region--second .field--name-body em {
  color: #c0392b; /* Deep red/orange for quotes */
  font-style: italic;
}

/* Bold text */
.layout__region--second .field--name-body strong {
  color: #2c3e50;
}

/* Signature with golden underline */
.layout__region--second .field--name-body p:last-child {
  margin-top: 50px;
  text-align: right;
  font-size: 21px;
  color: #1a1f3d;
  position: relative;
  padding-bottom: 15px;
}

.layout__region--second .field--name-body p:last-child::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 3px;
  background: #e6b800; /* Golden line */
}

.layout__region--second .field--name-body p:last-child em {
  display: block;
  font-size: 17px;
  color: #7f8c8d;
  margin-top: 10px;
  font-style: italic;
}

/* Responsive */
@media (max-width: 992px) {
  .layout--twocol-section--25-75 {
    flex-direction: column;
    padding: 80px 30px;
    gap: 50px;
  }

  .layout__region--first img {
    width: 280px;
  }

  .layout__region--second .field--name-body {
    text-align: center;
  }

  .layout__region--second .field--name-body p:last-child {
    text-align: center;
  }

  .layout__region--second .field--name-body p:last-child::after {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
}

@media (max-width: 600px) {
  .layout__region--first img {
    width: 240px;
  }

  .layout__region--second .field--name-body {
    font-size: 17px;
  }

  .layout--twocol-section--25-75 {
    padding: 60px 20px;
  }
}

/* About College Section - Image Signpost */
.image-signpost-wrapper {
  margin: 80px 0;
}

.image-signpost {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
  max-width: 100%;
  margin: 0 auto;
}

.image-signpost__inner {
  display: flex;
  width: 100%;
  min-height: 500px;
}

.image-signpost__content {
  flex: 1;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #f8f9fa; /* Light background for text side */
}

.image-signpost__content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #1a1f3d; /* Deep navy */
  margin-bottom: 30px;
  line-height: 1.2;
}

.image-signpost__description {
  flex-grow: 1;
}

.image-signpost__description .field--name-field-description {
  font-size: 18px;
  line-height: 1.8;
  color: #444444;
  text-align: justify;
}

.image-signpost__description p {
  margin-bottom: 24px;
}

.image-signpost__description p:last-child {
  margin-bottom: 0;
}

/* CTA Button */
.image-signpost__cta {
  margin-top: 40px;
}

.image-signpost__cta a {
  display: inline-block;
  background: #ff7f32; /* Bright orange */
  color: white !important;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(255, 127, 50, 0.3);
  transition: all 0.3s ease;
}

.image-signpost__cta a:hover {
  background: #e66b20;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(255, 127, 50, 0.4);
}

/* Image side */
.image-signpost__image {
  flex: 1;
  overflow: hidden;
}

.image-signpost__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.image-signpost__image:hover img {
  transform: scale(1.08);
}

/* Responsive - Stack on mobile */
@media (max-width: 992px) {
  .image-signpost__inner {
    flex-direction: column;
  }

  .image-signpost__content {
    padding: 60px 40px;
    text-align: center;
  }

  .image-signpost__content h2 {
    font-size: 36px;
  }

  .image-signpost__description .field--name-field-description {
    text-align: center;
    font-size: 17px;
  }

  .image-signpost__image {
    height: 400px;
  }
}

@media (max-width: 600px) {
  .image-signpost__content {
    padding: 50px 30px;
  }

  .image-signpost__content h2 {
    font-size: 32px;
  }

  .image-signpost__cta a {
    padding: 12px 28px;
    font-size: 17px;
  }
}
