/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.5rem;
  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --first-color: hsl(220, 68%, 54%);
  --first-color-lighten: hsl(220, 68%, 97%);
  --title-color: hsl(220, 48%, 28%);
  --text-color: hsl(220, 12%, 45%);
  --body-color: hsl(220, 100%, 99%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Poppins", sans-serif;
  --normal-font-size: 0.938rem;
  --small-font-size: 0.813rem;
  --smaller-font-size: 0.75rem;
  /*========== Font weight ==========*/
  --font-medium: 500;
  --font-semi-bold: 600;
  /*========== z index ==========*/
  --z-tooltip: 10;
  --z-fixed: 100;
}
@media screen and (min-width: 1024px) {
  :root {
    --normal-font-size: 1rem;
    --small-font-size: 0.875rem;
    --smaller-font-size: 0.813rem;
  }
}

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

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER ===============*/
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-shadow: 0 2px 8px hsla(220, 68%, 12%, 0.1);
  background-color: var(--body-color);
  z-index: var(--z-fixed);
}

/*=============== NAV ===============*/
.nav {
  height: var(--header-height);
}
.nav__data {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  column-gap: 0.25rem;
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  transition: color 0.3s;
}
.nav__logo i {
  font-size: 1.25rem;
}
.nav__logo:hover {
  color: var(--first-color);
}
.nav__toggle {
  position: relative;
  width: 32px;
  height: 32px;
}
.nav__toggle-menu,
.nav__toggle-close {
  font-size: 1.25rem;
  color: var(--title-color);
  position: absolute;
  display: grid;
  place-items: center;
  inset: 0;
  cursor: pointer;
  transition: opacity 0.1s, transform 0.4s;
}
.nav__toggle-close {
  opacity: 0;
}
@media screen and (max-width: 1118px) {
  .nav__menu {
    background-color: var(--body-color);
    position: absolute;
    left: 0;
    top: 2.5rem;
    width: 100%;
    height: calc(100vh - 3.5rem);
    overflow: auto;
    padding-block: 1.5rem 4rem;
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s, opacity 0.3s;
  }
  .nav__menu::-webkit-scrollbar {
    width: 0.5rem;
  }
  .nav__menu::-webkit-scrollbar-thumb {
    background-color: hsl(220, 12%, 70%);
  }
}
.nav__link {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}
.nav__link:hover {
  background-color: var(--first-color-lighten);
}

/* Show menu */
.show-menu {
  opacity: 1;
  top: 3.5rem;
  pointer-events: initial;
}

/* Show icon */
.show-icon .nav__toggle-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.show-icon .nav__toggle-close {
  opacity: 1;
  transform: rotate(90deg);
}

/*=============== DROPDOWN ===============*/
.dropdown__button {
  cursor: pointer;
}

.dropdown__arrow {
  font-size: 1.5rem;
  font-weight: initial;
  transition: transform 0.4s;
}

.dropdown__container {
  background-color: var(--first-color-lighten);
  height: 0;
  overflow: hidden;
  transition: height 0.4s;
}

.dropdown__content {
  padding: 2rem 2.5rem;
}

/* Dropdown Header */
.dropdown__header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid hsl(220, 68%, 85%);
}

.dropdown__heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--title-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.dropdown__subtitle {
  font-size: 0.875rem;
  color: var(--text-color);
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.85;
}

/* Business Verticals Grid */
.dropdown__verticals {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.dropdown__vertical {
  padding: 0;
}

/* Vertical Header (Category with icon) */
.dropdown__vertical-header {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.875rem;
  padding-bottom: 0.625rem;
  border-bottom: 1px solid hsl(220, 20%, 90%);
}

.dropdown__vertical-header i {
  font-size: 1.25rem;
  color: var(--first-color);
}

.dropdown__vertical-header h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--title-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

/* Vertical Business List */
.dropdown__vertical-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-left: 2rem;
}

.dropdown__vertical-list li a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
  padding: 0.5rem 0;
  position: relative;
}

.dropdown__vertical-list li a::before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 4px;
  background: var(--first-color);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown__vertical-list li a:hover {
  color: var(--first-color);
  padding-left: 0.5rem;
}

.dropdown__vertical-list li a:hover::before {
  opacity: 1;
  left: -0.5rem;
}

/* Highlight vertical (Explore More section) */
.dropdown__vertical--highlight {
  background: linear-gradient(135deg, hsl(220, 68%, 98%), hsl(220, 68%, 96%));
  padding: 1.25rem;
  border-radius: 8px;
  border-left: 3px solid var(--first-color);
}

.dropdown__vertical--highlight .dropdown__vertical-header {
  border-bottom-color: hsl(220, 68%, 85%);
}

.dropdown__vertical--highlight .dropdown__vertical-header i {
  color: var(--first-color);
}

.dropdown__vertical--highlight .dropdown__vertical-list li a {
  font-weight: 600;
}

.dropdown__vertical--highlight .dropdown__vertical-list li a::before {
  background: var(--first-color);
}

