@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400..700;1,400..700&display=swap');

html {
  scroll-behavior: smooth;
}
body {
  line-height: 1;
}
ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*, *:before, *:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

@media (min-width: 320px) and (max-width: 768px) {
  /* line 19, src/assets/scss/generic/_generic.box-sizing.scss */
  html {
    font-size: 88%;
  }
}

*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

html {
  font-family: "Open Sans", sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

body {
  margin: 0;
   font-family: "Open Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1.4;
  color: #333;
  text-align: left;
  background-color: #f9f9f9;
}

[tabindex="-1"]:focus:not(:focus-visible) {
  outline: 0 !important;
}

hr {
  -webkit-box-sizing: content-box;
          box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.938rem;
  font-family: "Montserrat", sans-serif;
}

/* line 101, node_modules/bootstrap/scss/_reboot.scss */
p {
  margin-top: 0;
  margin-bottom: 1rem;
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1350px;
    }
}

/* ---------------------------------------- */
.theme-color {
  color: #522670;
}
.theme-color-02 {
  color: #e3032c;
}
.theme-bg-color {
  background-color: #522670;
}
.theme-bg-color-02 { 
  background-color: #e3032c;
}
.theme-rounded {
  border-radius: 1rem;
}
.theme-border-02{
  border-color: #e3032c !important;
}
.libre-fonts {
    font-family: "Libre Baskerville", serif;
}
.header-logo img {
  max-height: 60px;
  width: auto;
}
.theme-btn-02 {
    color: #fff;
    background-color: #e3032c;
    border-color: #e3032c;
}

/* ----- numbers-grid ----- */

.numbers-grid .number-item p{
    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
}
.numbers-grid .number-item h2{
    font-size: 72px;
    font-weight: 800;
}
.numbers-grid .number-item{
    z-index: 1;
    color: #fff;
}
.numbers-grid.red-bg-number::before{
  background: #e3022d;
}
.numbers-grid.black-bg-number::before{
  background: #000;
}
.numbers-grid.purple-bg-number::before{
  background: #532570;
}
.numbers-grid.blue-bg-number::before{
  background: #446ca9;
}
.numbers-grid .number-item::after{
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: #f9f9f9;
    bottom: 0;
    right: 0;
    border-radius: 40px 0px 0px 0px;
}
.numbers-grid::before{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    opacity: 0.7;
}
.numbers-grid:after{
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: #f9f9f9;
    top: 0;
    left: 0;
    border-radius: 0px 0px 40px 0px;
} 
.numbers-grid{
    aspect-ratio: 1;
    position: relative;
    display: grid;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    border-radius: 2px;
    overflow: hidden;
}


/* ----- Banner section ----- */

.banner-section{
    position: relative;
    background:linear-gradient(107deg, black 50%, transparent);
    overflow: hidden;
}
.banner-section::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: url(../images/kk-banner.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left 51% bottom -6em;
    pointer-events: none;
}
.banner-section::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: url(../images/back.webp);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
    filter: contrast(1.5);
}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  border-bottom: 1px solid rgb(255 255 255 / 10%);
  background: rgb(0 0 0 / 70%);
}
header .navbar-nav .nav-link:hover {
    color: #ccc !important;
}
header .navbar-nav .nav-link {
    color: #ffffff !important;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 17px;
    padding: 0 15px;
    transition: 0.3s;
}
header.scrolled {
    background: #522670;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: background 200ms, box-shadow 200ms;
    border-color: #522670;;
}

/* Programme Offerered Section */

.programme-offered button::after{
    text-align: center;
    content: '-';
    position: absolute;
    font-size: 24px;
    right: 10px;
    font-weight: 300;
    line-height: 22px;
    width: 22px;
    height: 22px;
    background: rgb(0 56 153 / 24%);
    border-radius: 50px;
}
.programme-offered button.collapsed::after{
  content: '+';
  transition: 0.2s;
  line-height: 22px;
  background: rgb(255 255 255 / 24%);
}
.programme-offered button.collapsed:hover{
  color: #ccc;
}
.programme-offered button.collapsed{
  background-color: rgb(255 255 255 / 5%);
  color: #eee;
}
.programme-offered button{
    transition: 0.3s;
    position: relative;
    background-color: #e3032c;
    border: 0;
    width: 100%;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    text-align: left;
}
.programme-offered .courses-list:hover {
    background: rgb(255 255 255 / 9%);
}
.programme-offered .courses-list {
    padding: 15px 10px 15px;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    transition: 0.3s;
}
.programme-offered button:focus{
  outline: none;
  box-shadow:none;
}
.Industrial-and-International-Collaboration .Industrial-and-International-Collaboration-content img{
    height: 80px;
    object-fit: contain;
}

