/* === Certifications Carousel Styles === */
.cert-carousel-outer {
  position: relative;
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  height: 110px;
  display: flex;
  align-items: center;
  z-index: 5;
}

.hero-subtitle {
  text-align: justify;
}

.nav-menu {
  display: flex;
  align-items: center;      /* Ensures vertical centering */
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link,
.nav-item .btn {
  vertical-align: middle;   /* Aligns text and button vertically */
  line-height: 1.5;         /* Ensures consistent height */
  margin: 0;                /* Remove extra margin */
  padding: 0.6em 1.2em;     /* Consistent padding */
  font-size: 1.08rem;
  font-weight: 600;
}

.nav-item .btn {
  background: #e53935;
  color: #fff;
  border: none;
  border-radius: 12px;
  margin-left: 18px;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 12px 0 rgba(229, 57, 53, 0.18);
  text-align: center;
  text-decoration: none;
  display: flex;               /* Use flex for vertical centering */
  align-items: center;         /* Center text vertically */
  justify-content: center;     /* Center text horizontally */
  height: 48px;                /* Match nav-link height */
  font-size: 1.08rem;
  font-weight: 600;
  padding: 0 1.6em;            /* Horizontal padding only */
  vertical-align: middle;
}



/* Responsive: stack menu vertically on mobile */
@media (max-width: 900px) {
  .nav-menu {
    flex-direction: column;
    gap: 0;
  }
  .nav-item {
    margin-bottom: 12px;
  }
}


.cert-carousel-track {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 110px;
}

.cert-carousel-list {
  display: flex;
  align-items: center;
  gap: 32px;
  animation: cert-carousel-scroll 32s linear infinite;
  height: 110px;
}

@keyframes cert-carousel-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.cert-img {
  height: 80px;
  width: 120px;
  object-fit: contain;
  background: rgba(30, 30, 30, 0.85);
  border-radius: 12px;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.18), 0 1.5px 8px 0 rgba(220,38,38,0.10);
  padding: 10px 16px;
  margin: 0 2px;
  transition: box-shadow 0.2s, transform 0.2s;
  border: 1.5px solid rgba(255,255,255,0.08);
}

.cert-img:hover {
  box-shadow: 0 6px 24px 0 rgba(220,38,38,0.18), 0 2px 12px 0 rgba(220,38,38,0.18);
  transform: scale(1.06);
}

.cert-carousel-fade {
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.cert-carousel-fade-left {
  left: 0;
  background: linear-gradient(90deg, var(--bg-dark) 80%, transparent 100%);
}
.cert-carousel-fade-right {
  right: 0;
  background: linear-gradient(270deg, var(--bg-dark) 80%, transparent 100%);
}

@media (max-width: 1024px) {
  .cert-carousel-outer {
    max-width: 98vw;
    height: 90px;
  }
  .cert-carousel-track, .cert-carousel-list {
    height: 90px;
  }
  .cert-img {
    height: 60px;
    width: 90px;
    padding: 7px 10px;
  }
  .cert-carousel-fade {
    width: 40px;
  }
}

@media (max-width: 600px) {
  .cert-carousel-outer {
    height: 60px;
    margin-top: 1.2rem;
  }
  .cert-carousel-track, .cert-carousel-list {
    height: 60px;
  }
  .cert-img {
    height: 36px;
    width: 54px;
    padding: 4px 5px;
    border-radius: 7px;
  }
  .cert-carousel-fade {
    width: 22px;
  }
}
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #dc2626;
  --dark-red: #991b1b;
  --light-red: #ef4444;
  --accent-red: #fee2e2;
  --bg-dark: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --border-color: #27272a;
  --gradient-red: linear-gradient(135deg, #dc2626, #991b1b);
  --gradient-dark: linear-gradient(135deg, #0a0a0a, #1a1a1a);
  --shadow-red: 0 0 30px rgba(220, 38, 38, 0.3);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);

  /* Mobile-specific variables */
  --mobile-padding: 16px;
  --tablet-padding: 24px;
  --desktop-padding: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--desktop-padding);
}

/* Mobile-first responsive container */
@media (max-width: 767px) {
  .container {
    padding: 0 var(--mobile-padding);
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .container {
    padding: 0 var(--tablet-padding);
  }
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.navbar {
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.5));
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-red);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-red);
  text-shadow: 0 0 10px rgba(220, 38, 38, 0.5);
}

