header, .site-header { position: static !important; }

:root {
  /* Crisp Professional "LinkedIn/Naukri" Style */
  --color-primary: #0a66c2;        /* Classic Trust Blue / Action Color */
  --color-primary-hover: #004182;  /* Darker interactive state */
  --color-secondary: #057642;      /* Green Accent for Success/Verifications */
  --color-bg-light: #f3f2ef;       /* Premium Light Gray */
  
  --color-trust-blue: var(--color-primary); 
  --color-trust-blue-light: var(--color-primary-hover);
  --color-vibrant-teal: #00d1ff; /* Brighter, vibrant cyan */
  --color-teal-dark: #0095bd;
  
  --color-shadow-teal: rgba(0, 209, 255, 0.25);
  
  --color-text-dark: rgba(0, 0, 0, 0.9);
  --color-text-muted: rgba(0, 0, 0, 0.6);
  --color-white: #FFFFFF;
  --color-border: #e6e9ec;
  
  --font-primary: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif;
  
  --transition-smooth: all 0.2s ease-in-out;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 24px rgba(0,0,0,0.08);
  
  --radius-sm: 4px;
  --radius-md: 8px; 
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Blog Specific Tokens */
  --blog-card-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.1);
  --comment-bg: #f8fafc;
}

/* Career Blog Global Styles */
.filter-pill {
    padding: 0.6rem 1.5rem;
    border-radius: 30px;
    background: #FFFFFF;
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
}

.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid var(--color-border);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--blog-card-shadow);
}

.mentorship-thread {
    border-left: 3px solid var(--color-trust-blue);
    padding-left: 2rem;
    margin-left: 1rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}
::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 10px;
  border: 2px solid var(--color-bg-light);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary-hover);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 3rem)); }
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

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

html, body {
  font-family: var(--font-primary);
  color: var(--color-text-dark);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.75rem; /* Make it nearly full screen on mobile */
  }
}

.text-center { text-align: center; }
.text-trust-blue { color: var(--color-trust-blue); }
.text-teal { color: var(--color-vibrant-teal); }

/* Global Mobile Stacking Utility */
@media (max-width: 600px) {
  .flex-mobile-stack {
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .flex-mobile-stack > * {
    width: 100% !important;
    min-width: 0 !important;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.5rem; /* slightly tighter padding */
  border-radius: 24px; /* Pill-shaped like LinkedIn */
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 0 #004182, 0 8px 15px rgba(0,0,0,0.1); /* 3D depth */
  border-bottom: none;
  position: relative;
  transition: all 0.1s ease;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 0 #004182, 0 12px 24px rgba(0,0,0,0.2);
  filter: brightness(1.05);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #004182, 0 2px 5px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
  background-color: #046036;
}

.btn-outline {
  background-color: var(--color-white);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  box-shadow: 0 3px 0 var(--color-border), 0 5px 10px rgba(0,0,0,0.05);
  position: relative;
  transition: all 0.1s ease;
}

.btn-outline:hover {
  background-color: rgba(10, 102, 194, 0.04);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 5px 0 var(--color-border), 0 8px 16px rgba(0,0,0,0.1);
  border-color: var(--color-primary-hover);
  color: var(--color-primary-hover);
}

.btn-outline:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 var(--color-border), 0 2px 4px rgba(0,0,0,0.05);
}

/* Header & Navigation */
.site-header {
  background-color: var(--color-white);
  border-bottom: 1px solid var(--color-border);
  position: static !important;
  z-index: 50;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 5rem;
  padding: 0;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 100px;
  width: auto;
}

.logo-text {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--color-trust-blue);
  letter-spacing: -0.025em;
}

.main-nav {
  display: none;
}

@media (min-width: 768px) {
  .main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
  }
}

.nav-link {
  font-weight: 500;
  color: var(--color-text-dark);
  position: relative;
  transition: color 0.2s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-vibrant-teal);
  transition: width 0.3s ease;
}

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

.auth-buttons {
  display: flex;
  gap: 1rem;
}

.hero-cta-section h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem) !important;
  letter-spacing: -1px !important;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--color-text-dark);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-vibrant-teal);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748B'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;
}

/* Form Add Button Interactivity */
.btn-add-interactive {
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.btn-add-interactive:active {
  transform: scale(0.92);
}

/* Classic Clean White Panels */
.glass-panel {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Footer */
.site-footer {
  background-color: var(--color-trust-blue);
  color: var(--color-white);
  padding: 3rem 0;
  margin-top: auto;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-vibrant-teal);
}

.footer-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #94A3B8;
}

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

