@import url('https://fonts.cdnjs.com/css2?family=Poppins:wght@400;500;600;700&family=Montserrat:wght@400;600;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

.top-bar {
  background: linear-gradient(135deg, #1a237e, #0d47a1);
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: white;
}

.top-bar-right a {
  color: #fff;
  text-decoration: none;
  margin-left: 15px;
  transition: all 0.3s ease;
}

.top-bar-right a:hover {
  color: #ffd700;
}

.custom-logo {
  width: 130px;
  height: 130px;
  border-radius: 0px;
  box-shadow: none;
  animation: none;
  object-fit: contain;
}


.main-header {
  padding: 20px;
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.main-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(13, 71, 161, 0.1), rgba(25, 118, 210, 0.1));
  border-radius: 50%;
  transform: translate(150px, -150px);
  z-index: 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 25px;
  animation: slideInLeft 1s ease-out;
  position: relative;
  z-index: 1;
}

.logo {
  width: 130px;
  height: 130px;
  border-radius: 0px;
  box-shadow: none;
}

.college-info {
  max-width: 600px;
}

college-name {
  font-family: 'Montserrat', sans-serif;
  color: #ff0000;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.college-name {
  font-family: 'Montserrat', sans-serif;
  background: linear-gradient(135deg, #1a237e, #0d47a1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: 1px;
}


.college-subtext {
  font-family: 'Montserrat', sans-serif;
  color: #0d47a1;
  font-size: 20px;
  line-height: 1.5;
  font-weight: bold;
}

.college-subtext small {
  color: #666;
  font-size: 13px;
}

.contact-badge {
  display: flex;
  align-items: center;
  gap: 20px;
  animation: slideInRight 1s ease-out;
  position: relative;
  z-index: 1;
}

.contact-info {
  font-size: 15px;
  color: #333;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-info div {
  margin: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.excellence-badge {
  background: linear-gradient(135deg, #ffd700, #ff9800);
  color: #000;
  padding: 15px;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  transform: rotate(-10deg);
  animation: float 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.nav-menu {
  background: linear-gradient(135deg, #1a237e, #0d47a1);
  padding: 0 20px;
  display: flex;
  justify-content: center;
  gap: 20px;
  position: relative;
}

.nav-item {
  position: relative;
  padding: 15px 0;
}

.nav-item>a {
  color: white;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
  display: block;
}

.nav-item:hover>a {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: white;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.nav-item:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 12px 20px;
  color: #333;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 1px solid #eee;
}

.dropdown-item:first-child {
  border-radius: 8px 8px 0 0;
}

.dropdown-item:last-child {
  border-bottom: none;
  border-radius: 0 0 8px 8px;
}

.dropdown-item:hover {
  background: #f5f5f5;
  color: #0d47a1;
  padding-left: 25px;
}

.has-dropdown>a::after {
  content: '▼';
  font-size: 10px;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.has-dropdown:hover>a::after {
  transform: rotate(180deg);
}

.banner-buttons {
  display: flex;
  gap: 20px;
  margin-left: auto;
  margin-right: 40px;
  z-index: 1;
}

.banner-btn {
  padding: 10px 25px;
  background-color: #ff0000;
  color: white;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  animation: pulseButton 2s infinite;

  @keyframes pulseButton {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }

    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
    }

    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
  }

  @keyframes slideInLeft {
    from {
      opacity: 0;
      transform: translateX(-50px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes slideInRight {
    from {
      opacity: 0;
      transform: translateX(50px);
    }

    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  @keyframes float {

    0%,
    100% {
      transform: rotate(-10deg) translateY(0);
    }

    50% {
      transform: rotate(-10deg) translateY(-10px);
    }
  }

  .hero {
    margin-top: 0;
    position: relative;
    height: 500px;
    overflow: hidden;
  }

  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    height: 100%;
  }

  .slide {
    min-width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
  }

  /* Add animation for slider */
  @keyframes slideAnimation {
    0% {
      transform: translateX(0);
    }

    33.33% {
      transform: translateX(-100%);
    }

    66.66% {
      transform: translateX(-200%);
    }

    100% {
      transform: translateX(0);
    }
  }

  .slider {
    animation: slideAnimation 15s infinite;
  }

  .slider:hover {
    animation-play-state: paused;
  }

  /* Courses Section */
  .course {
    width: 80%;
    margin: auto;
    text-align: center;
    padding-top: 50px;
  }

  .course h1 {
    font-size: 36px;
    font-weight: 600;
    color: #c41e3a;
  }

  .course p {
    color: #777;
    font-size: 14px;
    font-weight: 300;
    line-height: 22px;
    padding: 10px;
    margin-bottom: 30px;
  }

  .row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .course-col {
    flex-basis: 31%;
    border-radius: 10px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    height: 400px;
  }

  .course-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }

  .layer {
    background: transparent;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.5s;
  }

  .layer:hover {
    background: rgba(196, 30, 58, 0.7);
  }

  .layer h3 {
    width: 100%;
    font-weight: 500;
    color: #fff;
    font-size: 26px;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    position: absolute;
    opacity: 0;
    transition: 0.5s;
  }

  .layer:hover h3 {
    bottom: 49%;
    opacity: 1;
  }

  @media(max-width: 700px) {
    .row {
      flex-direction: column;
    }

    .course-col {
      margin-bottom: 30px;
    }

    .course {
      width: 90%;
    }
  }

  /* Events Section */
  .events {
    padding: 4rem 2rem;
    background: white;
  }

  .event-list {
    max-width: 1200px;
    margin: 0 auto;
  }

  .event-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    margin-bottom: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    transform: translateX(-100px);
    opacity: 0;
    transition: all 0.5s ease-out;
  }

  .event-item.visible {
    transform: translateX(0);
    opacity: 1;
  }

  .news-section {
    padding: 4rem 1rem;
  }

  .news-section h2 {
    text-align: center;
    color: #1a237e;
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .news-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .news-content {
    padding: 1.5rem;
  }

  .news-content h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
  }

  .read-more {
    display: inline-flex;
    align-items: center;
    color: #1a237e;
    text-decoration: none;
    margin-top: 1rem;
  }

  .read-more:hover {
    text-decoration: underline;
  }

  @media (min-width: 768px) {
    .stats-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
    }

    .news-container {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
    }
  }

  @media screen and (max-width: 1200px) {
    .nav-menu {
      padding: 0 10px;
      gap: 10px;
    }
  }

  @media screen and (max-width: 992px) {
    .main-header {
      flex-direction: column;
      text-align: center;
      gap: 20px;
    }
  }

}

.banner-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(255, 0, 0, 0.3);
  animation: none;
}

@keyframes pulseButton {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
  }

  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 0, 0, 0);
  }

  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: rotate(-10deg) translateY(0);
  }

  50% {
    transform: rotate(-10deg) translateY(-10px);
  }
}

