/* ==========================================================================
   FOUZ DIGITAL - Home Page Styles (home.css)
   Hero Section, Floating Mockups, Custom Grid sections, and Sliders
   ========================================================================== */

/* 1. Hero Section */
.hero-section {
  background-color: #0B0F19; /* Premium dark background */
  padding: 150px 0 80px 0; /* Tightened padding since top-bar is removed */
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
}



/* Ensure all direct text inside the hero left column is white */
.hero-section h1,
.hero-section h2,
.hero-section h3,
.hero-section h4,
.hero-section p {
  color: #FFFFFF;
}

.hero-section .hero-desc {
  color: #FFFFFF !important;
}

/* Red Neon Glow Effects */
.hero-glow-1 {
  position: absolute;
  top: -10%;
  right: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.15) 0%, rgba(220, 38, 38, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}

.hero-glow-2 {
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%); /* Blue accent glow */
  filter: blur(80px);
  pointer-events: none;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(220, 38, 38, 0.3);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge i {
  color: var(--primary-color);
  animation: pulse-red 2s infinite;
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 25px;
  color: #FFFFFF !important; /* Force white — overrides global h1 dark color */
}

.hero-title span {
  background: linear-gradient(135deg, #FF6B6B 0%, #DC2626 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  color: #FFFFFF !important;
  margin-bottom: 40px;
  line-height: 1.8;
  max-width: 580px;
}

.hero-btn-group {
  display: flex;
  gap: 20px;
  margin-bottom: 50px;
}

.hero-btn-group .btn-premium-outline {
  color: #FFFFFF !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  background: transparent !important;
}

.hero-btn-group .btn-premium-outline:hover {
  color: #FFFFFF !important;
  border-color: #0B3D91 !important;
  background: #0B3D91 !important;
  box-shadow: 0 10px 25px rgba(11, 61, 145, 0.45) !important;
  transform: translateY(-3px) !important;
}

/* Ratings & Badges */
.hero-ratings {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
}

.rating-stars {
  color: #FBBF24;
  font-size: 1.1rem;
}

.rating-text {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 500;
}

.rating-text span {
  color: #FFFFFF;
  font-weight: 700;
}

/* 2. Hero Mockups and Floating Cards */
.hero-graphics-wrapper {
  position: relative;
  width: 100%;
  height: 480px;
  z-index: 5;
}

.hero-mockup-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 540px;
}

.hero-main-mockup {
  width: 100%;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
  animation: floatMockup 6s infinite ease-in-out;
}

/* Floating Stat Cards */
.floating-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.03) !important;
  backdrop-filter: blur(25px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(25px) saturate(180%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--border-radius-md);
  padding: 15px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  z-index: 10;
  transition: var(--transition-smooth);
}

.floating-stat-card:hover {
  transform: scale(1.05) translateY(-5px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-glow-red);
}

.floating-stat-card .icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.2rem;
}

.floating-stat-card .info h4 {
  color: #FFFFFF;
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 2px;
}

.floating-stat-card .info p {
  color: #94A3B8;
  font-size: 0.75rem;
  font-weight: 500;
  margin: 0;
}

.f-card-1 {
  top: 10%;
  left: -5%;
  animation: floatCard1 5s infinite ease-in-out;
}
.f-card-1 .icon {
  background: var(--primary-gradient);
}

.f-card-2 {
  bottom: 15%;
  right: -5%;
  animation: floatCard2 6s infinite ease-in-out;
}
.f-card-2 .icon {
  background: var(--hover-gradient);
}

.f-card-3 {
  bottom: -5%;
  left: 15%;
  animation: floatCard3 7s infinite ease-in-out;
}
.f-card-3 .icon {
  background: var(--accent-gradient);
}

/* Animations */
@keyframes floatMockup {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

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

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

@keyframes floatCard3 {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-8px) scale(1.02); }
}

@keyframes pulse-red {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   CSS-only Hero Entrance Animations
   These replace GSAP .from() which was setting opacity:0 and
   never completing — making hero text permanently invisible.
   CSS keyframes ALWAYS run regardless of JavaScript status.
   ============================================================ */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(35px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Apply entrance animation to every hero left-column element */
.hero-badge {
  animation: heroFadeUp 0.7s ease-out 0.1s both;
}

.hero-title {
  animation: heroFadeUp 0.8s ease-out 0.25s both;
}

.hero-desc {
  animation: heroFadeUp 0.8s ease-out 0.4s both;
}

.hero-btn-group {
  animation: heroFadeUp 0.7s ease-out 0.55s both;
}

.hero-ratings {
  animation: heroFadeUp 0.7s ease-out 0.65s both;
}

/* Mockup and floating cards entrance */
.hero-main-mockup {
  animation: heroFadeIn 1s ease-out 0.3s both;
}

.f-card-1 {
  animation: heroFadeUp 0.8s ease-out 0.5s both;
}

.f-card-2 {
  animation: heroFadeUp 0.8s ease-out 0.6s both;
}

.f-card-3 {
  animation: heroFadeUp 0.8s ease-out 0.7s both;
}


/* 3. Why Choose Us Section */
.why-card {
  height: 100%;
  padding: 40px 30px;
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.why-card:hover::before {
  background: var(--hover-gradient);
  height: 8px;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(220, 38, 38, 0.05);
  color: var(--primary-color);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: var(--transition-smooth);
}

.why-card:hover .why-icon {
  background: var(--hover-gradient);
  color: #FFFFFF;
}

.why-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 15px;
}

/* 4. Company Statistics Section */
.stats-section {
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 80px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 10px;
  display: block;
}

.stat-title {
  font-size: 1rem;
  font-weight: 600;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 5. Client Testimonials Slider styling */
.testimonials-section {
  background-color: var(--section-bg);
}

.testimonial-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 40px;
  box-shadow: var(--shadow-premium);
  border: 1px solid #E2E8F0;
  margin: 15px;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
  color: #FBBF24;
  margin-bottom: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--text-color);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 30px;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(220, 38, 38, 0.1);
}

.testimonial-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 3px;
}

.testimonial-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* Swiper pagination customizations */
.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
  width: 20px !important;
  border-radius: 5px !important;
}

/* 6. FAQ Accordion overrides */
.faq-accordion .accordion-item {
  border: 1px solid #E2E8F0;
  border-radius: var(--border-radius-sm) !important;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

.faq-accordion .accordion-button {
  font-family: var(--poppins);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-color);
  padding: 20px 25px;
  background-color: #FFFFFF;
  box-shadow: none !important;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--primary-color);
  background-color: rgba(220, 38, 38, 0.02);
  border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.faq-accordion .accordion-button::after {
  background-image: none;
  content: '\f0fe'; /* FontAwesome Plus */
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--text-muted);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  content: '\f146'; /* FontAwesome Minus */
  color: var(--primary-color);
  transform: rotate(180deg);
}

.faq-accordion .accordion-body {
  padding: 25px;
  background-color: #FFFFFF;
  line-height: 1.7;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 7. Contact CTA Section */
.cta-section {
  position: relative;
  background-color: #0F172A;
  color: #FFFFFF;
  padding: 100px 0;
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(220, 38, 38, 0.12) 0%, rgba(220, 38, 38, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
}

.cta-box {
  position: relative;
  z-index: 5;
  text-align: center;
}

.cta-box h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
}

.cta-box p {
  color: #94A3B8;
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

.cta-btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}



