/* Using system web-safe fonts: Georgia for Headings, Calibri for Body. Optimized page weight. */

:root {
  /* Color Palette (Spain Template - Georgia Serif & Deep Navy/Teal/Gold) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #f1f5f9;
  
  --text-primary: #0a1128; /* Deep Navy */
  --text-secondary: #434956;
  --text-muted: #787f8d;
  
  --accent-cyan: #008080; /* Teal Accent */
  --accent-cyan-rgb: 0, 128, 128;
  --accent-blue: #c5a880; /* Gold Accent */
  --accent-blue-rgb: 197, 168, 128;
  --accent-gold: #c5a880;
  
  --border-light: rgba(10, 17, 40, 0.08);
  --border-glow: rgba(0, 128, 128, 0.25);
  
  /* Fonts - Serif Headline / Humanist Sans-Serif Body */
  --font-heading: 'Georgia', serif;
  --font-body: 'Calibri', 'Segoe UI', sans-serif;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  font-size: 15px;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--accent-blue);
}

/* Buttons */
.btn-cyber {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 6px;
  background: transparent;
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: var(--transition-smooth);
}

.btn-cyber::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  z-index: -1;
  opacity: 0;
  transition: var(--transition-smooth);
}

.btn-cyber:hover {
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 135, 102, 0.25);
}

.btn-cyber:hover::before {
  opacity: 1;
}

/* Global Navigation (Header) */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  height: 80px;
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: 70px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 28px;
  height: 100%;
}

.nav-item {
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}

.nav-link {
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  padding: 8px 0;
  transition: var(--transition-smooth);
  position: relative;
}

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

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

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

.office-locations {
  color: var(--accent-cyan);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  border-left: 1px solid var(--border-light);
  padding-left: 20px;
  text-transform: uppercase;
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
  z-index: 1100;
}

/* Glassmorphism Cards (Light Mode) */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 30px;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 135, 102, 0.02), rgba(29, 78, 216, 0.02));
  pointer-events: none;
  opacity: 0;
  transition: var(--transition-smooth);
}

.glass-card:hover {
  border-color: rgba(0, 135, 102, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

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

/* Page Headers (Subpages Banner) */
.page-header {
  position: relative;
  padding: 160px 0 80px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  text-align: center;
  border-bottom: 1px solid rgba(13, 148, 136, 0.1);
}

/* Background image classes with light theme SVGs */
.page-header.about-header {
  background-image: url('../images/backgrounds/about-bg.svg');
}
.page-header.solutions-header {
  background-image: url('../images/backgrounds/solutions-bg.svg');
}
.page-header.industries-header {
  background-image: url('../images/backgrounds/industries-bg.svg');
}
.page-header.usecases-header {
  background-image: url('../images/backgrounds/usecases-bg.svg');
}
.page-header.partners-header {
  background-image: url('../images/backgrounds/partners-bg.svg');
}
.page-header.contact-header {
  background-image: url('../images/backgrounds/contact-bg.svg');
}
.page-header.events-header {
  background-image: url('../images/backgrounds/events-bg.svg');
}
.page-header.error-header {
  background-image: url('../images/backgrounds/404-bg.svg');
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 12px;
  color: #0f172a;
  text-shadow: none;
}

.breadcrumb-list {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 10px;
  font-size: 14px;
}

.breadcrumb-item a {
  color: #475569;
  text-shadow: none;
}

.breadcrumb-item a:hover {
  color: #1b365d;
}

.breadcrumb-item.active {
  color: #0d9488;
  font-weight: 600;
  text-shadow: none;
}

.breadcrumb-separator {
  color: #94a3b8;
}

/* Intro Search/Header blocks */
.section-intro-box {
  padding: 80px 0 40px 0;
  text-align: center;
  max-width: 850px;
  margin: 0 auto;
}

.tagline-box {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 135, 102, 0.06);
  border: 1px solid rgba(0, 135, 102, 0.15);
  margin-bottom: 20px;
}

.tagline-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  animation: pulse 2s infinite;
}

.tagline-text {
  font-size: 11px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
}

.section-title {
  font-size: 36px;
  margin-bottom: 18px;
  color: var(--text-primary);
}

.section-desc {
  font-size: 16px;
  color: var(--text-secondary);
}

/* -------------------------------------------------------------------------- */
/* HOME PAGE SPECIFIC STYLES */
/* -------------------------------------------------------------------------- */

