/* >>>>>>>>>>>>> General Styles <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */

/* ------------- Body Style ----------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  overflow-y: scroll;
  margin: 0 auto;
}

/* ------------- Button Style ----------------------------------------- */

button {
  width: 100%;
  padding: 10px;
  border-radius: 5px;
  font-size: .8em;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border: none;
  background-color: var(--btn-color);
  color: var(--btn-text-color);
  cursor: pointer;
  transition: color .4s;
  transition: background-color .4s;
}

button:hover {
  background-color: var(--btn-hover-color);
  color: var(--btn-hover-text-color);
}

/* ------------- Input Style ----------------------------------------- */

input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
}

input:focus, textarea:focus {
  outline: none;
  box-shadow: 0 0 5px 2px var(--primary-color1);
}

::placeholder {
  text-align: left;
}


/* ------------- Span Style ----------------------------------------- */




/* ------------- Scrollbar Style ----------------------------------------- */

.article-content-section::-webkit-scrollbar {
  width: 10px;
}

.article-content-section::-webkit-scrollbar-thumb {
  background-color: var(--scrollbar-color);
}


/* ------------- Header style ---------------------------------------- */

#main-header {
  max-width: 100%;
  padding: 10px 5px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  background-color: var(--body-bg-color);
  z-index: 100;
  line-height: normal;

}

#logo {
  position: relative;
  top: -5;
  width: 100%;
  height: 100%;
}

#logo img {
  width: 200px;
  height: 67px;
}

#company-info {
  position: relative;
  top: 37px;
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 5px;
  height: 30px;
  background-color: var(--primary-color1);
  align-items: center;
  gap: 10px;
}

#company-info a {
  color: var(--light-text-color);
  font-size: .9rem;
  font-weight: 600;
  transition: color 0.3s;
}

#company-info a:hover {
  color: var(--secondary-color1);
}

.company-info-icon_svg {
  fill: var(--secondary-color1);
  width: 15px;
  height: 15px;
}

/* ------------- Nav style ------------------------------------------ */

#main-nav {
  display: flex;
  justify-content: center;
  width: calc( 100% - 20px );
  min-width: 50px;
  position: relative;
  top: 37px;
  left: 10px;
  height: 30px;
  background-color: var(--primary-color1);
  z-index: 0;
}

#main-nav a {
  position: relative;
  font-size: .8rem;
  padding: 5px 15px;
  font-weight: 600;
  text-transform: uppercase;
  transition: color 0.3s;
}

#main-nav a:hover {
  color: var(--secondary-color1);
}

#main-menu {
  height: 100%;
  margin: 0;
}

#main-nav ul  {
  list-style-type: none;
  padding: 0;
}

#main-nav li {
  position: relative;
  text-align: center;
  margin: 0 10px;
}

.li-menu-item::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 0%;
  height: 3px;
  background-color: var(--body-bg-color);
  transition: .3s;
}

.li-menu-item:hover::after {
  left: 0%;
  width: 100%;
  background-color: var(--secondary-color1);
}

.active-page {
  color: var(--secondary-color1);
}


#secondary-menu {
  display: none;
  position: relative;
  width: 100%;
  min-width: fit-content;
  height: 100%;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 20px;
  width: 100%;
  min-width: fit-content;
  padding: 10px;
  background-color: var(--primary-color1);
  border: var(--primary-border-color);
}

.mobile-li-menu-item {
  width: 100%;
  /* padding: 5px 0; */
  margin: 5px 0;
}

.mobile-li-menu-item a {
  width: 100%;
}



/* ------------- Main style -------------------------------------- */

.primary-main {
  position: relative;
  margin-bottom: 5em;
}

/* ------------- Section style ------------------------------------------ */

.top-section {
  position: relative;
  /* padding: 0;
  margin: 0; */
}

.top-section-intro,
.top-section-profile-text {
  position: relative;
  width: 100%;
  /* width: calc(100% - 20px); */
  background-color: var(--light-bg-color);
  opacity: .9;
  padding: 40px;
  border-radius: 10px;
  margin: 20px 0 0;

  & p, li {
    color: var(--text-color1);
  }
}

.top-section-icon {
  position: absolute;
  top: -15px;
  left: 30px;
}

.top-section-icon_svg {
  fill: var(--secondary-color1);
  width: 50px;
  height: 50px;
  rotate: 135deg;
}


/* ------------- Container Style ----------------------------------------- */

.container-header-icon_svg {
  fill: var(--light-bg-color);
  width: 30px;
  height: 30px;
  margin-right: 15px;
}

.container-overlay-fg-image {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  top: 0;
  left: 0;
  border-radius: 20px;
  z-index: 1;
  opacity: 1;
  transition: opacity .5s;
}

.container-overlay-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  z-index: -1;
  opacity: .3;
}

.container-main-overlay {
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  height: calc(100% - 50px);
  background-color: var(--dark-color);
  border-radius: 0 0 20px 20px;
  z-index: 1;
  opacity: .2;
}

.container-main:hover .container-main-overlay {
  z-index: -1;
}


/* ------------- Form Style ------------------------------------------------ */

.form-input-group {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 5px;
  margin-bottom: 20px;
}

.form-input-group label {
  margin-bottom: 5px;
}


/* ------------- Footer Style ------------------------------------------------ */

#main-footer {
  display: flex;
  align-items: flex-end;
  width: 100%;
  padding: 10px;
  background-color: var(--dark-color);
  opacity: 95;
}

#footer-container {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 105em;
  margin: 0 auto;
}

/* #footer-container {
  & div:nth-child(1) {
    width: fit-content;
  }

  & div:nth-child(2) {
    width: 50%;
    justify-content: center;
  }

  & div:nth-child(3) {
    width: fit-content;
    justify-content: right;
  }
} */

.footer-info {
  display: flex;
  width: fit-content;
}

.footer-info a,
.footer-info span,
.footer-copyright span {
  color: var(--light-text-color);
  font-size: 0.8em;
  font-weight: 600;
  padding: 10px 5px;
  transition: color .3s;
}

.footer-info span {
  color: var(--primary-color1);
}

.footer-info a {
  color: var(--a-href-color1);
  
}

.footer-info a:hover {
  color: var(--a-href-color2);
}

.footer-copyright {
  display: flex;

  width: fit-content;
}

.footer-info-icon_svg {
  fill: var(--light-bg-color);
  width: 30px;
  height: 30px;
  margin-right: 15px;
}


