/*
Theme Name: University Theme
Author: IvyNexus Elite
Author URI: https://ivynexus.edu
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: university-theme
*/

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.5;
	color: #1E293B;
	background: #faf9fd;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
}

/* ===========================
   HEADER
   =========================== */
.univ-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	background: rgba(255, 255, 255, 0.8);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border-bottom: 1px solid rgba(226, 232, 240, 0.5);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
	transition: background 0.3s, box-shadow 0.3s;
}

.univ-header--scrolled {
	background: rgba(255, 255, 255, 0.95);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.univ-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	max-width: 1440px;
	margin: 0 auto;
	padding: 16px 24px;
	gap: 24px;
}

.univ-header-brand {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 32px;
	font-weight: 700;
	color: #002045;
	text-decoration: none;
	letter-spacing: -0.01em;
	flex-shrink: 0;
}

.univ-header-brand:hover {
	color: #002045;
}

/* Nav Links */
.univ-nav-links {
	display: flex;
	align-items: center;
	gap: 24px;
}

.univ-nav-links a {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #64748B;
	text-decoration: none;
	transition: color 0.2s ease;
}

.univ-nav-links a:hover {
	color: #002045;
	opacity: 0.8;
}

.univ-nav-list {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Nav Actions */
.univ-nav-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.univ-btn-login {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	color: #002045;
	text-decoration: none;
	transition: opacity 0.2s;
}

.univ-btn-login:hover {
	opacity: 0.8;
}

.univ-btn-apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 16px;
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	text-decoration: none;
	background: #002045;
	color: #ffffff;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.univ-btn-apply:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 32, 69, 0.15);
}

/* Mobile Toggle */
.univ-nav-toggle {
	display: none;
	background: none;
	border: none;
	color: #002045;
	cursor: pointer;
	padding: 4px;
}

/* ===========================
   MAIN
   =========================== */
.univ-main {
	padding-top: 0;
}

/* ===========================
   FOOTER
   =========================== */
.univ-footer {
	background: #002045;
	padding: 32px 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 64px;
}

.univ-footer-inner {
	max-width: 1440px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	text-align: center;
}

.univ-footer-brand {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 32px;
	font-weight: 600;
	color: #ffffff;
}

.univ-footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 24px;
}

.univ-footer-links a {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: rgba(134, 160, 205, 0.8);
	text-decoration: none;
	transition: color 0.2s;
}

.univ-footer-links a:hover {
	color: #ffffff;
}

.univ-footer-copy {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 500;
	color: rgba(134, 160, 205, 0.6);
}

/* ===========================
   ENTRANCE ANIMATIONS
   =========================== */
@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes bounce {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.fade-in-up {
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	opacity: 0;
	transform: translateY(20px);
}

.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

.hover-lift {
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.hover-lift:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 32, 69, 0.15);
}

/* ===========================
   ELEMENTOR WIDGET OVERRIDES
   =========================== */

/* Hero Badge */
.univ-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgba(212, 175, 55, 0.2);
	color: #D4AF37;
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	padding: 8px 16px;
	border-radius: 9999px;
	margin-bottom: 16px;
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	opacity: 0;
}

.univ-hero-badge-icon {
	font-size: 16px;
}

.univ-hero-badge-label {
	font-family: 'Inter', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

/* Hero Desc */
.univ-hero-desc {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 24px;
	max-width: 560px;
}

/* Hero Buttons */
.univ-hero-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 300ms forwards;
	opacity: 0;
}

.univ-hero-btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 16px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	background: #D4AF37;
	color: #002045;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
}

.univ-hero-btn-primary:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 32, 69, 0.15);
}

.univ-hero-btn-secondary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 16px 32px;
	border-radius: 16px;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s;
}

.univ-hero-btn-secondary:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 32, 69, 0.15);
	background: rgba(255, 255, 255, 0.25);
}

.univ-hero-btn-icon {
	font-size: 20px;
	font-variation-settings: 'FILL' 0;
}

/* Stats Section */
.univ-stats-section {
	position: relative;
}

@media (max-width: 768px) {
	.univ-stats-section {
		margin-top: -24px !important;
	}
}

/* Program Cards */
.univ-program-card {
	background: #ffffff;
	border-radius: 16px;
	padding: 24px;
	border: 1px solid #E2E8F0;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
	height: 100%;
}

.univ-program-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px -8px rgba(0, 32, 69, 0.15);
}

.univ-program-icon-wrap {
	width: 48px;
	height: 48px;
	background: #d6e3ff;
	color: #002045;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 16px;
}

.univ-program-icon-sym {
	font-size: 24px;
}

.univ-program-title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 24px;
	font-weight: 600;
	color: #002045;
	margin: 0 0 8px;
	line-height: 1.3;
}

.univ-program-desc {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #64748B;
	margin: 0 0 16px;
}

.univ-program-link {
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #002045;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color 0.2s;
}

.univ-program-link:hover {
	color: #D4AF37;
}

.univ-program-link-icon {
	font-size: 16px;
}

