/* Header CSS Starts From Here */
@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova/proximanova-bold.woff2') format('woff2'), url('../fonts/proximanova/proximanova-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova/proximanova-semibold.woff2') format('woff2'), url('../fonts/proximanova/proximanova-semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova/proximanova-regular.woff2') format('woff2'), url('../fonts/proximanova/proximanova-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova/proximanova-light.woff2') format('woff2'), url('../fonts/proximanova/proximanova-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap
}

@font-face {
  font-family: 'Proxima Nova';
  src: url('../fonts/proximanova/proximanova-thin.woff2') format('woff2'), url('../fonts/proximanova/proximanova-thin.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap
}
/* CSS Variables Defines Below */
:root {
  --transition: all 0.3s ease-in-out;
  --mainfont: 'Plus Jakarta Sans';
  --btn-font: 'Google Sans';
  --pinyon-font: 'Pinyon Script';
  --menu-font: 'Proxima Nova';
  --white: #FFFFFF;
  --black: #000000;
  --mehroon-gradient: linear-gradient(180deg, #9F0203 0%, #9F0203 100%);
  --text-color: #2e2e2e;
  --background-grey: #f2f4f8;
  --font14: 1.4rem;
  --font16: 1.6rem;
  --font18: 1.8rem;
  --pl-pr-75: 0 7.5rem;
  --theme-color: #9e0203;
  --bg-theme: #9e0203;
  --bg-grey: #CACACA;
  --bg-secondary-theme: #eeeeee;
  --footer-bg-color: #0b0b0b;
}
header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    right: 0;
    z-index: 100;
    transition: var(--transition);
}

header .hd-logo {
    display: none;
}

header.scrolled .hd-logo {
    display: block;
}

header.scrolled .hd-white-logo {
    display: none;
}

header.scrolled {
    top: -3.3rem;
}

header.scrolled::before {
    content: "";
    background-color: rgba(255, 255, 255, 0.94);
}

header.scrolled .all-menus li a {
    color: var(--text-color);
}

header.scrolled .all-menus .faded-font li a {
    color: #898989;
}

header.scrolled .top-menus .header-social-icons li img {
    filter: invert(1);
}

header.scrolled .admission-helpline .admission-helpline-number p {
    color: var(--text-color);
    font-weight: 600;
}

header.scrolled .admission-helpline .cgcuet-logo img{
    filter: invert(1);
}

header.scrolled .admission-helpline .form-group a img {
    filter: invert(1);
}

header::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

header .header-top-bar {
    text-align: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9;
}

header .header-top-bar::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(86 86 86);
    opacity: 0.3;
}

header .header-top-bar p {
    font-size: 1.2rem;
    padding: 0.8rem 0;
    margin-bottom: 0;
    color: var(--white);
    position: relative;
}

header .container-fluid {
    padding: 0rem 3.5rem;
    position: relative;
}

header .header-logo {
    width: 15%;
    padding: 1.8rem 0;
}

header .header-logo a img {
    width: 200px;
}
.header-slider .slick-track {
  display: flex !important;
  align-items: center;   /* vertical centering */
  justify-content: center; /* horizontal centering */
}
.header-slider .slick-slide {
  display: flex !important;
  align-items: center;
  justify-content: center;
  height: auto; /* let content define height */
  text-align: center;
}
.header-slider p {
  margin: 0;
  max-width: 98%; /* prevents long text from spanning edge to edge */
}


.top-menus ul {
    margin-bottom: 0;
}

header .all-menus {
    font-family: var(--menu-font);
    width: 65%;
    align-items: baseline;
    padding: 3rem 3rem 0 0;
}

header .all-menus li {
    margin-right: 3rem;
}

header .all-menus li a {
    font-size: 1.4rem;
    color: var(--white);
    text-decoration: none;
    text-transform: uppercase;
    font-family: var(--btn-font);
    letter-spacing: 0.1rem;
    position: relative;
    line-height: 1.2;
    padding-bottom: 2.8rem;
}

header .top-menus .header-social-icons li img {
    transition: var(--transition);
}

header .top-menus .header-social-icons li img:hover {
    filter: brightness(0.6);
}

header .all-menus .bottom-menus li a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0.2rem;
    background-color: #fff;
    transition: var(--transition);
}

header .all-menus .bottom-menus li a:hover::before {
    width: 100%;
}

header .all-menus .bottom-menus li.active a::before {
    width: 100%;
}

