/*
  File: /style/style.css
  Purpose: Global styles for ACE website — grid, animations, layouts, and
           enough developer sarcasm to compile twice as fast.
*/

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f4f4f9;
  color: #222;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== CONTAINERS ===== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ===== HEADER ===== */
.site-header {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
}

.main-nav a:hover {
  color: #0057ff;
  text-decoration: underline;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  height: 100vh;
  background: linear-gradient(to bottom right, #1e3c72, #2a5298);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: url('/images/hero-placeholder.jpg') center/cover no-repeat;
  z-index: 0;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-in-out;
}

.hero-subtitle {
  font-size: 1.5rem;
  animation: fadeInUp 1.6s ease-in-out;
}

/* ===== GENERAL SECTIONS ===== */
.section-fade {
  opacity: 0;
  transition: opacity 1s ease;
}

.section-fade.appear {
  opacity: 1;
}

.team-section,
.why-certified,
.process-section,
.value-prop {
  padding: 4rem 0;
}

/* ===== TEAM CARDS ===== */
.grid-team {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.team-card:hover {
  transform: translateY(-5px);
}

/* ===== PROCESS LIST ===== */
.process-list {
  padding-left: 1.5rem;
}

.process-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.2rem;
}

.process-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #2a5298;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: #222;
  color: #eee;
  padding: 2rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.footer-nav {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.footer-nav a:hover {
  text-decoration: underline;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== PARALLAX ===== */
.parallax-bg {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}
