:root {
	--purple: #7a2382;
	--purple-dark: #65156f;
	--orange: #e86f00;
	--cream: #f7f0e5;
	--text: #333333;
}

body {
	font-family: "Segoe UI", Arial, sans-serif;
	color: var(--text);
	margin: 0;
	background: #fff;
}

h1,
h2,
h3 {
	font-family: Georgia, "Times New Roman", serif;
}

a {
	text-decoration: none;
}

/* Top Bar */
.top-bar {
	background: #f4eadc;
	font-size: 13px;
	border-bottom: 1px solid #eadfce;
}

.top-bar a {
	color: #222;
	font-weight: 600;
	padding: 14px 18px;
	display: inline-block;
	border-left: 1px solid #e0d5c5;
}

.top-bar .search-link {
	background: var(--orange);
	color: #fff;
}

/* Header */
.main-header {
	background: #fff;
	border-bottom: 3px solid var(--orange);
}

.navbar-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	color: var(--purple);
	line-height: 1;
}

.logo-mark {
	width: 32px;
	height: 32px;
	border: 3px solid var(--purple);
	transform: rotate(45deg);
	position: relative;
}

.logo-mark::after {
	content: "";
	width: 13px;
	height: 13px;
	border: 3px solid var(--orange);
	position: absolute;
	top: 6px;
	left: 6px;
}

.brand-text {
	font-size: 19px;
	line-height: 17px;
}

.navbar-nav .nav-link {
	color: #7a2382;
	font-weight: 700;
	padding: 24px 12px;
	border-radius: 6px 6px 0 0;
	transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
	white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	background-color: #7a2382;
	color: #ffffff !important;
	box-shadow: inset 0 -5px 0 #e86f00;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
	color: #ffffff;
}

/* Hero */
.hero {
	min-height: 470px;
	position: relative;
	overflow: hidden;
	background:
		linear-gradient(90deg,
			rgba(122, 35, 130, 0.98) 0%,
			rgba(122, 35, 130, 0.94) 42%,
			rgba(122, 35, 130, 0.55) 58%,
			rgba(122, 35, 130, 0) 75%),
		url("../images/hero.png");
	background-size: cover;
	background-position: center right;
	display: flex;
	align-items: center;
}

.hero-content {
	color: #fff;
	max-width: 720px;
}

.hero h1 {
	font-size: 52px;
	line-height: 1.15;
	margin-bottom: 28px;
}

.hero h1 em {
	font-style: italic;
	display: block;
	font-weight: 400;
}

.hero-badge {
	display: inline-block;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.7);
	padding: 12px 18px;
	border-radius: 5px;
	font-weight: 700;
	font-size: 15px;
}

