/* Base Styles */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: #f4f9ff;
  color: #333;
}

header, footer {
  background: #003366;
  color: white;
  padding: 1em;
  text-align: center;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1em;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.1);
}

nav a.active {
  background: rgba(255, 255, 255, 0.15);
}

main {
  padding: 2em;
}

/* Content Sections */
.content-section {
  padding: 5rem 0;
}

.content-section.bg-light {
  background-color: #f8f9fa;
}

.content-text {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  position: relative;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
}

.content-text h2,
.content-text h3 {
  margin-bottom: 1.5rem;
  color: #333;
  font-size: 2.5rem;
}

.content-text p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  color: #666;
  line-height: 1.6;
}

.content-text .btn {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  background-color: #0066cc;
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.content-text .btn:hover {
  background-color: #0052a3;
}

.content-text .testimonial {
  margin: 2rem auto 0;
  font-style: italic;
  color: #666;
  padding: 1rem;
  border-left: 4px solid #0066cc;
  background-color: rgba(0, 102, 204, 0.05);
  max-width: 600px;
}

.content-image {
  max-width: 400px;
  margin: 0 auto;
  padding: 50px;
  position: relative;
  z-index: 1;
}

.content-image::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: rgba(0, 102, 204, 0.15);
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
}

.content-image::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 95%;
  height: 95%;
  border: 15px solid rgba(0, 102, 204, 0.1);
  border-radius: 50%;
  filter: blur(20px);
  z-index: 0;
}

.content-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 
    0 10px 20px rgba(0, 0, 0, 0.2),
    0 0 30px rgba(0, 123, 255, 0.15),
    0 0 60px rgba(0, 123, 255, 0.1);
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.content-image img:hover {
  transform: scale(1.02);
  box-shadow: 
    0 15px 30px rgba(0, 0, 0, 0.3),
    0 0 40px rgba(0, 123, 255, 0.25),
    0 0 80px rgba(0, 123, 255, 0.2);
}

.background-image {
  width: 100%;
  height: 1200px;
  background: url('../assets/images/image2.png') no-repeat center center/contain;
  position: relative;
  margin-top: -250px;
  margin-bottom: -250px;
  border-radius: 1em 1em 0 0;
}

/* Login Page Styles */
.login-box {
  position: relative;
  z-index: 10;
  border: 1px solid #ccd0d4;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 26px 24px;
  border-radius: 8px;
  margin-top: 20px;
}

.login-box form {
  margin: 0;
  padding: 0;
}

.login-box label {
  font-size: 14px;
  line-height: 1.5;
  display: inline-block;
  margin-bottom: 8px;
  color: #1d2327;
  font-weight: 500;
}

.login-box input[type="text"],
.login-box input[type="password"] {
  font-size: 16px;
  line-height: 1.33333333;
  width: 100%;
  border-radius: 4px;
  padding: 8px 12px;
  border: 1px solid #8c8f94;
  background-color: #fff;
  color: #2c3338;
  margin: 0 0 16px 0;
  min-height: 40px;
  transition: all 0.3s ease;
}

.login-box input[type="text"]:focus,
.login-box input[type="password"]:focus {
  border-color: #0066cc;
  box-shadow: 0 0 0 1px #0066cc;
  outline: none;
}

.login-box button[type="submit"].btn {
  background: #0066cc;
  border-color: #0066cc;
  color: #fff;
  display: inline-block;
  text-decoration: none;
  font-size: 15px;
  line-height: 2.15384615;
  min-height: 40px;
  margin: 0;
  padding: 8px 24px;
  cursor: pointer;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  white-space: nowrap;
  box-sizing: border-box;
  width: 100%;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.login-box button[type="submit"].btn:hover {
  background: #0052a3;
  border-color: #0052a3;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#loginError {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  padding: 12px;
  margin: 16px 0 0;
  border-radius: 4px;
  color: #721c24;
  font-size: 14px;
  display: none;
}

/* Responsive adjustments for login */
@media (max-width: 991.98px) {
  .login-box {
    padding: 20px;
  }

  .login-box input[type="text"],
  .login-box input[type="password"] {
    font-size: 16px;
    min-height: 36px;
  }

  .login-box button[type="submit"].btn {
    min-height: 36px;
    font-size: 14px;
  }
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .content-section {
    padding: 3rem 0;
  }
  
  .content-text {
    padding: 1rem;
  }
  
  .content-text h2,
  .content-text h3 {
    font-size: 2rem;
  }

  /* .content-image {
    padding: 0.5rem;
  } */

  .content-image img {
    max-height: 300px;
  }

  .content-image::before {
    width: 85%;
    height: 85%;
    filter: blur(30px);
  }

  nav ul {
    flex-direction: column;
    gap: 0.5em;
  }

  /* .background-image {
    height: 500px;
  } */
}

/* Last section specific styling */
.content-section:last-of-type {
  padding-bottom: 2rem;
}

.content-section:last-of-type .content-image {
  padding-bottom: 0;
}

footer {
  margin-top: 2rem;
}

header {
  background: #003366;
  color: white;
  padding: 1em;
  text-align: center;
  position: relative;
}

.nav-logo {
  height: 50px;
  width: 50px;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 
              0 0 15px rgba(0, 123, 255, 0.15);
  transition: all 0.3s ease;
}

.nav-logo:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3),
              0 0 20px rgba(0, 123, 255, 0.2);
}
