/**
 * @file
 * Subtheme specific CSS.
 */

@font-face {
    font-family: 'Trebuchet MS';
    font-style: normal;
    font-weight: normal;
    src: local('Trebuchet MS'), url('/custom-fonts/trebuc.woff') format('woff');
    }
    

    @font-face {
    font-family: 'Trebuchet MS Italic';
    font-style: normal;
    font-weight: normal;
    src: local('Trebuchet MS Italic'), url('/custom-fonts/Trebuchet-MS-Italic.woff') format('woff');
    }
:root {
  --bs-primary: #00923f;
  --bs-secondary: #f3ec18;
  --bs-secondary-bg-color: #f7f8fd;
  --bs-secondary-heading: #000;
  --bs-secondary-heading-bg: #00923f;
  --bs-secondary-paragraph: #696969;
  --bs-primary-font: 'Trebuchet MS', sans-serif;
  --bs-secondary-font: 'Trebuchet MS', sans-serif;
}
    
/* Heading Styles (h1-h6) */
body {
  font-family: var(--bs-primary-font);
  color: var(--bs-secondary-paragraph);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--bs-primary-font);
  font-weight: 700;
  letter-spacing: 0;
  padding: 0px;
  margin-bottom: 0;
  color: var(--bs-secondary-heading);
}

h1 {
  font-size: 36px;
  line-height: 46px;
}

h2 {
  font-size: 32px;
  line-height: 40px;
}

h3 {
  font-size: 27px;
  line-height: 34px;
}

h4 {
  font-size: 22px;
  line-height: 28px;
}

h5 {
  font-size: 18px;
  line-height: 22px;
}

h6 {
  font-size: 16px;
  line-height: 20px;
}

p {
  font-family: var(--bs-secondary-font);
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  margin-bottom: 0;
}

a {
  font-family: var(--bs-secondar-font);
  text-decoration: none;
  transition: all .2s ease-in-out;
  display: block;
}
.field--type-text-long span{
  font-family: var(--bs-secondary-font);
  color: var(--bs-secondary-heading);
  margin-bottom: 0;
}


.js-form-item.js-form-type-select.form-type-select {
    margin-right: 12px !important;
}

.views-exposed-form{
    background: #f2f9f1 !important;
    padding: 10px !important;
    display: flex !important;
    justify-content: center !important;
    margin-bottom:50px !important;
}

.site-footer .block{
    border:0px !important;
}

.navbar#navbar-main{
     border-bottom: solid 1.5px #99a1af !important;
     padding: 0px !important;
}
.green-first-color { 
	background: #f2f9f1; 
}
	
.green-second-color { 
	background: #ddeedf; 
}

/* .field--name-field-news-body */
 

img {
  max-width: 100%;
  height: auto;
  display: block;
}



.taxo-title{
    margin:0;
    padding:0;
}
.taxo-title .field{
    margin:0;
    padding:0;
}
.uhlh{
  margin: 50px;
}

.taxo-title{
    margin:0;
    padding:0;
}
.taxo-title .field{
    margin:0;
    padding:0;
}

.uhlh h4{
  color: #f3ec18;

}


.uhas-yellow{
  color: #f3ec18;
}
.uhas-p{
  padding-top: 100px;
  padding-bottom: 100px;
}
.uhas-border{
  border-bottom: solid 3px #f3ec18 ;
}

.sidebar_second .nav{
    display: block !important;
}

.sidebar .block {
  background-color: #ffff ; 
  border-color: #f9f9f9;
}
.rc_bg{
  background-color: #fbf2d5;
  border-radius: 20px;
}

.ihr-mb{
    margin-bottom: 130px !important;
}
.ihr-bg-gray{
    background-color: #ececec;
}
.home-sidebar{
    /*background-color: #f2f9f1;*/
    background-color: #f7fbfc;
}
.highlight .container{
    width:100% !important;
}
a.navbar-brand{
    color:#034539 !important;
    align-items: center;
}

  .title-header-colour{
    background-color: #292929;
  }
.ihr-pt{
  padding-top: 100px;
  padding-bottom: 100px;
}
.ihr-pt-d{
  padding: 50px;
}
.contextual-region #block-ihr-mainnavigation-menu{
  font-size: 10px !important;
}
.rc-text-bg{
    background-color: #e5f4eb;
    padding:10px;
    min-height:100px;
}


.dp-block-title{
  font-size: 24px;
  margin-bottom: 10px;;
}



p.abt-tex{
  color: #000 !important;
}






/* ================== SIDE MENU ====================*/

.sidebar_second .nav-link {
  color: #034539;
}
.sidebar_second  {
  color: #fff;
  
}


