/* 
  Theme Name: Career Sarthi Group
  Description: Custom job portal styles
*/

:root {
  /* Figma Colors */
  --primary-orange: #EC4F0A; 
  --primary-orange-hover: #C93D00;
  --primary-blue: #0047A0; /* Royal blue for text highlights */
  --primary-blue-hover: #003377;
  --navy-blue: #0A192F; /* Footer background */
  --navy-blue-light: #112240;
  
  --text-dark: #1E1E1E;
  --text-muted: #6B7280;
  --bg-light: #F4F7F6;
  --white: #FFFFFF;
  --border-color: #E5E7EB;

  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Shadows & Radius */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Layout */
  --container-width: 1200px;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  border-top: none !important;
}

html {
  border-top: none !important;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--primary-hover);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Buttons */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary-blue);
}

.btn-secondary:hover {
  background-color: var(--bg-light);
  color: var(--primary-blue-hover);
}

.btn-orange {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-align: center;
  transition: all 0.3s ease;
  background-color: var(--primary-orange);
  color: var(--white);
}

.btn-orange:hover {
  background-color: var(--primary-orange-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-large {
  padding: 14px 28px;
  font-size: 1.1rem;
}

/* Header & Nav */
.site-header {
  background-color: var(--primary-orange);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--white);
  padding: 10px 20px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.logo-img {
  max-height: 50px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap !important;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a.nav-item {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.nav-links a.nav-item.active {
  font-weight: 700;
}

.nav-links a.nav-item:hover {
  opacity: 0.9;
}

.nav-btn-wrapper {
  margin-left: 1.5rem;
  white-space: nowrap;
}

.btn-auth-header {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 6px 6px 6px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-auth-header:hover {
  background-color: var(--primary-blue-hover);
}

.auth-btn-icon {
  background-color: var(--white);
  color: var(--primary-orange);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  background-color: #D4D7DE;
  background-image: 
    linear-gradient(to right, #D4D7DE 30%, rgba(212, 215, 222, 0.95) 45%, rgba(212, 215, 222, 0.6) 65%, rgba(212, 215, 222, 0) 85%),
    url('../images/hero_section_home_background.jpg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto 100%;
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

.hero-section .container {
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero-left-col {
  flex: 1;
  min-width: 300px;
  max-width: 650px;
  position: relative;
  z-index: 2;
}

.hero-left-col h1 {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: #1E1E1E;
  margin-bottom: 25px;
  font-family: var(--font-family);
}

.hero-left-col h1 span {
  font-weight: 700;
  color: var(--primary-blue);
}

.hero-left-col p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4B5563;
  margin-bottom: 35px;
  font-family: var(--font-family);
  max-width: 580px;
}

.hero-cta-wrapper {
  margin-bottom: 60px;
}

.hero-stats-row {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  padding-top: 40px;
  max-width: 550px;
  margin-top: 40px;
}

.hero-stats-row .stat-item {
  text-align: left;
}

.hero-stats-row .stat-num {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1E1E1E;
  font-family: var(--font-family);
  line-height: 1.2;
}

.hero-stats-row .stat-lbl {
  font-size: 0.95rem;
  color: #6B7280;
  margin-top: 5px;
}

.hero-stats-row .stat-divider {
  width: 1px;
  height: 50px;
  background-color: rgba(0, 0, 0, 0.15);
}

.hero-right-col {
  display: none; /* hidden on desktop */
}

/* What We Do Cards */
.feature-card-item {
  background-color: #F8FAFC;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.feature-card-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--primary-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  box-shadow: 0 4px 12px rgba(236, 79, 10, 0.2);
  transition: transform 0.3s ease;
}

.feature-card-item:hover .card-icon-circle {
  transform: scale(1.1);
}

.card-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 12px;
  font-family: var(--font-family);
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Process Section */
.process-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  position: relative;
  z-index: 2;
  margin-top: 50px;
}

.process-line-connectors {
  position: absolute;
  top: 40px;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 1;
  pointer-events: none;
}

.process-line-connectors .connector-item {
  position: absolute;
  top: 0;
  width: 25%;
  height: 40px;
}

.process-line-connectors .connector-1 {
  left: 12.5%;
  top: -16px;
  height: 56px;
}

.process-line-connectors .connector-2 {
  left: 37.5%;
}

.process-line-connectors .connector-3 {
  left: 62.5%;
  top: -16px;
  height: 56px;
}

.process-line-connectors .connector-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}

.step-card-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.step-number-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--primary-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 20px auto;
  box-shadow: 0 6px 15px rgba(236, 79, 10, 0.3);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step-card-item:hover .step-number-circle {
  transform: scale(1.15) rotate(5deg);
}

.step-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  font-family: var(--font-family);
}

/* Why Choose Section (Semicircle) */
.why-choose-section {
  background-color: #F9FAFB;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.why-choose-section .section-header-centered {
  text-align: center;
  margin-bottom: 50px;
}

.why-choose-section .section-header-centered .sub-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary-orange);
  display: block;
  margin-bottom: 15px;
}

.why-choose-section .section-header-centered .title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #1E1E1E;
  margin: 0;
}

.why-choose-section .section-header-centered .title .highlight {
  font-weight: 700;
  color: var(--primary-blue);
}

/* Semicircle Wrapper */
.semicircle-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  aspect-ratio: 2 / 1;
}

.arc-line-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.arc-item {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  width: 150px;
}

/* Coordinates along semicircle arc (A=340px, Center=(500px, 480px)) */
.item-1 { left: 16%; top: 96%; }
.item-2 { left: 20.6%; top: 62%; }
.item-3 { left: 33%; top: 35%; }
.item-4 { left: 67%; top: 35%; }
.item-5 { left: 79.4%; top: 62%; }
.item-6 { left: 84%; top: 96%; }

.arc-item .icon-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  margin-bottom: 12px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid #E5E7EB;
}

