/* ===================================
   GLOBAL RESET & VARIABLES
=================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
}

:root {
  --accent-color: #6B53A0; /* renamed for consistency */
  --accent-color-light: #A78BFA;
  --color-bg: #000;
  --color-section-bg: #1a1a1a;
  --color-card-bg: #2a2a2a;
  --color-text: #e0e0e0;
  --color-heading: #ffffff;
  --color-border: #333;
  --color-muted: #ccc;
  --color-accent: var(--accent-color);
  --container-width: 1200px;
  --spacing-section: 4rem 2rem;
  --heading-underline-width: 80px;
  --heading-underline-height: 3px;
  --heading-underline-gap-top: 0.75rem;
  --heading-underline-gap-bottom: 1.5rem;
  --heading-font-family: var(--font-heading, system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif);
  --heading-font-weight: 700;
  --heading-color: #fff; /* same as .main-heading in Cybersecurity */
}


/* ===================================
   GLOBAL IMAGE STRATEGY
=================================== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Image containers */
.image-container {
  max-width: 500px;
  margin: 0 auto;
}
.image-container img {
  width: 100%;
  object-fit: contain;
}

/* Utility image classes */
.img-small { max-width: 100px; }
.img-medium { max-width: 300px; }
.img-large { max-width: 600px; }

/* Responsive scaling */
@media (min-width: 768px) {
  .image-container { max-width: 600px; }
}
@media (min-width: 1200px) {
  .image-container { max-width: 700px; }
}

/* ===================================
   UTILITIES
=================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.section {
  padding: var(--spacing-section);
}

.section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: 3rem;
  line-height: 1.3;
  text-align: center;
}

/* ===================================
   NAVBAR
=================================== */
/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(17, 24, 39, 0.75); /* dark glassy */
  backdrop-filter: blur(12px);
  z-index: 9999;
  padding: 1rem 2rem;
  transition: background 0.3s ease;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar .logo { 
  display: inline-flex; 
  align-items: center; 
  gap: .6rem; 
}

.logo img {
  height: 44px;         /* tweak between 40–48px to taste */
  width: auto;
  display: block;
}

/* Logo */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Nav Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links li a {
  color: #f0f0f0;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  transition: color 0.3s ease;
}

/* Underline animation */
.nav-links li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: var(--accent-color);
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: var(--accent-color);
}

.nav-links li a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--color-accent); /* highlight color */
  font-weight: 600;
  border-bottom: 2px solid var(--color-accent);
  transition: all 0.3s ease;
}


/* CTA Button Link */
.nav-cta {
  background: var(--accent-color);
  color: #fff !important;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.nav-cta:hover {
  background: #5a4391;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .logo img { height: 38px; }
}

/* Mobile Styles */
@media (max-width: 768px) {
  
  .logo img { height: 36px; }
  

  .menu-toggle {
    display: block;
  }
 
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    background: rgba(17, 24, 39, 0.95);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    transition: max-height 0.3s ease;
    padding: 0 2rem;
  }

  .nav-links.open {
    max-height: 350px;
    padding: 1.5rem 2rem;
  }
}

/* ===================================
   HERO SECTION
=================================== */

/* Overlay without adding new HTML */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 1;
}

/* Ensure content sits above the overlay */
.hero-inner { position: relative; z-index: 2; }

/* More specific selectors so they override earlier rules */
.hero .hero-content h1 {
  color: #fff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.4);
}

.hero .hero-content p {
  color: #d0d0d0;
  font-style: italic;
  line-height: 1.8;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}




.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  height: 100svh;
  position: relative;
  background: url('../assets/hero-background.webp') no-repeat center center/cover;
  overflow: hidden;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}
.hero-inner {
  position: relative; z-index: 2;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 6rem 2rem 2rem;
}
.hero-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
  padding: 1rem;
}
.hero-content h1 {
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--color-heading);
}
.hero-content p {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.5rem);
  line-height: 1.6;
  margin-bottom: 2rem;
  color: var(--color-text);
}

/* CTA Buttons */
.cta-group {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem;
}


/* Base button */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

/* Primary button */
.btn-primary {
  background-color: var(--accent-color) !important; /* solid purple */
  color: #fff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4); /* depth from start */
}

.btn-primary:hover {
  background-color: #5a4391 !important;
  box-shadow: 0 6px 14px rgba(0,0,0,0.45);
}

/* Secondary button */
.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid #ffffffaa;
  color: #fff;
}

