/* ===================================
   MATENDO WEBSITE - COMPLETE STYLES
   ===================================
   This file contains all styles for:
   - index.html, about.html, careers.html, 
   - contact.html, hire.html, join.html, login.html
   =================================== */

/* ===================================
   RESET & BASE STYLES
   =================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  font-family: "Proxima Nova", proxima-nova, Arial, sans-serif;
  line-height: 1.4;
  color: #2b2929;
  scroll-behavior: smooth;
  font-size: 14px;
  overflow-x: hidden;
}

/* ===================================
   SECTION BASE STYLES
   =================================== */
section {
  position: relative;
  padding: 20px 5%;
  overflow: hidden;
  width: 100%;
}

section:nth-child(odd) {
  background-image: linear-gradient(rgba(248, 249, 250, 0.7), rgba(248, 249, 250, 0.7)),
    url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23000000' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

section:nth-child(even) {
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #323030;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(to right, #28a745, #1e7e7c);
  border-radius: 2px;
}

/* ===================================
   ENHANCED NAVIGATION
   =================================== */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 1000;
  padding: 8px 5%;
  transition: all 0.3s ease;
}

.nav-container.scrolled {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

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

.logo-img {
  width: 150px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-img:hover {
  transform: scale(1.02);
}

.main-nav {
  display: flex;
  gap: 25px;
  margin: 0 auto;
}

.main-nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #28a745;
  transition: width 0.3s ease;
}

.main-nav-link:hover {
  color: #28a745;
}

.main-nav-link:hover::after {
  width: 100%;
}

.auth-nav {
  display: flex;
  gap: 20px;
}

.auth-nav-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 6px 12px;
  border-radius: 4px;
}

.auth-nav-link:nth-child(1) {
  color: #28a745;
  border: 1px solid #28a745;
}

.auth-nav-link:nth-child(2) {
  color: #007bff;
  border: 1px solid #007bff;
}

.auth-nav-link:nth-child(1):hover {
  color: #218838;
  border-color: #218838;
}

.auth-nav-link:nth-child(2):hover {
  color: #0056b3;
  border-color: #0056b3;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background-color: white;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-menu-link {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* ===================================
   HERO SECTION
   =================================== */
.hero-section {
  background-color: #f8f9fa;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 80px 0 30px;
}

.hero-text {
  flex: 1;
  max-width: 450px;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  padding-right: 20px;
}

.hero-title {
  font-size: 1.8rem;
  color: #333;
  margin-bottom: 12px;
  line-height: 1.2;
  font-weight: 700;
}

.hero-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 15px;
  line-height: 1.5;
}

.hero-image {
  flex: 1;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  max-width: 48%;
  margin-right: 15px;
}

.hero-img {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 10px;
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  object-fit: cover;
  object-position: center 20%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===================================
   BUTTONS & INTERACTIVE ELEMENTS
   =================================== */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #28a745;
  color: white;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.btn-primary:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(40, 167, 69, 0.3);
}

.btn-secondary {
  background: #ffffff;
  color: #333;
  border: 1px solid #d1d1d1;
}

.btn-secondary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================
   CARDS & CONTAINERS
   =================================== */
.card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
  position: relative;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(40, 167, 69, 0.2);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(40, 167, 69, 0.1) 0%, transparent 80%);
  border-radius: 50%;
  z-index: 0;
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.card-icon i {
  font-size: 1.5rem;
  color: #28a745;
}

.card h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.card p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

/* ===================================
   FORMS & INPUT ELEMENTS
   =================================== */
.form-container {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
  border: 1px solid #f0f0f0;
}

.form-header {
  background: linear-gradient(to right, #28a745, #1e7e7c);
  padding: 20px;
  color: white;
  text-align: center;
}

.form-header h2 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.form-header p {
  font-size: 1rem;
  opacity: 0.9;
}

.input-field {
  margin-bottom: 18px;
}

.input-field label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  color: #333;
  font-size: 0.95rem;
}

.input-field input,
.input-field select,
.input-field textarea {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  font-family: "Proxima Nova", proxima-nova, Arial, sans-serif;
}

