/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
}

/* Navigation Links */
.nav-link {
    display: block;
    padding: 1rem 1.5rem;
    transition: background-color 0.3s ease;
    text-decoration: none;
    color: white;
}

.nav-link:hover {
    background-color: #1e3a8a;
}

/* Sidebar Menu */
.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-menu li a:hover {
    background-color: #1e40af;
    padding-left: 1.5rem;
}

/* Slider Styles */
.slider-container {
    position: relative;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
    left: 10px;
}

.slider-btn.next {
    right: 10px;
}

/* Social Icons */
.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1);
    opacity: 0.8;
}

.social-icon.twitter {
    background-color: #1DA1F2;
}

.social-icon.facebook {
    background-color: #4267B2;
}

.social-icon.linkedin {
    background-color: #0077B5;
}

.social-icon.google {
    background-color: #DB4437;
}

.social-icon.youtube {
    background-color: #FF0000;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .flex {
        flex-direction: column;
        text-align: center;
    }

    header h1 {
        font-size: 1rem;
    }

    header h2 {
        font-size: 1rem;
    }

    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .slider-btn {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* Marquee Animation */
marquee {
    line-height: 1.8;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #1e3a8a;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* Sidebar Menu Styles */
 .sidebar-menu {
     list-style: none;
 }

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-menu li a:hover {
    background-color: #1e40af;
    padding-left: 1.5rem;
}

/* Form Focus Styles */
input:focus, textarea:focus, select:focus {
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}


/* Sidebar Menu Styles */
.sidebar-menu {
    list-style: none;
}

.sidebar-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 0.9rem;
}

.sidebar-menu li a:hover {
    background-color: #1e40af;
    padding-left: 1.5rem;
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid #1e3a8a;
    background-color: white;
    color: #1e3a8a;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: #1e3a8a;
    color: white;
}

/* Gallery Card Styles */
.gallery-item {
    animation: fadeIn 0.5s ease-in;
}

.gallery-item.hide {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-card {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info {
    margin-bottom: 0.5rem;
}

.view-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-card:hover .view-btn {
    opacity: 1;
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.7);
    }
    to {
        transform: scale(1);
    }
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-lightbox:hover {
    color: #bbb;
}

.lightbox-nav {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 30px;
    font-weight: bold;
    padding: 16px;
    background-color: rgba(0, 0, 0, 0.5);
    border: none;
    transition: 0.3s;
}
