
/* ==========================
   IMPORTS
   ========================== */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================
   1) BASE / RESET
   ========================== */
/* Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;        /* keep */
  overflow-y: auto;
  overflow-x: hidden;
  background: #0a0a1a;
  position: relative;
  display: block;           /* ensures normal stacking */
}

.site-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
}

/* ==========================
   2) ANIMATED BACKGROUND & PARTICLES
   ========================== */
/* ========== PROFESSIONAL 4K ANIMATED BACKGROUND ========== */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0a2e 25%, #16213e 50%, #0f3460 75%, #1a1a2e 100%);
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  25% { background-position: 50% 25%; }
  50% { background-position: 100% 50%; }
  75% { background-position: 50% 75%; }
}

/* Animated gradient orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #667eea 0%, #764ba2 50%, transparent 70%);
  top: -200px;
  left: -200px;
  animation: float 25s ease-in-out infinite;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #f093fb 0%, #f5576c 50%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: float 30s ease-in-out infinite reverse;
}

.orb-3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #4facfe 0%, #00f2fe 50%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: float 35s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(100px, -100px) scale(1.1); }
  50% { transform: translate(-50px, 100px) scale(0.9); }
  75% { transform: translate(-100px, -50px) scale(1.05); }
}

/* Particle system */
.particles {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particleFloat 20s linear infinite;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

@keyframes particleFloat {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* ==========================
   3) HERO SECTION
   ========================== */
/* ========== HERO SECTION ========== */
.hero-section {
  position: relative;
  text-align: center;
  padding: 100px 20px 60px;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.site-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #667eea 75%, #764ba2 100%);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientText 8s ease infinite;
  letter-spacing: -2px;
  margin-bottom: 20px;
  text-shadow: 0 0 80px rgba(102, 126, 234, 0.5);
  position: relative;
  display: inline-block;
}

.site-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, transparent, #667eea, transparent);
  border-radius: 2px;
}

