/* Enhanced Blue CSS for MBBS in Barbados Page */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Primary color palette - Blue theme */
  --primary-color: #1e88e5; /* Rich blue */
  --primary-light: #64b5f6;
  --primary-dark: #0d47a1;
  --secondary-color: #0288d1; /* Lighter blue */
  --secondary-light: #5eb8ff;
  --secondary-dark: #005b9f;
  --accent-color: #29b6f6; /* Sky blue */
  --accent-light: #73e8ff;
  --accent-dark: #0086c3;

  /* Text colors */
  --text-color: #263238;
  --text-light: #546e7a;
  --text-white: #ffffff;
  --text-highlight: #e3f2fd; /* Light blue for highlights */

  /* Background colors */
  --background-color: #ffffff;
  --background-light: #f5f5f5;
  --background-alt: #e3f2fd; /* Light blue background */
  --background-gradient: linear-gradient(135deg, #e3f2fd, #bbdefb);

  /* UI elements */
  --border-color: #e0e0e0;
  --border-highlight: #90caf9; /* Light blue border */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --shadow-highlight: 0 0 15px rgba(30, 136, 229, 0.5); /* Blue glow */
  --border-radius: 10px;
  --border-radius-lg: 20px;
  --transition: all 0.3s ease;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.7;
  color: var(--text-color);
  background-color: var(--background-color);
  overflow-x: hidden;
  background-image: radial-gradient(circle at 20% 20%, rgba(227, 242, 253, 0.4) 0%, transparent 25%),
    radial-gradient(circle at 80% 50%, rgba(187, 222, 251, 0.4) 0%, transparent 25%);
  background-attachment: fixed;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
}

section {
  padding: 100px 0;
  position: relative;
}

section:nth-child(even) {
  background-image: var(--background-gradient);
}

section::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='%231e88e5' fill-opacity='0.03'%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;
  z-index: 0;
}

section .container {
  position: relative;
  z-index: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
  color: var(--primary-color);
}

h2::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-dark), var(--primary-color), var(--primary-light));
  border-radius: 2px;
}

h2::after {
  content: "•";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--primary-color);
  background-color: var(--background-color);
  padding: 0 10px;
}

section:nth-child(even) h2::after {
  background-color: transparent;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

h3::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

*:hover > h3::after {
  width: 60px;
}

p {
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.highlight {
  background-color: var(--text-highlight);
  padding: 2px 5px;
  border-radius: 3px;
  font-weight: 500;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--secondary-color);
}

a:not(.btn)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

a:not(.btn):hover::after {
  width: 100%;
}

ul {
  list-style-type: none;
  margin-bottom: 20px;
}

ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

ul li::before {
  content: "✓";
  color: var(--accent-color);
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::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: 0.5s;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-white);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-highlight);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
  color: var(--text-white);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(2, 136, 209, 0.5);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: var(--text-white);
}

.btn-accent:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(41, 182, 246, 0.5);
}

/* Header Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition);
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  position: relative;
  z-index: 2;
}

.logo h1 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 0;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.logo span {
  color: var(--primary-color);
  font-weight: 900;
  position: relative;
}

.logo span::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--primary-light);
  opacity: 0.3;
  z-index: -1;
}

nav ul {
  display: flex;
  margin-bottom: 0;
}

nav ul li {
  margin-left: 35px;
  padding-left: 0;
}

nav ul li::before {
  display: none;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

nav ul li a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

nav ul li a:hover,
nav ul li a.active{
  color: var(--primary-color);
}

/*nav ul li a:hover::before{*/
/*  width: 50%;*/
/*}*/

/*nav ul li a:hover::after,*/
/*nav ul li a.active:after{*/
/*  width: 50%;*/
/*}*/

nav ul li a:hover::before,
nav ul li a.active::before {
  width: 50%;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 50%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: var(--primary-color);
  margin-bottom: 6px;
  border-radius: 3px;
  transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Hero Section */
.hero {
  /* background-image: linear-gradient(rgba(30, 136, 229, 0.85), rgba(13, 71, 161, 0.9)),
    url("https://placehold.co/1920x1080"); */
    background-image: url("https://www.stimson.org/wp-content/uploads/2022/08/Bridgetown_shutterstock_1243297093.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-white);
  text-align: center;
  padding: 200px 0 140px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 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.1'%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");
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1), transparent);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 25px;
  color: var(--text-white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(to right, var(--accent-color), var(--accent-light));
  border-radius: 2px;
}

.hero p {
  font-size: 1.5rem;
  max-width: 700px;
  margin: 0 auto 40px;
  animation: fadeInUp 1s ease 0.3s forwards;
  opacity: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  animation: fadeIn 1s ease 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Overview Section */
.overview {
  text-align: center;
  position: relative;
}

.overview::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, transparent, var(--background-color));
  z-index: 2;
}

