﻿
        body {
            margin: 0;
            padding: 0;
            font-family: Arial; /* Add a default font */
        }

        .upper-header {
            background-color: #0392DA;
            color: white;
            height: 40px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            padding: 10px 20px;
            position: sticky;
            top: 0;
            z-index: 1020;
        }

        .upper-header.hidden {
            display: none;
        }
         a
         {
             color:#ffffff;
         }
        .lower-header {
            background-color: #012B72;
            color: white;
            height: 100px;
            display: flex;
            align-items: center;
            padding: 10px 30px;
            position: sticky;
            top: 0;
            z-index: 1021;
            font-size: 18px;
        }

        .lower-header .logo {
            flex: 1;
            display: flex;
            align-items: center; /* Vertically centered */
            padding-left: 20px; /* Space before the logo */
        }

        .lower-header .university-logo {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            padding: 10px 30px;
        }

        .lower-header .college-name {
            flex: 5;
            display: flex;
            justify-content: center;
            text-align: center;
        }

        .lower-header .college-name .col {
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .lower-header .college-name .english {
            display: flex;
            text-align:center;
            align-items: center; /* Center text horizontally */
            justify-content: center;
            white-space: nowrap; /* Prevent the text from wrapping */
        }

        .lower-header .college-name .hindi, 
        .lower-header .college-name .punjabi {
            text-align: center;
        }

      @media (min-width: 600px) or (max-width: 768px) or (max-width: 968px) or (max-width: 1024px) { 
            .lower-header .college-name .col {
                text-align: center;
                font-size:20px;
                
            }

            .lower-header .hindi,
            .lower-header .punjabi {
                display: none;
            }
        
           
            .lower-header .college-name .col {
                text-align: center;
                
            }
             .lower-header .college-name .col-12 {
            display: flex;
            flex-direction: column;
            justify-content: center;
     
           
            }

            /* Add space between logo and name in mobile view */
            .lower-header .logo {
                
                padding-right: 10px; /* Space between logo and name */
            }

            /* Adjust the margin of the name for better spacing */
            .lower-header .college-name .col-4 {
                margin-left: 0;
                margin-right: 0;
            }
        }

        .lower-header .college-name .col-4 {
            display: flex;
            flex-direction: column;
            justify-content: center;
            margin: 0 60px; /* Added margin to create space between the columns */
        }

        @media (min-width: 768px) {
            .lower-header .college-name .col-4 {
                display: flex;
                flex-direction: column;
                justify-content: center;
             
                align-items: center;
            }
        }

        /* Adjust carousel height */
        .carousel-inner 
        {
            margin-top:0px;
            height: 100%; /* Set carousel height */
            margin-bottom:10px;
            border-width:3px;
            border-color:#0392DA;
             
        }

        .carousel-inner img {
            height: 100%;
            object-fit: cover; /* Ensure images scale properly */
        }

        .naac-accreditation {
            background-color: #012B72; /* Same as the lower header */
            color: white; /* To ensure the text is visible */
            padding: 10px; /* Add some padding for better spacing */
            text-align: center; /* Center the text */
            font-size: 16px; /* Adjust the font size */
        }

        /* Navigation Bar */
        .navbar {
            background-color: #012B72;
            color: white;
            font-size:12px;
            margin-bottom:0px;
            z-index: 1022;
           
            
        }

        .navbar .nav-item a {
            color: #ffffff; 
            
        }

        .navbar .nav-item a:hover 
        {
            color:#ffffff;
           
        }
        .navbar .dropdown-menu {
            background-color: #012B72;
            text-align:center;
            color:#ffffff;
        }
        .navbar .dropdown-menu a:hover {
            background-color: #0392DA;
            color:#ffffff;
        }
         
         
    
        /* Equal columns below carousel */
        .equal-columns {
            margin-top: 0px;
        }

        .equal-columns .panel {
            border: 1px solid #ddd;
            border-radius: 5px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            text-align: center;
            padding: 15px;
            height: 92%;
           
        }

        .panel-heading {
            font-weight: bold;
            font-size: 30px;
            margin-bottom: 10px;
            color: #012B72;
          
            
        }

        .panel-body {

            font-size: 14px;
            color: #555;
        }
.col {
  white-space: nowrap; /* Prevent text wrapping */
  overflow: hidden;    /* Prevent content from spilling over */
  text-overflow: ellipsis; /* Add ellipsis for overflowing text */
}
    /* General Layout Styling */
  .border {
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
  }

  .p-3 {
    padding: 20px;
  }
.btn-primary {
  background-color: #012B72;
  border-color: #0392DA;
}

.btn-primary:hover {
  background-color: #0278b5; /* Adjust the hover color if needed */
  border-color: #0278b5;
}
  /* Section Title Styling */
  .section-title 
  {
        text-align  : center;
            font-size: 30px;
            font-weight: bold;
            margin-bottom: 20px;
         
           color: #012B72;
            padding: 15px;
           
              margin-top: 20px;
  }
 

  /* Tabs Styling */
.nav-tabs {
  margin-bottom: 10px; /* Reduced gap */
}

.tab-content-container {
  padding-top: 10px; /* Reduced top padding */
  padding-bottom: 10px; /* Reduced bottom padding */
}

/* Optional: Adjust spacing for better alignment */
.tab-content-container p {
  margin-bottom: 0; /* Remove bottom margin from paragraphs */
}
  .nav-tabs .nav-link {
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    padding: 10px 15px;
    transition: all 0.3s ease;
  }
  .nav-tabs .nav-link.active {
    background-color:#0392DA;
    color: white;
    border: none;
  }

  /* Tab Content Styling */
  .tab-content-container {
    max-height: 200px; /* Adjust based on your preferred height */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: white;
    text-align: left;
  }

  .notice-content {
    font-size: 18px;
  color: #34495e;
    margin-bottom: 20px;
padding :10px;
 background-color:#EDEFF2; 
  }
.notice-content a{
  
  color: #012B72;
   
  }
 
  /* Highlights Styling */
  .highlight-list-container {
    max-height: 250px; /* Adjust based on your preferred height */
    padding-right: 15px;
  }
  .highlight-list .list-group-item {
    font-size: 15px;
    color: #34495e;
    font-weight: bold;
    border: none;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }
  .highlight-list .list-group-item:last-child {
    border-bottom: none;
  }

  /* Equal Height Styling */
  .row > .col-md-8,
  .row > .col-md-4 {
    display: flex;
  }
  .flex-fill {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* View All Button */
  .view-all-btn {
    display: block;
    margin: 0 auto;
    width: 120px;
    text-align: center;
  }

  /* Scrollbar Styling (Optional) */
  .overflow-auto {
    overflow-y: auto;
  }

   


        /* Heading styling */
        .section-heading {
           text-align: center;
            font-size: 30px;
            font-weight: bold;
            margin-bottom: 20px;
         
           color: #012B72;
            padding: 15px;
           
              margin-top: 20px;
        }
 


 .news-events {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.news-events h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
  font-size: 24px;
}

.event {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 15px;
}

.event:last-child {
  border-bottom: none;
}

.date-box {
  width: 150px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #012B72;
  color: white;
  font-weight: bold;
  font-size: 16px;
  margin-right: 20px;
  border-radius: 4px;
}

.date-box .day {
  font-size: 18px;
  line-height: 1;
}

.date-box .month {
  text-transform: uppercase;
  font-size: 14px;
  line-height: 1;
}

.event-content h3 {
  font-size: 20px;
  margin: 0 0 10px;
  color: #333;
}

.event-content p {
  margin: 0 0 10px;
  color: #555;
}

.event-content a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

.event-content a:hover {
  text-decoration: underline;
}
.container {
  display: flex;
  justify-content: center; /* Center horizontally */
}
 .grid-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            grid-gap: 10px;
            width: 100%;
            max-width: 100%;
            justify-content: center;
             
        }
        .grid-item {
            position: relative;
            overflow: hidden;
            border-radius: 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }
        .grid-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease, filter 0.5s ease;
        }
        .grid-item:hover img {
            transform: scale(1.1);
            filter: brightness(80%);
        }
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.4);
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.5s ease;
            font-size: 20px;
            font-weight: bold;
        }
        .grid-item:hover .overlay {
            opacity: 1;
        .description {
            padding: 15px;
            font-size: 14px;
            line-height: 1.6;
            color: #333;
        }
 
.grid-item {
    width: 50%;
    margin-bottom: 10px;
     text-align: center; /* Center horizontally */
      /* Updated slider container */
  
      max-width: 80%;
      margin: 50px auto;
      overflow: hidden;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
      padding: 20px;
      background: white;
      margin-top: 50px;
      margin-bottom: 50px;
    }
   
    .footer {
            background-color: #012B72;
            color: white;
            padding: 20px;
        }
        
        .carousel-item img {
      height: 300px; /* Adjust height as needed */
      object-fit: cover;
      border-radius: 10px;
      .bordered-section {
      border: 1px solid #ddd;
      border-radius: 5px;
      padding: 15px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      background: #f9f9f9;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

          .card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .card-hover:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  /* Fade-in Animation for Grid */
  .animate-grid {
    opacity: 0;
    animation: fadeIn 1s ease-in-out forwards;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }

  /* Adjust Image Size */
  .card-img-top {
    width: 80px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto;
  }

  /* Title Alignment */
  .card-title {
    font-size: 14px;
    margin-top: 10px;
  }

  .card-text {
    font-size: 12px;
  }

  /* Grid Gaps */
  .g-4 {
    gap: 1rem !important;
  }
       .footer {
      background-color: #012B72;
      color: white;
      padding: 20px;
      max-height: 250px;
      
    }

    .footer h3 {
      font-size: 16px;
      margin-bottom: 10px;
    }

    .footer ul {
      list-style: none;
      padding: 0;
    }

    .footer ul li {
      margin-bottom: 5px;
    }

    .footer a {
      color: white;
      text-decoration: none;
    }

    .footer a:hover {
      color: #f0e68c;
    }

    .social-icons a {
      font-size: 20px;
      margin-right: 10px;
      color: white;
    }

    .social-icons a:hover {
      color: #f0e68c;
    }

    .footer-bottom {
      border-top: 1px solid #ccc;
      margin-top: 10px;
      padding-top: 10px;
      font-size: 12px;
      text-align: center;
    }

    .footer-bottom a {
      color: white;
      text-decoration: underline;
    }

    .footer-bottom a:hover {
      color: #f0e68c;
    }
