/* Header Strip
.headStrip {
    background: #fbfaf6;
    padding: 15px 0;
    text-align: center;
} */
/* .topStrip .flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}


.flex-header {
    display: flex;
    align-items: center;
    justify-content: start;
    max-width: 1200px;
    margin: auto;
    padding: 0 15px;
}

.logo img {
    height: 120px;
    width: auto;
}

.title {
    margin-left: 15px;
    text-align: left;
}

.title img {
    width: 100%;
    max-width: 750px;
}

.bottombar {
    height: 3px;
    width: 100%;
    max-width: 780px;
}

.headertext {
    font-size: 1rem;
    font-weight: bold;
    padding-left: 10px;
} 
.planeText {
    text-decoration: none;
    color: black;
}

.planeText:hover {
    color: #e3e2dd;
}

.textleft { text-align: left; }
.textright { text-align: right; }
.textcenter { text-align: center; } */

/* Default Styles (Laptops and Large Desktops) */
.topStrip {
  color: #e35328;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
}

.topStrip .planeTextWhite {
  margin-top: -15px;
  padding: 0;
  line-height: 10px;
  text-align: center;
  padding-bottom: 5px;
}

.planeTextWhite {
  text-decoration: none;
  color: #e35328;
  transition: color 0.3s ease;
}

.planeTextWhite:hover {
  color: #fc3e04;
}

.header-container {
 
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-right: 20px;
  padding-left: 20px;
  box-sizing: border-box;
}
/* Add box-shadow when navbar is hidden */
.shadow-header {
  
  position: sticky;
  top: 0;
  z-index: 10;
  background: white;

  box-shadow: 0px 4px 10px rgba(248, 3, 3, 0.966);
}


.logo {
  width: 75px;
  height: auto;
}

.menu-icon {
  cursor: pointer;
}

.title-name {
  font-family: 'Lato', sans-serif;
  font-weight: 650;
  font-size:  100px;
  text-align: center;
  flex-grow: 1;
  background: linear-gradient(to bottom, #F54545, #FE691E, #FF8A05, #C35214, #FF6347);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: -2px -2px 4px rgba(226, 22, 22, 0.3);
}

/* Responsive Design */
.spire-text {
  display: block;
}

/* Mobile (Portrait) 320px – 600px */
@media screen and (max-width: 600px) {
  .logo {
      width: 40px; /* Reduce size by 50% */
  }

  /* .menu-icon {
      width: 50%; Reduce size by 50%
  } */


  .title-name {
      font-size: 2rem; /* Reduce size by 50% */
  }

  .topStrip .planeTextWhite {
      padding-top: 10px;
      line-height: 20px;
  }

  .spire-text {
    display: none;
  }
}

/* Tablets (Portrait) 601px – 1024px */
@media screen and (max-width: 1024px) and (min-width: 601px) {
  .logo {
      width: 50px; 
  }

  /* .menu-icon {
      width: 65%; Reduce size by 35%
  } */

  .title-name {
      font-size: 4rem; /* Reduce size by 35% */
  }

  .topStrip .planeTextWhite {
      line-height: 20px;
  }

  .spire-text {
    display: none;
  }
}

/* Laptops and Small Desktops 1025px – 1280px */
/* Maintain the current design */

/* Large Desktops 1281px – 1440px */
/* Maintain the current design */


/* Responsive Layout divisions
1. Mobile (Portrait): 320px –  600px. 
2. Tablets (Portrait): 601px – 1024px. 
3. Laptops and Small Desktops: 1025px – 1280px. 
4. Large Desktops: 1281px – 1440px.  */


/* Navbar General Styling */
#nav_bar {
  background-color:  #aa1515; /* #b72e2e; */
  /* background: linear-gradient(90deg, orange, rgb(255, 238, 192));
  
  background-image: repeating-linear-gradient(45deg, #f06880, rgb(244, 133, 107) 50%, #f06880 100%);
  background-size: 200% 200%;
  animation: gradientWave 5s linear infinite; */
  width: 100%;
  /* padding: 10px 0; */
  position: relative;
  top: 0;
  z-index: 99;
}