.overview p {
  max-width: 800px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.key-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.point {
  flex: 1;
  min-width: 220px;
  max-width: 260px;
  background-color: var(--background-color);
  padding: 40px 25px;
  border-radius: var(--border-radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-top: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.point::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--background-alt), transparent);
  transition: var(--transition);
  z-index: -1;
}

.point:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.point:hover::before {
  height: 100%;
}

.point h3 {
  color: var(--primary-color);
  font-size: 1.3rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.point h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.point p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 1.05rem;
}

.point-icon {
  width: 70px;
  height: 70px;
  background-color: var(--background-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 30px;
  transition: var(--transition);
}

.point:hover .point-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s, color 0.3s;
}

/* Universities Section */
.universities {
  position: relative;
}

.university-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.university-card {
  background-color: var(--background-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
}

.university-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition);
}

.university-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.university-card:hover::before {
  opacity: 0.05;
}

.university-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.university-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.university-card:hover .university-img {
  transform: scale(1.1);
}

.university-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.7));
}

.university-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--primary-color);
  color: var(--text-white);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 2;
}

.university-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.university-card h3 {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 15px;
  transition: var(--transition);
}

.university-card:hover h3 {
  color: var(--primary-dark);
}

.university-card p {
  color: var(--text-light);
  flex-grow: 1;
  margin-bottom: 25px;
}

.university-stats {
  /*display: flex;*/
  justify-content: space-between;
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
      display: grid
;
    grid-template-columns: auto auto auto;
    gap: 30px 0;
}

.university-stat {
  text-align: center;
}

.university-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

.university-stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
}

.university-card ul {
  margin-bottom: 25px;
}

.university-card ul li {
  margin-bottom: 10px;
  color: var(--text-color);
}

.university-card ul li::before {
  content: "✓";
  color: var(--accent-color);
}

.university-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.university-rating {
  display: flex;
  align-items: center;
}

.university-rating-stars {
  color: var(--secondary-color);
  margin-right: 8px;
}

.university-rating-value {
  font-weight: 600;
  color: var(--text-color);
}

.university-link {
  color: var(--primary-color);
  font-weight: 600;
  display: flex;
  align-items: center;
}

.university-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.university-link:hover i {
  transform: translateX(5px);
}

/* Admission Section */
.admission {
  position: relative;
}

.admission-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.step {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
  z-index: -1;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.step:hover::before {
  width: 100%;
  opacity: 0.05;
}

.step-number {
  position: absolute;
  top: -15px;
  right: 20px;
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary-color);
  opacity: 0.1;
  transition: var(--transition);
}

.step:hover .step-number {
  transform: scale(1.2);
  opacity: 0.15;
}

.step h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
}

.step h3::before {
  content: attr(data-number);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  margin-right: 15px;
  font-size: 1.1rem;
  font-weight: 700;
}

.step ul {
  padding-left: 0;
}

.step ul li {
  margin-bottom: 12px;
  transition: var(--transition);
}

.step:hover ul li {
  transform: translateX(5px);
  transition-delay: calc(0.05s * var(--i));
}

/* Curriculum Section */
.curriculum {
  position: relative;
}

.curriculum p {
  max-width: 800px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 1.1rem;
}

.curriculum-structure {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 60px;
}

.year {
  flex: 1;
  min-width: 300px;
  max-width: 380px;
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.year::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
}

.year:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.year h3 {
  color: var(--primary-color);
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.year h3::after {
  width: 60px;
}

.year:hover h3::after {
  width: 100px;
}

.year ul {
  padding-left: 0;
}

.year ul li {
  margin-bottom: 12px;
  transition: var(--transition);
}

.year:hover ul li {
  transform: translateX(5px);
}

.year p {
  text-align: left;
  margin-bottom: 0;
}

/* Costs Section */
.costs {
  position: relative;
}

.cost-breakdown {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.cost-item {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cost-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--background-alt), transparent);
  transition: var(--transition);
  z-index: -1;
}

.cost-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.cost-item:hover::before {
  height: 100%;
}

.cost-icon {
  width: 70px;
  height: 70px;
  background-color: var(--background-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 30px;
  transition: var(--transition);
}

.cost-item:hover .cost-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s, color 0.3s;
}

.cost-item h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.cost-item h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.cost-item p {
  margin-bottom: 0;
  color: var(--text-light);
  font-size: 1.2rem;
  font-weight: 500;
}

.cost-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
  display: block;
}

