/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* ================================
   RESET AND BASE STYLES
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #090a0e;
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
  background: url('assets/banner.webp') no-repeat center/cover;
  min-height: 100vh;
  position: relative;
}

/* ================================
   HEADER
================================ */
#header {
  width: 100%;
  z-index: 9999;
  padding: 30px 20px;
  position: relative;
}

#header .header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 20px;
}

#header .icon-wrapper {
  position: absolute;
  left: 20px;
}

#header .icon-wrapper img {
  max-width: 70px;
  height: auto;
}

#header h1 {
  text-transform: uppercase;
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
  color: #fff;
  margin: 0;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-wrapper a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  transition: color 0.3s ease;
}

.logo-wrapper a:hover {
  color: #ccc;
}

/* ================================
   HERO SECTION
================================ */
#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 70px 20px;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.8)
  );
  z-index: 1;
}

body::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 30px;
  width: 100%;
  height: 200px;
  background: url('assets/branding.webp') no-repeat bottom center/100% 100%;
  z-index: 2;
}

/* ================================
   MAIN CONTAINER
================================ */
.container {
  max-width: 1400px;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 99;
}

/* ================================
   GRID
================================ */
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  width: 100%;
}

/* ================================
   ICON BOX
================================ */
.icon-box {
  border-radius: 30px;
  border: 1px solid #031632;
  background: rgba(0, 0, 0, 0.5);
  padding: 30px 25px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  transition: all 0.3s ease;
  cursor: pointer;
  min-height: 150px;
}

.icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border-color: #0a4a6b;
}

.icon-box .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #031632;
  background: #0c0d15;
  padding: 15px;
  flex-shrink: 0;
  transition: background 0.3s ease;
}

.icon-box:hover .icon-wrapper {
  background: #1a1a2e;
}

.icon-box .icon-wrapper img {
  max-width: 40px;
  height: auto;
  filter: brightness(1.1);
}

.icon-box .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.icon-box .content-wrapper a {
  text-transform: uppercase;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.icon-box .content-wrapper a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon-box .content-wrapper p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.5;
}

#footer {
  width: 100%;
  z-index: 99999;
  text-align: center;
  padding: 20px;
  position: absolute;
  bottom: 0;
}

#footer span,
#footer a,
#footer p {
  font-size: 14px;
}

#footer a {
  color: #fff;
  text-align: center;
  text-decoration: none;
  transition: 0.3s ease;
}

#footer a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 1024px) {
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 768px) {
  .grid-wrapper {
    grid-template-columns: 1fr;
    max-width: 500px;
  }
  .icon-box {
    flex-direction: row;
    padding: 20px;
    min-height: 120px;
  }
  #header {
    top: 10px;
  }
  #header .icon-wrapper img {
    max-width: 50px;
  }
  .grid-wrapper h2 {
    font-size: 18px;
  }

  .grid-wrapper a {
    font-size: 14px;
  }

  #header h1 {
    font-size: 20px;
  }

  body::after {
    bottom: 0;
  }
  #hero {
    padding-top: 50px;
    padding-bottom: 170px;
  }
}

@media (max-width: 480px) {
  .icon-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 160px;
  }
  .icon-box .content-wrapper {
    text-align: center;
  }
  .icon-box .content-wrapper a {
    font-size: 15px;
  }
  .icon-box .content-wrapper p {
    font-size: 13px;
  }

  body::after {
    height: 100px;
    background-size: 100% auto;
  }

  #footer {
    bottom: 70px;
  }

  #footer span,
  #footer a,
  #footer p {
    font-size: 12px;
  }
}

@media (max-width: 320px) {
  .icon-box {
    padding: 15px;
    min-height: 140px;
  }
  .icon-box .content-wrapper a {
    font-size: 14px;
  }
  .icon-box .content-wrapper p {
    font-size: 11px;
  }
  #hero {
    height: auto;
    min-height: 300px;
  }
  #hero::after {
    height: 80px;
  }
}
