/* ==========================================================================
   Al Bidaar Technologies Pvt Ltd - Master Stylesheet
   Theme: Royal Blue to Cyan/Teal/Emerald Green Gradient
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;800;900&family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  /* Brand Colors from Logo */
  --color-primary-navy: #072b4f;
  --color-navy-dark: #051e38;
  --color-royal-blue: #025492;
  --color-sky-blue: #0077b6;
  --color-cyan: #00b4d8;
  --color-teal: #00a896;
  --color-emerald: #10b981;
  --color-forest: #028090;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-bg-light: #f8fafc;
  --color-bg-alt: #f0f7fa;
  --color-slate-100: #f1f5f9;
  --color-slate-200: #e2e8f0;
  --color-slate-300: #cbd5e1;
  --color-slate-400: #94a3b8;
  --color-slate-500: #64748b;
  --color-slate-600: #475569;
  --color-slate-700: #334155;
  --color-slate-800: #1e293b;
  --color-slate-900: #0f172a;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #072b4f 0%, #025492 40%, #00a896 100%);
  --grad-vibrant: linear-gradient(135deg, #025492 0%, #00b4d8 50%, #10b981 100%);
  --grad-cyan-teal: linear-gradient(135deg, #00b4d8 0%, #00a896 100%);
  --grad-btn: linear-gradient(90deg, #00a896 0%, #00b4d8 100%);
  --grad-btn-hover: linear-gradient(90deg, #025492 0%, #00a896 100%);
  --grad-banner: linear-gradient(135deg, #0096c7 0%, #00b4d8 50%, #00a896 100%);
  --grad-footer: linear-gradient(135deg, #007791 0%, #028090 50%, #00a896 100%);

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-brand: 'Cinzel', serif;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(7, 43, 79, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(7, 43, 79, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(7, 43, 79, 0.1);
  --shadow-xl: 0 20px 35px -5px rgba(7, 43, 79, 0.15);
  --shadow-card-hover: 0 25px 50px -12px rgba(0, 168, 150, 0.25);

  /* Layout */
  --max-width: 1240px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-slate-600);
  background-color: var(--color-white);
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
  outline: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-slate-900);
  font-weight: 800;
  line-height: 1.25;
}

.text-gradient {
  background: var(--grad-vibrant);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* High-contrast Luminous Gradient for text inside dark banners/heroes */
.page-banner .text-gradient,
.page-hero-banner .text-gradient,
.contact-mesh-banner .text-gradient,
.case-hero .text-gradient,
.case-hero-title .text-gradient,
.banner-title .text-gradient,
.contact-mesh-title .text-gradient,
.mockup-offer-section .text-gradient,
.home-portfolio-cta-banner .text-gradient,
.case-outcome-highlight .text-gradient {
  background: linear-gradient(135deg, #38bdf8 0%, #00e5ff 45%, #34d399 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  display: inline-block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.text-gradient-cyan {
  background: linear-gradient(135deg, #00b4d8 0%, #00a896 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-sky-blue);
  margin-bottom: 12px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 3px;
  background: var(--color-cyan);
  border-radius: 2px;
}

.section-title {
  font-size: 2.35rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-slate-500);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding: 90px 0;
}

.bg-light {
  background-color: var(--color-bg-light);
}

.bg-alt {
  background-color: var(--color-bg-alt);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background: var(--grad-btn);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 168, 150, 0.35);
}

.btn-primary:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 6px 20px rgba(2, 84, 146, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--color-cyan);
  color: var(--color-royal-blue);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-cyan);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-royal-blue);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--color-slate-900);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-arrow {
  transition: transform 0.25s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff !important;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid var(--color-slate-200);
  box-shadow: 0 2px 10px rgba(7, 43, 79, 0.06);
}

.site-header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(7, 43, 79, 0.12);
  border-bottom: 1px solid var(--color-slate-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}

.site-header.scrolled .header-inner {
  height: 70px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.site-header.scrolled .brand-logo img {
  height: 42px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate-700);
  padding: 8px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2.5px;
  background: var(--color-cyan);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-royal-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-item-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-slate-100);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
  z-index: 100;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.dropdown-link i {
  color: var(--color-cyan);
  font-size: 1rem;
  width: 20px;
}

.dropdown-link:hover {
  background: var(--color-bg-alt);
  color: var(--color-royal-blue);
  padding-left: 24px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--color-primary-navy);
  border-radius: 2px;
  transition: var(--transition);
}

/* Page Hero Banner */
.page-hero-banner {
  padding-top: 155px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(5, 30, 56, 0.92) 0%, rgba(7, 43, 79, 0.88) 50%, rgba(2, 84, 146, 0.85) 100%), url('../assets/images/mesh-hero-bg.svg') no-repeat center center / cover;
  text-align: center;
  color: var(--color-white);
  position: relative;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  color: #cbd5e1;
  background: rgba(5, 30, 56, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 7px 20px;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.breadcrumbs a {
  color: #ffffff;
  font-weight: 600;
  transition: var(--transition);
}

.breadcrumbs a:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.breadcrumbs span.active {
  color: #38bdf8;
  font-weight: 700;
}

.breadcrumbs span:not(.active) {
  color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero-section {
  padding-top: 150px;
  padding-bottom: 100px;
  position: relative;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--color-sky-blue);
  background: rgba(0, 180, 216, 0.1);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-slate-900);
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--color-slate-700);
  margin-bottom: 35px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-slate-100);
}

