/* Aesthetic Decorations for Header & Footer */

/* --- HEADER GLASSMORPHISM & ANIMATIONS --- */
.header {
  background-color: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
}

html.dark-mode .header {
  background-color: rgba(26, 26, 26, 0.85) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(68, 68, 68, 0.3);
}

/* Header Nav Links Hover Animation (Top Level Only) */
.navbar .nav-menu > li > a:not(.getstarted):not(.user-profile-btn):not(.search-icon-toggle) {
  position: relative;
  transition: color 0.3s ease;
}

.navbar .nav-menu > li > a:not(.getstarted):not(.user-profile-btn):not(.search-icon-toggle)::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  display: block;
  bottom: -2px;
  right: 0;
  background: var(--color-link, #4154f1);
  transition: width 0.3s ease, right 0.3s ease;
  border-radius: 2px;
}

.navbar .nav-menu > li > a:not(.getstarted):not(.user-profile-btn):not(.search-icon-toggle):hover::after,
.navbar .nav-menu > li > a.active:not(.getstarted):not(.user-profile-btn):not(.search-icon-toggle)::after,
.navbar .nav-menu > li:hover > a:not(.getstarted):not(.user-profile-btn):not(.search-icon-toggle)::after {
  width: 100%;
  left: 0;
  right: auto;
}

/* Dropdown Sub-menu Hover */
.navbar .dropdown ul li a {
  transition: background-color 0.3s ease, color 0.3s ease, padding-left 0.3s ease;
}

.navbar .dropdown ul li a:hover {
  padding-left: 25px;
  background-color: rgba(65, 84, 241, 0.05);
  color: var(--color-link, #4154f1);
}
html.dark-mode .navbar .dropdown ul li a:hover {
  background-color: rgba(138, 154, 255, 0.05);
}

/* Header Logo Hover */
.header .logo img {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.header .logo:hover img {
  transform: scale(1.1) rotate(-3deg);
}


/* --- FOOTER DECORATIONS --- */
#footer {
  background: linear-gradient(135deg, #ffffff 0%, #f1f4f9 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

html.dark-mode #footer {
  background: linear-gradient(135deg, #1f1f1f 0%, #121212 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Subtle glow at the top of the footer */
#footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-link, #4154f1), transparent);
  opacity: 0.5;
}

/* Social Links Animation */
#footer .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(65, 84, 241, 0.1);
  color: var(--color-link, #4154f1);
  margin-right: 8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-size: 18px;
}

html.dark-mode #footer .social-links a {
  background: rgba(138, 154, 255, 0.1);
}

#footer .social-links a:hover {
  background: var(--color-link, #4154f1);
  color: #fff;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(65, 84, 241, 0.4);
}

/* Footer Links Hover */
#footer .footer-links ul li {
  transition: transform 0.3s ease;
}

#footer .footer-links ul li:hover {
  transform: translateX(8px);
}

#footer .footer-links ul li a {
  transition: color 0.3s ease;
}

#footer .footer-links ul li a:hover {
  color: var(--color-link, #4154f1);
}

