/* =========================
   RESET & BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #222;
  background-color: #f5f5f5;
  -webkit-font-smoothing: antialiased;
}

/* =========================
   GLOBAL ELEMENTS
========================= */
img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

p {
  color: #444;
}

/* =========================
   HEADER & NAVBAR
========================= */
header {
  background: #f5943c;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  max-width: 1300px;
  margin: auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo-img {
  height: 64px;
  width: auto;
}

/* Navigation */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.nav-links a {
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
  position: relative;
  transition: background 0.3s ease, color 0.3s ease;
  border-radius: 6px;
}

/* Underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15%;
  bottom: 6px;
  width: 70%;
  height: 2px;
  background: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Hover / Active */
.nav-links a:hover,
.nav-links a.active {
  background: #0057b8; /* blue */
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}


.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Burger animation */
.burger.toggle span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.toggle span:nth-child(2) {
  opacity: 0;
}

.burger.toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}


/* =========================
   SLIDESHOW / HERO
========================= */
.slideshow-container {
  position: relative;
  height: 75vh;
  min-height: 480px;
  overflow: hidden;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fade {
  animation: fadeEffect 1.5s ease;
}

@keyframes fadeEffect {
  from { opacity: 0.4; }
  to { opacity: 1; }
}

/* Hero text overlay */
.slideshow-text {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: linear-gradient(
    rgba(0,0,0,0.6),
    rgba(0,0,0,0.35)
  );
}

.slideshow-text h1 {
  color: #fff;
  margin-bottom: 1rem;
}

.slideshow-text p {
  color: #eee;
  max-width: 620px;
  font-size: 1.1rem;
}

/* =========================
   HOME INTRO / CARDS
========================= */
.home-intro {
  max-width: 1200px;
  margin: auto;
  padding: 4rem 1.5rem;
  text-align: center;
}

.home-intro p {
  margin: 1rem 0 3rem;
}

.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.intro-card {
  background: #fff;
  padding: 2.5rem 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.intro-card h3 {
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.65rem 1.6rem;
  background: #f5943c;
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
  background: #d97f26;
  transform: scale(1.05);
}

/* =========================
   CALL TO ACTION
========================= */
.call-to-action {
  text-align: center;
  padding: 60px 20px;
  background-color: #f5943c; /* orange */
  color: #fff;
}

.call-to-action h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-button {
  background-color: #fff;
  color: #f5943c; /* orange */
  padding: 15px 35px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: #d26f15; /* darker orange */
  color: #fff;
}

.cta-button:focus {
  outline: 3px solid #f28c28;
  outline-offset: 2px;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #1c2d5f;;
  color: #e6e9f2;
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1rem;
}

.social-icons a {
  color: #fff;
  font-size: 1.3rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #f5943c;
  transform: translateY(-3px);
}

footer p {
  font-size: 0.9rem;
  color: #a8b8db;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .slideshow-container {
    height: 65vh;
  }

  .logo-img {
    height: 56px;
  }
}

@media (max-width: 520px) {
  .nav-links {
    display: none; /* ready for burger menu */
  }

  .logo-img {
    height: 50px;
  }
}
