/* ============================================
   DARK THEME STYLESHEET FOR INDUS INVESTMENT
   ============================================ */

/* Dark Theme Color Variables */
:root {
  /* Primary Dark Colors */
  --dark-bg-primary: #0f1419;        /* Main dark background */
  --dark-bg-secondary: #0d4376;      /* Secondary dark background */
  --dark-card-bg: #1e2431;           /* Card background */
  
  /* Text Colors */
  --dark-text-primary: #e8eaed;      /* Main text color */
  --dark-text-secondary: #fff;    /* Secondary text color */
  --dark-heading: #ffffff;            /* Heading color */
  
  /* Brand Colors (keeping original brand colors) */
  --brand-primary: #1f588f;
  --brand-secondary: #0e5c9e;
  --brand-accent: #0a4fd5;
  
  /* Border Colors */
  --dark-border: #2d3748;
  
  /* Shadow Colors for Dark Theme */
  --dark-shadow: rgba(0, 0, 0, 0.4);
}

/* Base Dark Theme Styles */
body.bg-dark-primary,
.bg-dark-primary {
  background-color: var(--dark-bg-primary) !important;
  color: var(--dark-text-primary);
}

.bg-dark-secondary {
  background-color: var(--dark-bg-secondary) !important;
}

.bg-dark-card {
  background-color: var(--dark-card-bg) !important;
}

/* Text Colors */
.text-dark-text {
  color: var(--dark-text-secondary) !important;
}

.text-dark-heading {
  color: var(--dark-heading) !important;
}

/* Border Colors */
.border-dark-border {
  border-color: var(--dark-border) !important;
}

/* Dark Gradient Background */
.bg-dark-gradient {
  background: linear-gradient(
    219deg, rgba(15, 20, 25, 0) 0%, rgba(30, 36, 49, 1) 100%) !important;
}

