/* -------------------- RESET & BASE -------------------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f7f9fb;
  color: #333;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}




/* -------------------- TOP BAR -------------------- */
.top-bar {
  background: #003366;
  color: #fff;
  padding: 8px 0;
}
.top-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .contact-info span {
  margin-right: 15px;
  font-size: 0.9em;
}
.top-bar .contact-info a {
  color: #fff;
  text-decoration: none;
}
.top-bar .contact-info a:hover {
  text-decoration: underline;
}
.logo img {
  height: 60px;
  display: block;
}

/* -------------------- HEADER -------------------- */
.header-container {
  background: #fff;
  border-bottom: 4px solid #003366;
  padding: 15px 20px;
}
.v_logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
}
.v_logo .logo_img img {
  max-height: 100px;
}
.v_logo .logo_content {
  max-width: 700px;
}
.v_logo .logo_content h2 {
  font-size: 1.2em;
  font-weight: bold;
  color: #003366;
  margin-bottom: 6px;
}
.v_logo .logo_content h3 {
  font-size: 1em;
  font-weight: 600;
  color: #003366;
  margin-bottom: 6px;
}
.v_logo .logo_content p {
  font-size: 0.95em;
  margin: 2px 0;
}
.clr_b { color: #003366; font-weight: bold; }
.clr_g { color: #555; font-style: italic; }

/* -------------------- HERO / BANNER -------------------- */
.hero {
  position: relative;
  background: url('images/campus-banner.jpg') center/cover no-repeat;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.hero-overlay {
  position: relative;
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero-overlay h1 {
  font-size: 2.5em;
  margin-bottom: 8px;
}
.hero-overlay p {
  font-size: 1.1em;
  color: #ddd;
}
.hero-logo {
  width: 120px;
  opacity: 0.95;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.6));
}

/* -------------------- NAVIGATION -------------------- */
.main-nav {
  background: #005a9c;
  padding: 10px 0;
}
.main-nav .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}
.main-nav a {
  color: #fff;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 4px;
  transition: background 0.3s;
}
.main-nav a:hover {
  background: #003f6b;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  line-height: 1.6;
}

/* 🔴 Marquee */
.alert-marquee {
  background: #ffe8e8;
  color: #b20000;
  padding: 10px;
  font-size: 16px;
  font-weight: bold;
}

/* Layout */
.container {
  width: 90%;
  margin: auto;
  max-width: 1200px;
}

.card {
  background: white;
  padding: 20px;
  margin-top: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
}

/* Carousel + Intro Layout */
.home-main {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}


/* ===== Home Page ===== */
.home-main {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 25px;
  gap: 30px;
}

.carousel {
  width: 100%;
  max-width: 900px;
  height: 420px;
  margin: auto;
  overflow: hidden;
  position: relative;
  border-radius: 14px;
  box-shadow: 0px 4px 18px rgba(0,0,0,0.25);
}

/* Slide Wrapper */
.slides {
  display: flex;
  width: 400%;
  animation: autoSlide 18s infinite linear;
}

/* Each slide */
.slide {
  width: 100%;
  flex-shrink: 0;
  position: relative;
  animation: zoomEffect 6s ease-in-out infinite;
}

/* Slide Images */
.slide img {
  width:100%;
  height: 420px;
  object-fit: cover;
  border-radius: 14px;
}

/* Dots */
.carousel-controls {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 6px;
  background: #ffffff90;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: 0.3s;
}

.dot.active {
  background: #fff;
  transform: scale(1.4);
}

/* Smooth Move Right-to-Left */
@keyframes autoSlide {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-100%); }
  50%  { transform: translateX(-200%); }
  75%  { transform: translateX(-300%); }
  100% { transform: translateX(0); }
}

/* Zoom + Fade Effect */
@keyframes zoomEffect {
  0%   { transform: scale(1); opacity: 0.9; }
  50%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 0.9; }
}

/* Pause When Hover */
.carousel:hover .slides {
  animation-play-state: paused;
}


.home-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 25px;
}