.btn-secondary:hover {
  background: #fff;
  color: var(--accent-color);
  border-color: #fff;
}



.btn:focus { outline: 3px dashed #fff; outline-offset: 3px; }

/* Animations */
.animate-heading, .animate-paragraph, .animate-buttons a {
  will-change: transform, opacity;
}
.animate-heading {
  opacity: 0; transform: translateY(-30px);
  animation: slideFadeDown 0.8s ease-out forwards;
  animation-delay: 0.3s;
}
.animate-paragraph {
  opacity: 0; transform: translateY(30px);
  animation: slideFadeUp 0.8s ease-out forwards;
  animation-delay: 0.6s;
}
.animate-buttons a {
  opacity: 0;
  transform: scale(0.95);
  animation: fadeScaleUp 0.6s ease-out forwards;
}

.animate-buttons a:nth-child(1) { animation-delay: 0.9s; }
.animate-buttons a:nth-child(2) { animation-delay: 1.1s; }

@keyframes slideFadeDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeScaleUp {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero { min-height: 100vh; padding: 2rem 1rem; }
  .hero-content p { font-size: 1rem; }
  .cta-group { flex-direction: column; gap: 1rem; }
  .btn { width: 100%; max-width: 300px; margin: 0 auto; }
}
@media (min-width: 1024px) {
  .hero-content { max-width: 1000px; min-width: 600px; }
  .hero-content p { font-size: 1.8rem; max-width: 800px; margin: 0 auto 2.5rem; }
  .cta-group { gap: 1.5rem; }
  .btn { font-size: 1.1rem; padding: 1rem 2rem; }
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .hero-content h1 {
    font-size: 2.8rem;   /* smaller than desktop */
  }
  .hero-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem;
  }

  .container {
    max-width: 1000px;
  }

  .solutions-grid,
  .features-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .nav-links {
    gap: 1.5rem;
  }
}


/* ===================================
   ABOUT SECTION
=================================== */

.about-section {
  background-color: #111;
  color: #fff;
  padding: 4rem 2rem;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.about-section .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #fff;
  position: relative;
}

/* Accent line under heading */
.about-section .section-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--color-accent);
  margin: 0.75rem auto 2.5rem;
  border-radius: 2px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Highlight blockquote */
.highlight {
  font-size: 1.2rem;
  font-weight: 500;
  color: #fff;
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
  margin-bottom: 2rem;
  line-height: 1.7;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #ddd;
  max-width: 600px;
}

/* Right column image */
.about-visual img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  margin-bottom: 0.75rem;
}

/* Caption */
.visual-caption {
  font-size: 0.9rem;
  color: #aaa;
  font-style: italic;
  line-height: 1.4;
  max-width: 90%;
  margin: 0 auto;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .highlight {
    font-size: 1.1rem;
    padding-left: 0.8rem;
  }
}


.about-section .section-heading::after {
  /* match the global underline dimensions + spacing */
  width: var(--heading-underline-width, 80px);
  height: var(--heading-underline-height, 3px);
  margin: var(--heading-underline-gap-top, 0.75rem) auto var(--heading-underline-gap-bottom, 1.5rem);
  background: var(--accent-color); /* was --color-accent */
}

/* keep the highlight bar consistent with the same accent token */
.about-section .highlight {
  border-left: 4px solid var(--accent-color); /* was --color-accent */
}



/* ===================================
   SOLUTIONS SECTION
=================================== */

.solutions-section {
  background: linear-gradient(135deg, #0d0d2b, #1a103d); /* deep navy to purple gradient */
  color: var(--text-color);
  padding: 4rem 2rem;
  text-align: center;
}

.solutions-section .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  position: relative;
}

/* Accent underline */
.solutions-section .section-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 3rem;
  border-radius: 2px;
}

/* Grid layout */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* Card styling */
.solution-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* Icon styling */
.solution-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem;
  color: var(--accent-color);
}

.solution-icon svg {
  width: 100%;
  height: 100%;
}

/* Title & text */
.solution-card h3 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 1rem;
}

.solution-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #ddd;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .solutions-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .solutions-grid {
    grid-template-columns: 1fr;
  }
  .solutions-section .section-heading {
    font-size: 2rem;
  }
}



/* === PROCESS / METHODOLOGY SECTION === */
.methodology-section {
  background: linear-gradient(135deg, #1a1d29, #232736);
  color: #e0e0e0;
  padding: 4rem 2rem;
}

.methodology-section .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 3rem;
  color: #b5b5b5;
}

