﻿/* styles.css */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.headercss {
    background: linear-gradient(45deg, #9d5667 0%, #829fe3 100%);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    height: 50px;
}


.login-btn {
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: white;
    color: #4f46e5;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.25rem;
    height: 2rem;
    border-block-color: rebeccapurple;
}

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        background-color: #f0f4ff;
    }

.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 0.25rem;
    width: 14rem;
    background-color: white;
    border-radius: 1.375rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    overflow: hidden;
    display: none;
    transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top right;
}

.dropdown-enter {
    animation: fadeIn 0.3s ease-out forwards;
}

.dropdown-item-enter {
    animation: slideInLeft 0.3s ease-out forwards;
}

    .dropdown-item-enter:nth-child(1) {
        animation-delay: 0.1s;
    }

    .dropdown-item-enter:nth-child(2) {
        animation-delay: 0.2s;
    }

.login-option {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left center;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #1f2937;
    cursor: pointer;
    border-radius: 0.375rem;
}

    .login-option:hover {
        transform: translateX(8px) scale(1.02);
        background-color: rgba(236, 239, 255, 0.5);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

    .login-option:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(to bottom, #6366f1, #8b5cf6);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease-out;
    }

    .login-option:hover:after {
        transform: scaleY(1);
    }

.option-icon-container {
    background-color: #e0e7ff;
    padding: 0.5rem;
    border-radius: 0.5rem;
    margin-right: 0.75rem;
}

    .option-icon-container.purple {
        background-color: #f3e8ff;
    }

.fa-home, .fa-home + span {
    transition: all 0.3s ease;
}

    .fa-home:hover {
        transform: scale(1.1) translateY(-2px);
        text-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

a:hover .fa-home + span {
    transform: translateX(2px);
}

.main-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.text-center {
    text-align: center;
}

.hidden {
    display: none;
}




@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(20px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.dropdown-enter {
    animation: fadeIn 0.3s ease-out forwards;
}

.dropdown-item-enter {
    animation: slideInLeft 0.3s ease-out forwards;
}

    .dropdown-item-enter:nth-child(1) {
        animation-delay: 0.1s;
    }

    .dropdown-item-enter:nth-child(2) {
        animation-delay: 0.2s;
    }

/*.login-btn {
    transition: all 0.3s ease;
}*/

    .login-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

.login-option {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform-origin: left center;
    position: relative;
    overflow: hidden;
}

    .login-option:hover {
        transform: translateX(8px) scale(1.02);
        background-color: rgba(236, 239, 255, 0.5);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    }

        .login-option:hover .bg-indigo-100,
        .login-option:hover .bg-purple-100 {
            transform: scale(1.1);
        }

    .login-option:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(to bottom, #6366f1, #8b5cf6);
        transform: scaleY(0);
        transform-origin: top;
        transition: transform 0.3s ease-out;
    }

    .login-option:hover:after {
        transform: scaleY(1);
    }

.bg-indigo-100, .bg-purple-100 {
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.fa-home {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

    .fa-home:hover {
        transform: scale(1.1) translateY(-2px);
        text-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }

    .fa-home + span {
        transition: transform 0.2s ease;
    }

a:hover .fa-home + span {
    transform: translateX(2px);
}




.header-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 3.5rem;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-grow: 1;
}

.header-home-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

    .header-home-link:hover {
        color: #e5e7eb;
    }

.header-logo {
    height: 2rem;
    object-fit: contain;
}

#authContainer {
    margin-left: auto;
    position: relative;
}

/* Rest of your existing styles... */
 
/* Padding wrapper */
.dropdown-inner {
    padding: 0.25rem; /* p-1 */
}
/* Option row */
.login-option {
    display: flex;
    align-items: center;
    padding: 1rem 1rem; /* px-4 py-3 */
    color: #1F2937; /* text-gray-800 */
    cursor: pointer;
    border-radius: 0.375rem; /* rounded-md */
    transition: background-color 0.2s;
}

    .login-option:hover {
        background-color: #EEF2FF; /* bg-indigo-50 */
    }

/* Icon container in second item */
.option-icon-box {
    background-color: #F3E8FF; /* bg-purple-100 */
    padding: 0.5rem; /* p-2 */
    border-radius: 0.5rem; /* rounded-lg */
    margin-right: 0.75rem; /* mr-3 */
    transition: transform 0.3s;
}

.login-option:hover .option-icon-box i {
    transform: scale(1.10);
}

/* Icon color */
.option-icon-box i,
.option-icon-container i {
    color: #805AD5; /* purple-600; vary if desired */
}

/* For department icon variant */
.option-icon-container i {
    color: #5A67D8; /* indigo-600 */ /* rgb(90,103,216) :contentReference[oaicite:1]{index=1} */
    margin-right: 0.75rem;
}

/* Text styling inside link */
.option-content h3 {
    font-weight: 500; /* font-medium */
    margin: 0;
    color: #111827;
}

.option-content p {
    font-size: 0.75rem; /* text-xs */
    color: #6B7280; /* text-gray-500 :contentReference[oaicite:2]{index=2} */
    margin: 0;
}

.optiotionh {
    font-size: 14px;
}
/* Container */
.user-dropdown {
    position: absolute;
    right: 0;
    margin-top: 0.5rem; /* tailwind mt-2 */
    width: 14rem; /* w-56 */
    background-color: #fff;
    border-radius: 0.375rem;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.04);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease-in-out, visibility 200ms ease-in-out; /* fade effect */
    transform-origin: top right;
    z-index: 1000;
}

    /* When visible — toggle this class via JS */
    .user-dropdown.open {
        opacity: 1;
        visibility: visible;
    }

    /* Inner padding */
    .user-dropdown .inner {
        padding: 0.25rem;
    }

    /* Login options */
    .user-dropdown .login-option {
        display: flex;
        align-items: center;
        padding: 0.75rem 1rem;
        color: #1F2937;
        cursor: pointer;
        border-radius: 0.375rem;
        transition: background-color 150ms;
    }

        .user-dropdown .login-option:hover {
            background-color: #EEF2FF;
        }

        .user-dropdown .login-option i {
            margin-right: 0.75rem;
        }

        /* Icon colors */
        .user-dropdown .login-option .fa-user {
            color: #5A67D8;
        }

        .user-dropdown .login-option .fa-sign-out-alt {
            color: #DC2626;
        }

        .user-dropdown .login-option span {
            font-weight: 500;
        }



 
 

.footcontent {
    flex: 1; /* Allow content to grow and take available space */
}

.footercon {
    background: linear-gradient(45deg, #9d5667 0%, #829fe3 100%);
    /*background: linear-gradient(135deg, #4a90e2, #9013fe);*/ /* Gradient background */
    color: white;
    text-align: center;
    padding: 20px; /* Adjust padding for elegance */
    margin: 0; /* Remove margin */
    position: relative;
    overflow: hidden;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    animation: slideIn 1s ease-in-out; /* Slide-in animation */
}

.footercon-content {
    animation: fadeIn 2s ease-in-out;
}

.footercon p {
    margin: 0; /* Remove default margin */
    font-size: 16px; /* Font size for elegance */
    animation: textSlide 1s ease-in-out; /* Text slide animation */
}

.footercon img {
    transition: transform 0.3s, filter 0.3s; /* Smooth transition for hover effects */
    animation: pulse 2s infinite; /* Pulse animation */
}

    .footercon img:hover {
        transform: scale(1.1); /* Scale effect on hover */
        filter: brightness(1.2); /* Brightness effect on hover */
    }

/* Bubble effect */
.bubble {
    position: absolute;
    bottom: 0;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: bubbleAnimation 5s infinite;
    opacity: 0.7;
}

@keyframes bubbleAnimation {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }

    100% {
        transform: translateY(-100px);
        opacity: 0;
    }
}

/* Create multiple bubbles */
.bubble:nth-child(1) {
    width: 20px;
    height: 20px;
    left: 10%;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 25px;
    height: 25px;
    left: 30%;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 15px;
    height: 15px;
    left: 50%;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    left: 70%;
    animation-delay: 3s;
}

.bubble:nth-child(5) {
    width: 18px;
    height: 18px;
    left: 90%;
    animation-delay: 4s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes textSlide {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

 