.cost-note {
  margin-top: 40px;
  text-align: center;
  font-style: italic;
  color: var(--text-light);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
  background-color: var(--background-alt);
  border-radius: var(--border-radius);
  border-left: 4px solid var(--primary-color);
}

/* Advantages Section */
.advantages {
  position: relative;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.advantage-card {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.advantage-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
  opacity: 0.1;
  z-index: -1;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
  height: 100%;
}

.advantage-icon {
  width: 80px;
  height: 80px;
  background-color: var(--background-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-size: 35px;
  transition: var(--transition);
}

.advantage-card:hover .advantage-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s, color 0.3s;
}

.advantage-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4rem;
  position: relative;
  display: inline-block;
}

.advantage-card h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.advantage-card p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Post-Graduation Section */
.post-graduation {
  position: relative;
}

.prospects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.prospect {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.prospect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--background-alt), transparent);
  transition: var(--transition);
  z-index: -1;
}

.prospect:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.prospect:hover::before {
  height: 100%;
}

.prospect h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.4rem;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.prospect p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Student Life Section */
.student-life {
  position: relative;
}

.life-aspects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.aspect {
  background-color: var(--background-color);
  padding: 40px 30px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.aspect::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, var(--background-alt), transparent);
  transition: var(--transition);
  z-index: -1;
}

.aspect:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.aspect:hover::before {
  height: 100%;
}

.aspect-icon {
  width: 70px;
  height: 70px;
  background-color: var(--background-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--primary-color);
  font-size: 30px;
  transition: var(--transition);
}

.aspect:hover .aspect-icon {
  background-color: var(--primary-color);
  color: var(--text-white);
  transform: rotateY(360deg);
  transition: transform 0.8s, background-color 0.3s, color 0.3s;
}

.aspect h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
  position: relative;
  display: inline-block;
}

.aspect h3::after {
  left: 50%;
  transform: translateX(-50%);
}

.aspect p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* FAQs Section */
.faqs {
  position: relative;
}

.faq-list {
  max-width: 900px;
  margin: 60px auto 0;
}

.faq-item {
  background-color: var(--background-color);
  border-radius: var(--border-radius);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
}

