* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Times New Roman', serif;
}

body {
  background-color: #e8e4dd;
  color: #000;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5) rotateZ(-10deg);
  }
  50% {
    transform: scale(1.1) rotateZ(5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotateZ(0deg);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes christmasGlow {
  0%, 100% {
    text-shadow: 
      0 0 5px #2c5aa0,
      0 0 10px #7db3e8,
      0 0 15px #2c5aa0,
      0 0 20px #7db3e8;
    color: #2c5aa0;
  }
  50% {
    text-shadow: 
      0 0 10px #2c5aa0,
      0 0 20px #7db3e8,
      0 0 30px #2c5aa0,
      0 0 40px #7db3e8;
    color: #1e40af;
  }
}

@keyframes bounceChristmas {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes tiltChristmas {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(2deg) scale(1.02);
  }
}

@keyframes sideGlowLeft {
  0% {
    box-shadow: -5px 0 20px rgba(44, 90, 160, 0.3), inset 0 0 0 rgba(125, 179, 232, 0);
  }
  50% {
    box-shadow: -15px 0 35px rgba(44, 90, 160, 0.6), inset 5px 0 15px rgba(125, 179, 232, 0.4);
  }
  100% {
    box-shadow: -5px 0 20px rgba(44, 90, 160, 0.3), inset 0 0 0 rgba(125, 179, 232, 0);
  }
}

@keyframes sideGlowRight {
  0% {
    box-shadow: 5px 0 20px rgba(44, 90, 160, 0.3), inset 0 0 0 rgba(125, 179, 232, 0);
  }
  50% {
    box-shadow: 15px 0 35px rgba(44, 90, 160, 0.6), inset -5px 0 15px rgba(125, 179, 232, 0.4);
  }
  100% {
    box-shadow: 5px 0 20px rgba(44, 90, 160, 0.3), inset 0 0 0 rgba(125, 179, 232, 0);
  }
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 70px;
  background: #2c5aa0;
  animation: slideInDown 0.6s ease-out;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header h2 {
  letter-spacing: 3px;
  animation: fadeIn 0.8s ease-out 0.2s both;
  color: #e8e4dd;
}

nav a {
  text-decoration: none;
  margin: 0 20px;
  color: #e8e4dd;
  font-weight: 600;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7db3e8;
  transition: width 0.3s ease;
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav a.active, nav a:hover {
  border-bottom: none;
}


.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  gap: 50px;
}

.hero-image {
  animation: slideInLeft 0.8s ease-out;
}

.hero img {
  width: 300px;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero img:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.hero-text {
  animation: slideInRight 0.8s ease-out;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.3;
  animation: fadeIn 0.8s ease-out 0.3s both;
}

.hero-text span {
  font-weight: bold;
  color: #2c5aa0;
  position: relative;
}

.hero-text span::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #7db3e8, transparent);
  animation: slideInRight 0.6s ease-out 0.5s both;
}

.hero-text p {
  margin-top: 20px;
  line-height: 1.7;
  max-width: 600px;
  animation: fadeIn 0.8s ease-out 0.4s both;
}

button {
  margin-top: 30px;
  padding: 10px 20px;
  border: 2px solid #2c5aa0;
  background: transparent;
  cursor: pointer;
  border-radius: 25px;
  color: #2c5aa0;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: scaleIn 0.6s ease-out 0.5s both;
}

button:hover {
  background-color: #2c5aa0;
  color: #e8e4dd;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}


.student {
  text-align: center;
  padding: 70px 10%;
  animation: fadeIn 0.8s ease-out;
}

.student h1 {
  font-size: 50px;
  margin-bottom: 60px;
  animation: slideInDown 0.6s ease-out;
}

.student-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: nowrap;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .student-cards {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .card {
    flex: 1 1 300px;
    max-width: 350px;
  }
}

.card {
  background: transparent;
  padding: 30px 10px 10px;
  border-radius: 0;
  max-width: 340px;
  flex: 1 1 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: scaleIn 0.6s ease-out;
  transition: all 0.3s ease;
  color: #111;
}

.card:nth-child(1) {
  animation-delay: 0.1s;
}

.card:nth-child(2) {
  animation-delay: 0.2s;
}

.card:nth-child(3) {
  animation-delay: 0.3s;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.card:nth-child(1):hover {
  animation: sideGlowLeft 2s ease-in-out infinite;
}

.card:nth-child(2):hover {
  animation: sideGlowRight 2s ease-in-out infinite;
}

.card:nth-child(3):hover {
  animation: sideGlowLeft 2s ease-in-out infinite;
}

.card img {
 
  width: 320px;
  height: 320px;
  border-radius: 4px;
  object-fit: cover;
  margin-bottom: 24px;
  transition: transform 0.3s ease;
  display: block;
}

.card:hover img {
  transform: scale(1.05);
}

.card h3 {
  margin-bottom: 18px;
  animation: fadeIn 0.6s ease-out 0.5s both;

  display: inline-block;
  padding: 10px 26px;
  border-radius: 30px;
  border: 1px solid #111;
  background: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
}

.card p {
  font-size: 14px;
  line-height: 1.6;
  animation: fadeIn 0.6s ease-out 0.6s both;
  text-align: center;
  max-width: 300px;
  margin: 18px auto 0;
  color: #222;
}


.personal-info {
  text-align: center;
  padding: 80px 10%;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8e4dd 100%);
  animation: fadeIn 0.8s ease-out;
}

.personal-info h2 {
  font-size: 48px;
  margin-bottom: 70px;
  animation: slideInDown 0.6s ease-out;
  color: #2c5aa0;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
}

.personal-info h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #7db3e8, transparent);
  border-radius: 2px;
}

.info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.info-card:nth-child(1) {
  animation-delay: 0.1s;
}

.info-card:nth-child(2) {
  animation-delay: 0.2s;
}

.info-card:nth-child(3) {
  animation-delay: 0.3s;
}

.info-card:nth-child(4) {
  animation-delay: 0.4s;
}

.info-card:nth-child(5) {
  animation-delay: 0.5s;
}

.info-card:nth-child(6) {
  animation-delay: 0.6s;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.info-card:hover::before {
  left: 100%;
}

.info-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(44, 90, 160, 0.2);
  border: 2px solid #7db3e8;
}

.info-card:nth-child(1):hover,
.info-card:nth-child(3):hover,
.info-card:nth-child(5):hover {
  animation: sideGlowLeft 2s ease-in-out infinite;
}

.info-card:nth-child(2):hover,
.info-card:nth-child(4):hover,
.info-card:nth-child(6):hover {
  animation: sideGlowRight 2s ease-in-out infinite;
}

.info-icon {
  font-size: 48px;
  margin-bottom: 15px;
  animation: float 3s ease-in-out infinite;
  display: inline-block;
}

.info-card:nth-child(1) .info-icon {
  animation-delay: 0s;
}

.info-card:nth-child(2) .info-icon {
  animation-delay: 0.2s;
}

.info-card:nth-child(3) .info-icon {
  animation-delay: 0.4s;
}

.info-card:nth-child(4) .info-icon {
  animation-delay: 0.6s;
}

.info-card:nth-child(5) .info-icon {
  animation-delay: 0.8s;
}

.info-card:nth-child(6) .info-icon {
  animation-delay: 1s;
}

.info-card h3 {
  color: #2c5aa0;
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  animation: slideInDown 0.6s ease-out 0.2s both;
}

.info-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.8;
  animation: fadeIn 0.6s ease-out 0.4s both;
}

.info-card p strong {
  color: #2c5aa0;
  font-weight: 600;
}


.career {
  text-align: center;
  padding: 70px 10%;
  animation: fadeIn 0.8s ease-out;
}

.career h1 {
  font-size: 50px;
  margin-bottom: 40px;
  animation: slideInDown 0.6s ease-out;
}

.career img {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 0 auto 30px;
  animation: slideInLeft 0.8s ease-out;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.career img:hover {
  transform: scale(1.03);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.career p {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 16px;
  animation: fadeIn 0.8s ease-out 0.3s both;
}


.christmas-goals {
  margin-top: 50px;
  padding: 40px 30px;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.08) 0%, rgba(125, 179, 232, 0.08) 100%);
  border-radius: 15px;
  border: 2px solid #7db3e8;
  animation: bounceChristmas 2s ease-in-out infinite, fadeIn 0.8s ease-out;
}

.goals-text {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 17px;
  font-weight: 500;
  color: #2c5aa0;
  animation: christmasGlow 2.5s ease-in-out infinite, tiltChristmas 3s ease-in-out infinite;
  letter-spacing: 0.5px;
  text-align: center;
}

.achievement-plan {
  margin-top: 70px;
  padding: 50px 30px;
  background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(125, 179, 232, 0.1) 100%);
  border-radius: 15px;
  border: 2px solid #7db3e8;
  animation: fadeIn 0.8s ease-out;
}

.achievement-plan h2 {
  text-align: center;
  color: #2c5aa0;
  font-size: 28px;
  margin-bottom: 40px;
  animation: slideInDown 0.6s ease-out;
  letter-spacing: 1px;
}

.plan-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-item {
  background: white;
  padding: 30px 25px;
  border-radius: 12px;
  border-left: 4px solid #7db3e8;
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.1);
  animation: popIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transition: all 0.3s ease;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.plan-item:nth-child(1) {
  animation-delay: 0.1s;
}

.plan-item:nth-child(2) {
  animation-delay: 0.2s;
}

.plan-item:nth-child(3) {
  animation-delay: 0.3s;
}

.plan-item:nth-child(4) {
  animation-delay: 0.4s;
}

.plan-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(44, 90, 160, 0.15);
  border-left-color: #2c5aa0;
}

