/* Custom CSS  */
body {
  font-family: 'Work Sans', sans-serif;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-headline {
  font-family: 'Hanken Grotesk', sans-serif;
}

/* Custom color overrides to match the design system */
:root {
  --primary: #0057c1;
  --primary-dark: #004398;
  --secondary: #fbbc37;
  --secondary-dark: #7c5800;
  --surface: #fbf9f8;
  --surface-container: #f0eded;
  --on-surface: #1b1c1c;
  --on-surface-variant: #424754;
  --outline-variant: #c2c6d6;
}

/* ========== RESPONSIVE LOGO STYLES ========== */
/* Desktop logo size (larger) */
.header-logo-img {
    height: 52px;
    width: auto;
    max-height: 52px;
    transition: all 0.3s ease;
}

.footer-logo-img {
    height: auto;
    width: auto;
    max-height: 52px;
    transition: all 0.3s ease;
}

/* Tablet and desktop large: make logo bigger */
@media (min-width: 1024px) {
    .header-logo-img {
        max-height: 65px;
    }
    .footer-logo-img {
        max-height: 65px;
    }
}

/* Extra large screens (desktop HD+) */
@media (min-width: 1280px) {
    .header-logo-img {
        max-height: 75px;
    }
    .footer-logo-img {
        max-height: 75px;
    }
}

/* Mobile screens: slightly smaller */
@media (max-width: 640px) {
    .header-logo-img {
        max-height: 38px;
    }
    .footer-logo-img {
        max-height: 48px;
    }
}

/* Ensure images maintain aspect ratio and don't distort */
.header-logo-img,
.footer-logo-img {
    object-fit: contain;
    display: block;
}
/* ========== END RESPONSIVE LOGO STYLES ========== */

/* Language toggle (replaces dropdown) */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: 9999px;
  background: #f0eded;
  border: 1px solid #c2c6d6;
  gap: 2px;
}

.lang-toggle-btn {
  border: none;
  background: transparent;
  color: #424754;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.45rem 0.65rem;
  border-radius: 9999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.lang-toggle-btn:hover {
  color: #0057c1;
}

.lang-toggle-btn.is-active {
  background: #0057c1;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0, 87, 193, 0.35);
}

.lang-toggle--mobile {
  width: 100%;
  justify-content: stretch;
}

.lang-toggle--mobile .lang-toggle-btn {
  flex: 1;
  text-align: center;
}

/* Custom animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from {
      opacity: 0;
      transform: translateX(-30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
      opacity: 0;
      transform: translateX(30px);
  }
  to {
      opacity: 1;
      transform: translateX(0);
  }
}

/* Bouncing animation */
@keyframes bounce {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-20px);
  }
}

@keyframes bounceSlow {
  0%, 100% {
      transform: translateY(0);
  }
  50% {
      transform: translateY(-15px);
  }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { opacity: 1; transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes bounceInLeft {
  0% {
      opacity: 0;
      transform: translateX(-2000px);
  }
  60% {
      opacity: 1;
      transform: translateX(30px);
  }
  80% {
      transform: translateX(-10px);
  }
  100% {
      transform: translateX(0);
  }
}

@keyframes bounceInRight {
  0% {
      opacity: 0;
      transform: translateX(2000px);
  }
  60% {
      opacity: 1;
      transform: translateX(-30px);
  }
  80% {
      transform: translateX(10px);
  }
  100% {
      transform: translateX(0);
  }
}

/* Fallback for missing CSS classes */
.transition-all { transition: all 0.3s ease; }
.animate-bounceInLeft, .animate-bounceInRight, .animate-bounceIn, .animate-fadeInUp, .animate-fadeInLeft, .animate-fadeInRight, .animate-bounceInUp { 
    animation-fill-mode: both;
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.9); }
    60% { opacity: 1; transform: scale(1.02); }
    100% { transform: scale(1); }
}
.animate-fadeInUp { animation: fadeInUp 0.7s ease-out forwards; }
.animate-bounceIn { animation: bounceIn 0.6s ease-out forwards; }

