/* CSS VARIABLES */
:root {
  --color-black: #050505;
  --color-charcoal: #121212;
  --color-white: #ffffff;
  --color-salmon: #ff5e6c;
  --color-blood-red: #4a0404;
  --font-serif:c "Macondo", cursive;
  --font-sans: "Montserrat", sans-serif;
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-black);
  color: var(--color-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 700;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-black);
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.4;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(5, 5, 5, 0.7), rgba(74, 4, 4, 0.5));
  z-index: 1;
}

.fog-container {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
}

.fog {
  position: absolute;
  bottom: -100px;
  width: 200%;
  height: 200px;
  background: linear-gradient(to top, rgba(255, 94, 108, 0.1), transparent);
  filter: blur(40px);
  opacity: 0.3;
}

.fog-1 {
  left: -50%;
  animation: fogMove1 20s ease-in-out infinite;
}

.fog-2 {
  left: -25%;
  animation: fogMove2 25s ease-in-out infinite;
  animation-delay: -5s;
}

.fog-3 {
  left: 0%;
  animation: fogMove3 30s ease-in-out infinite;
  animation-delay: -10s;
}

@keyframes fogMove1 {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(10%) translateY(-10px);
  }
}

@keyframes fogMove2 {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(-15%) translateY(-15px);
  }
}

@keyframes fogMove3 {
  0%,
  100% {
    transform: translateX(0) translateY(0);
  }
  50% {
    transform: translateX(8%) translateY(-8px);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 0 30px rgba(255, 94, 108, 0.3);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-white);
  background: linear-gradient(135deg, var(--color-salmon), var(--color-blood-red));
  border: none;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 30px rgba(255, 94, 108, 0.4);
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(255, 94, 108, 0.6);
}

.pulse-button {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 4px 30px rgba(255, 94, 108, 0.4);
  }
  50% {
    box-shadow: 0 4px 40px rgba(255, 94, 108, 0.8), 0 0 0 8px rgba(255, 94, 108, 0.1);
  }
}

/* AUTHORITY SECTION */
.authority-section {
  background-color: var(--color-charcoal);
  padding: 6rem 2rem;
}

.authority-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.authority-image {
  position: relative;
  height: 500px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 94, 108, 0.2), rgba(74, 4, 4, 0.3));
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 94, 108, 0.2);
}

.image-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, var(--color-charcoal) 100%);
}

.authority-text {
  padding: 2rem 0;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  color: var(--color-salmon);
  line-height: 1.3;
}

.authority-paragraph {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.8;
}

/* SERVICES SECTION */
.services-section {
  background-color: var(--color-black);
  padding: 6rem 2rem;
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  margin-bottom: 4rem;
  opacity: 0.8;
  font-weight: 300;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  position: relative;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  padding: 2.5rem 1.5rem;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  cursor: pointer;
  overflow: hidden;
}

.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.85), rgba(74, 4, 4, 0.75));
  backdrop-filter: blur(2px);
  transition: all 0.4s ease;
  z-index: 1;
}

.service-card:hover .service-overlay {
  background: linear-gradient(135deg, rgba(74, 4, 4, 0.7), rgba(18, 18, 18, 0.65));
}

.service-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.service-card:hover {
  border-color: var(--color-salmon);
  box-shadow: 0 0 40px rgba(255, 94, 108, 0.4);
  transform: translateY(-5px);
}

.service-icon {
  color: var(--color-salmon);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 10px rgba(255, 94, 108, 0.8));
}

.service-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-white);
}

/* TIMELINE SECTION */
.timeline-section {
  background-color: var(--color-charcoal);
  padding: 6rem 2rem;
}

.timeline-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.timeline {
  position: relative;
  margin-top: 4rem;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 2px;
  height: 0;
  background: linear-gradient(to bottom, var(--color-salmon), var(--color-blood-red));
  box-shadow: 0 0 10px rgba(255, 94, 108, 0.6);
  transition: height 0.5s ease;
}

.timeline-item {
  position: relative;
  padding: 2rem 0;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.timeline-point {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: var(--color-salmon);
  border: 3px solid var(--color-charcoal);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(255, 94, 108, 0.8);
  z-index: 2;
  animation: pointPulse 2s ease-in-out infinite;
}

@keyframes pointPulse {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(255, 94, 108, 0.8);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 94, 108, 1), 0 0 0 8px rgba(255, 94, 108, 0.2);
  }
}

.timeline-left .timeline-content {
  margin-right: calc(50% + 30px);
  margin-left: 0;
  text-align: right;
  border-left: none;
  border-right: 3px solid var(--color-salmon);
}

.timeline-right .timeline-content {
  margin-left: calc(50% + 30px);
  margin-right: 0;
  text-align: left;
  border-left: 3px solid var(--color-salmon);
  border-right: none;
}

.timeline-content {
  flex: 1;
  padding: 1.5rem 2rem;
  background: rgba(5, 5, 5, 0.5);
  border-radius: 8px;
}

.timeline-title {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  color: var(--color-salmon);
}

.timeline-text {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 300;
  line-height: 1.7;
}

/* QUALIFICATION SECTION */
.qualification-section {
  background-color: var(--color-black);
  padding: 6rem 2rem;
}

.qualification-container {
  max-width: 800px;
  margin: 0 auto;
}

.qualification-box {
  background: rgba(18, 18, 18, 0.8);
  border: 2px solid var(--color-salmon);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  text-align: center;
  box-shadow: 0 0 40px rgba(255, 94, 108, 0.3), inset 0 0 30px rgba(255, 94, 108, 0.1);
}

.warning-icon {
  color: var(--color-salmon);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
  animation: warningPulse 1.5s ease-in-out infinite;
}

@keyframes warningPulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}

.qualification-title {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--color-salmon);
}

.qualification-text {
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 400;
}

/* FINAL CTA SECTION */
.cta-final-section {
  background: radial-gradient(circle at center, rgba(74, 4, 4, 0.3), var(--color-black));
  padding: 8rem 2rem;
  text-align: center;
}

.cta-final-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-final-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.cta-final-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  font-weight: 300;
}

/* REVEAL ANIMATIONS */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .authority-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .authority-image {
    height: 300px;
    order: -1;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .timeline-line {
    left: 20px;
  }

  .timeline-point {
    left: 20px;
  }

  .timeline-left .timeline-content,
  .timeline-right .timeline-content {
    margin-left: 50px;
    margin-right: 0;
    text-align: left;
    border-left: 3px solid var(--color-salmon);
    border-right: none;
  }

  .qualification-box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding: 1rem;
  }

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .authority-section,
  .services-section,
  .timeline-section,
  .qualification-section,
  .cta-final-section {
    padding: 4rem 1rem;
  }
}
img{
  max-width: 100%;
}