@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  background: #f8fafc;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #0f172a;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
}

.header-inner {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 220px;
  width: auto;
  object-fit: contain;
}

.footer-logo img {
  height: 220px;
}




.main-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: #475569;
}

.nav-links a:hover,
.nav-link-active {
  color: #2563eb;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link-with-caret {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-link-with-caret::after {
  content: '\f078'; /* FontAwesome chevron-down */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  transition: transform 0.2s;
}

.nav-item:hover .nav-link-with-caret::after {
  transform: rotate(180deg);
}

/* Mega Menu Container */
.mega-menu-container {
  display: flex;
  width: 960px; /* Slightly wider for better spacing */
  background: #ffffff;
  border-radius: 16px; /* Modern rounded corners */
  overflow: hidden;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1), 0 10px 20px -5px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

/* Sidebar (Left Side) */
.mega-menu-sidebar {
  width: 320px;
  background: #f8fafc;
  border-right: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  padding: 1rem 0;
  max-height: 600px;
  overflow-y: auto;
  /* Custom Scrollbar */
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.mega-menu-sidebar::-webkit-scrollbar {
  width: 4px;
}

.mega-menu-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.mega-menu-sidebar::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.mega-menu-item {
  position: static;
}

.mega-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.5rem;
  color: #64748b;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-left: 3px solid transparent;
}

.mega-menu-link i {
  width: 24px;
  text-align: center;
  color: #94a3b8;
  transition: all 0.2s ease;
  font-size: 1.1em;
}

/* Hover State for Sidebar Items */
.mega-menu-item:hover .mega-menu-link {
  background: #ffffff;
  color: #2563eb;
  border-left-color: #2563eb;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 10;
}

.mega-menu-item:hover .mega-menu-link i {
  color: #2563eb;
  transform: scale(1.1);
}

