/* Global Styles */
:root {
    --primary-color: #003366;
    --secondary-color: #4CAF50;
    --text-color: #333;
    --light-bg: #f8f9fa;
    --border-color: #e1e1e1;
    --hover-color: #002244;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
}

/* Header Styles */
.site-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
}

.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Footer Styles */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

/* Button Styles */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.button-primary {
    background: var(--primary-color);
    color: white;
}

.button-primary:hover {
    background: var(--hover-color);
    transform: translateY(-2px);
}

.button-secondary {
    background: var(--secondary-color);
    color: white;
}

.button-secondary:hover {
    background: #3d8b40;
    transform: translateY(-2px);
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
}

/* Card Styles */
.card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

/* Alert Styles */
.alert {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html {
    scroll-padding-top: 70px; /* Should be equal to the height of your fixed header */
}

body {
    padding-top: 70px; /* Adjust this value based on the actual height of your header */
    font-family: 'Roboto', Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}
.site-header {
    background-color: #003366;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.logo {
    display: flex;
    align-items: center; /* Align items vertically */
    text-decoration: none; /* Remove underline from the link */
    color: white; /* Ensure text color is white */
}

.logo img {
    height: 50px; /* Adjust logo height */
    width: auto; /* Maintain aspect ratio */
    margin-right: 10px; /* Space between logo and text */
}
.logo-text {
    font-family: 'Poppins', sans-serif; /* Use the same font as headings */
    font-size: 1.5em; /* Adjust font size as needed */
    color: white; /* Set text color to white for contrast */
    font-weight: bold; /* Make the text bold */
}
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex; /* Keep nav items in a horizontal line */
    margin-left: auto; /* Push nav to the right */
}
.main-nav ul {
    list-style-type: none;
    padding: 10;
    margin: 3;
    display: flex;
}

.main-nav li {
    margin-left: 20px;
    font-family: 'Lato', Helvetica, sans-serif;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #00e1ff;;
}
 body, html {
    height: 100%;
    margin: 0;
    font-family: Arial, sans-serif;
}

.video-background {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
}
.content {
    position: relative;
    height: 100vh;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
}
h1 {
    font-family: 'Lato', Helvetica, sans-serif;
    font-weight: 700;  /* Bold */
    font-size: 3em;
    margin-bottom: 0.5em;

}
p {
    font-family: 'DM Sans', sans-serif; /* Set font to DM Sans */
     font-size: 1.2em; /* Adjust font size as needed */
    margin-bottom: 1.5em; /* Space below paragraphs */
    color: #000000; /* Ensure text color is black */
}
.cta-button {
    display: inline-block;
    padding: 12px 24px;
    background-color: #2532eb; /* Dark blue background */
    color: #ffffff; /* White text */
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    border-radius: 30px; /* Rounded corners */
    transition: all 0.3s ease; /* Smooth transition for all properties */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    border: 2px solid #2532eb; /* Border matching the background */
    position: relative;
    overflow: hidden;
}

.cta-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        120deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: all 0.5s;
}

.cta-button:hover {
    background-color: #172be0; /* Slightly lighter blue on hover */
    color: #ffffff;
    transform: translateY(-3px); /* Slight upward movement */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15); /* Larger shadow on hover */
}

.cta-button:hover:before {
    left: 100%;
}

.cta-button:active {
    transform: translateY(0); /* Button returns to original position when clicked */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Smaller shadow when clicked */
}
.history-section {
    display: flex;
    padding: 40px 0;
    background-color: #f4f4f4;
    font-family: 'DM Sans', sans-serif; /* Set font to DM Sans */
    font-size: 1.3em; /* Adjust font size as needed */
    margin-bottom: 1.5em; /* Space below paragraphs */  
    color: #000000; 
}
.image-collage {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 20px;
}
.image-collage img {
    width: 100%;
    max-width: 300px;
    margin-bottom: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.history-text {
    flex: 1;
    padding: 0 40px;
}
.history-text h2 {
    color: #003366;
}
.lower-content {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.quick-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}
.quick-link {
    flex-basis: calc(33.333% - 20px);
    background-color: #f4f4f4;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.quick-link h3 {
    color: #003366;
    margin-top: 0;
}
.history-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1316c5;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    cursor: pointer;
    margin-top: 20px;
}
.history-button:hover {
    background-color: #1316c5;
    
}
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
}
.modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.lower-content {
position: relative;
background-color: rgba(186, 211, 235, 0.774); /* Dark overlay */
color: rgb(23, 19, 240);
padding: 50px 0;
text-align: center;
overflow: hidden;
}
.lower-video-background {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
transform: translateX(-50%) translateY(-50%);
z-index: -1;
}