.arc-item:hover .icon-circle {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.arc-item .icon-circle img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.arc-text-lbl {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1E1E1E;
  line-height: 1.3;
}

/* Central Card */
.center-benefits-card {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  text-align: center;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.center-benefits-card .benefits-title {
  font-size: 1.6rem;
  font-weight: 500;
  color: #1E1E1E;
  margin-bottom: 12px;
  font-family: var(--font-family);
}

.center-benefits-card .logo-box {
  background-color: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  padding: 15px 35px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
}

.center-benefits-card .logo-box img {
  max-height: 48px;
  width: auto;
  display: block;
}

/* Responsive adjustments */
@media (max-width: 1199px) {
  .hero-left-col {
    max-width: 520px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding: 80px 0;
    background-image: linear-gradient(to right, #D4D7DE 45%, rgba(212, 215, 222, 0.95) 60%, rgba(212, 215, 222, 0.6) 80%, rgba(212, 215, 222, 0) 100%), url('../images/hero_section_home_background.jpg');
    background-size: auto 100%;
  }
  .hero-left-col {
    max-width: 460px;
  }
  .process-steps-row {
    gap: 20px;
  }
  .process-line-connectors {
    left: 8%;
    right: 8%;
  }
}

@media (max-width: 768px) {
  .hero-section {
    background-image: none !important;
    background-color: #D4D7DE; /* Matches the photo gray wall perfectly */
    padding: 40px 0 0 0;
  }
  .hero-section .container {
    flex-direction: column;
    align-items: stretch;
    padding: 0; /* Clear margins so image aligns perfectly edge-to-edge */
  }
  .hero-left-col {
    max-width: 100% !important;
    padding: 0 20px 30px 20px;
    text-align: center;
  }
  .hero-left-col h1 {
    font-size: 2.3rem;
  }
  .hero-left-col p {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-wrapper {
    margin-bottom: 40px;
  }
  .hero-stats-row {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    gap: 20px;
  }
  .hero-right-col {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0;
    line-height: 0;
    padding: 0;
    background-color: #D4D7DE;
  }
  .hero-right-col img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0;
    border: none !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .process-line-connectors {
    display: none !important;
  }
  .process-steps-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .step-card-item {
    min-width: 100%;
  }
  
  /* Section 4 Mobile adaptation matching design */
  .semicircle-wrapper {
    aspect-ratio: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    box-sizing: border-box;
  }
  .arc-line-svg {
    display: none !important;
  }
  .arc-item {
    position: static;
    transform: none;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 15px 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
  }
  .arc-item .icon-circle {
    width: 70px;
    height: 70px;
    margin-bottom: 8px;
    border-radius: 50%;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.04);
    border: 1px solid #E5E7EB;
  }
  .arc-item .icon-circle img {
    width: 36px;
    height: 36px;
    object-fit: contain;
  }
  .arc-text-lbl {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1E1E1E;
    line-height: 1.3;
  }
  .center-benefits-card {
    position: static;
    transform: none;
    grid-column: 1 / span 2;
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
  }
  .what-we-do-section {
    padding: 55px 0 !important; /* Overrides inline 100px padding on mobile */
  }
}

/* Page Templates */
.page-header {
  padding: 60px 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 40px;
}

.bg-light {
  background-color: var(--white);
}

/* Auth Pages */
.auth-page-wrapper {
  min-height: calc(100vh - 80px - 250px);
  display: flex;
  align-items: center;
  padding: 60px 0;
}

.auth-container {
  max-width: 500px;
  margin: 0 auto;
  width: 100%;
}

.auth-box {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.auth-box h2 {
  text-align: center;
  margin-bottom: 2rem;
}

/* WP Job Manager Overrides */
.job_listings {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 20px;
}

ul.job_listings li.job_listing {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  transition: all 0.2s ease;
}

ul.job_listings li.job_listing:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background-color: var(--navy-blue); /* Premium Dark Blue background */
  color: #9CA3AF;
  padding: 60px 0 30px;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-widget h3 {
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

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

.footer-widget ul li {
  margin-bottom: 0.75rem;
}

.footer-widget a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-widget a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom a {
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Social link circles */
.social-icon-circle {
  background: var(--white);
  color: var(--navy-blue);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
}

.social-icon-circle:hover {
  transform: translateY(-3px) scale(1.05);
  background-color: var(--primary-orange);
  color: var(--white);
}

.social-icons a[href*="youtube.com"] {
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icons a[href*="youtube.com"]:hover {
  transform: translateY(-3px) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-actions {
    flex-direction: column;
  }
  
  .navbar .nav-links {
    display: none; /* simple mobile menu handling to be done in JS */
  }
  
  .mobile-menu-toggle {
    display: block;
    width: 30px;
    height: 20px;
    position: relative;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white); /* Changed to white so it is visible on the orange header */
    position: absolute;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle span:nth-child(1) { top: 0; }
  .mobile-menu-toggle span:nth-child(2) { top: 9px; }
  .mobile-menu-toggle span:nth-child(3) { top: 18px; }
  
  .navbar .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--primary-orange); /* Changed to orange to contrast nicely with the white text nav links */
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    z-index: 999;
  }
}

/* Section 5: About Us Section */
.about-us-section {
  background-color: #ffffff;
  padding: 100px 0;
  overflow: hidden;
}

.about-us-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.about-text-col {
  flex: 1.1;
  max-width: 620px;
}

.about-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary-orange);
  display: block;
  margin-bottom: 15px;
}

.about-text-col h2 {
  font-size: 2.6rem;
  font-weight: 400;
  color: #1E1E1E;
  line-height: 1.25;
  margin-bottom: 25px;
  font-family: var(--font-family);
}

.about-text-col h2 .highlight-blue {
  font-weight: 700;
  color: var(--primary-blue);
}

.about-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  font-family: var(--font-family);
}

.about-cta-wrapper {
  margin-top: 35px;
}

.btn-about-knowmore {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 6px 6px 6px 20px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  border: 1px solid var(--primary-blue);
}

.btn-about-knowmore:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
}

.about-btn-icon {
  background-color: var(--white);
  color: var(--primary-orange);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(236, 79, 10, 0.2);
  box-sizing: border-box;
}

/* Image Collage */
.about-collage-col {
  flex: 0.9;
  max-width: 500px;
  width: 100%;
}

.about-collage-wrapper {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin-left: auto;
}

.collage-bg-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.collage-logo-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 54%;
  z-index: 3;
  transition: transform 0.3s ease;
}

.collage-logo-card img {
  width: 100%;
  height: auto;
  display: block;
}

.collage-logo-card:hover {
  transform: translateY(-5px);
}

/* Partner Logo Marquee */
.partner-marquee-wrapper {
  margin-top: 80px;
  overflow: hidden;
  width: 100%;
  padding: 40px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  position: relative;
}