.hero-stats-badge .stars {
  color: #f59e0b;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.hero-stats-badge .stats-text {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-slate-800);
}

.hero-stats-badge .stats-text span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-slate-500);
}

.hero-media-wrapper {
  position: relative;
}

.hero-media-wrapper img {
  width: 100%;
  filter: drop-shadow(0 20px 30px rgba(7, 43, 79, 0.12));
  animation: floatSlow 6s ease-in-out infinite alternate;
}

@keyframes floatSlow {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

/* About Overview */
.about-overview-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 60px;
}

.organic-media-card {
  position: relative;
}

.organic-img-container {
  width: 100%;
  height: 440px;
  border-radius: 120px 24px 120px 24px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-white);
  position: relative;
  background: var(--grad-primary);
}

.organic-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-bubble-1 {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 64px;
  height: 64px;
  background: var(--color-cyan);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.4);
}

.floating-bubble-2 {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 50px;
  height: 50px;
  background: var(--color-emerald);
  border-radius: 50%;
  z-index: 2;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.4);
}

.about-check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.about-check-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.about-check-item i {
  color: var(--color-emerald);
  font-size: 1.1rem;
}

.experience-kpi-card {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 16px 28px;
  background: var(--grad-banner);
  border-radius: var(--radius-md);
  color: var(--color-white);
  box-shadow: 0 10px 25px rgba(0, 168, 150, 0.35);
  margin-right: 20px;
  margin-bottom: 20px;
}

.experience-kpi-card .number {
  font-size: 2.8rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
}

.experience-kpi-card .label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-cyan-teal);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(0, 180, 216, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-media {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  background: var(--grad-primary);
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-media img {
  transform: scale(1.06);
}

.home-service-media {
  width: 100%;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
  background: var(--grad-primary);
}

.home-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.service-card:hover .home-service-media img {
  transform: scale(1.06);
}

.careers-culture-card {
  margin-top: 40px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--color-white);
  height: 380px;
  position: relative;
}

.careers-culture-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-office-banner {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
  height: 200px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.contact-office-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--color-cyan);
  margin-bottom: 24px;
  transition: var(--transition);
}

.service-card:hover .service-icon-box {
  background: var(--grad-btn);
  color: var(--color-white);
  transform: scale(1.08);
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-slate-500);
  margin-bottom: 24px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-sky-blue);
  text-transform: uppercase;
}

.service-link:hover {
  color: var(--color-emerald);
  gap: 12px;
}

.service-consultation-bar {
  margin-top: 40px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.service-consultation-bar input {
  flex: 1;
  border: none;
  padding: 10px 16px;
  font-size: 0.95rem;
  color: var(--color-slate-800);
}

/* 72h Mockup Banner */
.mockup-offer-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0096c7 0%, #00b4d8 50%, #00a896 100%);
  color: var(--color-white);
  position: relative;
}

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.mockup-info .offer-tag {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 12px;
}

.mockup-info .offer-title {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 20px;
}

.mockup-info .offer-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.mockup-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 25px 50px -12px rgba(7, 43, 79, 0.35);
  color: var(--color-slate-800);
}

.form-step-progress {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  position: relative;
}

.form-step-progress::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--color-slate-200);
  z-index: 1;
}