/* Search Strip */
.institution-search {
	background: var(--purple);
	padding: 28px 0;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.institution-search h4 {
	color: #fff;
	font-weight: 800;
	margin: 0;
	font-size: 25px;
}

.search-box {
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	display: flex;
	min-height: 50px;
}

.search-box input,
.search-box select {
	border: none;
	border-right: 1px solid #d9c5dc;
	padding: 0 18px;
	font-size: 14px;
	outline: none;
}

.search-box input {
	flex: 1.4;
}

.search-box select {
	flex: 0.8;
	color: #555;
}

.search-box button {
	background: var(--purple-dark);
	color: #fff;
	border: none;
	padding: 0 48px;
	font-weight: 700;
}

/* Common Section */
.section-padding {
	padding: 85px 0;
}

.section-title {
	text-align: center;
	color: var(--purple);
	font-size: 42px;
	margin-bottom: 55px;
}

/* Help Cards */
.help-card img {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 6px;
	margin-bottom: 22px;
}

.help-card h5 {
	color: var(--purple);
	font-weight: 800;
	margin-bottom: 14px;
}

.help-card p {
	font-size: 15px;
	line-height: 1.5;
}

.card-link {
	color: var(--purple);
	font-weight: 800;
	font-size: 14px;
	display: inline-flex;
	gap: 14px;
	align-items: center;
}

/* Who We Are */
.who-section {
	position: relative;
	padding: 95px 0 90px;
	background: linear-gradient(110deg, #cf4422 0%, #852181 55%, #64127a 100%);
}

.who-section::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	height: 230px;
	width: 100%;
	background: #fff;
	z-index: 1;
}

.who-section .container {
	position: relative;
	z-index: 2;
}

.who-title {
	color: #fff;
	text-align: center;
	font-size: 42px;
	margin-bottom: 65px;
}

.stat-card {
	background: var(--cream);
	border-radius: 6px;
	padding: 52px 38px;
	min-height: 365px;
	text-align: center;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.stat-number {
	color: var(--orange);
	font-size: 48px;
	font-weight: 400;
	margin-bottom: 10px;
}

.stat-card h5 {
	font-size: 17px;
	margin-bottom: 10px;
	color: #555;
}

.stat-card p {
	font-size: 15px;
	line-height: 1.45;
	margin: 0;
}

.purple-btn {
	background: var(--purple);
	color: #fff;
	border-radius: 5px;
	padding: 13px 45px;
	display: inline-block;
	font-weight: 800;
	font-size: 14px;
}

.purple-btn:hover {
	background: var(--purple-dark);
	color: #fff;
}

/* Divider */
.color-divider {
	height: 38px;
	background:
		linear-gradient(120deg, rgba(122, 35, 130, 0.95), rgba(122, 35, 130, 0.75), rgba(232, 111, 0, 0.95)),
		repeating-linear-gradient(45deg,
			transparent 0,
			transparent 35px,
			rgba(255, 255, 255, 0.12) 36px,
			rgba(255, 255, 255, 0.12) 70px);
}

/* News */
.news-card img {
	width: 100%;
	height: 210px;
	object-fit: cover;
	margin-bottom: 22px;
}

.news-card h5 {
	color: var(--purple);
	font-weight: 800;
	font-size: 18px;
	line-height: 1.25;
	margin-bottom: 12px;
}

.tag {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	padding: 4px 12px;
	margin-right: 5px;
	margin-bottom: 12px;
	background: var(--purple);
	color: #fff;
}

.tag.light-blue {
	background: #d8f2f5;
	color: #333;
}

.tag.gray {
	background: #e3e3e3;
	color: #333;
}

.tag.beige {
	background: #e8d9be;
	color: #333;
}

.news-card p {
	font-size: 15px;
	line-height: 1.5;
}

/* Footer */
.footer {
	background: var(--purple);
	color: #fff;
	padding: 55px 0 45px;
	position: relative;
}

.footer-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	margin-bottom: 35px;
}

.footer .logo-mark {
	border-color: #fff;
	width: 25px;
	height: 25px;
}

.footer .logo-mark::after {
	border-color: #fff;
	width: 10px;
	height: 10px;
	top: 5px;
	left: 5px;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	gap: 35px;
	margin-bottom: 25px;
}

.footer-links a {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.footer p,
.footer a.small-link {
	color: #fff;
	font-size: 12px;
}

.social-icons {
	display: flex;
	gap: 18px;
	justify-content: flex-end;
}

.social-icons a {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #fff;
	color: var(--purple);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
}

.back-top {
	position: absolute;
	right: 28px;
	bottom: 28px;
	width: 45px;
	height: 45px;
	background: var(--orange);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	transform: rotate(45deg);
}

.back-top i {
	transform: rotate(-45deg);
}

/* Responsive */
@media (max-width: 991px) {
	.navbar-nav .nav-link {
		padding: 10px 0;
	}

	.hero {
		min-height: 420px;
		background-position: center;
	}

	.hero h1 {
		font-size: 38px;
	}

	.search-box {
		flex-direction: column;
	}

	.search-box input,
	.search-box select,
	.search-box button {
		min-height: 50px;
		width: 100%;
		border-right: none;
		border-bottom: 1px solid #ddd;
	}

	.institution-search h4 {
		margin-bottom: 18px;
	}

	.section-title,
	.who-title {
		font-size: 34px;
	}

	.social-icons {
		justify-content: flex-start;
		margin-top: 25px;
	}
}

@media (max-width: 575px) {
	.top-bar {
		display: none;
	}

	.hero h1 {
		font-size: 31px;
	}

	.hero {
		min-height: 380px;
	}

	.section-padding {
		padding: 60px 0;
	}

	.stat-card {
		min-height: auto;
	}
}

.navbar-nav .nav-link {
	position: relative;
	color: #7a2382;
	font-weight: 700;
	padding: 24px 12px;
	border-radius: 6px 6px 0 0;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
	overflow: hidden;
}

.navbar-nav .nav-link::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 5px;
	background-color: #e86f00;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
	background-color: #7a2382;
	color: #ffffff !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
	opacity: 1;
}

.navbar-nav .nav-link:hover i,
.navbar-nav .nav-link.active i {
	color: #ffffff;
}

.footer-logo {
	margin-bottom: 35px;
	display: block;
}

.footer-logo .logo-image {
	width: 80px;
	max-width: 100%;
	height: auto;
	display: block;
}

.main-header {
  position: relative;
  z-index: 999;
}

.menu-caret {
  font-size: 13px;
  margin-left: 4px;
}

.mega-menu {
  width: 100%;
  left: 0;
  right: 0;
  top: 100%;
  border: 0;
  border-radius: 0;
  padding: 48px 0;
  margin-top: 0;
  background: #f8efe3;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px 55px;
  align-items: center;
}

.mega-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  color: #111;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.mega-item i {
  color: #e86f00;
  font-size: 28px;
  min-width: 30px;
}

