/* SASI Steel Engineering - Theme & Visual Styles (Matching Reference Design) */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --brand-orange: #ea580c;
  --brand-orange-bright: #f97316;
  --brand-orange-hover: #c2410c;
  --brand-orange-light: #ffedd5;
  --brand-orange-glow: rgba(249, 115, 22, 0.3);
  --navy-dark: #0a0f1d;
  --navy-slate: #0f172a;
  --navy-card: #1e293b;
  --steel-border: #e2e8f0;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', sans-serif;
  color: #0f172a;
  background-color: #ffffff;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
}

/* Ensure header sticks firmly to the top on all devices */
header {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 50 !important;
}

/* Ensure no section or banner can cause horizontal overflow */
section, footer, main {
  max-width: 100% !important;
  overflow-x: clip;
}

/* Prevent AOS library from causing horizontal scrollbars */
html[data-aos-easing], body[data-aos-easing] {
  overflow-x: clip !important;
}

[data-aos] {
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #f97316;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #ea580c;
}

/* Orange Section Label Accent */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ea580c;
}
.section-tag::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 3px;
  background-color: #f97316;
  border-radius: 2px;
}

/* Angular Diagonal Accent Cuts (From Reference Image) */
.diagonal-cut-orange {
  position: relative;
}
.diagonal-cut-orange::after {
  content: '';
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, transparent 50%, #f97316 50%);
  pointer-events: none;
}

.hero-diagonal-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  background: linear-gradient(105deg, rgba(10, 15, 29, 0.95) 0%, rgba(10, 15, 29, 0.85) 45%, transparent 80%);
}

/* Reference Image Service Card Style */
.ref-service-card {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.25rem;
  overflow: hidden;
}
.ref-service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(249, 115, 22, 0.1);
  border-color: #fdba74;
}

.ref-icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.ref-service-card:hover .ref-icon-badge {
  background-color: #f97316;
  transform: scale(1.08);
}

/* Buttons from Screenshot */
.btn-orange-pill {
  background-color: #f97316;
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(249, 115, 22, 0.35);
}
.btn-orange-pill:hover {
  background-color: #ea580c;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 115, 22, 0.45);
}

.btn-dark-pill {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 0.65rem 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
}
.btn-dark-pill:hover {
  background: rgba(15, 23, 42, 0.95);
  border-color: #f97316;
}

@media (max-width: 640px) {
  .btn-orange-pill, .btn-dark-pill {
    padding: 0.45rem 0.95rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }
}

/* Glassmorphism Dark Panels */
.glass-dark-app {
  background: linear-gradient(180deg, #0b132b 0%, #060a17 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Floating WhatsApp & Call Buttons Widget */
.floating-actions-dock {
  position: fixed;
  bottom: 20px;
  right: 16px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: calc(100vw - 32px);
  pointer-events: auto;
}

.floating-btn-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-btn-item:hover {
  transform: translateY(-3px) scale(1.04);
}

.floating-btn-label {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.floating-actions-dock:hover .floating-btn-label,
.floating-btn-item:hover .floating-btn-label {
  opacity: 1;
}

.floating-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  position: relative;
}

.floating-whatsapp-btn {
  background-color: #25d366;
}
.floating-whatsapp-btn:hover {
  background-color: #20ba59;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5);
}

.floating-call-btn {
  background-color: #f97316;
}
.floating-call-btn:hover {
  background-color: #ea580c;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.5);
}

.floating-toggle-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #94a3b8;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.2s ease;
}
.floating-toggle-btn:hover {
  background: #0f172a;
  color: #ffffff;
}

/* Pulsing effect */
.pulse-ring::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.6;
  animation: pulseEffect 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes pulseEffect {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* Toast Container (Shifted upward so it never overlaps floating dock) */
#toast-container {
  position: fixed;
  bottom: 140px;
  right: 16px;
  max-width: calc(100vw - 32px);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  animation: toastIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.3s ease;
}
.toast.hide {
  animation: toastOut 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes toastOut {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateY(-15px) scale(0.9);
  }
}