.partner-marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 25s linear infinite;
  align-items: center;
  gap: 80px;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-logo-item img {
  max-height: 40px;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: all 0.3s ease;
}

.partner-logo-item img:hover {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Responsive styles for Section 5 */
@media (max-width: 991px) {
  .about-us-content-wrapper {
    gap: 40px;
  }
  .about-text-col h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .about-us-section {
    padding: 60px 0;
  }
  .about-us-content-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .about-text-col {
    max-width: 100%;
  }
  .about-cta-wrapper {
    display: flex;
    justify-content: center;
  }
  .about-collage-col {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .about-collage-wrapper {
    margin: 0 auto;
    max-width: 400px;
  }
  .partner-marquee-wrapper {
    margin-top: 50px;
    padding: 30px 0;
  }
  .partner-marquee-track {
    gap: 50px;
  }
  .partner-logo-item img {
    max-height: 32px;
  }
}

/* Section 6: Testimonials Section */
.testimonials-section {
  background-color: #F8FAFC;
  padding: 100px 0;
  overflow: hidden;
}

.testimonials-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  margin-top: 50px;
}

.testimonials-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  gap: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 800px;
  z-index: 2;
  position: relative;
}

.testimonial-card.side-card {
  position: absolute;
  top: 50%;
  width: 800px;
  opacity: 0.5;
  box-shadow: none;
  z-index: 1;
  pointer-events: none;
  filter: grayscale(40%);
  background-color: rgba(255, 255, 255, 0.7);
}

.testimonial-card.side-card.left-card {
  transform: translate(-30%, -50%) scale(0.85);
  left: 0;
}

.testimonial-card.side-card.right-card {
  transform: translate(30%, -50%) scale(0.85);
  right: 0;
}

.testi-content {
  flex: 1;
}

.testi-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 20px;
}

.testi-quote {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}

.testi-author {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0;
}

.testi-image {
  flex-shrink: 0;
  width: 280px;
  height: 320px;
  border-radius: 20px;
  overflow: hidden;
}

.testi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.slider-nav-container.nav-left {
  left: 0;
}

.slider-nav-container.nav-right {
  right: 0;
}

.slider-nav-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.slider-nav-btn.prev-btn {
  background-color: var(--white);
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
}

.slider-nav-btn.prev-btn:hover {
  background-color: var(--primary-blue);
  color: var(--white);
}

.slider-nav-btn.next-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  border: 1px solid var(--primary-blue);
}

.slider-nav-btn.next-btn:hover {
  background-color: var(--primary-blue-hover);
}

.mobile-slider-nav {
  display: none;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Section 7: Courses Section */
.courses-section {
  background-color: #FFFFFF;
  padding: 100px 0;
  overflow: hidden;
}

.courses-slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 50px;
}

.courses-track {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.course-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.course-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-card.active-course {
  width: 500px;
  height: 350px;
  position: relative;
}

.course-card.side-course {
  position: absolute;
  top: 50%;
  width: 350px;
  height: 250px;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

.course-card.side-course.left-course {
  transform: translate(-50%, -50%);
  left: 10%;
}

.course-card.side-course.right-course {
  transform: translate(50%, -50%);
  right: 10%;
}

.play-btn-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  cursor: pointer;
}

.course-card:hover .play-btn-overlay {
  background-color: rgba(0, 0, 0, 0.1);
}

.play-icon {
  width: 70px;
  height: 50px;
  background-color: var(--primary-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(236, 79, 10, 0.4);
  transition: transform 0.3s ease;
}

.play-btn-overlay:hover .play-icon {
  transform: scale(1.1);
}

/* Section 8: FAQ Section */
.faq-section {
  background-color: #F8FAFC;
  padding: 100px 0;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 40px;
}

.faq-item {
  background-color: #FFF5F0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 25px 30px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #1E1E1E;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #1E1E1E;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item.active .faq-question {
  padding-bottom: 15px;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px 25px 30px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: none;
}

/* Responsive Overrides for New Sections */
@media (max-width: 1199px) {
  .testimonial-card.side-card {
    display: none;
  }
  .course-card.side-course {
    display: none;
  }
}

@media (max-width: 991px) {
  .testi-image {
    width: 200px;
    height: 250px;
  }
  .testimonial-card {
    padding: 30px;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .testimonials-section, .courses-section, .faq-section {
    padding: 60px 0;
  }
  
  .testimonial-card {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .testi-image {
    width: 100%;
    max-width: 280px;
    height: 200px;
    margin: 0 auto;
  }
  
  .slider-nav-container {
    display: none;
  }
  
  .mobile-slider-nav {
    display: flex;
  }
  
  .course-card.active-course {
    width: 100%;
    height: 250px;
  }
  
  .faq-question {
    padding: 20px;
    font-size: 1rem;
  }
  
  .faq-answer {
    padding: 0 20px 20px 20px;
  }
}

/* ==========================================================================
   AUTHENTICATION MODAL STYLES (LOGIN / SIGN UP)
   ========================================================================== */
.cs-auth-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.7); /* Deep Navy transparent overlay */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-auth-modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cs-auth-modal-container {
  display: flex;
  width: 1000px;
  max-width: 90%;
  height: 650px;
  background-color: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-auth-modal-overlay.active .cs-auth-modal-container {
  transform: translateY(0) scale(1);
}

/* Left Side: Image */
.cs-auth-modal-image-side {
  flex: 1.1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

/* Right Side: Form Content */
.cs-auth-modal-form-side {
  flex: 1;
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-y: auto;
}

/* Close Button */
.cs-auth-modal-close {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-radius: 50%;
}

.cs-auth-modal-close:hover {
  color: var(--primary-orange);
  background-color: #F3F4F6;
  transform: rotate(90deg);
}

/* Logo */
.cs-auth-modal-logo-wrapper {
  margin-bottom: 20px;
}

.cs-auth-modal-logo {
  max-height: 44px;
  width: auto;
  display: block;
}

/* Forms */
.cs-auth-form {
  display: flex;
  flex-direction: column;
}

.cs-auth-title {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.25;
  color: #1E1E1E;
  margin-bottom: 8px;
  font-family: var(--font-family);
}

.cs-auth-title .highlight {
  font-weight: 700;
  color: var(--primary-blue);
}

.cs-auth-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 25px;
  font-family: var(--font-family);
}

/* Form Fields */
.cs-form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 18px;
}

.cs-form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1E1E1E;
  margin-bottom: 6px;
}

.cs-form-group input {
  width: 100%;
  border: 1px solid #E5E7EB;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 0.95rem;
  color: #1E1E1E;
  outline: none;
  transition: all 0.3s ease;
  background-color: #ffffff;
}

.cs-form-group input:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 71, 160, 0.1);
}

