/* 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;
  background-attachment: fixed;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.85)
  );
  z-index: 1;
  pointer-events: none;
}

/* ================================
   HEADER
================================ */
#header {
  width: 100%;
  z-index: 9999;
  padding: 20px;
  position: relative;
}

#header .header-container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  gap: 15px;
}

#header .icon-wrapper {
  flex-shrink: 0;
}

#header .icon-wrapper img {
  max-width: 70px;
  height: auto;
  display: block;
}

#header h1 {
  text-transform: uppercase;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  margin: 0;
}

/* ================================
   HERO SECTION
================================ */
#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 70px 50px;
}

/* ================================
   MAIN CONTAINER
================================ */
.container {
  max-width: 1300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 99;
  width: 100%;
  margin: 0 auto;
}

.logo-wrapper {
  display: none;
}

/* ================================
   GRID
================================ */
.grid-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  width: 100%;
}

/* ================================
   ICON BOX
================================ */
.icon-box {
  border-radius: 16px;
  border: 1px solid rgba(3, 22, 50, 0.8);
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(10px);
  padding: 30px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  min-height: 150px;
}

.icon-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  border-color: rgba(10, 74, 107, 0.9);
  background: rgba(0, 0, 0, 0.75);
}

.icon-box .icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(3, 22, 50, 0.8);
  background: #0c0d15;
  padding: 15px;
  min-width: 70px;
  height: 70px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.icon-box:hover .icon-wrapper {
  background: #1a1a2e;
  border-color: rgba(10, 74, 107, 0.9);
  transform: scale(1.05);
}

.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;
  min-width: 0;
}

.icon-box .content-wrapper h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  letter-spacing: 0.5px;
}

.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;
  word-break: break-word;
}

.icon-box .content-wrapper a:hover {
  color: #66b3ff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.icon-box .content-wrapper p {
  color: #ccc;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

#branding {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding-bottom: 20px;
}

#branding img {
  width: 100%;
  height: auto;
  display: block;
  z-index: 99;
  max-height:350px;
}

/* ================================
   FOOTER
================================ */
#footer {
  position: relative;
  text-align: center;
  z-index: 99;
}

#footer span,
#footer a,
#footer p {
  font-size: 14px;
  line-height: 1.5;
}

#footer a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

#footer a:hover {
  color: #66b3ff;
  text-decoration: underline;
  text-underline-offset: 5px;
}

/* ================================
   RESPONSIVE - TABLET
================================ */
@media (max-width: 1024px) {
  .grid-wrapper {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }

  .icon-box {
    padding: 25px;
  }
}

/* ================================
   RESPONSIVE - MOBILE
================================ */
@media (max-width: 768px) {
  body {
    background-attachment: scroll;
  }

  #header {
    padding: 15px 20px;
  }

  #header .header-container {
    gap: 12px;
  }

  #header .icon-wrapper img {
    max-width: 55px;
  }

  #header h1 {
    font-size: 18px;
  }

  #hero {
    padding: 50px 20px;
  }

  .grid-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .icon-box {
    padding: 25px 20px;
    min-height: 120px;
    gap: 15px;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .icon-box .icon-wrapper {
    min-width: 60px;
    height: 60px;
    padding: 12px;
  }

  .icon-box .icon-wrapper img {
    max-width: 35px;
  }

  .icon-box .content-wrapper {
    align-items: flex-start;
  }

  .icon-box .content-wrapper h2,
  .icon-box .content-wrapper a {
    font-size: 15px;
    text-align: left;
  }

  .icon-box .content-wrapper p {
    font-size: 13px;
  }

  #footer {
    padding: 15px 20px;
  }

  #footer span,
  #footer a,
  #footer p {
    font-size: 13px;
  }
}

/* ================================
   RESPONSIVE - SMALL MOBILE
================================ */
@media (max-width: 480px) {
  #header {
    padding: 10px 20px;
  }

  #header .icon-wrapper img {
    max-width: 45px;
  }

  #header h1 {
    font-size: 16px;
  }

  .icon-box {
    padding: 20px 15px;
    min-height: 110px;
    gap: 12px;
  }

  .icon-box .icon-wrapper {
    min-width: 55px;
    height: 55px;
    padding: 10px;
  }

  .icon-box .icon-wrapper img {
    max-width: 30px;
  }

  .icon-box .content-wrapper h2,
  .icon-box .content-wrapper a {
    font-size: 14px;
  }

  .icon-box .content-wrapper p {
    font-size: 12px;
  }

  #footer span,
  #footer a,
  #footer p {
    font-size: 11px;
  }
}