/* Hero Section */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  background: radial-gradient(circle at 80% 20%, rgba(2, 132, 199, 0.08), transparent 55%),
              radial-gradient(circle at 20% 80%, rgba(13, 148, 136, 0.08), transparent 55%),
              linear-gradient(135deg, #FAF4FA 0%, #FFFFFF 50%, #D5F6F6 100%);
  overflow: hidden;
}

.hero-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.015) 40%, transparent 40%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

#canvas-particle-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.hero-glow-layer {
  position: absolute;
  top: -15%;
  right: -15%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.1) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: glow-breathe-1 16s ease-in-out infinite alternate;
}

.hero-glow-layer-2 {
  position: absolute;
  bottom: -15%;
  left: -15%;
  width: 60%;
  height: 70%;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.1) 0%, transparent 70%);
  z-index: 2;
  pointer-events: none;
  animation: glow-breathe-2 20s ease-in-out infinite alternate;
}

@keyframes glow-breathe-1 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(-8%, 5%) scale(1.2);
    opacity: 1;
  }
}

@keyframes glow-breathe-2 {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.8;
  }
  100% {
    transform: translate(8%, -5%) scale(1.2);
    opacity: 1;
  }
}

.hero-content-box {
  position: relative;
  z-index: 10;
  max-width: 950px;
}

.hero-content-box .tagline-box {
  background: rgba(13, 148, 136, 0.08);
  border-color: rgba(13, 148, 136, 0.2);
}

.hero-content-box .tagline-text {
  color: #0d9488;
}

.hero-content-box .tagline-dot {
  background-color: #0d9488;
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.4);
}

.hero-title {
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #0f172a;
  text-shadow: none;
}

.hero-title span {
  background: linear-gradient(135deg, #0d9488, #0284c7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
}

.hero-desc {
  font-size: 18px;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 36px;
  max-width: 700px;
  text-shadow: none;
}

.hero-btn-box .btn-primary-cyber {
  border-color: #0d9488;
  color: #0d9488;
}

.hero-btn-box .btn-primary-cyber::before {
  background: linear-gradient(90deg, #0d9488, #0284c7);
}

.hero-btn-box .btn-primary-cyber:hover {
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.35);
}

.hero-btn-box .btn-secondary-cyber {
  border-color: #1b365d;
  color: #1b365d;
}

.hero-btn-box .btn-secondary-cyber::before {
  background: #1b365d;
}

.hero-btn-box .btn-secondary-cyber:hover {
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(27, 54, 93, 0.25);
}

/* Counter Section */
.counter-section {
  position: relative;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 80px 0;
}

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

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

.counter-number {
  font-size: 48px;
  font-weight: 800;
  font-family: var(--font-heading);
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.counter-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  font-weight: 700;
}

.counter-icon {
  font-size: 28px;
  color: var(--accent-cyan);
  margin-bottom: 12px;
  opacity: 0.9;
}

/* Callout Section (Value Prop) */
.value-prop-section {
  padding: 100px 0;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 135, 102, 0.02), transparent 60%),
              var(--bg-primary);
}

