  @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');



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



:root {
  --violet: #3b254e;
  --violet-dark: #2a1839;
  --blue: #0057ff;
  --red: #cc2e2e;
  --black: #111111;
  --white: #ffffff;
  --gray: #f5f5f7;
  --success: #28a745;
  --warning: #ffc107;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* ====== HEADER SECTION ====== */
header {
  width: 90%;
  max-height: 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  margin: 0 auto;
  padding: 0 30px;
  position: absolute;
  top: 20px;
  right: 0;
  left: 0;
  z-index: 1003;
}

.logo img {
  width: 150px;
  height: 150px;
  border-radius: 0%;
  background: transparent;
}


header ul {
  display: flex;
  gap: 25px;
}

header ul li {
  list-style: none;
  text-transform: capitalize;
}

header ul a {
  position: relative;
  color: #000;
  text-decoration: none;
  font-size: 15px;
  padding-bottom: 5px;
  font-weight: 600;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

header ul i {
  margin-right: 5px;
}

header ul a i {
  margin-left: 5px;
}

header ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: rgb(126, 24, 24);
  transition: width 0.6s ease;
}

header ul li a:hover::after {
  width: 100%;
}

/* ====== DROPDOWN MENU ====== */
header ul li ul {
  position: absolute;
  top: 100px;
  background: rgba(255, 255, 255, 0.5);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 1000;
  border-radius: 0 0 8px 8px;
  padding: 8px 0;
}

header ul li ul li {
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.5s ease;
  width: 100%;
}

header ul li ul li a {
  padding: 12px 20px;
  color: #000;
}

header ul li ul li:hover {
  background: rgb(100, 98, 98);
  color: #fff;
  padding: 10px;
}

header ul li ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 3px;
  background: #fff;
  transition: width 0.6s ease;
}

header ul li.show ul,
header ul li:hover ul {
  display: flex;
}

/* ====== HAMBURGER MENU ====== */
.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.hamburger span {
  width: 20px;
  height: 2px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 2px;
  transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ====== HEADER RESPONSIVE ====== */
@media (min-width: 992px) {
  .hamburger {
    display: none !important;
  }
}

@media (max-width: 991px) {
  header {
    padding: 10px 20px;
    width: 95%;
    border-radius: 40px 40px 0 0;
  }
  
  .logo img {
    width: 100px;
    height: 100px;
  }
  
  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    flex-direction: column;
    padding: 15px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    display: flex !important;
  }
  
  .menu li {
    margin: 5px 0;
    text-align: center;
  }
}

@media (max-width: 576px) {
  header {
    padding: 8px 15px;
    width: 98%;
    top: 10px;
    border-radius: 40px 40px 0 0;
  }
  
  .logo img {
    width: 80px;
    height: 90px;
  }
  
  .hamburger {
    gap: 3px;
  }
  
  .hamburger span {
    width: 18px;
    height: 2px;
  }
  
  .menu {
    padding: 10px;
  }
}

/* Navigation secondaire */
.secondary-nav {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 999;
}

.secondary-nav .nav-link {
  color: white;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border-radius: 0.25rem;
  margin: 0 0.25rem;
}

.secondary-nav .nav-link:hover,
.secondary-nav .nav-link.active {
  color: white;
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* ===== HERO SECTION ===== */
.hero-tl {
  position: relative;
  margin-top: 0;
  padding-top: 200px;
  padding-bottom: 80px;
  min-height: 80vh;
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.55)),
    url('images/man.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-tl .gradien {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0, 87, 255, 0.35), transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.2), rgba(59, 130, 246, 0.2));
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0, 87, 255, 0.2);
}

.hero-tl h1 {
  font-family: 'Laviossa', serif;
}

/* ===== BUTTONS ===== */
.btn-blue {
  background: linear-gradient(135deg, var(--blue), #3b82f6);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-blue:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(0, 87, 255, 0.4);
  color: var(--white);
}

.btn-red {
  background: linear-gradient(135deg, var(--red), #ef4444);
  color: var(--white);
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn-red:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 35px rgba(204, 46, 46, 0.4);
  color: var(--white);
}

.btn-outline-blue {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: transparent;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.btn-outline-red {
  border: 2px solid var(--red);
  color: var(--red);
  background: transparent;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

/* ===== QUICK ACTIONS SECTION ===== */
.quick-actions-section {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  position: relative;
}

.quick-actions-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 1;
}

.quick-actions-section .container {
  position: relative;
  z-index: 2;
}

.action-card {
  background: white;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.action-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.candidate-card {
  border-left: 4px solid var(--blue);
}

.employer-card {
  border-left: 4px solid var(--red);
}

.search-form .form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 12px 15px;
}

.services-list .service-item {
  padding: 8px 0;
  font-weight: 500;
}

/* ===== SECTIONS ===== */
.services-section {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  position: relative;
}

.services-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('');
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  z-index: 1;
}

.services-section .container {
  position: relative;
  z-index: 2;
}

.advantages-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.advantages-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/ent.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.advantages-section .container {
  position: relative;
  z-index: 2;
}

.advantages-section .subtitle,
.advantages-section h2 {
  color: white !important;
}

.specializations-section {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
  position: relative;
}

.specializations-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.specializations-section .container {
  position: relative;
  z-index: 2;
}

.stats-section {
  background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
  position: relative;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('images/stat.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.stats-section .container {
  position: relative;
  z-index: 2;
}

.cta-final {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  z-index: 1;
}

.cta-final .container {
  position: relative;
  z-index: 2;
}

/* ===== JOBS PAGE SPECIFIC BACKGROUNDS ===== */
.jobs-search-section {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%) !important;
  position: relative;
}

.jobs-search-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  z-index: 1;
}

.jobs-search-section .container {
  position: relative;
  z-index: 2;
}

/* Override for jobs page hero */
body:has(.jobs-hero) .hero-tl {
  background-image:
    linear-gradient(rgba(17, 17, 17, 0.45), rgba(17, 17, 17, 0.55)),
    url('images/jobs.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* ===== SERVICE CARDS ===== */
.service-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(59, 37, 78, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 40px 80px rgba(0, 87, 255, 0.15);
  border-color: rgba(0, 87, 255, 0.2);
}

.service-card ul {
  padding-left: 16px;
  margin-bottom: 0;
}

.service-card ul li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.1), rgba(0, 87, 255, 0.05));
  display: grid;
  place-items: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.3s ease;
}

