/* FusionGridTek - Purple Theme - Complete Working Design */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --primary-purple: #6B21A8;
  --secondary-purple: #9333EA;
  --light-purple: #A855F7;
  --dark-purple: #581C87;
  --accent-cyan: #06B6D4;
  --white: #FFFFFF;
  --light-bg: #FAF5FF;
  --gray-100: #F3F4F6;
  --gray-500: #6B7280;
  --gray-600: #475569;
  --gray-700: #374151;
  --gray-900: #111827;
  --gradient-primary: linear-gradient(135deg, #6B21A8 0%, #9333EA 50%, #A855F7 100%);
  --shadow: 0 4px 6px -1px rgba(107, 33, 168, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(107, 33, 168, 0.15);
  --shadow-lg: 0 20px 25px -5px rgba(107, 33, 168, 0.2);
  --shadow-xl: 0 25px 50px -12px rgba(107, 33, 168, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

/* Navigation */
.navbar {
  background: var(--white);
  box-shadow: var(--shadow);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 0;
}

.navbar .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

.navbar-brand {
  padding: 12px 0;
}

.navbar-brand img {
  height: 50px;
}

.navbar-toggler {
  border: 2px solid var(--primary-purple);
  padding: 8px 12px;
  border-radius: 6px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(107, 33, 168, 0.1);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(107, 33, 168, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav .nav-link {
  color: var(--gray-700);
  font-weight: 500;
  font-size: 16px;
  padding: 24px 20px;
  position: relative;
  transition: var(--transition);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transform: translateX(-50%);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-purple);
}

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

/* Hero Slider */
.hero-slider {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 74px;
}

.slide {
  min-height: 100vh;
  display: none;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.slide.active {
  display: flex;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.95) 0%, rgba(147, 51, 234, 0.7) 100%);
}

.slide-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slide-content p {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 35px;
  color: rgba(255, 255, 255, 0.95);
}

/* Slider Controls */
.slider-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 36px;
  border-radius: 6px;
  background: var(--white);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.slider-arrow.prev {
  left: 30px;
}

.slider-arrow.next {
  right: 30px;
}

/* Buttons */
.btn-primary-custom {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 17px;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.btn-primary-custom:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
  color: var(--white);
}

.btn-outline-custom {
  background: transparent;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 17px;
  border: 2px solid var(--white);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-outline-custom:hover {
  background: var(--white);
  color: var(--primary-purple);
  transform: translateY(-3px);
}

/* Sections */
.section {
  padding: 90px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 5px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--gray-500);
  max-width: 750px;
  margin: 22px auto 0;
}

/* Cards */
.card-custom {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--gray-100);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.card-custom::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: var(--transition);
}

.card-custom:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.card-custom:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 36px;
  color: var(--white);
  transition: var(--transition);
}

.card-custom:hover .card-icon {
  transform: scale(1.15) rotate(-5deg);
}

.card-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 14px;
}

.card-text {
  color: var(--gray-600);
  line-height: 1.9;
}

/* Stats */
.stats-section {
  background: linear-gradient(135deg, rgba(107, 33, 168, 0.95) 0%, rgba(147, 51, 234, 0.7) 100%);
  color: var(--white);
  padding: 70px 0;
}

.stat-item {
  text-align: center;
  padding: 24px;
}

.stat-number {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  display: block;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 500;
  text-transform: uppercase;
}

/* FAQ */
.faq-item {
  background: var(--white);
  border-radius: 14px;
  margin-bottom: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.faq-question {
  padding: 22px 28px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--gray-900);
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--light-bg);
  color: var(--primary-purple);
}

.faq-question i {
  color: var(--primary-purple);
  transition: var(--transition);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-content {
  padding: 0 28px 22px;
  color: var(--gray-600);
  line-height: 1.9;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #581C87 0%, #6B21A8 100%);
  color: var(--white);
  padding: 70px 0 24px;
}

.footer-section {
  margin-bottom: 35px;
}

.footer-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 22px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--white);
  transform: translateX(6px);
  display: inline-block;
}

.social-icons {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--white);
  color: var(--primary-purple);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 28px;
  margin-top: 45px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid var(--gray-100);
  border-top-color: var(--primary-purple);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--white);
    padding: 20px;
    margin-top: 10px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }

  .navbar-nav .nav-link {
    padding: 14px 0;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero-slider {
    min-height: 90vh;
  }

  .section {
    padding: 60px 0;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .slider-arrow.prev {
    left: 15px;
  }

  .slider-arrow.next {
    right: 15px;
  }
}
