/* ========================================
   CHABCHEV TECH CREATIONS - STYLES
   ======================================== */

/* CSS Variables */
:root {
  /* PRIMARY BRAND COLORS (3-color logo system) */
  --primary-blue: #1a5490; /* Deep Blue - trust, technology (logo hexagons 1 & 2) */
  --primary-green: #6fa83a; /* Vibrant Green - growth, empowerment (logo hexagon 3) */
  --primary-black: #1f2937; /* Charcoal Black - text, authority (logo text) */

  /* COLOR VARIATIONS (for hover/interaction states) */
  --blue-light: #2d7ab8; /* Lighter blue for hovers */
  --blue-dark: #0f3d6b; /* Darker blue for depth */
  --green-light: #8bc24a; /* Lighter green for hovers */
  --green-dark: #5a8f2e; /* Darker green for depth */

  /* TEXT COLORS */
  --text-primary: #1f2937; /* Primary text (logo black) */
  --text-secondary: #4b5563; /* Secondary text */
  --text-muted: #6b7280; /* Muted text (keep as is) */
  --text-light: #ffffff; /* White text */

  /* BACKGROUND COLORS */
  --bg-dark: #0a0a0a; /* Dark backgrounds */
  --bg-light: #ffffff; /* White backgrounds */
  --bg-section: #f8f9fa; /* Light section backgrounds */
  --bg-blue-subtle: #e8f1f8; /* Subtle blue tint */
  --bg-green-subtle: #f0f7e8; /* Subtle green tint */

  /* GRADIENTS (using logo colors) */
  --gradient-primary: linear-gradient(135deg, #1a5490, #6fa83a);
  --gradient-blue: linear-gradient(135deg, #1a5490, #2d7ab8);
  --gradient-green: linear-gradient(135deg, #6fa83a, #8bc24a);

  /* SHADOWS (with blue tint) */
  --shadow-sm: 0 2px 8px rgba(26, 84, 144, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 84, 144, 0.12);
  --shadow-lg: 0 8px 32px rgba(26, 84, 144, 0.16);

  /* TRANSITIONS */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* Container */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

/*.nav.scrolled .nav-container {
  padding: 1rem 5%;
}
*/

/* Logo Styling */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
  z-index: 1001; /* Below toggle button */
}

/* Logo turns dark when scrolled */
.nav.scrolled .nav-logo {
  color: var(--text-primary);
}

.nav-logo:hover {
  opacity: 0.8;
}

/* Logo SVG colors - keep original gradient */
.nav-logo svg path,
.nav-logo svg circle {
  transition: var(--transition);
}

/* Menu Links */
.nav-menu {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.nav-link {
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light); /* DEFAULT: Light color on hero */
  position: relative;
  transition: var(--transition);
}

/* Links turn dark when scrolled */
.nav.scrolled .nav-link {
  color: var(--text-primary);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-green);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px; /* Increased tap target */
  position: relative;
  z-index: 1002;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  min-width: 44px; /* iOS minimum touch target */
  min-height: 44px; /* iOS minimum touch target */
}

.nav-toggle span {
  width: 28px;
  height: 2px;
  background: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
  pointer-events: none; /* Prevent spans from blocking clicks */
}

.nav.scrolled .nav-toggle span {
  background: var(--text-primary);
}

.nav-toggle.active span {
  background: var(--text-primary) !important;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 84, 144, 0.88) 0%,
    /* Deep blue from logo */ rgba(111, 168, 58, 0.75) 100%
      /* Vibrant green from logo */
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 1000px;
  padding: 2rem;
  color: var(--text-light);
  animation: fadeInUp 1s ease-out;
}

.hero-description {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 400;
  margin: 1rem auto 2.5rem;
  opacity: 0.9;
  max-width: 800px;
  line-height: 1.5;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  font-weight: 300;
  margin-bottom: 3rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  padding: 1rem 2.5rem;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--text-light);
  color: var(--primary-blue);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  animation: float 2s ease-in-out infinite;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--text-light), transparent);
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

.section-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* ========================================
   SOLUTIONS SECTION
   ======================================== */