.service-card:hover .icon-wrap {
  background: white;
  transform: scale(1.1) rotate(5deg);
}

/* ===== ADVANTAGE CARDS ===== */
.advantage-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 87, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.advantage-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 87, 255, 0.15);
  border-color: rgba(0, 87, 255, 0.2);
}

/* ===== SPECIALIZATION CARDS ===== */
.specialization-card {
  background: white;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

.specialization-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 87, 255, 0.1);
  border-color: rgba(0, 87, 255, 0.15);
}

.skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 15px;
}

.skill-tag {
  background: rgba(0, 87, 255, 0.1);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(0, 87, 255, 0.2);
}

/* ===== STATISTICS ===== */
.stat {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 25px 10px;
}

.stat-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 5px;
}

.stat-label {
  display: block;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== TYPOGRAPHY ===== */
.subtitle {
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue);
  font-weight: 600;
}

.text-violet {
  color: var(--violet) !important;
}

.text-blue {
  color: var(--blue) !important;
}

.text-red {
  color: var(--red) !important;
}

/* ===== FOOTER ===== */
.footer {
  background: #fff;
  color: #000;
  padding: 70px 5% 35px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-about,
.footer-links,
.footer-contact {
  flex: 1;
  min-width: 240px;
}

.footer h3,
.footer h4 {
  font-size: 20px;
  color: #000;
  margin-bottom: 15px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 700;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 500;
}

.footer-links ul li a:hover {
  color: #ff6f61;
}

.footer-contact a {
  text-decoration: none;
  color: var(--red);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: 400;
}

.footer-contact .mail-info {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 20px 0;
  line-height: 1.6;
}

.footer-contact .whatsapp,
.footer-contact .mailing,
.footer-contact .location {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-socials {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.footer-socials a img {
  width: 30px;
  height: 30px;
}

.newsletter {
  background: #111;
  padding: 35px 20px;
  text-align: center;
  border-radius: 6px;
}

.newsletter h4 {
  color: #fff;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.newsletter-form input {
  padding: 12px 15px;
  border: none;
  border-radius: 6px;
  outline: none;
  width: 260px;
  max-width: 100%;
}

.newsletter-form button {
  padding: 12px 24px;
  border: none;
  background: #ff6f61;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff3c2f;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid #ddd;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}

.eleven-space {
  height: 2rem;
}

/* ===== BACK TO TOP ===== */
.btn-back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: var(--red);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1050;
  box-shadow: 0 4px 15px rgba(204, 46, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.btn-back-to-top:hover {
  background-color: var(--violet);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(59, 37, 78, 0.4);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  header {
    padding: 10px 20px;
    width: 95%;
    border-radius: 40px 40px 0 0;
  }

  .logo img {
    width: 80px;
    height: 70px;
  }

  .hamburger {
    display: flex;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.5);
    flex-direction: column;
    padding: 15px;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    display: flex !important;
  }

  .menu li {
    margin: 5px 0;
    text-align: center;
  }

  .hero-tl {
    padding-top: calc(120px + 1.5cm);
    min-height: 70vh;
  }
  
  .secondary-nav .nav {
    flex-wrap: wrap;
  }
  
  .secondary-nav .nav-link {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .hero-tl {
    text-align: center;
    padding-top: calc(120px + 1.5cm);
    min-height: 70vh;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
  }

  .service-card {
    padding: 20px;
  }

  .btn-blue,
  .btn-red {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }

  .footer-container {
    flex-direction: column;
    text-align: left;
  }

  .action-card {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  header {
    padding: 8px 15px;
    width: 98%;
    top: 10px;
  }

  .logo img {
    width: 60px;
    height: 50px;
  }

  .hero-tl {
    padding-top: calc(100px + 1cm);
  }

  .service-card,
  .action-card {
    padding: 20px;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
}