@keyframes gradientText {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.tagline {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  font-weight: 500;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.description-line {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  font-weight: 400;
  line-height: 1.6;
}

.browse-resumes {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

.browse-resumes:hover {
  color: #fff;
  transform: translateY(-2px);
}

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

/* Main Content */
.main-content {
  padding: 40px 30px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* ==========================
   4) SLIDESHOW / TEMPLATE PREVIEWS
   ========================== */
/* ========== SLIDESHOW SECTION (Keep Exactly As Is) ========== */
.slideshow-container {
  width: 800px;
  max-width: 100%;
  height: 380px;
  overflow: visible;
  position: relative;
  margin: 0 auto;
  margin-top: -20px;
}

.slideshow-track {
  display: flex;
  gap: 30px;
  will-change: transform;
  position: relative;
}

.template {
  flex: 0 0 260px;
  transition: transform 0.4s ease-in-out;
  position: relative;
  z-index: 1;
  cursor: pointer;
}

.template img {
  width: 85%;
  height: 90%;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.template:hover {
  transform: scale(1.1);
  transform-origin: center;
  transition: transform 0.3s ease;
  z-index: 10;
}

.template.zoomed {
  z-index: 9999;
}

/* Fullscreen Zoom Effect */
.fullscreen-zoom {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  z-index: 9999;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
  opacity: 1;
  background: white;
  object-fit: contain;
}

.fullscreen-zoom.hide {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
}

/* ==========================
   5) GET STARTED BUTTON / HERO CTA
   ========================== */
/* ========== GET STARTED BUTTON ========== */
.button-wrapper {
  margin-top: 110px;
  width: 100%;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  position: relative;
  left: 50%;
  transform: translate(-50%, 20px);
}

.button-wrapper.visible {
  opacity: 1;
  transform: translate(-50%, 0);
  transition-delay: 0.1s;
}

.get-started-btn {
  padding: 18px 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  border-radius: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: white;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
}

.get-started-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.get-started-btn:hover::before {
  left: 100%;
}

.get-started-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.6);
}

/* ==========================
   6) COMPANY LOGOS / TRUST SECTION
   ========================== */
/* ========== COMPANY LOGOS SECTION ========== */
.company-logos-section {
  text-align: center;
  margin-top: 100px;
  padding: 60px 20px;
  position: relative;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.company-logos-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 50px;
  color: white;
  text-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  letter-spacing: -0.5px;
  line-height: 1.3;
}

.company-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 40px 30px;
  align-items: center;
  justify-items: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.company-logo {
  width: 100%;
  max-width: 140px;
  height: 50px;
  object-fit: contain;
  filter: brightness(1) saturate(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  opacity: 0.9;
}

.company-logo:hover {
  transform: translateY(-5px) scale(1.08);
  filter: brightness(1.15) saturate(1.2) drop-shadow(0 8px 20px rgba(102, 126, 234, 0.3));
  opacity: 1;
}

/* Responsive adjustments for company logos */
@media (max-width: 768px) {
  .company-logos-section {
    margin-top: 70px;
    padding: 40px 15px;
  }
  
  .company-logos-heading {
    margin-bottom: 35px;
  }
  
  .company-logos-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 30px 20px;
  }
  
  .company-logo {
    max-width: 110px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .company-logos-section {
    margin-top: 50px;
    padding: 30px 15px;
  }
  
  .company-logos-heading {
    margin-bottom: 30px;
  }
  
  .company-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px 15px;
  }
  
  .company-logo {
    max-width: 100px;
    height: 35px;
  }
}

/* Duplicate / later logo tweaks (kept as-is) */
.company-logo {
  max-width: 130px;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 4px 10px rgba(0,0,0,0.55))
    drop-shadow(0 0 18px rgba(255,255,255,0.08));
  opacity: 0.95;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.company-logo:hover {
  transform: translateY(-6px) scale(1.05);
  filter:
    drop-shadow(0 8px 22px rgba(0,0,0,0.75))
    drop-shadow(0 0 26px rgba(102,126,234,0.35));
  opacity: 1;
}
.company-logos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 55px;
  align-items: center;
  justify-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

/* ==========================
   7) WHY CHOOSE US / FEATURES
   ========================== */
/* ========== WHY CHOOSE US SECTION ========== */
.why-choose-us {
  text-align: center;
  margin-top: 120px;
  padding: 80px 20px;
  position: relative;
}

.section-header {
  margin-bottom: 60px;
  animation: fadeInUp 0.8s ease-out;
}

.why-choose-us h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: white;
  text-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  letter-spacing: -1px;
}

.section-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-box {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px 30px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out backwards;
  cursor: pointer;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-box:hover::before {
  opacity: 1;
}

.feature-box:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(102, 126, 234, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-icon-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  transition: all 0.4s ease;
  position: relative;
}

.feature-box:hover .feature-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon-svg {
  transition: all 0.4s ease;
}

.feature-box:hover .feature-icon-svg {
  transform: scale(1.1);
}

.feature-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

.feature-box:hover .feature-glow {
  opacity: 0.3;
}

.feature-box h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.feature-box p {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

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

/* ==========================
   8) USER REVIEWS
   ========================== */
/* ========== USER REVIEWS SECTION ========== */
.user-reviews {
  text-align: center;
  margin-top: 130px;
  margin-bottom: 80px;
  padding: 0 20px;
}

.user-reviews h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 50px;
  color: white;
  text-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
  letter-spacing: -1px;
}

.reviews-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 900px;
  margin: 0 auto;
}

.review-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.12);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.user-photo {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 3px solid rgba(102, 126, 234, 0.5);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.review-info {
  text-align: left;
}

.user-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
  margin-bottom: 6px;
}

.stars {
  margin-top: -2px;
  color: #fbbf24;
  font-size: 1.1rem;
  text-align: left;
  letter-spacing: 3px;
  text-shadow: 0 2px 10px rgba(251, 191, 36, 0.3);
}

.review-text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  text-align: left;
}

/* ==========================
   9) FOOTER (SECOND VARIANT & SMALL LINKS)
   ========================== */
/* ========== FOOTER ========== */
.site-footer {
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(20px);
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  padding: 35px 20px;
  margin-top: 100px;
  font-family: 'Inter', sans-serif;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
}

.contact-info:hover {
  color: #667eea;
  transform: translateY(-2px);
}

.rights {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================
   10) RESPONSIVE & ACCESSIBILITY
   ========================== */
/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
  .hero-section {
    padding: 80px 20px 50px;
  }
  
  .features-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .why-choose-us {
    padding: 60px 20px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 20px 40px;
    min-height: 40vh;
  }
  
  .slideshow-container {
    width: 100%;
    height: 320px;
  }
  
  .features-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .feature-box {
    padding: 35px 25px;
  }
  
  .why-choose-us {
    margin-top: 80px;
    padding: 40px 15px;
  }
  
  .user-reviews {
    margin-top: 80px;
  }
  
  .footer-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .get-started-btn {
    padding: 16px 36px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 40px 15px 30px;
  }
  
  .site-title::after {
    width: 60px;
    height: 3px;
  }
  
  .slideshow-container {
    height: 280px;
  }
  
  .feature-icon-wrapper {
    width: 70px;
    height: 70px;
  }
  
  .feature-icon-svg {
    width: 28px;
    height: 28px;
  }
  
  .why-choose-us {
    margin-top: 60px;
    padding: 30px 15px;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .user-reviews {
    margin-top: 60px;
  }
  
  .review-card {
    padding: 25px 20px;
  }
  
  .user-photo {
    width: 50px;
    height: 50px;
  }
}

