/* ==========================================================
   Chandragupta Maurya College of Management & Technology
   Official Institutional Stylesheet
   ========================================================== */

:root {
  --cmc-navy-dark: #07172c;
  --cmc-navy: #0b2545;
  --cmc-navy-light: #133b6b;
  --cmc-maroon: #7a0c1a;
  --cmc-maroon-dark: #580611;
  --cmc-maroon-light: #9a1a2d;
  --cmc-gold: #c59b27;
  --cmc-gold-light: #e5be54;
  --cmc-gold-dark: #99730c;
  --cmc-gold-subtle: #fcf6e7;
  --cmc-white: #ffffff;
  --cmc-bg-light: #f7f9fc;
  --cmc-bg-card: #ffffff;
  --cmc-text-dark: #1e293b;
  --cmc-text-muted: #526071;
  --cmc-border: #e2e8f0;
  --cmc-border-gold: rgba(197, 155, 39, 0.35);
  
  --font-serif: 'Merriweather', 'Georgia', serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Cinzel', 'Merriweather', serif;
  
  --shadow-sm: 0 2px 4px rgba(11, 37, 69, 0.06);
  --shadow-md: 0 4px 12px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 10px 25px rgba(11, 37, 69, 0.12);
  --shadow-hover: 0 15px 30px rgba(11, 37, 69, 0.16);
  
  --transition-fast: all 0.2s ease-in-out;
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-sans);
  color: var(--cmc-text-dark);
  background-color: var(--cmc-bg-light);
  line-height: 1.65;
  font-size: 15.5px;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--cmc-navy);
  font-weight: 700;
  line-height: 1.3;
}

a {
  color: var(--cmc-navy);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--cmc-maroon);
}

/* Top Accessibility & Institutional Bar */
.cmc-top-bar {
  background-color: var(--cmc-navy-dark);
  color: #e2e8f0;
  font-size: 13px;
  border-bottom: 2px solid var(--cmc-gold);
  padding: 6px 0;
}

.cmc-top-bar a {
  color: #f1f5f9;
}

.cmc-top-bar a:hover {
  color: var(--cmc-gold-light);
}

.top-bar-divider {
  display: inline-block;
  margin: 0 10px;
  color: #475569;
}

.accessibility-buttons {
  display: inline-flex;
  gap: 4px;
  align-items: center;
}

.access-btn {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1px 7px;
  font-size: 11px;
  border-radius: 3px;
  cursor: pointer;
  line-height: 1.2;
}

.access-btn:hover {
  background: var(--cmc-gold);
  color: var(--cmc-navy-dark);
  border-color: var(--cmc-gold);
}

/* Main Institutional Header */
.cmc-main-header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #edf2f7;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.header-logo-img {
  height: 78px;
  width: auto;
  object-fit: contain;
}

.header-title-wrap {
  display: flex;
  flex-direction: column;
}

.trust-subhead {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--cmc-maroon);
  margin-bottom: 2px;
}

.college-main-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--cmc-navy);
  margin: 0;
  line-height: 1.2;
}

.college-sub-title {
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--cmc-maroon);
  text-transform: uppercase;
  margin-top: 1px;
}

.college-meta-strip {
  font-size: 11.5px;
  font-weight: 500;
  color: var(--cmc-text-muted);
  margin-top: 3px;
}

.header-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.btn-enquiry-header {
  background: linear-gradient(135deg, var(--cmc-maroon), var(--cmc-maroon-dark));
  color: #ffffff !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 8px rgba(122, 12, 26, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-enquiry-header:hover {
  background: linear-gradient(135deg, var(--cmc-maroon-light), var(--cmc-maroon));
  transform: translateY(-1px);
  box-shadow: 0 5px 12px rgba(122, 12, 26, 0.35);
}