/* --- BUTTON REFINEMENTS --- */
.btn {
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid transparent;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.btn:focus, .btn:active {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(65, 84, 241, 0.25);
}
.btn-primary {
  background-color: var(--color-link, #4154f1);
  border-color: var(--color-link, #4154f1);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--color-link-hover, #717ff5);
  border-color: var(--color-link-hover, #717ff5);
}


/* --- MEGA MENU --- */
.navbar .mega-dropdown > ul {
  min-width: 450px;
  padding: 15px;
  columns: 2;
  column-gap: 20px;
}
.navbar .mega-dropdown > ul > li {
  break-inside: avoid;
}
@media (max-width: 991px) {
  .navbar .mega-dropdown > ul {
    columns: 1;
    min-width: auto;
  }
}


.hover-bg-light {
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.hover-bg-light:hover {
  background-color: rgba(65, 84, 241, 0.08) !important;
  transform: translateX(4px);
  color: var(--color-link, #4154f1) !important;
}
html.dark-mode .hover-bg-light:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
}


/* --- PREMIUM HERO GRID --- */
.hero-category-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
}
.hero-category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(65, 84, 241, 0.15);
}
html.dark-mode .hero-category-card {
  background: rgba(30, 30, 45, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}
html.dark-mode .hero-category-card:hover {
  box-shadow: 0 20px 50px rgba(192, 38, 211, 0.2);
  border-color: rgba(192, 38, 211, 0.3);
}

.hero-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.hero-icon-primary { background: linear-gradient(135deg, #4154f1, #2737c4); color: #fff; }
.hero-icon-success { background: linear-gradient(135deg, #2eca6a, #1a9e50); color: #fff; }
.hero-icon-warning { background: linear-gradient(135deg, #ffb703, #f57c00); color: #fff; }
.hero-icon-danger  { background: linear-gradient(135deg, #f03c3c, #c91818); color: #fff; }

.hero-category-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-secondary, #012970);
}
html.dark-mode .hero-category-title { color: #f8f9fa; }

.hero-link-list { list-style: none; padding: 0; margin: 0; }
.hero-link-list li { margin-bottom: 12px; }
.hero-link-list a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  color: var(--color-default, #444444);
  background: rgba(0,0,0,0.03);
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
html.dark-mode .hero-link-list a {
  color: #e0e0e0;
  background: rgba(255,255,255,0.04);
}
.hero-link-list a:hover {
  background: linear-gradient(90deg, var(--color-primary, #4154f1), #2737c4);
  color: #fff !important;
  transform: translateX(6px);
  box-shadow: 0 4px 15px rgba(65, 84, 241, 0.2);
}
html.dark-mode .hero-link-list a:hover {
  background: linear-gradient(90deg, #c026d3, #9333ea);
  box-shadow: 0 4px 15px rgba(192, 38, 211, 0.3);
}
.hero-link-list a:hover i { color: #fff !important; }
.hero-link-list i {
  font-size: 20px;
  margin-right: 14px;
  transition: color 0.3s ease;
}

.hero-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-link-grid a {
  padding: 10px;
  font-size: 14px;
  justify-content: center;
  text-align: center;
}
.hero-link-grid a i { display: none; }


/* --- FIX HERO OVERLAP --- */
.hero {
  height: auto !important;
  min-height: 100vh;
  padding-top: 140px !important;
  padding-bottom: 80px !important;
  align-items: flex-start !important;
}


/* --- EXTRAORDINARY HERO --- */
.hero {
  background: #f3f4f9 !important;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero::before {
  display: none;
}
.hero::after {
  display: none;
}
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, 30px) scale(1.05); }
  100% { transform: translate(0, 0) scale(1); }
}

.hero h1 {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  line-height: 1.2 !important;
  color: #311D72;
  
  
  margin-bottom: 20px !important;
}

.hero h2 {
  font-size: 1.5rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  max-width: 800px;
  margin: 0 auto 30px auto !important;
}

.hero h3 {
  font-size: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #64748b !important;
  font-weight: 700 !important;
  border: none !important;
}

html.dark-mode .hero {
  background: #0f172a !important;
}
html.dark-mode .hero::before { display: none; }
html.dark-mode .hero::after { display: none; }
html.dark-mode .hero h1 {
  color: #f8fafc;
}
html.dark-mode .hero h2 { color: #cbd5e1 !important; }
html.dark-mode .hero h3 { color: #94a3b8 !important; }


/* --- FIX ICON GAPS AND COLORS --- */
.hero-icon-color-1 { color: #4154f1; }
.hero-icon-color-2 { color: #1a9e50; }
.hero-icon-color-3 { color: #f57c00; }
.hero-icon-color-4 { color: #c91818; }
.hero-link-grid a i { display: block !important; margin-right: 4px; font-size: 14px; }
.hero-link-grid a { padding: 8px; font-size: 13px; justify-content: flex-start; text-align: left; }


/* --- PREMIUM SECTION UPGRADES --- */

/* 1. Intro (Values) */
.values .box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.values .box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(192, 38, 211, 0.1);
  background: rgba(255, 255, 255, 0.9);
}
.values .box img { transition: transform 0.4s ease; }
.values .box:hover img { transform: scale(1.05); }

html.dark-mode .values .box {
  background: rgba(30, 30, 47, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
html.dark-mode .values .box:hover {
  background: rgba(40, 40, 60, 0.8);
  box-shadow: 0 20px 40px rgba(192, 38, 211, 0.2);
}

/* 2. Counts */
.counts {
  background: #f3f4f9;
  padding: 60px 0;
  border-top: 1px solid rgba(0,0,0,0.03);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}
.count-box {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.count-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(65, 84, 241, 0.1);
}
.count-box i {
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
  color: #c026d3;
  
  
}
.count-box span { font-weight: 800; font-size: 36px; color: #1e293b; }
.count-box p { margin: 0; font-size: 14px; font-weight: 600; color: #64748b; text-transform: uppercase; letter-spacing: 1px; }

html.dark-mode .counts { background: rgba(30, 30, 47, 0.4); border-color: rgba(255,255,255,0.05); }
html.dark-mode .count-box { background: rgba(20, 20, 30, 0.8); border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
html.dark-mode .count-box span { color: #f8fafc; }
html.dark-mode .count-box p { color: #94a3b8; }

/* 3. Updates */
.features .nav-pills {
  background: #f1f5f9;
  border-radius: 50px;
  padding: 5px;
  display: inline-flex;
  margin-bottom: 30px !important;
}
.features .nav-pills .nav-link {
  border-radius: 50px;
  color: #475569;
  font-weight: 600;
  padding: 10px 25px;
  transition: all 0.3s ease;
}
.features .nav-pills .nav-link.active {
  color: #c026d3;
  color: #fff;
  box-shadow: 0 4px 15px rgba(192, 38, 211, 0.3);
}
.features .tab-content {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
}
html.dark-mode .features .nav-pills { background: rgba(30,30,47,0.6); }
html.dark-mode .features .nav-pills .nav-link { color: #cbd5e1; }
html.dark-mode .features .tab-content { background: rgba(20,20,30,0.8); border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 10px 40px rgba(0,0,0,0.3); }

/* 4. Coverage (Services) */
.services .service-box {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  transition: all 0.3s ease;
}
.services .service-box:hover {
  transform: translateY(-8px);
  border-color: rgba(65, 84, 241, 0.3);
  box-shadow: 0 20px 40px rgba(65, 84, 241, 0.1);
}
.services .service-box.orange:hover { border-color: rgba(255, 121, 5, 0.3); box-shadow: 0 20px 40px rgba(255, 121, 5, 0.1); }
.services .service-box.green:hover { border-color: rgba(13, 178, 104, 0.3); box-shadow: 0 20px 40px rgba(13, 178, 104, 0.1); }
.services .service-box h3 { font-weight: 700; margin-top: 20px; }
.services .service-box .read-more {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  padding: 10px 20px;
  border-radius: 50px;
  color: #1e293b;
  font-weight: 600;
  transition: all 0.3s ease;
}
.services .service-box:hover .read-more { background: #4154f1; color: #fff; }
.services .service-box.orange:hover .read-more { background: #ff7905; color: #fff; }
.services .service-box.green:hover .read-more { background: #0db268; color: #fff; }

html.dark-mode .services .service-box { background: rgba(30, 30, 47, 0.6); border-color: rgba(255,255,255,0.05); }
html.dark-mode .services .service-box .read-more { background: rgba(255,255,255,0.1); color: #cbd5e1; }
html.dark-mode .services .service-box:hover .read-more { color: #fff; }

/* 5. Special (CTA) */
.special {
  color: #311D72;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  margin: 60px 15px;
}
.special::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%; width: 100%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 60%);
}
.special h3 { color: #fff !important; font-size: 36px; font-weight: 800; }
.special p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 0; }
.special .btn-primary {
  background: #fff;
  color: #4154f1;
  border: none;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.special .btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(0,0,0,0.3); }

html.dark-mode .special { background: #0f172a; }


/* --- DARK FOOTER --- */
.footer-dark { background: #0f172a; color: #f8fafc; }
.footer-dark h3, .footer-dark h4 { color: #fff !important; }
.footer-dark .text-muted { color: #94a3b8 !important; }
.footer-dark a.text-decoration-none { color: #cbd5e1; transition: 0.3s; }
.footer-dark a.text-decoration-none:hover { color: #c026d3; }
.footer-dark .border-top { border-color: rgba(255, 255, 255, 0.1) !important; }