/* Chevron arrow on hover */
.mega-menu-link::after {
  content: '\f054'; /* fa-chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.75rem;
  margin-left: auto;
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.2s ease;
  color: #cbd5e1;
}

.mega-menu-item:hover .mega-menu-link::after {
  opacity: 1;
  transform: translateX(0);
  color: #2563eb;
}

/* Content Area (Right Side) */
.mega-menu-content {
  position: absolute;
  top: 0;
  right: 0;
  width: calc(100% - 320px);
  height: 100%;
  padding: 2.5rem;
  background: #ffffff;
  display: none;
  overflow-y: auto;
  animation: slideInFade 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background-image: radial-gradient(circle at top right, #f8fafc 0%, transparent 40%);
}

/* Show Content on Hover */
.mega-menu-item:hover .mega-menu-content {
  display: block;
}

.mega-menu-content h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mega-menu-content h4::before {
  content: '';
  display: block;
  width: 6px;
  height: 24px;
  background: #2563eb;
  border-radius: 3px;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.mega-menu-grid a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: #ffffff;
  border-radius: 12px;
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: 1px solid #f1f5f9;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.mega-menu-grid a i {
  color: #2563eb;
  font-size: 1rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.mega-menu-grid a:hover {
  background: #ffffff;
  color: #2563eb;
  border-color: #bfdbfe;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.15), 0 4px 10px -3px rgba(37, 99, 235, 0.1);
}

.mega-menu-grid a:hover i {
  background: #2563eb;
  color: #ffffff;
}

@keyframes slideInFade {
  from { opacity: 0; transform: translateX(10px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Mega Menu Dropdown Wrapper Adjustments */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
  width: auto;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  margin-top: 1rem;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown::before {
  display: none; /* Remove triangle */
}

/* Remove old styles */
.nav-dropdown-group, .nav-group-header, .nav-submenu-side, .nav-icon {
  display: block; /* Reset or handle specifically if needed, but classes are removed from HTML */

  width: 340px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  margin-left: 1rem;
  
  opacity: 0;
  visibility: hidden;
  transform: translateX(-10px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 101;
}

.nav-dropdown-group:hover .nav-submenu-side {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Links inside submenu */
.nav-submenu-side a {
  color: #64748b;
  font-size: 0.95rem;
  transition: all 0.2s;
  padding: 0.6rem 0.75rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.nav-submenu-side a:hover {
  color: #2563eb;
  background: #f8fafc;
  padding-left: 1rem;
}

.nav-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  transition: all 0.2s;
  font-size: 1rem;
  background: rgba(241, 245, 249, 0.5);
  border-radius: 6px;
}

.nav-submenu-side a:hover .nav-icon {
  color: #2563eb;
  background: #eff6ff;
  transform: scale(1.1) rotate(-5deg);
}

.icon-inline {
  color: #2563eb;
  width: 1.5em;
  height: 1.5em;
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.5rem;
  font-size: 0.9em;
}

/* Featured Column in Mega Menu */
.nav-dropdown-featured {
  background: #f8fafc;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
  height: 100%;
}

.featured-card {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.featured-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.featured-card:hover img {
  transform: scale(1.05);
}

.featured-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0));
  color: #ffffff;
}

.featured-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.featured-content p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.btn-sm-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: #2563eb;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.btn-sm-primary:hover {
  background: #1d4ed8;
  gap: 0.75rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-pill-watch {
  background: #fee2e2;
  color: #dc2626;
}

.nav-pill-watch:hover {
  background: #fecaca;
}

.nav-pill-support {
  background: #e0f2fe;
  color: #0284c7;
}

.nav-pill-support:hover {
  background: #bae6fd;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #0f172a;
  transition: 0.3s;
}

/* Hero Section with Slider */
.hero-section {
  position: relative;
  height: 90vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: #0f172a;
  color: #ffffff;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  z-index: 1;
}

.hero-slide.is-active {
  opacity: 1;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: transform 8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-slide.is-active .hero-slide-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
}

.hero-slide-container {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 10;
}

.hero-slide-content {
  max-width: 650px;
  animation: slideUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.hero-slide.is-active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
}

.hero-badge {
  display: inline-block;
  background: rgba(250, 204, 21, 0.2);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 0.5rem 1rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.hero-slide-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-slide-content p {
  font-size: 1.15rem;
  color: #cbd5e1;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: #2563eb;
  color: #ffffff;
  border: 2px solid #2563eb;
}

.btn-primary:hover {
  background: #1d4ed8;
  border-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.btn-outline-light {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline-light:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-light {
  background: #ffffff;
  color: #2563eb;
  border: 2px solid #ffffff;
}

.btn-light:hover {
  background: #e2e8f0;
  border-color: #e2e8f0;
  color: #1e40af;
}

/* Slider Controls */
.hero-controls {
  position: absolute;
  bottom: 140px;
  right: 80px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  z-index: 20;
}

.hero-nav-btn {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}

.hero-nav-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.hero-dots {
  display: flex;
  gap: 0.5rem;
}

.hero-dot {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}

.hero-dot.active {
  background: #ffffff;
  transform: scale(1.2);
}

/* Bottom Bar */
.hero-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  z-index: 20;
}

.hero-highlights {
  display: flex;
  justify-content: space-around;
  gap: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.highlight-icon {
  width: 40px;
  height: 40px;
  background: rgba(37, 99, 235, 0.2);
  color: #60a5fa;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.highlight-text {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  color: #ffffff;
}

.highlight-text strong {
  font-weight: 600;
}

.highlight-text span {
  color: #94a3b8;
  font-size: 0.8rem;
}

@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections General */
.section {
  padding: 5rem 0;
}

.section-alt {
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

.section-header {
  margin-bottom: 3rem;
  max-width: 700px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-size: 2.75rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.15rem;
  color: #64748b;
  line-height: 1.6;
}

.section-subtitle {
  display: block;
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2563eb;
  margin-bottom: 0.5rem;
}

/* About Section */
.about-section {
  background: #ffffff;
  overflow: hidden;
}

.about-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img-main img {
  width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.about-img-small {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  border: 8px solid #ffffff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.experience-badge {
  position: absolute;
  top: 10%;
  right: 10%;
  background: #2563eb;
  color: #ffffff;
  padding: 1.5rem;
  border-radius: 50%;
  width: 140px;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
  animation: float 3s ease-in-out infinite;
}

.exp-years {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-text {
  font-size: 0.75rem;
  font-weight: 500;
}

.about-features {
  display: grid;
  gap: 1rem;
  margin: 2rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  color: #334155;
}

.feature-item i {
  color: #10b981;
  font-size: 1.2rem;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* Looking For Section (Dark) */
.section-dark {
  background: #1e293b;
  color: #ffffff;
}

.text-light {
  color: #ffffff !important;
}

.text-light-muted {
  color: #94a3b8 !important;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.explore-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s;
  text-decoration: none;
}

.explore-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.explore-card .icon-box {
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.explore-card h3 {
  color: #ffffff;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.explore-card p {
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.explore-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #60a5fa;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Services Modern */
.services-section {
  background: #f8fafc;
}

.services-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-box {
  background: #ffffff;
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-box:hover {
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
  border-color: #2563eb;
}

.service-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #2563eb;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-box:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.service-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #64748b;
}

.service-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #2563eb;
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

/* Modern Licenses */
.license-grid-modern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: center;
}

.license-card-modern {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s ease;
}

.license-card-modern.featured {
  border: 2px solid #2563eb;
  box-shadow: 0 25px 50px -12px rgba(37, 99, 235, 0.15);
  transform: scale(1.05);
  position: relative;
}

.popular-tag {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: #facc15;
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.card-header i {
  font-size: 2.5rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.card-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.license-features {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  text-align: left;
}

.license-features li {
  margin-bottom: 0.75rem;
  color: #475569;
  font-size: 0.95rem;
}

.license-features i {
  color: #10b981;
  margin-right: 0.5rem;
}

.btn-outline-primary {
  border: 2px solid #2563eb;
  color: #2563eb;
  background: transparent;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s;
}

.btn-outline-primary:hover {
  background: #2563eb;
  color: #ffffff;
}

.full-width {
  width: 100%;
}

/* Partners Section */
.partners-section {
  padding: 2rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  background: #ffffff;
}

.partners-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.partners-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.partner-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  font-weight: 700;
  font-size: 1.25rem;
  transition: all 0.3s;
}

.partner-logo:hover {
  color: #64748b;
  transform: scale(1.05);
}

.partner-logo i {
  font-size: 1.75rem;
}

/* Process Section */
.process-section {
  background: #ffffff;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #e2e8f0;
  z-index: 0;
}

.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: #ffffff;
  padding: 1rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
  border: 4px solid #ffffff;
  box-shadow: 0 0 0 4px #e0f2fe;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.5;
}

/* FAQ Section */
.faq-section {
  background: #f8fafc;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-card {
  background: #ffffff;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  padding: 1rem 1.5rem;
  transition: all 0.3s;
}

.faq-card[open] {
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.faq-card summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1e293b;
}

.faq-card summary::-webkit-details-marker {
  display: none;
}

.faq-card summary i {
  color: #94a3b8;
  transition: transform 0.3s;
}

.faq-card[open] summary i {
  transform: rotate(180deg);
  color: #2563eb;
}

.faq-card p {
  margin-top: 1rem;
  color: #64748b;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --- NEW STYLES START --- */

/* Testimonials Redesign */
.testimonial-section {
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
}

.testimonial-wrapper {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 1rem;
}

.testimonial-card-modern {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.05);
  padding: 3rem;
  border-radius: 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.quote-icon {
  font-size: 2.5rem;
  color: #e0f2fe;
}

.testimonial-content p {
  font-size: 1.25rem;
  color: #334155;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  background: #2563eb;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #0f172a;
}

.rating {
  color: #facc15;
  font-size: 0.8rem;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.testimonial-nav:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.testimonial-nav-prev {
  left: -25px;
}

.testimonial-nav-next {
  right: -25px;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2e8f0;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.testimonial-dot.is-active {
  background: #2563eb;
  transform: scale(1.2);
}


/* Why UAE Redesign */
.why-uae-section {
  background: #f8fafc;
  padding: 5rem 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.benefits-list,
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #ffffff;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  font-weight: 600;
  color: #334155;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.benefit-item i {
  color: #2563eb;
  font-size: 1.25rem;
}

.why-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  text-align: center;
  transition: all 0.3s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.stat-card.highlight {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.stat-card .stat-icon {
  font-size: 2rem;
  color: #2563eb;
  margin-bottom: 1rem;
}

.stat-card.highlight .stat-icon {
  color: #ffffff;
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: #0f172a;
}

.stat-card.highlight h3 {
  color: #ffffff;
}

.stat-card p {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 500;
}

.stat-card.highlight p {
  color: #e0f2fe;
}


/* CTA Section Redesign */
.cta-section-modern {
  position: relative;
  padding: 6rem 0;
  background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #ffffff;
  text-align: center;
}

.cta-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(37, 99, 235, 0.85) 100%);
}

.cta-content-centered {
  position: relative;
  z-index: 10;
  max-width: 800px;
}

.cta-content-centered h2 {
  font-size: 3rem;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.cta-content-centered p {
  font-size: 1.25rem;
  color: #e2e8f0;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.cta-actions-row {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Footer & Other */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: flex-start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.contact-details {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: #111827;
}

.contact-details li {
  margin-bottom: 0.35rem;
}

/* Enhanced Footer Styles */
.site-footer {
  background: linear-gradient(to right, #0f172a, #1e293b);
  color: #e5e7eb;
  padding-top: 5rem;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
}

.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 40%),
                    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
  align-items: start;
}

.footer-col-brand p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 350px;
  font-size: 1.05rem;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.3rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.site-footer .footer-heading {
  font-size: 2.2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffffff 0%, #93c5fd 50%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  padding-bottom: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.site-footer .footer-heading::after {
  display: none;
}

.site-footer h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 40px;
  height: 3px;
  background: #2563eb;
  border-radius: 2px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

.social-links a:hover {
  background: #2563eb;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
  border-color: #2563eb;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #94a3b8;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.05rem;
}

.footer-links a i {
  font-size: 0.8rem;
  opacity: 0.5;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 8px;
}

.footer-links a:hover i {
  opacity: 1;
  color: #2563eb;
}

/* Contact Info */
.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  color: #94a3b8;
  font-size: 1.05rem;
}

.footer-contact-list i {
  color: #2563eb;
  font-size: 1.2rem;
  margin-top: 0.3rem;
}

.footer-contact-list a {
  color: #94a3b8;
  transition: color 0.3s;
}

.footer-contact-list a:hover {
  color: #ffffff;
}

/* Newsletter */
.footer-text {
  color: #94a3b8;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.footer-newsletter {
  position: relative;
  max-width: 300px;
}

.footer-newsletter input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  color: #ffffff;
  outline: none;
  transition: all 0.3s;
}

.footer-newsletter input:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: #2563eb;
}

.footer-newsletter button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #2563eb;
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.footer-newsletter button:hover {
  background: #1d4ed8;
  transform: translateY(-50%) scale(1.05);
}

/* Footer Bottom */
.footer-bottom {
  padding: 1.5rem 0;
  background: rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 1;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: #64748b;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #64748b;
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* Responsive Footer */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .site-footer h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .footer-col-brand p, .footer-newsletter {
    margin: 0 auto 1.5rem;
  }
  
  .social-links {
    justify-content: center;
  }
  
  .footer-contact-list li {
    justify-content: center;
    text-align: center;
  }
  
  .footer-bottom-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* --- Service Page Styles --- */

/* Page Hero */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  min-height: 60vh;
  display: flex;
  align-items: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.2) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

/* Hero Background Images with Overlay */
.page-hero-bg {
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(15, 23, 42, 0.75) 100%);
  z-index: -1;
  backdrop-filter: blur(2px);
}

.hero-company { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1920&q=80'); }
.hero-visa { background-image: url('https://images.unsplash.com/photo-1530521954074-e64f6810b32d?auto=format&fit=crop&w=1920&q=80'); }
.hero-finance { background-image: url('https://images.unsplash.com/photo-1554224155-98406858d0cb?auto=format&fit=crop&w=1920&q=80'); }
.hero-office { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80'); }
.hero-marketing { background-image: url('https://images.unsplash.com/photo-1460925895917-afdab827c52f?auto=format&fit=crop&w=1920&q=80'); }
.hero-tech { background-image: url('https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1920&q=80'); }
.hero-legal { background-image: url('https://images.unsplash.com/photo-1589829085413-56de8ae18c73?auto=format&fit=crop&w=1920&q=80'); }
.hero-media { background-image: url('https://images.unsplash.com/photo-1516035069371-29a1b244cc32?auto=format&fit=crop&w=1920&q=80'); }
.hero-contact { background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1920&q=80'); }

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 4px 6px rgba(0,0,0,0.1);
  letter-spacing: -0.02em;
}

.page-hero p {
  font-size: 1.25rem;
  color: #cbd5e1;
  max-width: 650px;
  line-height: 1.7;
  font-weight: 400;
}

/* Service Cards (used in sub-pages) */
.cards-grid {
  display: grid;
  gap: 2rem;
}

.cards-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
}

.service-card, .info-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover, .info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

.service-card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 70px;
  height: 70px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.1);
}

.service-card:hover .card-icon {
  background: #2563eb;
  color: #ffffff;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
}

.service-card h3, .info-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #0f172a;
  letter-spacing: -0.01em;
}

.service-card p, .info-card p {
  color: #64748b;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1rem;
  line-height: 1.6;
}

.service-card .text-link {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.2s;
  margin-top: auto;
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.service-card .text-link:hover {
  gap: 0.75rem;
  color: #1d4ed8;
}

/* Benefit Lists */
.benefits-list,
.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 2rem 0;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  background: #ffffff;
  border-color: #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  transform: translateX(5px);
}

.benefit-item i {
  color: #10b981;
  font-size: 1.25rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.benefit-item span {
  font-weight: 500;
  color: #334155;
  font-size: 1rem;
}

/* Section Alternatives */
.section-alt {
  background-color: #ffffff;
  border-top: 1px solid #f1f5f9;
  border-bottom: 1px solid #f1f5f9;
}

/* Lists */
.check-list, .highlight-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.check-list li, .highlight-list li {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1rem;
  color: #334155;
  font-size: 1.05rem;
}

.check-list li::before {
  content: '\f00c'; /* FontAwesome check */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #dcfce7;
  color: #16a34a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.highlight-list li::before {
  content: '\f054'; /* FontAwesome chevron-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 4px;
  width: 24px;
  height: 24px;
  background: #eff6ff;
  color: #2563eb;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* CTA Section Modern */
.cta-section-modern {
  position: relative;
  padding: 5rem 0;
  background-color: #0f172a;
  color: #ffffff;
  overflow: hidden;
  text-align: center;
  margin-top: 4rem;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%), url('../images/dubai-skyline.jpg'); /* Fallback image path, though gradient covers mostly */
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cta-content-centered {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content-centered h2 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-content-centered p {
  color: #e2e8f0;
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
}

.cta-actions-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

/* CTA Section Legacy Support (styled to match modern) */
.cta-section {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #ffffff;
  padding: 4rem 0;
  margin-top: 4rem;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.cta-inner p {
  color: #cbd5e1;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}


/* Media Queries */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.3fr);
  }

  .hero-sidecard {
    order: -1;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-container, 
  .why-grid, 
  .reverse-layout {
    grid-template-columns: 1fr;
  }

  .cards-grid.three-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .license-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .testimonial-nav {
    display: none; /* Hide arrows on tablet/mobile */
  }
}

@media (max-width: 1024px) {
  .main-nav {
    position: absolute;
    inset: 56px 0 auto 0;
    flex-direction: column;
    background: #ffffff;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.6);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
    gap: 0;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
    gap: 0;
  }
  
  .nav-links > a,
  .nav-link-with-caret {
    width: 100%;
    padding: 0.8rem 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1rem;
  }
  
  .nav-dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    padding: 0;
    width: 100%;
    gap: 0;
    display: none; 
    margin-top: 0;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
  }

  /* Show dropdown content inline for mobile when toggled */
  .nav-item.dropdown-open .nav-dropdown {
    display: flex;
    flex-direction: column;
    padding: 0;
    border: none;
    background: transparent;
  }

  /* Mega Menu Mobile Adaptations */
  .mega-menu-container {
    width: 100%;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
  }

  .mega-menu-sidebar {
    width: 100%;
    border-right: none;
    max-height: none;
    background: transparent;
    padding: 0;
  }

  .mega-menu-link {
    padding: 0.75rem 0.5rem;
    border-left: none;
    border-bottom: 1px solid #f1f5f9;
  }

  .mega-menu-link:hover {
    background: transparent;
    color: #2563eb;
    box-shadow: none;
  }
  
  .mega-menu-link::after {
    display: none;
  }

  /* Hide complex content on mobile to keep menu manageable */
  .mega-menu-content {
    display: none !important; 
  }

  /* If we want to support sub-items on mobile, we'd need a JS toggle. 
     For now, clicking the category link navigates to the category page. */

  .nav-dropdown-featured {
    display: none;
  }
  
  .nav-dropdown-group {
    width: 100%;
  }
  
  .nav-group-header {
    padding: 0.75rem 0.5rem;
    color: #2563eb;
    font-weight: 600;
  }
  
  .nav-group-header:hover {
    background: transparent;
  }
  
  .nav-group-header .arrow-icon {
    display: none;
  }
  
  .nav-submenu-side {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 1rem;
    margin-left: 0;
    backdrop-filter: none;
    z-index: 1;
  }

  .nav-submenu-side a {
    padding: 0.5rem;
    background: transparent !important;
    padding-left: 0;
  }
  
  .nav-submenu-side a:hover {
    padding-left: 0.5rem;
    color: #2563eb;
  }

  .nav-actions {
    margin-top: 1rem;
    width: 100%;
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-section {
    padding-top: 2.75rem;
  }

  /* Removed duplicate nav-links and nav-actions styles */

  /* Removed duplicate hero-highlights and cards-grid styles (handled below) */

  /* Removed duplicate nav-dropdown styles */

  .hero-highlights {
    grid-template-columns: minmax(0, 1fr);
  }

  .cards-grid.three-col,
  .license-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  
  .explore-grid, 
  .services-grid-modern, 
  .license-grid-modern {
    grid-template-columns: 1fr;
  }
  
  .process-timeline {
    grid-template-columns: 1fr;
  }
  
  .process-timeline::before {
    display: none;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .why-grid,
  .about-container {
    gap: 2rem;
  }
  
  .testimonial-card-modern {
    padding: 2rem;
  }
  
  .cta-content-centered h2 {
    font-size: 2rem;
  }
  
  .cta-actions-row {
    flex-direction: column;
  }

  /* Service Pages Mobile */
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
  
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .page-hero {
    padding: 4rem 0 3rem;
  }
  
  .page-hero h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.25rem 0;
  }

  .hero-section {
    padding-bottom: 2.25rem;
  }

  .steps-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Scroll Reveal Animations */
.will-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.will-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid items */
.explore-card:nth-child(2),
.service-box:nth-child(2),
.license-card-modern:nth-child(2),
.process-step:nth-child(2),
.stat-card:nth-child(2) { transition-delay: 0.1s; }

.explore-card:nth-child(3),
.service-box:nth-child(3),
.license-card-modern:nth-child(3),
.process-step:nth-child(3),
.stat-card:nth-child(3) { transition-delay: 0.2s; }

.explore-card:nth-child(4),
.service-box:nth-child(4),
.process-step:nth-child(4),
.stat-card:nth-child(4) { transition-delay: 0.3s; }

.explore-card:nth-child(5),
.service-box:nth-child(5) { transition-delay: 0.4s; }

.explore-card:nth-child(6),
.service-box:nth-child(6) { transition-delay: 0.5s; }

/* Process Section - Aurora Holographic Design */
.process-section {
  padding: 8rem 0;
  background: #020617; /* Slate-950 */
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.process-section h2,
.process-section p {
  color: #ffffff;
}

/* Animated Aurora Background */
.process-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, transparent 0%, #020617 70%),
              conic-gradient(from 0deg at 50% 50%, #0f172a 0%, #1e3a8a 25%, #4f46e5 50%, #1e3a8a 75%, #0f172a 100%);
  opacity: 0.4;
  animation: auroraSpin 20s linear infinite;
  z-index: 0;
}

@keyframes auroraSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Overlay Mesh Pattern */
.process-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.process-section .section-header {
  position: relative;
  z-index: 2;
  margin-bottom: 5rem;
}

.process-section .section-subtitle {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #60a5fa;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(5px);
  box-shadow: 0 0 20px rgba(37, 99, 235, 0.2);
}

.process-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  position: relative;
  z-index: 2;
  padding: 0 1rem;
}

.process-card {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem 2.5rem;
  border-radius: 24px;
  position: relative;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Card Shine Effect */
.process-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: 0.5s;
  pointer-events: none;
}

.process-card:hover::before {
  left: 100%;
  transition: 0.7s ease-in-out;
}

/* Hover: Neon Glow */
.process-card:hover {
  transform: translateY(-15px);
  background: rgba(30, 41, 59, 0.8);
  border-color: rgba(96, 165, 250, 0.5);
  box-shadow: 
    0 20px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 30px rgba(37, 99, 235, 0.3),
    inset 0 0 2px rgba(255, 255, 255, 0.1);
}

.process-icon-wrapper {
  margin-bottom: 2.5rem;
  position: relative;
}

/* Ripple Animation REMOVED */
.process-icon-wrapper::after {
  content: none;
}

.process-card:hover .process-icon-wrapper::after {
  display: none;
}

.process-icon {
  width: 80px;
  height: 80px;
  background: #0f172a;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #60a5fa;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.process-card:hover .process-icon {
  background: #2563eb;
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.4);
}

.step-number {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #60a5fa;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid rgba(37, 99, 235, 0.2);
  margin-bottom: 1.5rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.05em;
}

.process-card:hover .step-number {
  background: #2563eb;
  color: #ffffff;
}

.process-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.process-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.process-card:hover h3 {
  background: linear-gradient(90deg, #ffffff, #93c5fd);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Final Step: Holographic Diamond */
.process-card.final-step {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.process-card.final-step .process-icon {
  color: #fbbf24;
  border-color: rgba(251, 191, 36, 0.3);
}

.process-card.final-step:hover {
  border-color: #fbbf24;
  box-shadow: 
    0 20px 50px -12px rgba(0, 0, 0, 0.7),
    0 0 40px rgba(251, 191, 36, 0.2),
    inset 0 0 2px rgba(251, 191, 36, 0.5);
}

.process-card.final-step:hover .process-icon {
  background: linear-gradient(135deg, #fbbf24, #d97706);
  color: #fff;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
}

/* Final Step Number - Remove Animation/Scale */
.process-card.final-step .step-number {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.1);
  border-color: rgba(251, 191, 36, 0.2);
}

.process-card.final-step:hover .step-number {
  background: #fbbf24;
  color: #0f172a;
  border-color: #fff;
}

.process-card.final-step:hover h3 {
  background: linear-gradient(90deg, #fbbf24, #fcd34d, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
  .process-section {
    padding: 5rem 0;
  }
  
  .process-flow {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .process-card {
    flex-direction: row;
    padding: 1.5rem;
    text-align: left;
    align-items: center;
    gap: 1.5rem;
    min-height: auto;
  }
  
  .process-icon-wrapper {
    margin-bottom: 0;
  }
  
  .process-icon-wrapper::after {
    display: none; /* Disable ripple on mobile */
  }
  
  .process-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  
  .step-number {
    position: static;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    margin-bottom: 0.5rem;
    display: inline-block;
  }
  
  .process-content {
    display: flex;
    flex-direction: column-reverse;
  }
  
  .process-card h3 {
    font-size: 1rem;
  }
}

/* Partners Slider Section */
.partners-section {
  padding: 3rem 0;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  overflow: hidden;
}

.partners-title {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.partners-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* Fade mask on sides */
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  gap: 4rem;
  width: max-content;
  animation: scrollPartners 40s linear infinite;
}

.partner-logo {
  flex: 0 0 auto;
  height: 40px;
  display: flex;
  align-items: center;
  filter: grayscale(100%) opacity(0.5);
  transition: all 0.3s;
}

.partner-logo:hover {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.partner-logo img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

@keyframes scrollPartners {
  to { transform: translateX(-50%); }
}
