/* Zenerom UAE Landing Pages - Main CSS Stylesheet */
/* Font loading is handled from HTML for better performance (preconnect + stylesheet). */


:root {
  /* Brand Color Palette */
  --primary: #0066FF;
  --primary-rgb: 0, 102, 255;
  --primary-light: #4D94FF;
  --primary-dark: #004ecc;
  --secondary: #00D084;
  --secondary-rgb: 0, 208, 132;
  --accent: #8A3FFC;
  --accent-rgb: 138, 63, 252;
  
  /* Dark Mode Backgrounds */
  --bg-dark: #070913;
  --bg-darker: #04050a;
  --bg-nav: rgba(7, 9, 19, 0.75);
  
  /* Glassmorphism Settings */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-bg-hover: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --glass-glow: rgba(0, 102, 255, 0.05);
  
  /* Text Colors */
  --text-white: #ffffff;
  --text-gray: #94A3B8;
  --text-muted: #64748B;
  
  /* Fonts */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --header-shrink-height: 70px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Global Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-gray);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  font-weight: 700;
  line-height: 1.25;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Scrollbar Style */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Layout Utilities */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  width: 100%;
}

.section-padding {
  padding: 100px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.text-center {
  text-align: center;
}

.max-w-600 {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Custom Text and Highlights */
.gradient-text {
  background: linear-gradient(135deg, var(--text-white) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-primary {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.accent-text {
  color: var(--primary);
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.2);
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  outline: none;
  gap: 10px;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 102, 255, 0.5);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-white);
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-2px);
}

.btn-accent {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(138, 63, 252, 0.3);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(138, 63, 252, 0.5);
}

/* Premium Card (Glassmorphism) */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);

  border-radius: 16px;
  padding: 32px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at top left, var(--glass-glow), transparent 60%);
  z-index: 0;
  pointer-events: none;
}

.glass-card > * {
  position: relative;
  z-index: 1;
}

.glass-card:hover {
  background: var(--glass-bg-hover);
  border-color: var(--glass-border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px 0 rgba(0, 102, 255, 0.15);
}

/* Background Blur Gradients */
.glow-blur {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.glow-primary {
  background: var(--primary);
}

.glow-secondary {
  background: var(--secondary);
}

.glow-accent {
  background: var(--accent);
}

/* Header / Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
}

header.scrolled {
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: var(--header-height);
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: var(--header-shrink-height);
}

/* Announcement Top Bar */
.zenerom-top-bar {
  background: linear-gradient(90deg, #070913 0%, rgba(255, 136, 0, 0.15) 50%, #070913 100%);
  border-bottom: 1px solid rgba(255, 136, 0, 0.25);
  padding: 8px 0;
  position: relative;
  z-index: 1001;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  max-height: 60px;
  display: flex;
  align-items: center;
}

header.scrolled .zenerom-top-bar {
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  border-bottom: 0 solid transparent;
  pointer-events: none;
}

.top-bar-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-white);
  padding-right: 30px;
}

.top-bar-badge {
  background: rgba(255, 136, 0, 0.15);
  border: 1px solid rgba(255, 136, 0, 0.4);
  color: #ffb020;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 12px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.top-bar-text {
  font-family: var(--font-body);
  font-weight: 500;
}

.top-bar-text strong {
  color: #ffb020;
  font-weight: 700;
}

.top-bar-btn {
  background: linear-gradient(135deg, #ff8800 0%, var(--accent) 100%);
  color: var(--text-white);
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 10px rgba(255, 136, 0, 0.2);
  transition: var(--transition-smooth);
}

.top-bar-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 136, 0, 0.4);
}

.top-bar-close {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  line-height: 1;
  transition: var(--transition-smooth);
}

