* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
}

.gstn {
  color: #1E3A8A;
}

.bg-primary {
  background-color: #171647 !important;
  border-bottom: 2px solid #fff;
}
.bg-dark{
    background: #171647 !important;
}

.text-primary {
  color: #003f87 !important;
}

.btn-danger {
  color: #fff !important;
  background: #ca0407 !important;
}

.navbar-light .navbar-nav .nav-link {
  color: rgb(255 255 255) !important;
  font-weight: 500 !important;
  font-size: 16px;
}

.navbar-nav .nav-item .nav-link:hover {
  color: red !important;
}

.translater_column {
  /* padding-top: 2rem; */
  justify-content: end;
  gap: 1rem;
}

.top_buttons {
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.top_buttons span {
  border: none;
  padding: 3px 8px;
  color: #fff;
}

.extra_nav_menu {
  min-width: 50rem !important;
  background-image: url(../../assets/Menu_bar.png);
  object-fit: cover;
  width: max-content;
}

.banner_btn {
  padding: 5px 20px;
  border-radius: 31px;
  border-color: #0078B0;
  color: #0078B0;
  font-weight: 600;
}

.carousel-caption {
  position: absolute;
  right: 3%;
  bottom: 1.25rem;
  left: 3%;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: #fff;
  text-align: center;
}

.banner_btn i {
  font-size: 22px;
  rotate: -35deg
}

.banner-content {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .banner-content {
    flex-direction: column;
    top: 7rem;
  }
}


.dropdown-item {
  text-decoration: none !important;
}

.dropdown-item:focus,
.dropdown-item:hover {
  color: #ffffff !important;
  background-color: #3c4459 !important;
}

/* section 2 css */

.carousel-inner {
  height: 55vh;
}

@media screen and (max-width: 767px) {
  .carousel-inner {
    height: 100%;
  }
}



/* Left: News Section */
.news-section {
  background: #dde7f3;
  border-radius: 8px;
  padding: 20px;
  border: 1px solid #00275c;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-title {
  font-size: 30px;
  font-weight: 600;
  color: #00275c;
  margin-bottom: 20px;
}

.news-card {
  display: flex;
  align-items: flex-start;
  /* margin-bottom: 20px; */
  border-bottom: 1px solid #e5e7eb;
  /* padding-bottom: 15px; */
  justify-content: space-between;
}

.news-card:last-child {
  border-bottom: none;
}

.news-card img {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
  margin-left: 15px;
}

.news-info h6 {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: #111827;
}

.news-info small {
  color: #6b7280;
  display: block;
}

.load-more {
  text-align: center;
  margin-top: auto;
}

.load-more a {
  color: #be000b;
  font-weight: 600;
  text-decoration: none;
}

/* Right: Admissions Card */
.admission-card {
  background: #f3d5ce;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  border: 1px solid #be000b;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.admission-card .badge {
  background: #fff;
  color: #be000b;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 10px;
  border: 1px solid #be000b;
}

.admission-card h5 {
  color: #00275c;
  font-weight: 600;
  margin-top: 10px;
  font-size: 24px;
}

.admission-card p {
  font-size: 0.9rem;
  color: #374151;
  margin-bottom: 20px;
}

.admission-links {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
}

.admission-links .card {
  background: #fff;
  border-radius: 6px;
  display: flex;
  padding: 20px 30px;
  text-align: left;
  align-items: baseline;
  justify-content: center;
  transition: all 0.3s ease;
}

.admission-icon {
  padding: 9px 25px;
  font-size: 45px;
  color: #007BFF;
}

.admission-links .card:hover {
  background: #be000b;
  color: #fff;
}

.admission-links a {
  text-decoration: none;
  color: #00275c;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.admission-links .card:hover a {
  color: #fff;
}

.admission-card .btn {
  background: #be000b;
  border: none;
  width: 100%;
  font-weight: 600;
  transition: 0.3s;
}

.admission-card .btn:hover {
  background: #9a0009;
}

@media (max-width: 992px) {

  .news-section,
  .admission-card {
    height: auto;
  }
}

/* section 3 css */
.whats-new-section {
  /* padding: 40px 0; */
  position: relative;
}

/* Heading with dot and line */
.whats-new-title {
  font-weight: 600;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, rgba(18, 33, 76, 1) 35%, rgba(47, 100, 255, 1) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  width: 100%;
  font-size: 1.80rem;
}

.blue-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #00275c;
  border-radius: 50%;
  margin: 0 8px;
  position: relative;
}