/* Password Input with Toggle */
.cs-password-input-wrapper {
  position: relative;
  width: 100%;
}

.cs-password-input-wrapper input {
  padding-right: 55px;
}

.cs-password-toggle {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.cs-password-toggle:hover {
  color: var(--primary-blue);
}

/* Forgot Password link */
.cs-form-actions {
  display: flex;
  justify-content: flex-start;
  margin-top: -6px;
  margin-bottom: 20px;
}

.cs-forgot-password-link {
  font-size: 0.85rem;
  color: #1E1E1E;
  font-weight: 500;
  transition: color 0.2s ease;
}

.cs-forgot-password-link:hover {
  color: var(--primary-blue);
}

/* Button & Spinner */
.cs-auth-btn {
  width: 100%;
  padding: 13px;
  background-color: var(--primary-blue);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.cs-auth-btn:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 71, 160, 0.2);
}

.cs-auth-btn:active {
  transform: translateY(0);
}

.cs-auth-btn:disabled {
  background-color: #9CA3AF;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: cs-spin 0.8s linear infinite;
  display: inline-block;
}

@keyframes cs-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Switch Text */
.cs-auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.cs-auth-switch a {
  color: var(--primary-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cs-auth-switch a:hover {
  color: var(--primary-blue-hover);
  text-decoration: underline;
}

/* Feedback Messages */
.cs-auth-feedback {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.85rem;
  margin-bottom: 15px;
  display: none;
  line-height: 1.4;
  font-weight: 500;
}

.cs-auth-feedback.error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FEE2E2;
  display: block;
}

.cs-auth-feedback.success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #D1FAE5;
  display: block;
}

/* ==========================================================================
   AUTHENTICATION MODAL RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 768px) {
  .cs-auth-modal-overlay {
    align-items: stretch;
    justify-content: stretch;
  }

  .cs-auth-modal-container {
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 100%;
    border-radius: 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  }

  .cs-auth-modal-overlay.active .cs-auth-modal-container {
    transform: translateY(0);
  }

  .cs-auth-modal-image-side {
    display: none;
  }

  .cs-auth-modal-form-side {
    flex: 1;
    padding: 60px 24px 30px 24px;
    justify-content: center;
    height: 100%;
  }

  .cs-auth-modal-close {
    top: 20px;
    right: 20px;
    background-color: #F3F4F6;
  }
}

/* ==========================================================================
   JOB LISTINGS PAGE STYLES
   ========================================================================== */

/* Hero Banner */
.jobs-hero-banner {
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0 100px 0;
}

.jobs-hero-content {
  max-width: 680px;
  position: relative;
  z-index: 5;
}

.jobs-hero-title {
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
  color: #1E1E1E;
  margin-bottom: 20px;
  font-family: var(--font-family);
}

.jobs-hero-title .highlight {
  font-weight: 700;
  color: var(--primary-blue);
}

.jobs-hero-subtitle {
  font-size: 1rem;
  line-height: 1.6;
  color: #4B5563;
  margin: 0;
  font-family: var(--font-family);
}

/* Search Bar Wrapper */
.jobs-search-bar-wrapper {
  background-color: var(--white);
  border-radius: 100px;
  padding: 10px 10px 10px 30px;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid #F3F4F6;
}

.search-input-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.search-icon {
  color: #9CA3AF;
  flex-shrink: 0;
}

.search-input-container input {
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: #1E1E1E;
  width: 100%;
  font-family: var(--font-family);
}

.search-input-container input::placeholder {
  color: #9CA3AF;
}

.search-submit-btn {
  background-color: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 100px;
  padding: 14px 45px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-submit-btn:hover {
  background-color: var(--primary-orange-hover);
  box-shadow: 0 4px 12px rgba(236, 79, 10, 0.25);
}

/* Layout Grid */
.jobs-layout-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 40px;
  margin-top: 50px;
  align-items: start;
}

/* Sidebar Column */
.jobs-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Filters Card */
.filter-card {
  background-color: var(--white);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #E5E7EB;
}

.filter-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.filter-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1E1E1E;
  margin: 0;
}

.clear-filters-btn {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-orange);
  text-decoration: none;
  transition: color 0.2s ease;
}

.clear-filters-btn:hover {
  color: var(--primary-orange-hover);
}

.filter-group {
  margin-bottom: 25px;
}

.filter-group:last-child {
  margin-bottom: 0;
}

.filter-group-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 18px;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Custom Checkbox Styling */
.custom-checkbox-label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.custom-checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkbox-box {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-orange);
  border-radius: 50%;
  display: inline-block;
  position: relative;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Checked State */
.custom-checkbox-label input:checked ~ .checkbox-box {
  background-color: var(--primary-orange);
}

.checkbox-box::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-label input:checked ~ .checkbox-box::after {
  display: block;
}

.checkbox-text {
  font-size: 0.95rem;
  color: #4B5563;
  font-weight: 500;
  transition: color 0.2s ease;
}

.custom-checkbox-label:hover .checkbox-text {
  color: #1E1E1E;
}

.filter-divider {
  border: none;
  border-top: 1px solid #E5E7EB;
  margin: 25px 0;
}

/* Stuck in Career Card */
.stuck-career-card {
  background-color: var(--navy-blue);
  color: var(--white);
  border-radius: 20px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(10, 25, 47, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stuck-career-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.stuck-career-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.stuck-career-desc {
  font-size: 0.9rem;
  color: #9CA3AF;
  line-height: 1.5;
  margin-bottom: 25px;
}

.stuck-career-btn {
  background-color: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  display: inline-block;
  transition: all 0.3s ease;
}

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

/* Listings Column */
.jobs-listings-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Results Header */
.jobs-listings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
}

.results-count {
  font-size: 1rem;
  color: #4B5563;
}

.results-count strong {
  color: #1E1E1E;
}

.sort-by-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-by-wrapper label {
  font-size: 0.95rem;
  color: #4B5563;
}

.sort-by-wrapper select {
  border: none;
  background-color: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1E1E1E;
  outline: none;
  cursor: pointer;
  padding-right: 5px;
}

/* Job Cards Grid */
.jobs-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Job Card Item */
.job-card-item {
  background-color: var(--white);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #E5E7EB;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.job-card-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  border-color: #D1D5DB;
}

.job-card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.job-card-logo-box {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #ffffff;
}

.job-card-company-logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
}

