* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  
   border-top: 8px #1A1C5C solid;

 
}

.breadcrumb {
  background: #f2f2f2;
  color: black;
  padding: 15px 20px;
  font-size: 14px;
  font-weight: bold;
}

.academics-section {
   background-color: #1A1C5C;
  padding: 40px 20px;
}

.academics-section h2 {
  font-size: 14px;
  letter-spacing: 1px;
  color: #ddd;
  margin-bottom: 20px;
}

.grid {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
}

.column {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.column a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding-bottom: 6px;
  border-bottom: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

.column a:hover {
  color: #ffcccb;
}

.column a span {
  font-size: 18px;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.column a:hover span {
  transform: translateX(5px);
}
.academicsh6{
    font-size: 10px;
}
.video-hero1 {
    position: relative;
    width: 100%;
    height: 25vh;
    min-height: 75vh;
    overflow: hidden;
    background-color: black;
}

/* Background image is now in its own div */
.video-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/gallery.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(40%);
    z-index: 1; /* below content */
}

.banner1 {
  
    display: flex;
    width: 100%;
    position: relative;
    align-items: center;
    background-color: white;
    overflow: visible;
    height: 130px;
    margin-top: 50px;
    margin-bottom: 50px;

}
.banner-left1 {
    background-image: url('../assets/images/banner.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0% 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 75%;
    height: 180px;
    align-self: center;
}.banner-left1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #15178c;
    transition: transform 1s ease;
    z-index: 0;
    transform: translateX(0);
    clip-path: inherit;
}

.banner-left1.active::before {
    transform: translateX(-100%);
}body {
  margin: 0;
  

  
}

.education-section {
  text-align: center;  background-color: #5a6772;
  padding: 40px 20px;
}

.education-section h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.education-section p {
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 40px;
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 932px;
  height: 602px;
  gap: 1px 1px;
  margin: 0 auto;
}

.grid-item {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 300px;
  width:465px;
  overflow: hidden;
}

/* Container for overlay */
.hover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: transparent;
  color: #fff;
  text-align: left;
  transition: background 0.2s ease-in-out;
}

/* On hover - background appears */
.grid-item:hover .hover-overlay {
  background: rgba(44, 44, 44, 0.6);
}

/* Animate text upwards slightly on hover */
.hover-overlay small,
.hover-overlay h2,
.hover-overlay button {
  transform: translateY(0);
  transition: transform 0.4s ease-in-out;
}

/* Move text up a bit on hover */
.grid-item:hover .hover-overlay small,
.grid-item:hover .hover-overlay h2,
.grid-item:hover .hover-overlay button {
  transform: translateY(-10px);
}
.grid-item {
  cursor: pointer;
}



.grid-item:hover .hover-overlay {
  transform: translateY(0%);
}

.hover-overlay small {
  font-size: 0.75rem;
  display: block;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.hover-overlay h2 {
  font-size: 1.5rem;
  margin: 5px 0;
}

.hover-overlay button {
  margin-top: 10px;
  background: #fff;
  color: #000;
  border: none;
  padding: 8px 15px;
  font-size: 0.85rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.hover-overlay button:hover {
  background: #ccc;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-container {
    grid-template-columns: 1fr;
  }

  .grid-item {
    height: 250px;
  }
}
@media (max-width: 1008px) {
  .grid-container {
    grid-template-columns: 1fr;
    height: auto;
  }

  .grid-item {
    width: 100%;
    height: 250px;
  }

  .hover-overlay {
    padding: 15px;
  }

  .hover-overlay h2 {
    font-size: 1.25rem;
  }

  .hover-overlay small {
    font-size: 0.7rem;
  }

  .hover-overlay button {
    padding: 6px 12px;
    font-size: 0.8rem;
  }
}
.white{
  color: white;
}
.discrip{
    font-size: 1rem;
    align-items: center;
    text-align: justify;
    text-decoration: none;
    text-transform: none;
    width: 90%;
    margin: 0 auto;
}
    /* New Instagram grid styles */
        .instagram-container {
            max-width: 1200px;
            margin: 40px auto;
            padding: 0 20px;
        }
        
        .instagram-header {
            text-align: center;
            margin-bottom: 30px;
        }
        
        .instagram-header h1 {
            font-size: 28px;
            color: #333;
            margin-bottom: 5px;
        }
        
        .instagram-header p {
            color: #666;
            font-size: 16px;
        }
        
        .instagram-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-bottom: 30px;
        }
        
        @media (max-width: 768px) {
            .instagram-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 480px) {
            .instagram-grid {
                grid-template-columns: 1fr;
            }
        }
        
        .instagram-post {
            position: relative;
            overflow: hidden;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
            aspect-ratio: 1/1;
        }
        
        .instagram-post img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .instagram-post:hover img {
            transform: scale(1.05);
        }
        
        .instagram-post-info {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: rgba(0,0,0,0.7);
            color: white;
            padding: 10px;
            transform: translateY(100%);
            transition: transform 0.3s ease;
        }
        
        .instagram-post:hover .instagram-post-info {
            transform: translateY(0);
        }
        
        .instagram-post-info h3 {
            font-size: 14px;
            margin: 0;
            font-weight: bold;
        }
        
        .instagram-post-info p {
            font-size: 12px;
            margin: 5px 0 0;
            opacity: 0.8;
        }
        
        .instagram-follow {
            text-align: center;
            margin: 40px 0;
        }
        
        .instagram-follow a {
            display: inline-block;
            background: #1A1C5C;
            color: white;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            transition: background 0.3s ease;
        }
        
        .instagram-follow a:hover {
            background: #1a3f8a;
        }

/* Instagram Grid Styles */
.instagram-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.instagram-header {
    text-align: center;
    margin-bottom: 30px;
}

.instagram-header h1 {
    font-size: 28px;
    color: #333;
    margin-bottom: 5px;
}

.instagram-header p {
    color: #666;
    font-size: 16px;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
    }
}

.instagram-post {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    aspect-ratio: 1/1;
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.instagram-post:hover img {
    transform: scale(1.05);
}

.instagram-post-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.instagram-post:hover .instagram-post-info {
    transform: translateY(0);
}

.instagram-post-info h3 {
    font-size: 14px;
    margin: 0;
    font-weight: bold;
}

.instagram-post-info p {
    font-size: 12px;
    margin: 5px 0 0;
    opacity: 0.8;
}

.instagram-follow {
    text-align: center;
    margin: 40px 0;
}

.instagram-follow a {
    display: inline-block;
    background: #1A1C5C;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease;
}

.instagram-follow a:hover {
    background: #8a1a2d;
}

@media only screen and (max-width:1300px){
    .descrip{
        max-width: 90%;
    }}