/* Toast notification styles */
#toast-message {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1b1c1c;
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    z-index: 9999;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(4px);
    background: rgba(0,87,193,0.95);
    border: 1px solid rgba(255,255,255,0.2);
}
#toast-message.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}
.toast-icon {
    font-size: 1.3rem;
}
.form-submitting {
    opacity: 0.7;
    pointer-events: none;
}
button:disabled {
    cursor: not-allowed;
}
/* Animation classes */
.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out forwards;
}

.animate-bounce {
  animation: bounce 2s ease-in-out infinite;
}

.animate-bounce-slow {
  animation: bounceSlow 3s ease-in-out infinite;
}

.animate-bounceIn {
  animation: bounceIn 1s ease-out forwards;
}

.animate-bounceInLeft {
  animation: bounceInLeft 1s ease-out forwards;
}

.animate-bounceInRight {
  animation: bounceInRight 1s ease-out forwards;
}

.animate-bounceInUp {
  animation: bounceInUp 1s ease-out forwards;
}

@keyframes bounceInUp {
  0% {
      opacity: 0;
      transform: translateY(500px);
  }
  60% {
      opacity: 1;
      transform: translateY(-30px);
  }
  80% {
      transform: translateY(10px);
  }
  100% {
      transform: translateY(0);
  }
}

/* Hover bounce effect with secondary-dark color */
.hover-bounce {
  transition: all 0.3s ease;
}

.hover-bounce:hover {
  animation: bounce 0.5s ease-in-out;
  color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
color: white;
}

/* Specific hover styles using secondary-dark */
.btn-hover:hover {
  background-color: var(--secondary-dark) !important;
  transition: all 0.3s ease;
color: white;
}

.link-hover:hover {
  color: var(--secondary-dark) !important;
  transition: all 0.3s ease;
color: white;
}

.card-hover:hover {
  border-color: var(--secondary-dark) !important;
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.icon-hover:hover {
  background-color: var(--secondary-dark) !important;
  transform: scale(1.1);
}

/* Glass morphism effect */
.glass-card {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 87, 193, 0.1);
}

/* Parallax background */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* FAQ Styles */
.faq-question {
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(124, 88, 0, 0.05);
  color: var(--secondary-dark);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
  color: var(--secondary-dark);
}

/* Testimonial Carousel Styles */
.testimonial-carousel {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
  gap: 24px;
}

.testimonial-card {
  flex: 0 0 calc(25% - 18px);
  background: white;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #e5e7eb;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  border-color: var(--secondary-dark);
}

.testimonial-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 16px;
  border: 3px solid var(--primary);
}

.testimonial-stars {
  color: #fbbc37;
  margin-bottom: 12px;
}

.testimonial-text {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-name {
  font-weight: bold;
  color: var(--primary);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 13px;
  color: #6b7280;
}

.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 100;
  border: none;
opacity: 0.6;
}

.carousel-button:hover {
  background: var(--secondary-dark);
  transform: translateY(-50%) scale(1.1);
}

.carousel-button-prev {
  left: -1px;
}

.carousel-button-next {
  right: -1px;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

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

.carousel-dot.active {
  background: var(--primary);
  width: 30px;
  border-radius: 5px;
}

@media (max-width: 1024px) {
  .testimonial-card {
      flex: 0 0 calc(33.33% - 16px);
  }
}

@media (max-width: 768px) {
  .testimonial-card {
      flex: 0 0 calc(50% - 12px);
  }
  .carousel-button-prev {
      left: -10px;
  }
  .carousel-button-next {
      right: -10px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
      flex: 0 0 100%;
  }
}

/* Progress bars */
.progress-bar {
  transition: width 1s ease-in-out;
}

/* Mobile menu overlay */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 40;
  display: none;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Map container */
.map-container iframe {
  max-width: auto;
  margin-bottom: -25x;
  height: 400px;
  border-radius: 20px;
}

/* Stat counter animation */
.stat-number {
  transition: all 0.3s ease;
}

/* Hover lift effect with secondary-dark */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
  border-color: var(--secondary-dark) !important;
color: white;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

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

.back-to-top:hover {
  background: var(--secondary-dark) !important;
  transform: translateY(-3px);
}

/* Section background overlays */
.bg-overlay {
  position: relative;
  z-index: 1;
}

.bg-overlay::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: -1;
}