/* Campus Highlight Cards */
.univ-highlight-card {
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.univ-highlight-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Glass Panel Utility */
.glass-panel {
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Icon List Overrides */
.elementor-icon-list-icon {
	display: inline-flex;
}

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 768px) {
	.univ-nav-links {
		display: none;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		background: rgba(255, 255, 255, 0.98);
		flex-direction: column;
		justify-content: center;
		align-items: center;
		gap: 32px;
		z-index: 60;
	}

	.univ-nav-links.open {
		display: flex;
	}

	.univ-nav-list {
		flex-direction: column;
		align-items: center;
		gap: 24px;
	}

	.univ-nav-list a {
		font-size: 20px;
	}

	.univ-nav-actions {
		flex-direction: column;
		gap: 16px;
	}

	.univ-btn-login {
		font-size: 18px;
	}

	.univ-nav-toggle {
		display: block;
		position: relative;
		z-index: 70;
	}

	.univ-header-inner {
		padding: 12px 16px;
	}

	.univ-header-brand {
		font-size: 24px;
	}

	.univ-footer-inner {
		gap: 12px;
	}

	.univ-footer-links {
		gap: 16px;
	}
}

/* Scroll indicator - icon widget */
.elementor-element-hero_scroll .elementor-icon-wrapper {
	text-align: center;
}

.elementor-element-hero_scroll .elementor-icon {
	animation: univ-bounce 2s infinite;
}

@keyframes univ-bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-8px);
	}
	60% {
		transform: translateY(-4px);
	}
}

/* ========================================
   Student Login — Stitch Design Overrides
   ======================================== */
body .exu-login {
	background: #faf9fd;
	padding: 100px 24px 60px;
	min-height: 60vh;
}

body .exu-login-bg {
	display: none !important;
}

body .exu-login-card {
	padding: 40px;
	border-radius: 16px;
}

body .exu-login-title {
	font-size: 24px;
	font-weight: 700;
	text-align: left;
	margin: 0 0 4px;
}

body .exu-login-subtitle {
	font-size: 14px;
	font-weight: 400;
	text-align: left;
}

body .exu-login-header {
	text-align: left;
	margin-bottom: 32px;
}

body .exu-login-accent {
	position: static;
	width: 48px;
	height: 4px;
	margin-bottom: 24px;
	border-radius: 2px;
	background: #D4AF37;
}

body .exu-login-submit {
	background: #D4AF37;
	color: #002045;
	text-transform: none;
	letter-spacing: normal;
	font-size: 16px;
	font-weight: 600;
	border-radius: 16px;
	padding: 14px 32px;
	margin-top: 8px;
}

body .exu-login-submit:hover {
	background: #c9a230;
	box-shadow: none;
}

body .exu-login-footer-link {
	color: #002045;
	font-weight: 600;
}

body .exu-login-footer-link:hover {
	color: #D4AF37;
}

body .exu-login-label {
	font-size: 14px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: normal;
	color: #002045;
}

body .exu-login-input:focus {
	border-color: #D4AF37;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

body .exu-login-link:hover {
	color: #D4AF37;
}

@media (max-width: 480px) {
	body .exu-login-card {
		padding: 24px;
	}
}

/* ========================================
   Registration Portal — Stitch Overrides
   ======================================== */
body .exu-reg-portal {
	padding: 100px 24px 60px;
	min-height: auto;
	background: #faf9fd;
}

body .exu-rp-header {
	position: static;
	border-radius: 16px 16px 0 0;
}

body .exu-rp-main {
	padding: 0;
}

body .exu-rp-card {
	border-radius: 16px;
}

body .exu-rp-step.completed .exu-rp-step-circle {
	background: #D4AF37;
	border-color: #D4AF37;
}

body .exu-rp-step.completed .exu-rp-step-label {
	color: #D4AF37;
}

body .exu-rp-steps-progress {
	background: #D4AF37;
}

body .exu-rp-btn-next {
	background: #D4AF37;
	color: #002045;
	font-weight: 600;
}

body .exu-rp-btn-next:hover {
	background: #c9a230;
	box-shadow: none;
}

body .exu-rp-input:focus {
	border-color: #D4AF37;
	box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

body .exu-rp-btn-doc-upload:hover {
	border-color: #D4AF37;
	color: #D4AF37;
}

body .exu-rp-photo-box:hover {
	border-color: #D4AF37;
	color: #D4AF37;
}

body .exu-rp-footer {
	background: #002045;
	border-radius: 0 0 16px 16px;
}

/* Success page overrides */
body .exu-rp-success {
	min-height: auto;
	padding: 60px 24px;
	background: #faf9fd;
}

body .exu-rp-s-btn-primary {
	background: #D4AF37;
	color: #002045;
	font-weight: 600;
	border-radius: 16px;
}

body .exu-rp-s-btn-primary:hover {
	background: #c9a230;
	box-shadow: none;
}

body .exu-rp-s-btn-secondary {
	border-radius: 16px;
}

@media (max-width: 640px) {
	body .exu-reg-portal {
		padding: 80px 12px 40px;
	}
}