.Industrial-and-International-Collaboration .Industrial-and-International-Collaboration-content{
    position: absolute;
    bottom: 0px; 
    right: 0;
    background: #fff;
    max-width: 600px;
    box-shadow: 0px 0px 10px 0px rgb(0 0 0 / 31%);
    width: 90%;
}
.Industrial-and-International-Collaboration .Industrial-and-International-Collaboration-img{
    width: 80%;
    position: relative;
    top: -0px;
    box-shadow: 70px -70px 0px #522670;
}
.Industrial-and-International-Collaboration{
  position: relative;
}
.Placements_Overview_main{ 
    background: url(../images/colllegeboy.webp) #522670;
    background-position: left -3% bottom -2em;
    background-repeat: no-repeat;
    background-size: auto 100%;
}

.apply-now-btn{
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #e3022d;
    text-align: center;
    display: block;
    color: #ffffff;
    font-size: 20px;
    padding: 10px 10px;
    font-weight: 600;
    text-transform: uppercase;
    z-index: 9;
}


.box-hover-effect, #form_box {
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.box-hover-effect:hover {
  -webkit-box-shadow: 0 5px 10px #e3032c;
          box-shadow: 0 5px 10px #e3032c !important;
  -webkit-transform: translateY(-5px);
          transform: translateY(-5px);
  transition: all 0.3s ease;
}
/* Reveal sections */
.effect {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  will-change: transform, opacity;
}
/* When in view */
.effect.active {
  opacity: 1;
  transform: none;
}

/* Specific Animations */
.fade-in {
  transform: translateY(40px);
}

.slide-left {
  transform: translateX(-60px);
}

.zoom-in {
  transform: scale(0.8);
}

.flip-up {
  transform: rotateX(90deg);
  transform-origin: bottom;
}

.slide-right {
  transform: translateX(60px);
}

.flip-down {
  transform: rotateX(-90deg);
  transform-origin: top;
}

.fade-up {
  transform: translateY(40px);
  opacity: 0;
}

/* Activated states (reuse .active for all) */
.effect.slide-right.active,
.effect.flip-down.active,
.effect.fade-up.active {
  transform: none;
  opacity: 1;
}

/* Activated states */
.effect.fade-in.active,
.effect.slide-left.active,
.effect.zoom-in.active,
.effect.flip-up.active {
  transform: none;
}

/* ----- Scholar Search Programme ----- */

.scholar-search-programme .tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 20px;
}

.scholar-search-programme .tab-btn {
  padding: 15px 20px;
  border-radius: 5px;
  background: #522670;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
  font-weight: 600;
}

.scholar-search-programme .tab-btn:hover {
  background: #e3032c;
  color: #fff;
}

.scholar-search-programme .tab-btn.active {
  background: #e3032c;
  color: #fff;
}

.scholar-search-programme .tab-content {
  background: #f9f9fc;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.scholar-search-programme .tab-pane {
  display: none;
}

/* show active tab */
.scholar-search-programme .tab-pane.active {
  display: block;
}

.scholar-search-programme .tab-pane h3 {
  color: #522670;
  margin-bottom: 10px;
}

.scholar-search-programme .tab-pane p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.scholar-search-programme .tab-pane ul {
  margin: 15px 0 20px 20px;
  padding: 0;
  list-style: disc;  
}

.scholar-search-programme .tab-pane ul li {
  margin-bottom: 8px;
  font-size: 14.5px;
  line-height: 1.6;
  color: #444;
}

@media (max-width: 768px) {

  .scholar-search-programme .tabs {
    gap: 8px;
  }

  .scholar-search-programme .tab-btn {
    padding: 10px 15px;
  }

  .scholar-search-programme .tab-content {
    padding: 20px 15px;
    text-align: left;
  }

  .scholar-search-programme .tab-pane h3 {
    font-size: 18px;
  }

  .scholar-search-programme .tab-pane p,
  .scholar-search-programme .tab-pane ul li {
    font-size: 14px;
  }
}

