/* General Reset */ 
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    line-height: 1.6;
    background: linear-gradient(to bottom, #ffffff, #e6ffe6); /* Gradient from white to light green */
    color: #333;
    transition: background 0.3s, color 0.3s;
}

/* Header */
.header {
    position: fixed; /* Keep the header fixed at the top */
    top: 0;
    left: 20%; /* Push it to the right of the sidebar */
    width: 80%; /* Occupy the remaining width */
    background: linear-gradient(90deg, white, #0d8016); /* Gradient from white to green */
    color: #fff;
    padding: 1rem 2rem;
    z-index: 1000; /* Ensure it appears above the content */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Add depth */
    display: flex;
    justify-content: space-between; /* Spread elements across the header */
    align-items: center;
    transition: background 0.3s ease; /* Smooth hover effects */
}

/* Header Container */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

/* Title Styling */
.header h1 {
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between icon, text, and logo */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle text shadow for emphasis */
    color: #0d8016; /* Green text for better visibility on white */
}

/* Icon Styling */
.header-icon {
    width: 80px; /* Adjusted size for better balance */
    height: 80px;
    display: inline-block;
    vertical-align: middle;
}

/* University Logo Styling */
.header-logo {
    height: 70px; /* Keep the logo size consistent with the icon */
    width: auto;
    margin-left: 0.5rem; /* Space between title and logo */
}

/* Header Buttons */
.auth-btn {
    padding: 0.5rem 1rem;
    background-color: #fff;
    color: #0d8016;
    border: 2px solid #0d8016;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    background-color: #0d8016;
    color: #fff;
    border-color: #fff;
    transform: scale(1.05);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Layout */
.layout {
    display: flex;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Prevent horizontal scroll */
}

.sidebar {
    width: 20%;
    background: linear-gradient(to bottom, #ffffff, #0d8016); /* Gradient from white to green */
    padding: 1.5rem;
    border-right: 1px solid #0a5e12;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
    position: fixed; /* Fix sidebar without affecting the rest of the layout */
    height: 100vh; /* Full height */
    overflow-y: auto; /* Allow scrolling for overflowing content */
    top: 0; /* Start at the top of the page */
    z-index: 1000; /* Ensure it appears above other content */
    transition: all 0.3s ease; /* Smooth transitions for future animations or responsiveness */
}

/* Sidebar Navigation Header */
.sidebar-nav h2 {
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.6rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 0.5rem;
}

/* Sidebar Navigation List */
.sidebar-nav ul {
    list-style: none;
    padding: 0;
}

.sidebar-nav ul li {
    margin-bottom: 1rem;
}

.sidebar-nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 0.5rem 0.8rem;
    display: block;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease-in-out;
}

.sidebar-nav ul li a:hover {
    background-color: #ffffff;
    color: #0d8016;
    border-color: #0d8016;
    transform: translateX(5px); /* Slight slide effect */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* Adds depth */
}

.sidebar .search-bar {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column; /* Stack input and button */
    width: 100%; /* Match sidebar width */
}

.sidebar .search-bar input {
    width: 100%; /* Full width of the sidebar */
    padding: 0.4rem; /* Slightly smaller padding */
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 0.5rem; /* Space between input and button */
}

.sidebar .search-bar button {
    padding: 0.4rem;
    background-color: #0d8016;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 0.9rem;
}

.sidebar .search-bar button:hover {
    background-color: #14971f;
}

/* Visit Section */
.sidebar-nav .visit-section {
    margin-top: 2rem; /* Spacing from the previous section */
}

.sidebar-nav .visit-section h2 {
    margin-bottom: 1rem;
    color: #ffffff;
    font-size: 1.4rem;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 0.5rem;
}

/* Main Content */
.main-content {
    margin-top: 4rem; /* Add space for the fixed header */
    margin-left: 20%; /* Ensure it starts after the sidebar */
    padding: 2rem;
    width: 80%; /* Fill the rest of the width */
    overflow-y: auto;
}
.banner {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
    padding: 5rem 2rem; /* Increase padding for better layout */
    background: linear-gradient(135deg, rgba(13, 128, 22, 0.8), rgba(0, 100, 0, 0.8)), 
                url('img/GUBCampus.jpg') no-repeat center center; /* Combine gradient and image */
    background-size: cover; /* Ensure the image covers the entire area */
    color: white;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Text Elements */
.banner h2 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}

.banner p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}

/* Button Styling */
.banner .btn {
    padding: 0.8rem 1.5rem;
    background-color: white;
    color: #0d8016;
    text-decoration: none;
    border-radius: 24px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1rem;
    cursor: pointer;
}

.banner .btn:hover {
    background-color: #0d8016;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

/* Ensure content floats above overlay */
.banner h2, 
.banner p, 
.banner .btn {
    position: relative;
    z-index: 2;
}

.departments-section h2 {
    font-size: 2rem; /* Larger title font size */
    font-weight: bold;
    color: #0d8016; /* Green color matching the header title */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Subtle shadow for emphasis */
    margin-bottom: 1rem; /* Spacing below the title */
    text-align: center; /* Center align the title */
    letter-spacing: 1px; /* Adds spacing between letters for better readability */
    border-bottom: 2px solid #0d8016; /* Optional underline for emphasis */
    padding-bottom: 0.5rem; /* Adds space between text and underline */
}

/* Style for each button */
.slide-btn {
    background-color: #0d8016; /* Modern blue background */
    color: #fff; /* Text color */
    border: none; /* No border */
    border-radius: 50%; /* Circular shape */
    width: 36px; /* Slightly larger size for better visibility */
    height: 36px; /* Matching height for perfect circle */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
    transition: transform 0.3s, background-color 0.3s; /* Smooth transition */
    font-size: 20px; /* Larger font size for the arrows */
    margin: 0 12px; /* Space between the buttons */
}

/* Additional button hover effect */
.slide-btn:hover {
    background-color: #0d8016; /* Darker blue on hover */
    color: #fff; /* Keep text white */
    transform: scale(1.1); /* Slight scaling effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Adjust department cards section for spacing */
.department-cards {
    display: flex;
    gap: 1.5rem; /* Increased gap for better spacing */
    transition: transform 0.5s ease-in-out;
    will-change: transform; /* Improve performance for sliding animations */
}

/* Department card styling with background images */
.department-card {
    flex: 0 0 270px; /* Slightly wider cards */
    background-size: cover; /* Ensure background image covers the card */
    background-position: center; /* Center the image */
    background-repeat: no-repeat; /* Prevent tiling */
    padding: 1.5rem; /* More padding for spacing */
    border: 1px solid #ddd; /* Thin border */
    border-radius: 16px; /* Softer rounded corners */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative; /* Needed for overlay */
}

/* Dark overlay for text readability */
.department-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent overlay */
    z-index: 1; /* Ensures it stays above the background */
    border-radius: inherit; /* Matches card's border-radius */
    transition: background 0.3s ease;
}

.department-card:hover::before {
    background: rgba(0, 0, 0, 0.3); /* Lighten overlay on hover */
}

/* Content inside department cards */
.department-card h4,
.department-card p,
.department-card .view-department-btn {
    position: relative; /* Ensures content stays above the overlay */
    z-index: 2; /* Places text above overlay */
    color: #fff; /* Makes text readable over the dark overlay */
}

.department-card h4 {
    margin-bottom: 0.8rem; /* Increased spacing */
    font-size: 1.4rem; /* Larger font size */
    font-weight: bold; /* Bold for emphasis */
}

.department-card p {
    font-size: 1rem; /* Slightly larger text */
    margin-bottom: 1.2rem; /* Better spacing below */
}

/* Button Styling */
.department-card .view-department-btn {
    padding: 0.6rem 1.2rem; /* Slightly larger padding for better clickability */
    background-color: #fdfeff; /* Matches the heading color */
    color: #0d8016; /* White text */
    border: none;
    border-radius: 8px; /* Softer button corners */
    font-size: 1rem; /* Increased button text size */
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.department-card .view-department-btn:hover {
    background-color: #0d8016;
    color: #fff;
    border-color: #fff;
    transform: scale(1.05); /* Slight scaling effect for interactivity */
}

/* Hover Effects for Cards */
.department-card:hover {
    transform: translateY(-10px); /* Higher lift on hover */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2); /* More dramatic shadow */
}

#cs {
    background-image: url('img/computerscience.jpg'); /* Replace with the actual image path */
}

#eee {
    background-image: url('img/electricalimage.jpg'); /* Replace with the actual image path */
}

