/* ============================================
   Sellion Affiliate - Enhanced Styles
   ============================================ */

:root {
  --sellion-primary: #f7a500;
  --sellion-primary-dark: #e09400;
  --sellion-secondary: #1a1a2e;
  --sellion-accent: #ff6b00;
  --sellion-light: #fff8e7;
  --sellion-text: #2d2d2d;
  --sellion-gradient: linear-gradient(135deg, #f7a500 0%, #ff6b00 100%);
  --sellion-gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #2d2d44 100%);
  --sellion-shadow-sm: 0 2px 10px rgba(247, 165, 0, 0.1);
  --sellion-shadow-md: 0 8px 30px rgba(247, 165, 0, 0.15);
  --sellion-shadow-lg: 0 15px 50px rgba(247, 165, 0, 0.2);
}

/* ============================================
   Smooth Scroll & Body
   ============================================ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Cairo', 'Open Sans', sans-serif;
  overflow-x: hidden;
}

/* ============================================
   Enhanced Navbar
   ============================================ */
#header {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(247, 165, 0, 0.1) !important;
  padding: 10px 0 !important;
}

#header.header-scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08) !important;
  padding: 8px 0 !important;
}

#header .logo img {
  transition: transform 0.3s ease, filter 0.3s ease;
  max-height: 55px;
}

#header .logo:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 4px 12px rgba(247, 165, 0, 0.4));
}

/* Animated underline on nav links */
#navbar ul li a.nav-link {
  position: relative;
  transition: color 0.3s ease;
  color: var(--sellion-text);
  font-weight: 600;
  padding: 8px 4px !important;
}

#navbar ul li a.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--sellion-gradient);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
  border-radius: 2px;
}

#navbar ul li a.nav-link:hover::after,
#navbar ul li a.nav-link.active::after {
  width: 80%;
}

#navbar ul li a.nav-link:hover,
#navbar ul li a.nav-link.active {
  color: var(--sellion-primary);
}

/* Enhanced "Get Started" button */
#navbar ul li a.getstarted {
  background: var(--sellion-gradient) !important;
  color: #fff !important;
  padding: 10px 25px !important;
  border-radius: 50px !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(247, 165, 0, 0.4);
}

#navbar ul li a.getstarted::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

#navbar ul li a.getstarted:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(247, 165, 0, 0.5);
}

#navbar ul li a.getstarted:hover::before {
  left: 100%;
}

/* ============================================
   Hero Section Enhancements
   ============================================ */
#hero {
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(247, 165, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBg 20s ease-in-out infinite;
  z-index: 0;
}

#hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBg 25s ease-in-out infinite reverse;
  z-index: 0;
}

@keyframes floatBg {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -30px) scale(1.1); }
}

#hero .container {
  position: relative;
  z-index: 1;
}

#hero h1 {
  background: var(--sellion-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800 !important;
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

#hero p {
  animation: slideInRight 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

#hero img {
  animation: floatImg 4s ease-in-out infinite;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* ============================================
   Buttons Enhancement
   ============================================ */
.btn-get-started {
  background: var(--sellion-gradient) !important;
  border: none !important;
  padding: 12px 32px !important;
  border-radius: 50px !important;
  color: #fff !important;
  font-weight: 700 !important;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 6px 20px rgba(247, 165, 0, 0.35);
  display: inline-block;
  margin: 6px 4px !important;
  text-decoration: none;
}

.btn-get-started::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-get-started:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(247, 165, 0, 0.5);
  color: #fff !important;
}

.btn-get-started:hover::before {
  width: 300px;
  height: 300px;
}

.btn-get-started:active {
  transform: translateY(-1px) scale(0.98);
}

/* ============================================
   Section Titles
   ============================================ */
.section-title h2 {
  position: relative;
  display: inline-block;
  font-weight: 800 !important;
  color: var(--sellion-secondary);
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 60px;
  height: 4px;
  background: var(--sellion-gradient);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: titleLine 1.5s ease-in-out infinite alternate;
}

@keyframes titleLine {
  0% { width: 60px; }
  100% { width: 100px; }
}

.section-title p {
  color: var(--sellion-primary) !important;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ============================================
   Service Icon Boxes
   ============================================ */
.services .icon-box {
  background: #fff;
  border-radius: 20px;
  padding: 30px 25px !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(247, 165, 0, 0.08);
}

.services .icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--sellion-gradient);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.services .icon-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(247, 165, 0, 0.2);
  border-color: rgba(247, 165, 0, 0.3);
}

.services .icon-box:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.services .icon-box .icon {
  transition: transform 0.5s ease;
}

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

.services .icon-box h4 {
  font-weight: 700 !important;
  color: var(--sellion-secondary) !important;
  transition: color 0.3s ease;
}

.services .icon-box:hover h4 {
  color: var(--sellion-primary) !important;
}

/* ============================================
   About Section
   ============================================ */
.about img,
#why img {
  border-radius: 20px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about img:hover,
#why img:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 50px rgba(247, 165, 0, 0.2);
}

/* ============================================
   How It Works Section
   ============================================ */
#how .container {
  padding: 40px 0;
}

#how .title {
  font-weight: 700;
  transition: color 0.3s ease;
}

#how .icon-box:hover .title {
  color: var(--sellion-primary);
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-list li {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 15px !important;
  padding: 20px !important;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid rgba(247, 165, 0, 0.08);
}