.labs-box:hover .labs-box-content h4{
  color: #fff;
}
.labs-box .labs-box-content h4{
    color: #fff;
    font-weight: 600;
    font-size: 20px;
}
.labs-box .labs-box-content{
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background:linear-gradient(0deg, rgb(0 0 0 / 67%) 20%, rgb(255 255 255 / 0%) 50%);
    display: grid;
    align-items: end;
}
.labs-box .labs-box-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
}
.labs-box .labs-box-img{
  height: 350px;
}
.labs-box{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    max-width: 400px;
    margin: auto;
}
.btn-wrap button:hover{
  border-color:#333 ;
}
.btn-wrap button:hover{
  opacity: 1;
}
.btn-wrap button{
    opacity: 0.4;
}
.btn-wrap button{
  box-shadow: none;
  border: 2px solid #333;
  width: 50px;
  height: 50px;
  background: transparent;
  border-radius: 50%;
  transition: 0.3s;
}

.top-placement .top-placement-content .top-placement-content-company img{
  max-height: 40px;
}
.top-placement .top-placement-content .top-placement-content-company{
    padding: 10px 10px;
    border-radius: 5px;
    background: #fff;
    height: 50px;
}
.top-placement .top-placement-content .top-placement-content-name{
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}
.top-placement .top-placement-content{
    position: relative;
    background: #e3032c;
}
.top-placement .top-placement-thumbnail img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: grayscale(1) contrast(1.1);
}
.top-placement .top-placement-thumbnail{
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(45deg, rgb(0 56 153 / 24%), rgb(225 87 45 / 13%));
    aspect-ratio: 1;
}
.top-placement{
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}
.gallery-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-img{
    margin: 5px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 5px rgb(0 0 0 / 33%);
    aspect-ratio: 1;
}

/* ------- why-choose-section ------- */

/* Accordion */
.why-choose-section .choose-acc-item {
  border-top: 1px solid #000;
}

.why-choose-section .choose-acc-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 0;
    cursor: pointer;
}

.why-choose-section .choose-num {
  font-size: 60px;
  color: #e6e6e6;
  font-weight: 700;
}

.why-choose-section .choose-acc-header h3 {
  flex: 1;
  font-size: 22px;
  font-weight: 600;
  margin: 0;
}

.why-choose-section .choose-arrow {
  font-size: 24px;
  transition: transform .3s ease;
}

.why-choose-section .choose-acc-item.is-open .choose-arrow {
  transform: rotate(90deg);
}

/* Body layout */
.why-choose-section .choose-acc-body {
  display: none;
  padding: 0 0 40px 90px;
  max-width: 90%;
}

.why-choose-section .choose-acc-item.is-open .choose-acc-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

/* Text */
.why-choose-section .choose-acc-body p {
  flex: 1;
  font-size: 15px;
  line-height: 1.7;
  color: #555;
  margin: 0;
  width: 60%;
}

/* Images */
.why-choose-section .choose-images {
    Display: flex;
    gap: 16px;
    flex-wrap: wrap;
    width: 40%;
    justify-content: center;
}

.why-choose-section .choose-images img {
        width: 40%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid gainsboro;
    max-width: 40%;
    aspect-ratio: 1;
}

/* Responsive */
@media (max-width: 991px) {
  .why-choose-section .choose-acc-header h3{
    font-size: 17px;
  }
  .why-choose-section .choose-acc-body p {
    width: 100%;
  }
  .why-choose-section .choose-acc-body {
    padding-left: 0;
  }

  .why-choose-section .choose-acc-item.is-open .choose-acc-body {
    flex-direction: column;
  }

  .why-choose-section .choose-images {
    width: 100%;
    justify-content: start;
  }
}

/* ------- Global-Experience ------- */

.global-experience .tab-text {
    margin-top: 18px;
    display: inline-block;
}

.global-experience .content-row {
    display: flex;
    align-items: stretch;
    gap: 20px;
}

.global-experience .tabs {
    display: flex;
    gap: 12px;
}

.global-experience .left-tabs {
    justify-content: flex-end;
}
.global-experience .right-tabs {
    justify-content: flex-start;
}

.global-experience .tab {
    /* 🔥 equal size */
    height: 500px;
    width: 60px;

    writing-mode: vertical-rl;
    transform: rotate(180deg);

    background: #d4d5d7;
    border-radius: 14px;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    transition: 0.3s;
    color: #333;

    /* center content */
    display: flex;
    align-items: center;
    justify-content: center;
}

.global-experience .tab:hover {
    background: #b8c1d6;
}
.global-experience .tab.active {
    background: #b8c1d6;
}

/* Plus Icon */
.global-experience .plus {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.tab.active .plus {
    background: #484848;
    color: #fff;
}

.global-experience .image-card {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 2 / 1;
}

.global-experience .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.global-experience .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.2));
    color: #fff;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.global-experience .overlay h3 {
    font-size: 84px;
    margin-bottom: 15px;
}

