/* Hero Section Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(10, 37, 64, 0.7), rgba(10, 37, 64, 0.8)), url('../images/hero1-modern-office-technology_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--scan-line);
  opacity: 0.1;
  pointer-events: none;
}

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

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  text-shadow: var(--rgb-offset);
  animation: glitch-text 4s infinite;
}

.hero-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.hero-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.hero-stat-item {
  text-align: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.hero-stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  text-shadow: var(--rgb-offset);
}

.hero-stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

/* About Section Styles */
.about-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text-content h2 {
  color: var(--primary);
  text-shadow: var(--rgb-offset);
}

.about-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.about-image-container img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  filter: drop-shadow(-3px 0 rgba(255, 0, 0, 0.3)) drop-shadow(3px 0 rgba(0, 255, 255, 0.3));
}

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

.about-features-list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.about-features-list .feature-icon {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  flex-shrink: 0;
}

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

.service-card-item {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(42, 45, 52, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(108, 99, 255, 0.1);
}

.service-card-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card-item:hover::before {
  transform: scaleX(1);
}

.service-card-item:hover {
  transform: perspective(1000px) rotateY(3deg) translateY(-8px);
  box-shadow: 0 15px 40px rgba(42, 45, 52, 0.15);
}

.service-card-item:nth-child(odd) {
  animation-delay: 0.1s;
}

.service-card-item:nth-child(even) {
  animation-delay: 0.2s;
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(-2px 0 rgba(255, 0, 0, 0.2)) drop-shadow(2px 0 rgba(0, 255, 255, 0.2));
  transition: filter 0.3s ease;
}

.service-card-item:hover .service-image {
  filter: drop-shadow(-3px 0 rgba(255, 0, 0, 0.3)) drop-shadow(3px 0 rgba(0, 255, 255, 0.3));
}

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

.team-member-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(42, 45, 52, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-member-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.team-member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(42, 45, 52, 0.15);
}

.team-member-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--accent);
  filter: drop-shadow(-2px 0 rgba(255, 0, 0, 0.2)) drop-shadow(2px 0 rgba(0, 255, 255, 0.2));
}

.team-member-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-shadow: var(--rgb-offset);
}

.team-member-role {
  color: var(--secondary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-member-bio {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Resource Explorer Interactive Element */
.resource-explorer {
  background: var(--bg-secondary);
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.resource-explorer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--scan-line);
  opacity: 0.05;
  pointer-events: none;
}

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

.resource-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 1.5rem;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.resource-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.resource-card:hover {
  border-color: var(--secondary);
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 35px rgba(108, 99, 255, 0.2);
}

.resource-card:hover::before {
  opacity: 1;
}

.resource-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-shadow: var(--rgb-offset);
}

.resource-card-description {
  color: var(--text-secondary);
  font-size: 0.875rem;
  line-height: 1.6;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.resource-card:hover .resource-card-description {
  opacity: 1;
  max-height: 100px;
  margin-top: 1rem;
}

/* Step Checker Interactive Element */
.step-checker {
  background: var(--bg-primary);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  border: 2px solid var(--border-color);
  position: relative;
}

.step-checker::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--bg-card);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.step-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
  margin-top: 0.2rem;
}

.step-text {
  flex: 1;
  color: var(--text-primary);
  line-height: 1.6;
}

.step-item.completed {
  background: rgba(0, 212, 170, 0.1);
  border-left: 4px solid var(--accent);
}

.step-progress {
  margin-top: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--secondary);
}

/* Glossary Quiz Element */
.glossary-quiz {
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: white;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.glossary-quiz::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--scan-line);
  opacity: 0.1;
  pointer-events: none;
}

.quiz-question {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-shadow: var(--rgb-offset);
}

.quiz-options {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.quiz-option {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.quiz-option:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.quiz-option.correct {
  background: rgba(0, 212, 170, 0.3);
  border-color: var(--accent);
}

.quiz-option.incorrect {
  background: rgba(255, 0, 0, 0.3);
  border-color: #ff4444;
}

.quiz-new-button {
  background: white;
  color: var(--secondary);
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.quiz-new-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* CTA Section */
.cta-section {
  background: linear-gradient(rgba(10, 37, 64, 0.8), rgba(42, 45, 52, 0.9)), url('../images/section3-data-center-server_orig.jpg') center/cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--scan-line);
  opacity: 0.1;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
  text-shadow: var(--rgb-offset);
}

.cta-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

/* Floating Decorative Elements */
.floating-element {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(108, 99, 255, 0.1), rgba(0, 212, 170, 0.1));
  filter: blur(40px);
  animation: float 6s ease-in-out infinite;
  pointer-events: none;
}

.floating-element:nth-child(1) {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-element:nth-child(2) {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 20%;
  animation-delay: 2s;
}

.floating-element:nth-child(3) {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 30%;
  animation-delay: 4s;
}

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

/* Contact Page Styles */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.contact-info-card {
  background: var(--bg-card);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(42, 45, 52, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(42, 45, 52, 0.15);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 1rem;
  fill: var(--secondary);
  filter: drop-shadow(-1px 0 #ff0000) drop-shadow(1px 0 #00ffff);
}

.contact-info-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.5rem;
  text-shadow: var(--rgb-offset);
}

.contact-info-details {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* FAQ Styles */
.faq-item {
  background: var(--bg-card);
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 10px rgba(42, 45, 52, 0.08);
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
  background: var(--bg-card);
}

.faq-question:hover {
  background: var(--bg-primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  stroke: var(--secondary);
  stroke-width: 2;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  padding: 0 1.5rem 1.5rem;
  max-height: 200px;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .about-content-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 80vh;
    text-align: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-cta-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .about-image-container img {
    height: 300px;
  }
  
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  
  .resource-cards-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .service-card-item,
  .team-member-card,
  .contact-info-card {
    padding: 1.5rem;
  }
  
  .step-checker,
  .glossary-quiz {
    padding: 1.5rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
}