* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    width: 100%;
    align-items: center;
}

.top-bar{
    display: flex;
    padding: 10px;
}

.logo {
    width: 70px;
    height: 70px;
    margin: 5px;
    margin-right: 10px;
}

.university-info{
    width: 70%;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}


.university-info h1 {
    margin: 2px;
    font-size: 18px;
    color: #4a0404;
}

.university-info p {
    margin: 2px 0;
    font-size: 14px;
}

.university-info02{
    display: inline;
    align-items: center;
    width: 70%;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.university-info02 h1 {
    margin: 2px;
    font-size: 18px;
    color: #4a0404;
}

.university-info02 p {
    margin: 2px 0;
    font-size: 14px;
}


.login_button {
  background: linear-gradient(135deg, #f8db7a 0%, #fa5c13 100%);
  color: white;
  border: none;
 padding: 10px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 8px 15px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  margin: 10px; ;
}

.login_button a{
    color: white;
    text-decoration: none;
}

.login_button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 20px rgba(0,0,0,0.2);
  background: linear-gradient(135deg, #5088e9 0%, #86f182 100%);
}



/* header codes end here */


/* navigation code css */


.menu-toggle {
  font-size: 26px;
  background: none;
  border: none;
  color: rgb(248, 243, 243);
  display: none;
  cursor: pointer;
  width: 40px;
  padding: 5px;
}

nav {
  flex-basis: 100%;
  

}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
padding-left: 20px;
  background-color: #34495e;
 
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  display: block;
  padding: 12px 16px;
  color: white;
  text-decoration: none;
}

.nav-links a:hover {
  background-color: #16a085;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #34495e;
  min-width: 220px;
  top: 100%;
  left: 0;
  z-index: 999;
}

.dropdown-content li {
    list-style: none;   /* remove bullets */
    margin: 0;          /* remove default margin */
    padding: 0;         /* remove default padding */
}

.dropdown-content li a {
    display: block;     /* make whole row clickable */
    text-decoration: none; /* remove underline */
    color: white;       /* keep white text */
    padding: 10px 16px; /* uniform padding */
}



.dropdown-content li a {
  padding: 10px 16px;

}

.dropdown:hover .dropdown-content {
  display: block;
}

/* ✅ Responsive Fixes */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    display: none;
  }

  nav.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links > li {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    background-color: #2c3e50;
  }

  .dropdown.open .dropdown-content {
    display: block;
  }

  .dropdown > a::after {
    content: '';
  }
}













/* Style the main menu */





.main-menu {
    align-items: center;
    background-color: rgb(252, 129, 29);
    padding: 10px 15px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    text-align: center;
    margin-top: 10px;
    
}


.main-menu :hover {
    background-color: rgb(27, 128, 243);
    color: #ddd;
}

.main-menu :active {
    background-color: #007bff;
}

.main-menu a {
    flex-direction: column;
    padding: 10px;
    margin-right: 20px;
    text-decoration: none;
    color: rgb(240, 235, 235);
    font-weight: bold;
   
}



/* Sidebar Styling starts from here*/

.aside_section{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-bottom: 1px solid #555;
    padding-bottom: 20px;

}

.aside_section ul li a{
  text-decoration: none;
 font-family: Georgia, 'Times New Roman', Times, serif; 
  color: black;
  line-height: 30px;
}


.sidebar{
  background-color: #eb9090;
  width: 30%;
  padding: 10px;
  
}







.container {
    display: flex;
    min-height: 60vh;
    
}

/* Sidebar Styling */
.sidebar {
    width: 30%;
    background-color: #ffffff;
    padding: 20px;

}

.sidebar h2 {
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 15px;
    margin-left: 20px;
}

.sidebar ul li a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

/* Main Content Styling */
.main-content {
    min-width: 300px;
    flex: 1;
    padding: 20px;
}


.notification {
    background-color: #e8f5e9;
    border: 1px solid #4caf50;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
    color: #2e7d32;

}

/* --- New Styles for Notification Cards --- */

.notification-card {
    display: flex; 
    align-items: flex-start; 
    gap: 20px; 
}

/* --- UPDATED: Styling for the Image Logo --- */
.notification-logo {
    flex-shrink: 0; /* Prevents the logo from shrinking on smaller screens */
    width: 50px; /* Fixed width for your logo container */
    height: 50px; /* Fixed height for your logo container */
    padding-top: 5px; /* Adjust as needed for vertical alignment */
}

