* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", "Roboto", sans-serif;
}

.logo {
  color: #355070;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-buttons {
  display: flex;
  gap: 0.444rem;
}

.nav-buttons > button {
  background: #355070;
  padding: 0.5rem 1rem;
  border-radius: 0.3rem;
  border: none;
  color: #f7f9f9;
}

.navigation-bar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  background-color: #f7f9f9;
  box-shadow: 0 0.125rem 0.313rem rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.navigation-bar > a {
  text-decoration: none;
}

.hamburger-btn {
  display: flex;
  flex-direction: column;
  gap: 0.188rem;
  cursor: pointer;
  width: 50px;
}

.login-signUp_hamburger-btn {
  display: flex;
  align-items: center;
  /* gap: 0.638rem; */
}

.hamburger-lines {
  background: #355070;
  width: 1.9rem;
  height: 0.155rem;
  border-radius: 25%;
}

/* By default, nav is hidden on small screens */
.nav-links {
  display: none;
  flex-direction: column;
  gap: 0.625rem;
  position: absolute;
  top: 4.375rem;
  right: 0;
  background: #f7f9f9;
  padding: 0.5rem 1rem;
  width: 100%;
  height: 25dvh;
  border-radius: 0 0 0.3rem 0.3rem;
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
}

/* Show when active (toggled) */
.nav-links.active {
  display: flex;
  padding: 1rem;
  list-style: none;
}

.nav-links li a {
  text-decoration: none;
  color: #355070;
  font-weight: 500;
  display: inline-block;
}

.nav-links li a.active-link {
  border-bottom: 0.21rem solid #38bdf8;
  color: #355070;
}

.nav-links li a.active-link:hover {
  text-decoration: underline;
}

.nav-links li a.active-link:hover {
  text-decoration: none;
  cursor: default;
}

.nav-links > li > a:hover {
  text-decoration: underline;
  text-underline-offset: 0.222rem;
}

.site-main {
  padding-top: 100px; /* to fix h1, h2 etc from being hidden in nav */
}

/* START OF NEW ADDED STYLE FOR DASHBOARD, LOGIN, LOGOUT*/

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  /* background-color: #f1f5f9; */
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
}

.nav-link {
  color: #2563eb;
  /* font-weight: 600; */
  text-decoration: none;
  /* padding: 0.4rem 0.75rem; */
  border-radius: 0.375rem;
  transition: background-color 0.3s;
}

.nav-link:hover {
  background-color: #e0f2fe;
}

.nav-user {
  font-weight: 500;
  color: #475569;
  /* padding: 0.4rem 0.75rem; */
  /* background-color: #e2e8f0; */
  border-radius: 0.375rem;
}

.nav-btn {
  background-color: #ef4444;
  color: #fff;
  border: none;
  /* padding: 0.5rem 1rem; */
  padding: 0.3rem 0.3rem;
  font-weight: 600;
  border-radius: 0.375rem;
  transition: background-color 0.3s ease;
}

.nav-btn:hover {
  background-color: #dc2626;
  cursor: pointer;
}

/* END OF NEW ADDED STYLE FOR DASHBOARD, LOGIN, LOGOUT*/

/*START OF USER DASHBOARD*/

.user-dashboard {
  max-width: 900px;
}

.dashboard-card {
  background-color: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease-in-out;
}

.dashboard-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

.info-box {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem;
  background-color: #fdfdfd;
}

.info-box label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #555;
}