.mega-item:hover {
  color: #7a2382;
}

.mega-card {
  border: 2px solid #7a2382;
  border-radius: 6px;
  padding: 28px;
  color: #7a2382;
  min-height: 120px;
}

.canopy-text {
  font-size: 42px;
  font-weight: 300;
  display: block;
}

.mega-card small {
  font-weight: 800;
}

@media (max-width: 991px) {
  .mega-menu {
    position: static !important;
    padding: 20px;
    box-shadow: none;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}
.mega-card {
  width: 180px !important;
  height: 190px !important;
  padding: 10px !important;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.mega-card-img {
  width: auto !important;
  height: 100% !important;
  max-width: 100% !important;
  object-fit: contain !important;
  display: block;
}

.related-resources-section {
  padding: 55px 0;
  background: #fff;
}

.related-resources-box {
  max-width: 1180px;
  margin: 0 auto;

  background: #f8efe3;
  border-radius: 7px;
  padding: 55px 70px;
}

.related-resources-box h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: #e86f00;
  font-size: 46px;
  margin-bottom: 35px;
}

.related-resources-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
}

.related-resources-grid li {
  color: #7a2382;
  font-size: 20px;
  margin-bottom: 22px;
}

.related-resources-grid a {
  color: #7a2382;
  font-weight: 800;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .related-resources-box {
    padding: 35px 25px;
  }

  .related-resources-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .related-resources-box h2 {
    font-size: 34px;
  }
}

.calendar-events-btn-section {
  padding: 0px 0;
  text-align: center;
  background: #fff;
}

.outline-purple-btn {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  border: 2px solid #7a2382;
  color: #7a2382;
  padding: 18px 48px;
  border-radius: 7px;
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.outline-purple-btn i {
  font-size: 28px;
}

.outline-purple-btn:hover {
  background: #7a2382;
  color: #fff;
}
.navbar-brand .logo-image {
  width: 120px;
  height: auto;
  max-height: 95px;
  object-fit: contain;
  display: block;
}

.main-header .navbar {
  min-height: 105px;
}

.navbar-brand {
  padding: 8px 0;
}