.notification-logo img {
    width: 100%; /* Make the image fill its container */
    height: 100%; /* Make the image fill its container */
    object-fit: contain; /* Ensures the entire logo is visible without cropping */
    border-radius: 5px; /* Optional: adds slight rounded corners to the logo */
}


.notification-content {
    flex-grow: 1; 
}

.notification-content h3 {
    display: flex; 
    align-items: center;
}

.new-gif {
    height: 22px; 
    margin-left: 10px; 
}























.card {
    background: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.card h3 {
    margin-top: 5px;
    color: rgb(13, 170, 209);
    
}

.card .meta {
    font-size: 0.8em;
    color: #666;
    margin-bottom: 10px;
}


.notification {
    min-width: 330px;
    overflow: hidden;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 10px;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.scroll-text p {
    display: inline;
    margin-right: 50px; /* Space between messages */
}


.banner img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}






/* Latest Updates Section */



/* --- Modern Video Section Styles --- */

.things-to-know {
    margin: 40px 0;
}

.things-to-know h2 {
    font-size: 2em;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0779e4;
}

.video-section {
    display: grid;
    /* This creates a responsive grid of video cards */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px; /* The space between cards */
    margin-top: 30px;
}

.video-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden; /* Ensures content respects the rounded corners */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

/* This wrapper makes the videos responsive */
.video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover; /* Ensures images fill the space nicely */
}

.video-caption {
    padding: 15px;
    background-color: #f8f9fa;
}

.video-caption p {
    margin: 0;
    font-size: 0.95em;
    color: #495057;
    line-height: 1.5;
}


/* Notification slide code for main container*/


.notification {
    min-width: 330px;
    overflow: hidden;
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    padding: 10px;
}

