:root {
    --primary: #740426;
    --secondary: #FFA300;
    --dark: #222222;
    --light: #808080;
    --light1: #4B4C4C;
    --bg-light: #F4FAFD;
}
.breadcrumbs ul li:first-child, .breadcrumbs ul li:last-child, ul.vision-sub {
    padding-left: 0;
}
table, td, th {
    padding: 7px 5px;
}
.dept img, .dept-head img, .faculty1 img, .sub-page-content img, .subpage-banner {
    object-fit: cover;
}
.sub-page-content img{
    max-height: 500px;
}
.subpage-banner {
    height: 340px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    background-position: center;
    border-bottom: 5px solid var(--secondary);
}
.subpage-banner::before {
    background: linear-gradient(to top, #000000e6 0, #00000000 100%);
    background-repeat: no-repeat;
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
}
.sub-page-content::after, .sub-page-content::before {
    background-repeat: no-repeat;
    background-size: cover;
    opacity: .5;
    height: 115px;
    width: 115px;
    position: absolute;
}
.sub-banner-content {
    color: var(--dark);
    /* z-index: 99; */
    position: absolute;
    bottom: 50px;
}
.breadcrumbs ul li, .contact-pg, .dept, .map-main, .sub-page-content, ul.vision-sub {
    position: relative;
}
.sub-banner-content h2 {
    font-weight: 600;
    color: #fff;
    font-size: 34px;
    text-align: left;
}
.address-sub a:hover, .breadcrumbs ul li, .breadcrumbs ul li a:hover, .contact-details a:hover, .dept-head a:hover, .error-page-content a, .faculty1 a:hover, .sub-page-side-menu ul li.active a {
    color: var(--secondary);
}
.sub-page-side-menu ul li a.selected_page{
    color: var(--secondary);
}
.sub-page-content-area {
    margin-bottom: 50px;
}
.sub-page-content p {
    margin-bottom: 30px;
}
.breadcrumbs {
    display: flex;
}
.breadcrumbs ul li {
    font-weight: 400;
    padding: 0 33px;
    font-size: 17px;
}
.breadcrumbs ul li::before {
    position: absolute;
    background-position: left;
    bottom: 0;
    left: -22px;
    content: '\f101'!important;
    font-family: fontAwesome;
    font-size: 16px;
    color: #fff!important;
}
.breadcrumbs ul li:first-child::before {
    content: none!important;
}
.breadcrumbs ul li a {
    color: #fff;
    font-weight: 400;
}
.contact-details a, ul.vision-sub li {
    color: var(--light);
}
.sub-page-content {
    padding: 60px 0;
}
.sub-page-content::before {
    background-image: url(../img/grade.gif);
    left: 0;
    top: 20px;
    content: ''}
.sub-page-content::after {
    background-image: url(../img/board.gif);
    right: 35px;
    bottom: 0;
    content: ''}
.divider {
    border-bottom: 1px solid #ccc;
    margin: 40px 0;
}
ul.vision-sub li {
    list-style: none;
    padding: 5px 0 5px 40px;
    line-height: 26px;
}
ul.vision-sub li::before {
    position: absolute;
    left: 0;
    font-family: "Font Awesome 5 Free";
    content: "\f138";
    display: inline-block;
    padding-right: 3px;
    vertical-align: middle;
    font-size: 18px;
    font-weight: 900;
    color: var(--primary);
}
table {
    margin-bottom: 20px;
}
table, td, th {
    border: 1px solid var(--primary);
}
th {
    background: var(--primary);
    color: #fff;
    font-weight: 500;
}
td {
    color: var(--dark_blue);
}
.accordion {
    background-color: var(--primary);
    color: #fff;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: 0;
    font-size: 18px;
    transition: .4s;
    margin-bottom: 5px;
    text-transform: capitalize;
}
.address-sub, .address-sub i, .dept {
    text-align: center;
}
.accordion.active, button.accordion.active, button.accordion:hover {
    background-color: var(--secondary);
}
.panel {
    padding: 10px 5px;
    display: none;
    background-color: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height .3s;
}
.accordion.active+.panel {
    display: block;
    max-height: 500px;
}
button.accordion:after {
    content: '\002B';
    color: #fff;
    font-weight: 700;
    float: right;
    margin-left: 5px;
}
button.accordion.active:after {
    content: "\2212"}
.sub-page-side-menu {
    height: auto;
    margin-bottom: 30px;
}
.sub-page-side-menu-title {
    background: var(--secondary);
    color: var(--dark);
    padding: 20px 30px;
    border-radius: 10px 10px 0 0;
}
.contact-pg, .dept img {
    background-size: cover;
    background-position: center;
}
.sub-page-side-menu h3 {
    margin: 0;
    font-size: 20px;
}
.sub-page-side-menu ul {
    padding: 10px 20px;
    margin-bottom: 0;
    background-color: var(--bg-light);
}
.sub-page-side-menu li {
    background-color: var(--bg-light);
    border-bottom: 1px solid #ccccccc9;
    padding: 10px 0;
    /* height: 60px; */
    list-style: none;
    margin-bottom: 5px;
    position: relative;
    display: flex;
    align-items: center;
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
}
.sub-page-side-menu li:hover {
    padding-left: 10px;
}
.sub-page-side-menu li a:hover, .sub-page-side-menu li:hover a {
    color: var(--primary);
}
.sub-page-side-menu li:last-child {
    border-bottom: none;
}
.sub-page-side-menu li a {
    color: var(--dark);
    font-weight: 500;
}
.contact-pg {
    background-image: url(../img/social-bg.jpg);
    background-repeat: no-repeat;
}
.contact-details {
    margin-bottom: 40px;
}
.contact-page h5 {
    font-size: 28px;
    font-weight: 600;
}
.address-sub a, .connect p span {
    font-weight: 400;
}
.contact-page p {
    margin-bottom: 5px;
}
.contact-page .contact-icon {
    border: 1px solid var(--light);
    width: 110px;
    height: 110px;
    border-radius: 100px;
    justify-content: center;
    display: flex;
    align-items: center;
    margin: 0 auto 20px;
}
.contact-page .contact-icon img {
    height: 50px;
    width: auto;
    object-fit: cover;
    border-radius: 0;
    margin: 0;
}
.blog-details img, .contact-form, .faculty-single ul, .map-main p {
    margin-bottom: 30px;
}
.contact-sub input[type=submit] {
    background-color: var(--primary);
    color: #fff;
    padding: 12px 20px;
    margin: 7px 0;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    height: 50px;
    z-index: 99;
    text-transform: capitalize;
}
.contact-sub input[type=submit]:hover {
    background: var(--secondary);
    background: var(--primary);
}
.contact-sub input[type=text], .contact-sub input[type=email], .contact-sub input[type=tel], .contact-sub textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ccc!important;
    border-radius: 5px;
    box-sizing: border-box;
    z-index: 99;
    margin-bottom: 15px;
}
.contact-sub input[type=text]:focus {
    outline: 0!important;
    border: none!important;
}
.address-sub {
    padding: 20px 5px;
    margin-bottom: 20px;
    min-height: 190px;
    border-radius: 5px;
}
.connect {
    padding: 0 15px;
}
.address-sub i {
    color: #fff;
    margin: 0 auto 10px;
    display: block;
    font-size: 25px;
}
.address-sub p {
    margin-bottom: 0;
    font-size: 15px;
    line-height: 24px;
    color: #fff;
}
.address-sub a {
    margin-top: 7px;
    color: #fff;
    font-size: 15px;
}
.address-sub h4 {
    font-size: 22px;
}
.contact-top-sub {
    background: var(--primary);
    color: #fff;
}
.dept-name, .faculty1 h6 span {
    color: var(--dark);
}
.address-sub ul {
    padding: 0;
}
.address-sub ul li {
    list-style: none;
    line-height: 30px;
}
.contact-sub input:focus, .contact-sub textarea:focus {
    border: none;
    outline: 0!important;
}
.form-control:focus {
    color: #212529;
    background-color: #fff;
    border: 1px solid #ccc!important;
    outline: 0;
}
.blog, .faculty {
    border-radius: 5px;
}
.map-main {
    background: #fff;
    z-index: 99;
}
.map-main h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}
.contact-sub-form h4 {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #fff;
}
.dept {
    cursor: pointer;
    margin-bottom: 25px;
    justify-content: center;
    display: flex;
}
.dept-head, .faculty1 {
    margin-bottom: 30px;
    box-shadow: 0 10px 50px 0 rgba(26, 46, 85, .1);
    text-align: center;
}
.dept h5 {
    font-size: 20px;
    font-weight: 600;
}
.dept img {
    height: 250px!important;
    margin: 0 auto 20px;
    display: block;
}
.dept-name {
    position: absolute;
    background: #fff;
    bottom: 25px;
    width: 95%;
    padding: 15px;
    transition: .3s ease-in-out;
    -webkit-transition: .3s ease-in-out;
    -moz-transition: .3s ease-in-out;
    -ms-transition: .3s ease-in-out;
    -o-transition: .3s ease-in-out;
}
.blog, .latest1 h4 {
    background-color: var(--bg-light);
}
.dept-name:hover {
    background-color: var(--secondary);
    color: #fff!important;
    cursor: pointer;
}
.dept h6 {
    background: var(--bg-light);
    font-size: 13px;
    padding: 3px 14px;
    margin-right: 10px;
    border-radius: 7px;
    color: #fff;
}
.dept-head {
    padding: 30px;
}
.dept-head img {
    height: 250px;
    width: 250px;
    margin: 0 auto 30px;
    display: block;
    max-width: 250px;
}
.dept-head h3, .faculty1 h3 {
    font-size: 20px;
}
.dept-head h5, .dept-head h6 {
    color: var(--grey1);
}
.dept-head h4, .faculty1 h4, .latest1 h4 {
    color: var(--primary);
}
.dept-head h4 {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 19px;
}
.dept-head h5, .dept-head h6 {
    font-weight: 400;
    font-size: 15px;
}
.dept-head h6{
    word-break: break-all;
}
.dept-head a, .faculty1 a {
    font-size: 17px;
    font-weight: 600;
}
.dept-head h6 span {
    color: var(--dark);
    font-weight: 600;
}
.news-sub {
    padding: 30px 0;
    margin-top: 50px;
}
.achievements-sub .achievements-content {
    border-radius: 5px 0 0 5px;
}
.achievements-sub img {
    border-radius: 0 5px 5px 0;
}
.faculty1 {
    padding: 30px;
}
.faculty1 img {
    height: 200px;
    width: 180px;
    margin: 0 auto 30px;
    display: block;
    max-width: 180px;
}
.blog img, .latest-news img {
    max-width: 100%;
    object-fit: cover;
}
.border {
    border-bottom: 1px solid #cccccc1a!important;
    margin: 15px 0;
}
.faculty1 h4 {
    margin-bottom: 10px;
    font-size: 18px;
}
.faculty1 h5 {
    font-size: 16px;
}
.faculty1 h6 {
    font-weight: 500;
    font-size: 15px;
}
.faculty {
    padding: 20px 15px;
    min-height: 400px;
}
.faculty img {
    height: 170px;
    width: auto;
}
.blog {
    padding: 20px;
    margin-bottom: 30px;
}
.blog img {
    height: 200px;
    background-position: center;
    background-size: cover;
}
.blog-info {
    padding: 20px 10px;
}
.blog h6 {
    font-size: 17px;
}
.blog1 img {
    height: auto!important;
}
.blog .read-more:hover {
    color: var(--secondary)!important;
}
.blog-details h6 {
    margin-bottom: 15px;
}
.blog-details1 {
    padding-right: 50px;
}
.latest {
    background-color: #fff;
}
.latest1 {
    background: 0 0;
    box-shadow: 0 10px 50px 0 rgba(26, 46, 85, .1);
    border-radius: 10px;
    padding: 0;
}
.latest1 h4 {
    font-weight: 700;
    border-bottom: 3px solid var(--secondary);
    padding: 15px 20px;
}
.latest-news {
    padding: 10px 10px 10px 20px;
    margin-bottom: 10px;
    align-items: center;
}
.latest-news img {
    height: 65px;
    width: auto;
    margin: 0;
}
.latest-news h5 {
    font-size: 16px;
    margin: 0;
}
.latest-news h6 {
    font-size: 14px;
    margin: 0;
}
.latest-news a:hover {
    color: var(--primary)!important;
    letter-spacing: 1px;
}
.latest-news-info {
    padding: 5px 10px;
}
.latest-news .read-more {
    font-weight: 400;
    font-size: 14px;
    color: var(--light);
}
.grid figure.effect-dexter {
    border: none;
    background: var(--primary)!important;
}
.grid figure.effect-dexter img {
    -webkit-transition: opacity .35s;
    transition: opacity .35s;
}
.grid figure.effect-dexter:hover img {
    opacity: .4;
}
.grid figure.effect-dexter figcaption {
    padding: 40px 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.grid figure.effect-dexter figcaption::after {
    position: absolute;
    right: 20px;
    bottom: 30px;
    left: 20px;
    height: -webkit-calc(50% - 30px);
    height: calc(50% - 30px);
    border: 7px solid #fff;
    content: '';
    -webkit-transition: -webkit-transform .35s;
    transition: transform .35s;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
    display: none;
}
.grid figure.effect-dexter:hover figcaption::after {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}
.grid figure.effect-dexter h2 {
    position: absolute;
    bottom: 90px;
}
.grid figure.effect-dexter p {
    right: 0;
    left: 0;
    bottom: 60px;
    top: auto;
    text-align: center;
}
.error-page-main {
    border-top: 1px solid #ccc;
    background-image: url(../img/background-img.jpg);
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
}
.error-page-main::before {
    background-color: rgba(0, 0, 0, .74);
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
}
.error-page {
    align-items: center;
    justify-content: center;
    display: flex;
}
.error-page h3 {
    font-size: 24px;
    color: var(--dark);
}
.error1 {
    text-align: center;
    z-index: 999999;
}
.error-page-content h2 {
    font-size: 130px;
    font-weight: 700;
    color: #fff;
    line-height: 120px;
}
.error-page-content h3 {
    font-size: 30px;
    font-weight: 700;
    color: #fff;
}
.error-page-content p {
    color: #fff!important;
}
.error-page-content button {
    margin: 0 auto!important;
}
.error-page-content a:hover {
    color: #fff;
}
.placements-carousel .owl-nav {
    display: flex !important;
    justify-content: center;
    gap: 10px;
    bottom: -55px;
    position: absolute;
    right: 0;
    left: 0;
}
 .placements-carousel .owl-nav .owl-prev, .placements-carousel .owl-nav .owl-next{
      background: var(--primary);
      width: 35px;
      height: 35px;
      border-radius: 10px;
      text-align: center;
      align-items: center;
      justify-content: center;
      display: flex;
      transition: all 0.3s ease-in-out;
      -webkit-transition: all 0.3s ease-in-out;
      -moz-transition: all 0.3s ease-in-out;
      -ms-transition: all 0.3s ease-in-out;
      -o-transition: all 0.3s ease-in-out;
  }
  .placements-carousel .owl-nav i {
    color: var(--secondary);
  }
  .placements-carousel .owl-nav .owl-prev:hover, .placements-carousel .owl-nav .owl-next:hover{
      background-color: var(--secondary);
  }
  .placements-carousel .owl-nav .owl-prev:hover i, .placements-carousel .owl-nav .owl-next:hover i{
      color: white !important;
  }
  /* .placements .owl-nav .owl-prev {
    position: absolute;
    left: -40px;
  } */
   /* .placements .owl-nav .owl-next {
    position: absolute;
    left: 40px;
  } */
.innercontent-wrap{
    margin-bottom: 30px;
}
@media (max-width:768px) {
    .error-page img {
    height: 250px;
}
.error-page-content h2 {
    font-size: 90px;
    line-height: 90px;
}
.error-page-content h3 {
    font-size: 23px;
}
}@media (max-width:576px) {
    .error-page img {
    height: 150px;
}
.error-page-content h2 {
    font-size: 50px;
    line-height: 50px;
}
.error-page-content h3 {
    font-size: 18px;
}
.error-page-content p {
    display: none;
}
}.sowb-button {
    background-color: var(--primary)!important;
    border-color: var(--primary)!important;
}
.sowb-button:hover {
    background-color: var(--secondary)!important;
    border-color: #f8b729!important;
}
.sow-tabs .sow-tabs-tab {
    background-color: var(--primary)!important;
    border-radius: 4px;
    font-weight: 500;
    color: #fff!important;
}
.sow-tabs .sow-tabs-tab:hover {
    background-color: var(--secondary)!important;
    color: #fff!important;
}
.sow-tabs .sow-tabs-panel {
    padding: 15px;
    background-color: #eeeffa;
    border: 1px solid #ddd;
    border-radius: 5px;
}
.sow-tabs-tab-container {
    background-color: #ffff!important;
}
.sow-tabs .sow-tabs-tab.sow-tabs-tab-selected {
    background-color: var(--secondary)!important;
    color: #fff;
}
.sow-accordion .sow-accordion-panel-header {
    background-color: var(--primary)!important;
}
.sow-accordion .sow-accordion-panel-content {
    padding: 15px;
    background-color: #eeeffa!important;
    border-top: 1px solid #ddd;
}
.sow-accordion .sow-accordion-panel-border {
    background-color: #eeeffa!important;
}
.sow-accordion .sow-accordion-title {
    font-weight: 500;
}
.gallery-outer figure.effect-dexter {
    margin-right: 10px!important;
    margin-bottom: 10px!important;
}
.wp-block-button__link {
    background-color: var(--primary);
    color: #fff;
    border: none;
    padding: .75em 1.5em;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: .3s;
}
.wp-block-button__link:hover {
    background-color: var(--secondary);
    color: #fff!important;
}
.sub-page-content-area h2.section-title {
    font-size:  28px;
    font-weight:  500;
}



/* ===== Complaint / Query Form Styling ===== */
.complaint-form {
  background: #ffffff;
  padding: 40px 50px;
  border-radius: 16px;
  max-width: 850px;
}

.complaint-form h3 {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 25px;
  text-align: center;
  border-bottom: 3px solid var(--secondary);
  display: inline-block;
  padding-bottom: 6px;
}

/* Labels */
.complaint-form label {
  font-weight: 600;
  color: #333;
  font-size: 15px;
  margin-bottom: 6px;
}

/* Input, select, textarea */
.complaint-form input[type="text"],
.complaint-form input[type="email"],
.complaint-form input[type="tel"],
.complaint-form select,
.complaint-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #f9f9f9;
}

.complaint-form input:focus,
.complaint-form select:focus,
.complaint-form textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(255, 163, 0, 0.2);
  background-color: #fff;
  outline: none;
}

/* Row spacing */
.complaint-form .row {
  margin-bottom: 18px;
}

/* Textarea height */
.complaint-form textarea {
  height: 120px;
  resize: vertical;
}

/* Submit Button */
.complaint-form input[type="submit"] {
  background-color: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 28px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(116, 4, 38, 0.2);
}

.complaint-form input[type="submit"]:hover {
  background-color: var(--secondary);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(255, 163, 0, 0.3);
}

/* Field and label alignment */
/*.complaint-form .col-md-3 {*/
/*  text-align: right;*/
/*}*/
@media (max-width: 991px) {
  .complaint-form .col-md-3 {
    text-align: left;
  }
}

/* Responsive layout */
@media (max-width: 768px) {
  .complaint-form {
    padding: 30px 25px;
  }

  .complaint-form .row {
    display: block;
  }

  .complaint-form .col-md-3 {
    margin-bottom: 6px;
  }

  .complaint-form .col-md-8 {
    width: 100%;
  }
}