/* Navbar Menu */
.nav-menu {
  list-style: none;
  padding: 10px;
  display: flex;
  flex-direction: row; /* Default: horizontal layout for laptops */
  width: 100%;
  justify-content: space-between;
}

/* Navbar Items */
.nav-menu li {
  position: relative;
  padding: 5px;
}

/* Navbar Links */
.nav-menu a {
  color: white;
  text-decoration: none;
  display: block;
  font-size: 16px;
  font-weight: 600;
}

/* Active Menu Item */
.nav-menu .active {
  background-color: #ff9800;
  border-radius: 5px;
}

/* Hide Submenus by Default on Laptops & Desktops */
.submenu {
  display: none;
  position: absolute;
  background-color: #e35328;
  top: 100%;
  left: 0;
  min-width: 120px;
  list-style: none;
  padding: 0;
}

/* Show Submenu on Hover for Laptops & Desktops */
@media screen and (min-width: 1025px) {
  .has-submenu:hover .submenu {
      display: block;
  }
}

/*  Always Show Submenus in Mobile View */
@media screen and (max-width: 1024px) {
  .nav-menu {
      flex-direction: column;
  }
  .submenu {
      display: block;
      position: relative;
      background-color: #e35328;
      padding-left: 20px;
  }
}


.hidden {
  display: none;
}
/* Default hidden state for navbar on smaller screens */
#navbarContainer {
  display: none;
}

/* Ensure navbar is visible by default for Laptops & Large Desktops */
@media screen and (min-width: 1025px) {
  #navbarContainer {
      display: block ;
  }
}

/* Default hidden state for navbar on Mobile & Tablets */
@media screen and (max-width: 1024px) {
  #navbarContainer {
      display: none;
  }
}
 /*******************************************************************************/
 
a {
  color: #0060b6;
  text-decoration: none !important;
}

a:hover {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

/******************************************************************************/
 
.footbckgrnd {
  background-color: #FFD580;
  width: 100%;
  min-height: 50px;
}
#footer {
  padding: 1rem;
  /* position: absolute; */
  bottom: 0;
}



.footerleft1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.footerleft1 img {
  margin-right: 10px;
}
.footerleft1 img:hover{
  height:120px
}
.footerleft1 p {
  margin: 0 10px;
  font-size: 2em;
}

.planeText {
  text-decoration: none;
  color: black;
}

.footercenter1 {
  min-height: 120px; /* or height: 100%; if parent has fixed height */
}

.footertext {
  font-weight: bold;
  text-decoration: none;
  font-size: 24px;
  text-decoration: none;
  color: black;
}

.footertext:hover{
  font-size: 28px;
}

.footersocial {
  text-decoration: none;
  color: rgb(88, 86, 86);
}



.footerright1 a {
  /* display: block; */
  margin-right: 25px;
  margin-bottom: 4px; /* Add spacing between icons */
}

.footerright1 a:last-child {
  margin-bottom: 0;
}

/* Mobile and Tablet (portrait) layout: ≤1024px */
/* Stack logos in a column on small screens */
@media (max-width: 768px) {
  .footerleft1 {
    flex-direction: column;
    justify-content: center;
  }

  .footerleft1 a {
    margin: 5px 0;
  }
}

.footerbox{
  margin-top: 30px;
  padding-top: 30px;
}
/* Footer background */
.footbckgrnd {
  background-color: #ff7b00 ;/* #842020 ; #FFD580; */
  width: 100%;
  min-height: 50px;
}

#footer {
  padding: 0.8rem; /* Reduced padding for smaller overall height */
  bottom: 0;
}

/* Footer left section (logos) */
.footerleft1 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* Reduced logo sizes for desktop */
.footerleft1 img.footer-logo {
  margin-right: 10px;
  height: 90px; /* Fixed height for IISC logo */
  width: auto;
}

.footerleft1 img.ee-logo {
  height: 50px; /* Fixed height for EE logo */
  width: auto;
}