.info-box p {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.action-buttons .btn {
  min-width: 180px;
  font-weight: 500;
  transition: transform 0.2s;
}

.action-buttons .btn:hover {
  transform: translateY(-2px);
}


/*END OF USER DASHBOARD*/

/*START OF REGISTER PAGE*/

/* Variables */
:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --secondary-color: #6c757d;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Main Container */
.register-wrapper {
  max-width: 1200px;
  padding: 2rem 1rem;
}

/* Card Styling */
.register-card {
  border: none;
  transition: var(--transition);
  overflow: hidden;
}

.register-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Header */
.register-card h3 {
  font-size: 1.8rem;
  letter-spacing: -0.5px;
  position: relative;
  padding-bottom: 1rem;
}

.register-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

/* Form Elements */
.register-form .form-label {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.register-form .form-control,
.register-form .form-select {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: var(--transition);
}

.register-form .form-control:focus,
.register-form .form-select:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

/* Handyman Section */
.handyman-section {
  background: rgba(248, 249, 250, 0.5);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1rem;
}

/* Button Styling */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Link Styling */
.register-card a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.register-card a:hover {
  text-decoration: underline;
}

/* Alert Styling */
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .register-card {
    padding: 1.5rem;
  }
  
  .register-card h3 {
    font-size: 1.5rem;
  }
}


/*END OF REGISTER PAGE*/

/*START OF PROFILE UPDATE PAGE*/

/* Variables */
:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --secondary-color: #6c757d;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Profile Container */
.profile-container {
  max-width: 1200px;
  padding: 2rem 1rem;
}

/* Profile Header */
.profile-header {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.profile-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
}

/* Profile Photo Section */
.profile-photo-section {
  text-align: center;
  padding: 1.5rem;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

.profile-photo {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border: 5px solid var(--white);
  box-shadow: var(--box-shadow);
}

/* Form Elements */
.profile-form .form-label {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.profile-form .form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: var(--transition);
}

.profile-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

.profile-form .form-control[readonly] {
  background-color: var(--light-gray);
  opacity: 1;
}

/* Handyman Section */
.handyman-section {
  background: rgba(248, 249, 250, 0.5);
  padding: 1.5rem;
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
}

.handyman-section .form-label {
  color: var(--primary-color);
}

/* Activity Section */
.activity-section {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.activity-section h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.activity-list {
  list-style: none;
  padding: 0;
}

.activity-list li {
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--light-gray);
  border-radius: 8px;
  transition: var(--transition);
}

.activity-list li:hover {
  background: #e9ecef;
  transform: translateX(5px);
}

/* Button Styling */
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem 1.5rem;
  font-weight: 500;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .profile-photo-section {
    margin-bottom: 2rem;
  }
  
  .profile-header {
    font-size: 1.5rem;
  }
}

/*END OF PROFILE UPDATE PAGE*/


/*START OF LOGIN PAGE*/

/* Variables */
:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --secondary-color: #6c757d;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Login Container */
.login-container {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Login Card */
.login-card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  overflow: hidden;
  transition: var(--transition);
}

.login-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.login-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1.5rem;
  text-align: center;
}

.login-header h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.login-body {
  padding: 2rem;
}

/* Form Elements */
.login-form .form-label {
  font-weight: 500;
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.login-form .form-control {
  padding: 0.75rem 1rem;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  transition: var(--transition);
}

.login-form .form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.25rem rgba(67, 97, 238, 0.15);
}

/* Button Styling */
.login-btn {
  background-color: var(--primary-color);
  border: none;
  padding: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: var(--transition);
  width: 100%;
}

.login-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

/* Link Styling */
.login-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.login-link:hover {
  text-decoration: underline;
}

/* Alert Styling */
.login-alert {
  background-color: #f8d7da;
  color: #721c24;
  border-radius: 8px;
  padding: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
  border: none;
}

/* Responsive Adjustments */
@media (max-width: 576px) {
  .login-body {
    padding: 1.5rem;
  }
}

/*END OF LOGIN*/

/*START OF ERROR PAGE*/

/* Variables */
:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --error-color: #dc3545;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --border-radius: 12px;
  --transition: all 0.3s ease;
}

/* Error Container */
.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 80vh;
  text-align: center;
  padding: 2rem;
}

/* Error Content */
.error-content {
  max-width: 600px;
  padding: 3rem;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Error Number */
.error-number {
  font-size: 6rem;
  font-weight: 700;
  color: var(--error-color);
  margin: 0;
  line-height: 1;
}

/* Error Message */
.error-message {
  font-size: 1.5rem;
  color: #333;
  margin: 1.5rem 0;
}

/* Home Link */
.home-link {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: var(--primary-color);
  color: var(--white);
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 500;
  transition: var(--transition);
  margin-top: 1rem;
}

.home-link:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .error-number {
    font-size: 4rem;
  }
  
  .error-message {
    font-size: 1.25rem;
  }
}