/* Grid */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;  
  gap: 1rem; 
  align-items: stretch;
}

/* Step Cards */
.step {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: center;
  padding: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 16px rgba(0,0,0,0.25);
}

/* Step Number */
.step-number {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

/* Step Icon */
.step-icon {
  font-size: 2rem;
  margin: 0 auto 0.75rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #1c1f2b;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  color: var(--accent-color);
}

/* Step Title & Text */
.step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.5rem;
}

.step-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #ccc;
}

/* Responsive Layout */
@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .step {
    padding: 1.2rem;
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, minmax(220px, 1fr));
    gap: 1.5rem;
  }

  .step {
    padding: 1.5rem;
  }
}



/* ===================================
   CLOUD FEATURE SECTION
=================================== */

.feature-section {
  background: linear-gradient(135deg, #1c1c24, #2a1f45);
  color: #e0e0e0;
  padding: 4rem 2rem;
}



.feature-container {
  max-width: 1200px;
  margin: 0 auto;
}

.feature-section .section-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--accent-color); /* purple highlight */
}




.feature-section .section-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 3rem;
  border-radius: 2px;
}

/* Grid layout */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* Left text content */
.feature-subheading {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #444;
}

.feature-list {
  list-style: none;
  padding-left: 0;
}

.feature-list li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
}

.check-icon {
  color: var(--accent-color);
  margin-right: 0.5rem;
  font-weight: bold;
}

/* Right image */
.image-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  background: #fff;
  padding: 1rem;
}

.image-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .feature-section .section-heading {
    font-size: 2rem;
  }
}


/* ===================================
   CYBERSECURITY SECTION
=================================== */

.cybersecurity-section {
  background: linear-gradient(135deg, #0d1117, #1a103d); /* deep navy + purple undertone */
  color: #e0e0e0;
  padding: 4rem 2rem;
  text-align: center;
}

.main-heading {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  position: relative;
}

.main-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

.cyber-tip {
  max-width: 720px;
  margin: 1.5rem auto 3rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #b5b5b5; /* lighter grey so it feels secondary */
  font-style: italic; /* optional: makes it read like a tip or insight */
  text-align: center; /* center align for balance */
}


/* Cards */
.cyber-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.cyber-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 12px;
  transition: transform 0.3s ease, border 0.3s ease, box-shadow 0.3s ease;
}

.cyber-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.cyber-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #fff;
}

.card-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #bbb;
}

/* Responsive typography */
@media (max-width: 768px) {
  .main-heading { font-size: 2rem; }
  .sub-heading { font-size: 1.3rem; }
  .intro-paragraph { font-size: 1rem; }
}


/* ===================================
   AI FEATURE SECTION
=================================== */
/* AI Section */
.ai-feature-block {
  background: linear-gradient(135deg, #0d0f1a, #1a103d);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.ai-feature-block .section-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.ai-tip {
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #bbb;
  font-style: italic;
}

/* Card Grid */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 2rem 0 3rem;
}

/* Card Layout */
.card {
  display: flex;
  flex-direction: column;
  height: 450px; /* fixed height for consistent layout */
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  color: #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.card-image {
  flex: 1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image fills top half nicely */
}

.card-body {
  flex: 1;
  padding: 1.5rem;
  text-align: left;
}

.card-body h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #111;
}

.card-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}


/* ===================================
   TRAINING PROGRAMMES
=================================== */