.whats-new-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background-color: #b5b5b5;
  /* thin gray line */
  position: relative;
  top: 0;
}


/* =======================
       MAIN NEWS LEFT COLUMN
    ======================== */
.main-news-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  height: 90%;
}

.main-news-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #00275c;
}

.main-news-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  color: white;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

.main-news-overlay .info-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.main-news-overlay .badge {
  background: #007bff;
  font-size: 0.8rem;
  width: auto;
  padding: 5px 10px;
}

.main-news-overlay small {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  color: #f1f1f1;
}

.main-news-overlay h5 {
  margin-top: 8px;
  font-weight: 500;
  font-size: 1.1rem;
}


/* =======================
       RIGHT COLUMN CONTENT
    ======================== */
.side-news-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  transition: transform 0.3s;
}

.side-news-item:hover {
  transform: translateY(-3px);
}

.side-news-img img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #00275c;
}

.side-news-top small {
  color: rgb(10, 10, 10);
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;

}

.technology {
  background: rgba(138, 56, 245, 1);
}

.industry {
  background: rgba(0, 147, 106, 1);
}

.ai {
  background: rgba(255, 174, 80, 1);
}

.fa-regular {
  font-size: 20px;
}

.side-news-content h6 {
  font-size: 0.95rem;
  margin-top: 5px;
}

/* section 4 css */

.stats-section {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(to right, #003366, #0066ff);
  color: white;
  padding: 20px 20px;
  border-radius: 10px;
  text-align: center;

  box-sizing: border-box;
}

.stat-box {
  flex: 1 1 200px;
  margin: 15px;
  min-width: 200px;
  box-sizing: border-box;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.stat-box i {
  font-size: 24px;
  color: rgba(30, 58, 138, 1);
  background: white;
  padding: 10px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 30px;
}

.star-count {
  font-weight: 800;
}

.stat-box h2 {
  font-size: 28px;
  margin: 0;
  display: inline-block;
  text-align: left !important;
}

.stat-box p {
  font-size: 12px;
  margin: 0%;
  text-align: left;

}

/* Responsive Design */
@media (max-width: 768px) {
  .stats-section {
    flex-direction: row;
    padding: 20px 10px;
  }

  .stat-box {
    margin: 20px 0;
    width: 100%;
  }
}

/* section 5 css */
.dept-card {
  position: relative;
  overflow: hidden;
  border: 2px solid;
  border-image: linear-gradient(90deg,
      rgb(232 204 23) 0%,
      rgb(37 21 219) 75%,
      rgba(149, 0, 255, 0.54) 100%) 1;
  height: 250px;
  /* Uniform height */
  width: 100%;

}

.dept-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ensures uniform coverage */
  transition: transform 0.3s ease-in-out;
}

.dept-card:hover img {
  transform: scale(1.05);
}

.dept-label {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
    background-color: #c50406;
    color: #ffffff;
  padding: 5px 15px;
  cursor: pointer;

  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
}

.row.g-0 {
  margin: 0;
  gap: 0;
}

.col {
  padding: 0;
}

/* section 6 css */

/* Section background and layout */
.research-section {
  background-image: url("../img/Research.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #003366;
  background-color: #00bcd40d;

}

.research-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  flex-wrap: wrap;
  gap: 40px;
  /* background: rgba(255, 255, 255, 0.8); */
  border-radius: 12px;
  padding: 40px;
  /* box-shadow: 0 8px 24px rgba(0,0,0,0.1); */
}

/* Left side: buttons grid */
.research-areas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 16px;
  flex: 1 1 45%;
}

.research-areas button {
  background: #fff;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #003366;
  text-align: left;
  transition: all 0.3s ease;
  cursor: pointer;
  height: 80px;
}

.research-areas button:hover {
  border-color: #0052cc;
  color: #0052cc;
  box-shadow: 0 4px 10px rgba(0, 82, 204, 0.1);
}

.research-areas .active-button:hover {
  border-color: #0052cc;
  color: #000;
  box-shadow: 0 4px 10px rgba(0, 82, 204, 0.1);
}

.research-areas .active {
  background: #0052cc;
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 82, 204, 0.3);
}

/* Right side: image area */
.research-image {
  position: relative;
  flex: 1 1 45%;
  text-align: center;
}