.job-card-type-pill {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
}

/* Type Pill Colors */
.job-card-type-pill.full-time {
  background-color: #EEF2FF;
  color: #4F46E5;
}

.job-card-type-pill.contract {
  background-color: #FFF7ED;
  color: #EA580C;
}

.job-card-type-pill.freelance {
  background-color: #ECFDF5;
  color: #059669;
}

.job-card-type-pill.internship {
  background-color: #FDF2F8;
  color: #DB2777;
}

.job-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 5px;
}

.job-card-company {
  font-size: 0.95rem;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 25px;
}

.job-card-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  border-bottom: 1px solid #F3F4F6;
  padding-bottom: 20px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4B5563;
  font-size: 0.95rem;
}

.detail-item svg {
  color: #9CA3AF;
  flex-shrink: 0;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.job-card-date {
  font-size: 0.85rem;
  color: #9CA3AF;
  font-weight: 500;
}

.job-card-apply-btn {
  background-color: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.job-card-apply-btn:hover {
  background-color: var(--primary-orange-hover);
  transform: translateX(3px);
  box-shadow: 0 4px 10px rgba(236, 79, 10, 0.2);
}

.job-card-apply-btn svg {
  transition: transform 0.2s ease;
}

.job-card-apply-btn:hover svg {
  transform: translateX(2px);
}

/* No Jobs Found */
.no-jobs-found-message {
  grid-column: 1 / span 2;
  text-align: center;
  padding: 60px 20px;
  background-color: var(--white);
  border-radius: 20px;
  border: 1px solid #E5E7EB;
}

.no-jobs-found-message h3 {
  font-size: 1.4rem;
  color: #1E1E1E;
  margin-bottom: 10px;
}

.no-jobs-found-message p {
  color: #6B7280;
}

/* Pagination */
.cs-jobs-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
}

.cs-jobs-pagination a,
.cs-jobs-pagination span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: #4B5563;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cs-jobs-pagination a:hover:not(.disabled) {
  background-color: #F3F4F6;
  color: #1E1E1E;
}

.cs-jobs-pagination a.active {
  background-color: var(--primary-orange);
  color: var(--white);
}

.cs-jobs-pagination a.pagination-arrow,
.cs-jobs-pagination a.pagination-num-arrow {
  border: 1px solid #E5E7EB;
  background-color: var(--white);
}

.cs-jobs-pagination a.pagination-arrow.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-dots {
  color: #9CA3AF;
  cursor: default;
}

/* ==========================================================================
   JOB LISTINGS RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1200px) {
  .jobs-layout-grid {
    grid-template-columns: 260px 1fr;
    gap: 30px;
  }
  .jobs-cards-grid {
    gap: 20px;
  }
}

@media (max-width: 991px) {
  .jobs-hero-banner {
    height: auto;
    padding: 60px 0 80px 0;
  }
  .jobs-hero-title {
    font-size: 2.5rem;
  }
  .jobs-layout-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .jobs-sidebar-col {
    order: 2; /* Move filters below listings on tablet/mobile */
  }
  .jobs-listings-col {
    order: 1;
  }
  .filter-card {
    padding: 25px;
  }
}

@media (max-width: 768px) {
  .jobs-hero-title {
    font-size: 2.2rem;
  }
  .jobs-search-bar-wrapper {
    flex-direction: column;
    border-radius: 20px;
    padding: 20px;
    gap: 15px;
  }
  .search-input-container {
    width: 100%;
  }
  .search-submit-btn {
    width: 100%;
    padding: 12px;
  }
  .jobs-cards-grid {
    grid-template-columns: 1fr;
  }
  .job-card-item {
    padding: 24px;
  }
  .no-jobs-found-message {
    grid-column: 1;
  }
}

/* ==========================================================================
   CONTACT US PAGE STYLES
   ========================================================================== */

/* Layout Grid */
.contact-layout-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left Column: Info */
.contact-info-col {
  padding-top: 20px;
}

.contact-info-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 15px;
}

.contact-info-desc {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 500px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-bottom: 50px;
}

.contact-detail-card {
  display: flex;
  align-items: center;
  gap: 20px;
}

.detail-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--primary-orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(236, 79, 10, 0.15);
  transition: transform 0.3s ease;
}

.contact-detail-card:hover .detail-icon-circle {
  transform: scale(1.08);
}

.detail-text-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-label {
  font-size: 0.9rem;
  color: #6B7280;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.detail-value {
  font-size: 1.15rem;
  color: var(--primary-blue);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.2s ease;
}

a.detail-value:hover {
  color: var(--primary-blue-hover);
}

/* Social Section */
.contact-social-section {
  border-top: 1px solid #E5E7EB;
  padding-top: 35px;
}

.social-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 18px;
}

.social-circles-row {
  display: flex;
  gap: 16px;
}

.social-circle-item {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--navy-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.social-circle-item:hover {
  background-color: var(--primary-orange);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 6px 15px rgba(236, 79, 10, 0.25);
}

/* Right Column: Form Card */
.contact-form-card {
  background-color: var(--white);
  border-radius: 28px;
  padding: 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  border: 1px solid #E5E7EB;
}

.form-card-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 30px;
}

/* Form Groups & Inputs (Static Form & CF7) */
.form-group-full,
.wpcf7-form p {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

/* For CF7, remove default margin/padding on paragraphs */
.wpcf7-form p {
  margin: 0 0 24px 0;
}

.form-group-row {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
}

.form-group-half {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.contact-form-card label,
.wpcf7-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 8px;
  display: block;
}

/* Inputs, Textareas, and CF7 Controls */
.contact-form-card input[type="text"],
.contact-form-card input[type="tel"],
.contact-form-card input[type="email"],
.contact-form-card textarea,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  border: 1px solid #D1D5DB;
  border-radius: 30px;
  padding: 14px 24px;
  font-size: 0.95rem;
  color: #1E1E1E;
  outline: none;
  background-color: #ffffff;
  transition: all 0.3s ease;
  width: 100%;
  font-family: var(--font-family);
  box-sizing: border-box;
}