/* Service Link Dark Theme */
.service-link-dark {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: var(--dark-border);
  background-color: var(--dark-card-bg);
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  font-size: 18px;
  font-weight: 600;
  color: var(--dark-text-secondary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-link-dark:hover {
  background-color: rgba(31, 88, 143, 0.1);
  border-color: var(--brand-primary);
  color: var(--dark-text-primary);
  box-shadow: 0 1px 3px 0 var(--dark-shadow);
}

.service-link-dark.active {
  background-color: #fff;
  border-color: var(--brand-primary);
  color: #000;
  box-shadow: 0 1px 3px 0 var(--dark-shadow);
}

marquee{
  padding: 10px 0 !important;
}

 @media(max-width: 576px){
     marquee{
  padding: 2px 0 !important;
}
 }

/* Service Card Dark Theme */
.service-card-dark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  overflow: hidden;
  border-radius: 0.5rem;
  border-width: 1px;
  border-color: var(--dark-border);
  background-color: var(--dark-card-bg);
  padding-top: 2rem;
  padding-bottom: 2rem;
  padding-left: 0.75rem;
  padding-right: 0.75rem;
  text-align: center;
  box-shadow: 0 4px 6px -1px var(--dark-shadow);
  transition: all 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-dark:hover {
  transform: translateY(-10px);
  border-color: var(--brand-secondary);
  box-shadow: 0 10px 15px -3px var(--dark-shadow);
}

@media (min-width: 1024px) {
  .service-card-dark {
    max-width: 24rem;
  }
}

/* Attention Investor Section Dark Border Lines */
.attention-investor-sub-dark::after {
  position: absolute;
  left: 50%;
  bottom: 0px;
  z-index: -10;
  height: 91%;
  transform: translateX(-50%);
  border-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left-width: 10px;
  content: '';
  border-left-color: #fff;
}

.attention-investor-sub-dark::before {
  position: absolute;
  left: 50%;
  top: 0px;
  height: 50%;
  transform: translateX(-50%);
  border-radius: 20px;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  border-left-width: 10px;
  border-color: #fbfafa;
  content: '';
}

/* Button Styles - Dark Theme Compatible */
.btn-primary {
  border-radius: 10px;
  background-color: var(--brand-primary);
  padding: 0.75rem 1.75rem;
  font-size: 15px;
  font-weight: 500;
  color: #ffffff;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
  background-color: var(--brand-secondary);
  box-shadow: 0 4px 12px rgba(31, 88, 143, 0.4);
}

/* Track Button Animation */
.trk-btn {
  position: relative;
  z-index: 10;
  display: inline-block;
  overflow: hidden;
}

.trk-btn:after {
  position: absolute;
  left: -75px;
  top: -50px;
  z-index: -10;
  height: 155px;
  width: 50px;
  transform: rotate(35deg);
  background-color: rgb(255 255 255);
  opacity: 0.2;
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
  content: '';
}

.trk-btn:hover.trk-btn--primary:after {
  left: 120%;
  transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* Animation Classes */
@keyframes rotate {
  from {
    transform: rotate(360deg);
  }
}

.coin-animation {
  animation: rotate 7s cubic-bezier(0.41, 0.15, 0.64, 0.86) infinite alternate;
}

@keyframes moveX {
  0% {
    transform: translateX(30px);
  }

  50% {
    transform: translateX(0px);
  }

  75% {
    transform: translateX(30px);
  }

  100% {
    transform: translateX(0px);
  }
}

.move-animation {
  animation: moveX 15s linear alternate infinite;
}

/* Service Icon - Dark Theme */
.service-icon {
  display: flex;
  height: 85px;
  width: 85px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(31, 88, 143, 0.15);
  box-shadow: 0px 8px 24px rgba(31, 88, 143, 0.2);
}

/* Testimonial Slider Dark Theme */
.testimonial-slider .slick-list {
  margin-top: 20px;
}

/* Slick dots for dark theme */
.testimonial-slider .slick-dots li button:before {
  font-size: 12px;
  color: var(--brand-primary);
  opacity: 0.6;
}

/* Active dot */
.testimonial-slider .slick-dots li.slick-active button:before {
  color: var(--brand-secondary);
  opacity: 1;
}

/* Dark Theme Specific Overrides */
/* .bg-dark-primary a:not(.btn-primary):not(.service-link-dark) {
  color: var(--dark-text-primary);
} */

/* .bg-dark-secondary a:not(.btn-primary):not(.service-link-dark) {
  color: var(--dark-text-primary);
} */

 
/* Shadows for Dark Theme */
.shadow-lg {
  box-shadow: 0 10px 15px -3px var(--dark-shadow), 0 4px 6px -4px var(--dark-shadow);
}

.shadow-xl {
  box-shadow: 0 20px 25px -5px var(--dark-shadow), 0 8px 10px -6px var(--dark-shadow);
}

.shadow {
  box-shadow: 0 1px 3px 0 var(--dark-shadow), 0 1px 2px -1px var(--dark-shadow);
}

/* Testimonial Cards Dark Theme Enhancements */
.bg-dark-card.rounded-xl {
  background-color: var(--dark-card-bg);
  border: 1px solid var(--dark-border);
  transition: all 0.3s ease;
}

.bg-dark-card.rounded-xl:hover {
  border-color: rgba(31, 88, 143, 0.5);
  box-shadow: 0 8px 20px var(--dark-shadow);
}

/* Regulatory Section Cards Dark Theme */
.bg-dark-card.rounded-lg {
  background-color: var(--dark-card-bg);
  border: 1px solid var(--dark-border);
}

.bg-dark-card.rounded-lg:hover {
  background-color: var(--brand-primary) !important;
  border-color: var(--brand-primary);
}

/* Opacity Adjustments for Dark Theme */
.opacity-3 {
  opacity: 0.03;
}

.opacity-4 {
  opacity: 0.04;
}

.opacity-5 {
  opacity: 0.05;
}

/* Video Hero Section */
.hero_vid {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.hero_vid video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .service-link-dark {
    font-size: 16px;
    padding: 1rem;
  }
  
  .service-card-dark {
    padding: 1.5rem 1rem;
  }
}

@media (max-width: 640px) {
  .service-link-dark {
    font-size: 14px;
    padding: 0.875rem;
  }
}

/* Additional Dark Theme Utilities */
.bg-dark-primary .container {
  color: var(--dark-text-primary);
}

.bg-dark-secondary .container {
  color: var(--dark-text-primary);
}

/* Form Elements Dark Theme (if needed) */
input, textarea, select {
  background-color: var(--dark-card-bg);
  color: var(--dark-text-primary);
  border-color: var(--dark-border);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--brand-primary);
  background-color: var(--dark-bg-secondary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(31, 88, 143, 0.2);
}

/* Placeholder Text */
input::placeholder, textarea::placeholder {
  color: var(--dark-text-secondary);
  opacity: 0.6;
}

/* Scrollbar Dark Theme */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--dark-bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--dark-border);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--brand-primary);
}

/* Image Filters for Better Dark Theme Integration */
img {
  opacity: 0.9;
}

img:hover {
  opacity: 1;
}

/* Ensure Brand Colors Stay Vibrant */
.text-brand-primary {
  color: #fff !important;
}

span.text-brand-primary{
  color: #fff !important;
}

/* Background Animations Dark Theme */
@keyframes pulse-dark {
  0%, 100% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.08;
  }
}

.animate-pulse {
  animation: pulse-dark 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Hero Section Text Enhancement */
.hero_vid h1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

/* Footer Dark Theme Compatibility */
footer {
  background-color: #0f1419  !important;
  border-top: 1px solid var(--dark-border);
}

 

/* ============================================
   FIXED BOTTOM BUTTON WITH BLINK ANIMATION
   ============================================ */

/* Blink Background Animation - Brand Color to Black */
@keyframes blinkBg {
  0%, 100% {
    background-color: var(--brand-primary);
  }
  50% {
    background-color: #000000;
  }
}

/* Open Account Button Blink Class */
.open-account-btn-blink {
  animation: blinkBg 2s infinite;
  position: relative;
  overflow: hidden;
}

/* Stop animation on hover and change to white */
.open-account-btn-blink:hover {
  animation: none !important;
  background-color: #ffffff !important;
  color: var(--brand-primary) !important;
  transform: translateY(-2px);
}

.our_services a:hover{
  color: #333 !important;
  background-color: #fff;
}

 
.partners-slider .partner-logo {
  margin: 10px;
}
.partners-slider .partner-logo div{
  width: 100%;
}