.btn-call-header {
  background: #f8fafc;
  color: var(--cmc-navy) !important;
  border: 1px solid var(--cmc-border);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-call-header:hover {
  background: #e2e8f0;
  color: var(--cmc-navy-dark) !important;
}

/* Institutional Navigation Bar */
.cmc-navbar-section {
  background: linear-gradient(to right, var(--cmc-navy), var(--cmc-navy-dark));
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.cmc-nav {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cmc-nav-item {
  position: relative;
}

.cmc-nav-link {
  display: block;
  padding: 13px 16px;
  color: #f8fafc;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-fast);
}

.cmc-nav-item:first-child .cmc-nav-link {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.cmc-nav-link:hover,
.cmc-nav-item.active .cmc-nav-link {
  color: #ffffff;
  background-color: var(--cmc-maroon);
}

.cmc-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: #ffffff;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--cmc-gold);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  z-index: 1050;
}

.cmc-nav-item:hover .cmc-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cmc-dropdown-link {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  color: var(--cmc-text-dark);
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
}

.cmc-dropdown-link:hover {
  background-color: var(--cmc-bg-light);
  color: var(--cmc-maroon);
  padding-left: 24px;
}

/* Latest Notice Announcement Strip / Marquee */
.cmc-notice-strip {
  background: var(--cmc-gold-subtle);
  border-top: 1px solid var(--cmc-border-gold);
  border-bottom: 1px solid var(--cmc-border-gold);
  padding: 7px 0;
  font-size: 13.5px;
  overflow: hidden;
  max-width: 100%;
}

.notice-strip-badge {
  background: var(--cmc-maroon);
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
}

.marquee-text {
  display: inline-block;
  animation: marquee 32s linear infinite;
  padding-left: 100%;
}

.marquee-container:hover .marquee-text {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}

.marquee-item {
  color: var(--cmc-navy);
  font-weight: 600;
  margin-right: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.badge-new-pulse {
  background: #dc2626;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

/* Institutional Hero Banner */
.cmc-hero-section {
  position: relative;
  min-height: 520px;
  background-color: var(--cmc-navy-dark);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: #ffffff;
}

.cmc-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(105deg, rgba(7, 23, 44, 0.92) 0%, rgba(11, 37, 69, 0.82) 55%, rgba(122, 12, 26, 0.65) 100%);
  z-index: 1;
}

.cmc-hero-section .container-fluid,
.cmc-hero-section .container {
  position: relative;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: 50px 0;
}

.hero-tagline-badge {
  background: rgba(197, 155, 39, 0.2);
  border: 1px solid var(--cmc-gold);
  color: var(--cmc-gold-light);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.hero-main-heading {
  font-family: var(--font-serif);
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 14px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-sub-heading {
  font-size: 19px;
  color: #cbd5e1;
  font-weight: 400;
  margin-bottom: 22px;
  max-width: 760px;
}

.hero-courses-strip {
  display: inline-flex;
  gap: 12px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-course-pill {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero-course-pill span {
  color: var(--cmc-gold);
  margin-right: 6px;
}

.hero-cta-group {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--cmc-gold), var(--cmc-gold-dark));
  color: var(--cmc-navy-dark) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 15px rgba(197, 155, 39, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-hero-primary:hover {
  background: linear-gradient(135deg, var(--cmc-gold-light), var(--cmc-gold));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 155, 39, 0.45);
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
}

/* Quick Hero Form Box */
.hero-enquiry-card {
  position: relative;
  z-index: 5;
  background: #ffffff !important;
  border-radius: var(--radius-md);
  padding: 24px 22px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border-top: 4px solid var(--cmc-maroon);
  color: var(--cmc-text-dark);
}

.hero-enquiry-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--cmc-navy) !important;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.hero-enquiry-card p.small,
.hero-enquiry-card .text-muted {
  color: #475569 !important;
  font-size: 13px !important;
  line-height: 1.45;
}

.hero-enquiry-card .cmc-form-control {
  background-color: #f8fafc !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #0f172a !important;
  font-size: 13.5px !important;
  font-weight: 500;
  border-radius: 6px;
  padding: 9px 12px;
  transition: all 0.2s ease;
}

.hero-enquiry-card .cmc-form-control::placeholder {
  color: #64748b !important;
  opacity: 1;
}

.hero-enquiry-card .cmc-form-control:focus {
  background-color: #ffffff !important;
  border-color: var(--cmc-navy) !important;
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.15) !important;
  color: #0f172a !important;
}

.hero-enquiry-card select.cmc-form-control {
  color: #1e293b !important;
  font-weight: 500;
}

.hero-enquiry-card select.cmc-form-control option {
  background-color: #ffffff;
  color: #0f172a;
}

.hero-enquiry-card .btn-cmc-maroon {
  background: linear-gradient(135deg, var(--cmc-maroon), var(--cmc-maroon-dark)) !important;
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  box-shadow: 0 4px 12px rgba(122, 12, 26, 0.35);
  border-radius: 6px;
  transition: all 0.25s ease;
}

.hero-enquiry-card .btn-cmc-maroon:hover {
  background: linear-gradient(135deg, var(--cmc-maroon-light), var(--cmc-maroon)) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(122, 12, 26, 0.45);
}

/* Recognition / Accreditation Strip */
.cmc-accreditation-strip {
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid var(--cmc-border);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: var(--radius-md);
}

.accred-card {
  padding: 22px 18px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-right: 1px solid #edf2f7;
  transition: var(--transition-fast);
}

.accred-card:last-child {
  border-right: none;
}

.accred-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cmc-gold-subtle);
  border: 1px solid var(--cmc-gold);
  color: var(--cmc-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.accred-info h5 {
  font-size: 16px;
  margin: 0;
  color: var(--cmc-navy);
  font-weight: 700;
}

.accred-info p {
  font-size: 13px;
  color: var(--cmc-maroon);
  margin: 2px 0 0 0;
  font-weight: 600;
}

/* Institutional Section Standards */
.cmc-section {
  padding: 60px 0;
}

.cmc-section-alt {
  background-color: var(--cmc-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 45px;
}

.section-pretitle {
  color: var(--cmc-maroon);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  margin-bottom: 6px;
  display: block;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: var(--cmc-navy);
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  margin-bottom: 10px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--cmc-gold);
}

.section-subtitle {
  font-size: 16px;
  color: var(--cmc-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Welcome Section */
.welcome-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--cmc-navy);
}

.welcome-lead {
  font-size: 17px;
  color: var(--cmc-navy);
  font-weight: 500;
  line-height: 1.8;
  margin-bottom: 18px;
}

/* Course Showcase Cards */
.course-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
  border: 1px solid var(--cmc-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--cmc-gold);
}

.course-card-thumb {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.course-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-card-thumb img {
  transform: scale(1.05);
}

.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--cmc-maroon);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 3px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.course-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-card-body h3 {
  font-size: 21px;
  color: var(--cmc-navy);
  margin-bottom: 8px;
}

.course-meta-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.meta-tag {
  background: var(--cmc-bg-light);
  border: 1px solid var(--cmc-border);
  font-size: 12px;
  font-weight: 600;
  color: var(--cmc-navy);
  padding: 3px 9px;
  border-radius: 3px;
}

.course-desc {
  font-size: 14.5px;
  color: var(--cmc-text-muted);
  margin-bottom: 20px;
  flex: 1;
}

/* Why Choose Us Grid */
.feature-box {
  background: #ffffff;
  padding: 26px 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cmc-border);
  transition: var(--transition-fast);
  text-align: center;
  height: 100%;
}

.feature-box:hover {
  border-color: var(--cmc-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--cmc-gold-subtle);
  border: 1px solid var(--cmc-gold);
  color: var(--cmc-maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px auto;
}

.feature-box h4 {
  font-size: 17px;
  color: var(--cmc-navy);
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 13.5px;
  color: var(--cmc-text-muted);
  margin: 0;
}

/* Management & Leadership Cards */
.leadership-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cmc-border);
  margin-bottom: 24px;
}

.leader-photo-wrap {
  position: relative;
  text-align: center;
  background: #f1f5f9;
  padding: 20px;
}

.leader-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.leader-details {
  padding: 24px;
}

.leader-name {
  font-size: 20px;
  color: var(--cmc-navy);
  margin-bottom: 2px;
  font-weight: 700;
}

.leader-role {
  color: var(--cmc-maroon);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}

.leader-message {
  font-style: italic;
  font-size: 14.5px;
  color: var(--cmc-text-dark);
  line-height: 1.7;
}

/* Faculty Cards */
.faculty-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cmc-border);
  text-align: center;
  padding: 24px 20px;
  transition: var(--transition-fast);
  height: 100%;
}