.top-bar-close:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  .top-bar-content {
    font-size: 11px;
    gap: 10px;
    padding-right: 20px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-left: 16px;
    padding-right: 60px;
    scrollbar-width: none;
  }
  
  .top-bar-content::-webkit-scrollbar {
    display: none;
  }
  
  .top-bar-badge {
    padding: 3px 8px;
    font-size: 9px;
    flex-shrink: 0;
  }
  
  .top-bar-text {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .top-bar-btn {
    padding: 4px 8px;
    font-size: 10px;
    flex-shrink: 0;
    margin-right: 12px;
  }
  
  .top-bar-close {
    right: 12px;
  }
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  width: auto;
  transition: var(--transition-smooth);
}

header.scrolled .logo img {
  height: 35px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 15px;
  color: var(--text-gray);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-white);
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-white);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

/* Sections Common */
.section-title {
  font-size: 40px;
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}

.section-title span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  color: var(--primary-light);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-gray);
  margin-bottom: 60px;
}

/* Reduce expensive effects on mobile */
@media (max-width: 768px) {
  .glass-card,
  header.scrolled,
  .dashboard-mockup {
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
}

/* Scroll Reveal Animations (Native CSS & Fallback Hook) */
/* NOTE: Keep motion subtle to improve perceived hero quality/performance */
.reveal {

  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.65s cubic-bezier(0.215, 0.61, 0.355, 1), 
              transform 0.65s cubic-bezier(0.215, 0.61, 0.355, 1);
}


.reveal.revealed, .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Native Scroll-driven Animations Support */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-in {
      from {
        opacity: 0;
        transform: translateY(40px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    
    .scroll-animate {
      animation: reveal-in auto linear forwards;
      animation-timeline: view();
      animation-range: entry 10% entry 40%;
    }
  }
}

/* Zenerom Services Bottom Grid Section */
.zenerom-services-section {
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  border-top: 1px solid var(--glass-border);
  position: relative;
}

.services-intro {
  margin-bottom: 50px;
}

.service-mini-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-smooth);
}

.service-mini-card:hover {
  background: rgba(0, 102, 255, 0.04);
  border-color: rgba(0, 102, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 102, 255, 0.1);
}

.service-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(0, 102, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-light);
  font-size: 20px;
  transition: var(--transition-smooth);
}

.service-mini-card:hover .service-mini-icon {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
}

.service-mini-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.service-mini-desc {
  font-size: 14px;
  color: var(--text-gray);
}

/* Lead Form & Footer Contact Container */
.footer-contact-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: start;
}

.contact-info-block h3 {
  font-size: 28px;
  margin-bottom: 16px;
}

.contact-info-block p {
  color: var(--text-gray);
  margin-bottom: 32px;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
  border: 1px solid var(--glass-border);
}

.contact-detail-text h4 {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.contact-detail-text p, .contact-detail-text a {
  font-size: 16px;
  color: var(--text-white);
}

.contact-detail-text a:hover {
  color: var(--primary-light);
}

/* Glass Contact Form */
.contact-form-card {
  padding: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-white);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-white);
  font-family: var(--font-body);
  font-size: 15px;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--primary);
  outline: none;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 102, 255, 0.2);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

.form-submit-btn {
  width: 100%;
}

.form-success-message {
  display: none;
  padding: 16px;
  background: rgba(0, 208, 132, 0.1);
  border: 1px solid rgba(0, 208, 132, 0.3);
  border-radius: 8px;
  color: var(--secondary);
  font-weight: 500;
  text-align: center;
  margin-top: 15px;
}