.copyright {
  color: #64748B;
  font-size: 0.875rem;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeInCenter {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.animate-fade-in-center {
  animation: fadeInCenter 0.8s ease-out forwards;
}

/* Page Headers */
.page-header {
  background-color: var(--color-trust-blue);
  color: var(--color-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
  z-index: 1;
}

.page-header-content {
  position: relative;
  z-index: 2;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: #CBD5E1;
  max-width: 600px;
  margin: 0 auto;
}

/* --- Homepage Specific Styles --- */
.hero-split-section {
  position: relative;
  height: calc(100vh - 5rem);
  display: flex;
  overflow: hidden;
  background-color: var(--color-trust-blue);
}

.hero-overlay-text {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 20;
  width: 90%;
  max-width: 800px;
  pointer-events: none;
  color: var(--color-white);
  text-shadow: 0 4px 20px rgba(0,0,0,0.6);
}

.hero-headline {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  opacity: 0.9;
}

.split-container {
  display: flex;
  width: 100%;
  height: 100%;
}

.split-half {
  flex: 1;
  position: relative;
  transition: flex 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 5rem;
  overflow: hidden;
}

.split-half:hover {
  flex: 1.4;
}

.candidate-half {
  background: linear-gradient(135deg, var(--color-teal-dark) 0%, #0099AA 100%);
}

.recruiter-half {
  background: linear-gradient(135deg, var(--color-trust-blue-light) 0%, var(--color-trust-blue) 100%);
}

.split-half::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  transition: background-color 0.6s;
  z-index: 1;
}

.split-half:hover::before {
  background-color: rgba(0, 0, 0, 0.1);
}

.half-content {
  position: relative;
  z-index: 10;
  transition: transform 0.6s ease;
}

.split-half:hover .half-content {
  transform: translateY(-20px);
}

.cta-btn {
  font-size: 1.25rem;
  padding: 1rem 2.5rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 1px;
  pointer-events: auto; /* Re-enable pointer events just in case */
}

.hover-reveal {
  position: absolute;
  bottom: -150px;
  opacity: 0;
  z-index: 10;
  padding: 1.5rem;
  width: 80%;
  max-width: 400px;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  text-align: center;
}

.split-half:hover .hover-reveal {
  bottom: 40px;
  opacity: 1;
}

.reveal-title {
  color: var(--color-trust-blue);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.reveal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.tag {
  background-color: rgba(10, 37, 64, 0.1);
  color: var(--color-trust-blue);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Quote Section */
.quote-section {
  padding: 6rem 0;
  background-color: var(--color-bg-light);
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.1) 0%, transparent 70%);
  top: -100px;
  left: -100px;
}

.quote-card {
  max-width: 800px;
  margin: 0 auto;
  padding: 3rem;
  position: relative;
  background: white; /* fallback */
  background: rgba(255, 255, 255, 0.8);
}

.quote-icon {
  font-size: 6rem;
  line-height: 1;
  color: var(--color-vibrant-teal);
  opacity: 0.3;
  font-family: serif;
  position: absolute;
  top: 10px;
  left: 20px;
}

.motivational-quote {
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1.4;
  color: var(--color-trust-blue);
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
  z-index: 2;
}

.quote-author {
  font-weight: 700;
  color: var(--color-vibrant-teal);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

@media (max-width: 768px) {
  .split-container {
    flex-direction: column;
  }
  .split-half {
    padding-top: 0;
  }
  .hero-overlay-text {
    top: 5%;
  }
  .hero-headline {
    margin-bottom: 0.5rem;
  }
}

/* --- V2 Interactive & Impressive Additions --- */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 10;
  pointer-events: none;
  animation: float 10s infinite ease-in-out alternate;
}

.shape-1 {
  width: 400px;
  height: 400px;
  background: rgba(16, 185, 129, 0.25);
  top: -100px;
  left: 20%;
}

.shape-2 {
  width: 500px;
  height: 500px;
  background: rgba(6, 78, 59, 0.4);
  bottom: -200px;
  right: 10%;
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-50px) scale(1.1); }
}

.dynamic-text {
  display: inline-block;
  transition: opacity 0.4s ease;
  color: var(--color-vibrant-teal);
}

.how-it-works-section {
  padding: 6rem 0;
  background-color: var(--color-bg-light);
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  position: relative;
  margin-top: 3rem;
}

.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-trust-blue), transparent);
  z-index: 0;
  display: none;
}

@media (min-width: 900px) {
  .steps-grid::before { display: block; }
}

.step-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s;
  border-top: 4px solid var(--color-vibrant-teal);
}

.step-card:hover {
  transform: translateY(-15px);
  box-shadow: var(--shadow-lg);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--color-trust-blue);
  color: var(--color-vibrant-teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: -4rem auto 1.5rem auto;
  box-shadow: 0 10px 20px rgba(10, 37, 64, 0.2);
  border: 4px solid white;
}

.step-title {
  color: var(--color-trust-blue);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

/* Scroll Reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Services Page Styles --- */
.page-wrapper {
  background-color: var(--color-bg-light);
  flex: 1;
}

.services-section {
  padding: 5rem 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.service-card {
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-teal);
}

.service-card.popular {
  border: 2px solid var(--color-vibrant-teal);
  box-shadow: var(--shadow-md);
  position: relative;
  transform: scale(1.03);
  z-index: 2;
}

.service-card.popular:hover {
  transform: scale(1.03) translateY(-10px);
}

@media (max-width: 900px) {
  .service-card.popular {
    transform: scale(1);
  }
  .service-card.popular:hover {
    transform: translateY(-10px);
  }
}

.popular-badge {
  background-color: var(--color-vibrant-teal);
  color: var(--color-trust-blue);
  text-align: center;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.bg-trust-blue {
  background-color: var(--color-trust-blue);
}

.text-white {
  color: var(--color-white);
}

.card-header {
  padding: 2.5rem 1.5rem;
  text-align: center;
  position: relative;
}

.card-header h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #CBD5E1;
}

.card-header .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1;
}