/* Floating animation */
@keyframes float {
  0%, 100% {
      transform: translateY(0px);
  }
  50% {
      transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Pulsing animation */
@keyframes pulse {
  0%, 100% {
      opacity: 1;
  }
  50% {
      opacity: 0.7;
  }
}

.pulse-animation {
  animation: pulse 2s ease-in-out infinite;
}

/* Navigation link hover */
.nav-link-hover {
  transition: color 0.3s ease;
}

.nav-link-hover:hover {
  color: var(--primary) !important;
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
    border-radius: 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid #e4e2e1;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 12px 20px;
    color: #1b1c1c;
    text-decoration: none;
    transition: all 0.2s;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #f0eded;
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background-color: #f5f7ff;
    color: #0057c1;
    padding-left: 24px;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.2s;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

/* Mobile Dropdown (for mobile menu) */
.mobile-dropdown {
    position: relative;
}

.mobile-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 20px;
}

.mobile-dropdown-menu.active {
    max-height: 300px;
}

.mobile-dropdown-menu a {
    display: block;
    padding: 10px 0;
    color: #424754;
    font-size: 14px;
    text-decoration: none;
}

.mobile-dropdown-menu a:hover {
    color: #0057c1;
}

/* Button hover effects */
.button-primary-hover:hover {
  background-color: var(--secondary-dark) !important;
  transform: translateY(-2px);
color: white;
}

.button-outline-hover:hover {
  border-color: var(--secondary-dark) !important;
  color: var(--secondary-dark) !important;
color: white;
}

/* Form input focus */
.form-input:focus {
  outline: none;
  border-color: var(--secondary-dark) !important;
  ring: 2px solid rgba(124, 88, 0, 0.2);
}

/* Social icon hover */
.social-icon-hover:hover {
  background-color: var(--secondary-dark) !important;
  transform: scale(1.1);
color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .back-to-top {
      bottom: 20px;
      right: 20px;
      width: 40px;
      height: 40px;
  }
  
  .map-container iframe {
      height: 300px;
      max-width: auto;
  }
  
  .parallax-bg {
      background-attachment: scroll;
  }
}
/* Support card styles */
.support-card {
    border-radius: 20px;
    padding: 24px 28px;
    margin: 1.5em 0;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.support-card:hover {
    transform: translateY(-3px);
}

/* Section styling */
.section-content {
    padding: 60px 0;
}

/* Page banner matching main page */
.page-banner {
  opacity: 0.6;
    padding: 80px 0 85px;
    position: relative;
    background: linear-gradient(135deg, #0057c1 0%, #004398 100%);
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #ffffff;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
}

/* Legal inner content */
.legal-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.legal-inner p {
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 20px;
}

.legal-inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 40px;
    margin-bottom: 20px;
}

.legal-inner h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--on-surface);
    margin-top: 25px;
    margin-bottom: 12px;
}

.legal-inner ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.legal-inner ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--on-surface-variant);
}

.legal-inner ul li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
    top: 10px;
}

.legal-inner ul li a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-inner ul li a:hover {
    color: var(--secondary-dark);
}

.legal-inner a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-inner a:hover {
    color: var(--secondary-dark);
}

/* Legal footer links */
.legal-footer-links {
    text-align: center;
    padding: 32px 20px;
    border-top: 1px solid rgba(0, 87, 193, 0.15);
    margin-top: 40px;
}