.lower-content .container {
position: relative;
z-index: 1;
}

.lower-content h2,
.lower-content p {
color: rgb(14, 13, 13);
}

.quick-link {
background-color: rgba(255, 255, 255, 0.1);
padding: 20px;
margin-bottom: 20px;
border-radius: 5px;
backdrop-filter: blur(5px);
transition: background-color 0.3s ease;
}

.quick-link:hover {
background-color: rgba(255, 255, 255, 0.2);
}

.quick-link h3 {
color: rgba(8, 20, 126, 0.952); /* DISCOVER */
}

.cta-button {
background-color: #003366;
color: white;
border: none;
padding: 10px 20px;
border-radius: 5px;
text-decoration: none;
display: inline-block;
margin-top: 10px;
transition: background-color 0.3s ease;
}

.cta-button:hover {
background-color: #2532eb;
}
.image-collage img {
cursor: pointer;
transition: opacity 0.3s ease;
}

.image-collage img:hover {
opacity: 0.8;
}

.lightbox {
display: none;
position: fixed;
z-index: 10;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.9);
}

.lightbox-content {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
max-height: 80%;
object-fit: contain;
}

#lightbox-caption {
margin: auto;
display: block;
width: 80%;
max-width: 700px;
text-align: center;
color: #ccc;
padding: 10px 0;
height: 150px;
}

.close {
position: absolute;
top: 15px;
right: 35px;
color: #f1f1f1;
font-size: 40px;
font-weight: bold;
transition: 0.3s;
}

.close:hover,
.close:focus {
color: #bbb;
text-decoration: none;
cursor: pointer;
}
.news-ticker-container {
background-color: #f4f4f4;
padding: 10px 0;
overflow: hidden;
}

.news-ticker {
display: flex;
animation: ticker 30s linear infinite;
}

.news-item {
flex: 0 0 auto;
display: flex;
align-items: center;
margin-right: 30px;
cursor: pointer;
transition: opacity 0.3s ease;
}

.news-item:hover {
opacity: 0.7;
}

.news-item img {
width: 200px;
height: 200px;
object-fit: cover;
margin-right: 10px;
}

.news-item p {
font-family: 'Roboto', Arial, sans-serif;
font-weight: 400;  /* Regular */
margin: 0;
font-weight: bold;
color: #003366;
}
@keyframes ticker {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}
.latest-news-header {
background-color: #003366;
color: white;
padding: 10px 0;
text-align: center;
}

.latest-news-header h2 {
margin: 0;
font-size: 1.5em;
text-transform: uppercase;
letter-spacing: 2px;
}

.news-ticker-container {
background-color: #f4f4f4;
padding: 15px 0;
overflow: hidden;
border-top: 2px solid #003366;
border-bottom: 2px solid #003366;
}

.news-ticker {
display: flex;
animation: ticker 30s linear infinite;
}

.news-item {
flex: 0 0 auto;
display: flex;
align-items: center;
margin-right: 30px;
cursor: pointer;
transition: opacity 0.3s ease;
background-color: white;
padding: 10px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.news-item:hover {
opacity: 0.7;
}
.news-item img {
width: 300px;
height: 300px;
object-fit: cover;
margin-right: 10px;
border-radius: 3px;
}

.news-item p {
margin: 0;
font-weight: bold;
color: #003366;
}

@keyframes ticker {
0% {
transform: translateX(100%);
}
100% {
transform: translateX(-100%);
}
}

.our-programs-section {
background-color: #f9f9f9;
padding: 50px 0;
}

.our-programs-section h2 {
text-align: center;
color: #003366;
margin-bottom: 30px;
}
p {
color: #000000; /* Set paragraph text to black */
}

.programs-container {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
}

.program {
width: 30%;
background-color: rgba(255, 255, 255, 0.747);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.1);
margin-bottom: 30px;
transition: transform 0.3s ease;
}

.program:hover {
transform: translateY(-5px);
}

.program img {
width: 100%;
height: 200px;
object-fit: cover;
}

.program-details {
padding: 20px;
}

.program-details h3 {
color: #003366;
margin-top: 0;
}