/* Footer Copyright & Bottom Nav */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--glass-border);
  padding: 40px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-copy {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-logo {
  height: 30px;
  width: auto;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-link {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-link:hover {
  color: var(--text-white);
}

/* Modal Dialog */
.modal {
  border: none;
  border-radius: 16px;
  background: #0b0f1d;
  color: var(--text-white);
  max-width: 500px;
  width: calc(100% - 40px);
  margin: auto;
  padding: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--glass-border);
}

.modal::backdrop {
  background: rgba(4, 5, 10, 0.8);
  backdrop-filter: blur(8px);
}

.modal-header {
  padding: 24px 24px 16px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-gray);
  font-size: 24px;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
}

.modal-body {
  padding: 24px;
}

/* Google Reviews Slider/Grid */
.reviews-section {
  position: relative;
  background: radial-gradient(circle at 50% 50%, rgba(0, 208, 132, 0.04) 0%, transparent 60%);
  border-top: 1px solid var(--glass-border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.review-card {
  padding: 30px;
}

.review-stars {
  color: #FFC700;
  margin-bottom: 12px;
  font-size: 16px;
}

.review-author {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-white);
  font-size: 15px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-author-avatar {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 12px;
  font-weight: 700;
  border: 1px solid var(--glass-border);
}

.review-google-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Meet the Team Section */
.team-section {
  position: relative;
  background: radial-gradient(circle at 10% 90%, rgba(0, 102, 255, 0.05) 0%, transparent 50%);
  border-top: 1px solid var(--glass-border);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  text-align: center;
  padding: 30px 20px;
}

.team-avatar-container {
  width: 110px;
  height: 110px;
  margin: 0 auto 20px;
  position: relative;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  box-shadow: 0 8px 28px rgba(0, 102, 255, 0.25);
}

.team-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--bg-dark);
  background: var(--bg-dark);
}

.team-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.team-role {
  font-family: var(--font-heading);
  font-size: 12px;
  color: var(--primary-light);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.team-bio {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.5;
  margin-bottom: 16px;
  min-height: 54px;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--text-gray);
  transition: var(--transition-smooth);
}

.team-social-icon:hover {
  background: var(--primary);
  color: var(--text-white);
  border-color: var(--primary);
  transform: scale(1.1);
}

/* Case Study Cards Carousel */
.cs-carousel-wrap {
  position: relative;
  margin-top: 20px;
}

.case-studies-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.08);
  background: linear-gradient(135deg, rgba(0,102,255,0.08) 0%, rgba(138,63,252,0.06) 100%);
}

.case-studies-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 0.2px;
}

.case-studies-badge i {
  color: var(--secondary);
}

.case-studies-submeta {
  font-size: 13px;
  color: rgba(148, 163, 184, 0.92);
}

@media (max-width: 768px) {
  .case-studies-header {
    flex-direction: column;
    align-items: flex-start;
  }
}


.cs-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 12px 4px 20px;
}

.cs-carousel::-webkit-scrollbar { display: none; }

.cs-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 310px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  background: rgba(13, 20, 38, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 20px;
  min-height: 520px;
}

.cs-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(0, 102, 255, 0.15);
  border-color: rgba(0, 102, 255, 0.3);
}

.cs-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.cs-card:hover .cs-card-img {
  transform: scale(1.03);
}

.cs-card-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  height: 190px;
  background: linear-gradient(
    to top,
    rgba(7, 9, 19, 0.4) 0%,
    transparent 100%
  );
  transition: background 0.4s ease;
  border-radius: 12px;
  pointer-events: none;
  z-index: 1;
}

.cs-card-logo {
  position: absolute;
  top: 32px;
  left: 32px;
  height: 32px;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 1;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
  z-index: 3;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.cs-card:hover .cs-card-logo {
  transform: scale(1.05);
  border-color: #00D084;
  box-shadow: 0 4px 20px rgba(0, 208, 132, 0.3);
}

.cs-card-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 18%, rgba(0, 102, 255, 0.1) 0%, transparent 45%);
  pointer-events: none;
}

.cs-card-category {
  position: static;
  align-self: flex-start;
  margin: 16px 0 0 0;
  background: rgba(0, 102, 255, 0.1);
  border: 1px solid rgba(0, 102, 255, 0.25);
  color: #4d94ff;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
  z-index: auto;
}

.cs-card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: flex-start;
  gap: 12px;
  margin-top: 10px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
}

.cs-card-title {
  font-family: var(--font-heading);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 4px;
  min-height: 50px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cs-card-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 0;
  opacity: 1;
  transform: none;
}

