body, html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  box-sizing: border-box;
}

* {
  box-sizing: inherit;
}

.grievance-hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
  url('assets/grivance-page/grievance\ officer.webp') no-repeat center center/cover;
  color: white;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.grievance-hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding-top: 5vh;
}

.grievance-hero-title {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
}

.grievance-hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.2rem);
  margin: 0 auto;
  max-width: 600px;
  line-height: 1.6;
}

.grievance-details-container {
  background-color: #f5f5f5;
  padding: 5vh 20px;
  text-align: center;
}

.grievance-details-card {
  max-width: 600px;
  margin: 0 auto;
  background-color: white;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.grievance-details-title {
  font-size: clamp(1.5rem, 4vw, 1.8rem);
  margin-bottom: 15px;
  color: #333;
}

.grievance-details-name {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: bold;
  margin: 10px 0;
}

.grievance-details-position,
.grievance-details-email,
.grievance-details-phone,
.grievance-details-address {
  font-size: clamp(0.9rem, 2vw, 1rem);
  margin: 1rem 0;
  line-height: 1.6;
}

.grievance-details-email a,
.grievance-details-phone a {
  color: #0080ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.grievance-details-email a:hover,
.grievance-details-phone a:hover {
  color: #4a0080;
}

.grievance-form-section {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), 
              url('assets/grivance-page/\(form\ bg\).webp') no-repeat center center/cover;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
  color: white;
}


.grievance-form-container {
  max-width: 1200px;
  width: 100%;
  text-align: center;
}

.grievance-form-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.grievance-form-subtitle {
  font-size: clamp(1rem, 3vw, 1.1rem);
  margin-bottom: 3rem;
  font-weight: 300;
}

.grievance-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 0 auto;
  max-width: 900px;
  padding: 1rem;
}

.grievance-form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.grievance-form-control {
  width: 100%;
  padding: 1rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: clamp(0.9rem, 2vw, 1rem);
  transition: all 0.3s ease;
}

.grievance-form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.grievance-form-control:focus {
  outline: none;
  border-bottom-color: white;
}

.grievance-form-phone-container {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.grievance-form-country-code {
  color: white;
  padding: 1rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grievance-form-country-code img {
  width: 20px;
  height: auto;
}

.grievance-form-phone-input {
  flex: 1;
  background: transparent;
  border: none;
  color: white;
  padding: 1rem 0.5rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
}

.grievance-form-phone-input:focus {
  outline: none;
}

.grievance-message-group {
  grid-column: 1 / -1;
}

.grievance-form-message {
  width: 100%;
  min-height: 150px;
  padding: 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  color: white;
  font-size: clamp(0.9rem, 2vw, 1rem);
  resize: vertical;
  font-family: inherit;
}

.grievance-form-message:focus {
  outline: none;
  border-color: white;
}

.grievance-form-submit {
  grid-column: 1 / -1;
  background: #F4A460;
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
  width: fit-content;
  margin: 2rem auto 0;
}

.grievance-form-submit:hover {
  background: #E3963D;
}

@media (max-width: 768px) {
  .grievance-form {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .grievance-form-group {
    margin-bottom: 1rem;
  }
}

@media (max-width: 480px) {
  .grievance-hero-section,
  .grievance-details-container,
  .grievance-form-section {
    padding: 2rem 1rem;
  }
}