/* Rotate dropdown icon */
.show-dropdown .dropdown__arrow {
  transform: rotate(180deg);
}

/*=============== BREAKPOINTS ===============*/
/* For small devices */
@media screen and (max-width: 300px) {
  .dropdown__group {
    padding-left: 1.5rem;
  }
}
/* For large devices */
@media screen and (min-width: 1118px) {
  /* Nav */
  .nav {
    height: calc(var(--header-height) + 2rem);
    display: flex;
    justify-content: space-between;
  }
  .nav__toggle {
    display: none;
  }
  .nav__list {
    display: flex;
    column-gap: 3rem;
    height: 100%;
  }
  .nav li {
    display: flex;
  }
  .nav__link {
    padding: 0;
  }
  .nav__link:hover {
    background-color: initial;
  }
  /* Dropdown */
  .dropdown__button {
    column-gap: 0.25rem;
    pointer-events: none;
  }

  .dropdown__container {
    height: max-content;
    position: absolute;
    left: 0;
    right: 0;
    top: 6.5rem;
    background-color: #ffffff;
    box-shadow: 0 8px 32px hsla(220, 68%, 12%, 0.1),
      0 2px 8px hsla(220, 68%, 12%, 0.05);
    pointer-events: none;
    opacity: 0;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
      opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid hsl(220, 68%, 85%);
  }

  .dropdown__content {
    max-width: 1200px;
    margin-inline: auto;
    padding: 2.5rem 3rem 3rem;
  }

  /* Dropdown Header */
  .dropdown__header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid hsl(220, 68%, 85%);
  }

  .dropdown__heading {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
  }

  .dropdown__subtitle {
    font-size: 0.9375rem;
    color: var(--text-color);
    font-weight: 400;
    opacity: 0.85;
  }

  /* Verticals Grid */
  .dropdown__verticals {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem 2rem;
    max-width: 1200px;
  }

  .dropdown__vertical {
    position: relative;
  }

  /* Add subtle dividers between columns */
  .dropdown__vertical:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -1rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
      to bottom,
      transparent,
      hsl(220, 12%, 88%) 20%,
      hsl(220, 12%, 88%) 80%,
      transparent
    );
  }

  /* Vertical Header */
  .dropdown__vertical-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid hsl(220, 20%, 90%);
  }

  .dropdown__vertical-header i {
    font-size: 1.375rem;
    color: var(--first-color);
  }

  .dropdown__vertical-header h4 {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--title-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
  }

  /* Vertical List */
  .dropdown__vertical-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    padding-left: 0;
  }

  .dropdown__vertical-list li a {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(220, 12%, 35%);
    padding: 0.625rem 0.875rem;
    border-radius: 6px;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    justify-content: space-between;
  }

  .dropdown__vertical-list li a::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--first-color);
    opacity: 0;
    transform: scale(0);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dropdown__vertical-list li a:hover {
    background-color: hsl(220, 68%, 96%);
    color: var(--first-color);
    font-weight: 600;
    padding-left: 1rem;
  }

  .dropdown__vertical-list li a:hover::before {
    opacity: 1;
    transform: scale(1);
  }

  /* Highlight Vertical (Explore More) */
  .dropdown__vertical--highlight {
    background: linear-gradient(135deg, hsl(220, 68%, 98%), hsl(220, 68%, 96%));
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 3px solid var(--first-color);
  }

  .dropdown__vertical--highlight::after {
    display: none;
  }

  .dropdown__vertical--highlight .dropdown__vertical-header {
    border-bottom-color: hsl(220, 68%, 85%);
  }

  .dropdown__vertical--highlight .dropdown__vertical-header i {
    color: var(--first-color);
  }

  .dropdown__vertical--highlight .dropdown__vertical-list li a {
    font-weight: 600;
  }

  /* Coming Soon Badge */
  .coming-soon-badge {
    display: inline-block;
    background: hsl(220, 68%, 94%);
    color: var(--first-color);
    font-size: 0.5rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border: 1px solid hsl(220, 68%, 85%);
    margin-left: auto;
    flex-shrink: 0;
  }

  .dropdown__item {
    cursor: pointer;
  }
  .dropdown__item:hover .dropdown__arrow {
    transform: rotate(180deg);
  }
  .dropdown__item:hover > .dropdown__container {
    top: 5.5rem;
    opacity: 1;
    pointer-events: initial;
    cursor: initial;
  }
}
@media screen and (min-width: 1152px) {
  .container {
    margin-inline: auto;
  }
}

/* brand logo */
.brandlogo {
  width: auto;
  height: 3rem;
}

/*=============== MAIN CONTENT ===============*/
.main-content {
  margin-top: var(--header-height);
  min-height: calc(100vh - var(--header-height));
}

/* ===================================
   FOOTER STYLES - CENTERED & SYMMETRIC DESIGN
   ===================================
   
   Modern centered footer with balanced layout
   - Clean white background
   - Centered content with clear hierarchy
   - Elegant typography
   - Smooth hover effects
   
   =================================== */

