/* NAVBAR CSS SECTION  */
body{
    margin: 0;
    padding: 0;
    font-family: "Outfit", sans-serif;
}

.navbar {
    background: #D81F4B;
    color: white;
    padding: 15px 20px;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 999;
}

.navbar-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; 
}

.logo h1 {
    font-size: 24px;
    font-weight: bold;
}

.logo img{
    width: 100px;
    border-radius: 50%;
    background-color: white ;

}
.nav-links {
    display: flex;
    gap: 50px; 
}

.nav-links a {
    color: white;
    font-size: 20px;
    text-decoration: none; 
    font-weight: bold;
}

.nav-links a:hover {
    border-bottom: 2px solid white;
}

.icons img {
    display: none;
    width: 30px;
    margin-right: 30px; 
}

.toggle-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Messages container */
.messages-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  max-width: 600px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Base alert style */
.alert {
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  animation: fadeIn 0.4s ease-in-out;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  opacity: 1;
  transition: opacity 0.5s ease-out;
}

/* Different message types */
.alert.success { background: #d1fae5; color: #065f46; border-left: 6px solid #10b981; }
.alert.error   { background: #fee2e2; color: #991b1b; border-left: 6px solid #ef4444; }
.alert.warning { background: #fef3c7; color: #92400e; border-left: 6px solid #f59e0b; }
.alert.info    { background: #e0f2fe; color: #0369a1; border-left: 6px solid #3b82f6; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}


.nav-links a.special-link {
    background-color: #007bff;
    color: #fff !important;
    border-radius: 6px;
    font-weight: bold;
    padding: 5px 10px;
}

.nav-links a:hover {
    animation: shake 0.4s;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.9);
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}

 .center img{
    width: 200px; 
}

/* Responsive */
@media (max-width: 768px) {
  .alert {
    font-size: 14px;
    padding: 10px 14px;
  }
}

@media screen and (max-width: 1024px) {
   .center h2{
    font-size: 23px;
    margin-left: 10px;
} 
}

/* Responsive */
@media (max-width: 768px) {

    .nav-links {
        display: none;
        flex-direction: column;
        background: #D81F4B;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%; 
        padding: 15px 50px;
        gap: 10px; 
    }
    .nav-links a {
        color: white;
        font-size: 14px;
        text-decoration: none; 
        font-weight: bold;
    }
    .nav-links.active {
        display: flex;
    }
    .toggle-btn {
        display: block;
    }
    .logo img{
    width: 80px;
}

}



/* Footer Section  */

.footer {
    background: #2a7de1;
    color: white;
    padding: 40px 20px; 
}

.footer-container {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
}

.footer-column {
    flex: 1;
    min-width: 250px; 
    text-align: center;
}

.footer-column h2 {
    font-weight: bold;
}

.footer-column a {
    color: white;
    text-decoration: none;
}

.footer-column img {
    width: 18px;
    margin-right: 8px;
    vertical-align: middle;
}

.logos img{
    width: 100px;
    background-color: white;
    border-radius: 50%;
    margin-left: 50px;
}

.quick-links a{
    display: block;
    transition: transform 0.2s ease;
}

.quick-links a:Hover {
    animation: shake 0.4s;
    text-shadow: 3px 3px 3px rgb(255, 255, 255);
}

@keyframes shake {
    0% { transform: translateX(0); }
    20% { transform: translateX(-5px); }
    40% { transform: translateX(5px); }
    60% { transform: translateX(-5px); }
    80% { transform: translateX(5px); }
    100% { transform: translateX(0); }
}



/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .logos img{
    margin-left: 0px;
}

}
