/* ==========================================================================
   ShowBrand Digital Marketing Agency - Components CSS
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: var(--color-navy);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-base);
}

.header.scrolled {
  background: rgba(17, 38, 74, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(10, 24, 50, 0.3);
  height: 72px;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-brand img {
  height: 48px;
  width: auto;
  transition: transform var(--transition-fast);
}

.logo-brand:hover img {
  transform: scale(1.03);
}

/* Nav Menu Desktop */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-item {
  position: relative;
  list-style: none;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  color: #E2E8F0;
  padding: 0.5rem 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color var(--transition-fast);
}

.nav-link i.fa-chevron-down {
  font-size: 0.7rem;
  transition: transform var(--transition-fast);
  color: var(--color-cyan);
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-orange);
}

.nav-item:hover > .nav-link i.fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--color-navy-dark);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-base);
  z-index: 1050;
}

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

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: #CBD5E1;
  transition: all var(--transition-fast);
}

.dropdown-link i {
  color: var(--color-cyan);
  font-size: 0.85rem;
  width: 16px;
  text-align: center;
}

.dropdown-link:hover,
.dropdown-item.active > .dropdown-link {
  background: rgba(245, 130, 0, 0.12);
  color: var(--color-orange);
  padding-left: 1.5rem;
}

/* Nested Submenu (Flyout) */
.has-submenu {
  position: relative;
}

.submenu {
  left: 100%;
  top: -0.75rem;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--color-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 6rem;
  background: var(--gradient-navy);
  position: relative;
  overflow: hidden;
}

.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  opacity: 0.25;
}

.hero-glow-1 {
  top: -100px;
  right: -100px;
  background: var(--color-orange);
}

.hero-glow-2 {
  bottom: -150px;
  left: -100px;
  background: var(--color-magenta);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content h1 {
  font-size: 3.25rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  color: var(--color-white);
}

.hero-content p.hero-subtitle {
  font-size: 1.2rem;
  color: #CBD5E1;
  margin-bottom: 2.25rem;
  max-width: 640px;
  line-height: 1.7;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card-stack {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.hero-main-card {
  background: var(--gradient-card-dark);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  margin-top: 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-orange);
}

/* --------------------------------------------------------------------------
   3. CARDS (SERVICES, FEATURES, INDUSTRIES)
   -------------------------------------------------------------------------- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(245, 130, 0, 0.3);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  background: var(--color-orange-light);
  color: var(--color-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: all var(--transition-base);
}

.card:hover .card-icon {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: scale(1.08) rotate(3deg);
  box-shadow: var(--shadow-orange-glow);
}

.card-icon-magenta {
  background: var(--color-magenta-light);
  color: var(--color-magenta);
}

.card:hover .card-icon-magenta {
  background: linear-gradient(135deg, #D4145A 0%, #00C5E8 100%);
  color: var(--color-white);
}

.card-icon-cyan {
  background: var(--color-cyan-light);
  color: #0088A3;
}

.card:hover .card-icon-cyan {
  background: linear-gradient(135deg, #00C5E8 0%, #11264A 100%);
  color: var(--color-white);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.card-body {
  flex: 1;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-footer {
  margin-top: auto;
}

.card-link {
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--color-orange);
}

.card-link i {
  transition: transform var(--transition-fast);
}

.card-link:hover i {
  transform: translateX(5px);
}

/* Feature Grid Card (Why Choose Us) */
.feature-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-gray);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: var(--radius-sm);
  background: var(--gradient-primary);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

/* --------------------------------------------------------------------------
   4. PROCESS TIMELINE
   -------------------------------------------------------------------------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}

.process-step-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
  transition: all var(--transition-base);
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-orange);
}

.process-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: var(--shadow-orange-glow);
}

/* --------------------------------------------------------------------------
   5. CONTACT FORM & INPUTS
   -------------------------------------------------------------------------- */
.contact-form-container {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border-gray);
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

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

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-main);
  font-size: 0.95rem;
  border: 1.5px solid var(--color-border-gray);
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-orange);
  background: var(--color-white);
  box-shadow: 0 0 0 4px var(--color-orange-light);
}

.form-control.is-invalid {
  border-color: var(--color-magenta);
  background: rgba(212, 20, 90, 0.03);
}

.invalid-feedback {
  color: var(--color-magenta);
  font-size: 0.825rem;
  font-weight: 500;
  margin-top: 0.35rem;
  display: none;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: var(--color-orange);
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   6. FAQ ACCORDION
   -------------------------------------------------------------------------- */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border-gray);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item.active {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-sm);
}

.faq-button {
  width: 100%;
  padding: 1.35rem 1.75rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  text-align: left;
  cursor: pointer;
  gap: 1rem;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-light-gray);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--color-orange);
  color: var(--color-white);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 1.75rem;
}

.faq-item.active .faq-content {
  padding-bottom: 1.5rem;
}

.faq-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   7. FLOATING WHATSAPP BUTTON
   -------------------------------------------------------------------------- */
.whatsapp-float-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-bounce);
  animation: pulse-whatsapp 2.5s infinite;
}

.whatsapp-float-btn:hover {
  transform: scale(1.12);
  color: var(--color-white);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-navy);
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.whatsapp-float-btn:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse-whatsapp {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* --------------------------------------------------------------------------
   8. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  background: var(--color-navy-dark);
  color: #94A3B8;
  padding-top: 5rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: #94A3B8;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--gradient-primary);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-column h4 {
  color: var(--color-white);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-column h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.925rem;
  transition: all var(--transition-fast);

.footer-links a:hover {
  color: var(--color-orange);
  padding-left: 0.4rem;
}

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

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #94A3B8;
}

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

/* Breadcrumb Component */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #94A3B8;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--color-cyan);
}

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

.breadcrumb-separator {
  color: #64748B;
  font-size: 0.75rem;
}
