:root {
    --yellow: #f9ed32;
    --black: #000000;
}

*{
    font-family: "Poppins", sans-serif;
}



.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem; 
    padding: 0.5rem; 
}

.hamburger span {
    width: 24px;  
    height: 2px;  
    background-color: var(--black);
    transition: all 0.2s ease; 
}







.nav-list {
    display: flex;
    gap: 1.5rem;
    padding: 0;
}
nav ul li {
    list-style: none;
    position: relative;
}


nav ul li a:hover{
    color: black;
}


.dropdown-content {
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px); 
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    width: 200px;
    z-index: 999;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s; 
}
.dropdown-content img{
    max-width: 15px;
    max-height: 15px;
    margin-right: 10px;
}
.dropdown:hover .dropdown-content {
    visibility: visible;
    opacity: 1;
    transform: translateY(0); 
}
.dropdown-content li {
    padding: 0.5rem 1rem;
}
.hdr-arrow {
    display: inline-block;
    width: 0.6rem;
    height: 0.6rem;
    border: solid var(--black);
    border-width: 0 2px 2px 0;
    transform: rotate(-45deg);
    margin-left: 5px;
    transition: transform 0.3s ease;
}
.dropdown:hover .hdr-arrow {
    transform: rotate(45deg);
}
.close-btn {
    display: none;
    font-size: 3rem;
    background: none;
    border: none;
    color: var(--black);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    cursor: pointer;
    z-index: 1001;
}



/* Header */
header {
    width: 100%;
    padding: 0.5rem 0; 
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header {
    width: 100%;
    padding: 0.5rem 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

body {
    padding-top: 70px; 
}

.section-top {
    margin-top: 0; 
}



header.scrolled {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.logo {
    width: 100px;
    height: 60px; 
    object-fit: contain;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

nav ul li a {
    position: relative;
    text-decoration: none;
    color: var(--black);
    font-size: 1rem; 
    padding: 0.5rem 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--yellow);
    transition: width 0.3s ease, right 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
    right: 0;
}

nav ul li a:not(:hover)::after {
    right: 0;
    width: 0;
    
    transition: width 0.3s ease, right 0.3s ease;
}



footer {
  padding: 30px 0 3px 0;
  color: #eee;
  background: linear-gradient(135deg, #1e0055 0%, #6a0174 100%);
  font-size: 14px;
  position: relative;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  /* background-color: red; */
}

.footer-logo img {
  width: 100px;
  height: auto;
  transition: transform 0.3s ease;
}
.footer-logo img:hover {
  transform: scale(1.05);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px 30px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: #eee;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);

  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  position: relative;
  padding-bottom: 3px;
  transition: all 0.3s ease;
}
.footer-links a:hover {
  color: #e2c4ff;
  
}
.footer-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #f9ed32;
  transition: width 0.3s ease;
}
.footer-links a:hover::after {
  width: 100%;
}

.footer-socials {
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}

.footer-socials a {
  display: inline-block;
  width: 25px;
  height: 25px;
  transition: all 0.3s ease;
}
.footer-socials a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.8);
  transition: all 0.3s ease;
}
.footer-socials a:hover img {
  filter: none;
  transform: scale(1.1) rotate(5deg);
}

.newsletter {
  display: flex;
  flex-direction: column;
}
.newsletter label {
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 15px;
}
.newsletter input[type="email"] {
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  width: 100%;
  font-size: 14px;
  transition: border 0.3s ease;
}
.newsletter input[type="email"]:focus {
  border-color: #f9ed32;
  outline: none;
}
.newsletter button {
  padding: 10px 15px;
  border: none;
  background-color: #f9ed32;
  color: #000;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  transition: all 0.3s ease;
}
.newsletter button:hover {
  background-color: #000;
  color: #f9ed32;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  padding-bottom: 10px;
  margin-top: 20px;
  border-top: 1px solid #eee;
  font-size: 13px;
  color: #ffffff;
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
}







.footer-logo-socials {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-socials {
  margin-top: 30px; /* reduce space below logo */
  display: flex;
  gap: 15px;
  justify-content: flex-start;
}



/* Mobile Sidebar Menu */
@media (max-width: 768px) {
    .close-btn {
        display: none;
    }

    .header-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        justify-content: flex-end;
        margin-left: auto;
    }

    nav ul.nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: white;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s ease-in-out;
        box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
        z-index: 999;
    }

    nav ul.nav-list.active {
        right: 0;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .newsletter input[type="email"] {
        width: 100%;
    }

    .footer-logo-socials{
      justify-content: center;
      align-items: center;
      margin-bottom: 20px;
    }

    .footer-logo img {
        margin-bottom: 5px;
    }

    .footer-socials {
        justify-content: center;
    }
}