.faculty-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--cmc-gold);
}

.faculty-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cmc-gold);
  margin: 0 auto 15px auto;
  box-shadow: var(--shadow-sm);
}

.faculty-card h4 {
  font-size: 17.5px;
  color: var(--cmc-navy);
  margin-bottom: 3px;
}

.faculty-desig {
  color: var(--cmc-maroon);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
}

.faculty-dept {
  font-size: 12.5px;
  color: var(--cmc-text-muted);
  margin-bottom: 10px;
}

.faculty-qual {
  font-size: 12px;
  background: var(--cmc-bg-light);
  padding: 4px 10px;
  border-radius: 3px;
  display: inline-block;
  color: var(--cmc-navy);
  font-weight: 600;
}

/* Institutional Notice Board Widget */
.notice-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cmc-border);
  overflow: hidden;
}

.notice-box-header {
  background: linear-gradient(135deg, var(--cmc-navy), var(--cmc-navy-dark));
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid var(--cmc-gold);
}

.notice-box-header h4 {
  font-size: 18px;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.notice-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 480px;
  overflow-y: auto;
}

.notice-item {
  padding: 16px 20px;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: var(--transition-fast);
}

.notice-item:hover {
  background-color: #fafbfd;
}

.notice-date-badge {
  background: var(--cmc-bg-light);
  border: 1px solid var(--cmc-border);
  border-radius: var(--radius-sm);
  padding: 6px 10px;
  text-align: center;
  min-width: 58px;
  flex-shrink: 0;
}