.training-programmes {
  background: linear-gradient(135deg, #1c1f2b, #2a2d3a);
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
}

.header-block h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.intro-divider {
  width: 70px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

.header-block h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.header-block p {
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto 2.5rem;
  color: #ccc;
  line-height: 1.6;
}

.training-tip {
  max-width: 720px;
  margin: 1.5rem auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #b5b5b5;  /* lighter grey, secondary tone */
  font-style: italic; /* optional for extra "tip" vibe */
  text-align: center;
}

/* Grid */
.training-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto 3rem;
}

/* Card */
.training-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.training-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

/* Illustrations */
.card-illustration {
  width: 100%;
  height: 140px;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: 8px;
}

.card-illustration img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Icons */
.card-icon {
  width: 45px;
  height: 45px;
  margin: 0.5rem auto 1rem;
  color: var(--accent-color);
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.training-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.training-card p {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

/* Conclusion */
.training-conclusion {
  max-width: 800px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--accent-color);
  border-radius: 6px;
  color: #ddd;
  font-size: 1.05rem;
  line-height: 1.6;
}



/* ===================================
   TECHNOLOGY PARTNERSHIP
=================================== */
.technology-partnership {
  background: linear-gradient(135deg, #1c1f2b, #2a2d3a);
  color: #fff;
  padding: 4rem 2rem;
}

.technology-partnership .header-block {
  text-align: center;
  margin-bottom: 3rem;
}

.technology-partnership h2 {
  font-size: 2.5rem;
  font-weight: bold;
}

.intro-divider {
  width: 70px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

.partnership-tip {
  max-width: 800px;
  margin: 1.5rem auto;
  font-size: 1rem;
  line-height: 1.7;
  color: #b5b5b5;
  font-style: italic;
  text-align: center;
}

/* Layout */
.content-container {
  display: flex;
  justify-content: space-between;
  align-items: stretch; 
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
  flex-wrap: wrap;
}

.left-column {
  flex: 1 1 40%;
  display: flex;
  align-items: center;     
  justify-content: center;
}

.illustration {
  max-width: 100%;
  max-height: 100%;        
  object-fit: contain;
}

.right-column {
  flex: 1 1 55%;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Cards */
.content-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.5rem;
  transition: transform 0.3s ease, border 0.3s ease;
}

.content-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
}

.card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--accent-color);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
  max-width: 1000px;
  margin: 0 auto;
}


/* ===================================
   DIGITAL TRANSFORMATION
=================================== */
/* Section Base */
.digital-transformation {
  background: linear-gradient(135deg, #1c1f2b, #2a2d3a);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

/* Headings */
.digital-transformation .hero-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.digital-transformation .subheading {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.intro-divider {
  width: 70px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* Secondary Tip Style */
.secondary-tip {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #b5b5b5;
  font-style: italic;
}

/* Features */
.features-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1100px;
}

.feature-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, border 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.feature-heading {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.75rem;
  color: #fff;
}

.feature-description {
  font-size: 1rem;
  color: #ccc;
  line-height: 1.6;
}

/* CTA Buttons */
.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 2rem auto;
}

.primary-btn,
.secondary-btn {
  font-size: 1rem;
  padding: 0.9rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 220px;
  text-align: center;
}

.primary-btn {
  background-color: #8a63d2; /* brighter purple */
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(138, 99, 210, 0.3);
}

.primary-btn:hover {
  background-color: #764fba;
  box-shadow: 0 6px 16px rgba(138, 99, 210, 0.4);
}

.secondary-btn {
  background-color: transparent;
  border: 2px solid #00bfa6; 
  color: #00bfa6;
}

.secondary-btn:hover {
  background-color: rgba(0, 191, 166, 0.1); 
}

/* Bottom Tagline */
.bottom-tagline {
  margin-top: 2.5rem;
  font-size: 1.05rem;
}

.digital-transformation .intro-divider { display: none; }



/* ===================================
   CONTACT
=================================== */

/* Contact Section */
.contact-section {
  background: linear-gradient(135deg, #1c1f2b, #2a2d3a);
  color: #fff;
  padding: 5rem 2rem;
  text-align: center;
}

.contact-container {
  max-width: 1100px;
  margin: 0 auto;
}

/* Heading */
.contact-heading {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Divider already styled globally */
.intro-divider {
  width: 70px;
  height: 3px;
  background: var(--accent-color);
  margin: 0.75rem auto 1.5rem;
  border-radius: 2px;
}

/* Secondary Tip */
.secondary-tip {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #b5b5b5;
  font-style: italic;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.contact-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  transition: transform 0.3s ease, border 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-color);
}

.contact-icon {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 0.75rem;
}

.contact-card h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  color: #fff;
}

.contact-card p {
  color: #ccc;
}

.contact-card a {
  color: var(--accent-color);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

/* CTA Button */
.contact-cta {
  margin-top: 2rem;
}





/* ===================================
   FOOTER
=================================== */

.site-footer {
  background: #111827; /* professional dark slate */
  color: #d1d5db;
  padding: 3rem 2rem 1.5rem;
  font-size: 0.95rem;
}


.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links ul li a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: var(--accent-color);
}

.footer-logo img {
  height: 42px;            /* tune between 38–48px if needed */
  width: auto;
  display: block;
  filter: drop-shadow(0 0 4px rgba(167,139,250,.18)); /* subtle glow that matches brand */
  transition: transform .2s ease;
}

.footer-logo:hover img {
  transform: translateY(-2px);
}

/* Contact */
.footer-contact p a {
  color: #d1d5db;
  text-decoration: none;
}

.footer-contact p a:hover {
  color: var(--accent-color);
}

/* Social Icons */
.social-icons a {
  display: inline-block;
  margin-right: 0.75rem;
  font-size: 1.2rem;
  color: #d1d5db;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-bottom a {
  color: #9ca3af;
  text-decoration: none;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-color);
}


.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 2rem;
  padding: 1rem 0;
  display: flex;
  align-items: center;
  justify-content: center;          /* center on wide; change to space-between if you prefer */
  gap: 1rem .75rem;
  flex-wrap: wrap;                  /* wraps neatly on mobile */
  text-align: center;
}

.footer-bottom .footer-mark {
  height: 20px;
  width: auto;
  opacity: .9;
  filter: drop-shadow(0 0 3px rgba(167,139,250,.18));
}

.footer-bottom .footer-copy {
  margin: 0;
  color: #cfcfe3;
  font-size: .95rem;
}

.footer-bottom .footer-legal {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.footer-bottom .footer-legal a {
  color: #e6e6f5;
  text-decoration: none;
  font-size: .95rem;
  opacity: .9;
  transition: opacity .2s ease, color .2s ease;
}

.footer-bottom .footer-legal a:hover {
  color: var(--color-accent, #6B53A0);
  opacity: 1;
}

/* small dot separator */
.footer-bottom .footer-legal .dot {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

/* Mobile sizing */
@media (max-width: 768px) {
  .footer-bottom .footer-mark { height: 18px; }
  .footer-bottom .footer-copy,
  .footer-bottom .footer-legal a { font-size: .9rem; }
}


/* ===================================
   COOKIE CONSENT (Bottom-centered Card)
=================================== */

/* Overlay blocks page (incl. menu) until a choice is made */
.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: flex-end;      /* bottom */
  justify-content: center;    /* centered horizontally */
  padding: 1rem;              /* space from edges */
  z-index: 100000;            /* high to beat header/chat widgets */
  backdrop-filter: blur(2px);
  pointer-events: auto;       /* intercept clicks */
}
.cookie-overlay.hidden { display: none; }

/* Main cookie banner (centered + ~75% width) */
.cookie-banner {
  background: #111827;
  color: #f3f4f6;
  width: min(675px, 75vw);      /* was min(900px,95vw) -> ~75% */
  border-radius: 16px 16px 12px 12px;
  border-top: 3px solid var(--accent-color, #6B53A0);
  padding: 1.5rem 1.75rem;      /* a touch more breathing room */
  box-shadow: 0 14px 40px rgba(0,0,0,.45);
  font-size: 0.95rem;

  display: flex;
  flex-direction: column;
  align-items: center;          /* center contents */
  gap: 0.9rem;

  text-align: center;           /* center text */
  animation: cookie-slide-up 0.35s ease-out;
}

.cookie-banner a {
  color: var(--accent-color, #6B53A0);
  text-decoration: underline;
}

.cookie-banner-inner { width: 100%; }

.cookie-text {
  margin: 0 auto;               /* center block */
  line-height: 1.6;             /* roomier for readability */
}

/* Buttons (centered row) */
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;       /* center buttons */
  gap: .75rem;                   /* slightly larger spacing */
}
.cookie-buttons button {
  background: #1f2937;
  color: #f3f4f6;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: .55rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, filter .2s ease;
}
.cookie-buttons button:hover {
  background: #273245;
  color: #fff;
}
.cookie-buttons #cookie-accept {
  background: var(--accent-color, #6B53A0);
  border: none;
  color: #fff;
}
.cookie-buttons #cookie-accept:hover { filter: brightness(0.95); }

/* Preferences modal (unchanged, small polish) */
.cookie-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100001;
}
.cookie-modal.hidden { display: none; }

.cookie-modal-inner {
  background: #1f2937;
  color: #f9fafb;
  border-top: 4px solid var(--accent-color, #6B53A0);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 90%;
  max-width: 480px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: cookie-fade-in 0.3s ease-out;
}
.cookie-modal-inner h3 { margin-bottom: 0.5rem; color: #fff; }
.cookie-modal-inner label { display: block; margin: 0.6rem 0; font-size: 0.95rem; }

.cookie-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 1rem;
}
.cookie-actions button {
  background: #2d3748;
  color: #f3f4f6;
  border: none;
  border-radius: 10px;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.25s ease;
}
.cookie-actions button:hover { background: var(--accent-color, #6B53A0); }

/* Utility */
.hidden { display: none; }


/* Cookie: add space between text and buttons */
.cookie-banner-inner .cookie-text { 
  margin-bottom: 1rem;      /* tweak: 0.75–1.25rem as you prefer */
}

/* Animations */
@keyframes cookie-fade-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes cookie-slide-up {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Mobile: full-width bottom sheet */
@media (max-width: 600px) {
  .cookie-banner {
    width: 100%;
    border-radius: 12px 12px 0 0;
  }
  .cookie-banner-inner .cookie-text { margin-bottom: 1.1rem; }
}










.hero .btn-primary {
  background: #6B53A0 !important;
  z-index: 9999 !important;
}





/* Modal overlay */

.modal {
  display: none; /* hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85); /* darker overlay */
  z-index: 10000;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

/* Modal box */
.modal-content {
  background: #1e1e1e; /* dark background to match site */
  color: var(--color-text);
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: fadeInUp 0.3s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Close button */
.modal-content .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--color-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.modal-content .close:hover {
  color: var(--color-accent);
}

/* Form styling */
.consultation-form input,
.consultation-form textarea {
  width: 100%;
  padding: 0.9rem;
  margin-bottom: 1rem;
  border: 1px solid #333;
  border-radius: 6px;
  font-size: 1rem;
  background: #2c2c2c;
  color: #fff;
  transition: border 0.3s ease;
}

.consultation-form input:focus,
.consultation-form textarea:focus {
  border-color: var(--color-accent);
  outline: none;
}

.consultation-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Buttons inside modal */
.consultation-form button {
  width: 100%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  padding: 0.9rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.consultation-form button:hover {
  background: #5a4391; /* slightly darker purple */
  transform: translateY(-2px);
}



/* Button loading */
.btn.is-loading { pointer-events: none; opacity: 0.85; }
.btn .spinner {
  width: 1em; height: 1em; border-radius: 50%;
  border: 2px solid currentColor; border-right-color: transparent;
  display: inline-block; vertical-align: -0.125em; margin-left: 0.5rem;
  animation: btnspin 0.6s linear infinite;
}
@keyframes btnspin { to { transform: rotate(360deg); } }

/* Dim inputs while submitting (optional) */
.consultation-form.is-submitting input,
.consultation-form.is-submitting textarea,
.consultation-form.is-submitting button {
  opacity: 0.7; pointer-events: none;
}




/* Animation */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}





#toast {
  visibility: hidden;
  min-width: 280px;
  max-width: 90%;
  margin-left: -140px;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  padding: 1rem;
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 30px;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 0.5s ease, bottom 0.5s ease;
}

/* Active state */
#toast.show {
  visibility: visible;
  opacity: 1;
  bottom: 50px; /* small upward animation */
}

/* Variants */
#toast.success {
  background: linear-gradient(135deg, #6B53A0, #A78BFA); /* purple gradient */
}

#toast.error {
  background: #E53935; /* professional red */
}

#toast.warning {
  background: #FFC107; /* amber */
  color: #111; /* better contrast */
}


@media (prefers-reduced-motion: reduce) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}



/* Modal Base */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  animation: fadeIn 0.3s ease forwards;
}

/* Modal Content */
.modal-content {
  background: #1f1f2e;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  max-width: 500px;
  width: 90%;
  transform: scale(0.9);
  opacity: 0;
  animation: scaleUp 0.3s ease forwards;
}

/* Close Button */
.modal .close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal .close:hover {
  transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}




/* Apply to section-level headings only */
.section-heading,
.section-title,
.main-heading,
.digital-transformation .hero-title,
.feature-section .section-heading {
  position: relative;
  font-family: var(--heading-font-family);
  font-weight: var(--heading-font-weight);
  color: var(--heading-color);
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Unified underline */
.section-heading::after,
.section-title::after,
.main-heading::after,
.feature-section .section-heading::after,
.digital-transformation .hero-title::after {
  content: "";
  display: block;
  width: var(--heading-underline-width);
  height: var(--heading-underline-height);
  background: var(--accent-color);
  margin: var(--heading-underline-gap-top) auto var(--heading-underline-gap-bottom);
  border-radius: 2px;
}

/* Keep Digital Transformation subheading as accent (visual hierarchy) */
.digital-transformation .subheading {
  font-family: var(--heading-font-family);
  font-weight: 600;
  color: var(--accent-color);
}


/* Utility: if any LIGHT section needs dark headings, add this class to that section */
.heading-contrast--dark { --heading-color: #111; }
