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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(to right, #f8fafc, #eef2ff);
  color: #1e293b;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* HEADER - Multi Colour Gradient */
header {
  background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
  background-size: 200% 200%;
  animation: gradientMove 8s ease infinite;
  color: white;
  padding: 100px 0 80px;
  text-align: center;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

header h1 {
  font-size: 48px;
  margin-bottom: 15px;
  letter-spacing: 1px;
}

header p {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.95;
}

.btn {
  background: linear-gradient(45deg, #f97316, #ef4444);
  color: white;
  padding: 14px 32px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: 0.3s ease;
  display: inline-block;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

section {
  padding: 80px 0;
}

h2 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 34px;
  position: relative;
}

h2::after {
  content: "";
  width: 70px;
  height: 4px;
  background: linear-gradient(to right, #2563eb, #f97316);
  display: block;
  margin: 15px auto 0;
  border-radius: 5px;
}

/* ABOUT */
.about {
  background: white;
}

.about p {
  max-width: 900px;
  margin: 0 auto 20px;
  text-align: center;
  color: #475569;
  font-size: 16px;
}

/* SERVICES */
.services {
  background: linear-gradient(to right, #eef2ff, #f1f5f9);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-top: 5px solid transparent;
}

.card:nth-child(1) {
  border-top: 5px solid #2563eb;
}

.card:nth-child(2) {
  border-top: 5px solid #10b981;
}

.card:nth-child(3) {
  border-top: 5px solid #f97316;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.card h3 {
  margin-bottom: 18px;
  font-size: 20px;
  color: #1e293b;
}

.card ul {
  padding-left: 20px;
}

.card ul li {
  margin-bottom: 10px;
  color: #475569;
}

/* WHY SECTION */
.why {
  background: linear-gradient(135deg, #0ea5e9, #6366f1);
  color: white;
  text-align: center;
}

.why p {
  max-width: 800px;
  margin: auto;
  font-size: 18px;
  opacity: 0.95;
}

/* CONTACT */
.contact {
  background: linear-gradient(135deg, #111827, #1e293b);
  color: white;
  text-align: center;
}

.contact p {
  margin-bottom: 10px;
  font-size: 16px;
}

/* FOOTER */
footer {
  background: #020617;
  color: #94a3b8;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-60px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* Header Image Slider */
.slider {
  position: relative;
  height: 85vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  top: 0;
  left: 0;
}

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

.slide-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.slide-content p {
  font-size: 20px;
  margin-bottom: 25px;
}

.slider-dots {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dots span {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0.5;
}

.slider-dots span.active {
  opacity: 1;
  background: #f97316;
}

/* Responsive */
@media (max-width: 768px) {
  header h1 {
    font-size: 34px;
  }

  header p {
    font-size: 16px;
  }

  h2 {
    font-size: 26px;
  }
}

/* Navbar */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(15, 23, 42, 0.85); /* semi-transparent */
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 5%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.navbar .logo {
  color: #f97316;
  font-size: 24px;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #f97316;
}

/* Adjust slider for navbar space */
.slider {
  margin-top: 70px; /* height of navbar */
}
