/* Base Styles */
:root {
  --primary-color: #005a87;
  --primary-dark: #004a70;
  --primary-light: #0077b6; 
  --secondary-color: #f8b400;
  --secondary-dark: #e0a400;
  --accent-color: #e63946;
  --text-color: #333333;
  --text-light: #666666;
  --text-lighter: #999999;
  --bg-color: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #e9ecef;
  --border-color: #dee2e6;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --danger-color: #dc3545;
  --info-color: #17a2b8;
  --font-primary: "Poppins", sans-serif;
  --font-secondary: "Playfair Display", serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 4px;
  --border-radius-lg: 8px;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}
/* Custom Cursor */
.custom-cursor {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
}

.cursor-outer,
.cursor-inner {
  position: fixed;
  border-radius: 50%;
  top: -10px;
  left: -10px;
  transform: translate(0, 0);
  pointer-events: none;
  transition: width 0.2s ease, height 0.2s ease, transform 0.1s ease;
}

.cursor-outer {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 90, 135, 0.5);
  transition: all 0.1s ease-out;
}

.cursor-inner {
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  transition: all 0.2s ease-out;
}

body:hover .cursor-outer {
  width: 30px;
  height: 30px;
  opacity: 0.5;
}

body:hover .cursor-inner {
  width: 6px;
  height: 6px;
}

a:hover ~ .custom-cursor .cursor-outer,
button:hover ~ .custom-cursor .cursor-outer,
.magnetic-item:hover ~ .custom-cursor .cursor-outer {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 90, 135, 0.1);
  border-color: transparent;
}

a:hover ~ .custom-cursor .cursor-inner,
button:hover ~ .custom-cursor .cursor-inner,
.magnetic-item:hover ~ .custom-cursor .cursor-inner {
  width: 10px;
  height: 10px;
  background-color: var(--secondary-color);
}

body {
  font-family: var(--font-primary);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}


/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
}

.loader-svg {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
}

.loader-circle {
  fill: none;
  stroke: var(--primary-color);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 283;
  stroke-dashoffset: 280;
  animation: loaderAnimation 2s ease-in-out infinite;
  transform-origin: 50% 50%;
}

.loader-text {
  font-family: var(--font-secondary);
  font-size: 1.2rem;
  color: var(--primary-color);
  letter-spacing: 2px;
  animation: pulseText 2s infinite;
}

@keyframes loaderAnimation {
  0% {
    stroke-dashoffset: 280;
    transform: rotate(0deg);
  }
  50% {
    stroke-dashoffset: 75;
    transform: rotate(180deg);
  }
  100% {
    stroke-dashoffset: 280;
    transform: rotate(360deg);
  }
}

@keyframes pulseText {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

/* Gradient Text */
.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  position: relative;
}

/* Split Text Animation */
.split-text {
  visibility: hidden;
}

.split-text .char {
  display: inline-block;
  animation: fadeInUp 0.5s var(--animation-curve) both;
  animation-delay: calc(0.05s * var(--char-index));
}



a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

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

.section-header h2 {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary-color);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--primary-color);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--text-color);
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: var(--secondary-dark);
  color: var(--text-color);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Header Styles */
#main-header {
  position: absolute; /* Change from fixed to absolute */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: transparent;
  box-shadow: none;
}

/* Add a class for the scrolled header state */
#main-header.scrolled {
  position: fixed; /* Change to fixed when scrolled */
  background-color: white;
  box-shadow: var(--shadow);
}

.main-nav {
  padding: 20px 0; /* Slightly more padding when transparent */
  transition: all 0.3s ease;
  background-color: transparent; /* Start with transparent background */
}

#main-header.scrolled .main-nav {
  padding: 10px 0;
  background-color: white;
}

/* Update the top bar to be semi-transparent */
.top-bar {
  background-color: rgba(0, 74, 112, 0.8); /* Semi-transparent background */
  color: white;
  padding: 8px 0;
  font-size: 0.9rem;
  backdrop-filter: blur(5px); /* Add blur effect for modern browsers */
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-info {
  display: flex;
  gap: 20px;
}

.contact-info a {
  color: white;
  display: flex;
  align-items: center;
  gap: 5px;
}

.contact-info a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.main-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 15px;
}