.nav-link:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--primary-red);
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gradient-dark);
  padding: 80px 0 40px; /* Default padding for mobile */
}

/* Desktop hero padding */
@media (min-width: 768px) {
  .hero {
    padding: 0;
  }
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.matrix-rain {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text y="50" font-size="10" fill="%23dc2626" opacity="0.1">01010101</text></svg>')
    repeat;
  animation: matrix-fall 20s linear infinite;
}

@keyframes matrix-fall {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

.floating-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.floating-particles::before,
.floating-particles::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-red);
  border-radius: 50%;
  animation: float 15s infinite linear;
  opacity: 0.3;
}

.floating-particles::before {
  left: 20%;
  animation-delay: -5s;
}

.floating-particles::after {
  left: 80%;
  animation-delay: -10s;
}

@keyframes float {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-text {
  animation: slideInLeft 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.typing-text {
  display: inline-block;
  border-right: 3px solid var(--primary-red);
  animation: typing 3s steps(15) 1s 1 normal both, blink 1s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes typing {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  0%,
  50% {
    border-color: var(--primary-red);
  }
  51%,
  100% {
    border-color: transparent;
  }
}

.highlight {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gradient-red);
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(220, 38, 38, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-red);
}

.btn-secondary:hover {
  background: var(--primary-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-red);
}

.pulse-animation {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-visual {
  animation: slideInRight 1s ease-out;
}

.terminal-window {
  background: var(--bg-secondary);
  border-radius: 12px;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-color);
  overflow: hidden;
  animation: glow 3s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    box-shadow: var(--shadow-dark);
  }
  to {
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.2), var(--shadow-dark);
  }
}