/* Fixed hover behavior for logos */
.footerleft1 img:hover {
  transform: scale(1.2);
}

.footerleft1 img {
  transition: transform 0.3s ease;
}

/* Footer center section */
.footercenter1 {
  min-height: 80px; /* Reduced min-height */
}

.footertext {
  font-weight: bold;
  text-decoration: none;
  font-size: 20px; /* Reduced font size */
  color: black;
}

/* Copyright text - reduced margin */
.copyright-text {
  font-size: 14px;
  margin-top: 2px; /* Reduced from 8px to 2px */
}

/* Footer right section (social icons) */
.footerright1 .d-flex {
  justify-content: center;
}

.footersocial img {
  height: 35px; /* Reduced size */
  width: 35px; /* Reduced size */
  transition: all 0.3s ease; /* Add transition */
}

.footersocial img:hover {
  transform: scale(1.2); /* Enlarge icon using scale */
}



/* Mobile Responsiveness */
@media (max-width: 767px) {
  /* Keep logos in the same row */
  .footerleft1 {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: nowrap; /* Prevent wrapping */
  }
  
  .footerleft1 img.footer-logo {
    height: 50px;
  }
  
  .footerleft1 img.ee-logo {
    height: 40px;
  }
  
  /* Adjust center section */
  .footertext {
    font-size: 18px;
  }
  
  .copyright-text {
    font-size: 12px;
    margin-top: 0; /* Remove margin completely on mobile */
  }
  
  /* Adjust social icons */
  .footerright1 .d-flex {
    gap: 15px !important;
  }
  
  .footersocial img {
    height: 30px;
    width: 30px;
  }
}
/* Hide by default */
.br-mobile {
  display: none;
}

/* Show on screens ≤ 768px (covering ≤480px, 480px–600px, 600px–768px) */
@media (max-width: 768px) {
  .br-mobile {
    display: block;
    margin-top: 80px; /* Optional spacing for smaller screens */
  }
}

/* Optionally, add more space on screens ≤ 480px */
@media (max-width: 480px) {
  .br-mobile {
    display: block;
    margin-top: 70px; /* Optional spacing for smaller screens */
  }
}


/* Small Mobile Devices */
@media (max-width: 375px) {
  .footerleft1 img.footer-logo {
    height: 40px;
  }
  
  .footerleft1 img.ee-logo {
    height: 30px;
  }
  
  .footertext {
    font-size: 16px;
  }
  
  .footersocial img {
    height: 25px;
    width: 25px;
  }
  
  .footerright1 .d-flex {
    gap: 10px !important;
  }
}

/* Styles for sticky navbar */
#navbarContainer.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

/* Header when scrolled */
.header-scrolled {
    transform: translateY(-100%);
    transition: transform 0.3s ease-out;
}

/* Adjust the navbar container */
#navbarContainer {
    transition: all 0.3s ease;
}

/* Make sure the navbar is above other elements when sticky */
#nav_bar {
    width: 100%;
}

/* Add padding to body when navbar is sticky to prevent content jump */
body.has-sticky-nav {
    padding-top: 50px; /* Adjust value to match your navbar height */
}

/* Additional responsive adjustments */
@media screen and (max-width: 1024px) {
    #navbarContainer.sticky {
        max-height: 85vh;
        overflow-y: auto; /* Allow scrolling through navbar on mobile if it's tall */
    }
}



/* News Section Styles - Supriya*/
.news-text-section {
  background-color: #fdf2f2; /* soft maroon tint */
  padding: 40px 20px;
  text-align: center;
}

.news-title {
  color: #8c1515;
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: bold;
}

.news-text-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.news-text-card {
  background-color: #fff;
  border: 1.5px solid #8c1515;
  border-radius: 10px;
  width: 320px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.news-text-card h3 {
  color: #111E6C;
  font-size: 20px;
  margin-bottom: 12px;
}

.news-text-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 16px;
  flex-grow: 1;
}

.news-text-btn {
  align-self: flex-start;
  background-color: #8c1515;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.news-text-btn:hover {
  background-color: #c43910;
  transform: translateY(-2px);
}