
body {
  font-family: Arial, sans-serif;
}

.header-logo {
  max-height: 130px;
}

@media (max-width: 768px) {

  /* Reduce header vertical space */
  .header-container {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  /* Shrink logos */
  .header-logo {
    max-height: 60px;
  }

  /* College name */
  .header-title {
    font-size: 1rem;
    line-height: 1.2;
  }

  /* Odia + address text */
  .header-text {
    font-size: 0.8rem;
    line-height: 1.2;
  }
}


.navbar-nav .nav-link {
    font-weight: bold;
    padding: 10px 20px;
}

/* === Important Updates Bar === */
.updates-bar {
  background-color: #e3b505; /* navy */
  border-top: 3px solid #0b1a39; /* gold lines */
  border-bottom: 3px solid #e3b505;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}
.text-navy {
  color: #0b1a39 !important; /* your theme navy */
}

/* FEEDBACK Dropdown */
.feedback-dropdown {
    position: relative;
}

/* Dropdown menu styling */
.feedback-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;                 /* Align right on desktop */
    min-width: 180px;
    max-width: 90vw;          /* Prevent overflow on small screens */
    background-color: #0d6efd; /* Same as bg-primary */
    border: 0;
    padding: 8px 0;
    z-index: 1050;
}

/* Show dropdown on hover (Desktop) */
.feedback-dropdown:hover .dropdown-menu {
    display: block;
}

/* Dropdown items */
.feedback-dropdown .dropdown-item {
    padding: 0.4rem 0.8rem;
    color: #fff;
    text-decoration: none;
}

/* Hover effect */
.feedback-dropdown .dropdown-item:hover {
    background-color: #004080; /* Darker navy */
    color: #fff;
}

/* Mobile Fix */
@media (max-width: 576px) {
    .feedback-dropdown .dropdown-menu {
        right: auto;
        left: 0;               /* Align left on mobile */
    }
}


/* Pause important updates scroll on hover */
.updates-bar:hover .scrolling-content,
.scroll-text:hover .scrolling-content {
  animation-play-state: paused;
}

/* Scroll container */
.scroll-text {
  overflow: hidden;
  position: relative;
  flex: 1;
}

/* Scrolling animation */
.scrolling-content {
  display: inline-block;
  padding-left: 100%; /* ensures smooth entry */
  color: #f8f9fa;
  font-weight: 500;
  font-size: 1rem;
  animation: scroll-left 120s linear infinite;
}
.update-link {
  color: #0b1a39;           /* navy text */
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.update-link:hover {
  color: #ffffff;            /* white on hover */
  text-decoration: underline;
}

/* Keyframes for leftward motion */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .scrolling-content {
    font-size: 0.9rem;
    animation-duration: 80s;
  }
}

/* navbar menus
/* Show dropdown on hover */
.navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
    margin-top: 0; /* remove the small gap */
}

.navbar-nav .nav-link,
.navbar-nav .dropdown-toggle {
    color: #fff !important;
}

/* Submenu hover */
.dropdown-submenu:hover > .dropdown-menu {
    display: block;
    left: 100%;
    top: 0;
}
.dropdown-submenu > a.dropdown-toggle {
    color: #000 !important;          /* normal state */
}

.dropdown-submenu > a.dropdown-toggle:hover,
.dropdown-submenu > a.dropdown-toggle:focus,
.dropdown-submenu:hover > a.dropdown-toggle {
    color: #000 !important;          /* hover state */
    background-color: #f8f9fa !important;  /* optional: light background */
}


/* Hero Section Styling */
.hero-section {
  position: relative;
  width: 100%;
  height: 60vh;
  overflow: hidden;
}

/* Image Styling */
.hero-img {
  height: 60vh;
  object-fit: cover;
  filter: brightness(70%);
}

/* Caption Styling */
.carousel-caption {
  bottom: 20%;
  text-align: center;
}

.text-shadow {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

/* Indicator Styling */
.carousel-indicators [data-bs-target] {
  background-color: #ffc107;
}

/* Control Buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(100%);
}

@media (max-width: 768px) {
  .hero-section {
    height: 38vh;   /* 👈 reduce height */
  }

  .hero-img {
    height: 38vh;   /* 👈 must match */
  }

  .carousel-caption {
    bottom: 10%;    /* bring text up */
  }
}


.carousel-item {
  position: relative;
}