.terminal-header {
  background: var(--bg-card);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.terminal-buttons {
  display: flex;
  gap: 8px;
}

.terminal-buttons span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.btn-red {
  background: #ff5f56;
}
.btn-yellow {
  background: #ffbd2e;
}
.btn-green {
  background: #27ca3f;
}

.terminal-title {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-family: "JetBrains Mono", monospace;
}

.terminal-body {
  padding: 20px;
  background: var(--bg-dark);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
  min-height: 200px;
}

.terminal-line {
  margin-bottom: 8px;
}

.prompt {
  color: var(--primary-red);
}

.command {
  color: var(--text-primary);
}

.typing-command {
  border-right: 2px solid var(--primary-red);
  animation: typeCommand 2s steps(20) 1s 1 normal both,
    blink 1s step-end infinite;
  white-space: nowrap;
  overflow: hidden;
}

@keyframes typeCommand {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

.scan-results {
  margin-top: 16px;
}

.scan-line {
  color: var(--text-secondary);
  margin-bottom: 4px;
  opacity: 0;
  animation: fadeInScan 0.5s ease-in-out forwards;
}

.scan-line:nth-child(1) {
  animation-delay: 3s;
}
.scan-line:nth-child(2) {
  animation-delay: 3.5s;
}
.scan-line:nth-child(3) {
  animation-delay: 4s;
}
.scan-line:nth-child(4) {
  animation-delay: 4.5s;
}
.scan-line:nth-child(5) {
  animation-delay: 5s;
}
.scan-line:nth-child(6) {
  animation-delay: 5.5s;
}

@keyframes fadeInScan {
  to {
    opacity: 1;
  }
}

.vulnerability {
  color: #fbbf24;
}
.critical {
  color: var(--primary-red);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.mouse {
  width: 20px;
  height: 32px;
  border: 2px solid var(--primary-red);
  border-radius: 12px;
  position: relative;
}

.wheel {
  width: 2px;
  height: 6px;
  background: var(--primary-red);
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateX(-50%) translateY(10px);
    opacity: 0.5;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Section Styles */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--bg-secondary);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--primary-red);
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

.security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.grid-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.grid-item[data-delay="0"] {
  animation-delay: 0.1s;
}
.grid-item[data-delay="100"] {
  animation-delay: 0.2s;
}
.grid-item[data-delay="200"] {
  animation-delay: 0.3s;
}
.grid-item[data-delay="300"] {
  animation-delay: 0.4s;
}
.grid-item[data-delay="400"] {
  animation-delay: 0.5s;
}
.grid-item[data-delay="500"] {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.grid-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
}

.grid-item i {
  font-size: 2.5rem;
  color: var(--primary-red);
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.grid-item:hover i {
  transform: scale(1.2);
}

.grid-item span {
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

/* Services Section */
.services {
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-red);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-red);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
}

.service-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
}

.service-features li {
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: bold;
}

/* Industries Section */
.industries {
  background: var(--bg-secondary);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.industry-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.industry-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(220, 38, 38, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.industry-card:hover::after {
  left: 100%;
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
}

.industry-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-red);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.industry-card:hover .industry-icon {
  transform: scale(1.1);
}

.industry-icon i {
  font-size: 2rem;
  color: white;
}

.industry-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.industry-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Why Choose Us Section */
.why-choose-us {
  background: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: var(--gradient-red);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(10deg);
}

.feature-icon i {
  font-size: 1.8rem;
  color: white;
}

.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.feature-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Team Section */
.team {
  background: var(--bg-secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all 0.3s ease;
      display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
  border-color: var(--primary-red);
}

.team-avatar {
  margin-bottom: 1.5rem;
}

.avatar-placeholder {
  width: 100px;
  height: 100px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  transition: transform 0.3s ease;
}

.team-card:hover .avatar-placeholder {
  transform: scale(1.1);
}

.avatar-placeholder i {
  font-size: 2.5rem;
  color: white;
}

/* .team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
} */

.team-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  text-align: center;
  width: 100%;
}



.team-role {
  color: var(--primary-red);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-certifications {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.cert {
  background: var(--primary-red);
  color: white;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: var(--primary-red);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: var(--primary-red);
}

.footer-section ul li i {
  color: var(--primary-red);
  margin-right: 0.5rem;
  width: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  color: var(--text-muted);
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Service Detail Sections */
.service-detail {
  padding: 100px 0;
  position: relative;
}

.service-detail:nth-child(even) {
  background: var(--bg-secondary);
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-content.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-header {
  text-align: center;
  margin-bottom: 2rem;
}

.service-icon-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--gradient-red);
  border-radius: 16px;
  margin-bottom: 1.5rem;
  animation: pulse 2s infinite;
}

.service-icon-large i {
  font-size: 2.5rem;
  color: white;
}

.service-detail h2 {
  font-size: 2.2rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.service-tagline {
  color: var(--primary-red);
  font-size: 1.1rem;
  font-weight: 600;
}

.service-description {
  margin-top: 2rem;
}

.service-description > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.service-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
  border-color: var(--primary-red);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.feature-item i {
  color: var(--primary-red);
  font-size: 1.5rem;
  margin-top: 0.2rem;
}

.feature-item h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Methodology Section */
.methodology {
  margin-top: 3rem;
}

.methodology h3 {
  color: var(--primary-red);
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.methodology-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.step {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-10px);
  border-color: var(--primary-red);
  box-shadow: 0 20px 40px rgba(220, 38, 38, 0.1);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--gradient-red);
  color: white;
  border-radius: 50%;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Service Visual Components */
.web-security-demo,
.network-topology,
.mobile-security-demo,
.cloud-infrastructure {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.browser-window {
  background: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-dark);
}

.browser-header {
  background: var(--bg-secondary);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-color);
}

.browser-buttons {
  display: flex;
  gap: 8px;
}

.url-bar {
  flex: 1;
  background: var(--bg-dark);
  border-radius: 6px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: "JetBrains Mono", monospace;
  font-size: 0.9rem;
}

.url-bar i {
  color: #22c55e;
}

.browser-content {
  padding: 2rem;
}

.vulnerability-scan {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scan-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.scan-item.safe {
  border-left-color: #22c55e;
}

.scan-item.warning {
  border-left-color: #f59e0b;
}

.scan-item.critical {
  border-left-color: var(--primary-red);
}

.scan-item i {
  font-size: 1.2rem;
}

.scan-item.safe i {
  color: #22c55e;
}

.scan-item.warning i {
  color: #f59e0b;
}

.scan-item.critical i {
  color: var(--primary-red);
}


/* Red Team Blue Team Styles */
.red-blue-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.team {
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-color);
}

.red-team {
  border-left: 4px solid var(--primary-red);
}

.blue-team {
  border-left: 4px solid #3b82f6;
}

.team h3 {
  margin-bottom: 1.5rem;
  /* display: flex;
  align-items: center; */
  gap: 0.5rem;
}

.red-team h3 {
  color: var(--primary-red);
}

.blue-team h3 {
  color: #3b82f6;
}

.vs-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: var(--gradient-red);
  border-radius: 50%;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
}

.team ul {
  list-style: none;
}

.team li {
  margin-bottom: 0.8rem;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.team li::before {
  content: "▶";
  position: absolute;
  left: 0;
  color: var(--primary-red);
}

.blue-team li::before {
  color: #3b82f6;
}

/* Additional Services */
.additional-services {
  background: var(--bg-dark);
  padding: 100px 0;
}

.services-cta {
  background: var(--bg-secondary);
  padding: 100px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.cta-content p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.testimonials-slider {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  width: 600%;
}

.testimonial-card {
  width: calc(100% / 6);
  flex-shrink: 0;
  padding: 0 1rem;
}

.testimonial-content {
  background: var(--bg-card);
  padding: 3rem 2rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-icon {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quote-icon i {
  color: white;
  font-size: 1.2rem;
}

.testimonial-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin: 2rem 0;
  flex: 1;
  display: flex;
  align-items: center;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background: var(--gradient-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-avatar i {
  color: white;
  font-size: 1.5rem;
}

.author-info {
  text-align: left;
  flex: 1;
}

.author-info h4 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
}

.author-info span {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.5rem;
}

.rating {
  display: flex;
  gap: 0.2rem;
}

.rating i {
  color: #fbbf24;
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  color: var(--primary-red);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  transform: scale(1.1);
}

.slider-dots {
  display: flex;
  gap: 0.8rem;
}

.dot {
  width: 12px;
  height: 12px;
  background: var(--border-color);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
  background: var(--primary-red);
  transform: scale(1.2);
}

/* Client Logos Section */
.client-logos {
  padding: 80px 0;
  background: var(--bg-dark);
  overflow: hidden;
}

.logos-container {
  position: relative;
  overflow: hidden;
}

.logo-track {
  display: flex;
  animation: scroll-logos 30s linear infinite;
  gap: 3rem;
}

.client-logo {
  flex-shrink: 0;
  width: 200px;
}

.logo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.logo-placeholder:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.1);
}

.logo-placeholder i {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.logo-placeholder span {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Active Navigation Link */
.nav-link.active {
  color: var(--primary-red);
}

.nav-link.active::after {
  width: 100%;
}

/* Network Topology Styles */
.network-diagram {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2rem;
}

.network-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  position: relative;
}

.network-node:hover {
  border-color: var(--primary-red);
  transform: scale(1.05);
}

.network-node i {
  font-size: 2rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.network-node span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Mobile Device Styles */
.mobile-devices {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.device {
  width: 120px;
  height: 200px;
  background: var(--bg-dark);
  border-radius: 20px;
  border: 3px solid var(--border-color);
  padding: 1rem;
  position: relative;
  transition: all 0.3s ease;
}

.device:hover {
  border-color: var(--primary-red);
  transform: scale(1.05);
}

.device-screen {
  width: 100%;
  height: 100%;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.app-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-icon i {
  color: white;
  font-size: 1.2rem;
}

.security-status {
  width: 100%;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.status-item span {
  color: var(--text-secondary);
}

/* Cloud Provider Styles */
.cloud-providers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.provider {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  background: var(--bg-dark);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.provider:hover {
  border-color: var(--primary-red);
  transform: translateY(-5px);
}

.provider i {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.aws i {
  color: #ff9900;
}
.azure i {
  color: #0078d4;
}
.gcp i {
  color: #4285f4;
}

.provider span {
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.status {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status.safe {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.cloud-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.service-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.service-box i {
  font-size: 1.5rem;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.service-box span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Attack Simulation Timeline */
.simulation-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.timeline-item:hover {
  transform: translateX(10px);
}

.timeline-item.red {
  background: rgba(220, 38, 38, 0.1);
  border-left: 4px solid var(--primary-red);
}

.timeline-item.blue {
  background: rgba(59, 130, 246, 0.1);
  border-left: 4px solid #3b82f6;
}

.timeline-marker {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.timeline-item.red .timeline-marker {
  background: var(--primary-red);
}

.timeline-item.blue .timeline-marker {
  background: #3b82f6;
}

.timeline-content h4 {
  color: var(--text-primary);
  margin-bottom: 0.3rem;
  font-size: 1rem;
}

.timeline-content p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Performance and Loading Optimizations */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Orientation change handling */
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero {
    padding: 80px 0 40px;
  }

  .contact-hero,
  .services-hero {
    padding: 80px 0 40px;
  }

  .hero-title,
  .contact-hero h1,
  .hero-title {
    font-size: 2rem;
  }

  .terminal-window {
    display: none; /* Hide on landscape phones to save space */
  }

  .hero-visual {
    display: none;
  }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn-primary {
    border: 2px solid #ffffff;
  }

  .nav-link {
    border-bottom: 1px solid transparent;
  }

  .nav-link:focus,
  .nav-link.active {
    border-bottom-color: #dc2626;
  }
}

/* Dark mode optimization (already dark, but ensure consistency) */
@media (prefers-color-scheme: dark) {
  /* Ensure the site looks good in system dark mode */
  body {
    color-scheme: dark;
  }
}

/* Print styles */
@media print {
  .header,
  .hamburger,
  .hero-background,
  .floating-particles,
  .matrix-rain,
  .terminal-window,
  .btn,
  .contact-form-advanced {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }

  .section-title,
  .hero-title,
  .contact-hero h1 {
    color: black !important;
  }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 30px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  /* Navigation */
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 9999;
    overflow: hidden;
  }

  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
      radial-gradient(circle at 20% 30%, rgba(220, 38, 38, 0.08) 0%, transparent 50%),
      radial-gradient(circle at 80% 70%, rgba(220, 38, 38, 0.05) 0%, transparent 50%),
      radial-gradient(circle at 40% 60%, rgba(220, 38, 38, 0.03) 0%, transparent 50%);
    pointer-events: none;
    animation: gradientShift 8s ease-in-out infinite;
  }

  @keyframes gradientShift {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    animation: none;
  }

  .nav-menu.active li {
    animation: slideInFromTop 0.6s ease forwards;
  }

  .nav-menu.active li:nth-child(1) { animation-delay: 0.1s; }
  .nav-menu.active li:nth-child(2) { animation-delay: 0.2s; }
  .nav-menu.active li:nth-child(3) { animation-delay: 0.3s; }
  .nav-menu.active li:nth-child(4) { animation-delay: 0.4s; }
  .nav-menu.active li:nth-child(5) { animation-delay: 0.5s; }

  @keyframes slideInFromTop {
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-menu .nav-link {
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 2px;
    color: #ffffff;
    text-transform: uppercase;
    padding: 1rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    border-radius: 8px;
  }

  .nav-menu .nav-link::after {
    display: none;
  }

  .nav-menu .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(220, 38, 38, 0.1), transparent);
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .nav-menu .nav-link:hover::before {
    opacity: 1;
  }

  .nav-menu .nav-link:hover {
    color: #dc2626;
    border-color: rgba(220, 38, 38, 0.3);
    transform: scale(1.05);
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    z-index: 10000;
    position: relative;
    transition: all 0.3s ease;
  }

  .hamburger:hover {
    transform: scale(1.1);
  }

  .hamburger .bar {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
    background: #ffffff;
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
    background: #ffffff;
  }

  /* Hero Section */
  .hero {
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .terminal-window {
    width: 100%;
    max-width: 400px;
    margin: 2rem auto 0;
  }

  /* Sections */
  section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .security-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-card {
    padding: 2rem;
  }

  /* Industries */
  .industries-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Team */
  /* .team-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 400px;
    margin: 0 auto;
  } */

  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;  /* Optional: controls total grid width */
    margin: 0 auto;      /* Center the grid on the page */
  }


  /* Other responsive elements */
  .service-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-content.reverse {
    grid-template-columns: 1fr;
  }

  .service-features-grid {
    grid-template-columns: 1fr;
  }

  .methodology-steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .red-blue-teams {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .vs-indicator {
    order: -1;
    margin: 1rem auto;
    font-size: 1.5rem;
  }

  .testimonial-track {
    width: 600%;
  }

  .testimonial-card {
    width: calc(100% / 6);
    padding: 1.5rem;
  }

  .cloud-providers {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .network-diagram {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .mobile-devices {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .logos-container {
    overflow: hidden;
  }

  .client-logo {
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  /* Hero adjustments */
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  /* Section titles */
  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  /* Cards */
  .service-card,
  .industry-card,
  .feature-card,
  .team-card {
    padding: 1.5rem;

  }

  /* Security grid */
  .security-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Terminal */
  .terminal-window {
    max-width: 100%;
    margin: 1rem 0;
  }

  .terminal-body {
    font-size: 0.8rem;
  }

  /* Buttons */
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  /* Stats */
  .stat-number {
    font-size: 2rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  /* Cloud providers */
  .cloud-providers {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 1rem;
  }

  /* Slider controls */
  .slider-controls {
    flex-direction: column;
    gap: 1rem;
  }

  /* CTA buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Footer adjustments */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .social-links {
    justify-content: center;
  }
}

/* Touch and Interaction Improvements */
@media (hover: none) and (pointer: coarse) {
  /* Touch device optimizations */
  .btn,
  .nav-link,
  .service-card,
  .contact-method,
  .hamburger {
    -webkit-tap-highlight-color: rgba(220, 38, 38, 0.2);
  }

  /* Increase touch targets */
  .hamburger {
    padding: 10px;
    margin: -10px -10px -10px 0;
  }

  .nav-link {
    padding: 15px 0;
  }

  /* Disable hover effects on touch devices */
  .service-card:hover,
  .industry-card:hover,
  .feature-card:hover,
  .team-card:hover {
    transform: none;
    box-shadow: none;
  }
}

/* Improved focus states for accessibility */
.btn:focus,
.nav-link:focus,
.hamburger:focus {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.15);
}

/* Smooth scrolling for mobile */
html {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Prevent zoom on input focus on iOS */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
  select,
  textarea,
  input[type="text"],
  input[type="password"],
  input[type="datetime"],
  input[type="datetime-local"],
  input[type="date"],
  input[type="month"],
  input[type="time"],
  input[type="week"],
  input[type="number"],
  input[type="email"],
  input[type="url"],
  input[type="search"],
  input[type="tel"],
  input[type="color"] {
    font-size: 16px;
  }
}

/* Contact Section Styles */
.contact {
  padding: 120px 0;
  background: #141414;
  position: relative;
}

.contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(220, 38, 38, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(220, 38, 38, 0.02) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.contact-info {
  padding: 3rem 2rem;
}

.contact-info h3 {
  font-size: 2rem;
  font-weight: 500;
  color: #ffffff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.contact-info > p {
  color: #a1a1aa;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  font-weight: 300;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-3px);
  background: rgba(220, 38, 38, 0.02);
  border-color: rgba(220, 38, 38, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-item i {
  font-size: 1.5rem;
  color: #dc2626;
  margin-right: 1.5rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
  width: 24px;
  text-align: center;
}

.contact-item div h4 {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.contact-item div p {
  color: #a1a1aa;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(20px);
  padding: 1rem 1rem; /* reduce vertical padding */
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: fit-content;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
  background: rgba(220, 38, 38, 0.02);
}

.form-group label {
  position: absolute;
  top: 15px;
  left: 20px;
  color: #a1a1aa;
  font-size: 1rem;
  transition: all 0.3s ease;
  pointer-events: none;
  background: transparent;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group select:focus + label,
.form-group select:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
  top: -8px;
  left: 15px;
  font-size: 0.85rem;
  color: #dc2626;
  background: #141414;
  padding: 0 5px;
}

.form-group select {
  cursor: pointer;
}

.form-group select option {
  background: #1a1a1a;
  color: #ffffff;
  padding: 10px;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

.btn {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

/* Mobile responsive adjustments for contact section */
@media (max-width: 768px) {
  .contact {
    padding: 80px 0;
  }

  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
  }

  .contact-info,
  .contact-form {
    padding: 2rem 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.8rem;
  }

  .contact-item {
    padding: 1.2rem;
    margin-bottom: 2rem;
  }

  .contact-item i {
    font-size: 1.3rem;
    margin-right: 1rem;
  }
}

@media (max-width: 480px) {
  .contact {
    padding: 60px 0;
  }

  .contact-info,
  .contact-form {
    padding: 1.5rem 1rem;
    border-radius: 16px;
  }

  .contact-info h3 {
    font-size: 1.6rem;
  }

  .contact-info > p {
    font-size: 1rem;
  }

  .contact-item {
    padding: 1rem;
    border-radius: 12px;
  }

  .contact-item div h4 {
    font-size: 1rem;
  }

  .contact-item div p {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 15px;
    font-size: 0.95rem;
  }

  .form-group label {
    font-size: 0.95rem;
    top: 12px;
    left: 15px;
  }

  .form-group input:focus + label,
  .form-group input:valid + label,
  .form-group select:focus + label,
  .form-group select:valid + label,
  .form-group textarea:focus + label,
  .form-group textarea:valid + label {
    font-size: 0.8rem;
    left: 12px;
  }
}