.notice-date-badge .day {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--cmc-maroon);
  line-height: 1;
}

.notice-date-badge .month {
  display: block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cmc-text-muted);
  margin-top: 2px;
}

.notice-details {
  flex: 1;
}

.notice-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--cmc-navy);
  margin-bottom: 4px;
  display: block;
}

.notice-item:hover .notice-title {
  color: var(--cmc-maroon);
}

.notice-meta {
  font-size: 12px;
  color: var(--cmc-text-muted);
}

/* Events Cards */
.event-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cmc-border);
  transition: var(--transition-fast);
  margin-bottom: 24px;
}

.event-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.event-thumb {
  height: 190px;
  overflow: hidden;
  position: relative;
}

.event-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-date-overlay {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: var(--cmc-maroon);
  color: #fff;
  padding: 4px 10px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 700;
}

.event-content {
  padding: 20px;
}

.event-title {
  font-size: 17px;
  margin-bottom: 8px;
}

.event-desc {
  font-size: 13.5px;
  color: var(--cmc-text-muted);
  margin-bottom: 14px;
}

/* Gallery Section */
.gallery-card {
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  height: 240px;
  background: #000;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px 14px;
  background: linear-gradient(transparent, rgba(7, 23, 44, 0.9));
  color: #ffffff;
  font-size: 13px;
  font-weight: 500;
}

/* Downloads Table */
.download-table {
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cmc-border);
}

.download-table th {
  background: var(--cmc-navy);
  color: #ffffff;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 13.5px;
  padding: 14px 18px;
}

