/* ====================================
   SSKEİİ Custom Styles
   ==================================== */

/* === Font Family === */
body {
  font-family: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* === SSKEİİ Brand Colors === */
:root {
  /* Brand Colors */
  --sskeii-primary: #d82b2b;      /* Red */
  --sskeii-secondary: #0a1a2f;    /* Navy Blue */
  --sskeii-accent: #f4bb1e;       /* Yellow */
  --sskeii-background: #f5f7fa;   /* Light Background */
  --sskeii-foreground: #050a0f;   /* Dark Text */

  /* Hover States */
  --sskeii-accent-hover: #e0a814;
  --sskeii-primary-hover: #c02525;
  --sskeii-secondary-hover: #081526;
}

/* === Override Bootstrap Primary === */
.btn-primary {
  background-color: var(--sskeii-primary);
  border-color: var(--sskeii-primary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--sskeii-primary-hover);
  border-color: var(--sskeii-primary-hover);
}

.btn-outline-primary {
  color: var(--sskeii-primary);
  border-color: var(--sskeii-primary);
}

.btn-outline-primary:hover {
  background-color: var(--sskeii-primary);
  border-color: var(--sskeii-primary);
}

/* === Text Colors === */
.text-primary {
  color: var(--sskeii-primary) !important;
}

.text-accent {
  color: var(--sskeii-accent) !important;
}

.text-secondary {
  color: var(--sskeii-secondary) !important;
}

/* === Background Colors === */
.bg-primary {
  background-color: var(--sskeii-primary) !important;
}

.bg-accent {
  background-color: var(--sskeii-accent) !important;
}

.bg-secondary {
  background-color: var(--sskeii-secondary) !important;
}

.bg-light-accent {
  background-color: rgba(244, 187, 30, 0.1) !important;
}

/* === Hover Effects === */
.hover-accent {
  transition: color 0.3s ease;
}

.hover-accent:hover {
  color: var(--sskeii-accent) !important;
}

a.hover-accent {
  text-decoration: none;
}

/* === Navbar === */
.navbar-light .navbar-nav .nav-link {
  color: var(--sskeii-foreground);
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--sskeii-accent);
}

.navbar-brand img {
  height: 60px;
  width: auto;
}

/* === Footer === */
footer a:hover {
  color: var(--sskeii-accent) !important;
}

/* === Cards === */
.card {
  border: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* === Badges === */
.badge-accent {
  background-color: var(--sskeii-accent);
  color: var(--sskeii-foreground);
}

/* === Icons === */
.icon-accent {
  color: var(--sskeii-accent);
}

.icon-primary {
  color: var(--sskeii-primary);
}

.icon-secondary {
  color: var(--sskeii-secondary);
}

/* === Hero Section === */
.hero-section {
  background: linear-gradient(135deg, var(--sskeii-secondary) 0%, var(--sskeii-primary) 100%);
  color: white;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: var(--sskeii-accent);
  border-radius: 50%;
  opacity: 0.1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--sskeii-accent);
  border-radius: 50%;
  opacity: 0.1;
}

/* === Buttons === */
.btn {
  font-weight: 500;
  border-radius: 8px;
  padding: 10px 24px;
  transition: all 0.3s ease;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.1rem;
}

.btn-accent {
  background-color: var(--sskeii-accent);
  color: var(--sskeii-foreground);
  border: none;
}

.btn-accent:hover {
  background-color: var(--sskeii-accent-hover);
  color: var(--sskeii-foreground);
}

/* === Forms === */
.form-control:focus,
.form-select:focus {
  border-color: var(--sskeii-accent);
  box-shadow: 0 0 0 0.2rem rgba(244, 187, 30, 0.25);
}

/* === Hero Illustration === */
.hero-illustration {
  animation: float 6s ease-in-out infinite;
}

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

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

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

/* === Utilities === */
.min-vh-80 {
  min-height: 80vh;
}

.sticky-top {
  top: 0;
  z-index: 1020;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .btn-lg {
    padding: 12px 24px;
    font-size: 1rem;
  }
}

/* === Statistics Counter === */
.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--sskeii-accent);
  line-height: 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  margin-top: 8px;
}

/* === Feature Icons === */
.feature-icon {
  width: 60px;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(244, 187, 30, 0.1);
  color: var(--sskeii-accent);
}

/* === Section Titles === */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--sskeii-secondary);
}

.section-subtitle {
  color: #6c757d;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

/* === Testimonial Cards === */
.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.testimonial-stars {
  color: var(--sskeii-accent);
}

/* === Pricing Cards === */
.pricing-card {
  border-radius: 16px;
  overflow: hidden;
}

.pricing-card.popular {
  border: 3px solid var(--sskeii-accent);
  transform: scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--sskeii-accent);
  color: var(--sskeii-foreground);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* === Timeline (Shipment Tracking) === */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #dee2e6;
}

.timeline-item {
  position: relative;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #dee2e6;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #dee2e6;
}

.timeline-item.active::before {
  background: var(--sskeii-accent);
  box-shadow: 0 0 0 2px var(--sskeii-accent);
}

.timeline-item.completed::before {
  background: #198754;
  box-shadow: 0 0 0 2px #198754;
}

/* === CTA Section === */
.cta-section {
  background: linear-gradient(135deg, var(--sskeii-accent) 0%, var(--sskeii-primary) 50%, var(--sskeii-secondary) 100%);
}

.cta-title {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.cta-subtitle {
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
  font-size: 1.2rem;
}

.cta-outline-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-outline-btn:hover {
  background-color: white;
  color: var(--sskeii-primary);
  border-color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* === Statistics Section === */
.statistics-section .stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--sskeii-accent);
}

.statistics-section .stat-label {
  font-size: 1rem;
  color: #6c757d;
}

/* === Section Titles === */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

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

/* === WhatsApp Floating Button === */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  background-color: #128C7E;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float:active {
  transform: scale(0.95);
}

/* WhatsApp Button Animation */
.whatsapp-float::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25D366;
  animation: whatsapp-pulse 2s infinite;
  z-index: -1;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}

/* RTL Support for WhatsApp Button */
[dir="rtl"] .whatsapp-float {
  left: auto;
  right: 30px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  [dir="rtl"] .whatsapp-float {
    left: auto;
    right: 20px;
  }
}