.faq-item h3 {
  padding: 25px 30px;
  cursor: pointer;
  margin-bottom: 0;
  background-color: var(--background-color);
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item h3::after {
  content: "+";
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: var(--transition);
  position: static;
  width: auto;
  height: auto;
  background: none;
}

.faq-item.active h3::after {
  content: "−";
}

.faq-item h3:hover {
  background-color: var(--background-light);
}

.faq-item p {
  padding: 0 30px 25px;
  display: none;
  color: var(--text-light);
  margin-bottom: 0;
}

.faq-item.active h3 {
  background-color: var(--background-light);
  border-left: 4px solid var(--primary-color);
}

.faq-item.active p {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Testimonials Section */
.testimonials {
  position: relative;
}

.testimonial-slider {
  max-width: 800px;
  margin: 60px auto 0;
}

.testimonial {
  background-color: var(--background-color);
  padding: 50px 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: 30px;
  position: relative;
  transition: var(--transition);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial::before {
  content: """;
    position: absolute;
  top: 20px;
  left: 20px;
  font-size: 6rem;
  color: var(--primary-light);
  opacity: 0.2;
  line-height: 1;
  font-family: serif;
}

.testimonial p {
  font-style: italic;
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
}

.student-info {
  display: flex;
  align-items: center;
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
  padding-top: 25px;
}

.student-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin-right: 25px;
  border: 4px solid var(--primary-light);
  transition: var(--transition);
}

.testimonial:hover .student-img {
  border-color: var(--secondary-color);
}

.student-info h4 {
  margin-bottom: 5px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.student-info p {
  margin-bottom: 0;
  font-style: normal;
  color: var(--text-light);
}

/* Contact Section */
.contact {
  text-align: center;
  position: relative;
}

.contact p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.1rem;
}

.contact-form {
  max-width: 800px;
  margin: 60px auto 0;
  background-color: var(--background-color);
  padding: 50px;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: calc(var(--border-radius-lg) + 10px);
  z-index: -1;
  opacity: 0.1;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--primary-dark);
  font-size: 1.05rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--background-light);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(30, 136, 229, 0.1);
  background-color: var(--background-color);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
  color: var(--text-white);
  padding: 100px 0 30px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 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.05'%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");
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.footer-wave svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.footer-wave .shape-fill {
  fill: var(--background-color);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

.footer-logo,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 250px;
}

.footer-logo h2 {
  font-size: 32px;
  margin-bottom: 25px;
  text-align: left;
  color:white;
}

.footer-logo h2::after {
  display: none;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.footer-links h3,
.footer-contact h3 {
  font-size: 1.4rem;
  margin-bottom: 30px;
  color: var(--text-white);
  position: relative;
  padding-bottom: 15px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.footer-links ul {
  padding-left: 0;
}

.footer-links ul li {
  margin-bottom: 15px;
  padding-left: 0;
}

.footer-links ul li::before {
  display: none;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
  padding-left: 0;
  display: flex;
  align-items: center;
}

.footer-links ul li a::before {
  content: "→";
  margin-right: 10px;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--text-white);
  padding-left: 5px;
}

.footer-links ul li a:hover::before {
  margin-right: 15px;
  color: var(--accent-color);
}

.footer-contact p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.footer-contact p i {
  margin-right: 15px;
  color: var(--accent-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--text-white);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--accent-color);
  transform: translateY(-5px);
}

/* Responsive Styles */
@media (max-width: 1200px) {
  h2 {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3.8rem;
  }
}

@media (max-width: 992px) {
  section {
    padding: 80px 0;
  }

  h2 {
    font-size: 2rem;
  }

  .hero h1 {
    font-size: 3.2rem;
  }

  .hero p {
    font-size: 1.3rem;
  }

  .key-points,
  .curriculum-structure,
  .prospects {
    flex-direction: column;
  }

  .point,
  .year,
  .prospect {
    flex-basis: 100%;
    margin-bottom: 20px;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .contact-form {
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex;
  }

  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--background-color);
    padding: 100px 40px 40px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s ease;
    z-index: 999;
  }

  nav.active {
    right: 0;
  }

  nav ul {
    flex-direction: column;
  }

  nav ul li {
    margin: 15px 0;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero p {
    font-size: 1.2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .university-stats {
    flex-wrap: wrap;
  }

  .university-stat {
    flex: 1 0 50%;
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 0;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero {
    padding: 150px 0 80px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .contact-form {
    padding: 30px 20px;
  }

  .testimonial {
    padding: 30px 20px;
  }

  .student-info {
    flex-direction: column;
    text-align: center;
  }

  .student-img {
    margin: 0 auto 15px;
  }
  
 
}

/* Animation for scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.footer-copy-rights{
  color:white;
}
/* .footer-copy-rights:hover{
  color: black;
} */


/* Popup overlay */
    .popup-overlay {
      position: fixed;
      top: 40px;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0,0,0,0.5);
      display: flex;
      justify-content: center;
      align-items: center;
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.3s ease;
      z-index: 1000;
    }

    /* When popup is active */
    .popup-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    /* Popup box */
    .popup-form {
      background: #fff;
      padding: 30px;
      border-radius: 10px;
      width: 90%;
      max-width: 400px;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
      position: relative;
      transform: scale(0.8);
      opacity: 0;
      transition: all 0.3s ease;
    }

    /* Animate form when overlay becomes active */
    .popup-overlay.active .popup-form {
      transform: scale(1);
      opacity: 1;
    }

    /* Close button */
    .close-btn {
      position: absolute;
      top: 10px;
      right: 15px;
      font-size: 18px;
      cursor: pointer;
      color: #999;
    }

    .popup-form h2 {
      margin-bottom: 15px;
    }

    .popup-form input,
    .popup-form select {
      width: 100%;
      padding: 10px;
      margin: 8px 0;
      border: 1px solid #ccc;
      border-radius: 5px;
    }

    .popup-form button {
      background-color: #007bff;
      color: white;
      padding: 10px;
      width: 100%;
      border: none;
      border-radius: 5px;
      cursor: pointer;
    }

    .popup-form button:hover {
      background-color: #0056b3;
    }
    
    /* WhatsApp Float Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: white;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  animation: none;
  text-decoration:none;
}

/*Whatsapp Animation*/
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.whatsapp-float {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* Scroll to top button */
.scroll-top {
  position: fixed;
  bottom: 33px;
    right: 120px;
  width: 45px;
  height: 45px;
  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;
  z-index: 99;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.scroll-top.active {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-5px);
}
.full-package{
        background-color: var(--primary-color);
    color: white;
    border-radius: 10px;
    padding: 0 5px;
    transition: all 0.5s ease;
}
.full-package span{
    color:white;
}
.full-package:hover{
    transform: translateY(-3px);
    box-shadow: var(--shadow-highlight);
}
@media (max-width: 576px) {
    .whatsapp-float {
    width: 50px;
    height: 50px;
    line-height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }
   .scroll-top {
  position: fixed;
  bottom: 21px;
    right: 100px;
      
  }
}