.step-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-slate-200);
  color: var(--color-slate-600);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
  transition: var(--transition);
}

.step-indicator.active {
  background: var(--color-cyan);
  color: var(--color-white);
}

.step-indicator.completed {
  background: var(--color-emerald);
  color: var(--color-white);
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-slate-700);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-slate-200);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--color-slate-800);
  background: #fdfefe;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-cyan);
  background: var(--color-white);
  box-shadow: 0 0 0 3px rgba(0, 180, 216, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Impact Section */
.impact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.feature-pill-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition);
}

.feature-pill-box:hover {
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.feature-pill-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.feature-pill-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate-900);
}

/* Client Showcase */
.clients-section {
  padding: 60px 0;
  background: var(--color-white);
  border-top: 1px solid var(--color-slate-100);
  border-bottom: 1px solid var(--color-slate-100);
}

.clients-slider-wrapper {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 60px;
  animation: marquee 25s linear infinite;
  width: max-content;
}

.clients-track:hover {
  animation-play-state: paused;
}

.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition);
}

.client-logo-item:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}

.client-logo-item img {
  height: 42px;
  width: auto;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Testimonials */
.testimonials-section {
  padding: 90px 0;
  background: var(--color-bg-light);
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--color-slate-200);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 180, 216, 0.3);
}

.testimonial-quote-icon {
  font-size: 2.2rem;
  color: var(--color-cyan);
  opacity: 0.3;
  margin-bottom: 12px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-slate-600);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--color-slate-100);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--grad-btn);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.author-info .author-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-slate-900);
}

.author-info .author-role {
  font-size: 0.82rem;
  color: var(--color-slate-400);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  color: var(--color-slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.carousel-btn:hover {
  background: var(--color-cyan);
  color: var(--color-white);
  border-color: var(--color-cyan);
}

/* Leadership Profiles */
.leadership-section {
  padding: 80px 0;
}

.leader-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}

.leader-card-row.reverse .leader-info {
  order: 2;
}

.leader-card-row.reverse .leader-media {
  order: 1;
}

.leader-title-tag {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 6px;
}

.leader-role {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-sky-blue);
  margin-bottom: 20px;
  display: block;
}

.leader-bio {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-slate-600);
  margin-bottom: 24px;
}

.leader-socials {
  display: flex;
  align-items: center;
  gap: 12px;
}

.leader-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-sky-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.leader-social-link:hover {
  background: var(--color-cyan);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Contact Page Layout */
.contact-section {
  padding: 90px 0;
  background: var(--color-white);
}

.contact-layout-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel h2 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.contact-info-panel p.sub {
  font-size: 1.05rem;
  color: var(--color-slate-500);
  margin-bottom: 40px;
}

.contact-detail-box {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 30px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-detail-content h4 {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-slate-900);
  margin-bottom: 6px;
}

.contact-detail-content p, 
.contact-detail-content a {
  font-size: 0.95rem;
  color: var(--color-slate-600);
  line-height: 1.6;
  display: block;
}

.contact-detail-content a:hover {
  color: var(--color-cyan);
}

.contact-form-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-xl);
}

.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--color-slate-500);
  margin-top: 16px;
  padding: 6px 12px;
  background: var(--color-slate-100);
  border-radius: var(--radius-sm);
}

.map-embed-section {
  width: 100%;
  height: 420px;
  position: relative;
  border-top: 1px solid var(--color-slate-200);
  border-bottom: 1px solid var(--color-slate-200);
}

.map-embed-section iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.site-footer {
  background: var(--grad-footer);
  position: relative;
  color: var(--color-white);
  padding-top: 80px;
  overflow: hidden;
}

.footer-map-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../assets/images/world-map.svg') no-repeat center center / cover;
  opacity: 0.15;
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.footer-brand .footer-logo-img {
  height: 52px;
  width: auto;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
  max-width: 320px;
}

.footer-col-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 24px;
}

.footer-col-title::after {
  content: '';
  display: block;
  width: 30px;
  height: 3px;
  background: var(--color-white);
  border-radius: 2px;
  margin-top: 8px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--color-white);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.footer-contact-list i {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-top: 3px;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--color-white);
  color: var(--color-royal-blue);
  transform: translateY(-3px);
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.15);
  padding: 20px 0;
  text-align: center;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-pill {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-royal-blue);
  font-weight: 700;
  padding: 8px 24px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--color-slate-900);
  color: var(--color-white);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border-left: 4px solid var(--color-emerald);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Contact Page Dedicated Design (Reference 2) */