.card-header .price-period {
  font-size: 1rem;
  color: #94A3B8;
  font-weight: 500;
}

.card-body {
  padding: 2rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-detail {
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.detail-icon {
  color: var(--color-vibrant-teal);
  font-weight: bold;
  font-size: 1.1rem;
}

.w-100 {
  width: 100%;
  margin-top: auto;
}

/* --- Global Mobile Responsiveness --- */
@media (max-width: 768px) {
    /* Header & Navigation Fixes */
    .mobile-menu-toggle {
        display: block !important;
    }

    .header-right-group {
        gap: 0.5rem !important;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1rem;
        text-align: center;
        padding-bottom: 0.5rem;
    }

    .auth-buttons {
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        justify-content: center;
        width: auto;
    }
    
    .nav-container {
        height: auto;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .main-nav {
        border-bottom: 1px solid #E2E8F0;
    }
    
    /* Reveal styles for JS toggle */
    .show-mobile {

        display: flex !important;
    }
    
    .auth-buttons .btn {
        width: auto;
        flex: 1;
        justify-content: center;
        white-space: nowrap;
        font-size: 0.75rem !important;
        padding: 0.5rem 0.75rem !important;
    }

    /* General Layout Fixes */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
        width: 100%;
    }
    
    .glass-panel {
        padding: 1.5rem !important;
    }

    /* Fix hardcoded inline min-widths overflowing mobile screens */
    *[style*="min-width: 200px"],
    *[style*="min-width: 250px"],
    *[style*="min-width: 300px"],
    *[style*="min-width: 320px"],
    *[style*="min-width: 350px"] {
        min-width: 100% !important;
        flex-basis: 100% !important;
    }
    
    /* Hero Section Fixes */
    .hero-split-section {
        height: auto;
        min-height: 100vh;
    }

    .split-container {
        flex-direction: column !important;
    }
    
    .split-half {
        padding: 4rem 1.5rem !important;
        min-height: 50vh !important;
        width: 100% !important;
    }

    /* Typography scale */
    h2 { font-size: 1.8rem !important; }
    h3 { font-size: 1.4rem !important; }
    .hero-headline { font-size: 2.2rem !important; }
    .hero-subheadline { font-size: 1rem !important; }

    /* Decorative Shapes */
    .floating-shape {
        display: none;
    }

    /* Dashboard Specific Fixes */
    div[style*="margin-left: 2rem;"] {
        margin-left: 0 !important;
        width: 100%;
    }
    
    /* Footer Fixes */
    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }
    
    .footer-left {
        align-items: center !important;
        margin-bottom: 2rem !important;
        text-align: center !important;
        max-width: 100% !important;
    }
    
    .footer-left .copyright {
        text-align: center !important;
    }

    .footer-links {
        justify-content: center !important;
    }
}

/* --- Final Header & Navigation Hardening --- */
.site-header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.header-right-group {
    display: flex !important;
    align-items: center !important;
    gap: 2.5rem !important;
    margin-left: auto !important;
}

/* Force hide hamburger on desktop */
#mobile-menu-toggle, .mobile-menu-toggle {
    display: none !important;
}

@media (min-width: 769px) {
    .main-nav {
        display: flex !important;
        align-items: center !important;
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    #mobile-menu-toggle, .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: 1px solid rgba(0,0,0,0.1);
        padding: 0.5rem;
        border-radius: 4px;
        font-size: 1.5rem;
        cursor: pointer;
        order: 2;
    }
    
    .header-right-group {
        margin-left: 0 !important;
        gap: 1rem !important;
    }

    .main-nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 9999;
    }
    
    .main-nav.active {
        display: flex !important;
    }

    .auth-buttons {
        order: 1;
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        gap: 0.5rem !important;
        width: auto !important;
        margin: 0 !important;
    }
    
    .auth-buttons .btn {
        width: auto !important;
        flex: 0 1 auto !important;
        font-size: 0.75rem !important;
        padding: 0.5rem 0.8rem !important;
        white-space: nowrap !important;
    }

    .hero-cta-section {
        padding: 0.5rem 1rem 3rem !important;
    }



    .hero-subtext {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
        line-height: 1.5 !important;
    }

}







/* Global Page Loader & Transition */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease-out, visibility 0.4s;
}

#page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1.25rem;
}

.loader-text {
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.75rem;
    animation: pulseLoader 1.5s infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseLoader {
    0% { opacity: 0.5; transform: scale(0.98); }
    50% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.5; transform: scale(0.98); }
}

/* Fix for body fade-in */
body.loaded {
    opacity: 1 !important;
}