/* Update logo sizing to better fit the provided logo */
.logo img {
  width: 50px;
  height: auto;
  transition: all 0.3s ease;
}

#main-header.scrolled .logo img {
  width: 30px;
  height: auto;
  transition: all 0.3s ease;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.university-name {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: white; /* White text for better visibility on hero image */
  transition: color 0.3s ease;
}

.tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9); /* Slightly transparent white */
  transition: color 0.3s ease;
}

#main-header.scrolled .university-name {
  color: var(--primary-color); /* Return to original color when scrolled */
}

#main-header.scrolled .tagline {
  color: var(--text-light); /* Return to original color when scrolled */
}

/* Update the main navigation styles to complement the fancy dropdown */
#desktop-nav ul {
  display: flex;
  gap: 25px;
}

#desktop-nav ul li {
  position: relative;
}

#desktop-nav ul li a {
  color: white; /* White text for better visibility on hero image */
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

#main-header.scrolled #desktop-nav ul li a {
  color: var(--text-color); /* Return to original color when scrolled */
}

/* Add a fancy hover effect for main nav items */
#desktop-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  transition: width 0.3s ease;
}

#desktop-nav ul li a:hover {  
  color: var(--bg-color);
}

#desktop-nav ul li a:hover::after,
#desktop-nav ul li a.active::after {
  width: 100%;
}

/* Add a subtle indicator for dropdown items */
.dropdown > a::before {
  content: "\f107"; /* FontAwesome down arrow */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.7;
  transition: transform 0.3s ease;
}

.dropdown:hover > a::before {
  transform: translateY(-50%) rotate(180deg);
}

/* Enhance the dropdown styles with a more fancy design */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  min-width: 250px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.68, -0.55, 0.27, 1.55);
  z-index: 2000;
  overflow: hidden;
  padding: 0;
  border: none;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(10px);
}

/* Add a fancy header to the dropdown */
.dropdown-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* Add a fancy arrow indicator */
.dropdown-content::after {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid white;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  padding: 14px 20px;
  color: var(--text-color); /* Ensure text is not white */
  transition: all 0.3s ease;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.dropdown-content a:last-child {
  border-bottom: none;
}

/* Add icons to dropdown items */
.dropdown-content a::before {
  content: "\f105"; /* FontAwesome arrow icon */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
  color: var(--primary-color);
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: rgba(0, 90, 135, 0.05);
  color: var(--primary-color);
  padding-left: 25px;
}

.dropdown-content a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

/* Add hover effect with gradient */
.dropdown-content a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, rgba(0, 90, 135, 0.1), transparent);
  z-index: -1;
  transition: all 0.3s ease;
}

.dropdown-content a:hover::after {
  width: 100%;
}

/* Style the dropdown icons */
.dropdown-content a i {
  margin-right: 10px;
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.dropdown-content a:hover i {
  transform: translateX(3px);
}

/* Ensure dropdown text is dark even when header is transparent */
#desktop-nav ul li .dropdown-content a {
  color: var(--text-color); /* Force dropdown text to be dark */
}

.nav-buttons {
  display: flex;
  gap: 15px;
}

.nav-buttons button {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: white; /* White text for better visibility on hero image */
  cursor: pointer;
  transition: var(--transition);
}

#main-header.scrolled .nav-buttons button {
  color: var(--text-color); /* Return to original color when scrolled */
}

.mobile-menu-toggle {
  display: none;
}

.search-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  padding: 20px 0;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  display: none;
  z-index: 100;
}

.search-overlay.active {
  display: block;
}

.search-form {
  display: flex;
  max-width: 600px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius) 0 0 var(--border-radius);
  font-size: 1rem;
}

.search-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  cursor: pointer;
  transition: var(--transition);
}

.search-form button:hover {
  background-color: var(--primary-dark);
}