.cs-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  background: rgba(0, 208, 132, 0.03);
  border: 1px solid rgba(0, 208, 132, 0.2);
  padding: 10px 14px;
  border-radius: 8px;
  text-align: left;
  transition: var(--transition-smooth);
}

.cs-card:hover .cs-stat {
  border-color: rgba(0, 208, 132, 0.4);
  background: rgba(0, 208, 132, 0.06);
}

.cs-stat-num {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 750;
  color: #00D084;
  line-height: 1.1;
}

.cs-stat-lbl {
  font-size: 9px;
  color: var(--text-gray);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
  font-weight: 600;
}

.cs-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: #4d94ff;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  text-decoration: none;
  transition: var(--transition-smooth);
  margin-top: auto;
  padding-top: 8px;
}

.cs-card-link i {
  transition: transform 0.3s ease;
}

.cs-card:hover .cs-card-link i {
  transform: translateX(4px);
}

.cs-card-link:hover {
  color: var(--secondary);
}

.cs-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
}

#case-study {
  background: radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.08) 0%, var(--bg-darker) 75%) !important;
}

.cs-dots {
  display: flex;
  gap: 8px;
}

.cs-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.cs-dots .dot.active {
  background: var(--secondary);
  width: 22px;
  border-radius: 4px;
}

.cs-btns {
  display: flex;
  gap: 10px;
}

.cs-btn {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 13px;
}

.cs-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 14px rgba(0,102,255,0.4);
}

@media (max-width: 900px) {
  .cs-card {
    flex: 0 0 calc(50% - 12px);
    min-width: 260px;
  }
}

@media (max-width: 600px) {
  .cs-card {
    flex: 0 0 85%;
  }
}

/* Case Study Showcase Detail Card */

.case-study-featured-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.case-study-badge {
  background: rgba(0, 208, 132, 0.1);
  border-color: rgba(0, 208, 132, 0.2);
  color: var(--secondary);
  margin-bottom: 15px;
}

.case-study-client-logo {
  height: 40px;
  margin-top: 15px;
  margin-bottom: 5px;
  object-fit: contain;
  display: block;
}

.case-study-metric-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 35px 0;
}

@media (min-width: 600px) {
  .case-study-metric-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.case-study-metric-card {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: inset 0 0 15px rgba(255, 255, 255, 0.01);
}

.case-study-metric-card:hover {
  border-color: rgba(0, 102, 255, 0.3);
  background: rgba(0, 102, 255, 0.04);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2), inset 0 0 15px rgba(0, 102, 255, 0.05);
}

.case-study-metric-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--secondary);
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 4px;
}

.case-study-metric-lbl {
  font-size: 13px;
  color: var(--text-gray);
  line-height: 1.3;
}

.case-study-image-wrapper {
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  position: relative;
  aspect-ratio: 1.4;
  background: rgba(255, 255, 255, 0.02);
}

.case-study-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  display: block;
}