.contact-mesh-banner {
  padding-top: 155px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(5, 30, 56, 0.92) 0%, rgba(7, 43, 79, 0.88) 50%, rgba(2, 84, 146, 0.85) 100%), url('../assets/images/mesh-hero-bg.svg') no-repeat center center / cover;
  text-align: center;
  color: var(--color-white);
  position: relative;
}

.contact-mesh-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.contact-mesh-desc {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 24px;
  color: #f1f5f9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.contact-page-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: start;
}

.contact-info-panel {
  padding-right: 10px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-info-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-cyan);
  box-shadow: var(--shadow-md);
}

.contact-info-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background: rgba(0, 180, 216, 0.12);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-body h4 {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--color-slate-900);
  margin-bottom: 4px;
}

.contact-info-body p {
  font-size: 0.92rem;
  color: var(--color-slate-600);
  margin-bottom: 2px;
  line-height: 1.5;
}

.contact-form-panel {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  box-shadow: var(--shadow-xl);
}

.contact-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 6px;
}

.form-security-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
}

.form-security-badge .cf-icon {
  font-size: 1.2rem;
  color: #10b981;
}

.form-security-badge .cf-text {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-slate-700);
}

.form-security-badge .cf-text span {
  display: block;
  font-size: 0.74rem;
  font-weight: 400;
  color: var(--color-slate-400);
}

.map-embed-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-slate-200);
}

/* ==========================================================================
   Dedicated Styles for About Us & Our Work Pages
   ========================================================================== */

/* Page Banner */
.page-banner {
  padding-top: 155px;
  padding-bottom: 80px;
  background: linear-gradient(135deg, rgba(5, 30, 56, 0.92) 0%, rgba(7, 43, 79, 0.88) 50%, rgba(2, 84, 146, 0.85) 100%), url('../assets/images/mesh-hero-bg.svg') no-repeat center center / cover;
  text-align: center;
  color: var(--color-white);
  position: relative;
}

.banner-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #38bdf8;
  background: rgba(5, 30, 56, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.banner-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 14px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.banner-desc {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 680px;
  margin: 0 auto 24px;
  color: #f1f5f9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

/* About Us - Leadership Grid & Cards (Reference 3) */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  margin-top: 40px;
}

.leader-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 28px;
  align-items: flex-start;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.leader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--grad-cyan-teal);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(0, 180, 216, 0.3);
}

.leader-card:hover::before {
  opacity: 1;
}

.leader-avatar-wrapper {
  width: 140px;
  height: 140px;
  flex-shrink: 0;
  border-radius: 40px 12px 40px 12px;
  overflow: hidden;
  background: var(--grad-banner);
  border: 3px solid var(--color-white);
  box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.leader-avatar-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-content {
  flex: 1;
}

.leader-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 4px;
}

.leader-designation {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--color-royal-blue);
  background: rgba(0, 180, 216, 0.1);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}

.leader-bio {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-slate-600);
  margin-bottom: 16px;
}

.leader-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leader-social-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--color-bg-alt);
  color: var(--color-sky-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: var(--transition);
}

.leader-social-link:hover {
  background: var(--color-cyan);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Stats Counter Section */
.bg-dark {
  background: linear-gradient(135deg, #072b4f 0%, #051e38 100%);
}

.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-counter-box {
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition);
}

.stat-counter-box:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
}

.stat-num {
  font-size: 2.85rem;
  font-weight: 800;
  font-family: var(--font-heading);
  background: var(--grad-cyan-teal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Our Work - Filter Tabs & Portfolio Grid */
.work-filter-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 22px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--color-slate-600);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-slate-200);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  color: var(--color-royal-blue);
  border-color: var(--color-cyan);
  background: rgba(0, 180, 216, 0.08);
}

.filter-btn.active {
  background: var(--grad-btn);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(0, 168, 150, 0.3);
}

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

.work-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(7, 43, 79, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.35s ease;
  position: relative;
}

.work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px -10px rgba(2, 84, 146, 0.18);
  border-color: rgba(0, 180, 216, 0.4);
}