.laptop-img {
  position: relative;
  width: 100%;
  max-width: 480px;
  z-index: 1;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.laptop-img:hover {
  transform: scale(1.05);
}

/* Explore button */
.explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #070707;
  border-radius: 30px;
  padding: 0px 26px;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  margin-top: 30px;
  transition: all 0.3s ease;
  overflow: visible;
  /* IMPORTANT */
  position: relative;
}

.explore-btn span {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #0052cc;
  color: #fff;
  border-radius: 50%;
  width: 43px;
  height: 43px;
  font-size: 24px;
  margin-right: -27px;
  transition: 0.3s;
}

/* Hover effect */
.explore-btn:hover {
  background-color: transparent;
  /* Keep clean */
  color: #000;
}

.explore-btn:hover span {
  background-color: #000;
  color: #0052cc;
}


/* Responsive design */
@media (max-width: 992px) {
  .research-container {
    flex-direction: column;
    text-align: center;
    padding: 40px 20px;
  }

  .research-areas {
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .research-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  .research-areas {
    grid-template-columns: 1fr;
  }

  .research-section {
    padding: 60px 20px;
  }

  .research-container {
    padding: 30px 20px;
  }

  .laptop-img {
    max-width: 300px;
  }
}

@media (max-width: 480px) {
  .research-areas button {
    font-size: 13px;
    padding: 12px;
  }

  .explore-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

/* section 7css */
/* new one */
.admissions-banner {
  position: relative;
  background:
    linear-gradient(rgb(4 40 75 / 66%), rgb(14 41 69 / 87%)),
    url('../img/banner1.png');
  /* use your background image */
  background-size: cover;
  background-position: center;
  border-radius: 14px;
  padding: 70px 25px;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

/* Optional glowing circles (decoration) */
.admissions-banner::before,
.admissions-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(60px);
  z-index: 0;
}

.admissions-banner::before {
  width: 150px;
  height: 150px;
  top: 10%;
  left: -50px;
}

.admissions-banner::after {
  width: 200px;
  height: 200px;
  bottom: -50px;
  right: -70px;
}

/* Text content */
.banner-content-new {
  position: relative;
  z-index: 1;
}

.banner-content-new h2 {
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
}



/* Button */
.apply-btn-new {
  display: inline-block;
  padding: 10px 24px;
  background-color: #fff;
  color: rgba(0, 120, 176, 1);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid rgba(0, 120, 176, 1);
  box-shadow: rgba(0, 120, 176, 1) 0px 1px 2px, rgba(0, 120, 176, 1) 0px 2px 4px, rgba(0, 120, 176, 1) 0px 4px 8px, rgba(0, 120, 176, 1) 0px 8px 16px, rgba(0, 120, 176, 1) 0px 16px 32px, rgba(0, 120, 176, 1) 0px 32px 64px;
}

.apply-btn-new:hover {
  background-color: #007bff;
  color: #fff;
}


/* footer section css */
footer {
  color: #fff;
  padding: 60px 20px 20px;
  position: relative;
  background-image: url('../img/banner3.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgb(14 41 69 / 79%);
  z-index: -1;
}

footer .footer-content {
  position: relative;
  z-index: 2;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 15px;
}

footer p,
footer a {
  color: #fff;
  font-size: 14px;

}

footer a:hover {
  text-decoration: underline;
  color: #fff;
}

.footer-contact i {
  margin-right: 8px;
  color: #fff;
}

.social-icons a {
  display: inline-block;
  width: 35px;
  height: 35px;
  line-height: 35px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  text-align: center;
  margin: 5px;
  transition: 0.3s;
}

.social-icons a:hover {
  background: #fff;
  color: #012a52;
}

.footer-bottom {

  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #fff;
}

.back-to-top {
  border: 1px solid white;
  position: absolute;
  right: 20px;
  bottom: 20px;

  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  text-align: center;
  line-height: 35px;
  transition: 0.3s;
}

.back-to-top:hover {
  background: #fff;
  color: #012a52;
}

/* Responsive */
@media (max-width: 768px) {
  footer .col-md-3 {
    text-align: center;
    margin-bottom: 30px;
  }

  .back-to-top {
    right: 10px;
    bottom: 10px;
  }
}




/* media querry */
/* ------------------------------
   RESPONSIVE HEADER FIXES
--------------------------------*/

/* Topbar: make two columns stack */
@media (max-width: 992px) {
  .topbar .row>.col-md-6 {
    text-align: center;
    margin-bottom: 10px;
  }

  .top_buttons {
    justify-content: center;
    padding: 4px 0;
  }
}

/* Language + accessibility buttons
----------------------------------*/
@media (max-width: 992px) {
  .translater_column {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }
}

/* Logo center and resize */
@media (max-width: 768px) {
  .main_logo img {
    max-width: 160px;
    margin: 0 auto;
    display: block;
  }
}

/* Search bar full width */
@media (max-width: 768px) {
  .search_bar {
    width: 100%;
    padding: 10px 0;

  }

  .search-box {
    width: 100%;
  }

  .search-box input {
    width: 100% !important;
  }
}

/* Home icon adjust for mobile */
@media (max-width: 768px) {
  .home_icon {
    font-size: 28px;
  }
}

/* Navbar padding + font resize */
@media (max-width: 992px) {
  .navbar-nav .nav-link {
    font-size: 18px !important;
    padding: 8px 10px;
  }
}

/* Mega dropdown responsiveness */
@media (max-width: 992px) {
  .extra_nav_menu {
    min-width: 100% !important;
  }

  .extra_nav_menu .row>div {
    margin-bottom: 20px;
  }
}

/* Prevent overflow on mobile */
@media (max-width: 768px) {

  header,
  .topbar,
  .navbar {
    overflow-x: hidden !important;
  }
}

/* ===== 1024px FIX ===== */
@media (max-width: 1024px) {

  /* Top row */
  .top_buttons {
    padding: 5px 5px;
    flex-wrap: wrap;
  }

  .translater_column {
    justify-content: end;
    gap: 10px;
  }

  /* Search bar */
  .search-box input {
    width: 260px !important;
  }

  .home_icon {
    font-size: 30px;
  }

  /* Navbar */
  .navbar-nav .nav-link {
    font-size: 18px !important;
  }

  .extra_nav_menu {
    min-width: 100% !important;
  }
}

/* ===== 768px FIX ===== */
@media (max-width: 768px) {

  /* GST + top buttons column stack */
  .topbar .row>.col-md-6 {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }

  .top_buttons {
    justify-content: center;
    flex-wrap: wrap;
    padding: 6px 0;
  }

  /* Logo center */
  .main_logo img {
    max-width: 150px;
    display: block;
    margin: 0 auto;
  }

  /* Language + A buttons */
  .translater_column {
    justify-content: center !important;
    flex-wrap: wrap;
    gap: 8px !important;
  }

  /* Search area full width */
  .form_field {
    flex-wrap: wrap;
    justify-content: center;
  }

  .search-box {
    width: 100%;
    justify-content: center;
  }

  .search-box input {
    width: 100% !important;
    max-width: 350px;
  }

  /* Navbar size smaller */
  .navbar-nav .nav-link {
    font-size: 17px !important;
  }

  /* Dropdown full width */
  .extra_nav_menu {
    min-width: 100% !important;
  }

  .extra_nav_menu .row>div {
    width: 100% !important;
  }
}


.about_card li {
  list-style: none;
}

.about_card li a {
  text-decoration: none;
  color: #333;
}

.about_card li a:hover {
  color: red;
  text-decoration: underline;
}


.parallax {
  /* Replace with your image */
  background-image: url('https://images.unsplash.com/photo-1506905925346-21bda4d32df4?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');

  min-height: 600px;
  height: 80vh;

  /* Parallax effect */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

  /* Flexbox to center content */
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Dark overlay for text readability */
.parallax::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* Caption text */
.parallax-caption {
  position: relative;
  z-index: 2;
  text-align: center;
  color: white;
}

.parallax-caption h1 {
  font-size: 4.5rem;
  font-weight: 800;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

.parallax-caption p {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* Regular content section */
.content-section {
  padding: 100px 0;
  background: #f8f9fa;
}

/* Mobile fallback - most mobile browsers disable background-attachment: fixed */
@media (max-width: 767.98px) {
  .parallax {
    background-attachment: scroll;
    background-position: center center;
  }

  .parallax-caption h1 {
    font-size: 2.8rem;
  }

  .parallax-caption p {
    font-size: 1.2rem;
  }
}

.about_card {
  border: none !important;
}

.about_card .card-body {
  position: relative;
  /* border-right: 2px dotted #ff0000; */
}

.about_card .card-body::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 97px;
  background: #cfcfcf;
  right: 0;
  top: 50px;
}

.about_card .card-title {
  color: #ff0000;
}



/* logo slider */

.logo-slider {
  overflow: hidden;
  white-space: nowrap;
}

.slide-track {
  display: inline-flex;
  animation: scroll 20s linear infinite;
}

.slide-track .slide {
  padding: 0 20px;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}