.service-page {
  padding: 2rem;
  padding-top: 6rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

.service-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 10px;
}

.service-header h1 {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-subtitle {
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.service-overview {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  align-items: center;
}

.overview-text {
  flex: 1;
}

.overview-image {
  flex: 1;
}

.overview-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

.service-features {
  margin: 1.5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.service-benefits ul {
  list-style: none;
  padding: 0;
}

.service-benefits li {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  position: relative;
}

.service-benefits li:before {
  content: "→";
  color: var(--accent-color);
  position: absolute;
  left: 0;
}

.service-cta {
  text-align: center;
  padding: 3rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 10px;
}

.cta-button {
  background: var(--accent-color);
  color: var(--primary-bg);
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .service-page {
    padding: 1rem;
    padding-top: 5rem;
  }

  .service-header h1 {
    font-size: 2rem;
  }

  .service-overview {
    flex-direction: column;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }
}

.siem-soc {
  padding-top: 80px;
}

.service-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, rgba(10, 14, 23, 0.95), rgba(20, 27, 45, 0.98));
  overflow: hidden;
}

.service-hero .hero-content {
  max-width: 800px;
  padding: 2rem;
  z-index: 1;
}

.service-hero h1 {
  font-size: 3.5rem;
  background: linear-gradient(120deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.service-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.intro-section {
  text-align: center;
  padding: 3rem;
  margin: 2rem 0;
  border-radius: 20px;
}

.intro-section h2 {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.features-section {
  margin: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-card {
  background: rgba(0, 229, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.why-us-section {
  padding: 3rem;
  margin: 4rem 0;
  border-radius: 20px;
}

.benefits-section {
  margin: 4rem 0;
  padding: 3rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 20px;
}

.benefits-section h2 {
  text-align: center;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.benefit-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.1);
}

.benefit-item h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.tech-stack-section {
  margin: 4rem 0;
  text-align: center;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tech-category {
  background: rgba(0, 229, 255, 0.05);
  border-radius: 15px;
  padding: 1.5rem;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.tech-category h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.cta-section {
  text-align: center;
  margin: 4rem 0;
  padding: 3rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 20px;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2rem;
  border-radius: 25px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-button.primary {
  background: var(--accent-color);
  color: var(--primary-bg);
  border: none;
}

.cta-button.secondary {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
}

.cta-button.tertiary {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--text-color);
}

@media (max-width: 768px) {
  .service-hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .service-content {
    padding: 1rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-section {
    padding: 2rem 1rem;
  }

  .benefit-item {
    padding: 1.5rem;
  }
}

/* Enhanced Hero Section */
.service-hero.enhanced {
  min-height: 70vh;
  background: linear-gradient(135deg, rgba(0,0,0,0.9) 0%, rgba(0,40,85,0.95) 100%);
}

.hero-badge {
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Enhanced Glass Effect */
.enhanced-glass {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 229, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1);
}

/* Enhanced Intro Section */
.intro-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.intro-highlights {
  display: grid;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 10px;
}

.highlight-icon {
  font-size: 1.5rem;
}

/* Enhanced Feature Cards */
.feature-card.enhanced {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Dashboard Preview */
.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.dashboard-item {
  text-align: center;
}

.metric-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 1rem auto;
  background: rgba(0, 229, 255, 0.05);
}

.metric-number {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Enhanced CTA Section */
.cta-section.enhanced {
  background: linear-gradient(135deg, rgba(0,40,85,0.95) 0%, rgba(0,0,0,0.9) 100%);
  border-radius: 20px;
  padding: 3rem;
}

.security-badge {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.security-badge span {
  background: rgba(0, 229, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

/* Hero Background Effects */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.cyber-grid {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.float-element {
  position: absolute;
  width: 50px;
  height: 50px;
  animation: float 6s infinite ease-in-out;
}

.float-element:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.float-element:nth-child(2) { top: 60%; left: 80%; animation-delay: -2s; }
.float-element:nth-child(3) { top: 30%; left: 60%; animation-delay: -4s; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Intro Section with Image */
.intro-image {
  position: relative;
  height: 300px;
}

.floating-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
  animation: levitate 8s infinite ease-in-out;
}

@keyframes levitate {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Visual Divider */
.visual-divider {
  position: relative;
  height: 100px;
  overflow: hidden;
}

.wave-effect {
  width: 100%;
  height: auto;
  opacity: 0.1;
}

/* Feature Cards Enhancement */
.feature-icon-wrapper {
  position: relative;
  height: 80px;
  width: 80px;
  margin: 0 auto 1rem;
}

.feature-bg-icon {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.1;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.1; }
  50% { transform: scale(1.1); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.1; }
}

/* Dashboard Showcase */
.dashboard-showcase {
  position: relative;
  margin: 2rem 0;
  border-radius: 15px;
  overflow: hidden;
}

.dashboard-image {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 229, 255, 0.2);
}

.dashboard-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.pulse-points .pulse-point {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(0, 229, 255, 0.3);
  border-radius: 50%;
  animation: pulsePoint 2s infinite;
}

@keyframes pulsePoint {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* SOC Visual Section */
.soc-visual {
  margin: 4rem 0;
}

.soc-grid {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.soc-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.soc-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
}

/* CTA Background Enhancement */
.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.1;
}

.pattern-overlay {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .intro-image {
    height: 200px;
  }

  .soc-image {
    height: 300px;
  }
}

/* Hero Section */
.hero-section {
  min-height: 85vh;
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f2c 100%);
  padding: 2rem;
  position: relative;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  height: 70vh;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.hero-highlight {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-highlight span {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  padding: 0.5rem 1.5rem;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

.hero-image {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: brightness(0.8) contrast(1.2);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.1) 0%, transparent 100%);
  border-radius: 20px;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 2rem;
  background: rgba(0, 229, 255, 0.03);
  backdrop-filter: blur(10px);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
}

/* Features Section */
.features-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.features-image {
  position: relative;
  height: 100%;
  min-height: 500px;
}

.dashboard-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: brightness(0.8) contrast(1.2);
}

.pulse-point {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(0, 229, 255, 0.3);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  70% { transform: scale(2); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    height: auto;
    gap: 2rem;
    text-align: center;
  }

  .hero-image {
    height: 400px;
  }

  .features-container {
    grid-template-columns: 1fr;
  }

  .features-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .intro-text {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    position: relative;
  }
}

/* Updated Hero Section */
.hero-section {
  min-height: 85vh;
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f2c 100%);
  padding: 2rem;
  position: relative;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  height: 70vh;
}

.hero-text h1 {
  font-size: 4.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(120deg, #ffffff, var(--accent-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.5rem;
  color: var(--text-color);
  margin-bottom: 2rem;
}

.hero-highlight {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
}

.hero-highlight span {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  padding: 0.5rem 1.5rem;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(0, 229, 255, 0.2);
}

/* Introduction Section */
.intro-section {
  padding: 4rem 2rem;
  background: rgba(0, 229, 255, 0.02);
}

.content-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.intro-text {
  font-size: 1.4rem;
  line-height: 1.6;
  text-align: center;
  color: var(--text-color);
}

/* Features Section */
.features-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.features-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.feature-card h3 {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 2rem;
  background: rgba(0, 229, 255, 0.02);
}

.benefits-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.3rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Technology Stack */
.tech-section {
  padding: 4rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.tech-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.tech-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.tech-card h3 {
  color: var(--accent-color);
  margin-bottom: 1rem;
}

/* Enhanced CTA Section */
.cta-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(0,40,85,0.95) 0%, rgba(0,0,0,0.9) 100%);
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-top: 3rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    height: auto;
    gap: 2rem;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-highlight {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 2.8rem;
  }

  .hero-description {
    font-size: 1.2rem;
  }

  .intro-text {
    font-size: 1.2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }
}

/* Penetration Testing Page Specific Styles */
.pentest-hero {
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f2c 100%);
}

.hex-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('https://www.reysquad.world/img/gallery/home/img1.jpg') center/cover;
  opacity: 0.1;
  mix-blend-mode: overlay;
}

/* Zig-zag Sections */
.zigzag-sections {
  padding: 4rem 0;
}

.zigzag-section {
  padding: 6rem 2rem;
  background: rgba(0, 229, 255, 0.02);
}

.zigzag-section:nth-child(even) {
  background: transparent;
}

.zigzag-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.zigzag-content.right {
  direction: rtl;
}

.zigzag-content.right .zigzag-text {
  direction: ltr;
}

.zigzag-text {
  padding: 2rem;
}

.zigzag-text h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 2rem;
}

.zigzag-image {
  position: relative;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
}

.zigzag-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: brightness(0.8) contrast(1.2);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
}

.feature-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Tools Section */
.tools-section {
  padding: 6rem 2rem;
  text-align: center;
  background: rgba(0, 229, 255, 0.02);
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.tool-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.tool-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Results Section */
.results-section {
  padding: 6rem 2rem;
}

.results-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.result-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.result-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .zigzag-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zigzag-content.right {
    direction: ltr;
  }

  .zigzag-image {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .zigzag-section {
    padding: 3rem 1rem;
  }

  .zigzag-text h2 {
    font-size: 2rem;
  }

  .feature-list li {
    font-size: 1.1rem;
  }
}

/* Network Security Specific Styles */
.network-security {
  background: var(--primary-bg);
}

.network-hero {
  position: relative;
  min-height: 90vh;
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f2c 100%);
  overflow: hidden;
}

.network-grid-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(0, 229, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.1;
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
}

.hero-content.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 70vh;
}

.hero-left {
  position: relative;
  z-index: 2;
}

.security-metrics {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(0, 229, 255, 0.1);
}

.metric-value {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.network-visual {
  position: relative;
  height: 400px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  filter: brightness(0.8) contrast(1.2);
}

.connection-lines {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 229, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0, 229, 255, 0.1) 0%, transparent 50%);
}

/* Overview Section */
.overview-section {
  padding: 6rem 2rem;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
}

.overview-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.overview-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Services Showcase */
.services-showcase {
  padding: 6rem 2rem;
  background: rgba(0, 229, 255, 0.02);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.service-item {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.service-features {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.service-features li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.service-features li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.showcase-visual {
  position: relative;
  height: 500px;
}

.visual-container {
  position: relative;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.showcase-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.security-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0,229,255,0.1) 0%, transparent 100%);
}

/* Technology Stack */
.tech-stack {
  padding: 6rem 2rem;
}

.tech-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
}

.tech-name {
  font-size: 1.2rem;
  color: var(--accent-color);
}

/* Network CTA */
.network-cta {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(0,40,85,0.95) 0%, rgba(0,0,0,0.9) 100%);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero-content.split {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .security-metrics {
    justify-content: center;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
  }

  .showcase-visual {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .network-visual {
    height: 300px;
  }

  .overview-cards {
    grid-template-columns: 1fr;
  }
}

/* Security Audits Page Specific Styles */
.security-audits {
  background: var(--primary-bg);
}

/* Hero Section */
.audit-hero {
  min-height: 80vh;
  background: linear-gradient(135deg, #0a0e17 0%, #1a1f2c 100%);
  position: relative;
  overflow: hidden;
}

.audit-hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.audit-title-section {
  text-align: center;
}

.audit-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  border-radius: 25px;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.audit-tagline {
  color: var(--text-color);
  font-size: 1.8rem;
  margin-top: 1rem;
}

/* Process Visual */
.audit-process-visual {
  margin-top: 2rem;
}

.process-circle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  padding: 2rem 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 1;
}

.step-icon {
  font-size: 2rem;
  background: rgba(0, 229, 255, 0.1);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(0, 229, 255, 0.2);
}

.step-label {
  color: var(--text-color);
  font-size: 1.1rem;
}

.progress-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 229, 255, 0.2);
  transform: translateY(-50%);
}

/* Audit Services */
.audit-services {
  padding: 6rem 2rem;
}

.audit-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.audit-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.card-icon {
  font-size: 2rem;
}

.audit-checklist {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.audit-checklist li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.audit-checklist li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.compliance-tags {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.compliance-tags span {
  padding: 0.3rem 0.8rem;
  background: rgba(0, 229, 255, 0.1);
  border-radius: 15px;
  font-size: 0.9rem;
  color: var(--accent-color);
}

/* Methodology Section */
.audit-methodology {
  padding: 6rem 2rem;
  background: rgba(0, 229, 255, 0.02);
}

.methodology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}

.circular-progress {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 400px;
  margin: 0 auto;
}

.progress-segment {
  aspect-ratio: 1;
  background: rgba(0, 229, 255, 0.05);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.segment-content {
  text-align: center;
}

.segment-number {
  font-size: 2rem;
  color: var(--accent-color);
  display: block;
}

.methodology-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
}

/* Deliverables Section */
.audit-deliverables {
  padding: 6rem 2rem;
}

.deliverables-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.deliverable-item {
  text-align: center;
  padding: 2rem;
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  border-radius: 15px;
  transition: all 0.3s ease;
}

.deliverable-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .methodology-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .process-circle {
    flex-direction: column;
    gap: 2rem;
  }

  .progress-line {
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
}

/* Security Audits Additional Styles */
.audit-overview {
  padding: 4rem 2rem;
  background: rgba(0, 229, 255, 0.02);
}

.overview-content {
  margin-top: 2rem;
}

.overview-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.overview-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.point-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.point-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
}

.service-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.service-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.8rem;
}

.service-list li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.compliance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.compliance-badges span {
  background: rgba(0, 229, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 15px;
  font-size: 0.9rem;
  color: var(--accent-color);
}

.frameworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.framework-card {
  background: rgba(0, 229, 255, 0.03);
  border: 1px solid rgba(0, 229, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
}

.methodology-intro {
  text-align: center;
  font-size: 1.2rem;
  margin: 2rem 0;
}

.section-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.section-container h2 {
  text-align: center;
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .section-container {
    padding: 1rem;
  }
  
  .section-container h2 {
    font-size: 2rem;
  }
  
  .overview-points {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Cybersecurity Glitch Effects */
.glitch-text {
  position: relative;
  animation: glitch 1s infinite;
}

.glitch-text::before,
.glitch-text::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.8;
}

.glitch-text::before {
  animation: glitch-effect 3s infinite;
  color: #0ff;
  z-index: -1;
}

.glitch-text::after {
  animation: glitch-effect 2s infinite;
  color: #f0f;
  z-index: -2;
}

@keyframes glitch-effect {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

/* Cyber Grid Background */
.cyber-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(50px);
  }
}

/* Pulse Effect for Cards */
.pulse-effect {
  position: relative;
  overflow: hidden;
}

.card-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(0, 229, 255, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 3s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

/* Floating Elements */
.audit-badge {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Data Stream Effect */
.data-stream {
  position: absolute;
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 229, 255, 0.5),
    transparent
  );
  animation: dataStream 2s linear infinite;
}

@keyframes dataStream {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Matrix Rain Effect */
.matrix-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0.9),
    rgba(0, 229, 255, 0.1)
  );
  mask-image: url("data:image/svg+xml,%3Csvg width='10' height='10' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='0' y='10' font-family='monospace' font-size='10'%3E1%3C/text%3E%3C/svg%3E");
  animation: matrixRain 20s linear infinite;
  opacity: 0.05;
}

@keyframes matrixRain {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 1000px;
  }
}

/* Mobile Responsiveness Fixes */

/* Hero Section Fixes */
@media (max-width: 768px) {
  .network-hero {
    min-height: auto;
    padding: 4rem 1rem;
  }

  .hero-container {
    padding: 1rem;
  }

  .hero-content.split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .security-metrics {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .metric {
    width: calc(50% - 0.5rem);
    padding: 0.8rem;
  }

  .network-visual {
    height: 250px;
  }
}

/* Zig-zag Section Fixes */
@media (max-width: 768px) {
  .zigzag-sections {
    padding: 2rem 0;
  }

  .zigzag-section {
    padding: 3rem 1rem;
  }

  .zigzag-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .zigzag-content.right {
    direction: ltr;
  }

  .zigzag-text {
    padding: 1rem;
  }

  .zigzag-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .zigzag-image {
    height: 250px;
  }

  .feature-list li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
}

/* Tools Section Fixes */
@media (max-width: 768px) {
  .tools-section {
    padding: 3rem 1rem;
  }

  .tools-section h2 {
    font-size: 1.8rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tool-card {
    padding: 1.5rem;
  }
}

/* Results Section Fixes */
@media (max-width: 768px) {
  .results-section {
    padding: 3rem 1rem;
  }

  .results-content h2 {
    font-size: 1.8rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .result-card {
    padding: 1.5rem;
  }
}

/* CTA Section Fixes */
@media (max-width: 768px) {
  .cta-section {
    padding: 3rem 1rem;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }
}

/* General Spacing and Typography Fixes */
@media (max-width: 768px) {
  .service-page {
    padding: 1rem;
    padding-top: 5rem;
  }

  h1, h2 {
    word-wrap: break-word;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }
}

/* Tablet Responsiveness */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-left h1 {
    font-size: 3rem;
  }

  .zigzag-content {
    gap: 3rem;
  }

  .tools-grid, .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Landscape Mode Fixes */
@media (max-height: 500px) and (orientation: landscape) {
  .network-hero {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .hero-content.split {
    gap: 2rem;
  }

  .network-visual {
    height: 200px;
  }
}

/* Fix for devices with notches */
@supports (padding: max(0px)) {
  .service-page {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
  }
}

/* Navbar Mobile Fix */
@media (max-width: 768px) {
  .navbar {
    background: var(--primary-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 229, 255, 0.1);
  }

  .navbar.scrolled {
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(10px);
  }
}

/* Enhanced Mobile Responsiveness */

/* General Mobile Optimizations */
@media (max-width: 768px) {
  .service-page {
    padding: 0;
    padding-top: 60px;
    overflow-x: hidden;
  }

  /* Hero Section Improvements */
  .network-hero {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero-container {
    padding: 1rem;
  }

  .hero-content.split {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-left h1 {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  .hero-tagline {
    font-size: 1rem;
    line-height: 1.5;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 0.4rem 1rem;
  }

  /* Security Metrics Improvements */
  .security-metrics {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .metric {
    width: 100%;
    max-width: 200px;
    padding: 0.8rem;
  }

  .metric-value {
    font-size: 1.5rem;
  }

  .metric-label {
    font-size: 0.9rem;
  }

  /* Hero Image Adjustments */
  .network-visual {
    height: 200px;
    margin: 1rem 0;
  }

  .hero-image {
    object-fit: cover;
    border-radius: 10px;
  }

  /* Zigzag Section Improvements */
  .zigzag-sections {
    padding: 1rem 0;
  }

  .zigzag-section {
    padding: 2rem 1rem;
  }

  .zigzag-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .zigzag-content.right {
    direction: ltr;
  }

  .zigzag-text {
    padding: 0;
  }

  .zigzag-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .feature-list {
    padding-left: 1rem;
  }

  .feature-list li {
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
  }

  .zigzag-image {
    height: 200px;
    order: -1; /* Always show image first on mobile */
  }

  /* Tools Section Improvements */
  .tools-section {
    padding: 2rem 1rem;
  }

  .section-container {
    padding: 0;
  }

  .section-container h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
  }

  .tools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .tool-card {
    padding: 1.5rem;
  }

  .tool-icon {
    font-size: 1.8rem;
  }

  /* Results Section Improvements */
  .results-section {
    padding: 2rem 1rem;
  }

  .results-content h2 {
    font-size: 1.8rem;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .result-card {
    padding: 1.5rem;
  }

  .result-icon {
    font-size: 1.8rem;
  }

  /* CTA Section Improvements */
  .cta-section {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
  }

  .cta-content {
    padding: 0;
  }

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-content p {
    font-size: 1rem;
    margin: 1rem 0;
  }

  .cta-buttons {
    flex-direction: column;
    gap: 0.8rem;
  }

  .cta-button {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
  }
}

/* Tablet Optimizations */
@media (min-width: 769px) and (max-width: 1024px) {
  .hero-left h1 {
    font-size: 2.5rem;
  }

  .security-metrics {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }

  .metric {
    width: calc(50% - 1rem);
  }

  .tools-grid, 
  .results-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Landscape Mode Optimizations */
@media (max-height: 500px) and (orientation: landscape) {
  .network-hero {
    min-height: auto;
    padding: 2rem 1rem;
  }

  .hero-content.split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .security-metrics {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .metric {
    width: calc(33.33% - 1rem);
  }
}

/* Enhanced Touch Interactions */
@media (hover: none) {
  .tool-card,
  .result-card,
  .cta-button {
    transition: transform 0.2s ease;
  }

  .tool-card:active,
  .result-card:active,
  .cta-button:active {
    transform: scale(0.98);
  }
}

/* Better Typography for Small Screens */
@media (max-width: 320px) {
  .hero-left h1 {
    font-size: 1.8rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .zigzag-text h2,
  .section-container h2,
  .results-content h2,
  .cta-content h2 {
    font-size: 1.6rem;
  }
}

/* Safe Area Insets for Notched Devices */
@supports (padding: max(0px)) {
  .service-page {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
  }
}

/* Loading State Optimizations */
.network-visual.loading {
  min-height: 200px;
  background: linear-gradient(90deg, 
    rgba(0, 229, 255, 0.1) 25%, 
    rgba(0, 229, 255, 0.2) 50%, 
    rgba(0, 229, 255, 0.1) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Improved Button Accessibility */
.cta-button {
  min-height: 44px; /* Minimum touch target size */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Better Image Loading */
.hero-image,
.zigzag-image img {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
} 