.hero {
  margin-top: 0;
  position: relative;
  height: 500px;
  overflow: hidden;
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
  height: 100%;
}

.slide {
  min-width: 100%;
  height: 500px;
  background-size: cover;
  background-position: center;
}

/* Add animation for slider */
@keyframes slideAnimation {
  0% {
    transform: translateX(0);
  }

  33.33% {
    transform: translateX(-100%);
  }

  66.66% {
    transform: translateX(-200%);
  }

  100% {
    transform: translateX(0);
  }
}

.slider {
  animation: slideAnimation 15s infinite;
}

.slider:hover {
  animation-play-state: paused;
}

/* Courses Section */
.course {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}

.course h1 {
  font-size: 36px;
  font-weight: 600;
  color: #c41e3a;
}

.course p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
  margin-bottom: 30px;
}

.row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.course-col {
  flex-basis: 31%;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  height: 400px;
}

.course-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.layer {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 0.5s;
}

.layer:hover {
  background: rgba(196, 30, 58, 0.7);
}

.layer h3 {
  width: 100%;
  font-weight: 500;
  color: #fff;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}

.layer:hover h3 {
  bottom: 49%;
  opacity: 1;
}

@media(max-width: 700px) {
  .row {
    flex-direction: column;
  }

  .course-col {
    margin-bottom: 30px;
  }

  .course {
    width: 90%;
  }
}

/* Events Section */
.events {
  padding: 4rem 2rem;
  background: white;
}

.event-list {
  max-width: 1200px;
  margin: 0 auto;
}

.event-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #f5f5f5;
  border-radius: 8px;
  transform: translateX(-100px);
  opacity: 0;
  transition: all 0.5s ease-out;
}

.event-item.visible {
  transform: translateX(0);
  opacity: 1;
}

.news-section {
  padding: 4rem 1rem;
}

.news-section h2 {
  text-align: center;
  color: #c41e3a;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.news-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.read-more {
  display: inline-flex;
  align-items: center;
  color: #1a237e;
  text-decoration: none;
  margin-top: 1rem;
}