.case-study-featured-card:hover .case-study-image-wrapper img {
  transform: scale(1.04);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .case-study-featured-card {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Home page enhancements (portal cards + why section) */
.portal-card {
  border-color: rgba(255, 255, 255, 0.08);
}

.portal-card--primary {
  border-color: rgba(0, 102, 255, 0.35);
  box-shadow: 0 0 0 1px rgba(0, 102, 255, 0.25), 0 14px 40px rgba(0, 102, 255, 0.12);
}

.portal-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.11);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  border: 1px solid rgba(0, 102, 255, 0.25);
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.portal-card-icon--accent {
  background: rgba(138, 63, 252, 0.10);
  color: #C9A7FF;
  border-color: rgba(138, 63, 252, 0.25);
}

.portal-card-icon--green {
  background: rgba(0, 208, 132, 0.10);
  color: #6FF0BF;
  border-color: rgba(0, 208, 132, 0.22);
}

.portal-card-kicker {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.portal-card-bullets {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 8px;
}

.portal-card-bullets li {
  color: rgba(148, 163, 184, 0.95);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-card-bullets li i {
  color: rgba(0, 208, 132, 0.9);
  font-size: 12px;
}

.portal-card:hover .portal-card-icon {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 102, 255, 0.18);
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0, 102, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  border: 1px solid rgba(0, 102, 255, 0.25);
}

.why-icon--accent {
  background: rgba(138, 63, 252, 0.12);
  color: #C9A7FF;
  border-color: rgba(138, 63, 252, 0.25);
}

.why-icon--green {
  background: rgba(0, 208, 132, 0.12);
  color: #6FF0BF;
  border-color: rgba(0, 208, 132, 0.22);
}

.why-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.why-li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(148, 163, 184, 0.95);
  font-size: 13.5px;
}

.why-li i {
  color: rgba(0, 102, 255, 0.95);
  font-size: 12px;
}

@media (max-width: 900px) {
  .portal-grid {
    grid-template-columns: 1fr !important;
  }
}


@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .grid-3 {
    grid-template-columns: 1fr;
  }
  
  .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  /* Mobile nav */
  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--bg-dark);
    flex-direction: column;
    padding: 40px 24px;
    align-items: flex-start;
    transition: var(--transition-smooth);
    border-top: 1px solid var(--glass-border);
    gap: 24px;
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta {
    display: none;
  }
  
  .nav-menu .btn {
    width: 100%;
    margin-top: 20px;
  }

  /* Avoid big desktop-only gaps/paddings on the carousel header */
  .case-studies-header {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Make carousel text more readable */
  .cs-card-title {
    font-size: 14px;
  }
}


/* Re-designed Team Section with Partners & Carousel */
.management-title-row {
  margin-top: 50px;
  margin-bottom: 25px;
  text-align: left;
  position: relative;
  border-left: 3px solid var(--secondary);
  padding-left: 15px;
}

.management-title-row h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--text-white);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.partner-card {
  border: 1px solid rgba(0, 102, 255, 0.2) !important;
  box-shadow: 0 10px 30px rgba(0, 102, 255, 0.03), inset 0 0 20px rgba(0, 102, 255, 0.02);
  background: rgba(7, 11, 19, 0.4) !important;
  position: relative;
  overflow: visible !important;
}

.partner-card::after {
  content: 'PARTNER';
  position: absolute;
  top: -10px;
  right: 20px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 9px;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 208, 132, 0.2);
}

.experience-badge {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: #0f182e;
  border: 1px solid rgba(0, 208, 132, 0.4);
  color: var(--secondary);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 20px;
}

.team-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 10px 5px;
  width: 100%;
}

.team-carousel::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 290px;
  background: rgba(255, 255, 255, 0.01) !important;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  z-index: 10;
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--text-white);
  transform: scale(1.08);
  box-shadow: 0 0 15px rgba(0, 102, 255, 0.4);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.carousel-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dots .dot.active {
  background: var(--secondary);
  width: 22px;
  border-radius: 4px;
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .carousel-card {
    flex: 0 0 100%;
  }
  
  .carousel-btn {
    display: none; /* Hide buttons on mobile touch screens to rely on swipe */
  }
}

/* FAQ Layout */
.faqs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.faq-item {
  padding: 18px 18px;
  cursor: pointer;
}

.faq-question {
  list-style: none;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-white);
}

.faq-answer {
  margin-top: 12px;
  color: var(--text-gray);
  font-size: 14px;
  line-height: 1.7;
}

.faq-item[open] {
  border-color: rgba(0, 102, 255, 0.3);
  background: rgba(0, 102, 255, 0.04);
}

@media (max-width: 900px) {
  .faqs-grid {
    grid-template-columns: 1fr;
  }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.45);
}

.whatsapp-float i {
  color: #ffffff;
  font-size: 26px;
}

/* SEO hero top padding adjustment */
.seo-hero {
  padding: 100px 0 100px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    right: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float i {
    font-size: 24px;
  }
}