.global-experience .overlay p {
    max-width: 420px;
    font-size: 26px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .global-experience .content-row {
        flex-direction: column;
        gap: 16px;
    }

    .global-experience .image-card {
        border-radius: 18px;
    }

    .global-experience .overlay {
        padding: 24px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.35));
    }

    .global-experience .overlay h3 {
        font-size: 38px;
        font-weight: 700;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .global-experience .overlay p {
        font-size: 15px;
        line-height: 1.5;
        max-width: 100%;
    }

    /* Tabs layout */
    .global-experience .tabs {
        flex-direction: column;
        gap: 12px;
    }

    /* Mobile tabs */
    .global-experience .tab {
        width: 100%;
        height: auto;
        min-height: 64px;
        justify-content: left;
        writing-mode: horizontal-tb;
        transform: none;
        padding: 12px 14px;
        background: #e3e6ee;
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .global-experience .tab-text {
        margin-top: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .global-experience .plus {
        position: static;
        width: 24px;
        height: 24px;
        font-size: 14px;
        margin-left: 10px;
        background: #fff;
    }

    .global-experience .tab.active {
        background: #424242;
        color: #fff;
    }

    .global-experience .tab.active .plus {
        background: #fff;
        color: #424242;
    }
}

.global-experience .image-card {
    overflow: hidden;
}

.global-experience .image-card img {
    transition:
        transform 1s ease-in-out,
        opacity 1s ease-in-out;
    transform: translateX(0);
    opacity: 1;
}

.global-experience .image-card.slide-rl img {
    transform: translateX(120px);
    opacity: 0;
}

@media screen and (min-width: 1440px) {
  .container-fluid{
    max-width: 1400px;
  } 
}
@media screen and (min-width: 992px) and (max-width: 1199px) { 
    header .navbar-nav .nav-link{
      font-weight: 400;
      font-size: 12px;
      padding: 10px 5px !important;
    }
}

@media screen and (max-width: 992px) {
  .banner-section::after {
    background-size: contain;
    background-position: left 1% bottom -6em;
  }
  .Placements_Overview_main {
        background: #522670;
  }
  .navbar{
    background-color: #522670;
  }
  header .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }
}
@media screen and (max-width: 767px) {
  
  .numbers-grid .number-item p{
      font-size: 18px;
      font-weight: 700;
  }
  .numbers-grid .number-item h2{
      font-size: 42px;
      font-weight: 700;
  }
  .top-placement .top-placement-content .top-placement-content-name{
      font-size: 14px;
      font-weight: 600;
  }
  .top-placement .top-placement-content .top-placement-content-company p{
      white-space: nowrap;
  }
  .top-placement .top-placement-content .top-placement-content-company img{
      max-height: 22px;
  }
  .top-placement .top-placement-content .top-placement-content-company{
      padding: 5px 5px;
      height: 30px;
  }
  .programme-offered button{
    font-weight: 500;
    font-size: 18px;
  }
  .header-logo img {
      max-height: 55px;
  }
  .Industrial-and-International-Collaboration .Industrial-and-International-Collaboration-img{
    top: 0px;
    width: 100%;
    box-shadow: 0px -30px 0px 10px #522670;
  }
  .Industrial-and-International-Collaboration .Industrial-and-International-Collaboration-content{
    left: 5%;
    position: relative;
    top: -60px;
  }
  .banner-section::after{
      background-size: 260px;
      background-position: right -10% top 8em;
  }
  .heading-03{
    font-size: 3.142857rem !important;
  }
  .heading-01 {
    font-size: 28px !important;
  }
  .heading-02 {
    font-size: 22px !important;
  }
  header .navbar-nav .nav-link {
    padding: 10px 0 !important;
  }
}

/*Top Recruiters carousel*/
.recruiters-of-distinction-carousel .item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruiters-of-distinction-carousel img {
  width: 160px;      /* set same width */
  height: 80px;     /* set same height */
  object-fit: contain;  /* keeps logo aspect ratio */
  background: #fff;
}

/*icon color*/
#about-srmuh svg path,
#about-srmuh svg {
  fill: #e3032c;   /* yellow */
  stroke: #e3032c; /* for stroke-based icons */
}

footer ul li a{
  display: block;
  padding: 5px 0px;
}
footer a:hover, footer ul li a:hover {
  color: #e3032c;
  text-decoration: none;
}
footer a, footer ul li a{
  color: #fff;
}