.contact-form-card textarea,
.wpcf7-form textarea {
  border-radius: 20px;
  resize: vertical;
}

.contact-form-card input:focus,
.contact-form-card textarea:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 71, 160, 0.1);
}

/* Submit Buttons (Static Form & CF7) */
.contact-submit-btn,
.wpcf7-form input[type="submit"] {
  width: 100%;
  padding: 15px;
  background-color: var(--primary-orange);
  color: var(--white);
  border: none;
  border-radius: 30px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  text-align: center;
  font-family: var(--font-family);
  box-shadow: none;
}

.contact-submit-btn:hover,
.wpcf7-form input[type="submit"]:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(236, 79, 10, 0.25);
  color: var(--white);
}

.contact-submit-btn:active,
.wpcf7-form input[type="submit"]:active {
  transform: translateY(0);
}

/* Contact Form 7 custom layouts */
.cf7-row,
.cf7-field-row {
  display: flex;
  gap: 20px;
  margin-bottom: 0;
}

.cf7-half,
.cf7-field-half {
  flex: 1;
}

/* CF7 field groups */
.cf7-field-group,
.cf7-full {
  display: block;
  margin-bottom: 0;
}

/* Ensure CF7 spans fill their containers */
.wpcf7-form span.wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* CF7 form wrapper layout */
.contact-form-card .wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* CF7 form labels */
.contact-form-card .wpcf7-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1E1E1E;
  width: 100%;
}

/* CF7 validation not-valid highlighting */
.contact-form-card .wpcf7-form .wpcf7-not-valid {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.wpcf7-not-valid-tip {
  color: #EF4444;
  font-size: 0.8rem;
  margin-top: 4px;
  display: block;
}

/* CF7 loading spinner */
.wpcf7 .ajax-loader {
  display: none;
}

/* CF7 validation/response messages */
.wpcf7-response-output {
  margin: 20px 0 0 0 !important;
  padding: 12px 16px !important;
  border-radius: 12px !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
}

div.wpcf7-validation-errors {
  border: 1px solid #FEE2E2 !important;
  background-color: #FEF2F2 !important;
  color: #991B1B !important;
}

div.wpcf7-mail-sent-ok {
  border: 1px solid #D1FAE5 !important;
  background-color: #ECFDF5 !important;
  color: #065F46 !important;
}

/* ==========================================================================
   CONTACT US RESPONSIVE OVERRIDES
   ========================================================================== */
@media (max-width: 1200px) {
  .contact-layout-grid {
    gap: 40px;
  }
  .contact-form-card {
    padding: 40px 30px;
  }
}

@media (max-width: 991px) {
  .contact-layout-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .contact-info-col {
    order: 2; /* Info goes below form on mobile */
  }
  .contact-form-col {
    order: 1;
  }
  .contact-info-desc {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .contact-info-title {
    font-size: 1.8rem;
  }
  .form-card-title {
    font-size: 1.5rem;
  }
  .form-group-row,
  .cf7-row {
    flex-direction: column;
    gap: 24px;
  }
  .contact-form-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   DYNAMIC WORDPRESS MENUS & HEADER ICONS
   ========================================================================== */

/* Header Logged-In Icons */
.header-logged-in-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--white);
  background-color: rgba(255, 255, 255, 0.15);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
  border: none;
  outline: none;
}

.header-action-icon:hover {
  background-color: var(--white);
  color: var(--primary-orange);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Specific styling to match Figma's orange backgrounds if desired */
.header-action-icon.bell-trigger,
.header-action-icon.profile-trigger {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Header Navigation List (Dynamic Menu) */
.nav-links-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
  align-items: center;
}

.nav-links-list li {
  margin: 0;
  padding: 0;
  position: relative;
}

.nav-links-list li a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-links-list li a:hover {
  opacity: 0.9;
}

.nav-links-list .current-menu-item > a,
.nav-links-list li a.active {
  font-weight: 700;
}

/* Footer Navigation List (Dynamic Menu) */
.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list li a {
  color: #ffffff;
  opacity: 0.8;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links-list li a:hover {
  opacity: 1;
  color: var(--primary-orange);
}


/* ==========================================================================
   PROFILE PAGE STYLES
   ========================================================================== */

.profile-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

.profile-sidebar-col {
  position: sticky;
  top: 110px;
  z-index: 10;
}

.profile-nav-menu {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.profile-nav-tab {
  width: 100%;
  padding: 18px 24px;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid #F3F4F6;
  font-size: 1rem;
  font-weight: 500;
  color: #4B5563;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
  font-family: var(--font-family);
  outline: none;
}

.profile-nav-tab:last-child {
  border-bottom: none;
}

.profile-nav-tab:hover {
  background-color: #F9FAFB;
  color: var(--primary-blue);
}

.profile-nav-tab.active {
  background-color: var(--primary-blue);
  color: var(--white);
  font-weight: 600;
}

.profile-nav-tab svg {
  opacity: 0.7;
}

.profile-nav-tab.active svg {
  opacity: 1;
}

/* Content Panel */
.profile-content-card {
  background-color: var(--white);
  border-radius: 24px;
  padding: 50px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  border: 1px solid var(--border-color);
  min-height: 500px;
}

.profile-tab-panel {
  display: none;
}

.profile-tab-panel.active {
  display: block;
  animation: csFadeIn 0.4s ease;
}

@keyframes csFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-panel-title {
  font-size: 2rem;
  font-weight: 400;
  color: #1E1E1E;
  margin-bottom: 40px;
  font-family: var(--font-family);
  border-bottom: 1px solid #F3F4F6;
  padding-bottom: 20px;
}

/* Form Styling */
.profile-form-row {
  display: flex;
  gap: 30px;
}

.profile-form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
  position: relative;
}

.profile-form-group label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #374151;
}

.profile-form-group input,
.profile-form-group select {
  width: 100%;
  padding: 14px 24px;
  border: 1.5px solid #E5E7EB;
  border-radius: 100px;
  font-size: 1rem;
  color: #1E1E1E;
  background-color: #F9FAFB;
  transition: all 0.25s ease;
  outline: none;
  font-family: var(--font-family);
}

.profile-form-group input:focus,
.profile-form-group select:focus {
  border-color: var(--primary-blue);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(0, 71, 160, 0.1);
}

.profile-form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%234B5563' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 16px;
  padding-right: 45px;
}

.cs-password-input-wrapper {
  position: relative;
  width: 100%;
}

.cs-password-input-wrapper input {
  padding-right: 55px;
}

.cs-password-toggle {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #9CA3AF;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
}

.cs-password-toggle:hover {
  color: #4B5563;
}

.profile-submit-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 15px 35px;
  border-radius: 100px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  font-family: var(--font-family);
  margin-top: 15px;
  position: relative;
}