header .all-menus li:last-child {
    margin-right: 0;
}

header .all-menus .top-menus {
    display: flex;
    margin-bottom: 3rem;
    width: 100%;
    justify-content: space-between;
}

header .all-menus .faded-font li a {
    color: #adadad;
    font-weight: 800;
}

header .all-menus .faded-font li a:hover {
    color: var(--white);
}

header.scrolled .all-menus .faded-font li a:hover {
    color: #252424;
}

header .bottom-menus {
    width: 100%;
}

header .bottom-menus ul {
    justify-content: space-between;
}

header .admission-helpline {
    width: 20%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    position: relative;
    padding-left: 2rem;
}

header .admission-helpline .form-group {
    position: relative;
}

header .admission-helpline .form-group a img {
    transition: var(--transition);
}

header .admission-helpline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 0.1rem;
    height: 100%;
    background-color: #FFFFFF;
    opacity: 0.2;
}

header .admission-helpline .admission-helpline-number p {
    color: #ffffff;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 0.4rem;
}

header .admission-helpline .admission-helpline-number a {
    font-size: 1.8rem;
    padding: 0 2rem;
}

header .admission-helpline .admission-helpline-number a::after {
    display: none;
}

header .admission-helpline .admission-helpline-number a:hover {
    border: 0.1rem solid var(--white);
    text-shadow: 0.1rem 0.1rem 1rem #870000;
}

header .mobile-toggle {
    display: none;
}

header .mb-toggle-data {
    display: none;
}

header .mega-menu h5 {
    font-size: 1.5rem;
    color: var(--theme-color);
    margin-bottom: 1.2rem;
    font-weight: 600;
}

header .mega-menu h6 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
}
header .mega-menu h6 a {
    color: var(--theme-color);
}

header .all-menus li:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

header .all-menus li .mega-menu ul li {
    margin-bottom: 0.7rem;
    margin-right: 2rem;
}

header .all-menus .mega-menu ul li a span {
    color: var(--theme-color);
}

header .all-menus .mega-menu ul li a::before {
    display: none;
}

header .mega-menu .mega-menu-bottom-bar {
    background-color: var(--theme-color);
    color: var(--white);
    padding: 1.6rem 0;
}

header .mega-menu .mega-menu-bottom-bar p.small {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

header .mega-menu .mega-menu-bottom-bar p {
    font-size: 1.5rem;
    margin-bottom: 0;
}
/* Base link styling */
header .all-menus .bottom-menus li a {
    position: relative;
    display: inline-block;
}

/* Hidden line by default */
header .all-menus .bottom-menus li a::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 0.2rem;
    background-color: #fff;
    transition: width 0.3s ease;
}

/* Show line on hover */
header .all-menus .bottom-menus li a:hover::before {
    width: 100%;
}

/* ALSO show line when mega menu is visible */
header .all-menus .bottom-menus li.dd-menu-lg:hover > a::before,
header .all-menus .bottom-menus li.dd-menu-lg:focus-within > a::before {
    width: 100%;
}
.apply-now-btn .btn {
    padding-bottom: 0;
    width: auto;
    display: inline-flex;
}

.navbar-nav {
    flex-direction: row;
    margin-right: auto;
}

.navbar-nav>:hover {
    opacity: 1;
}
.step-second-menu {
    position: absolute;
    top: 42px;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, .2);
    opacity: 0;
    visibility: hidden;
    -webkit-transition: .4s;
    -o-transition: .4s;
    transition: .4s;
    -webkit-transform: rotateX(90deg);
    -moz-transform: rotateX(90deg);
    -ms-transform: rotateX(90deg);
    transform: rotateX(90deg);
    -webkit-transform-origin: top center;
    -ms-transform-origin: top center;
    transform-origin: top center;
    overflow: hidden;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}