.about .nav{
    background-color:#f2f9f1;
    margin-top:0;
    margin-bottom:30px;
    margin-right:11px;
}
.about .nav-item:hover{
     background-color:#00923f;
}
.about .nav-item a{
     color:#034539;
}
.about ul{
    margin:0;
    padding:0;
}
.about ul>li {
     border-left:solid 0.5px #000;
}
.about ul>li:last-child {
     border-right:solid 0.5px #000;
}


.about-side .nav{
    background-color:#f2f9f1;
    margin-top:0;
    margin-bottom:30px;
    margin-right:11px;
}
.about-side .nav-item:hover{
     background-color:#00923f;
}
.about-side .nav-item a{
     color:#034539;
}
.about-side ul>li {
     border-top:solid 0.5px #e3e3e3;
     width: 100%;
}
.about-side ul>li:last-child {
     border-bottom:solid 0.5px #e3e3e3;
}





.side-menu{
  background-color: #d9efdd !important;
  color: #005119;
}

.side-menu li.menu-item--collapsed{
  width: 100%;
  border-top:solid 0.5px #a9cfb5;
  text-transform: uppercase;
}
.side-menu li.menu-item--expanded{
  width: 100%;
  border-top:solid 0.5px #a9cfb5;
  text-transform: uppercase;
}
.side-menu li.menu-item--expanded a{
  width: 100%;
  border-bottom:solid 0.5px #a9cfb5;
}



.side-menu li.menu-item--expanded ul>li{
  border:none;
  text-transform: lowercase;
  text-decoration: none;
}

.side-menu li.menu-item--expanded ul>li a{
  border:none;

}

.side-menu .sidebar .block {
    border: none;
    /*padding: 0;*/
    margin: 0;
    background-color: black;
    color: #005119;

}
.sidebar h2 {
  /* margin: 0 0 0.5em; */
  border-bottom: none;
  padding: 5px;
  text-shadow: none;
  font-size: 1.071em;
  color: #538357;
  /* line-height
Determines the block-progression dimension of the text content area of an inline box.
Learn more

Don't show
: 1.2; */

}

.page-title {
  width: 100%;
  padding-bottom: 20px;
  border-bottom: solid 1px black;
}


.page-title h1 {
  color: #034539;
  font-size: 44px;
  margin-top: 5px;
  font-weight: bold;
  position: relative;
  text-transform: none;
  padding-top: 20px;
}

.logo{
  background-color: #d9efdd;
  padding-top: 10px;
  padding-bottom: 10px;
}






.dp-white{
  background-color: #fff;
}


  @media (max-width: 575.98px) { 
    
.carousel-img img{
  height: 300px;
  object-fit: cover;
  aspect-ratio:1/1;
  
}


  
  }
  .container{
    max-width: 1170px;
  }

  .main-menu .navbar-nav{
    align-items: center;
  }

  .main-menu .navbar-nav{
    padding: 20px;


  }
#navbar-top {
    padding: 0;
    color: #e3e3e3;

}
#navbar-top a {
  color: #e3e3e3;
  padding-right: 5px;
  padding-top: 0;
  padding-bottom: 0;
  
}
#navbar-top p {
  color: #e3e3e3;
  padding-right: 5px;
  padding-top: 0;
  padding-bottom: 0;
  
}


.view-content.row{
    justify-content: center;
}


/* Basic Stats on landing page */

    .uhas-stats{
        padding: 40px 0;
    }

    .uhas-stats .views-view-responsive-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr); /* 2 columns */
      gap: 16px;
      width: 100%;
    }
    
    /* Desktop (≥ 992px) */
    @media (min-width: 992px) {
      .uhas-stats .views-view-responsive-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns */
      }
    }

/*Responsive image on main content */

.main-content img{
     aspect-ratio: 16 / 9;
     object-fit: cover;
}

.main-content p{
     background: #f5faf6 !important;
     text-align: justify !important;
     text-justify: inter-word; 
     line-height: 1.7;
}

/* Side bar menu*/
.side-menu ul.nav{
    display:block !important;
}


/* UHAS CSS============================ */



/* ======= Slider =========== */
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 10px;
    height: 10px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: var(--bs-primary);
    background-clip: padding-box;
    border-radius: 100%;
}
.carousel-indicators {
    bottom: -50px;

}





/* ======= end Slider =========== */

.uhas-height-50{
  height: 60vh;
}

.uhas--mt{
  margin-top: -100px;
  z-index:1;
}






/* START: Hero base component*/

.hero-uhas {
  position: relative;
  display: flex;
  align-items: center;
  color: #fff;
}