.solutions-section {
  background: var(--bg-section);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.solution-card {
  background: var(--bg-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.solution-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.solution-image img {
  transform: scale(1.05);
}

/* For icon fallback (Coming Soon card) */
.solution-icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.solution-image {
  height: 200px;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* For actual images */
.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.solution-icon {
  font-size: 4rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.solution-content {
  padding: 2rem;
}

.solution-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.solution-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.solution-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.solution-tech span {
  padding: 0.4rem 1rem;
  background: rgba(111, 168, 58, 0.1); /* Logo green */
  color: var(--primary-green);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ========================================
   EXPERTISE SECTION
   ======================================== */

.expertise-section {
  background: var(--bg-light);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.expertise-card {
  padding: 3rem 2rem;
  background: var(--bg-section);
  border-radius: 16px;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.expertise-card:hover {
  border-color: var(--primary-green);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.expertise-card:hover::before {
  height: 100%;
}

.expertise-number {
  font-family: "Montserrat", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.expertise-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.expertise-card p {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact-section {
  background: var(--bg-dark);
  color: var(--text-light);
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

/* Contact Info */
.contact-intro {
  margin-bottom: 3rem;
}

.contact-intro h3 {
  font-size: 2rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.contact-intro p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(111, 168, 58, 0.15); /* Logo green with transparency */
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  flex-shrink: 0;
}

.contact-text h4 {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.contact-text a {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  transition: var(--transition);
}

.contact-text a:hover {
  color: var(--primary-green);
}

.contact-text p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 2rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  color: var(--text-light);
  font-family: "Open Sans", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-green);
  background: rgba(255, 255, 255, 0.08);
}

.form-group label {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  color: rgba(255, 255, 255, 0.5);
  pointer-events: none;
  transition: var(--transition);
  font-size: 1rem;
  background: transparent;
}

.form-group input:focus + label,
.form-group textarea:focus + label,
.form-group select:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:not(:placeholder-shown) + label,
.form-group select:valid + label {
  top: -0.75rem;
  left: 1rem;
  font-size: 0.85rem;
  background: var(--bg-dark);
  padding: 0 0.5rem;
  color: var(--primary-green);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ffffff' d='M10.293 3.293L6 7.586 1.707 3.293A1 1 0 00.293 4.707l5 5a1 1 0 001.414 0l5-5a1 1 0 10-1.414-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group select option,
.form-group select optgroup {
  background: var(--bg-dark);
  color: var(--text-light);
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.25rem 2.5rem;
  width: 100%;
  background: var(--gradient-primary);
  color: var(--text-light);
  border: none;
  border-radius: 50px;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(111, 168, 58, 0.4); /* Logo green */
}

.btn-submit svg {
  transition: var(--transition);
}

.btn-submit:hover svg {
  transform: translateX(4px);
}

/* Loading state */
.btn-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .contact-form {
    padding: 2rem 1.5rem;
  }
}

/* Loading Spinner Animation */
.btn-submit.loading {
  opacity: 0.7;
  cursor: not-allowed;
}

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Notification Animations */
@keyframes slideInRight {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOutRight {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Form Error State */
.form-group.error input,
.form-group.error textarea,
.form-group.error select {
  border-color: #ff4444 !important;
}

.error-message {
  color: #ff4444;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  display: block;
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */

.testimonials-section {
  background: var(--bg-section);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.testimonial-card {
  background: var(--bg-light);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.testimonial-quote {
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-green);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin: 2rem 0 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.author-info h4 {
  font-size: 1rem;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.author-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: #000000;
  color: var(--text-light);
  padding: 4rem 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand Column */
.footer-brand-column {
  max-width: 350px;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-brand-name {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* Footer Columns */
.footer-heading {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-green);
  transform: translateX(5px);
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact svg {
  flex-shrink: 0;
  opacity: 0.7;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}
.footer-contact a:hover {
  color: var(--primary-green);
}
/* Footer Social */
.footer-social {
  display: flex;
  gap: 1rem;
}
.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary-green);
  transform: translateY(-3px);
}
/* Footer Bottom */
.footer-bottom {
  padding: 2rem 0;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}
.footer-legal {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}
.footer-legal a:hover {
  color: var(--primary-green);
}
.footer-legal .separator {
  color: rgba(255, 255, 255, 0.3);
}
/* Footer Credit */
.footer-credit {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-credit span {
  margin-right: 0.5rem;
}
.trm-link {
  position: relative;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-green);
  transition: var(--transition);
}
.trm-link:hover {
  color: var(--primary-blue);
  text-shadow: 0 0 8px rgba(111, 168, 58, 0.6), 0 0 16px rgba(26, 84, 144, 0.4); /* Logo colors */
  transform: translateY(-2px);
}
.trm-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}
.trm-link:hover::after {
  width: 100%;
}
/* Responsive */
@media (max-width: 1024px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .footer-brand-column {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   FOOTER CREDIT - Engineered by TAWANDA RONALD MUNYANYI
   ======================================== */

.footer-credit {
  margin-top: 0.6rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-credit span {
  margin-right: 4px;
}

/* Tawanda Ronald Munyanyi Link Styling */
.trm-link {
  position: relative;
  font-weight: 600;
  text-decoration: none;
  color: var(--primary-green);
  transition: var(--transition);
}

/* Glow + lift micro-animation */
.trm-link:hover {
  color: var(--primary-blue);
  text-shadow: 0 0 8px rgba(126, 190, 78, 0.6), 0 0 16px rgba(19, 95, 162, 0.4);
  transform: translateY(-2px);
}

/* Animated gradient underline */
.trm-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.4s ease;
}

.trm-link:hover::after {
  width: 100%;
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(-15px);
  }
}

/* ========================================
   ENTERPRISE SOLUTIONS SECTION
   ======================================== */

.enterprise-section {
  background: var(--bg-section);
}

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.enterprise-card {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: var(--transition);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.enterprise-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.enterprise-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.enterprise-card:hover::before {
  height: 100%;
}

.enterprise-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  display: block;
}

.enterprise-card h3 {
  color: var(--text-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.enterprise-card p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.enterprise-features {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
}

.enterprise-features li {
  color: var(--text-muted);
  padding: 0.6rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.95rem;
}

.enterprise-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-green);
  font-weight: bold;
}

/* Collaboration Banner */
.collaboration-banner {
  margin-top: 4rem;
  background: linear-gradient(
    135deg,
    rgba(26, 84, 144, 0.08),
    /* Logo blue */ rgba(111, 168, 58, 0.08) /* Logo green */
  );
  border: 2px solid rgba(111, 168, 58, 0.2);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
}

.collaboration-content h3 {
  color: var(--text-primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.collaboration-content p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.collaboration-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.collab-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collab-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: "Montserrat", sans-serif;
}

.collab-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Gradient text utility */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .enterprise-grid {
    grid-template-columns: 1fr;
  }

  .collaboration-banner {
    padding: 2rem 1.5rem;
  }

  .collaboration-stats {
    gap: 2rem;
  }
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about-section {
  background: var(--bg-light);
}

.about-header {
  text-align: center;
  margin-bottom: 4rem;
}

.about-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: linear-gradient(
    135deg,
    rgba(26, 84, 144, 0.1),
    /* Logo blue */ rgba(111, 168, 58, 0.1) /* Logo green */
  );
  border: 1px solid var(--primary-green);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.about-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-subtitle {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-text {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

/* Business Pillars */
.business-pillars {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.pillar-item {
  background: var(--bg-section);
  padding: 2rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-blue);
  transition: var(--transition);
}

.pillar-item:hover {
  transform: translateX(8px);
  border-left-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.pillar-number {
  font-family: "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-green);
  opacity: 0.3;
  margin-bottom: 0.5rem;
}

.pillar-item h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.pillar-item p {
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* About Mission */
.about-mission {
  background: linear-gradient(
    135deg,
    rgba(26, 84, 144, 0.08),
    /* Logo blue */ rgba(111, 168, 58, 0.08) /* Logo green */
  );
  padding: 2rem;
  border-radius: 12px;
  border: 2px solid rgba(111, 168, 58, 0.2);
}

.about-mission h4 {
  color: var(--text-primary);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.about-mission p {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 0;
}

/* Stats Visual */
.about-stats-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.stat-box {
  background: var(--bg-section);
  padding: 2rem 1.5rem;
  border-radius: 16px;
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.stat-box:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.stat-box .stat-number {
  font-family: "Montserrat", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-box .stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .about-stats-visual {
    grid-template-columns: 1fr;
  }
}

/* Solution Status Badges */
.solution-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(111, 168, 58, 0.9); /* Logo green */
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.solution-badge.prototype-dev {
  background: rgba(255, 165, 0, 0.9);
}

.status-tag {
  background: rgba(19, 95, 162, 0.15) !important;
  color: var(--primary-blue) !important;
  font-size: 0.75rem !important;
}

.status-tag.dev {
  background: rgba(255, 165, 0, 0.15) !important;
  color: #ff8800 !important;
}

/* Highlight important cards */
.enterprise-card.highlight {
  border: 2px solid var(--primary-green);
  background: linear-gradient(
    135deg,
    rgba(111, 168, 58, 0.05),
    /* Logo green */ rgba(26, 84, 144, 0.05) /* Logo blue */
  );
}
.enterprise-card .btn-secondary {
  background: var(--primary-green);
  color: white;
}

/* ========================================
   SERVICES SECTION 
   ======================================== */

.services-section {
  background: var(--bg-section);
}

.services-categories {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.service-category {
  background: var(--bg-light);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.category-header {
  text-align: center;
  margin-bottom: 3rem;
}

.category-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.category-header h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.category-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-section);
  padding: 2rem 1.5rem;
  border-radius: 12px;
  transition: var(--transition);
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-green);
  box-shadow: var(--shadow-md);
}

.service-icon-small {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .service-category {
    padding: 2rem 1.5rem;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   INNOVATION LAB SECTION
   ======================================== */

.innovation-section {
  background: var(--bg-light);
}

.innovation-intro {
  max-width: 900px;
  margin: 0 auto 4rem;
  text-align: center;
}

.innovation-intro p {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.innovation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.innovation-card {
  background: var(--bg-section);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.innovation-card.featured {
  border: 2px solid var(--primary-green);
}

.innovation-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.innovation-status {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

.innovation-status.prototype {
  background: rgba(111, 168, 58, 0.9); /* Logo green */
  color: white;
}

.innovation-status.development {
  background: rgba(255, 140, 0, 0.9);
  color: white;
}

.innovation-image {
  height: 220px;
  background: var(--gradient-primary); /* Uses logo colors automatically */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.innovation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.innovation-placeholder {
  text-align: center;
}

.placeholder-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.placeholder-text {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.innovation-content {
  padding: 2rem;
}

.innovation-content h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.innovation-content p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.innovation-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.innovation-tech span {
  padding: 0.4rem 1rem;
  background: rgba(26, 84, 144, 0.1); /* Logo blue */
  color: var(--primary-blue);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Innovation Callout */
.innovation-callout {
  background: linear-gradient(
    135deg,
    rgba(26, 84, 144, 0.1),
    /* Logo blue */ rgba(111, 168, 58, 0.1) /* Logo green */
  );
  border: 2px solid var(--primary-green);
  border-radius: 20px;
  padding: 3rem;
  text-align: center;
}

.callout-content h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.callout-content p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .innovation-callout {
    padding: 2rem 1.5rem;
  }
}

/* ========================================
   TRAINING SECTION
   ======================================== */

.training-section {
  background: var(--bg-section);
}

.training-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
}

.training-info h3 {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.training-info > p {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 3rem;
}

.training-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.training-feature {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.feature-content h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.feature-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Tech Areas */
.training-areas {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
}

.training-areas h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-align: center;
}

.tech-areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tech-area {
  background: var(--bg-section);
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  text-align: center;
  transition: var(--transition);
  border: 2px solid transparent;
}

.tech-area:hover {
  border-color: var(--primary-green);
  transform: scale(1.05);
}

@media (max-width: 1024px) {
  .training-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-light);
    flex-direction: column;
    padding: 6rem 2rem;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    justify-content: flex-start;
    align-items: flex-start;
    overflow-y: auto;
    z-index: 1001; /* Below toggle button */
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: var(--text-primary) !important;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    width: 100%;
  }

  /* Remove light color override for mobile */
  .nav.scrolled .nav-menu .nav-link {
    color: var(--text-primary); /* Keep dark */
  }

  .nav-toggle {
    display: flex; /* Show on mobile */
  }

  /* Logo should be below toggle */
  .nav-logo {
    z-index: 1000;
  }

  /* Toggle color - light on hero, dark on scroll */
  .nav-toggle span {
    background: var(--text-light);
  }

  .nav.scrolled .nav-toggle span {
    background: var(--text-primary);
  }

  /* When menu is open, toggle is always dark */
  .nav-toggle.active span {
    background: var(--text-primary) !important;
  }

  .section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .solutions-grid,
  .expertise-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 1rem 5%;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-info h2 {
    font-size: 2rem;
  }
}