.faq-list li:hover {
  box-shadow: 0 8px 25px rgba(247, 165, 0, 0.15);
  border-color: rgba(247, 165, 0, 0.3);
}

.faq-list a {
  color: var(--sellion-secondary) !important;
  font-weight: 600 !important;
}

/* ============================================
   ENHANCED FOOTER
   ============================================ */
#footer {
  background: var(--sellion-gradient-dark) !important;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--sellion-gradient);
}

#footer::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(247, 165, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: floatBg 15s ease-in-out infinite;
}

#footer .footer-top {
  padding: 70px 0 40px !important;
  background: transparent !important;
  position: relative;
  z-index: 1;
}

#footer .footer-top .section-title h2 {
  color: #fff !important;
  font-size: 28px !important;
  margin-bottom: 30px;
}

#footer .footer-top .section-title h2::after {
  background: var(--sellion-gradient);
}

#footer h4 {
  color: var(--sellion-primary) !important;
  font-weight: 700;
  margin-bottom: 20px;
  font-size: 18px;
  position: relative;
  padding-bottom: 10px;
}

#footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 40px;
  height: 3px;
  background: var(--sellion-gradient);
  border-radius: 2px;
}

#footer .footer-col {
  margin-bottom: 30px;
}

#footer .footer-col p,
#footer .footer-col li {
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  font-size: 14px;
}

#footer .footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-col ul li {
  padding: 6px 0;
  transition: all 0.3s ease;
}

#footer .footer-col ul li a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

#footer .footer-col ul li a::before {
  content: '◂';
  color: var(--sellion-primary);
  margin-left: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

#footer .footer-col ul li a:hover {
  color: var(--sellion-primary);
  transform: translateX(-5px);
}

#footer .footer-col ul li a:hover::before {
  transform: translateX(-3px);
}

#footer .contact-info i {
  color: var(--sellion-primary);
  font-size: 18px;
  margin-left: 10px;
}

/* Social Links Enhancement */
#footer .social-links {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

#footer .social-links a {
  width: 45px;
  height: 45px;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08) !important;
  color: #fff !important;
  font-size: 20px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  margin: 0 !important;
}

#footer .social-links a:hover {
  background: var(--sellion-gradient) !important;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(247, 165, 0, 0.4);
  border-color: transparent;
}

#footer .social-links a i {
  transition: transform 0.3s ease;
}

/* Footer Bottom (copyright) */
#footer .footer-bottom {
  background: rgba(0, 0, 0, 0.3);
  padding: 25px 0;
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#footer .copyright,
#footer .credits {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 14px;
}

#footer .copyright strong span {
  color: var(--sellion-primary) !important;
  font-weight: 700;
}

#footer .credits a {
  color: var(--sellion-primary) !important;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

#footer .credits a:hover {
  color: #fff !important;
}

/* ============================================
   Back to Top Button
   ============================================ */
.back-to-top {
  background: var(--sellion-gradient) !important;
  width: 45px !important;
  height: 45px !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 25px rgba(247, 165, 0, 0.4) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border: none !important;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 30px rgba(247, 165, 0, 0.6) !important;
}

.back-to-top i {
  color: #fff !important;
  font-size: 26px !important;
}

/* ============================================
   Loading Animations on Scroll
   ============================================ */
[data-aos="fade-up"] {
  transform: translateY(40px);
  opacity: 0;
  transition: transform 0.8s, opacity 0.8s;
}

[data-aos="fade-up"].aos-animate {
  transform: translateY(0);
  opacity: 1;
}

/* ============================================
   Mobile Navigation Enhancement
   ============================================ */
.mobile-nav-toggle {
  color: var(--sellion-primary) !important;
  font-size: 28px !important;
  transition: transform 0.3s ease;
}

.mobile-nav-toggle:hover {
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .navbar-mobile {
    background: rgba(26, 26, 46, 0.95) !important;
    backdrop-filter: blur(15px);
  }

  .navbar-mobile ul li a {
    color: #fff !important;
  }

  .navbar-mobile ul li a:hover {
    color: var(--sellion-primary) !important;
  }
}

/* ============================================
   Selection Color
   ============================================ */
::selection {
  background: var(--sellion-primary);
  color: #fff;
}

::-moz-selection {
  background: var(--sellion-primary);
  color: #fff;
}

/* ============================================
   Custom Scrollbar
   ============================================ */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f8f9fa;
}

::-webkit-scrollbar-thumb {
  background: var(--sellion-gradient);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--sellion-primary-dark);
}

/* ============================================
   Pulse animation for important elements
   ============================================ */
@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 15px rgba(247, 165, 0, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(247, 165, 0, 0.6);
  }
}

#navbar ul li a.getstarted {
  animation: pulse 2.5s ease-in-out infinite;
}

/* ============================================
   Logo float animation in header
   ============================================ */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

#header .logo img {
  animation: logoFloat 3s ease-in-out infinite;
}

#header .logo:hover img {
  animation: none;
}

/* ============================================
   Responsive tweaks
   ============================================ */
@media (max-width: 768px) {
  .section-title h2 {
    font-size: 24px !important;
  }

  #hero h1 {
    font-size: 32px !important;
  }

  .btn-get-started {
    padding: 10px 24px !important;
    font-size: 14px !important;
  }

  #footer .footer-top {
    padding: 50px 0 30px !important;
  }
}