.allNotification button, .dd-menu-lg, .footer a, .header .nav-item>a {
    position: relative;
}
.step-second-menu .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
}
.step-first-menu>li:hover .step-second-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: rotateX(0);
    -moz-transform: rotateX(0);
    -ms-transform: rotateX(0);
    transform: rotateX(0);
}
.step-second-menu h4 {
    font-size: 14px;
    padding-bottom: 5px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
}
.step-second-menu li a {
    color: var(--black) !important;
    font-size: 12px;
    line-height: 15px;
    display: block;
    margin-top: 5px;
    padding-bottom: 4px !important;
    text-transform: capitalize !important;
    font-weight: 300;
}
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin)* 2);
}
.st-about {
    width: 860px;
    height: 354px;
}
.footer .g-info {
    color: #ff7171;
}
.t-info {
    font-size: 16px;
}
.g-info {
    font-weight: 400;
}
.menu__block.mehroon-bg .menu_inner_block p a {
    font-weight: 300;
    color: var(--black);
    display: block;
    margin-bottom: 8px;
    padding-bottom: 0 !important;
    text-transform: capitalize;
}
.menu__block.mehroon-bg .menu_inner_block p a span img {
    z-index: 9;
    position: relative;
}
.menu__block.mehroon-bg .menu_inner_block p a:hover {
    text-decoration: underline;
}
.st-programs {
    width: 1240px;
    height: 624px;
    left: -250px;
}
.st-academics {
    width: 612px;
    height: 395px;
    left: 0;
}
.st-admissions {
    width: 745px;
    max-height: 324px;
}
.st-campus {
    width: 550px;
    height: 373px;
}
.st-placements {
    width: 607px;
    height: 400px;
    right: -190px;
}
.st-research {
    width: 700px;
    height: 410px;
    right: 0;
}
.header_btn img {
    width: 40px;
    height: 40px;
}
.header_btn span {
    font-size: 18px;
    font-weight: 700;
    line-height: 20px;
}
.header_btn span small {
    font-size: 12px;
    line-height: 12px;
    font-weight: 400;
}
.st-admissions h3, .st-campus h3, .st-research h3 {
    font-size: 18px;
    margin: 0!important;
}
.dd--title span {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
.dd--title img {
    display: inline-block;
}
.dd-graphic-cont {
    background-color: var(--theme-color);
}
.dd-graphic-cont .col-6 {
    border: 1px solid rgba(255, 255, 255, .3);
    height: 120px;
}
.dd-graphic-cont .col-6:first-child {
    border-top: 0;
    border-left: 0;
}
.dd-graphic-cont .col-6:nth-child(2) {
    border-top: 0;
    border-right: 0;
    border-left: 0;
}
.dd-graphic-cont .col-6:nth-child(3) {
    border-top: 0;
    border-left: 0;
    border-bottom: 0;
}
.dd-graphic-cont .col-6:nth-child(4) {
    border: 0;
}
.program-drop-down-graphic {
    padding: 0 20px 20px;
}
.program-drop-down-graphic h3 span {
    color: var(--text-color-red);
    font-family: var(--menu-font);
}
.placement--ddNumbers .card {
    border-radius: 6px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    -ms-border-radius: 6px;
    -o-border-radius: 6px;
}
.placement--ddNumbers span h4 {
    margin: 0;
    color: var(--white);
    font-weight: 600 !important;
    font-size: 27px;
    line-height: 24px;
    font-family: var(--menu-font);
}
.placement--ddNumbers span small {
    color: var(--white);
    font-size: 11px;
    line-height: 1.2;
    display: block;
    margin-top: 5px;
}
.about-title {
    position: relative;
    color: #79152c;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 3px 3px 0 rgb(241 228 235), 1px 1px 0 rgb(255, 255, 255), 2px 2px 0 rgb(255, 255, 255), 3px 3px 0 rgb(255 255 155);
}
.about-title.custom-text{
    font-size: 25px;
}
.about-title span{
    font-size: 32px;
}
.progNos {
    width: 135px;
}
.progNos p {
    font-size: 12px;
    color: var(--white);
    line-height: 12px;
    margin: 0;
}
.drop-down-graphic h3 {
    text-align: center;
    color: var(--white);
    font-size: 18px;
    padding: 16px 30px 0;
    margin-bottom: 15px;
}
.progNos sub {
    bottom: 0;
    font-size: 13px;
}
.drop-down-graphic h3 span {
    display: block;
    color: #fad021;
    font-size: 23px;
    font-weight: 700;
}
.program-drop-down-graphic h3 {
    color: var(--text-white);
    font-size: 16px;
    line-height: 1.4;
}
.program-drop-down-graphic h3 span {
    color: #fad021;
    font-size: 28px;
    font-family: var(--menu-font);
    display: block;
    font-weight: 700;
}
.header.sticky, .placement--ddNumbers .card, .searchModal .red-bg {
    background: var(--theme-color);
}
.dd--title, .header .nav-item>a, .menu-options li a, .redbox-applynow h3 {
    color: var(--white);
}
.redbox-applynow {
    background-blend-mode: darken;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    padding-top: 15px;
    position: absolute;
    width: 100%;
    bottom: 0;
}
.redbox-applynow h3 {
    margin-bottom: 0;
    text-align: center;
}
.st-campus .dd--title {
    color: var(--white);
}
.placement--ddNumbers li span h4 div {
    font-size: 18px;
    display: inline;
}
.dd--title span i {
    font-size: 44px;
}
.program-drop-down-graphic.text-center h3 {
    text-align: left;
    margin-left: 8px;
}
.placement--ddNumbers.ri-ul li {
    float: left;
    width: 50%;
    margin-bottom: 18px;
}
.placement--ddNumbers.ri-ul li span {
    width: 88%;
    text-align: left;
}
.placement--ddNumbers.ri-ul li span small {
    line-height: 15px;
    display: block;
}
.header .nav-item {
    margin: 0 20px;
}
.header .nav-item>a {
    font-size: 15px;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 28px 0;
}
.footer .foot-img a {
    padding: 40px 0 !important;
    transition: .2s ease-in-out;
}
.footer .ftr-social-links ul li a {
    padding: 8px 0;
}
.footer .foot-img a:hover {
    padding: 40px 0 !important;
}
.footer a:hover, .header a:hover:not(.navbar-brand a, .header_btn a) {
    -webkit-mask-image: linear-gradient(-75deg, rgb(163 13 51 / 60%) 30%, #a30d33 50%, rgb(163 13 51 / 73%) 70%);
    -webkit-mask-size: 200%;
    animation: 1s infinite shine;
    -webkit-animation: 1s infinite shine;
    transition: .2s ease-in-out;
}

.menu-options li a:hover, .step-second-menu ul li a:hover {
    text-decoration: underline;
}
.header .nav-item.dd-menu-lg>a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    position: absolute;
    right: -15px;
    color: var(--text-white);
    font-size: 8px;
    font-weight: 400;
    top: 35px;
}
.menu__block {
    column-count: 3;
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-gap: 20px;
}
.menu_inner_block p {
    font-size: 12px;
    color: var(--bg-navyblue);
    text-transform: uppercase;
    margin-bottom: 0;
}
.step-second-menu li {
    margin-bottom: 5px;
    text-wrap: auto;
}
.menu-options {
    position: absolute;
    top: -38px;
    right: 100px;
}
.menu-options li {
    margin-left: 18px;
    line-height: 1.5;
}
.menu-options li a {
    /* text-transform: capitalize; */
    font-size: 12px;
}
.dd--title {
    font-size: 11px;
    line-height: 15px;
    text-align: center;
}
.menuTabs {
    margin: -15px -15px 10px 20px;
}
.menuTabs li {
    margin: 0!important;
}
.menuTabs li a {
    color: var(--text-dark)!important;
    padding: 15px 40px!important;
    height: 65px;
}
.all-menus svg {
    width: auto !important;
}
.st-programs {
    overflow-y: auto !important;
    max-height: 480px;
}
.st-programs {
    left: -330px;
}
.st-programs {
    width: 1100px;
    height: 640px;
}
header .mobile-toggle span {
    display: inline-block;
    width: 3.87rem;
    height: 0.26rem;
    background-color: var(--white);
    transition: var(--transition);
    right: 0;
    position: absolute;
}
.searchModal .modal-title {
  color: var(--white);
  margin-bottom: 0;
  line-height: 1.5;
}
.searchbar-input {
    width: 100%;
    background: var(--white);
    height: 36px;
    border-radius: 4px !important;
    padding: 0 15px;
    font-size: 14px;
    border: 0;
    outline: 0;
}
.searchModal .btn-close {
  background-color: var(--white);
  opacity: 1;
  right: 9px;
  position: relative;
}
.searchModal h5 {
  font-size: 2rem;
}
.searchModal .se-btn {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  line-height: 35px;
  background-color: var(--bg-grey);
  color: var(--black);
  width: 40px;
  text-align: center;
  border: 0;
  outline: 0;
  border-radius: 0 4px 4px 0;
  background-repeat: no-repeat;
  background-size: 16px;
  background-position: center;
}
.searchModal .modal-dialog {
  margin-top: 3.75rem !important;
}  
a#search-page-mob {
    cursor: pointer;
}
/* Header CSS Ends Here */