/*END OF ERROR*/

/*START OF HANDYMAN_DASHBOARD PAGE*/

/* Variables */
:root {
  --primary-color: #4361ee;
  --primary-hover: #3a56d4;
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --light-gray: #f8f9fa;
  --white: #ffffff;
  --border-radius: 12px;
  --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s ease;
}

/* Dashboard Container */
.dashboard-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

/* Dashboard Header */
.dashboard-header {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid rgba(67, 97, 238, 0.1);
}

/* Profile Card */
.profile-card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Info Items */
.info-item {
  display: flex;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-item:last-child {
  border-bottom: none;
}

.info-item strong {
  min-width: 150px;
  color: var(--secondary-color);
  font-weight: 500;
}

/* Status Badges */
.verified {
  color: var(--success-color);
  background: rgba(40, 167, 69, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
}

.not-verified {
  color: var(--danger-color);
  background: rgba(220, 53, 69, 0.1);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 500;
}

/* Rating Style */
.rating {
  color: #ffc107;
  font-weight: bold;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .info-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .info-item strong {
    min-width: auto;
  }
}

/*END OF HANDYMAN_DASHBOARD PAGE*/



/*STYLING FOR HANDYMAN'S CONTACT*/

/* Contact Info Styles (only affects the contact/lock elements) */
.handyman-info strong {
  color: #333;
  font-weight: 600;
}

/* Visible contact number */
.handyman-info a[href^="tel:"] {
  color: #28a745; /* Green for visible contact */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.handyman-info a[href^="tel:"]:hover {
  color: #218838;
  text-decoration: underline;
}

/* Unlock button */
.cta-button {
  display: inline-block;
  background-color: #4361ee;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.cta-button:hover {
  background-color: #3a56d4;
  transform: translateY(-1px);
}

/* Login prompt */
.handyman-info a[href^="/login"] {
  color: #4361ee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.handyman-info a[href^="/login"]:hover {
  color: #3a56d4;
  text-decoration: underline;
}

/*END OF HANDYMAN'S CONTACT*/


/* Hero Section  */
.hero_section {
  background-image: url("/static/hero-images/hero-handy-man.avif");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.252rem;
  height: 100dvh;
  text-align: center;
}

.hero-text_hero-btn {
  color: #cfd8dc;
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.25rem;
  background: rgba(0, 0, 0, 0.5); /* for readability on image */
  padding: 0.555rem;
  border-radius: 1rem;
  backdrop-filter: blur(4px);
}

.hero-text_hero-btn h1 {
  font-size: 2rem;
  font-weight: bold;
  line-height: 0.8;
  text-wrap: none;
}

.hero-text_hero-btn h2 {
  font-size: 1.5rem;
  line-height: 0;
  font-weight: bold;
  letter-spacing: 0.13rem;
  color: #cfd8dc;
}

.hero-text_hero-btn p {
  font-size: 0.999rem;
  text-align: left;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.hero-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-btn.primary {
  background-color: #3b82f6;
  font-size: 0.888rem;
  color: #0f172a;
  text-decoration: none;
}

.hero-btn.primary:hover {
  background-color: #2563eb;
  transform: scale(1.05);
}

.hero-btn.secondary {
  background-color: #e0f2fe;
  font-size: 0.888rem;
  color: #0f172a;
}

.hero-btn.secondary:hover {
  background-color: #bae6fd;
  transform: scale(1.05);
}

/* Handymen Page */
/* Section Styling */
.handymenList-hero-section {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
  /* padding-top: 100px; */
}

.handymenList-hero-section h1,
.handymenList-hero-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.handymenList-hero-section h1 {
  font-size: 2.5rem;
  color: #2c3e50;
}

.handymenList-hero-section h2 {
  font-size: 1.5rem;
  color: #34495e;
}

/* Filter Form */
.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-form input[type="text"],
.filter-form select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  min-width: 200px;
  background-color: white;
}

.filter-form .cta-button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.filter-form .cta-button:hover {
  background-color: #2980b9;
}

/* Grid Layout for Handymen */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

/* Handyman Card */
.handyman-item {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease-in-out;
}

.handyman-item:hover {
  transform: translateY(-5px);
}

.handyman-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.handyman-info {
  padding: 1rem 1.25rem;
}

.handyman-info h3 {
  margin: 0 0 0.5rem 0;
  color: #2c3e50;
}

.handyman-info p {
  margin: 0.25rem 0;
  font-size: 0.95rem;
}

/* Call-to-action button in each card */
.handyman-info .cta-button {
  display: inline-block;
  margin-top: 1rem;
  text-align: center;
  background-color: #27ae60;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.handyman-info .cta-button:hover {
  background-color: #1e8449;
}

/* Responsive Tuning */
@media (max-width: 768px) {
  .filter-form {
    flex-direction: column;
    align-items: center;
  }

  .filter-form input[type="text"],
  .filter-form select {
    width: 90%;
  }

  .filter-form .cta-button {
    width: 90%;
    text-align: center;
  }
  .handyman-info{
    color: #062726;
  }
}

/* CTA Button */
.cta-button {
  background-color: #28a745;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 30px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
}

.cta-button:hover {
  background-color: #218838;
  transform: translateY(-2px);
}


/* START OF Handyman Signup Page Styling */
.handymenSignUpHero-section {
  background: linear-gradient(135deg, #007bff 20%, #0056b3);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.formed {
  max-width: 600px;
  margin: auto;
  padding: 2rem;
  background: #f9f9f9;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

.formed label {
  display: block;
  margin: 1rem 0 0.4rem;
  font-weight: 500;
  color: #333;
}

.formed input,
.formed select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  box-sizing: border-box;
}

.formed input:focus,
.formed select:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 4px rgba(0, 123, 255, 0.25);
}

.formed button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  margin-top: 1.5rem;
  background: #007bff;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.formed button:hover {
  background: #0056b3;
}

.error-messages {
  max-width: 600px;
  margin: 1rem auto;
  padding: 1rem;
  background: #ffe6e6;
  border: 1px solid #ff4d4d;
  border-radius: 6px;
  color: #990000;
}

.error-messages ul {
  padding-left: 1.25rem;
}

@media (max-width: 768px) {
  .formed {
    padding: 1.5rem;
  }

  .handymenSignUpHero-section {
    padding: 2rem 1rem;
  }
}
 /*END OF HANDYMAN REGISTRATION PAGE*/


/* Padding for the sections */
.why_us-section,
.services_section {
  padding: 1.25rem;
}
/* Why Choose Us Section */
.why_us-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.666rem;
}