.profile-submit-btn .btn-text {
  display: flex;
  align-items: center;
  gap: 8px;
}

.profile-submit-btn .btn-text::after {
  content: "↗";
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.profile-submit-btn:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 71, 160, 0.2);
}

.profile-submit-btn:hover .btn-text::after {
  transform: translate(3px, -3px);
}

/* Applied Jobs Placeholder */
.applied-jobs-placeholder {
  text-align: center;
  padding: 80px 20px;
  color: #6B7280;
}

.placeholder-icon {
  margin-bottom: 25px;
  color: #D1D5DB;
}

.applied-jobs-placeholder h3 {
  font-size: 1.6rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 12px;
}

.applied-jobs-placeholder p {
  font-size: 1.05rem;
  margin-bottom: 35px;
  max-width: 450px;
  margin-left: auto;
  margin-right: auto;
}

.profile-browse-jobs-btn {
  display: inline-block;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 14px 35px;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  text-decoration: none;
}

.profile-browse-jobs-btn:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 71, 160, 0.15);
}

/* AJAX Feedback Banners */
.cs-profile-feedback {
  margin-bottom: 30px;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  display: none;
}

.cs-profile-feedback.success {
  display: block;
  background-color: #DEF7EC;
  color: #03543F;
  border: 1px solid #BCF0DA;
}

.cs-profile-feedback.error {
  display: block;
  background-color: #FDE8E8;
  color: #9B1C1C;
  border: 1px solid #FBD5D5;
}


/* ==========================================================================
   LOG OUT CONFIRMATION MODAL
   ========================================================================== */

.cs-logout-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20000;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-logout-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.cs-logout-modal-card {
  background-color: var(--white);
  border-radius: 28px;
  padding: 50px 40px;
  max-width: 460px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: scale(0.9);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid var(--border-color);
}

.cs-logout-modal-overlay.active .cs-logout-modal-card {
  transform: scale(1);
}

.logout-icon-circle {
  width: 88px;
  height: 88px;
  background-color: #FFF2EC;
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px auto;
}

.logout-icon-circle svg {
  transform: translateX(-2px); /* visual centering for exit arrow */
}

.logout-modal-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #1E1E1E;
  margin-bottom: 35px;
  line-height: 1.4;
  font-family: var(--font-family);
}

.logout-modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.logout-confirm-btn {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  flex: 1;
  text-decoration: none;
  transition: all 0.25s ease;
  display: block;
}

.logout-confirm-btn:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 71, 160, 0.2);
}

.logout-cancel-btn {
  background-color: var(--white);
  color: var(--primary-blue);
  border: 1.5px solid var(--primary-blue);
  padding: 15px 30px;
  border-radius: 100px;
  font-weight: 600;
  flex: 1;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  font-family: var(--font-family);
}

.logout-cancel-btn:hover {
  background-color: #F0F4FA;
  transform: translateY(-2px);
}


/* ==========================================================================
   VIDEO LIGHTBOX POPUP
   ========================================================================== */

.cs-video-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cs-video-lightbox.active {
  opacity: 1;
  pointer-events: auto;
}

.cs-video-lightbox-container {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16/9;
  background-color: #000;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
  transform: scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cs-video-lightbox.active .cs-video-lightbox-container {
  transform: scale(1);
}

.cs-video-lightbox-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  outline: none;
}

.cs-video-lightbox-close svg {
  width: 32px;
  height: 32px;
}

.cs-video-lightbox-close:hover {
  transform: scale(1.1);
  color: var(--primary-orange);
}

.cs-video-iframe-wrapper {
  width: 100%;
  height: 100%;
}

.cs-video-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* ==========================================================================
   RESPONSIVE DESIGN FOR PROFILE PAGE
   ========================================================================== */

@media (max-width: 1024px) {
  .profile-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .profile-sidebar-col {
    position: relative;
    top: 0;
  }
  
  .profile-nav-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
  }
  
  .profile-nav-tab {
    width: auto;
    flex: 1;
    min-width: 200px;
    justify-content: center;
    border-bottom: none;
    border-right: 1px solid #F3F4F6;
  }
  
  .profile-nav-tab:last-child {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .profile-content-card {
    padding: 35px 20px;
    border-radius: 20px;
  }
  
  .profile-nav-menu {
    flex-direction: column;
  }
  
  .profile-nav-tab {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #F3F4F6;
    justify-content: space-between;
  }
  
  .profile-form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .profile-form-group {
    margin-bottom: 20px;
  }
  
  .profile-panel-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
  }
  
  .cs-video-lightbox-close {
    top: 15px;
    right: 15px;
    background-color: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
  }
  
  .cs-video-lightbox-close svg {
    width: 20px;
    height: 20px;
  }
}

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

/* About Hero Banner */
.about-hero-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 380px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 60px 0;
}

.about-hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.96) 25%, rgba(255, 255, 255, 0.85) 50%, rgba(255, 255, 255, 0.15) 85%);
  z-index: 1;
}

.about-hero-content {
  max-width: 700px;
  position: relative;
  z-index: 5;
}

.about-hero-title {
  font-size: 3.5rem;
  font-weight: 400;
  line-height: 1.25;
  color: #1E1E1E;
  margin: 0;
  font-family: var(--font-family);
}

.about-hero-title span {
  font-weight: 700;
  color: var(--primary-blue);
}

/* Our Story Section */
.about-story-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-story-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.about-story-image-col {
  flex: 0.9;
  max-width: 500px;
  width: 100%;
}

.about-story-image-col img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.about-story-text-col {
  flex: 1.1;
  max-width: 620px;
}

.about-story-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--primary-orange);
  display: block;
  margin-bottom: 15px;
}