.learn-more {
display: inline-block;
margin-top: 10px;
padding: 8px 15px;
background-color: #003366;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

.learn-more:hover {
background-color: #1316c5;
}

@media (max-width: 768px) {
.program {
width: 45%;
}
}

@media (max-width: 480px) {
.program {
width: 100%;
}
}
.campus-life-section {
background-color: #ffffff;
padding: 50px 0;
}

.campus-life-section h2 {
text-align: center;
color: #003366;
margin-bottom: 30px;
}

.campus-life-content {
display: flex;
justify-content: space-between;
max-width: 1500px;
margin: 0 auto;
}

.campus-life-slideshow {
width: 90%;
height: 500px;
position: relative;
overflow: hidden;
}

.campus-life-slideshow img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
opacity: 0;   
transition: opacity 0.5s ease-in-out;
}

.campus-life-slideshow img.active {
opacity: 1;
}

.campus-life-text {
width: 50%;
padding: 20px;
}

.campus-life-text h3 {
color: #003366;
margin-top: 0;
}

.campus-life-text ul {
padding-left: 20px;
margin-bottom: 20px;
font-size: 1.00em;
}

.campus-life-text li {
margin-bottom: 10px;
font-size: 1.20em;
}

@media (max-width: 768px) {
h1 {
font-size: 2.5em;
}
h2 {
font-size: 2em; /* Adjust size for smaller screens */
}

h3 {
font-size: 1.75em; /* Adjust size for smaller screens */
}

p {
font-size: 1em; /* Adjust size for smaller screens */
}
.campus-life-content {
flex-direction: column;
}

.campus-life-slideshow,
.campus-life-text {
width: auto;
}

.campus-life-slideshow {
margin-bottom: 30px;
}
}
.site-footer {
background-color: #003366;
color: white;
padding: 40px 0 20px;
}

.footer-content {
display: flex;
justify-content: space-between;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}

.footer-left {
display: flex;
align-items: flex-start;
}

.footer-logo {
margin-right: 20px;
}

.footer-logo img {
max-width: 100px;
height: auto;
}

.footer-contact, .footer-social {
margin-bottom: 20px;
}

.footer-contact h3, .footer-social h3 {
margin-bottom: 10px;
}

.footer-contact p, .footer-social a {
margin: 5px 0;
color: #ffffff;
text-decoration: none;
}

.footer-social a:hover {
text-decoration: underline;
}

.footer-bottom {
text-align: center;
margin-top: 20px;
padding-top: 20px;
border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
.footer-content {
flex-direction: column;
}

.footer-left {
flex-direction: column;
align-items: center;
text-align: center;
margin-bottom: 20px;
}

.footer-logo {
margin-right: 0;
margin-bottom: 20px;
}

.footer-right {
text-align: center;
}
}
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav {
        margin-top: 10px;
        align-self: stretch;
    }

    .main-nav ul {
        flex-direction: column;
    }

    .main-nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

/* Mobile Navigation Styles */
.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 999;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .main-nav li {
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border-color);
    }

    /* Hamburger Animation */
    .hamburger.active div:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active div:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active div:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Overlay when menu is open */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 998;
    }

    .nav-overlay.active {
        display: block;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
.header-container {
flex-direction: column; /* Stack header items */
align-items: flex-start; /* Align items to the start */   
}
.main-nav {
display: none; /* Hide the nav by default on small screens */
flex-direction: column; /* Stack items vertically */
width: 100%; /* Full width */
background-color: #003366; /* Background color for dropdown */
position: absolute; /* Position it absolutely */
top: 90px; /* Position below the header */
left: 0; /* Align to the left */
z-index: 1000; /* Ensure it stays on top */
}

.main-nav.active {
display: flex; /* Show the nav when active */
}

.hamburger {
display: flex; /* Show hamburger icon on small screens */
}

.main-nav ul {
flex-direction: column; /* Stack navigation items */
}

.main-nav li {
margin-left: 0; /* Remove left margin */
margin-bottom: 10px; /* Add bottom margin */
}

.video-background {
flex-direction: column; /* Stack items vertically */
align-items: center;
}

.content {
padding: 1rem; /* Add padding for better spacing */
}

h1 {
font-size: 2.5em; /* Adjust heading size */
}

h2 {
font-size: 2em; /* Adjust size for smaller screens */
}

.program {
width: 100%; /* Full width for programs on small screens */
margin-bottom: 20px; /* Add margin for spacing */
}

.campus-life  {
flex-direction: column; /* Stack items vertically */
align-items: center
}

.campus-life-text {
flex-direction: column; /* Stack items vertically */
align-items: center
}
.campus-life-slideshow img{
flex-direction: column; /* Stack items vertically */
align-items: center
}

.footer-content {
flex-direction: column; /* Stack footer items vertically */
align-items: center; /* Center footer items */
}
}