.why_us-section > h2 {
  margin-bottom: 1.5rem;
  /* color: #f7f9f9; */
  font-size: 2rem;
  font-weight: 600;
  text-align: center;
}

.why_us-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #2a3d59;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.why_us-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.why_us-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
  background-color: #4c6b8f;
  color: #facc15;
  flex-shrink: 0;
}

.why_us-icon > svg {
  width: 1.5rem;
  height: 1.5rem;
}

.why_us-card h3 {
  margin: 0;
  font-size: 0.888rem;
  font-weight: 600;
  color: #f7f9f9;
}

.why_us-card p {
  margin: 0.25rem 0 0;
  font-size: 0.666rem;
  color: #facc15;
}

/* Services Section... */
.services_section {
  margin: 0 auto;
  text-align: center;
}

.services_text {
  margin-bottom: 1.25rem;
}

.services_text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  /* color: #f9f9f9; */
}

.services_section.services_text p {
  font-size: 1rem;
  color: #555;
  text-align: center;
  /* max-width: 600px; */
}

.services_section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0.777rem;
}

.services_card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: all 0.3s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.services_card:hover {
  border-color: #3b82f6;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
  transform: translateY(-5px);
}

.services_icon-wrapper {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 1rem auto;
  background-color: #e0f2fe;
  color: #3b82f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.services_card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.services_card p {
  color: #666;
  font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
  background-color: #2563eb; /* blue-600 */
  padding: 4rem 1rem;
  text-align: center;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-section h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-section p {
  color: #dbeafe; /* blue-100 */
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.btn-primary {
  background-color: #fff;
  color: #2563eb;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #f0f4ff;
}

.btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #93c5fd; /* blue-300 */
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
}

.btn-secondary:hover {
  background-color: #1e40af; /* darker blue */
}

/* Testimonials Section */
.testimonials {
  background-color: #f9fafb;
  padding: 4rem 1rem;
  text-align: center;
}

.testimonials h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #1e3a8a;
}

