/* Global page styling */
.main-content {
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

/* Hero sections */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(15, 23, 42, 0.7), rgba(26, 42, 58, 0.8)), url('images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 0%, rgba(0, 255, 255, 0.1) 50%, transparent 100%);
  opacity: 0.3;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--hud-color) 0%, #fff 50%, var(--tech-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
  animation: glow 3s ease-in-out infinite alternate;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  margin-bottom: 2rem;
  color: rgba(245, 245, 245, 0.9);
  font-weight: 300;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

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

/* Services grid */
.services-grid-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
  position: relative;
}

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

.service-feature-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.service-feature-card:hover::before {
  left: 100%;
}

.service-feature-card:hover {
  transform: perspective(1000px) rotateY(5deg) translateY(-10px);
  border-color: var(--hud-color);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.service-icon-wrapper {
  width: 80px;
  height: 80px;
  background: rgba(0, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 2px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.service-feature-card:hover .service-icon-wrapper {
  background: rgba(0, 255, 255, 0.2);
  border-color: var(--hud-color);
  box-shadow: 0 0 20px var(--hud-color);
}

.service-icon-wrapper svg {
  width: 40px;
  height: 40px;
  stroke: var(--hud-color);
  stroke-width: 1.5;
}

/* About section with image */
.about-content-wrapper {
  background: var(--bg-primary);
  padding: 5rem 0;
}

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

.about-text-content h2 {
  color: var(--hud-color);
  margin-bottom: 2rem;
}

.about-features-list {
  list-style: none;
  margin: 2rem 0;
}

.about-features-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  color: rgba(245, 245, 245, 0.9);
  position: relative;
  padding-left: 2rem;
}

.about-features-list li::before {
  content: '▶';
  position: absolute;
  left: 0;
  color: var(--tech-orange);
  font-size: 0.8rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 255, 0.3);
}

.about-image-wrapper img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.about-image-wrapper:hover img {
  transform: scale(1.05);
}

/* Stats section */
.stats-display-section {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(26, 42, 58, 0.9)), url('images/section3-data-center-server_orig.jpg') center/cover;
  background-attachment: fixed;
  padding: 4rem 0;
  text-align: center;
}

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

.stat-item-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--hud-color);
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 10px var(--hud-color);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(245, 245, 245, 0.9);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Pricing table */
.pricing-table-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

.pricing-table-wrapper {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 2rem;
  overflow-x: auto;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Courier New', monospace;
}

.pricing-table th {
  background: rgba(0, 255, 255, 0.1);
  color: var(--hud-color);
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.pricing-table td {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  color: rgba(245, 245, 245, 0.9);
}

.pricing-table tr:hover {
  background: rgba(0, 255, 255, 0.05);
}

.price-cell {
  color: var(--tech-orange);
  font-weight: 700;
}

/* Reviews section */
.reviews-grid-section {
  background: var(--bg-primary);
  padding: 5rem 0;
}

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

.review-block {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.review-block:hover {
  transform: translateY(-5px);
  border-color: var(--hud-color);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.15);
}

.review-stars {
  color: var(--tech-orange);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.review-text {
  color: rgba(245, 245, 245, 0.9);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.review-author {
  color: var(--hud-color);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.review-location {
  color: rgba(245, 245, 245, 0.7);
  font-size: 0.9rem;
}

/* Team section */
.team-members-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

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

.team-member-card {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member-card:hover {
  transform: translateY(-8px);
  border-color: var(--hud-color);
  box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.team-member-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid var(--hud-color);
  object-fit: cover;
}

.team-member-name {
  color: var(--hud-color);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-member-role {
  color: var(--tech-orange);
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-member-bio {
  color: rgba(245, 245, 245, 0.9);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Contact section */
.contact-section-wrapper {
  background: linear-gradient(rgba(15, 23, 42, 0.9), rgba(26, 42, 58, 0.9)), url('images/banner4-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  padding: 5rem 0;
}

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

.contact-info-wrapper {
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.3);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(15px);
}

.contact-details-list {
  list-style: none;
  margin: 2rem 0;
}

.contact-details-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  color: rgba(245, 245, 245, 0.9);
}

.contact-icon {
  width: 24px;
  height: 24px;
  stroke: var(--hud-color);
  stroke-width: 2;
}

.working-hours-section {
  background: var(--bg-primary);
  padding: 4rem 0;
  text-align: center;
}

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

.hours-item {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
}

.hours-day {
  color: var(--hud-color);
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hours-time {
  color: rgba(245, 245, 245, 0.9);
  font-family: 'Courier New', monospace;
}

/* Gallery/Portfolio grid */
.portfolio-gallery-section {
  background: var(--bg-secondary);
  padding: 5rem 0;
}

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

.gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(0, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--hud-color);
  box-shadow: 0 15px 35px rgba(0, 255, 255, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 60%, rgba(15, 23, 42, 0.9) 100%);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--light-text);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content {
    padding-top: 70px;
  }
  
  .hero-section {
    min-height: 60vh;
    padding: 2rem 0;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .service-feature-card {
    padding: 2rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .pricing-table-wrapper {
    padding: 1rem;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero-section {
    background-attachment: scroll;
  }
  
  .stats-display-section,
  .contact-section-wrapper {
    background-attachment: scroll;
  }
}

@media (max-width: 480px) {
  .service-feature-card {
    padding: 1.5rem;
  }
  
  .team-member-card {
    padding: 1.5rem;
  }
  
  .review-block {
    padding: 1.5rem;
  }
  
  .contact-info-wrapper {
    padding: 1.5rem;
  }
}

/* Animation classes for scroll reveals */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s ease;
}

.slide-in-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.revealed {
  opacity: 1;
}