.work-img-wrapper {
  position: relative;
  height: 240px;
  background: var(--color-slate-100);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover .work-img-wrapper img {
  transform: scale(1.05);
}

.work-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(7, 43, 79, 0.88);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.work-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 43, 79, 0.45);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
}

.work-card:hover .work-img-overlay {
  opacity: 1;
}

.btn-quick-view {
  background: var(--color-white);
  color: var(--color-primary-navy);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transform: translateY(10px);
  transition: transform 0.3s ease, background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.work-card:hover .btn-quick-view {
  transform: translateY(0);
}

.btn-quick-view:hover {
  background: var(--color-cyan);
  color: var(--color-white);
}

.work-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.work-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.work-card-cat-text {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--color-sky-blue);
}

.work-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-slate-900);
  margin-bottom: 12px;
  line-height: 1.35;
}

.work-card-title a {
  color: inherit;
}

.work-card-title a:hover {
  color: var(--color-cyan);
}

.work-card-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-slate-600);
  margin-bottom: 18px;
  flex: 1;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 22px;
}

.work-tag {
  font-size: 0.74rem;
  font-weight: 600;
  background: rgba(0, 180, 216, 0.08);
  color: var(--color-royal-blue);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 180, 216, 0.2);
  transition: var(--transition);
}

.work-tag:hover {
  background: rgba(0, 180, 216, 0.16);
  border-color: var(--color-cyan);
}

.work-card-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--color-slate-100);
}

.btn-card-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-white);
  background: var(--grad-btn);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(0, 168, 150, 0.25);
  transition: var(--transition);
}

.btn-card-primary:hover {
  background: var(--grad-btn-hover);
  box-shadow: 0 6px 18px rgba(2, 84, 146, 0.35);
  transform: translateY(-2px);
}

.btn-card-primary i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.btn-card-primary:hover i {
  transform: translate(2px, -2px);
}

.btn-card-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-slate-700);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.btn-card-secondary:hover {
  color: var(--color-royal-blue);
  border-color: var(--color-cyan);
  background: rgba(0, 180, 216, 0.08);
}

.btn-card-secondary i {
  font-size: 0.78rem;
  transition: transform 0.2s ease;
}

.btn-card-secondary:hover i {
  transform: translateX(3px);
}

/* ==========================================================================
   Header & Navigation Bug Fixes & Enhancements
   ========================================================================== */

/* Hover Bridge for Dropdown to prevent accidental closing */
.nav-item-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
  z-index: 99;
}

.dropdown-menu {
  margin-top: 10px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 30px;
  width: 12px;
  height: 12px;
  background: var(--color-white);
  transform: rotate(45deg);
  border-top: 1px solid var(--color-slate-100);
  border-left: 1px solid var(--color-slate-100);
}

/* Animated Hamburger to X */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: var(--color-bg-alt);
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(0, 180, 216, 0.15);
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--color-royal-blue);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Nav Drawer & Dropdown Accordion */
.mobile-dropdown-toggle {
  cursor: pointer;
}

.mobile-dropdown-toggle i {
  transition: transform 0.3s ease;
}

.mobile-dropdown-toggle.expanded i {
  transform: rotate(180deg);
  color: var(--color-cyan);
}

.mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  padding: 8px 0 12px 16px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  margin-top: 6px;
}

.mobile-dropdown-menu.show {
  display: flex;
}

.mobile-sublink {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-slate-700);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.mobile-sublink i {
  color: var(--color-cyan);
  font-size: 0.9rem;
  width: 18px;
}

.mobile-sublink:hover {
  color: var(--color-royal-blue);
  background: rgba(0, 180, 216, 0.1);
  padding-left: 16px;
}

/* Ensure mobile drawer is strictly hidden on desktop by default */
.mobile-nav-drawer {
  display: none;
}

/* ==========================================================================
   Project Detail Quick-View Modal Styles
   ========================================================================== */
.project-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 43, 79, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.project-modal-container {
  background: var(--color-white);
  width: 100%;
  max-width: 860px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px -15px rgba(7, 43, 79, 0.4);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-modal-backdrop.open .project-modal-container {
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 43, 79, 0.08);
  color: var(--color-slate-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  z-index: 10;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.project-modal-close:hover {
  background: #ef4444;
  color: #fff;
  transform: rotate(90deg);
}

.project-modal-scroll {
  overflow-y: auto;
  max-height: 90vh;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.project-modal-header {
  padding-right: 48px;
}

.project-modal-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-sky-blue);
  background: rgba(0, 180, 216, 0.1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
}

.project-modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-slate-900);
  line-height: 1.25;
}