.input-field input:focus,
.input-field select:focus,
.input-field textarea:focus {
  outline: none;
  border-color: #28a745;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.input-pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-bottom: 18px;
}

.checkbox-group {
  display: grid;
  gap: 10px;
  margin-top: 8px;
}

.checkbox-group.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.checkbox-group label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.95rem;
  padding: 8px;
  border-radius: 6px;
  transition: background-color 0.3s;
}

.checkbox-group label:hover {
  background-color: rgba(40, 167, 69, 0.05);
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-right: 10px;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.file-upload {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.file-upload input[type="file"] {
  display: none;
}

.file-upload label {
  background-color: rgba(40, 167, 69, 0.1);
  color: #28a745;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

.file-upload label:hover {
  background-color: rgba(40, 167, 69, 0.2);
  transform: translateY(-2px);
}

.file-name {
  margin-left: 12px;
  font-size: 0.9rem;
  color: #666;
}

/* ===================================
   GRIDS & LAYOUTS
   =================================== */
.grid {
  display: grid;
  gap: 30px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}

.main-content {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
  padding: 40px 5%;
}

.sidebar {
  width: 30%;
  padding: 0;
}

.content-wrapper {
  width: 70%;
}

/* ===================================
   MODALS & OVERLAYS
   =================================== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-content {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 24px;
  padding: 30px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1), 0 1px 8px rgba(255, 255, 255, 0.2) inset, 0 -1px 8px rgba(0, 0, 0, 0.05)
    inset;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transform: scale(0.95);
  opacity: 0;
  transition: all 0.3s ease;
}

.modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-icon {
  width: 60px;
  height: 60px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.modal-icon i {
  font-size: 2rem;
  color: #28a745;
}

/* ===================================
   PROGRESS & INDICATORS
   =================================== */
.progress-container,
.form-progress {
  display: flex;
  justify-content: space-between;
  margin: 20px;
  position: relative;
}

.progress-container::before,
.form-progress::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #e0e0e0;
  z-index: 1;
}

.progress-step {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
  font-size: 0.85rem;
  color: #666;
  padding-top: 25px;
}

.progress-step::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background-color: #e0e0e0;
  border-radius: 50%;
  z-index: 3;
}

.progress-step.active {
  color: #28a745;
  font-weight: 600;
}

.progress-step.active::before {
  background-color: #28a745;
  width: 12px;
  height: 12px;
  top: 6px;
  box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.2);
}

.progress-step.completed::before {
  background-color: #28a745;
}

/* ===================================
   INDEX PAGE SPECIFIC STYLES
   =================================== */

/* Featured Talent Section */
.talent-section {
  padding: 25px 5%;
}

.talent-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}

.talent-grid {
  display: flex;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 15px 0;
  position: relative;
  -webkit-overflow-scrolling: touch;
}

.talent-card {
  flex: 0 0 220px;
  margin-right: 20px;
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid #f0f0f0;
}

.talent-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(40, 167, 69, 0.2);
}

.talent-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.5s ease;
}

.talent-card:hover .talent-img {
  transform: scale(1.05);
}

.talent-info {
  padding: 15px;
  border-top: 1px solid #f0f0f0;
  background: linear-gradient(to bottom, #f9f9f9, #ffffff);
}

.talent-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #333;
}

.talent-specialty {
  font-size: 0.9rem;
  color: #666;
}

/* Navigation buttons for talent carousel */
.talent-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  color: #28a745;
  border: 2px solid #28a745;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.talent-nav-btn:hover {
  background-color: #28a745;
  color: white;
  box-shadow: 0 8px 16px rgba(40, 167, 69, 0.3);
}

#prevBtn {
  left: 10px;
}

#nextBtn {
  right: 10px;
}

/* Pagination dots */
.pagination-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #28a745;
  transform: scale(1.2);
}

/* How It Works Section */
.how-it-works {
  padding: 25px 5%;
}