.carousel-label {
  position: absolute;
  bottom: 15px;
  left: 15px;
  background: rgba(11, 26, 57, 0.85); /* navy */
  color: #ffffff;
  padding: 6px 12px;
  font-size: 0.85rem;
  border-radius: 6px;
  max-width: 70%;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}


.bg-primary {
    background-color: #0b1a39 !important;
}

/* === About Us Section (Light Box Version) === */
.about-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

.about-card {
  background-color: #ffffff;
  border: 3px solid #e3b505;
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
  max-width: 900px;
}

.about-text {
  color: #0b1a39;
  font-size: 1.05rem;
  line-height: 1.8;
}


/* === Notice & Announcement Section === */
.notice-section {
  background-color: #f8f9fa; /* light outer background */
  padding: 4rem 0;
}

/* Main navy box with gold border */
.notice-card {
  background-color: #0b1a39; /* navy inside */
  border: 3px solid #e3b505; /* gold outline */
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  color: #f8f9fa;
}

/* Tabs styling */
.notice-card .nav-tabs .nav-link {
  color: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 10px 10px 0 0;
  transition: all 0.3s ease;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.05);
}

.notice-card .nav-tabs .nav-link.active {
  color: #e3b505;
  border-bottom: 3px solid #e3b505;
  background-color: rgba(255, 255, 255, 0.1);
}

/* === Scroll box (CSS-only auto scroll) === */
.scroll-box {
  max-height: 240px;               /* shows ~4 items */
  overflow: hidden;                /* hide overflow for animation */
  background-color: rgba(255, 255, 255, 0.05);
  border: 2px solid #e3b505;
  border-radius: 10px;
  padding: 0.75rem;
  position: relative;
}

/* Auto-scroll list */
.scroll-box .list-group {
  animation: noticeScroll 15s linear infinite;
}

/* Pause scrolling on hover */
.scroll-box:hover .list-group {
  animation-play-state: paused;
}

/* Individual list items */
.list-group-item {
  background-color: transparent;
  color: #f8f9fa;
  border: none;
  border-bottom: 1px solid rgba(227, 181, 5, 0.3);
  transition: background 0.3s ease;
}

.list-group-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Section heading */
.notice-card h3 {
  font-weight: 700;
  color: #e3b505;
  letter-spacing: 1px;
}

/* Anchor fix for clickable notices */
.list-group-item a {
  color: inherit;
  text-decoration: none;
  display: block;
}

/* === Scroll animation ===
   Starts from bottom → scrolls up → empty gap → restart */
@keyframes noticeScroll {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(-120%);
  }
}

/* Accessibility: respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .scroll-box .list-group {
    animation: none;
  }
}



/* === Facilities Section === */
.facilities-section {
  background-color: #f8f9fa;
}

/* Outer transparent gold frame */
.facilities-card {
  border: 3px solid #e3b505;
  border-radius: 20px;
  background-color: transparent;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
}

