/* ========== CSS/STYLE.CSS ========== */
/* Reset & base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0b2c4f;
  --primary-light: #1e4a7a;
  --accent: #e7a12c;
  --accent-hover: #c98b1f;
  --light-bg: #f8fafc;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --white: #ffffff;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --radius: 16px;
  --radius-sm: 10px;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; line-height: 1.3; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  letter-spacing: 0.3px;
}
.btn-primary { background-color: var(--accent); color: var(--primary); }
.btn-primary:hover { background-color: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 12px 20px -10px rgba(231, 161, 44, 0.5); }
.btn-outline { background-color: transparent; border: 1.5px solid rgba(255, 255, 255, 0.5); color: var(--white); }
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); border-color: var(--white); }
.btn-small { padding: 8px 20px; font-size: 0.85rem; background-color: var(--light-bg); color: var(--primary); }
.btn-small:hover { background-color: var(--primary); color: var(--white); }

/* ========== HEADER ========== */
.site-header {
  background-color: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo i { font-size: 2rem; color: var(--accent); }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.college-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem; color: var(--primary); }
.tagline { font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.5px; }

.main-nav { display: flex; align-items: center; }
.nav-list { display: flex; gap: 32px; }
.nav-list a { font-weight: 500; font-size: 0.95rem; color: var(--text-dark); transition: color 0.2s; position: relative; }
.nav-list a:hover, .nav-list a.active { color: var(--accent); }
.nav-list a.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0; width: 100%; height: 3px;
  background-color: var(--accent); border-radius: 4px;
}
.hamburger { display: none; font-size: 1.6rem; color: var(--primary); cursor: pointer; }

/* ========== HERO SLIDER + NOTICE LAYOUT ========== */
.hero-slider-notice {
  background: linear-gradient(135deg, #0b2c4f 0%, #0f3460 100%);
  padding: 40px 0 50px;
  border-radius: 0 0 40px 40px;
}

.slider-notice-wrapper {
  display: flex;
  gap: 28px;
  align-items: stretch;
}

/* ----- Slider (left) ----- */
.slider-container {
  flex: 1 1 68%;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 40px -15px rgba(0, 0, 0, 0.4);
  min-height: 380px;
}

.slider {
  display: flex;
  width: 300%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 33.3333%;
  flex-shrink: 0;
  position: relative;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  padding: 30px 28px 24px;
}
.slide-caption h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}
.slide-caption p {
  font-size: 0.95rem;
  opacity: 0.9;
  max-width: 80%;
}