.legal-footer-links a {
    margin: 0 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.legal-footer-links a:hover {
    color: var(--secondary-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .support-card {
        padding: 18px 20px;
    }
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .legal-inner h2 {
        font-size: 24px;
    }
    
    .legal-footer-links a {
        margin: 0 8px;
        font-size: 12px;
    }
    .top-button{
      display: none;
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    display: none;
}

/* Page banner with background image and opacity */
.page-banner {
    padding: 100px 0 105px;
    position: relative;
    background-image: url('../images/job_1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 87, 193, 0.66) 0%, rgba(0, 67, 152, 0.72) 100%);
    z-index: 1;
}

.page-banner .container {
    position: relative;
    z-index: 2;
}

.page-banner h1 {
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    text-align: center;
    letter-spacing: -0.02em;
}

.page-banner p {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

/* Legal inner content */
.legal-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 24px;
}

.legal-inner p {
    color: var(--on-surface-variant);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 16px;
}

.legal-inner h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-top: 48px;
    margin-bottom: 20px;
}

.legal-inner h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--on-surface);
    margin-top: 28px;
    margin-bottom: 12px;
}

.legal-inner ul {
    list-style: none;
    padding-left: 0;
    margin: 20px 0;
}

.legal-inner ul li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--on-surface-variant);
    line-height: 1.6;
}

.legal-inner ul li:before {
    content: '\f054';
    font-family: 'Font Awesome 6 Free';
    font-weight: 600;
    position: absolute;
    left: 0;
    color: var(--primary);
    font-size: 12px;
    top: 10px;
}

.legal-inner ul li a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-inner ul li a:hover {
    color: var(--secondary-dark);
}

.legal-inner a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

.legal-inner a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

/* Meta note card */
.meta-note {
    background: white;
    border-radius: 20px;
    padding: 24px 28px;
    margin: 20px 0 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.meta-note:hover {
    border-color: var(--secondary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.meta-note strong {
    color: var(--primary);
}

  /* Legal footer links */
.legal-footer-links {
    text-align: center;
    padding: 32px 20px;
    border-top: 1px solid rgba(0, 87, 193, 0.15);
    margin-top: 48px;
}

.legal-footer-links a {
    margin: 0 12px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
    text-decoration: none;
}

.legal-footer-links a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}


/* Responsive */
@media (max-width: 768px) {
    
    .page-banner h1 {
        font-size: 32px;
    }
    
    .page-banner {
        padding: 70px 0 75px;
    }
    
    .legal-inner h2 {
        font-size: 24px;
    }
    
    .legal-inner {
        padding: 30px 20px;
    }
    
    .meta-note {
        padding: 18px 20px;
    }
    
    .legal-footer-links a {
        margin: 0 8px;
        font-size: 12px;
    }
    .top-button{
      display: none;
    }
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 40;
    display: none;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Card style for sections */
.legal-section-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin: 20px 0;
    border: 1px solid #e5e7eb;
}

  
/* Disclaimer note for terms page */
.disclaimer-note {
    background: #fef3c7;
    border-left: 4px solid var(--secondary-dark);
    padding: 16px 20px;
    border-radius: 12px;
    margin: 24px 0;
    font-size: 14px;
    color: #92400e;
}

.disclaimer-note i {
    margin-right: 8px;
    color: var(--secondary-dark);
}

/* Form card */
.legal-choice-box {
    background: white;
    border-radius: 24px;
    padding: 28px 32px;
    margin: 24px 0;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.legal-choice-box:hover {
    border-color: var(--secondary-dark);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.privacy-form label {
    display: block;
    margin-top: 18px;
    font-weight: 600;
    color: var(--on-surface);
    font-size: 14px;
}

.privacy-form input[type="text"],
.privacy-form input[type="email"],
.privacy-form textarea,
.privacy-form select {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    background: #f9fafb;
    color: var(--on-surface);
    transition: all 0.3s ease;
    font-family: 'Work Sans', sans-serif;
}

.privacy-form input:focus,
.privacy-form textarea:focus,
.privacy-form select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 87, 193, 0.1);
    background: white;
}

.privacy-form textarea {
    min-height: 100px;
    resize: vertical;
}

.privacy-form .radio-row {
    margin-top: 8px;
    margin-bottom: 16px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.privacy-form .radio-row label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    margin-top: 0;
    cursor: pointer;
}

.privacy-form .radio-row input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.privacy-form .btn-submit {
    margin-top: 24px;
    padding: 12px 28px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.privacy-form .btn-submit:hover {
    background: var(--secondary-dark);
    transform: translateY(-2px);
}

.privacy-form-note {
    font-size: 12px;
    color: var(--on-surface-variant);
    margin-top: 12px;
    padding: 8px 0;
}

/* Status message */
#privacy-form-status {
    margin-top: 20px;
    padding: 14px 18px;
    border-radius: 12px;
    display: none;
    font-size: 14px;
}

#privacy-form-status.show {
    display: block;
    background: #e8f0fe;
    border-left: 4px solid var(--primary);
    color: var(--primary-dark);
}

  /* Required field indicator */
.required-field::after {
    content: '*';
    color: #dc2626;
    margin-left: 4px;
}

.contact-form-bg-card {
    position: relative;
    background-image: url('../images/bg_2.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 1.5rem;
    overflow: hidden;
}
.contact-form-bg-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 87, 193, 0.85); /* Same overlay style as stats section */
    z-index: 0;
}
.contact-form-content {
    position: relative;
    z-index: 2;
}
.form-input-bg {
    transition: all 0.2s;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}