.close-search {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-color);
  cursor: pointer;
}

#mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

#mobile-nav.active {
  display: block;
}

#mobile-nav ul li a {
  display: block;
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
  font-weight: 500;
}

#mobile-nav ul li a:hover {
  background-color: var(--bg-light);
  color: var(--primary-color);
}

.mobile-dropdown-content {
  display: none;
  background-color: var(--bg-light);
}

.mobile-dropdown-content.active {
  display: block;
}

.mobile-dropdown-content li a {
  padding-left: 40px;
}

/* Footer Styles - Enhanced Version */
footer {
  background: linear-gradient(135deg, #0a2342 0%, #003459 100%);
  color: white !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Add animated background elements */
footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

/* Add a decorative top border */
.footer-top {
  padding: 70px 0 50px;
  position: relative;
  z-index: 1;
}

.footer-top::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--secondary-color),
    var(--primary-light),
    var(--accent-color),
    var(--secondary-color)
  );
  background-size: 300% 100%;
  animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  position: relative;
}

/* First column with logo and contact info */
.footer-column:first-child {
  position: relative;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
  transform: translateZ(0);
  transition: transform 0.3s ease;
}

.footer-logo:hover {
  transform: translateY(-5px);
}

.footer-logo img {
  width: 300px;
  height: auto;
  filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.2));
  transition: all 0.3s ease;
}

.footer-logo:hover img {
  filter: drop-shadow(0 8px 20px rgba(255, 255, 255, 0.3));
}

.footer-logo-text h3 {
  font-family: var(--font-secondary);
  font-size: 1.3rem;
  margin-bottom: 5px;
  background: linear-gradient(90deg, #ffffff, #f8b400);
  background-clip: text; /* Standard property */
  -webkit-background-clip: text; /* WebKit browsers */
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(248, 180, 0, 0.2);
}

.footer-contact {
  margin-bottom: 25px;
  z-index: 1000;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  transition: all 0.3s ease;
  padding: 5px 0;
}

.footer-contact p:hover {
  transform: translateX(5px);
}

.footer-contact p i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 3px;
  transition: all 0.3s ease;
}

.footer-contact p:hover i {
  transform: scale(1.2);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  font-size: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.footer-social a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-5px) rotate(10deg);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.footer-social a:hover::before {
  opacity: 1;
}

/* Middle columns with links */
.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-weight: 600;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--secondary-color);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.footer-column:hover h3::after {
  width: 70px;
}

.footer-column ul li {
  margin-bottom: 12px;
  position: relative;
}

.footer-column ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  display: inline-block;
  padding: 3px 0;
  position: relative;
}

.footer-column ul li a::before {
  content: "→";
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--secondary-color);
}

.footer-column ul li a:hover {
  color: var(--secondary-color);
  padding-left: 20px;
  text-shadow: 0 0 10px rgba(248, 180, 0, 0.3);
}

.footer-column ul li a:hover::before {
  opacity: 1;
  left: 0;
}

/* Newsletter section */
.newsletter-form {
  display: flex;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.newsletter-form input {
  flex: 1;
  padding: 15px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.95rem;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form input:focus {
  background: rgba(255, 255, 255, 0.15);
  outline: none;
}

.newsletter-form button {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--text-color);
  font-weight: 600;
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.newsletter-form button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.newsletter-form button:hover::before {
  left: 100%;
}

.newsletter-form button:hover {
  box-shadow: 0 0 15px rgba(248, 180, 0, 0.5);
}

.footer-apps {
  margin-top: 25px;
}

.app-buttons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.app-button {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 15px;
  border-radius: var(--border-radius);
  color: white;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.app-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.app-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

.app-button:hover::before {
  opacity: 1;
}

.app-button i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
  color: white;
}

.app-button:hover::before {
  opacity: 1;
}

.app-button i {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.app-button:hover i {
  transform: scale(1.2);
}

/* Footer bottom section */
.footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  z-index: 3;
}

.footer-bottom p {
  position: relative;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  padding: 5px 0;
  font-size: 0.95rem;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
  }
}

/* Add a fancy wave divider at the top of the footer */
.footer-wave {
  position: absolute;
  top: -3px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 46px;
}

.footer-wave .shape-fill {
  fill: #ffffff;
}


.footer-logo-text h3 {
  animation: pulse 3s infinite;
}

/* Add styles for the scroll-to-top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
}

.scroll-to-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
  }

  #desktop-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }

  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  .contact-info {
    flex-direction: column;
    gap: 10px;
  }

  .university-name {
    font-size: 1.2rem;
  }

  .tagline {
    font-size: 0.8rem;
  }
}

/* ########################################################################################################### */
 
  
/* Improved Banner Section */
.contents-banner {
  position: relative;
  background-image: url("");
  background-size: cover;
  background-position: center;
  height: 500px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.banner-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 32, 96, 0.85), rgba(0, 103, 120, 0.85));
  
}

