/* ========================================
   services Page - Specific Styles
   ======================================== */

:root {
  --primary: #7b61ff;
  --secondary: #ff6fb1;
  --accent: #0ea5e9;
  --dark: #0f172a;
  --light: #f0f9ff;
  --gradient: linear-gradient(135deg, #7b61ff 0%, #ff6fb1 50%, #0ea5e9 100%);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Global Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font) !important;
  margin: 0;
  padding: 0;
  background: var(--dark) !important;
  color: #f0f0f5 !important;
  line-height: 1.6;
}

/* ========================================
   Header Styles
   ======================================== */

header {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 97, 255, 0.1);
  padding: 15px 0;
}

header .logo a {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-menu ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  color: #f0f0f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary);
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(123, 97, 255, 0.2);
  border-radius: 8px;
  padding: 10px 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-item:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
}

.dropdown-item {
  color: #f0f0f5 !important;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 13px;
}

.dropdown-item:hover,
.dropdown-item.active {
  color: var(--primary) !important;
  background: rgba(123, 97, 255, 0.1);
  padding-left: 25px;
}

.get-started-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.get-started-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(123, 97, 255, 0.3);
}

/* ========================================
   Services/Main Section
   ======================================== */

#main {
  min-height: 100vh;
  background: var(--dark);
  margin-top: 60px;
  padding: 80px 0;
  position: relative;
}

#main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  opacity: 0.03;
  z-index: 0;
  pointer-events: none;
}

.services {
  position: relative;
  z-index: 1;
}

.section-title {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 80px;
}

.section-title h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  font-size: 16px;
  color: #f0f0f5;
  margin: 0;
  margin-top: 30px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* ========================================
   Icon Box / Service Cards
   ======================================== */

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  margin-top: 50px;
}

.col-md-6 {
  width: 100%;
  display: flex;
}

.icon-box {
  display: flex;
  flex-direction: column;
  padding: 18px;
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.08) 0%, rgba(255, 107, 177, 0.08) 100%);
  border: 1.5px solid rgba(123, 97, 255, 0.15);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  min-height: auto;
  width: 100%;
}

.icon-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-box:hover {
  background: linear-gradient(135deg, rgba(123, 97, 255, 0.15) 0%, rgba(255, 107, 177, 0.15) 100%);
  border-color: rgba(123, 97, 255, 0.3);
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(123, 97, 255, 0.2);
}

.icon-box:hover::before {
  transform: scaleX(1);
}

.icon-box i {
  font-size: 36px;
  color: var(--primary);
  margin-bottom: 6px;
  display: inline-block;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
}

.icon-box:hover i {
  color: var(--primary);
  transform: translateX(3px);
}

.icon-box h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 4px 0 3px 0;
  line-height: 1.25;
  transition: color 0.3s ease;
}

.icon-box h4 a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.icon-box h4 a:hover {
  color: var(--primary);
}

.icon-box p {
  font-size: 12px;
  color: #f0f0f5;
  line-height: 1.5;
  margin: 0;
  transition: color 0.3s ease;
}

/* ========================================
   Footer Styles - CLEAN SLATE
   ======================================== */

footer {
  background: linear-gradient(135deg, #0f172a 0%, rgba(15, 23, 42, 0.95) 100%) !important;
  color: #ccc !important;
  padding: 60px 0 30px !important;
  margin: 0 !important;
  border: none !important;
  margin-top: 60px !important;
}

footer * {
  border: none !important;
  box-shadow: none !important;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  margin-bottom: 20px !important;
  padding-bottom: 0 !important;
  border: none !important;
  position: relative !important;
}

.footer-col h4::after {
  content: '' !important;
  display: block !important;
  width: 40px !important;
  height: 2px !important;
  background: var(--primary) !important;
  margin-top: 12px !important;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: #f0f0f5 !important;
  text-decoration: none !important;
  font-size: 13px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-col ul a:hover {
  color: var(--primary) !important;
  padding-left: 3px;
}

.footer-col ul a i {
  color: var(--primary);
  font-size: 12px;
}

.footer-col p {
  color: #f0f0f5;
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-col p strong {
  color: var(--primary);
}

.social-links {
  display: flex !important;
  gap: 10px !important;
  margin-top: 20px !important;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(123, 97, 255, 0.1) !important;
  color: var(--primary) !important;
  transition: all 0.3s ease !important;
  font-size: 18px !important;
  padding: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  border: none !important;
  line-height: 36px !important;
}

.social-links a:hover {
  background: var(--primary) !important;
  color: #fff !important;
  transform: translateY(-3px) !important;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  color: #d8d8e0;
  font-size: 13px;
}

/* ========================================
   Preloader
   ======================================== */

#preloader {
  display: none;
}

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1200px) {
  .row {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
  }

  .section-title h2 {
    font-size: 40px;
  }
}

@media (max-width: 992px) {
  .row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .icon-box {
    padding: 22px;
  }

  .section-title h2 {
    font-size: 36px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 12px 0;
  }

  .nav-menu {
    display: none !important;
  }

  #main {
    padding: 60px 0;
    margin-top: 60px;
  }

  .section-title {
    margin-bottom: 60px;
  }

  .section-title h2 {
    font-size: 28px;
  }

  .section-title p {
    font-size: 14px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .icon-box {
    padding: 16px;
  }

  .icon-box i {
    font-size: 32px;
    margin-bottom: 5px;
  }

  .icon-box h4 {
    font-size: 14px;
    margin: 3px 0 2px 0;
  }

  .icon-box p {
    font-size: 11px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

@media (max-width: 480px) {
  .section-title h2 {
    font-size: 20px;
  }

  .section-title h2::after {
    width: 60px;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .icon-box {
    padding: 25px;
  }

  .icon-box i {
    font-size: 50px;
    width: 55px;
    height: 55px;
    margin-bottom: 15px;
  }

  .icon-box h4 {
    font-size: 16px;
  }

  .icon-box p {
    font-size: 12px;
  }

  .footer-col {
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* ========================================
   Header Styles
   ======================================== */

header {
  background: rgba(15, 23, 42, 0.98) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 97, 255, 0.1);
}

header .logo a {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}