.scroll-text {
    display: inline-block;
    white-space: nowrap;
    animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
    0% {
        transfor
        m: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.scroll-text p {
    display: inline;
    margin-right: 50px; /* Space between messages */
}





/*side navigation menu */















.banner img {
    width: 100%;
    max-width: 100%;
    border-radius: 8px;
}



/*quick links section for */

.quicklink-card-section h2{
  width: 100%;
}

.quicklink-card-section{
  display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;

}






/* Latest Updates Section */



/* footer css starts below in this section we have css code for three section in footer */
/* === MODERN FOOTER STYLING === */

/* --- Optional: Import a clean font --- */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

/* --- Main Footer Container --- */
.footer {
  font-family: 'Roboto', sans-serif;
  background-color: #2c3e50; /* Dark Slate Blue */
  color: #ecf0f1; /* Light Grey Text */
  padding: 40px 0 20px 0;
  line-height: 1.6;
}

/* --- Top Section (Link Columns) --- */
.footer-top {
  display: flex;
  flex-direction: column; /* Stacks columns vertically on mobile */
  align-items: center; /* Center-aligns on mobile */
  padding: 0 20px;
}

/* --- Individual Link Column --- */
.footer-section {
  width: 100%;
  max-width: 400px; /* Good readability on mobile */
  margin-bottom: 30px;
  text-align: center; /* Center text on mobile */
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff; /* White heading */
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db; /* Blue accent color */
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li {
  margin-bottom: 12px;
}

.footer-section ul li a {
  color: #ecf0f1; /* Light grey link text */
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-section ul li a:hover {
  color: #3498db; /* Blue on hover */
  text-decoration: underline;
}

/* --- Social Media Section --- */
.footer-social {
  text-align: center;
  padding: 20px 0;
  margin-top: 20px;
  border-top: 1px solid #34495e; /* Separator line */
}

.footer-social p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.social-icon {
  width: 35px; /* Set a consistent icon size */
  height: 35px;
  margin: 0 12px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.15); /* Slight zoom effect on hover */
}

/* --- Bottom Bar (Copyright) --- */
.footer-bottom {
  text-align: center;
  padding: 20px 0 0 0;
  margin-top: 20px;
  border-top: 1px solid #34495e; /* Separator line */
}

.footer-bottom p {
  margin: 5px 0;
  font-size: 0.9rem;
  color: #bdc3c7; /* Lighter, more subtle text */
}

/* --- RESPONSIVE STYLING (For Tablets & Desktops) --- 
  This "media query" applies styles ONLY if the screen
  is 768px wide or more.
*/
@media (min-width: 768px) {
  .footer-top {
    flex-direction: row; /* Changes to horizontal layout */
    justify-content: space-between; /* Evenly spaces the columns */
    align-items: flex-start; /* Aligns columns to the top */
    max-width: 1200px; /* Limits max width for large screens */
    margin: 0 auto; /* Centers the content */
    padding: 0 40px;
  }

  .footer-section {
    flex: 1; /* Allows columns to grow and share space */
    margin: 0 15px; /* Adds spacing between columns */
    text-align: left; /* Aligns text to the left on desktop */
    max-width: none;
  }

  .footer-section h3 {
    display: inline-block; /* Makes border only as wide as text */
  }

  .footer-section ul li a:hover {
    padding-left: 5px; /* Adds a subtle move effect on hover */
  }

  /* Center the social/bottom bars within the max-width */
  .footer-social,
  .footer-bottom {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}


@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .sidebar {
        width: 100%;
        border-right: none;
    }

    .container {
        flex-direction: column;
    }

    .main-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-menu a {
        margin: 5px;
        padding: 10px 15px;
    }
}


/*gallary codes goes here for practice */








/* Downloads Page Styles */
.download-list { margin-top: 30px; }
.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}
.download-info h3 { margin: 0 0 5px 0; color: #333; }
.download-info p { margin: 0; color: #666; }
.download-btn { padding: 10px 20px; }




/* --- Global Variables & Base Styles --- */
:root {
    --primary-color: #007bff;
    --primary-hover-color: #0056b3;
    --text-dark: #212529;
    --text-light: #6c757d;
    --background-color: #f8f9fa;
    --card-background: #ffffff;
    --border-color: #e9ecef;
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --border-radius: 12px;
    --font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--text-dark);
    margin: 0;
}




/* --- Updates Section Layout --- */
.updates-section {
    padding: 60px 0;
    align-content: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}


.updates-grid {
    display: grid;
    /* On larger screens, use a two-column layout */
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .updates-grid {
        /* Notifications take more space */
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    }
}

/* --- Notifications Widget Styling --- */
.notifications-widget {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    overflow: hidden; /* Ensures child elements respect the border radius */
   

.widget-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.widget-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.notification-list {
    padding: 0;
    margin: 0;
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 1.25rem 1.5rem;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.notification-item:last-of-type {
    border-bottom: none;
}

.notification-item:hover {
    background-color: #fcfcfc;
    transform: translateX(6px);
}

.notification-logo-wrapper {
    flex-shrink: 0;
}

.department-logo {
    width: 55px;
    height: 55px;
    object-fit: contain;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.notification-content {
    flex-grow: 1;
}

.notification-category {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 3px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    margin-bottom: 0.5rem;
}

.notification-title {
    margin: 0 0 0.25rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
}

.notification-meta {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.notification-arrow {
    font-size: 1rem;
    color: var(--text-light);
    transition: color 0.2s ease, transform 0.2s ease;
}

.notification-item:hover .notification-arrow {
    color: var(--primary-color);
    transform: translateX(4px);
}

.widget-footer {
    padding: 1.25rem;
    text-align: center;
    background-color: #fdfdfd;
}

.view-all-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 0.8rem 1.75rem;
    border-radius: 50px; /* Pill shape */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease-in-out;
}

.view-all-btn:hover {
    background-color: var(--primary-hover-color);
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transform: translateY(-2px);
}

.no-notifications {
    padding: 2.5rem;
    text-align: center;
    color: var(--text-light);
}

/* --- Application Schedule Card Styling --- */
.application-card {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    background: var(--card-background);
    overflow: hidden;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background-color: var(--text-dark);
    color: skyblue;
}

.card-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}


/* Container Styling */
.card-body-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Common link style */
.card-body-links .app-link {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: #333;
    background-color: #f8f9fa;
}

/* Icon styling */
.card-body-links .app-link i {
    margin-right: 10px;
    font-size: 18px;
}

/* Hover effects */
.card-body-links .app-link:hover {
    background-color: #007bff;
    color: #fff;
    transform: translateX(4px);
}

.card-body-links .app-link:hover i {
    color: #fff;
}

/* Specific color accents by category */
.card-body-links .admission { border-left: 4px solid #17a2b8; }
.card-body-links .brochure { border-left: 4px solid #28a745; }
.card-body-links .videos { border-left: 4px solid #ffc107; }
.card-body-links .rules { border-left: 4px solid #dc3545; }

/* Responsive for mobile */
@media (max-width: 576px) {
    .card-body-links {
        padding: 15px;
    }
    .card-body-links .app-link {
        font-size: 14px;
        padding: 10px 14px;
    }
    .card-body-links .app-link i {
        font-size: 16px;
    }
}
