@media (min-width: 700px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
  }
}

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

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================
   11) SLIDESHOW SECTION (ADDITIONAL / CONTROLS)
   ========================== */
/* 🎞️ Slideshow Section */
.slideshow-section {
  width: 100%;
  max-width: 1000px;
  margin: 60px auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

.slideshow-container {
  position: relative;
  margin-top: 60px;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  transition: 0.4s ease;
  user-select: none;
  border-radius: 0 5px 5px 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.next {
  right: 0;
  border-radius: 5px 0 0 5px;
}

.prev:hover, .next:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* Dots */
.dots-container {
  text-align: center;
  margin-top: 15px;
}

.dot {
  cursor: pointer;
  height: 12px;
  width: 12px;
  margin: 0 3px;
  background-color: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.4s ease;
}

.active, .dot:hover {
  background-color: #ffffff;
}

/* Fade Animation */
.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: 0.4}
  to {opacity: 1}
}

/* ==========================
   12) HERO + LAYOUT SAFEGUARDS & MINOR TWEAKS
   ========================== */

/* ✅ Keep everything perfectly centered, no shifting on reload */
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent sideways shift */
}

/* ✅ Ensure hero content always stays centered */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  min-height: 90vh;
  width: 100%;
  box-sizing: border-box;
  position: relative;
}

/* ✅ Move Get Started button 10px down safely */
.get-started-btn {
  margin-top: 10px; /* small downward shift */
  position: relative;
}

/* ✅ Add "Browse Resumes" above button cleanly */
.browse-resumes {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 500;
  color: #ffffff; /* or any accent color */
}

/* ✅ Move slideshow slightly down without breaking layout */
.slideshow-section {
  margin-top: 60px; /* Adjust slide block’s distance from hero */
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.site-header {
  width: 100%;
  padding: 20px 40px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 999;
  display: flex;
  align-items: center;
}

/* ==========================
   13) FULLSCREEN LOADER
   ========================== */
/* Fullscreen loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.7); /* light blur overlay */
  backdrop-filter: blur(5px); /* blur effect */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
  padding-bottom: 30vh;
}

/* Loader logo styling */
.loader-logo {
  width: 120px;
  height: auto;
  animation: pulse 1.5s infinite ease-in-out;
}

/* Logo animation */
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}

/* Fade-out class */
#loader.fade-out {
  opacity: 0;
  pointer-events: none;
}
/* ===== LOADER ===== */
#loader {
  position: fixed;
  inset: 0;

  /* 🌌 Premium gradient background */
  background: linear-gradient(
    135deg,
    #0a0a1a 0%,
    #1a0a2e 25%,
    #16213e 50%,
    #0f3460 75%,
    #1a1a2e 100%
  );

  /* ✨ Glass blur effect */
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}


/* Logo */
.loader-logo {
  width: 260px;
  margin-bottom: 40px;
  transform: none !important;
  animation: none !important;
}