.plan-item:nth-child(1):hover,
.plan-item:nth-child(3):hover {
  animation: sideGlowLeft 2s ease-in-out infinite;
}

.plan-item:nth-child(2):hover,
.plan-item:nth-child(4):hover {
  animation: sideGlowRight 2s ease-in-out infinite;
}

.plan-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2c5aa0 0%, #7db3e8 100%);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  font-size: 22px;
  flex-shrink: 0;
  animation: float 3s ease-in-out infinite;
}

.plan-item:nth-child(1) .plan-number {
  animation-delay: 0s;
}

.plan-item:nth-child(2) .plan-number {
  animation-delay: 0.2s;
}

.plan-item:nth-child(3) .plan-number {
  animation-delay: 0.4s;
}

.plan-item:nth-child(4) .plan-number {
  animation-delay: 0.6s;
}

.plan-item p {
  color: #333;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  animation: fadeIn 0.6s ease-out 0.3s both;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


@media (max-width: 1024px) {
  header {
    padding: 24px 40px;
  }

  .hero {
    padding: 50px 6%;
    gap: 30px;
  }

  .hero img {
    width: 260px;
  }

  .hero-text h1 {
    font-size: 40px;
  }

  .career img {
    width: 80%;
  }
}

@media (max-width: 768px) {

  header {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  nav a {
    margin: 6px 10px;
    padding: 6px 8px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 40px 6%;
  }

  .hero-image,
  .hero-text {
    width: 100%;
  }

  .hero img {
    width: 220px;
    margin: 0 auto;
  }

  .hero-text h1 {
    font-size: 32px;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .student h1,
  .career h1 {
    font-size: 36px;
  }

  .student-cards {
    gap: 20px;
  }

  .card {
    max-width: 100%;
    width: 320px;
  }
}

@media (max-width: 480px) {
  header h2 {
    font-size: 18px;
    letter-spacing: 2px;
  }

  header {
    padding: 12px 16px;
  }

  nav a {
    margin: 6px 6px;
    font-size: 13px;
    letter-spacing: 1px;
  }

  .hero img {
    width: 160px;
  }

  .hero-text h1 {
    font-size: 26px;
  }

  .hero-text p,
  .career p {
    padding: 0 8px;
    font-size: 15px;
  }

  button {
    padding: 8px 14px;
    font-size: 14px;
  }
}