.value-prop-box {
  max-width: 900px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  padding: 60px 40px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.value-prop-text {
  font-size: 22px;
  line-height: 1.6;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* ABOUT US PAGE STYLES */
/* -------------------------------------------------------------------------- */

.ethos-grid {
  margin-bottom: 40px;
}

.presence-grid {
  margin-bottom: 80px;
}

.about-features-section {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.about-feature-card {
  display: flex;
  gap: 20px;
  padding: 24px;
}

.about-feature-icon {
  font-size: 32px;
  color: var(--accent-cyan);
  flex-shrink: 0;
  margin-top: 4px;
}

.about-feature-title {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

/* -------------------------------------------------------------------------- */
/* SOLUTIONS PAGE STYLES */
/* -------------------------------------------------------------------------- */

.solutions-grid {
  padding-bottom: 100px;
}

.solution-card {
  height: 380px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  background: var(--bg-secondary);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.solution-card-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 180px;
  object-fit: cover;
  opacity: 0.03;
  transition: var(--transition-smooth);
}

.solution-card-content {
  position: relative;
  z-index: 10;
  padding: 30px;
  background: linear-gradient(to top, var(--bg-secondary) 75%, transparent);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: var(--transition-smooth);
}

.solution-card-icon {
  font-size: 32px;
  color: var(--accent-cyan);
  margin-bottom: 16px;
  transition: var(--transition-smooth);
}

.solution-card-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.solution-card-desc {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
  opacity: 0;
  transform: translateY(15px);
  transition: var(--transition-smooth);
  height: 0;
  overflow: hidden;
}

/* Card Hover Animations */
.solution-card:hover {
  border-color: rgba(0, 135, 102, 0.3);
  box-shadow: 0 15px 40px rgba(15, 23, 42, 0.06);
}

.solution-card:hover .solution-card-bg-img {
  opacity: 0.06;
  transform: scale(1.05);
}

.solution-card:hover .solution-card-content {
  justify-content: flex-start;
  padding-top: 40px;
  background: var(--bg-secondary);
}

.solution-card:hover .solution-card-icon {
  transform: translateY(-5px);
}

.solution-card:hover .solution-card-desc {
  opacity: 1;
  transform: translateY(0);
  height: auto;
  margin-top: 10px;
}

/* -------------------------------------------------------------------------- */
/* TAB & ACCORDION SYSTEM (INDUSTRIES & USE CASES) */
/* -------------------------------------------------------------------------- */

.tab-system-wrapper {
  display: flex;
  gap: 40px;
  padding-bottom: 100px;
}

.tab-buttons-list-vertical {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 340px;
  flex-shrink: 0;
}

.tab-btn-vertical {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn-vertical i {
  font-size: 20px;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.tab-btn-vertical:hover, .tab-btn-vertical.active {
  background: rgba(0, 135, 102, 0.04);
  border-color: var(--accent-cyan);
  color: var(--text-primary);
  box-shadow: 0 4px 15px rgba(0, 135, 102, 0.05);
}

.tab-btn-vertical.active i {
  color: var(--accent-cyan);
}

.tab-content-panel {
  flex-grow: 1;
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.tab-content-panel.active {
  display: block;
}

.tab-content-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 25px rgba(15, 23, 42, 0.03);
}

.tab-content-title-box {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 24px;
  margin-bottom: 24px;
}

.tab-content-title-box h3 {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--accent-cyan);
}

.tab-content-title-box p {
  font-size: 15px;
  margin: 0;
}

/* Horizontal Tabs (Use Cases) */
.tab-buttons-horizontal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.tab-btn-horizontal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.tab-btn-horizontal i {
  font-size: 22px;
  color: var(--accent-cyan);
  margin-bottom: 6px;
  transition: var(--transition-smooth);
}

.tab-btn-horizontal span {
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-heading);
  color: var(--text-secondary);
}

.tab-btn-horizontal:hover, .tab-btn-horizontal.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 135, 102, 0.04);
  box-shadow: 0 4px 15px rgba(0, 135, 102, 0.08);
  transform: translateY(-3px);
}

.tab-btn-horizontal.active i {
  color: var(--accent-cyan);
}

.tab-btn-horizontal.active span {
  color: var(--text-primary);
  font-weight: 700;
}

/* Accordion Layout */
.accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 24px;
}

.accordion-item {
  border: 1px solid var(--border-light);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.accordion-item.active {
  border-color: rgba(0, 135, 102, 0.3);
}

.accordion-header {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 16px;
  color: var(--text-primary);
  transition: var(--transition-smooth);
}

.accordion-header:hover {
  background: rgba(15, 23, 42, 0.01);
}

.accordion-icon {
  font-size: 14px;
  color: var(--accent-cyan);
  transition: var(--transition-smooth);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.accordion-item.active .accordion-content {
  max-height: 1000px;
  transition: max-height 0.3s cubic-bezier(0.85, 0, 0.15, 1);
}

.accordion-inner {
  padding: 0 24px 20px 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.03);
}

.accordion-inner p {
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* TECHNOLOGY PARTNERS (VENDORS) GRID */
/* -------------------------------------------------------------------------- */

.partners-section {
  padding-bottom: 100px;
}

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

.partner-card-wrapper {
  perspective: 1000px;
  height: 320px;
}

.partner-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.partner-card-wrapper:hover .partner-card-inner {
  transform: rotateY(180deg);
}

.partner-card-front, .partner-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.partner-card-front {
  background: var(--bg-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.partner-logo-container {
  height: 110px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.partner-logo-container img {
  max-height: 70px;
  max-width: 80%;
  object-fit: contain;
  transition: var(--transition-smooth);
}

/* Custom scaling overrides for small logos */
.partner-logo-container img[src*="redcarbon"],
.partner-logo-container img[src*="one37"],
.partner-logo-container img[src*="darkmon"],
.partner-logo-container img[src*="keyfactor"],
.partner-logo-container img[src*="DataStealth"] {
  transform: scale(1.6);
}

.vendor-page-logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 17, 40, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px;
  height: 64px;
  width: 120px;
  overflow: hidden;
}

.vendor-page-logo {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.partner-desc-short {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Beautiful dark slate flip-back for high visual contrast */
.partner-card-back {
  background: #0f172a;
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 25px rgba(0, 135, 102, 0.1);
}

.partner-desc-full {
  font-size: 13.5px;
  line-height: 1.5;
  color: #f3f4f6; /* light text on dark back-face */
  margin-bottom: 20px;
}

.partner-website-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13.5px;
  color: var(--accent-cyan);
}

.partner-website-link:hover {
  color: #38bdf8;
  text-decoration: underline;
}

/* -------------------------------------------------------------------------- */
/* CONTACT PAGE STYLE */
/* -------------------------------------------------------------------------- */

.contact-layout {
  display: flex;
  gap: 40px;
  padding-bottom: 100px;
}

.contact-info-col {
  width: 40%;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-col {
  flex-grow: 1;
}

.contact-list {
  list-style: none;
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-list-item {
  display: flex;
  gap: 20px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(0, 135, 102, 0.06);
  border: 1px solid rgba(0, 135, 102, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item-details h4 {
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.contact-item-details p, .contact-item-details a {
  font-size: 14.5px;
  color: var(--text-secondary);
  display: block;
}

.contact-form-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.03);
}

.comment-form__input-box {
  margin-bottom: 20px;
  position: relative;
}

.comment-form__input-box input, .comment-form__input-box textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 14px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition-smooth);
}

.comment-form__input-box textarea {
  min-height: 150px;
  resize: vertical;
}

.comment-form__input-box input::placeholder, .comment-form__input-box textarea::placeholder {
  color: var(--text-muted);
}

.comment-form__input-box input:focus, .comment-form__input-box textarea:focus {
  border-color: var(--accent-cyan);
  outline: none;
  box-shadow: 0 0 12px rgba(0, 135, 102, 0.12);
  background: #ffffff;
}

/* -------------------------------------------------------------------------- */
/* FOOTER STYLE */
/* -------------------------------------------------------------------------- */

.site-footer {
  background-color: #0b0f19;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 40px;
  margin-bottom: 40px;
}

.footer-top-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-top-icon {
  font-size: 36px;
  color: var(--accent-cyan);
}

.footer-top-title {
  font-size: 24px;
  color: #ffffff;
  margin: 0;
}

.footer-columns-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 60px;
}

.footer-columns-grid p {
  color: #94a3b8;
}

.footer-widget-logo img {
  height: 44px;
  width: auto;
  margin-bottom: 20px;
}

.footer-widget-title {
  font-size: 16px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 8px;
}

.footer-widget-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--accent-cyan);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  color: #94a3b8;
  font-size: 14px;
  transition: var(--transition-smooth);
}

.footer-links-list a:hover {
  color: #2be4ac;
  padding-left: 5px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
  font-size: 14px;
  color: #94a3b8;
}

.footer-contact-item i {
  color: var(--accent-cyan);
  margin-top: 4px;
}

.footer-contact-item a {
  color: #94a3b8;
}

.footer-contact-item a:hover {
  color: #2be4ac;
}

.site-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 30px 0;
  text-align: center;
  background-color: #070a13;
}

.site-footer-bottom-text {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
}

/* -------------------------------------------------------------------------- */
/* MOBILE RESPONSIVE DRAWER & OVERRIDES */
/* -------------------------------------------------------------------------- */

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-light);
  z-index: 2000;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 30px rgba(15, 23, 42, 0.08);
}

.mobile-nav-drawer.open {
  transform: translateX(-320px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-link:hover, .mobile-nav-item.active .mobile-nav-link {
  color: var(--accent-cyan);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .nav-menu {
    gap: 16px;
  }
  .nav-link {
    font-size: 13.5px;
  }
  .hero-title {
    font-size: 52px;
  }
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }
  .nav-menu {
    display: none;
  }
  .office-locations {
    display: none;
  }
  
  .counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ethos-grid, .presence-grid, .solutions-grid, .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tab-system-wrapper {
    flex-direction: column;
  }
  .tab-buttons-list-vertical {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tab-btn-vertical {
    flex: 1 1 45%;
  }
  .contact-layout {
    flex-direction: column;
    gap: 60px;
  }
  .contact-info-col {
    width: 100%;
  }
  .footer-columns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
  }
  .hero-desc {
    font-size: 15px;
  }
  .section-title {
    font-size: 30px;
  }
  .ethos-grid, .presence-grid, .solutions-grid, .partners-grid {
    grid-template-columns: 1fr;
  }
  .tab-buttons-list-vertical {
    flex-direction: column;
  }
  .tab-btn-vertical {
    width: 100%;
  }
  .footer-columns-grid {
    grid-template-columns: 1fr;
  }
  .footer-top-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