.how-it-works-container {
  max-width: 1000px;
  margin: 0 auto;
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.how-it-works-card {
  background-color: white;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.how-it-works-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, #28a745, #1e7e7c);
  z-index: 2;
}

.how-it-works-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.how-it-works-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.how-it-works-card:hover .how-it-works-icon {
  background-color: rgba(40, 167, 69, 0.2);
  transform: scale(1.1);
}

.how-it-works-icon i {
  font-size: 1.5rem;
  color: #28a745;
}

.how-it-works-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 8px;
}

.how-it-works-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: rgba(40, 167, 69, 0.5);
}

/* Features Section */
.features {
  padding: 25px 5%;
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  text-align: center;
  padding: 25px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, transparent 100%);
  z-index: 0;
}

.feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature i {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.feature h3 {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #333;
  position: relative;
  z-index: 1;
}

.feature p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* Multi-step forms */
.multi-step-form,
.step-content {
  display: none;
}

.multi-step-form.active,
.step-content.active {
  display: block;
}

.navigation-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 15px;
}

.nav-button {
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  min-width: 120px;
}

.back-button {
  background: #ffffff;
  color: #333;
  border: 1px solid #d1d1d1;
}

.back-button:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.next-button {
  background: #28a745;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.next-button:hover {
  background: #218838;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* ===================================
   FOOTER STYLES
   =================================== */
.footer {
  background: #f8f9fa;
  padding: 40px 5% 30px;
  border-top: 1px solid #eee;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, transparent, rgba(40, 167, 69, 0.3), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.footer-column h3 {
  font-size: 1rem;
  margin-bottom: 12px;
  color: #333;
  position: relative;
  padding-bottom: 8px;
}

.footer-column h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: rgba(40, 167, 69, 0.5);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column a {
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 15px;
}

.footer-column a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(40, 167, 69, 0.3);
  transition: all 0.3s ease;
}

.footer-column a:hover {
  color: #28a745;
  padding-left: 20px;
}

.footer-column a:hover::before {
  background-color: #28a745;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(40, 167, 69, 0.1);
  border-radius: 50%;
  color: #28a745;
  transition: all 0.3s ease;
  padding: 0;
}

.social-icons a:hover {
  background-color: #28a745;
  color: white;
  transform: translateY(-5px);
  padding: 0;
}

.social-icons a::before {
  display: none;
}

.footer-bottom {
  max-width: 1000px;
  margin: 25px auto 0;
  padding: 15px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #999;
  font-size: 0.9rem;
}

/* ===================================
   COMPREHENSIVE RESPONSIVE DESIGN
   =================================== */