#bba {
    background-image: url('img/businessimage.jpg'); /* Replace with the actual image path */
}

#eng {
    background-image: url('img/englishimage.jpg'); /* Replace with the actual image path */
}

#law {
    background-image: url('img/lawimage.jpg'); /* Replace with the actual image path */
}

#journalism {
    background-image: url('img/journalismimage.jpg'); /* Replace with the actual image path */
}
.videos-section {
    background: linear-gradient(135deg, rgba(13, 128, 22, 0.8), rgba(0, 100, 0, 0.8)), 
                url('img/campus.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: #fff;
    padding: 60px 30px;
    text-align: center;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 4px solid #eedf0c; /* Add a yellow border for emphasis */
    backdrop-filter: blur(10px); /* Strengthen frosted glass effect */
}

.videos-section .section-title {
    font-size: 3rem; /* Larger title font for emphasis */
    font-weight: bold;
    color: rgba(255, 255, 255, 0.9); /* Soft white with opacity */
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6); /* Stronger shadow for prominence */
    margin-bottom: 1.5rem;
    letter-spacing: 1.5px;
    text-transform: uppercase; /* Makes the title feel bold and modern */
    border-bottom: 4px solid #eedf0c; /* Bright yellow underline to match the section's theme */
    display: inline-block;
    padding-bottom: 10px;
}