.read-more:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  .news-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (max-width: 1200px) {
  .nav-menu {
    padding: 0 10px;
    gap: 10px;
  }
}

@media screen and (max-width: 992px) {
  .main-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
}

/* Hamburger Menu Button */
.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
  position: absolute;
  right: 15px;
  top: 15px;
  z-index: 1000;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 15px;
  height: 3px;
  background: #1a237e;
  margin: 5px 0;
  transition: 0.3s;
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {

  /* Show hamburger on mobile */
  .hamburger {
    display: block;
  }

  .top-bar {
    flex-direction: column;
    text-align: center;
    padding: 5px 10px;
  }

  .top-bar-right {
    margin-top: 10px;
  }

  /* Main header adjustments */
  .main-header {
    flex-direction: column;
    text-align: center;
    padding: 15px;
  }

  .logo-section {
    flex-direction: column;
    align-items: center;
  }

  .college-name {
    font-size: 24px;
  }

  .banner-buttons {
    margin: 15px 0;
  }

  .contact-badge {
    flex-direction: column;
    align-items: center;
  }

  /* Mobile Navigation Menu */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #1a237e;
    flex-direction: column;
    padding: 80px 20px 20px;
    transition: 0.3s;
    overflow: visible;
    overflow-y: auto;
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    margin: 5px 0;
    width: 100%;
  }

  .nav-item>a {
    padding: 12px 15px;
    display: block;
    width: 100%;
  }

  /* Mobile Dropdowns */
  .dropdown {
    position: absolute;
    opacity: 100%;
    visibility: visible;
    background: #000966;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-item.active .dropdown {
    max-height: 500px;
  }

  .dropdown-item {
    padding: 12px 25px;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Adjust arrow indicators */
  .has-dropdown>a::after {
    float: right;
    margin-top: 8px;
  }
}

/* Additional responsive adjustments */
@media screen and (max-width: 768px) {
  .logo {
    width: 130px;
    height: 130px;
  }

  .college-subtext {
    font-size: 13px;
  }

  
        .custom-logo {
            width: 120px;
            height: 120px;
        }
}

/* Footer part starts from here */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  line-height: 1.5;
  font-family: 'Popins', sans-serif;
}

.footer {
  width: 100%;
  background: linear-gradient(135deg, #1a237e, #0d47a1);
  padding: 60px 0 0 0;
  position: absolute;
}

.container {
  max-width: 1170px;
  margin: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
}

ul {
  list-style: none;
}

.footerCol {
  width: 25%;
  padding: 0 15px;
}

.footerCol h4 {
  font-size: 18px;
  color: #ffffff;
  text-transform: capitalize;
  margin-bottom: 35px;
  font-weight: 600;
  position: relative;
}

.footerCol h4::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  background-color: #e91e63;
  height: 2px;
  box-sizing: border-box;
  width: 50px;
}

.footerCol ul li:not(:last-child) {
  margin-bottom: 10px;
}

.footerCol ul li a {
  font-size: 16px;
  /* text-transform: capitalize; */
  color: #ffffff;
  text-decoration: none;
  color: #bbbbbb;
  display: block;
  font-weight: 300;
  transition: all 0.3s ease;
}

.footerCol ul li a:hover {
  color: #ffffff;
  padding-left: 5px;
}

.footerCol .socialLinks a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  width: 40px;
  background-color: rgba(255, 255, 255, 0.2);
  margin: 0 10px 10px 0;
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.5s ease;
  margin-top: 10px;
  font-size: 20px;
  text-decoration: none;
}

.contactUs {
  margin-left: auto
}

.map {
  margin-top: 70px;
}

.footerCol .socialLinks a:hover {
  color: #24262b;
  background-color: #ffffff;
}

hr {
  width: 80%;
  border: 0;
  border-bottom: 1px solid #ccc;
  margin-top: 40px;
  margin-left: auto;
  margin-right: auto;
}

.copyright {
  text-align: center;
  color: white;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: lighter;
  font-size: 13px;
}

.container iframe {
  width: 100%;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1) 0 10px 10px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  overflow: hidden;
}

/* Now for responsive */

@media(max-width : 1170px) {
  .footerCol {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media(max-width : 574px) {
  .footerCol {
    width: 100%;
  }
}

@media(max-width : 1170px) {
  .contactUs {
    margin-left: 0px;
  }

  .map {
    margin-top: 30px;
  }
}