/* ====================================================
   NIVA VENTURES - CUSTOM STYLES, ANIMATIONS & RESPONSIVE
==================================================== */

:root {
  --primary-accent: #ff7a00;
  --primary-gradient: linear-gradient(135deg, #ff7a00 0%, #ff5200 100%);
  --dark-bg: #0f172a;
  --card-bg: #ffffff;
  --card-dark-bg: #1f2937;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-light-gray: #f8fafc;
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 20px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 20px 30px -5px rgba(255, 122, 0, 0.22);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-lg: 16px;
  --radius-md: 12px;
}

/* Base Adjustments */
body {
  font-family: 'Poppins', 'Nunito Sans', sans-serif;
  color: var(--text-main);
  background-color: #f8fafc;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Glassmorphism utility */
.glass-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-md);
}

.glass-card-dark {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

/* Professional Hero Section */
.hero-slider-wrapper {
  position: relative;
  background: var(--dark-bg);
}

.hero-slide-single {
  min-height: 620px;
  display: flex !important;
  align-items: center;
  position: relative;
  padding: 100px 0;
  background-size: cover !important;
  background-position: center center !important;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.72) 100%);
  z-index: 1;
}

.hero-content-inner {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 122, 0, 0.18);
  border: 1px solid rgba(255, 122, 0, 0.4);
  color: #ff8a1a;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-description {
  font-size: 18px;
  color: rgba(241, 245, 249, 0.9);
  line-height: 1.7;
  max-width: 780px;
  margin: 0 auto 32px auto;
  font-weight: 400;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Floating Scroll To Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(255, 122, 0, 0.4);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 2px solid #ffffff;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 25px rgba(255, 122, 0, 0.6);
  color: #ffffff;
}

/* Header Tweaks */
.ltn__header-middle-area {
  transition: var(--transition-smooth);
}

.ltn__header-sticky.sticky-active {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.ltn__main-menu ul li a {
  font-weight: 600;
  transition: var(--transition-smooth);
  position: relative;
}

.ltn__main-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary-accent);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.ltn__main-menu ul li:hover a::after,
.ltn__main-menu ul li.active a::after {
  width: 80%;
}

/* Section Title Upgrades */
.section-title-wrapper {
  text-align: center;
  margin-bottom: 50px;
}

.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(255, 122, 0, 0.12);
  color: var(--primary-accent);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-heading-main {
  font-size: 36px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
}

.section-subtitle-main {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Services Cards Redesign */
.service-card-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid #e2e8f0;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(255, 122, 0, 0.4);
}

.service-card-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover .service-card-img-wrap img {
  transform: scale(1.08);
}

.service-card-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(15, 23, 42, 0.8);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

.service-card-body {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 122, 0, 0.1);
  color: var(--primary-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.service-card-modern:hover .service-icon-box {
  background: var(--primary-gradient);
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
}

.service-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.service-features-list li {
  font-size: 13px;
  color: #334155;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.service-features-list li i {
  color: var(--primary-accent);
  font-size: 12px;
}

.service-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 14px;
  color: var(--primary-accent);
  text-decoration: none;
  transition: var(--transition-smooth);
}

.service-link-btn:hover {
  color: #d96800;
  gap: 12px;
}

/* Feature Item Modern (Why Choose Us) */
.feature-item-modern {
  background: #ffffff;
  padding: 32px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e2e8f0;
  transition: var(--transition-smooth);
  height: 100%;
}

.feature-item-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-accent);
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(255, 122, 0, 0.05));
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--primary-accent);
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.feature-item-modern:hover .feature-icon-wrapper {
  background: var(--primary-gradient);
  color: #ffffff;
}

/* Counter Counterup Redesign */
.counter-box-modern {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: var(--transition-smooth);
}

.counter-box-modern:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.counter-box-icon {
  font-size: 36px;
  color: var(--primary-accent);
  margin-bottom: 12px;
}

.counter-number {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-label {
  font-size: 14px;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Form Styles */
.modern-form-container {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.modern-form-container .form-control {
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  padding: 12px 18px;
  font-size: 14px;
  margin-bottom: 16px;
  transition: var(--transition-smooth);
  background-color: #f8fafc;
}

.modern-form-container .form-control:focus {
  border-color: var(--primary-accent);
  box-shadow: 0 0 0 4px rgba(255, 122, 0, 0.15);
  background-color: #ffffff;
}

.btn-primary-gradient {
  background: var(--primary-gradient);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 10px;
  border: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.btn-primary-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 122, 0, 0.5);
  color: #ffffff;
}

/* Call to Action Banner */
.cta-banner-area {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-banner-area::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 122, 0, 0.25) 0%, rgba(255, 122, 0, 0) 70%);
  pointer-events: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-slide-single {
    min-height: 520px;
    padding: 70px 0;
  }
  .hero-title {
    font-size: 34px;
  }
  .hero-description {
    font-size: 16px;
  }
  .section-heading-main {
    font-size: 28px;
  }
  .modern-form-container {
    padding: 25px;
  }
}

@media (max-width: 767px) {
  .hero-slide-single {
    min-height: 460px;
    padding: 50px 0;
  }
  .hero-title {
    font-size: 26px;
  }
  .hero-description {
    font-size: 14px;
  }
  .section-heading-main {
    font-size: 24px;
  }
  .service-card-img-wrap {
    height: 180px;
  }
  .cta-banner-area {
    padding: 40px 20px;
    text-align: center;
  }
}