.project-modal-media {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-slate-100);
  max-height: 380px;
}

.project-modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.project-modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-info-block {
  background: var(--color-bg-light);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 20px;
}

.modal-section-heading {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-desc-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.modal-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.modal-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

.modal-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--color-slate-700);
  line-height: 1.5;
}

.modal-feature-item i {
  color: var(--color-emerald);
  margin-top: 3px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.modal-tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.modal-tag {
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-royal-blue);
  border: 1px solid var(--color-slate-300);
  padding: 5px 12px;
  border-radius: var(--radius-full);
}

.project-modal-footer {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--color-slate-200);
}

.btn-ghost {
  background: transparent;
  color: var(--color-slate-500);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 8px 16px;
  cursor: pointer;
}

.btn-ghost:hover {
  color: var(--color-slate-800);
}

/* ==========================================================================
   Home Portfolio Showcase Section (index.html)
   ========================================================================== */
.home-portfolio-section {
  position: relative;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
  padding: 90px 0;
}

.home-portfolio-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 24px;
}

.home-portfolio-cta-banner {
  margin-top: 48px;
  background: var(--color-primary-navy);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  color: var(--color-white);
  box-shadow: 0 15px 35px -5px rgba(7, 43, 79, 0.35);
}

.home-portfolio-cta-banner h3 {
  color: var(--color-white);
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.home-portfolio-cta-banner p {
  color: var(--color-slate-300);
  font-size: 0.95rem;
  max-width: 620px;
  line-height: 1.6;
}

/* ==========================================================================
   Dedicated Case Study Page Styles
   ========================================================================== */
.case-hero {
  position: relative;
  background: linear-gradient(135deg, #051e38 0%, #072b4f 50%, #025492 100%);
  color: var(--color-white);
  padding: 130px 0 80px;
  overflow: hidden;
}

.case-hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 180, 216, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.case-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 30, 56, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 7px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.case-hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 18px;
  max-width: 900px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.case-hero-desc {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #f1f5f9;
  max-width: 780px;
  margin-bottom: 36px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.case-meta-ribbon {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}

.case-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.case-meta-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-cyan);
}

.case-meta-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-white);
}

.case-hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.case-content-section {
  padding: 70px 0;
}

.case-challenge-solution-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 36px;
}

.case-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: 0 4px 20px rgba(7, 43, 79, 0.06);
  border: 1px solid var(--color-slate-200);
  position: relative;
  overflow: hidden;
}

.case-box.challenge {
  border-top: 4px solid #f59e0b;
}

.case-box.solution {
  border-top: 4px solid var(--color-emerald);
}

.case-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.case-box-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.case-box.challenge .case-box-icon {
  background: rgba(245, 158, 11, 0.12);
  color: #d97706;
}

.case-box.solution .case-box-icon {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-emerald);
}

.case-box-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-slate-900);
}

.case-box-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-slate-600);
}

.case-features-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.case-feature-card {
  background: var(--color-white);
  border: 1px solid var(--color-slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-feature-card:hover {
  border-color: rgba(0, 180, 216, 0.4);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.case-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(0, 180, 216, 0.1);
  color: var(--color-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.case-feature-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-slate-900);
  margin-bottom: 4px;
}

.case-feature-card p {
  font-size: 0.88rem;
  color: var(--color-slate-500);
  line-height: 1.55;
}

.case-mockup-frame {
  margin: 48px 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(7, 43, 79, 0.2);
  border: 1px solid var(--color-slate-200);
  background: var(--color-slate-900);
}

.case-mockup-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.case-outcome-highlight {
  background: linear-gradient(135deg, #072b4f 0%, #025492 100%);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin: 48px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  box-shadow: 0 15px 35px -5px rgba(2, 84, 146, 0.3);
}

.case-outcome-info h3 {
  color: var(--color-white);
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.case-outcome-info p {
  color: #cbd5e1;
  font-size: 1.02rem;
  line-height: 1.7;
  max-width: 640px;
}

.case-nav-bar {
  border-top: 1px solid var(--color-slate-200);
  padding: 32px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.case-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-royal-blue);
  transition: var(--transition);
}

.case-nav-link:hover {
  color: var(--color-cyan);
}