.about-story-text-col h2 {
  font-size: 2.8rem;
  font-weight: 400;
  color: #1E1E1E;
  line-height: 1.25;
  margin-bottom: 25px;
  font-family: var(--font-family);
}

.about-story-text-col h2 span {
  font-weight: 700;
  color: var(--primary-blue);
}

.about-story-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 20px;
  font-family: var(--font-family);
}

/* Mission & Vision Section */
.about-mission-vision-section {
  padding: 100px 0;
  background-color: #F9FAFB;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.mission-vision-card {
  background-color: #ffffff;
  border-radius: 20px;
  padding: 50px 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid #F3F4F6;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.mission-vision-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.mv-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.mv-icon-box.mission-icon {
  background-color: #FDF2EC;
  color: var(--primary-orange);
}

.mv-icon-box.vision-icon {
  background-color: #EDF2FE;
  color: var(--primary-blue);
}

.mv-icon-box svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.2;
}

.mission-vision-card h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 18px;
  font-family: var(--font-family);
}

.mission-vision-card p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
  font-family: var(--font-family);
}

/* Concentric Circles Advantages Section */
.about-advantage-section {
  padding: 100px 0;
  background-color: #ffffff;
}

.about-advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}

/* Concentric graphic wrapper */
.concentric-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
}

.concentric-circle {
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.concentric-circle.inner {
  width: 48%;
  height: 48%;
  border: 1.5px dashed #D1D5DB;
  z-index: 1;
}

.concentric-circle.outer {
  width: 74%;
  height: 74%;
  border: 1.5px dashed var(--primary-orange);
  z-index: 1;
}

.concentric-center-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  border: 1px solid #E5E7EB;
  border-radius: 18px;
  padding: 20px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  z-index: 4;
}

.concentric-center-logo img {
  max-height: 40px;
  width: auto;
  display: block;
}

.concentric-badge-item {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transform: translate(-50%, -50%);
  width: 100px;
}

.concentric-badge-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
  border: 1px solid #E5E7EB;
}

.concentric-badge-item:hover .concentric-badge-circle {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.concentric-badge-circle img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.concentric-badge-lbl {
  font-size: 0.75rem;
  font-weight: 600;
  color: #4B5563;
  line-height: 1.3;
}

/* Symmetrical positions */
.badge-1 { left: 87%; top: 50%; }
.badge-2 { left: 68.5%; top: 18%; }
.badge-3 { left: 31.5%; top: 18%; }
.badge-4 { left: 13%; top: 50%; }
.badge-5 { left: 31.5%; top: 82%; }
.badge-6 { left: 68.5%; top: 82%; }

/* Advantage Content Col */
.advantage-content-col {
  max-width: 620px;
}

.advantage-content-col h2 {
  font-size: 2.8rem;
  font-weight: 400;
  color: #1E1E1E;
  line-height: 1.25;
  margin-bottom: 25px;
  font-family: var(--font-family);
}

.advantage-content-col h2 span {
  font-weight: 700;
  color: var(--primary-blue);
}

.advantage-content-col p.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

.advantage-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.advantage-feature-card {
  background-color: #F8FAFC;
  border-radius: 16px;
  padding: 30px;
  border: 1px solid #F1F5F9;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(236, 79, 10, 0.15);
}

.advantage-feature-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1E1E1E;
  margin-bottom: 10px;
  font-family: var(--font-family);
}

.advantage-feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

/* About CTA Section */
.about-cta-section {
  padding: 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  color: #ffffff;
}

.about-cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(17, 24, 39, 0.92) 40%, rgba(17, 24, 39, 0.75) 100%);
  z-index: 1;
}

.about-cta-section .container {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.about-cta-content {
  max-width: 700px;
}

.about-cta-content h2 {
  font-size: 2.6rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 15px;
  font-family: var(--font-family);
}

.about-cta-content p {
  font-size: 1.1rem;
  color: #D1D5DB;
  line-height: 1.6;
  margin: 0;
}

.about-cta-btn-wrapper {
  white-space: nowrap;
}

.btn-about-cta {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--primary-blue);
  box-shadow: 0 4px 15px rgba(26, 86, 219, 0.3);
}

.btn-about-cta:hover {
  background-color: var(--primary-blue-hover);
  border-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 86, 219, 0.4);
}

.btn-about-cta .cta-btn-icon {
  background-color: var(--white);
  color: var(--primary-orange);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   About Us Page Responsive Adaptation
   ========================================================================== */

@media (max-width: 1199px) {
  .about-story-wrapper {
    gap: 50px;
  }
  .about-advantage-grid {
    gap: 50px;
  }
}

@media (max-width: 991px) {
  .about-hero-title {
    font-size: 3rem;
  }
  .about-story-text-col h2, 
  .advantage-content-col h2 {
    font-size: 2.3rem;
  }
  .about-story-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    gap: 40px;
  }
  .about-story-image-col {
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .about-story-text-col {
    max-width: 100%;
  }
  .about-story-text-col .hero-stats-row {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }
  .about-advantage-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
  .concentric-wrapper {
    max-width: 420px;
  }
  .concentric-badge-circle {
    width: 64px;
    height: 64px;
  }
  .concentric-badge-circle img {
    width: 28px;
    height: 28px;
  }
  .concentric-badge-lbl {
    font-size: 0.7rem;
  }
  .concentric-center-logo {
    padding: 15px 20px;
  }
  .concentric-center-logo img {
    max-height: 30px;
  }
  .advantage-content-col {
    max-width: 100%;
    text-align: center;
  }
  .advantage-features-grid {
    text-align: left;
  }
  .about-cta-section .container {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .about-hero-banner {
    height: 280px;
    text-align: center;
    justify-content: center;
    padding: 40px 0;
  }
  .about-hero-banner::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
  }
  .about-hero-title {
    font-size: 2.4rem;
  }
  .about-story-section, 
  .about-mission-vision-section, 
  .about-advantage-section {
    padding: 60px 0;
  }
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .mission-vision-card {
    padding: 35px 25px;
    align-items: center;
    text-align: center;
  }
  .mv-icon-box {
    margin-bottom: 20px;
  }
  .concentric-wrapper {
    display: none !important; /* Hide concentric wrapper on mobile, show simplified list instead if desired, or keep hidden */
  }
  .advantage-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .about-cta-content h2 {
    font-size: 2rem;
  }
}