.download-table td {
  padding: 14px 18px;
  font-size: 14px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
}

/* Institutional Footer */
.cmc-footer {
  background: var(--cmc-navy-dark);
  color: #cbd5e1;
  border-top: 4px solid var(--cmc-gold);
  padding: 60px 0 20px 0;
  font-size: 14px;
}

.footer-widget h4 {
  color: #ffffff;
  font-size: 18px;
  font-family: var(--font-serif);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-widget h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2.5px;
  background: var(--cmc-gold);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
}

.footer-links a {
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.footer-links a:hover {
  color: var(--cmc-gold-light);
  transform: translateX(4px);
}

.cmc-footer a {
  color: #f1f5f9;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: #e2e8f0;
}

.footer-contact-item strong {
  color: #ffffff;
  display: inline-block;
  margin-bottom: 2px;
}

.footer-contact-item a {
  color: #f8fafc !important;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--cmc-gold-light) !important;
  text-decoration: underline;
}

.footer-contact-icon {
  color: var(--cmc-gold);
  font-size: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 45px;
  padding-top: 20px;
  font-size: 13px;
  color: #94a3b8;
}

/* Floating WhatsApp Widget */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 28px;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4);
  z-index: 1040;
  transition: var(--transition-normal);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  color: #ffffff;
}

/* Sticky Mobile Bottom Action Bar (PRD Section 43) */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 0 -3px 12px rgba(0, 0, 0, 0.12);
  z-index: 1030;
  border-top: 2px solid var(--cmc-gold);
}

.mobile-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
}

.mobile-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  border-right: 1px solid #edf2f7;
}

.mobile-action-btn i {
  font-size: 17px;
  margin-bottom: 2px;
}

.btn-mobile-call {
  color: var(--cmc-navy);
}

.btn-mobile-whatsapp {
  color: #128c7e;
}

.btn-mobile-apply {
  background: var(--cmc-maroon);
  color: #ffffff !important;
  border-right: none;
}

/* Forms Styling */
.cmc-form-control {
  border: 1px solid var(--cmc-border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 14px;
}

.cmc-form-control:focus {
  border-color: var(--cmc-navy);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.15);
  outline: none;
}

.btn-cmc-primary {
  background: linear-gradient(135deg, var(--cmc-navy), var(--cmc-navy-dark));
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition-fast);
}

.btn-cmc-primary:hover {
  background: linear-gradient(135deg, var(--cmc-navy-light), var(--cmc-navy));
}

.btn-cmc-maroon {
  background: linear-gradient(135deg, var(--cmc-maroon), var(--cmc-maroon-dark));
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  transition: var(--transition-fast);
}

.btn-cmc-maroon:hover {
  background: linear-gradient(135deg, var(--cmc-maroon-light), var(--cmc-maroon));
}

/* Page Banner */
.cmc-page-banner {
  background: linear-gradient(to right, var(--cmc-navy-dark), var(--cmc-navy));
  color: #ffffff;
  padding: 45px 0;
  border-bottom: 3px solid var(--cmc-gold);
}

.cmc-breadcrumb {
  font-size: 13.5px;
  color: #cbd5e1;
}

.cmc-breadcrumb a {
  color: var(--cmc-gold-light);
}

/* ==========================================================
   Comprehensive Mobile & Tablet Responsive Styles
   ========================================================== */