@media (max-width: 1200px) {
  .hero-text {
    max-width: 450px;
  }
  .hero-image {
    max-width: 48%;
    margin-right: 15px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-description {
    font-size: 1.1rem;
  }
  .main-nav {
    gap: 15px;
  }
}

@media (max-width: 992px) {
  .hero-content {
    justify-content: space-between;
    padding: 30px 0;
  }
  .hero-text {
    max-width: 50%;
    padding-right: 15px;
  }
  .hero-image {
    max-width: 48%;
    margin-right: 10px;
  }
  .hero-img {
    max-height: 400px;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .hero-description {
    font-size: 1.05rem;
  }
  .main-nav {
    display: none;
  }
  .main-content {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    order: 2;
  }
  .content-wrapper {
    width: 100%;
    order: 1;
  }
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3,
  .how-it-works-grid,
  .features-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
  .checkbox-group.two-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 13px;
  }
  .auth-nav {
    display: none;
  }
  .mobile-menu-button {
    display: block;
  }
  .hero-content {
    flex-direction: column;
    align-items: center;
    padding: 25px 0;
  }
  .hero-text {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 20px;
  }
  .hero-image {
    display: none;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-description {
    font-size: 1rem;
  }
  .main-content {
    padding: 20px 5%;
    gap: 20px;
  }
  .input-pair {
    grid-template-columns: 1fr;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .how-it-works-grid,
  .features-container {
    grid-template-columns: 1fr;
  }
  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
  section {
    padding: 30px 4%;
  }
  .hero-section {
    padding-top: 70px;
  }
  .talent-card {
    flex: 0 0 180px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    padding: 20px 0;
  }
  .hero-text {
    padding: 0 10px;
    margin-bottom: 15px;
  }
  .hero-title {
    font-size: 1.5rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .section-title {
    font-size: 1.2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-header h2 {
    font-size: 1.2rem;
  }
  .progress-step {
    font-size: 0.75rem;
  }
  .talent-card {
    flex: 0 0 160px;
  }
  .talent-img {
    height: 150px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero-image {
    display: block;
    max-width: 45%;
    margin-right: 10px;
  }
  .hero-text {
    max-width: 50%;
    text-align: left;
    padding-right: 15px;
  }
  .hero-content {
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .hero-img {
    max-height: 350px;
  }
}

@media (min-width: 992px) {
  .hero-image {
    display: block;
    flex: 1;
    text-align: center;
    max-width: 48%;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 20px;
  }
  .hero-text {
    max-width: 45%;
    padding-right: 20px;
  }
  .hero-img {
    max-height: 400px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .card h3 {
    font-size: 1.1rem;
  }
  .card p {
    font-size: 0.9rem;
  }
  .card-icon {
    width: 45px;
    height: 45px;
  }
  .card-icon i {
    font-size: 1.3rem;
  }
  .form-header h2 {
    font-size: 1.1rem;
  }
  .progress-step {
    font-size: 0.7rem;
  }
  .talent-card {
    flex: 0 0 140px;
  }
  .talent-img {
    height: 130px;
  }
}

@media (max-width: 380px) {
  .hero-title {
    font-size: 1.3rem;
  }
  .talent-card {
    flex: 0 0 100%;
    margin-right: 15px;
    margin-left: 15px;
  }
  .talent-nav-btn {
    width: 35px;
    height: 35px;
  }
}

/* ===================================
   ACCESSIBILITY & TOUCH SUPPORT
   =================================== */
@media (max-width: 768px) {
  .nav-link,
  .mobile-menu-link,
  .btn,
  .card {
    padding: 10px 15px;
  }

  .footer-column a {
    padding: 8px 15px;
    display: block;
  }

  /* Touch-friendly button sizing */
  button,
  .btn,
  input[type="submit"],
  input[type="button"] {
    min-height: 44px;
    min-width: 44px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .card {
    border: 2px solid #333;
  }

  .btn-primary {
    border: 2px solid #000;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Print styles */
@media print {
  .nav-container,
  .mobile-menu,
  .footer {
    display: none;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .hero-section {
    padding-top: 0;
  }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
  .modal,
  .mobile-menu {
    height: -webkit-fill-available;
  }
}

/* ===================================
   UTILITY CLASSES
   =================================== */
.text-center {
  text-align: center;
}
.text-left {
  text-align: left;
}
.text-right {
  text-align: right;
}

.mb-10 {
  margin-bottom: 10px;
}
.mb-15 {
  margin-bottom: 15px;
}
.mb-20 {
  margin-bottom: 20px;
}
.mb-25 {
  margin-bottom: 25px;
}
.mb-30 {
  margin-bottom: 30px;
}

.mt-10 {
  margin-top: 10px;
}
.mt-15 {
  margin-top: 15px;
}
.mt-20 {
  margin-top: 20px;
}
.mt-25 {
  margin-top: 25px;
}
.mt-30 {
  margin-top: 30px;
}

.p-10 {
  padding: 10px;
}
.p-15 {
  padding: 15px;
}
.p-20 {
  padding: 20px;
}
.p-25 {
  padding: 25px;
}
.p-30 {
  padding: 30px;
}

.hidden {
  display: none;
}
.visible {
  display: block;
}

.color-primary {
  color: #28a745;
}
.color-secondary {
  color: #666;
}
.color-danger {
  color: #dc3545;
}

.bg-primary {
  background-color: #28a745;
}
.bg-secondary {
  background-color: #f8f9fa;
}
.bg-white {
  background-color: white;
}

.border-radius {
  border-radius: 8px;
}
.border-radius-lg {
  border-radius: 12px;
}

.shadow-sm {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.shadow-md {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.shadow-lg {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

/* ===================================
   END OF COMPLETE STYLES
   =================================== */