/* ⭐ ADVANCED CAROUSEL */
.carousel-adv {
    width: 50%;
    max-width: 800px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.slides-adv {
    display: flex;
    animation: slideRTL 20s infinite ease-in-out;
}

.slide-adv {
    width: 100%;
    flex-shrink: 0;
}

.slide-adv img {
    width: 650px;
    height: 380px;
    
    border-radius: 20px;
}

/* DOTS */
.dots-adv {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot-adv {
    width: 12px;
    height: 12px;
    background: #ffffff80;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot-adv.active {
    background: #fff;
    transform: scale(1.3);
}

/* ⭐ KEYFRAMES — Right to Left Sliding */
@keyframes slideRTL {
    0% { transform: translateX(0%); }
    20% { transform: translateX(0%); }

    25% { transform: translateX(-100%); }
    45% { transform: translateX(-100%); }

    50% { transform: translateX(-200%); }
    70% { transform: translateX(-200%); }

    75% { transform: translateX(-300%); }
    95% { transform: translateX(-300%); }

    100% { transform: translateX(0%); }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .slide-adv img {
        height: 250px;
    }
}

/* ===== Intro Section ===== */
.intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro h2 {
  font-size: 28px;
  color: #004aad;
  margin-bottom: 15px;
}

.intro p {
  line-height: 1.6;
  font-size: 17px;
  color: #444;
}


/* Notifications */
.notifications ul {
  padding: 0;
  list-style: none;
}

.notifications li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #ddd;
  padding: 10px 0;
}

.notifications li a {
  color: #0057b7;
  font-weight: bold;
  text-decoration: none;
}

.notifications li a:hover {
  color: #0a3a80;
}

.date {
  color: #888;
  font-size: 14px;
}

/* Info Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th, .info-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.info-table th {
  width: 30%;
  color: #333;
}

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.feature-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* -------------------- CONTENT -------------------- */
section {
  padding: 40px 0;
}
.card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  padding: 28px;
  margin-bottom: 30px;
}
.intro h2 { margin-bottom: 15px; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.feature-card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Tables */
.info-table, .curriculum-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.info-table th, .info-table td,
.curriculum-table th, .curriculum-table td {
  border: 1px solid #ccc;
  padding: 12px 15px;
  text-align: left;
}
.info-table th, .curriculum-table th {
  background: #e6f0fa;
  color: #003366;
}
.info-table th { width: 30%; }
.info-table td a {
  color: #005a9c;
  text-decoration: none;
}
.info-table td a:hover { text-decoration: underline; }

/* Faculty Grid */
.faculty-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.faculty-card {
  background: #fff;
  border-radius: 8px;
  text-align: center;
  padding: 20px;
  box-shadow: 0 3px 9px rgba(0,0,0,0.08);
}
.faculty-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 12px;
  object-fit: cover;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}
.gallery-grid img {
  width: 100%;
  height: 180px;
  border-radius: 8px;
  object-fit: cover;
}

/* Forms */
form input, form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  margin-bottom: 16px;
}
form button {
  background: #005a9c;
  color: #fff;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1em;
  cursor: pointer;
  transition: background 0.3s;
}
form button:hover { background: #003f6b; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 20px;
}
.contact-form h3, .contact-details h3 {
  margin-bottom: 12px;
  color: #003366;
}
.contact-details p { margin-bottom: 10px; }
.contact-details a {
  color: #005a9c;
  text-decoration: none;
}
.contact-details a:hover { text-decoration: underline; }

/* -------------------- FOOTER -------------------- */
.site-footer {
  background: #003366;
  color: #f1f1f1;
  padding: 40px 20px 20px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 20px;
}
.footer-col h3 {
  margin-bottom: 12px;
  color: #fff;
  font-size: 1.2em;
}
.footer-col p {
  font-size: 0.95em;
  line-height: 1.6;
}
.footer-col ul {
  list-style: none;
  padding: 0;
}
.footer-col ul li {
  margin-bottom: 8px;
}
.footer-col ul li a {
  color: #ddd;
  transition: color 0.3s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  text-align: center;
  padding-top: 15px;
  font-size: 0.9em;
  color: #ccc;
}

/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 768px) {
  .top-grid { flex-direction: column; text-align: center; }
  .top-bar .contact-info { margin-top: 6px; }

  .v_logo { flex-direction: column; text-align: center; }
  .logo_img { margin: 10px 0; }

  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
/* Notifications Section */
.notifications ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.notifications ul li {
  margin-bottom: 12px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 8px;
}
.notifications ul li a {
  color: #005a9c;
  font-weight: 500;
  transition: color 0.3s;
}
.notifications ul li a:hover {
  color: #003366;
}
.notifications ul li .date {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
}
/* Notifications Section */
.notifications ul {
  list-style: none;
  padding: 0;
  margin-top: 15px;
}
.notifications ul li {
  margin-bottom: 12px;
  border-bottom: 1px dashed #ccc;
  padding-bottom: 8px;
}
.notifications ul li a {
  color: #005a9c;
  font-weight: 500;
  transition: color 0.3s;
}
.notifications ul li a:hover {
  color: #003366;
}
.notifications ul li .date {
  display: block;
  font-size: 0.85em;
  color: #666;
  margin-top: 4px;
}
.notifications .more-link {
  margin-top: 12px;
  text-align: right;
}
.notifications .more-link a {
  font-size: 0.9em;
  color: #005a9c;
  font-weight: 600;
}
.notifications .more-link a:hover {
  text-decoration: underline;
}