/*=============== FOOTER MAIN SECTION ===============*/
.footer {
  background: linear-gradient(
    -45deg,
    hsl(210, 65%, 12%),
    hsl(205, 70%, 15%),
    hsl(215, 60%, 13%),
    hsl(200, 65%, 14%),
    hsl(220, 63%, 11%),
    hsl(210, 65%, 12%)
  );
  background-size: 400% 400%;
  animation: gradientShift 20s ease infinite;
  border-top: none;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  pointer-events: none;
}

.footer::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(66, 153, 255, 0.08) 0%,
    rgba(100, 180, 255, 0.05) 40%,
    transparent 70%
  );
  animation: rotateGlow 30s linear infinite;
  pointer-events: none;
}

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

@keyframes rotateGlow {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.footer-main {
  padding: 4rem 0 3rem;
  position: relative;
  z-index: 1;
}

/*=============== FOOTER BRAND SECTION ===============*/
.footer-brand {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-logo-img {
  height: 5rem;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer-company-name {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.footer-tagline {
  font-size: 1rem;
  font-weight: var(--font-medium);
  color: hsl(220, 20%, 75%);
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  font-style: italic;
}

.footer-description {
  color: hsl(220, 20%, 75%);
  font-size: var(--normal-font-size);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

/*=============== FOOTER NAVIGATION GRID ===============*/
.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.footer-nav-column {
  text-align: center;
}

.footer-nav-title {
  font-size: 1.125rem;
  font-weight: var(--font-semi-bold);
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.footer-nav-list li a {
  color: hsl(220, 20%, 75%);
  font-size: var(--normal-font-size);
  transition: color 0.3s ease;
  display: inline-block;
  position: relative;
}

.footer-nav-list li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: var(--first-color);
  transition: width 0.3s ease, left 0.3s ease;
}

.footer-nav-list li a:hover {
  color: var(--first-color);
}

.footer-nav-list li a:hover::after {
  width: 100%;
  left: 0;
}

/*=============== FOOTER SOCIAL MEDIA ===============*/
.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 2rem 0;
  border-top: 1px solid hsl(220, 30%, 35%);
  border-bottom: 1px solid hsl(220, 30%, 35%);
  position: relative;
  z-index: 1;
}

.footer-social-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: 20px;
  color: hsl(0, 0%, 20%);
  font-size: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.footer-social-icon:hover {
  background-color: var(--first-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/*=============== FOOTER BOTTOM SECTION ===============*/
.footer-bottom {
  background-color: hsl(220, 48%, 15%);
  padding: 2.5rem 0;
  position: relative;
  z-index: 1;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-legal-links {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.footer-legal-links a {
  color: hsl(220, 20%, 65%);
  font-size: 0.875rem;
  transition: color 0.2s ease;
  font-weight: 400;
  padding: 0 0.75rem;
}

.footer-legal-links a:hover {
  color: var(--first-color);
  text-decoration: none;
}

.footer-dot {
  color: hsl(220, 20%, 55%);
  font-size: 0.875rem;
  -webkit-user-select: none;
  user-select: none;
}

.footer-copyright {
  color: hsl(220, 15%, 60%);
  font-size: 0.875rem;
  margin: 0;
  font-weight: 400;
}

/*=============== RESPONSIVE DESIGN ===============*/

/* Mobile devices (320px - 575px) */
@media screen and (max-width: 575px) {
  .footer-main {
    padding: 3rem 0 2rem;
  }

  .footer-brand {
    margin-bottom: 2.5rem;
  }

  .footer-logo-img {
    height: 45px;
  }

  .footer-tagline {
    font-size: 1.375rem;
  }

  .footer-description {
    font-size: var(--small-font-size);
  }

  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 0 1rem;
  }

  .footer-social {
    gap: 1rem;
    padding: 1.5rem 0;
  }

  .footer-social-icon {
    width: 45px;
    height: 45px;
    font-size: 1.25rem;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-legal-links {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* Tablet devices (576px - 767px) */
@media screen and (min-width: 576px) and (max-width: 767px) {
  .footer-nav-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Small tablets (768px - 991px) */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .footer-nav-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

/* Desktop (992px and above) */
@media screen and (min-width: 992px) {
  .footer-main {
    padding: 5rem 0 3.5rem;
  }

  .footer-brand {
    margin-bottom: 4rem;
  }

  .footer-nav-grid {
    margin-bottom: 3.5rem;
  }

  .container {
    margin-inline: auto;
  }
}

/*=============== ACCESSIBILITY IMPROVEMENTS ===============*/

/* Focus states for keyboard navigation */
.footer-nav-list a:focus,
.footer-social-icon:focus,
.footer-legal-links a:focus {
  outline: 2px solid var(--first-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .footer-nav-list li a,
  .footer-nav-list li a::after,
  .footer-social-icon {
    transition: none;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .footer {
    border-top: 2px solid hsl(220, 20%, 60%);
  }

  .footer-social {
    border-top: 2px solid hsl(220, 20%, 60%);
    border-bottom: 2px solid hsl(220, 20%, 60%);
  }
}

/* ===================================
   END OF FOOTER STYLES
   =================================== */
