/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    /* background: rgb(249, 249, 249); */
    /* color: white; */
}

html{
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}



/* 🌟 Header Styles */
.header {
    background: linear-gradient(135deg, #6A1B9A, #0c5cac);
    color: #fff;
    padding: 8px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    /* border-bottom-left-radius: 20px; */
    border-bottom-right-radius: 20px;
}

/* ✅ When page is scrolled */
.header.scrolled {
    background: linear-gradient(
        135deg,
        rgba(106, 27, 154, 0.75),
        rgba(12, 92, 172, 0.75)
    );
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6px 16px;
}

/* 🔰 Logo */
.header .logo a {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    cursor: default;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

/* .highlight {
    color: #00d8ff;
    font-weight: bold;
} */


/* 📌 Navbar */
.header .navbar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links li a {
    position: relative;
    color: #fff;
    text-decoration: none;
    font-size: clamp(16px, 1.2vw, 20px);
    font-weight: 700;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    padding: 8px 15px; 
    border-radius: 10px; 
    transition: color 0.3s ease;
}

.nav-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0; /* underline at the bottom */
    width: 0%;
    height: 2px; /* underline thickness */
    background-color: #ffffff;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links li a:hover {
    color: #ffffff; 
}

.nav-links li a:hover::after {
    width: 100%; /* animate underline */
}





/* 🍔 Hamburger (small screen) */
.menu-icon {
    font-size: 28px;
    cursor: pointer;
    display: none;
    color: #fff;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 15px;
        background-color: #1769c7;
        padding: 12px 16px;
        border-radius: 8px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
        z-index: 1000;
        width: auto;
    }

    .nav-links li {
        margin: 8px 0;
    }

    .nav-links.active {
        display: flex;
    }
}


/* 🔐 Auth Buttons */
.auth-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 22px;
    color: #fff;
    border: 1.5px solid white;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* 🚀 Extra attention on hover */
.auth-links a:hover {
    transform: scale(1.2);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}




/* Avatar Image with dropdown */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.4);
    transition: transform 0.2s ease;
}

.user-avatar:hover {
    transform: scale(1.05);
}

/* Dropdown menu */
.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 60px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    min-width: 160px; /* Increased width */
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #ddd;
}

/* Show menu on hover or JS toggle */
.profile-dropdown.open .dropdown-menu {
    display: block;
}

/* User Info block */
.dropdown-info {
    padding: 12px 16px;
    color: #333;
    font-size: 14px;
}

.dropdown-info i {
    margin-right: 8px;
    color: #7b2cbf;
}

.dropdown-info small {
    display: block;
    color: #777;
    font-size: 12px;
    margin-top: 4px;
}

/* Menu Links */
.dropdown-menu a {
    display: block;
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f5f5f5;
}



/* 📋 Sidebar Menu */
.sidebar {
    position: fixed;
    top: 70px;
    left: -250px;
    width: 250px;
    height: calc(100% - 70px);
    background: #ffffff;
    padding-top: 20px;
    transition: 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.sidebar a {
    display: block;
    color: #1c1c1c;
    padding: 15px 20px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
}

.sidebar a:hover {
    background: #7b2cbf;
    color: #fff;
}

/* ❌ Close Sidebar Icon */
.close-menu {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 30px;
    cursor: pointer;
    color: #1c1c1c;
    font-weight: 500;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-menu:hover {
    background-color: #e0e0e0;
    color: #000;
}



/* 🕶️ Overlay */
.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}



/* 🌟 Footer Layout */
.site-footer {
    background: linear-gradient(135deg, rgba(106, 27, 154, 0.75), rgba(12, 92, 172, 0.75));
    color: #fff;
    padding: 50px 20px 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(6px);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px; /* Added a small gap between items */
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer Sections */
.footer-section {
    flex: 1 1 220px;
    margin-bottom: 20px; /* Added margin between sections */
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 6px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d8ff;
}



/* Company description */
.about p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Social Icons */
.social-links {
    margin-top: 12px;
}

.social-links a {
    color: #fff;
    margin-right: 12px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #00d8ff;
}

/* Contact Info */
.footer-section.contact li {
    font-size: 14px;
    line-height: 1.6;
}

/* Footer Bottom */
.footer-bottom {
    text-align: center;
    padding: 15px 0;
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 14px;
    margin-top: 30px;
}

/* 📱 Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 30px 20px 20px;
    }
    
    .site-footer .container {
        flex-direction: column;
        gap: 20px; /* Reduced gap for mobile */
    }
    
    .footer-section {
        flex: 1 1 100%;
        margin-bottom: 0; /* Remove extra margin in mobile */
    }
    
    .footer-section h3 {
        font-size: 16px;
    }
    
    .footer-links li {
        font-size: 14px;
    }
}





.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 40px 0;
    font-family: 'Poppins', sans-serif;
}

.pagination-link {
    padding: 10px 16px;
    background: linear-gradient(135deg, #6A1B9A, #0c5cac);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.pagination-link:hover {
    background: linear-gradient(135deg, #7b2cbf, #0b58a1);
    transform: translateY(-2px);
}

.pagination-link.active {
    background: #fff;
    color: #6A1B9A;
    font-weight: 700;
    pointer-events: none;
    box-shadow: inset 0 0 0 2px #6A1B9A;
}

.pagination-dots {
    color: #888;
    padding: 8px;
    font-weight: bold;
}