/* Tablet & Smaller Screens (<= 991px) */
@media (max-width: 991.98px) {
  .cmc-nav {
    display: none !important;
  }
  
  .header-brand {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    gap: 10px;
  }
  
  .header-logo-img {
    width: 75px;
    height: 75px;
  }
  
  .college-main-title {
    font-size: 20px;
    letter-spacing: 0.5px;
  }
  
  .college-sub-title {
    font-size: 13px;
  }
  
  .cmc-hero-section {
    min-height: auto;
    padding: 35px 0 25px 0;
  }

  .hero-content {
    padding: 20px 0 10px 0;
    text-align: center;
  }

  .hero-tagline-badge {
    white-space: normal;
    text-align: center;
    font-size: 11.5px;
    padding: 6px 14px;
    line-height: 1.4;
  }

  .hero-main-heading {
    font-size: 28px;
    line-height: 1.25;
  }

  .hero-sub-heading {
    font-size: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-courses-strip {
    justify-content: center;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-enquiry-card {
    max-width: 520px;
    margin: 25px auto 0 auto;
  }

  .cmc-accreditation-strip {
    margin-top: 20px;
  }

  .accred-card {
    border-right: none;
    border-bottom: 1px solid #edf2f7;
    padding: 16px;
  }

  .accred-card:last-child {
    border-bottom: none;
  }

  .section-padding {
    padding: 45px 0;
  }
}

/* Mobile Phones (<= 767.98px) */
@media (max-width: 767.98px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  body {
    padding-bottom: 64px; /* Space for sticky bottom bar */
  }

  /* Sticky Bottom Bar */
  .mobile-bottom-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 56px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
    z-index: 1040;
  }

  .mobile-bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.3fr;
    height: 100%;
  }

  .mobile-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    line-height: 1;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    transition: background 0.2s ease;
  }

  .mobile-action-btn i {
    font-size: 17px;
  }

  .btn-mobile-call {
    background: #f8fafc;
    color: var(--cmc-navy) !important;
  }

  .btn-mobile-whatsapp {
    background: #eefdf3;
    color: #16a34a !important;
  }

  .btn-mobile-apply {
    background: linear-gradient(135deg, var(--cmc-maroon), var(--cmc-maroon-dark));
    color: #ffffff !important;
    border-right: none;
  }

  /* Floating WhatsApp Icon */
  .floating-whatsapp {
    bottom: 70px;
    right: 16px;
    width: 50px;
    height: 50px;
    font-size: 28px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.45);
    z-index: 1030;
  }

  /* Top Bar */
  .cmc-top-bar {
    font-size: 11px;
    padding: 5px 0;
  }

  .access-btn {
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  /* Main Header */
  .cmc-main-header {
    padding: 14px 0;
  }

  .header-brand {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .header-logo-img {
    width: 65px;
    height: 65px;
  }

  .trust-subhead {
    font-size: 9.5px;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
  }

  .college-main-title {
    font-size: 17.5px;
    line-height: 1.25;
    margin-bottom: 2px;
  }

  .college-sub-title {
    font-size: 12px;
    letter-spacing: 0.8px;
  }

  .college-meta-strip {
    font-size: 11px;
    margin-top: 4px;
  }

  /* Navbar */
  .cmc-navbar-section {
    padding: 0;
  }

  /* Notice Marquee Bar */
  .cmc-notice-ticker-bar {
    padding: 6px 0;
  }

  .ticker-badge {
    font-size: 11px;
    padding: 3px 8px;
  }

  .ticker-content a {
    font-size: 12.5px;
  }

  /* Hero Section */
  .cmc-hero-section {
    min-height: auto;
    padding: 30px 0 25px 0;
  }

  .hero-content {
    padding: 10px 0;
    text-align: center;
  }

  .hero-tagline-badge {
    font-size: 10.5px;
    padding: 5px 10px;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .hero-main-heading {
    font-size: 23px;
    line-height: 1.28;
    margin-bottom: 12px;
  }

  .hero-sub-heading {
    font-size: 14.5px;
    line-height: 1.5;
    margin-bottom: 18px;
  }

  .hero-courses-strip {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    margin-bottom: 20px;
  }

  .hero-course-pill {
    font-size: 13px;
    padding: 8px 12px;
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 14.5px;
  }

  /* Hero Quick Admission Desk Form */
  .hero-enquiry-card {
    padding: 20px 16px;
    border-radius: 10px;
    margin-top: 22px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  }

  .hero-enquiry-card h4 {
    font-size: 18px;
  }

  .hero-enquiry-card p.small {
    font-size: 12.5px !important;
    margin-bottom: 12px !important;
  }

  /* Inputs minimum 16px to prevent iOS Safari auto-zoom on focus */
  .hero-enquiry-card .cmc-form-control,
  .form-control,
  .form-select {
    font-size: 16px !important;
    height: 44px;
    padding: 8px 12px;
  }

  .hero-enquiry-card .btn-cmc-maroon {
    height: 44px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Accreditation Strip */
  .cmc-accreditation-strip {
    margin-top: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  }

  .accred-card {
    padding: 12px 14px;
    gap: 12px;
  }

  .accred-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
    flex-shrink: 0;
  }

  .accred-info h5 {
    font-size: 14px;
    margin-bottom: 2px;
  }

  .accred-info p {
    font-size: 12px;
    margin-bottom: 0;
  }

  /* Section Headers */
  .section-title {
    font-size: 22px;
    line-height: 1.3;
  }

  .section-subtitle {
    font-size: 13.5px;
  }

  .section-tag {
    font-size: 11px;
    padding: 4px 10px;
  }

  /* Stats Section */
  .stat-card {
    padding: 16px 10px;
  }

  .stat-number {
    font-size: 26px;
  }

  .stat-label {
    font-size: 12px;
  }

  /* Course Cards */
  .course-card-thumb {
    height: 180px;
  }

  .course-card-body {
    padding: 18px 16px;
  }

  .course-card-body h3 {
    font-size: 18px;
  }

  .course-meta-tags {
    gap: 6px;
  }

  .course-tag {
    font-size: 11.5px;
    padding: 4px 8px;
  }

  /* About / Leadership / Messages */
  .about-lead-box {
    padding: 18px 16px;
  }

  .leadership-card {
    margin-bottom: 20px;
  }

  /* Notices & Events */
  .notice-item-card {
    padding: 14px;
    gap: 12px;
  }

  .notice-date-box {
    min-width: 52px;
    padding: 8px 6px;
  }

  .notice-date-box .date-day {
    font-size: 18px;
  }

  .notice-date-box .date-month {
    font-size: 10px;
  }

  .notice-title {
    font-size: 14px;
  }

  /* Tables inside cards */
  .table-responsive {
    margin-bottom: 12px;
    border: 0;
  }

  /* Footer */
  .cmc-footer {
    padding-top: 35px;
    padding-bottom: 15px;
  }

  .footer-col {
    margin-bottom: 25px;
  }

  .footer-heading {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .footer-contact-item {
    font-size: 13px;
    margin-bottom: 10px;
  }

  .footer-bottom-bar {
    padding-top: 15px;
    font-size: 12px;
  }

  /* Inner Page Banners */
  .cmc-page-banner {
    padding: 30px 0 25px 0;
    min-height: auto;
  }

  .page-banner-title {
    font-size: 22px;
  }

  .page-banner-sub {
    font-size: 13.5px;
  }

  .cmc-breadcrumb {
    font-size: 12px;
  }

  /* Admission Enquiry Modal on Mobile */
  .modal-dialog {
    margin: 12px;
  }

  .modal-content {
    border-radius: 12px;
  }

  .modal-header {
    padding: 14px 16px;
  }

  .modal-body {
    padding: 16px;
  }
}

/* Extra Small Phones (<= 420px) */
@media (max-width: 420px) {
  .college-main-title {
    font-size: 16px;
  }

  .hero-main-heading {
    font-size: 21px;
  }

  .header-logo-img {
    width: 58px;
    height: 58px;
  }

  .mobile-bottom-bar {
    height: 54px;
  }

  .mobile-action-btn {
    font-size: 10px;
  }

  .mobile-action-btn i {
    font-size: 15px;
  }
}
