* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Roboto', sans-serif;
}

html {
  background-color: #f4f4f4;
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  color: #333;
  line-height: 1.6;
}

header {
  position: sticky;
  top: 0;
  background-color: #003366;
  color: white;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.header-left {
  display: flex;
  align-items: center;
}

.header-left img {
  width: 48px;
  height: 48px;
  margin-right: 12px;
}

header h1 {
  font-size: 24px;
}

nav a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

nav a:hover {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  top: 70%;
  transform: translateY(-35%);
  color: white;
  animation: slideDown 1,5s ease-in-out;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.9);
}

.hero-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content button {
  background-color: #FFD700;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-content button:hover {
  background-color: #e6be00;
}

/* SUB-HERO */
.sub-hero {
  background-color: #0055aa;
  color: white;
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background-image: url('assets/hero2.jpg');
  background-size: cover;
  background-position: center;
}

.sub-hero-text {
  max-width: 600px;
  animation: fadeIn 2s ease-in;
}

.sub-hero-text h3 {
  font-size: 28px;
  margin-bottom: 15px;
}

.sub-hero-text button {
  background-color: #FFD700;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.sub-hero-text button:hover {
  background-color: #e6be00;
}

/* CARDS */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 60px 40px;
  justify-content: center;
}

.card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  cursor: pointer;
  width: calc(50% - 30px);
  min-height: 300px;
  opacity: 0;
  transform: translateY(20px);
  display: flex;
  flex-direction: column;
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  object-fit: cover;
  height: 200px;
  transition: transform 0.3s ease;
}

.card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 20px;
  flex-grow: 1;
}

.card-content h3 {
  margin-bottom: 10px;
  color: #003366;
}

.card-content p {
  color: #555;
}

/* CONTACT */
.contact {
  background-color: #003366;
  color: white;
  padding: 60px 40px;
  display: grid;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.contact a {
  color: #FFD700;
  text-decoration: none;
  transition: color 0.3s;
}

.contact a:hover {
  color: #e6be00;
  text-decoration: underline;
}

footer {
  background-color: #001f33;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(30px);}
  to {opacity: 1; transform: translateY(0);}
}

@keyframes slideDown {
  from {opacity: 0; transform: translateY(-50px);}
  to {opacity: 1; transform: translateY(0);}
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content h2 {
    font-size: 32px;
  }

  .sub-hero {
    flex-direction: column;
    text-align: center;
  }

  .card {
    width: 100%;
  }

  .card img, .card-content {
    width: 100%;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    display: inline-block;
    margin: 5px 10px 0 0;
  }
}