/* Background image in HTML */
.hero-uhas-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right; /* matches your original placement */
  z-index: 0;
}

/* Gradient overlay */
.hero-uhas-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;

  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.85) 35%,
    rgba(0, 0, 0, 0.40) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.z-2 {
  position: relative;
  z-index: 0; /* ON TOP of overlay */
}

@media (min-width: 992px) {
  .py-lg-7 {
    padding-bottom: 5rem !important;
  }
}

@media (max-width: 767.98px) {
  .hero-uhas .col-12 {
    text-align: center;
  }
}




/* END: Hero base component*/



/* START OF STATISTICS   */
.uhas-stats {
  background: #f7f7f7;
}

.stat-box {
  position: relative;
  min-height: 160px;
}

.stat-value {
  font-size: 2.3rem;
  font-weight: 800;
  color: #00a878; /* green accent */
  margin-bottom: .5rem;
}

.stat-label {
  font-size: .95rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #444;
  max-width: 230px;
  margin: 0 auto;
}

.stat-bg-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 130px;
  opacity: 0.08;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* END OF STATISTICS   */



/*  START: Learn at UHAS Component */

/* Section Background */
.learn-uhas {
    background-color: var(--bs-primary);
}

/* Feature Boxes */
.learn-box {
  background: #eaf3ec;
  border: 4px solid #ffffff;
  padding: 30px 15px;
  border-radius: 4px;
  min-height: 150px;
  transition: all .25s ease;
}

.learn-box:hover {
  background: #fff;
  transform: translateY(-4px);
}

/* Icons */
.learn-icon i {
  font-size: 2.2rem;
  color: #000;
}

/* Buttons */
.learn-btn {
  background: #ffffff;
  padding: 18px 20px;
  font-weight: 700;
  border-radius: 4px;
  display: inline-block;
  text-transform: uppercase;
  color: #000;
  border: 2px solid #fff;
  text-decoration: none;
}

.learn-btn:hover {
  background: #f2f2f2;
  color: #000;
}

/*  END: Learn at UHAS Component */



/*  START: News – Check out our Latest News */