.animated-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, #ffffff, #a3d9ff, #ffffff);
  background-size: 200% auto;
  color: #fff;
  background-clip: text; /* Standard property */
  -webkit-background-clip: text; /* WebKit support */
  -webkit-text-fill-color: transparent; /* WebKit support */
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite, fadeInUp 1s ease-out;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  font-size: 1rem;
  animation: fadeIn 1.5s ease-out;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #fff;
  text-decoration: underline;
}

.breadcrumbs span {
  color: #fff;
}

.banner-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 70px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  z-index: 2;
}





/* Enhanced CTA Section */

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, #002060 0%, #006778 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-content {
  text-align: center;
  color: white;
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
}

.glow-text {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  }
  to {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
}

.cta-content p {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.hover-3d {
  transition: transform 0.3s ease,box-shadow 0.3s ease;
  border-radius: var(--border-radius) ;
}

.hover-3d:hover {
  transform: perspective(1000px) rotateX(10deg) rotateY(-10deg) translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.btn-tertiary {
  display: inline-block;
  background: transparent;
  color: white;
  border: 2px solid white;
  padding: 10px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.btn-tertiary:hover {
  background: white;
  color: #002060;
  transform: translateY(-3px);
}

.hover-glow:hover {
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.shape {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: float-shape 15s infinite linear;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-duration: 25s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  left: 20%;
  animation-duration: 30s;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 30%;
  right: 15%;
  animation-duration: 20s;
  animation-delay: 1s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  bottom: 20%;
  right: 10%;
  animation-duration: 22s;
  animation-delay: 3s;
}

@keyframes float-shape {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  100% {
    transform: translateY(0) rotate(360deg);
  }
}

/* Responsive Styles */
@media (max-width: 992px) {
  .overview-content {
    flex-direction: column;
  }

  .program-card {
    flex: 0 0 calc(50% - 15px);
  }

  .testimonial-card {
    flex: 0 0 100%;
  }
}

@media (max-width: 768px) {
  .program-card {
    flex: 0 0 100%;
  }

  .requirements-list {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .testimonial-image {
    margin-bottom: 20px;
  }

  .testimonial-quote {
    padding: 0;
  }

  .testimonial-quote i.fa-quote-left,
  .testimonial-quote i.fa-quote-right {
    position: static;
    display: block;
    margin-bottom: 10px;
  }

  .testimonial-quote i.fa-quote-right {
    margin-bottom: 0;
    margin-top: 10px;
    text-align: right;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #002060 0%, #006778 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 32, 96, 0.2);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 32, 96, 0.3);
}

/* Enhanced Buttons */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, #002060, #006778);
  color: #fff;
  padding: 12px 30px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 32, 96, 0.2);
}
.btn-primary ::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: rotate(45deg);
  transition: transform 0.6s ease;
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #006778;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease, gap 0.3s ease;
}

.btn-text:hover {
  color: #002060;
  gap: 8px;
}

.process-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  margin-top: 50px;
}




.view-all {
  position: absolute;
  right: 0;
  margin-right: 5%;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background-color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}


/* Page Banner - Enhanced */
.page-banner {
  background-color: var(--primary-color);
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.page-banner::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23ffffff' opacity='.25'%3E%3C/path%3E%3Cpath d='M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z' fill='%23ffffff' opacity='.5'%3E%3C/path%3E%3Cpath d='M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z' fill='%23ffffff' opacity='.75'%3E%3C/path%3E%3C/svg%3E");
  background-size: cover;
  background-position: center top;
  z-index: 1;
}

.page-banner h1 {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.8s ease forwards;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.95rem;
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.breadcrumb li::after {
  content: "/";
  margin-left: 10px;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb li a {
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  position: relative;
}

.breadcrumb li a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: white;
  transition: width 0.3s ease;
}

.breadcrumb li a:hover {
  color: white;
}

.breadcrumb li a:hover::after {
  width: 100%;
}

.breadcrumb li.active {
  color: var(--secondary-color);
  font-weight: 500;
}
table {
  width: 100%;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  text-align: left;
}

table th {
  background-color: #f4f4f4;
}

table td {
  border: 1px solid #ddd;
}



/* Careers Grid */
.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
}

.career-card {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}

.career-card:hover {
  transform: translateY(-5px);
}


/* Responsive Design */
@media (max-width: 768px) {
  .careers-grid {
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }

  .partners-logos {
      flex-direction: column;
      align-items: center;
  }

  .tabs-nav {
      flex-direction: column;
      align-items: center;
  }

  .tab-btn {
      width: 100%;
      text-align: center;
      justify-content: center;
  }
  .featured {
      flex-direction: column;
  }

  .news-grid {
      grid-template-columns: 1fr;
      display: grid !important;

  }

  .news-meta {
      flex-direction: column;
      align-items: start;
  }
  
  .news-card {
    width: 100% !important ;
}
.breadcrumbs{
  display: none !important;

}
.animated-title{
  font-size: 30px !important;

}
.nav-buttons{
  
  display: block !important;
  z-index: 9999;
  
  display: flex
;
  gap: 15px;
}
.hero{
  width: 100%;
}
.hero-slider .slide .slide-content {
  position: absolute;
  top: 50%;
  left: 10%; /* Align left */
  transform: translateY(-50%); /* Remove horizontal centering */
  text-align: left; /* Align text to the left */
  padding: 10px; /* Adjust padding for mobile */
  max-width: 90%; /* Reduce max width */
}

.hero-slider .slide .slide-content h1 {
  font-size: 15px; /* Smaller text on mobile */
}

.hero-slider .slide .slide-content p {
  font-size: 15px; /* Smaller paragraph text */
  margin-bottom: 20px;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* Align buttons to the left */
}

.hero-buttons .btn {
  width: auto;
  font-size: 15px; /* Smaller buttons */
  padding: 10px; /* Reduce padding */
  margin-bottom: 10px;
}
.logo, img{
  width: 30px;
}

.slide-content {
  margin-top: 15%;
}
}

@media (max-width: 480px) {
  .career-card {
      padding: 15px;
  }

  .career-icon {
      font-size: 15px;
  }

  .tab-btn {
      padding: 8px 12px;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    display: grid !important;
}

.breadcrumbs{
  display: none !important;

}
.animated-title{
  font-size: 30px !important;

}

.nav-buttons{
  
  display: block !important;
  z-index: 9999;
  
  display: flex;
  gap: 15px;
}

.hero{
  width: 100%;
}
.slide-content {
  margin-top: 15%;
}
.hero-slider .slide .slide-content h1 {
  font-size: 15px; /* Even smaller heading on very small screens */
}

.hero-slider .slide .slide-content p {
  font-size: 15px; /* Even smaller paragraph text */
}

.hero-buttons .btn {
  font-size: 15px; /* Smaller buttons */
  padding: 8px; /* Further reduce button size */
}
}

@media (max-width: 768px) {  /* Adjust 768px based on your breakpoint */
  #hideMobile {
    display: none !important;
  }
}