.slider-nav {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.slider-dot.active {
  background: var(--accent);
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s;
  z-index: 10;
}
.slider-arrow:hover { background: var(--accent); color: var(--primary); }
.arrow-prev { left: 16px; }
.arrow-next { right: 16px; }

/* ----- Notice Board (right) ----- */
.notice-panel {
  flex: 1 1 32%;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid rgba(255,255,255,0.2);
}

.notice-header {
  background: var(--primary);
  color: #fff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.notice-header h4 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #fff;
}
.notice-header i { color: var(--accent); font-size: 1.2rem; }

.notice-list {
  flex: 1;
  overflow-y: auto;
  padding: 6px 0;
  background: #fff;
}

.notice-list::-webkit-scrollbar { width: 6px; }
.notice-list::-webkit-scrollbar-track { background: #f1f1f1; }
.notice-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 8px; }

.notice-item {
  padding: 14px 20px;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
  cursor: pointer;
}
.notice-item:hover { background: #f8fafc; }
.notice-item:last-child { border-bottom: none; }

.notice-item .notice-date {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: block;
  margin-bottom: 4px;
}
.notice-item p {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-weight: 500;
  line-height: 1.45;
}
.notice-item p a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: underline;
}

.notice-footer {
  padding: 12px 20px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #e9eef3;
  flex-shrink: 0;
}
.notice-footer a {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  transition: color 0.2s;
}
.notice-footer a:hover { color: var(--accent); }
.notice-footer i { font-size: 0.75rem; margin-left: 4px; }

/* ========== OTHER SECTIONS ========== */
.section { padding: 70px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-header h2 { font-size: 2.2rem; color: var(--primary); margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Course grid */
.course-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.course-card {
  background: var(--white); padding: 32px 28px; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid #edf2f7;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover { transform: translateY(-6px); box-shadow: 0 25px 30px -12px rgba(0,0,0,0.1); }
.course-icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 20px; }
.course-card h3 { font-size: 1.4rem; margin-bottom: 6px; color: var(--primary); }
.course-meta { font-size: 0.85rem; color: var(--accent); font-weight: 600; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 0.5px; }
.course-details { margin-bottom: 24px; }
.course-details li { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 10px; display: flex; gap: 8px; }
.course-details i { color: var(--accent); font-size: 0.9rem; margin-top: 4px; }
.center-btn { text-align: center; margin-top: 48px; }

/* Table */
.admission-table { background-color: var(--light-bg); }
.table-responsive { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--white); }
.course-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; min-width: 900px; }
.course-table th { background-color: var(--primary); color: var(--white); font-weight: 600; padding: 16px 12px; text-align: left; white-space: nowrap; }
.course-table td { padding: 14px 12px; border-bottom: 1px solid #e2e8f0; color: var(--text-dark); }
.course-table tr:last-child td { border-bottom: none; }
.course-table tr:hover td { background-color: #f1f5f9; }

/* Leadership */
.leaders-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.leader-card { background: var(--white); border-radius: var(--radius); padding: 30px 20px; text-align: center; box-shadow: var(--shadow); border: 1px solid #edf2f7; }
.leader-img {
  width: 80px; height: 80px; background: #eef2ff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 2.2rem; color: var(--primary);
}
.leader-card h4 { font-size: 1.05rem; margin-bottom: 8px; color: var(--primary); }
.leader-title { font-size: 0.8rem; color: var(--text-muted); line-height: 1.4; }

/* Feedback */
.feedback { background-color: var(--light-bg); }
.feedback-card {
  max-width: 800px; margin: 0 auto; background: var(--white);
  padding: 48px; border-radius: var(--radius); box-shadow: var(--shadow); position: relative;
}
.quote-icon { font-size: 2.5rem; color: var(--accent); opacity: 0.3; margin-bottom: 20px; }
.feedback-text { font-size: 1.15rem; font-style: italic; color: var(--text-dark); margin-bottom: 28px; line-height: 1.7; }
.feedback-author { display: flex; flex-direction: column; }
.author-name { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.author-role { font-size: 0.85rem; color: var(--text-muted); }

/* About links */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.about-card {
  background: var(--white); padding: 36px 28px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow); border: 1px solid #edf2f7;
}
.about-card i { font-size: 2.2rem; color: var(--accent); margin-bottom: 20px; }
.about-card h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 12px; }
.about-card p { color: var(--text-muted); margin-bottom: 24px; font-size: 0.92rem; }

/* Footer */
.site-footer { background-color: var(--primary); color: #cbd5e1; padding: 60px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 48px; padding-bottom: 40px; }
.footer-logo { margin-bottom: 20px; }
.footer-logo .college-name { color: var(--white); }
.footer-col p { font-size: 0.92rem; line-height: 1.7; margin-bottom: 20px; }
.footer-col h4 { color: var(--white); font-size: 1.1rem; margin-bottom: 24px; font-weight: 600; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { transition: color 0.2s; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--accent); }
.contact-info li { display: flex; gap: 12px; font-size: 0.92rem; margin-bottom: 14px; align-items: flex-start; }
.contact-info i { color: var(--accent); width: 16px; margin-top: 4px; }
.social-icons { display: flex; gap: 16px; }
.social-icons a {
  background: rgba(255, 255, 255, 0.08); width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s; color: var(--white);
}
.social-icons a:hover { background: var(--accent); color: var(--primary); transform: translateY(-3px); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); padding: 20px 0; font-size: 0.85rem; color: #94a3b8; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .hero-slider-notice { padding: 30px 0 40px; }
  .slider-notice-wrapper { flex-direction: column; }
  .slider-container, .notice-panel { min-height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-list {
    display: none; position: absolute; top: 80px; left: 0; width: 100%;
    background: var(--white); flex-direction: column; padding: 24px;
    gap: 16px; box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 20px 20px;
  }
  .nav-list.active { display: flex; }
  .hero-slider-notice { border-radius: 0 0 20px 20px; }
  .slider-container { min-height: 280px; }
  .slide-caption h3 { font-size: 1.2rem; }
  .slide-caption p { font-size: 0.85rem; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1rem; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.8rem; }
  .feedback-card { padding: 30px 24px; }
  .feedback-text { font-size: 1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 480px) {
  .header-inner { height: 70px; }
  .college-name { font-size: 1.2rem; }
  .slider-container { min-height: 220px; }
  .slide-caption { padding: 20px 16px; }
  .slide-caption h3 { font-size: 1rem; }
  .slide-caption p { font-size: 0.75rem; }
  .slider-nav { bottom: 12px; right: 12px; }
  .slider-dot { width: 8px; height: 8px; }
  .slider-arrow { width: 30px; height: 30px; font-size: 0.8rem; }
  .arrow-prev { left: 8px; }
  .arrow-next { right: 8px; }
  .notice-header h4 { font-size: 0.95rem; }
  .notice-item { padding: 12px 16px; }
  .notice-item p { font-size: 0.82rem; }
  .btn { padding: 10px 20px; font-size: 0.85rem; }
  .course-card { padding: 24px 20px; }
}