/* Reset and global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #2d3748;
  background: linear-gradient(135deg, #e6f2ff 0%, #c8e6f5 100%);
  min-height: 100vh;
}

/* Header improvements */
header {
  padding: 1.5rem 3rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo-text {
  font-size: 2rem;
  font-weight: bold;
  background: linear-gradient(135deg, #1e4a7a 0%, #2b7a9e 50%, #7cb342 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.logo:hover {
  transform: scale(1.05);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #2b7a9e, #7cb342);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

nav a:hover {
  background: rgba(43, 122, 158, 0.1);
  color: #2b7a9e;
}

nav a:hover::after {
  width: 80%;
}

/* Home page specific styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.welcome {
  text-align: center;
  margin-bottom: 5rem;
  padding: 2rem 1rem;
  overflow: hidden;
}

.logo-container {
  width: 350px;
  height: 350px;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.welcome-logo {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  animation:
    fadeInDown 1s ease,
    float 3s ease-in-out infinite;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
}

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

.welcome h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #1e4a7a 0%, #2b7a9e 50%, #7cb342 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  animation: fadeInDown 1s ease 0.2s both;
  font-weight: 800;
  letter-spacing: -1px;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.welcome p {
  font-size: 1.4rem;
  color: #4a5568;
  max-width: 800px;
  margin: 0 auto 2rem;
  animation: fadeIn 1s ease 0.5s both;
}

/* Bullet points box styling */
.bullet-box {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(240, 249, 255, 0.98)
  );
  padding: 1.75rem 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 2px solid rgba(43, 122, 158, 0.15);
  margin: 2rem auto;
  max-width: 800px;
  text-align: left;
  transition: all 0.3s ease;
  animation: fadeIn 1s ease 0.7s both;
}

.bullet-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  border-color: rgba(43, 122, 158, 0.25);
}

.bullet-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bullet-box li {
  font-size: 1.2rem;
  color: #2d3748;
  margin: 1rem 0;
  line-height: 1.8;
  padding-left: 2rem;
  position: relative;
}

.bullet-box li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: #2b7a9e;
  font-size: 1.5rem;
  line-height: 1.8rem;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.card {
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.98),
    rgba(240, 249, 255, 0.98)
  );
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(43, 122, 158, 0.2);
  animation: fadeInUp 1s both;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(43, 122, 158, 0.1),
    rgba(124, 179, 66, 0.1)
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(43, 122, 158, 0.3);
}

.card:hover::before {
  opacity: 1;
}

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

.card:nth-child(1) {
  animation-delay: 0.4s;
}

.card:nth-child(2) {
  animation-delay: 0.6s;
}

.card h2 {
  color: #1e4a7a;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.card p {
  color: #4a5568;
  font-size: 1.15rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Add decorative elements */
.card h2::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #2b7a9e, #7cb342);
  border-radius: 2px;
}

/* Responsive */
@media (max-width: 768px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .logo-container {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
  }

  .welcome h1 {
    font-size: 2.5rem;
  }

  .welcome p {
    font-size: 1.2rem;
  }

  .bullet-box {
    padding: 2rem 2rem;
  }

  .bullet-box li {
    font-size: 1.1rem;
    margin: 1.25rem 0;
  }

  header {
    padding: 1rem 1.5rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1.5rem;
  }

  .logo {
    gap: 0.5rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav a {
    padding: 0.4rem 0.8rem;
    font-size: 0.95rem;
  }

  .card {
    padding: 2rem;
  }

  .card h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .welcome {
    padding: 1.5rem 0.5rem;
  }

  .logo-container {
    width: 110px;
    height: 110px;
    margin-bottom: 1rem;
  }

  .welcome h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .welcome p {
    font-size: 1rem;
  }

  .bullet-box {
    padding: 1.5rem 1.5rem;
  }

  .bullet-box li {
    font-size: 1rem;
    margin: 1rem 0;
    padding-left: 1.5rem;
  }

  .bullet-box li::before {
    font-size: 1.2rem;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
  }
}