.video-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.video-card {
    background: linear-gradient(135deg, rgba(57, 123, 189, 0.8), rgba(82, 154, 226, 0.8));
    border-radius: 12px;
    padding: 20px;
    width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border: 2px solid rgba(238, 223, 12, 0.7); /* Subtle yellow border */
}

.video-card:hover {
    transform: translateY(-8px); /* Lift the card slightly */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4); /* Stronger shadow on hover */
    background-color: rgba(76, 175, 80, 0.9); /* Greenish tone to highlight hover */
}

.video-card iframe {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    border: none;
}

.video-title {
    font-size: 1.4rem;
    color: rgba(238, 223, 12, 1); /* Bright yellow for standout titles */
    margin-top: 15px;
    font-weight: bold;
    text-align: center;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

.video-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85); /* Soft white for descriptions */
    margin-top: 10px;
    line-height: 1.5;
    text-align: center;
}

/* Testimonials Section */

.testimonials-section h2 {
    font-style: oblique;
    text-align: center;
    margin-bottom: 2rem;
    color: #014f11; /* Rich green for elegance */
    font-size: 2.2rem; /* Larger font size for a striking header */
    font-weight: bold;
    letter-spacing: 1px; /* Subtle spacing for a refined look */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2); /* Light shadow for contrast */
}

.testimonials {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.testimonial {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.85); /* Semi-transparent white for modern look */
    border: 1px solid rgba(0, 0, 0, 0.1); /* Soft border for structure */
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); /* Subtle card shadow */
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px); /* Subtle frosted glass effect */
}

.testimonial:hover {
    transform: translateY(-8px); /* Adds a more pronounced hover effect */
    background: rgba(240, 255, 240, 0.95); /* Soft frosted green on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Deeper shadow on hover */
}

.testimonial p {
    font-style: italic;
    margin-bottom: 0.8rem;
    color: rgba(51, 51, 51, 0.9); /* Softer dark text */
    line-height: 1.6; /* Adds spacing for readability */
    text-align: justify; /* Aligns text for cleaner presentation */
}

.testimonial span {
    font-weight: bold;
    color: #026d1a; /* Deep green for student’s name */
    font-size: 1rem;
    text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.2); /* Light shadow for name emphasis */
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0d8016, #196f3d); /* Gradient for a modern look */
    color: #fff; /* White text for readability */
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
    border-top: 4px solid #eedf0c; /* Yellow accent line at the top */
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

footer h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #eedf0c; /* Accent color for section headings */
    border-bottom: 2px solid #fff; /* Underline for emphasis */
    display: inline-block;
    padding-bottom: 0.5rem;
}

footer p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0.5rem 0;
}

footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

footer .footer-contact,
footer .footer-social {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
}

footer .footer-social .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}

footer .footer-social .social-icon {
    text-decoration: none;
    color: #fff; /* White for social links */
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s ease-in-out, transform 0.3s ease-in-out;
}

footer .footer-social .social-icon:hover {
    color: #eedf0c; /* Yellow hover effect */
    transform: scale(1.1); /* Slight zoom effect */
}

footer .footer-bottom {
    margin-top: 2rem;
    font-size: 0.85rem;
    border-top: 1px solid #ffffff44; /* Semi-transparent border */
    padding-top: 1rem;
    color: #ccc; /* Softer text for less emphasis */
}

