/* =========================
   GLOBAL STYLES & RESET
   ========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    background-color: transparent;
    width: 98%;
    padding: 5px;
    margin: 15px;
    padding-left: 20px;
    position: fixed;
    top: 0;
    z-index: 1;
    background-color:rgba(224, 245, 247, 0.5);
    border-radius: 20px;
    padding-right: 20px;
    transition: transform 0.3s ease;

}

header.hide {
    transform: translateY(-100%);
    transition: transform 1s ease;
}

.header-container{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo{
    background-color: rgba(224, 245, 247, 0.5);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
}

.header-logo img{
    width: 120px;
    height: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    transition: color 0.3s ease;
    position: relative;
    text-decoration: none;
    color: #000;
    font-family: sans-serif;
    font-size: larger;
    font-weight: 500;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.3s ease;
}

.nav-links a:hover:after {
    width: 100%;
}

.user-icon{
    background-color: rgba(239, 241, 243, 0.5);
    width: fit-content;
    padding: 10px;
    border-radius: 20px;
    height: auto;
}

.user-icon i{
    color: #27cbd3;
    font-size: 2.2em;
    padding: 5px;
}

/* ============ footer ================= */
footer{
    background-color: black;
    padding: 20px;
}

.footer-content{
    background: #27cbd3;
    padding: 20px;
    border-radius: 20px;
}

.footer-container{
    background: rgba(243, 241, 230, 0.5);
    padding: 50px;
    border-radius: 36px;
}

.subscribe{
    display: flex;
    justify-content: space-between;
}

.footer-logo-text{
    display: flex;
    align-items: center;
}

.footer-logo img{
    width: 120px;
    height: auto;
    margin-right: 20px;
}

.footer-header-logo{
    font-size: 20px;
    font-weight: 900;
    color: #0b4b9d;
    width: 200px;
}

.footer-subscribe-header{
    font-size: 25px;
    font-weight: 900;
    color: white;
}

.footer-subscribe-input {
  position: relative;
  width: 360px;
}

.footer-subscribe-input input {
  width: 100%;
  padding: 14px 110px 14px 20px; /* space for button */
  border-radius: 40px;
  border: 2px solid #000;
  font-size: 16px;
  outline: none;
  background-color: #27cbd3;
}

.footer-subscribe-input button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  padding: 10px 22px;
  border-radius: 30px;
  border: none;
  background: #ffffff;
  color: #3ad7db;
  font-size: 15px;
  cursor: pointer;
}

.footer-nav-links{
    margin-top: 100px;
    display: flex;
    justify-content: space-between;
}

.footer-header{
    width: 700px;
    font-size: 20px;
    font-weight: 900;
    color: #0b4b9d;
    width: 200px;
}

.footer-nav-links-header{
    font-size: larger;
    font-weight: 00;
    margin-bottom: 20px;
}

.footer-header-container nav,
.footer-header-container p{
    display: flex;
    flex-direction: column;
    line-height: 1.5;
}

.footer-header-container p a, .footer-header-container nav a{
    text-decoration: none;
    font-size: large;
    font-weight: 500;
    color: #000;
}

.footer-contact-info-header, 
.footer-company-header, 
.footer-legal-header, 
.footer-socials-header {
    width: 270px;
    margin-bottom: 20px;
}

.footer-socials-icons nav{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.footer-socials-icons nav a{
    font-size: xx-large;
    color: #ffffff;
}

.footer-contact-info{
    margin-right: 30px;
}

.footer-contact-info p a{
    color: rgb(255, 255, 255);
    font-weight: 700;
}

.footer-line hr{
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-ending{
    display: flex;
    justify-content: space-between;
}

.footer-resources a{
    text-decoration: none;
    font-size: larger;
    color: #000;
    justify-content: space-between;
}

.footer-resources a:last-child{
    margin-left: 20px;
}