@media (max-width: 480px) {
.cta-button, .enroll-button {
width: 100%; /* Full width buttons */
padding: 12px; /* Adjust padding */
}
}
.basic-education-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.education-level {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 5px;
}

.education-level h2 {
    color: #003366;
    margin-bottom: 0.5rem;
}

.enroll-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #003366;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.enroll-button:hover {
    background-color: #004080;
}
.pdf-link {
    color: #003366; /* Change to your desired color */
    text-decoration: underline; /* Underline for emphasis */
}

.pdf-link:hover {
    color: #1f026e; /* Change color on hover */
}
.journal-library {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.filter-box select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 150px;
}

.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.journal-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-info {
    padding: 20px;
}

.journal-title {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

.journal-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.journal-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.stat-item i {
    color: #003366;
}

.journal-description {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.4;
}

.journal-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.view-btn {
    background-color: #003366;
    color: white;
}

.cite-btn {
    background-color: #6c757d;
    color: white;
}

.cite-btn:hover {
    background-color: #5a6268;
}

.copy-citation {
    position: relative;
}

.citation-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-citation:hover .citation-tooltip {
    opacity: 1;
}

.download-btn {
    background-color: #4CAF50;
    color: white;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .search-filter {
        flex-direction: column;
    }

    .filter-box select {
        width: 100%;
    }

    .journals-grid {
        grid-template-columns: 1fr;
    }
}
.journal-container {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

.auth-section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.auth-tabs {
    display: flex;
    margin-bottom: 20px;
}

.auth-tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: bold;
    color: #666;
}

.auth-tab.active {
    color: #003366;
    border-bottom: 2px solid #003366;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.submit-btn {
    background-color: #003366;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.submit-btn:hover {
    background-color: #002244;
}

.journal-upload {
    display: none;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.journal-upload.active {
    display: block;
}

.upload-area {
    border: 2px dashed #ddd;
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #003366;
}

.journal-list {
    margin-top: 30px;
}

.journal-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

.journal-item:last-child {
    border-bottom: none;
}

.journal-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 5px 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.edit-btn {
    background-color: #4CAF50;
    color: white;
}

.delete-btn {
    background-color: #f44336;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .journal-container {
        padding: 10px;
    }

    .auth-section, .journal-upload {
        padding: 15px;
    }
}
.status-pending {
color: #f39c12;
font-weight: bold;
}

.status-approved {
color: #27ae60;
font-weight: bold;
}

.status-rejected {
color: #c0392b;
font-weight: bold;
}

select {
width: 100%;
padding: 8px;
border: 1px solid #ddd;
border-radius: 4px;
margin-bottom: 10px;
}

.journal-filter {
margin-bottom: 20px;
}

.journal-search {
width: 100%;
padding: 8px;
margin-bottom: 10px;
border: 1px solid #ddd;
border-radius: 4px;
}
.journal-library {
    max-width: 1200px;
    margin: 100px auto;
    padding: 20px;
}

.library-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.search-filter {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.search-box {
    flex: 1;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.filter-box select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    min-width: 150px;
}

.journals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.journal-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.journal-card:hover {
    transform: translateY(-5px);
}

.journal-info {
    padding: 20px;
}

.journal-title {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 10px;
    font-weight: bold;
}

.journal-meta {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 15px;
}

.journal-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.stat-item:hover {
    background-color: #e9ecef;
}

.stat-item i {
    color: #003366;
}

.stat-item.clicked {
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.journal-description {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.4;
}

.journal-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9em;
    transition: background-color 0.3s ease;
}

.view-btn {
    background-color: #003366;
    color: white;
}

.cite-btn {
    background-color: #6c757d;
    color: white;
}

.cite-btn:hover {
    background-color: #5a6268;
}

.copy-citation {
    position: relative;
}

.citation-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8em;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.copy-citation:hover .citation-tooltip {
    opacity: 1;
}

.download-btn {
    background-color: #4CAF50;
    color: white;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 10px;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-rejected {
    background-color: #f8d7da;
    color: #721c24;
}

@media (max-width: 768px) {
    .search-filter {
        flex-direction: column;
    }

    .filter-box select {
        width: 100%;
    }

    .journals-grid {
        grid-template-columns: 1fr;
    }
}