.carousel {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial {
  display: none;
  padding: 1.5rem;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: opacity 0.5s ease;
}

.testimonial.active {
  display: block;
}

.testimonial p {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.testimonial h4 {
  color: #2563eb;
  font-weight: 600;
}

.carousel-controls {
  margin-top: 1rem;
}

.carousel-controls button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-controls button:hover {
  background-color: #1d4ed8;
}


/*About us page*/

 /* Hero Section about us page */
 .abouthero {
  background: linear-gradient(
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.5)
  ),
    url('/static/hero-images/hero-handy-man.avif') no-repeat center center/cover;
  padding: 150px 0;
  color: white;
  text-align: center;
}

.connect{
  text-align: center;
  font-size: 1.3rem;
  color: #34495e;
  margin-bottom: 0.5rem;
}

.about-content, .connect {
  padding: 2rem 1rem;
  background: #ffffff;
}

.mission-vision {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-around;
  margin-top: 1.5rem;
}

.mission, .vision {
  flex: 1 1 calc(50% - 2rem);
  background: #eaf2f8;
  padding: 1.5rem;
  border-radius: 10px;
}

.mission h2, .vision h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2980b9;
}

.mission p, .vision p {
  font-size: 1rem;
  color: #555;
}

.values {
  background: #f9f9f9;
  padding: 2rem 1rem;
}

.values h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #27ae60;
}

.values h3 {
  font-size: 1.5rem;
  color: #2980b9;
}

.values p {
  color: #555;
}

.values-gridB {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.value-item {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
}

.value-item img {
  width: 60px;
  margin-bottom: 1rem;
}

.why-usB {
  padding: 2rem 1rem;
  background: #e8f5e9;
}

.why-usB h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #16a085;
}

.why-usB-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.reasonB {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-align: center;
}

.reasonB h3 {
  font-size: 1.5rem;
  color: #2980b9;
  margin-bottom: 0.5rem;
}

.reasonB p {
  color: #555;
}

.process {
  padding: 2rem 1rem;
  background: #f4f4f4;
}

.process h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #e67e22;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.step span {
  display: block;
  font-size: 2rem;
  color: #c0392b;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.step h3 {
  font-size: 1.3rem;
  color: #34495e;
  margin-bottom: 0.5rem;
}

.step p {
  color: #555;
}


/*end of about us page*/


/* START OF POLICY PAGES */

.policy-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: 'Segoe UI', sans-serif;
    color: #555;
    line-height: 1.6;
  }

  .policy-container h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #0A5C5A;
  }

  .policy-container h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0A5C5A;
  }

  .policy-container ul {
    margin-left: 1.5rem;
    list-style-type: disc;
  }

  .policy-container li {
    margin-bottom: 0.5rem;
  }

  .policy-container p {
    margin-bottom: 1rem;
  }

/*END OF POLICY PAGES*/

/* Footer  */
.footer {
  background-color: #0f172a; /* dark blue-gray */
  color: #f1f5f9;
  padding: 2rem 1rem;
  font-family: Arial, sans-serif;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 1px solid #334155;
}

.footer-section {
  flex: 1 1 250px;
}

.footer-section h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.footer-section p,
.footer-section a {
  font-size: 0.95rem;
  color: #cbd5e1;
  text-decoration: none;
  display: block;
  margin: 0.25rem 0;
}

.footer-section a:hover {
  text-decoration: underline;
  color: #38bdf8;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin: 0.5rem 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icons a i {
  font-size: 1.4rem;
  color: #f1f5f9;
  transition: color 0.3s;
}

.social-icons a:hover i {
  color: #38bdf8;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
}