/* Navy heading bar */
.facilities-heading {
  background-color: #0b1a39;
  border: 2px solid #e3b505;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.facilities-heading h3 {
  color: #e3b505;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Individual facility cards */
.facility-card {
  background-color: #0b1a39;
  border: 2px solid #e3b505;
  border-radius: 15px;
  color: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Hover: lift only, no color change */
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: #0b1a39; /* stays navy */
}

/* Facility icons */
.facility-icon {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

/* Facility text */
.facility-card p {
  color: #f8f9fa;
  font-size: 0.95rem;
  margin: 0;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .facilities-card {
    padding: 2rem 1rem;
  }
  .facility-icon {
    width: 60px;
    height: 60px;
  }
}


/* About */
.section-title {
  color: #0b1a39;
  font-weight: 700;
  letter-spacing: 1px;
}
.about-text {
  max-width: 850px;
  color: #333;
  line-height: 1.8;
  font-size: 1rem;
}


/* === Vision & Mission Section === */
.vision-mission {
  background-color: #f8f9fa; /* light outer background */
  padding: 4rem 0;
}

/* Main navy container */
.vm-card {
  background-color: #0b1a39;  /* navy inner box */
  border: 3px solid #e3b505;  /* gold outline */
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
}

/* Title */
.vm-card .section-title {
  color: #e3b505;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Inner Vision/Mission Boxes */
.vm-subcard {
  background-color: rgba(255, 255, 255, 0.05); /* soft navy tone */
  border: 2px solid #e3b505;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.vm-subcard:hover {
  background-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Headings */
.vm-subcard h5 {
  color: #e3b505;
  font-weight: 700;
}

/* Text + Lists */
.vm-subcard p,
.vm-subcard li {
  color: #f8f9fa;
  line-height: 1.8;
}
.vm-subcard ul {
  padding-left: 1rem;
  list-style-type: disc;
}

/* Read More Link */
.read-more-link {
  text-decoration: none;
  display: inline-block;
  margin-top: 0.75rem;
  transition: color 0.3s ease, transform 0.3s ease;
}
.read-more-link:hover {
  color: #ffcf40; /* brighter gold on hover */
  transform: translateX(3px);
}


/* === At a Glance Section === */
.glance-section {
  background-color: #f8f9fa; /* light outer background */
  padding: 4rem 0;
}

/* Inner navy box with gold border (same as Alumni Galaxy) */
.glance-card {
  background-color: #0b1a39;  /* navy blue inside */
  border: 3px solid #e3b505;  /* gold border */
  border-radius: 20px;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
  padding: 3rem 2rem;
}
.counter-box a,
.counter-box a:hover {
  color: inherit;            /* ensures no weird blue color */
  text-decoration: none;
}

.counter-box {
  border: 2px solid #e3b505;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  transform: scale(1);
}
.counter-box:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(227, 181, 5, 0.3);
}
.counter {
  color: #e3b505;
  font-size: 2.5rem;
  font-weight: 700;
}

body {
  background-color: #f8f9fa;
  font-family: "Poppins", sans-serif;
}
.section-title {
  color: #0b1a39;
  font-weight: 700;
  letter-spacing: 1px;
}


/* Contact Section */
.contact-section {
  background-color: #0b1a39;
  border-top: 4px solid #e3b505;
  border-bottom: 4px solid #e3b505;
}

.contact-section h4 {
  font-weight: 700;
  letter-spacing: 0.5px;
}

.quick-link {
  color: #f8f9fa;
  text-decoration: none;
  transition: all 0.3s ease;
}
.quick-link:hover {
  color: #e3b505;
  padding-left: 4px;
}

/* Footer */
.footer {
  background-color: #0b1a39;
  border-top: 4px solid #e3b505;
}

body {
  background-color: #f8f9fa;
  font-family: "Poppins", sans-serif;
}

/* Header */
header {
  background-color: #0b1a39;
  border-bottom: 4px solid #e3b505;
}

/* Quote Section */
.quote-section {
  background-color: #0b1a39;
  border-top: 4px solid #e3b505;
  border-bottom: 4px solid #e3b505;
}


/* === Principal's Message Section === */

/* Light background for entire section */
.principal-section {
  background-color: #f8f9fa;
  padding: 4rem 0;
}

/* Outer transparent container with gold outline + shadow */
.principal-card {
  border: 3px solid #e3b505;
  border-radius: 20px;
  background-color: transparent;
  color: white;
  padding: 2rem;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

/* Principal Image Wrapper */
.principal-photo-wrapper {
  display: inline-block;
  padding: 6px;
  background: #e3b505;
  border-radius: 50% / 45%;
  margin-top: 12px; /* subtle downward adjustment */
}

/* Principal Image */
.principal-photo {
  width: 320px;
  height: 450px;
  border-radius: 50% / 45%;
  object-fit: cover;
  object-position: center top; /* IMPORTANT: keeps hair visible */
  border: 5px solid #0b1a39;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25);
  background-color: #0b1a39;
}

/* Principal Message Box (dark navy inside the golden frame) */
.principal-message {
  background-color: #0b1a39;
  border: 2px solid #e3b505;
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Principal Message Text */
.principal-message p {
  line-height: 1.8;
  font-size: 1rem;
  color: #f8f9fa;
}

/* Principal Name + Designation under photo */
.principal-card h5 {
  color: #e3b505;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.principal-card p {
  color: #d0d0d0;
  margin-bottom: 0;
}


/* Responsive Tweaks */
@media (max-width: 992px) {
  .principal-photo {
    width: 250px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .principal-photo {
    width: 180px;
    height: 230px;
  }

  .principal-message {
    margin-top: 1.5rem;
  }
}


/* Footer */
footer {
  background-color: #0b1a39;
  border-top: 4px solid #e3b505;
}

html, body {
  overflow-x: hidden;
  width: 100%;
}

/* Make footer stick to the bottom without touching HTML */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
}