.form-input-bg:focus {
    background-color: rgba(255, 255, 255, 0.25);
    border-color: #fbbc37;
    outline: none;
    box-shadow: 0 0 0 3px rgba(251, 188, 55, 0.3);
}
.form-input-bg::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Trial CTA banner (pricing section) */
.trial-cta-banner {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.trial-cta-banner:hover {
    transform: translateY(-2px);
}
.trial-cta-banner .grid {
    min-height: 0;
}
@media (min-width: 1024px) {
    .trial-cta-banner .grid {
        min-height: 240px;
    }
    .trial-cta-banner__content {
        margin-left: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
    }
}

/* Download CTA banner (marketing page) — full-width split layout */
.download-cta-banner .grid {
    min-height: 0;
}
@media (min-width: 1024px) {
    .download-cta-banner .grid {
        min-height: 400px;
    }
    .download-cta-banner__content {
        margin-left: max(1.5rem, calc((100vw - 1200px) / 2 + 1.5rem));
    }
}
.download-cta-store-badges .store-badge {
    display: inline-block;
    line-height: 0;
    flex-shrink: 0;
}
.download-cta-banner__content .download-cta-store-badge {
    display: block;
    width: 168px;
    height: 50px;
    object-fit: contain;
    object-position: center;
}

/* Phone-in-hands mockup (marketing download CTA) */
.download-cta-visual {
    background: linear-gradient(135deg, #e8eef8 0%, #f0eded 45%, #dce6f7 100%);
    min-width: 0;
}
.download-cta-visual .download-phone-scene {
    flex-shrink: 0;
    width: min(100%, 280px);
}
.download-phone-scene {
    position: relative;
    margin: 0 auto;
}
.download-phone-hands {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.download-phone {
    position: relative;
    width: 100%;
    transform: rotate(-3deg);
    z-index: 2;
    filter: drop-shadow(0 18px 32px rgba(0, 40, 100, 0.22));
}
.download-phone__bezel {
    position: relative;
    background: linear-gradient(145deg, #2a2d35 0%, #12141a 100%);
    border-radius: 22px;
    padding: 7px;
    border: 2px solid #3d424d;
}
.download-phone__notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 28%;
    height: 10px;
    background: #0e1014;
    border-radius: 0 0 8px 8px;
    z-index: 3;
}
.download-phone__screen {
    background: #fbf9f8;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 9 / 19.5;
    container-type: inline-size;
}
.jobsoko-app {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: "Work Sans", system-ui, sans-serif;
    font-size: 9px;
    font-size: 5.2cqi;
    line-height: 1.3;
}
.jobsoko-app__status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.9em 1.4em 0.35em;
    font-size: 0.95em;
    font-weight: 600;
    color: #1b1c1c;
}
.jobsoko-app__status-icons {
    display: flex;
    gap: 0.45em;
    font-size: 0.85em;
    color: #424754;
}
.jobsoko-app__header {
    display: flex;
    align-items: center;
    gap: 0.7em;
    padding: 0.65em 1.2em 0.9em;
    background: linear-gradient(135deg, #0057c1 0%, #206fe8 100%);
    color: #fff;
}
.jobsoko-app__header img {
    width: 4.2em;
    height: 4.2em;
    border-radius: 0.9em;
    flex-shrink: 0;
}
.jobsoko-app__brand {
    font-family: "Hanken Grotesk", system-ui, sans-serif;
    font-weight: 800;
    font-size: 1.25em;
    line-height: 1.1;
}
.jobsoko-app__tagline {
    font-size: 0.82em;
    opacity: 0.9;
}
.jobsoko-app__search {
    display: flex;
    align-items: center;
    gap: 0.55em;
    margin: 1em 1.2em 0.65em;
    padding: 0.65em 0.9em;
    background: #fff;
    border: 1px solid #c2c6d6;
    border-radius: 1.2em;
    color: #727785;
    font-size: 0.9em;
}
.jobsoko-app__search i {
    font-size: 0.9em;
    color: #0057c1;
}
.jobsoko-app__chips {
    display: flex;
    gap: 0.45em;
    padding: 0 1.2em 0.65em;
    overflow: hidden;
}
.jobsoko-app__chip {
    padding: 0.35em 0.75em;
    border-radius: 999px;
    background: #e4e2e1;
    color: #424754;
    font-size: 0.82em;
    font-weight: 600;
    white-space: nowrap;
}
.jobsoko-app__chip--active {
    background: #0057c1;
    color: #fff;
}
.jobsoko-app__jobs {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55em;
    padding: 0.35em 1.2em 0.65em;
    overflow: hidden;
}
.jobsoko-app__job {
    display: flex;
    align-items: center;
    gap: 0.7em;
    padding: 0.65em 0.75em;
    background: #fff;
    border: 1px solid #e4e2e1;
    border-radius: 1em;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.jobsoko-app__job-icon {
    width: 2.2em;
    height: 2.2em;
    border-radius: 0.75em;
    background: #d9e2ff;
    color: #0057c1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95em;
}
.jobsoko-app__job-icon--gold {
    background: #ffdea7;
    color: #7c5800;
}
.jobsoko-app__job-title {
    font-weight: 700;
    font-size: 1em;
    color: #1b1c1c;
}
.jobsoko-app__job-meta {
    font-size: 0.82em;
    color: #727785;
}
.jobsoko-app__job-badge {
    margin-left: auto;
    padding: 0.2em 0.6em;
    border-radius: 0.5em;
    background: #1b7d3a;
    color: #fff;
    font-size: 0.72em;
    font-weight: 700;
    flex-shrink: 0;
}
.jobsoko-app__nav {
    display: flex;
    justify-content: space-around;
    padding: 0.65em 0.35em 0.8em;
    background: #fff;
    border-top: 1px solid #e4e2e1;
    font-size: 0.75em;
    color: #727785;
}
.jobsoko-app__nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2em;
}
.jobsoko-app__nav-item i {
    font-size: 1.1em;
}
.jobsoko-app__nav-item--active {
    color: #0057c1;
    font-weight: 700;
}
@media (min-width: 1024px) {
    .download-cta-visual .download-phone-scene {
        width: min(100%, 320px);
    }
}

/* Hero phone mockup (home page) */
.hero-phone-visual {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    min-height: 340px;
}
.hero-phone-visual .hero-phone-scene__bg {
    fill: rgba(255, 255, 255, 0.06);
}
@media (min-width: 1024px) {
    .hero-phone-visual {
        max-width: 460px;
        min-height: 400px;
    }
    .hero-phone-visual.download-phone-scene {
        width: 100%;
    }
}

/* ========== GLOBAL PARAGRAPH FONT SIZE ========== */
body p {
    font-size: 16px !important;
    line-height: 1.5 !important;
}

footer p,
.dl-footer p {
    font-size: 16px !important;
    line-height: 1.55 !important;
}

.jobsoko-app p {
    font-size: unset !important;
    line-height: unset !important;
}