.uhas-news-label {
  color: #00843d;          /* UHAS green */
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.uhas-news-title {
  font-weight: 800;
  font-size: 2rem;
}

.uhas-news-card {
  background: #ffffff;
  border: none;
  box-shadow: 0 0.35rem 1.4rem rgba(0,0,0,.06);
}

.uhas-news-image img {
  display: block;
  height: 190px;
  object-fit: cover;
}

.uhas-news-body {
  padding: 1rem 1.05rem 1.25rem;
}

.uhas-news-heading {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
}

.uhas-news-text {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.uhas-news-date {
  font-size: 0.78rem;
  font-weight: 700 !important;
  text-transform: uppercase;
  color: #333;
}

/* Bottom buttons */
.uhas-news-btn {
  background: #00843d;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.7rem 2.3rem;
  border-radius: 0;
}

.uhas-news-btn:hover {
  background: #006c32;
  color: #fff;
}


/*  END: News – Check out our Latest News */



/*  START: Event Section Style  */


.uhas-events {
  background: #000;
  color: #fff;
}

.uhas-events-label {
  color: #00a651;               /* green */
  font-weight: 700;
  font-size: 1.05rem;
}

.uhas-events-title {
  font-weight: 800;
  font-size: 2.3rem;
}

/* Left card */
.event-image-card img {
  display: block;
}

.event-date-badge-bottom {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  background: #000;
  color: #fff;
  padding: .45rem .9rem;
  font-weight: 700;
  text-transform: uppercase;
  font-size: .85rem;
}

.event-date-badge-bottom .day {
  font-size: 1.3rem;
  line-height: 1;
}

/* Right main card */
.event-main-card {
  background: #000;
  border: 1px solid #333;
}

.event-date-box {
  border: 1px solid #fff;
  min-width: 80px;
  padding: .75rem 0;
  text-transform: uppercase;
  font-weight: 700;
}

.event-date-box .day {
  font-size: 1.4rem;
  line-height: 1;
}

.event-date-box .month {
  font-size: .85rem;
}

.event-meta {
  font-size: .85rem;
  color: #d9d9d9;
}

.event-title {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
}

.event-link {
  font-size: .9rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.event-link:hover {
  text-decoration: underline;
}

.event-divider {
  border-color: #333;
}

/* Button */
.uhas-events-btn {
  background: #00a651;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  padding: .9rem 1.5rem;
  border-radius: 0;
}

.uhas-events-btn:hover {
  background: #00863f;
  color: #fff;
}


/*  END: Event Section Style  */


/* START: Schools & Institutes Section  */
.uhas-schools {
    background-color: var(--bs-primary);
  color: #fff;
}

.uhas-schools-label {
  font-size: 1rem;
  font-weight: 500;
}

.uhas-schools-title {
  font-size: 2rem;
  font-weight: 800;
}

.school-logo-card {
  background: #ffffff;
  padding: 0.5rem;
  border-radius: 0.25rem;
  text-align: center;
  box-shadow: 0 0.35rem 1.4rem rgba(0, 0, 0, 0.15);
}

.school-logo-card img {
  display: block;
  max-width: 100%;
  height: auto;
}



/* END: Schools & Institutes Section  */




/* START:Hear from UHAS Section */

.uhas-hear {
  background: #ffffff;
}

.hear-video-thumb img {
  display: block;
  object-fit: cover;
}

/* Play button overlay */
.hear-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90px;
  height: 60px;
  border-radius: 12px;
  background: #00a651;
  color: #fff;
  font-size: 2.5rem;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hear-video-thumb:hover .hear-play-btn {
  background: #00843d;
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
}

/* Optional: soften edges of thumbnail */
.hear-video-thumb {
  border-radius: 6px;
}
.hear-video-thumb img {
  border-radius: 6px;
}


/* END:Hear from UHAS Section */






/* START:UHAS Footer */
.uhas-footer{
  background-color: var(--bs-primary);
}
.footer-top .region{
 padding:30px;
}
.footer-top li{
    display:block;
    width:100%;
}
.footer-top h2{
    color:#fff !important;
    font-size: 22px;
    line-height: 28px;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.footer-top  h5{
    color:#00923f;
    
}
 .footer-top  p{

    color:#fff !important;
}

.site-footer .nav{
    display: block !important;
    
}

.footer-top  .nav a{
    color: #ffffff !important;
    font-size:15px;
    
}

.footer-top .nav a:hover{
    color: #fff !important;
    /* color: #f3ec18 !important; */
     
    
}

.footer-top .footer-top {
  background-color: var(--bs-primary);
  color: #fff;
}

.footer-heading {
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.footer-links li + li {
  margin-top: 0.25rem;
}

.footer-links a {
  color: #f9f9f9;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-divider {
  border-color: rgba(255,255,255,0.35);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #fff;
  color: #fff;
  margin: 0 0.25rem;
  font-size: 1.1rem;
  text-decoration: none;
}

.footer-social a:hover {
  background: #fff;
  color: #00843d;
}

.footer-social-btn {
  border-width: 2px;
  border-radius: 0;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-logo-band {
  background: #ffffff;
}

.footer-logo {
  max-height: 70px;
}

.footer-bottom {
  background: #000;
  color: #f5f5f5;
}

/* END:UHAS Footer */




/* Start of Director Welcome Card */
.director-welcome-card{
  background:#f6f6f6;
  border-radius:18px;
  padding:32px 28px;
  box-shadow:0 10px 24px rgba(0,0,0,.18);
}

/* Title + text */
.director-title{
  color:#0b7a2f;            /* green heading like your design */
  font-weight:800;
  letter-spacing:.2px;
  margin:0;
}

.director-text{
  color:#111;
  font-size:22px;           /* big paragraph text like your design */
  line-height:1.65;
  margin:0;
}

/* Button */
.director-btn{
  border-radius:0;
  padding:14px 28px;
  font-size:24px;
  font-weight:700;
}

/* Circular portrait with soft ring */


.director-photo{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  display:block;
}

/* Mobile spacing tweaks */
@media (max-width: 767px){
  .director-welcome-card{ padding:24px 18px; }
  .director-text{ font-size:18px; }
  .director-btn{ font-size:20px; }
}

/*End of Director Welcome Card */


/*Start of News Feature */
.news-feature{
  padding-bottom:24px;
}

/* Image */
.news-image{
  width:100%;
  height:auto;
  object-fit:cover;
  border-radius:4px;
}

/* Title */
.news-title{
  color:#0b7a2f; /* UHAS green */
  font-size:32px;
  font-weight:800;
  line-height:1.25;
  margin-bottom:16px;
}

/* Excerpt */
.news-excerpt{
  font-size:20px;
  line-height:1.7;
  color:#111;
  margin-bottom:18px;
}

/* Meta */
.news-meta{
  font-size:18px;
  color:#6b6b6b;
  margin:0;
}

/* Divider */
.news-divider{
  margin-top:28px;
  border-top:2px solid #8b8b8b;
}

/* Responsive tweaks */
@media (max-width: 768px){
  .news-title{ font-size:26px; }
  .news-excerpt{ font-size:18px; }
}

/*End of News Feature */

.about-side .list-group-item {
    border: none;
}