/* Line container */
.loader-line {
  width: 120px;
  height: 4px;
  border-radius: 10px;
  margin-top: -90px;   /* ⬅ adjust this value */
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.loader-line span {
  display: block;
  width: 50px;
  height: 100%;

  background: linear-gradient(
    135deg,
    #667eea 0%,
    #764ba2 25%,
    #f093fb 50%,
    #667eea 75%,
    #764ba2 100%
  );

  animation: loaderMove 1.2s ease-in-out infinite;

  /* ✨ glow effect */
  box-shadow:
    0 0 10px rgba(240, 147, 251, 0.8),
    0 0 20px rgba(102, 126, 234, 0.6);
}

@keyframes loaderMove {
  from {
    transform: translateX(-40px);
  }
  to {
    transform: translateX(180px);
  }
}

/* Fade-out animation */
.fade-out {
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* ==========================
   14) LOGOS TUNING (FINE-TUNE)
   ========================== */
/* ===== Fine-tune logos: smaller + more space below heading ===== */
.company-logos-heading {
  margin-bottom: 0; /* reset so spacing is controlled below */
}

.company-logos-grid {
  margin-top: 56px;            /* 👈 pushes logos clearly below heading */
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 52px;                   /* airy but not oversized */
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

/* slightly smaller, balanced logo size */
.company-logo {
  max-width: 145px;            /* 👈 reduced size */
  width: 100%;
  height: auto;
  object-fit: contain;
  filter:
    drop-shadow(0 5px 14px rgba(0,0,0,0.55))
    drop-shadow(0 0 16px rgba(255,255,255,0.05));
  opacity: 0.96;
}

/* hover stays subtle and premium */
.company-logo:hover {
  transform: translateY(-4px) scale(1.04);
  filter:
    drop-shadow(0 8px 22px rgba(0,0,0,0.7))
    drop-shadow(0 0 22px rgba(102,126,234,0.22));
  opacity: 1;
}

/* mobile tuning */
@media (max-width: 768px) {
  .company-logos-grid {
    margin-top: 42px;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 34px;
  }
  .company-logo {
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .company-logos-grid {
    margin-top: 36px;
    grid-template-columns: repeat(2, 1fr);
    gap: 26px;
  }
  .company-logo {
    max-width: 105px;
  }
}

/* ==========================
   15) HEADER / NAVIGATION
   ========================== */
/* ===== Minimal header/nav (single clean block) ===== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9998;
  display: flex;
  justify-content: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  backdrop-filter: blur(6px);
  transition: background 220ms ease, box-shadow 220ms ease;
}

.nav-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  box-sizing: border-box;
}

.header-logo { height: 36px; width: auto; display:block; }

.nav-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex: 1;
  margin: 0 12px;
}

.nav-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 600;
  padding: 6px 8px;
  border-radius: 8px;
  transition: transform 160ms ease, background 160ms ease;
}
.nav-link:hover { transform: translateY(-2px); background: rgba(255,255,255,0.03); }

.nav-actions { display:flex; gap:12px; align-items:center; }

.header-cta { padding: 9px 16px; border-radius: 12px; font-size: 0.95rem; }

/* scrolled dark state */
.main-header.scrolled {
  background: rgba(8,10,20,0.95);
  box-shadow: 0 8px 24px rgba(2,6,23,0.6);
}

/* responsive */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-container { padding: 8px 14px; }
  .header-logo { height: 32px; }
  .header-cta { padding: 8px 12px; font-size: 0.92rem; }
}

/* FEATURES */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.feature-box {
  padding: 26px 22px;
  min-height: 180px;
}

.feature-box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-box p {
  font-size: 0.92rem;
  line-height: 1.45;
}

.feature-icon-wrapper {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
}

/* REMOVE underline */
.main-header .header-cta,
.main-header .header-cta:link,
.main-header .header-cta:visited,
.main-header .header-cta:hover,
.main-header .header-cta:focus,
.main-header .header-cta:active {
  text-decoration: none !important;
}

/* HERO + MOBILE */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 15px 35px;
  }

  .site-title {
    font-size: clamp(2.2rem, 12vw, 3.5rem);
  }

  .tagline { font-size: 1rem; }
  .description-line { 
  display: none; 
}

  .slideshow-container {
    width: 100%;
    height: 260px;
  }

  .slideshow-track { gap: 16px; }

  .template { flex: 0 0 180px; }

  .button-wrapper { margin-top: 40px; }

  .company-logos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
  }

  .why-choose-us {
    margin-top: 70px;
    padding: 35px 15px;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 0;
  }

  .feature-box {
    padding: 22px 18px;
    min-height: auto;
  }
}

/* MOBILE HEADER */
@media (max-width: 768px) {
  .home-page .main-header {
    padding: 6px 10px !important;
  }

  .home-page .nav-container {
    display: flex;
    justify-content: space-between;
  }

  .home-page .header-logo { height: 42px; }

  .home-page .nav-links {
    display: flex;
    gap: 8px;
  }

  .home-page .nav-link {
    font-size: 0.7rem;
    padding: 2px 4px;
  }

  .home-page .get-started-btn.header-cta {
    padding: 5px 10px;
    font-size: 0.7rem;
  }
}

/* SLIDESHOW (3 CARDS FIX) */
@media (max-width: 768px) {
  .home-page .slideshow-container {
    width: 115%;
    margin-left: -7.5%;
    height: 360px;
  }

  .home-page .slideshow-track {
    gap: 24px;
  }

  .home-page .template {
  flex: 0 0 calc((100% - 10px) / 3);
  max-width: calc((100% - 10px) / 3);
  }

  .home-page .template img {
    width: 98%;
    margin: 0 auto;
    display: block;
  }
}

/* SMALL DEVICES */
@media (max-width: 480px) {
  .site-title { font-size: 2.3rem; }

  .slideshow-container { height: 220px; }

  .template { flex: 0 0 150px; }

  .company-logo { max-width: 88px; }

  .feature-box h3 { font-size: 1rem; }
  .feature-box p { font-size: 0.9rem; }
}

/* FIX HEADER SPACE */
body {
  padding-top: 72px;
}

@media (max-width: 768px) {
  body { padding-top: 60px; }
}

/* PREVENT HORIZONTAL SCROLL */
@media (max-width: 768px) {
  html.home-page,
  html.home-page body {
    overflow-x: hidden;
    max-width: 100vw;
  }
}