* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family:inherit;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.top-header {
    background-color: #1e3a8a;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.top-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #60a5fa;
}

.middle-header {
    /* background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%); */
    color: white;
    padding: 30px 0;
}

.middle-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.logo-left, .logo-right {
    flex-shrink: 0;
}

.logo-left img, .logo-right img {
    width: 140%;
    height: 115px;
    border-radius: 50%;
    border: 3px solid white;
}

.college-name {
    text-align: center;
    flex: 1;
	font-size:20px;
	color:#000;
}

.college-name h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.college-name p {
    font-size: 1.1rem;
    opacity: 0.95;
}

.main-navigation {
  background-color: #003366;
}
.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
}
.nav-menu li {
  position: relative;
}
.nav-menu > li {
  margin: 0 0px;
}
.nav-menu a {
  display: block;
  padding: 14px 18px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s;
}
.nav-menu a:hover {
  background-color: #0055aa;
}

/* --- Submenu Styling --- */
.nav-menu li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004080;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 200px;
  display: none;
  border-radius: 0 0 6px 6px;
  z-index: 10;
}
.nav-menu li ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.nav-menu li ul li a {
  padding: 10px 15px;
  color: #fff;
}
.nav-menu li ul li a:hover {
  background-color: #0059b3;
}

/* --- Show submenu on hover --- */
.nav-menu li:hover > ul {
  display: block;
}

/* >>> RIGHT SIDE SUBMENU (for Teaching Staff) <<< */
.submenu li ul.submenu {
  top: 0;
  left: 100%; /* opens to right side */
  background-color: #004080;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  color:#fff;
}

/* Optional hover transition */
.submenu li:hover > ul.submenu {
  display: block;
}

/* Optional subtle animation */
.submenu,
.submenu li ul.submenu {
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.submenu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.nav-menu li:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: 0.3s;
}

.slider {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.slides {
    position: relative;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    color: white;
    z-index: 2;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.3);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 3;
}

.slider-btn:hover {
    background-color: rgba(255,255,255,0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: white;
}

.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.left-column {
    background-color: white;
}

.about-section {
    padding: 30px;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.about-section h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
    font-size: 2rem;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 10px;
}

.about-section p {
    margin-bottom: 15px;
    text-align: justify;
}

.right-column {
    background-color: white;
}

.notice-board {
    padding: 40px;
    background-color: #f8fafc;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 80px;
}

.notice-board h2 {
    color: #1e3a8a;
    margin-bottom: 20px;
    font-size: 1.5rem;
    border-bottom: 3px solid #2563eb;
    padding-bottom: 10px;
}

.notice-scroll {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.notice-scroll::-webkit-scrollbar {
    width: 6px;
}

.notice-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.notice-scroll::-webkit-scrollbar-thumb {
    background: #2563eb;
    border-radius: 10px;
}

.notice-item {
    background-color: white;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice-date {
    display: block;
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.notice-item h3 {
    font-size: 1.1rem;
    color: #1e3a8a;
    margin-bottom: 8px;
}

.notice-item p {
    font-size: 0.95rem;
    color: #64748b;
}

.mentor-section {
  background-color: #f8fafc;
  padding: 60px 0;
  display: flex;
  justify-content: center; /* Centers horizontally */
  align-items: center; /* Centers vertically */
  min-height: 60vh; /* Takes most of the viewport height */
}

.mentor-section .container {
  text-align: center;
}

.mentor-grid {
  display: flex;
  justify-content: center; /* Centers mentor cards horizontally */
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.mentor-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  min-width: 250px; /* Minimum width */
  min-height: 250px; /* Minimum height */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.mentor-card img {
  width: 150px;
  height: 150px;
  border-radius: 10%;
  object-fit: cover;
  margin-bottom: 15px;
}

.mentor-title {
  color: #555;
  font-size: 1rem;
  margin-top: 5px;
}

.achievement-section {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
}

.achievement-section h2 {
    color: white;
}

.achievement-section h2::after {
    background: white;
}

.achievement-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.achievement-card {
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    transition: background-color 0.3s ease;
}

.achievement-card:hover {
    background-color: rgba(255,255,255,0.2);
}
.achievement-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.achievement-card p {
    line-height: 1.8;
}

.gallery-section {
    background-color: #f8fafc;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
}


footer {
    background-color: #1e293b;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #60a5fa;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
    color: #cbd5e1;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #60a5fa;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-social a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #60a5fa;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .middle-header .container {
        flex-direction: column;
        text-align: center;
    }

    .college-name h1 {
        font-size: 1.8rem;
    }

    .mobile-menu-btn {
        display: block;
        margin: 10px auto;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li a {
        text-align: center;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .notice-board {
        position: static;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .slider {
        height: 350px;
    }
}
.social-link { display:inline-flex; align-items:center; justify-content:center; width:36px; height:36px; text-decoration:none; color:inherit; }
.social-link i { font-size:20px; display:block; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}
.menu-section {
  padding: 50px 0;
  background-color: #f8fafc;
}

.menu-container {
  display: grid;
  grid-template-columns: repeat(6, 1fr); /* 6 per row */
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

.menu-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 25px 10px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.menu-card i {
  font-size: 2rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.menu-card p {
  font-size: 1rem;
  color: #333;
  font-weight: 500;
}

.menu-card:hover {
  background-color: #1e3a8a;
  color: #fff;
  transform: translateY(-5px);
}

.menu-card:hover i {
  color: #fff;
}

/* Responsive layout */
@media (max-width: 992px) {
  .menu-container {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .menu-container {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* Breadcrumb Section */
.breadcrumb {
  background-color: #f8fafc; /* light background */
  padding: 12px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  font-size: 15px;
  display: flex;
  flex-wrap: wrap;
  list-style: none;
}

/* Breadcrumb Items */
.breadcrumb li {
  display: inline;
  color: #1e3a8a; /* dark blue for text */
  font-weight: 500;
}

/* Breadcrumb Links */
.breadcrumb li a {
  color: #2563eb; /* link blue */
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumb li a:hover {
  color: #1e40af; /* darker on hover */
  text-decoration: underline;
}

/* Separator Styling */
.breadcrumb li + li::before {
  content: "›";  /* You can use "/" if you prefer */
  color: #6b7280; /* gray separator */
  margin: 0 8px;
}

/* Active Item */
.breadcrumb li.active {
  color: #374151;
  font-weight: 600;
}

/* Optional: Add subtle shadow for depth */
.breadcrumb {
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

/* Mobile Friendly */
@media (max-width: 576px) {
  .breadcrumb {
    font-size: 14px;
    padding: 10px 15px;
  }
}
.list_image {
    list-style: none;
    padding: 0;
    margin: 25px 0;
}

.list_image li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    background: #fafafa;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.list_image li:hover {
    background: #fff;
    transform: translateX(5px);
    box-shadow: 0 4px 10px rgba(210, 4, 45, 0.15);
}

.list_image li i {
    color: #D2042D; /* Icon color */
    font-size: 18px;
    width: 24px;
    text-align: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.list_image li:hover i {
    color: #a00220;
    transform: scale(1.15);
}

.list_image a.readmore_text {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
}

.list_image a.readmore_text:hover {
    color: #D2042D;
}
.list_image li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.list_image li:nth-child(1) { animation-delay: 0.1s; }
.list_image li:nth-child(2) { animation-delay: 0.2s; }
.list_image li:nth-child(3) { animation-delay: 0.3s; }
.list_image li:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
