:root {
  --primary-color: #0083e1;
  --secondary-color: #004a1f;
  --accent-color: #f72585;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --nav-color: #004a1f;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  overflow-x: hidden;
  padding-top: 80px;
}

.theme {
  color: #044a22;
}

.navbar {
  background-color: var(--nav-color) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s;
  font-size: 20px;
}

.nav-link:hover {
  color: white;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.main-heading {
  text-align: center;
  padding: 4rem 0 2rem;
  background-color: white;
}

.main-heading h1 {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 1rem;
}

.main-heading p {
  color: var(--dark-color);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

.content-section {
  padding: 1rem 0;
  position: relative;
}

.section-title {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.section-text {
  margin-bottom: 1.5rem;
}

.image-container {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  overflow: visible;
}

.styled-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 60px;
  border: 18px solid #0083e1;
  border-right: none;
  box-shadow: -10px 15px 30px rgba(0, 0, 0, 0.15);
  transform: rotate(20deg);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  margin-right: 0;
  right: -40%;
}

.styled-image:hover {
  transform: rotate(0deg) scale(1.03);
  box-shadow: -15px 20px 40px rgba(0, 0, 0, 0.2);
  right: -15%;
}

@media (max-width: 768px) {
  .styled-image {
    width: 100%;
    height: auto;
    margin-right: 0;
    right: 0;
    margin-top: 2rem;
    transform: rotate(0deg);
    border-radius: 15px;
    border: 8px solid white;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  }

  .styled-image:hover {
    right: 0;
  }

  .content-section {
    padding: 3rem 0;
  }

  .main-heading {
    padding: 3rem 0 1rem;
  }
}

.form-section {
  background-color: white;
}

.form-wrapper {
  border: 1px solid #004a1f !important;
}

.form-control,
.form-select {
  border: 1px solid #000 !important;
  transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: #4361ee !important;
  box-shadow: 0 0 0 0.2rem rgba(67, 97, 238, 0.4);
}

.form-check-input:checked {
  background-color: #4361ee;
  border-color: #4361ee;
}

.btn-primary {
  background-color: #4361ee;
  border-color: #4361ee;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3a0ca3;
  border-color: #3a0ca3;
  transform: translateY(-2px);
}

.invalid-feedback {
  display: none;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #dc3545 !important;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #198754 !important;
}

.submit-btn {
  background-color: #ffb700;
  color: white;
  transition: all 0.3s ease;
  border-radius: 15px;
  padding: 20px 60px;
  font-size: 20px;
  box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.text-yellow {
  color: #ffb700;
}
