
<style>
.TopNav p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    transition: color 0.3s ease;
    color:#fff;
}
/* Top Contact Bar */
.TopNav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    background-color:#1b263b;
    color: #fff;
    padding: 10px 20px;
    font-size: 15px;
    font-family: 'Segoe UI', sans-serif;
    flex-wrap: wrap;
}

.TopNav p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    transition: color 0.3s ease;
    color:#fff;
}

.TopNav span.material-symbols-outlined {
    font-size: 18px;
    color: #fff;
    transition: transform 0.3s;
}

.TopNav p:hover span.material-symbols-outlined {
    transform: scale(1.2);
}

.TopNav p:hover {
    color: #000;
}

/* Responsive */
@media (max-width: 600px) {
    .TopNav {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}

/* Header Styling */
header {
  background-color:#fff;
  padding: 10px 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  /*border-bottom: 3px solid #001d3d;*/
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  justify-content: center;
}

/* Logo Section */
.logo-section {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-section img {
  height: 90px;
  width: auto;
  object-fit: contain;
  /*border-radius: 8px;*/
  /*background: #fff;*/
  padding: 5px;
  /*box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);*/
}

/* Institute Name and Sub-headings */
.institute-name h1 {
  font-size: 3rem;
  margin: 0;
  color: #343a40;
  font-weight: 700;
}

.institute-name .sub-heading {
  font-size: 15px;
  color: #444;
  line-height: 1.4;
  margin: 4px 0;
}

/* Responsive Behavior */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    text-align: center;
  }

  .logo-section {
    flex-direction: column;
    align-items: center;
  }

  .institute-name h1 {
    font-size: 22px;
  }

  .institute-name .sub-heading {
    font-size: 14px;
  }
}


/* Text Content Styling */
.text-container {
    max-width: 700px;
}

.text-container h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: bold;
    font-family: 'Segoe UI', sans-serif;
    letter-spacing: 1px;
}

.text-container p {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    font-family: 'Segoe UI', sans-serif;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header img {
        margin-bottom: 15px;
    }

    .text-container h1 {
        font-size: 24px;
    }

    .text-container p {
        font-size: 14px;
    }
}

/* Navigation Bar */
nav {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    background-color: #6f1d1b;
    padding: 5px 30px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Links Style */
nav a {
    color: white;
    text-decoration: none;
    margin: 10px 15px;
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
}

nav a:hover {
    color: #00bcd4;
    transform: scale(1.05);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.4s;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
    }

    nav a {
        display: none;
        width: 100%;
        padding: 10px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    nav.active a {
        display: block;
    }

    .hamburger {
        display: flex;
    }
}

/* Slider container */
.slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
    height:45vh;
}

/* Slides */
.slides {
    display: none;
    position: relative;
}

.slides img {
    width: 100%;
    height: auto;
}

/* Text overlay */
.text-overlay {
    position: absolute;
    bottom: 20px;
    left: 30px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 15px 20px;
    font-size: 20px;
    border-radius: 10px;
    max-width: 90%;
}

/* Fade animation */
.fade {
    animation-name: fade;
    animation-duration: 1s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

/* Navigation arrows */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 15px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    transition: 0.6s ease;
    border-radius: 0 5px 5px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.4);
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Dots */
.dot-container {
    text-align: center;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 4px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .dot:hover {
    background-color: #717171;
}
.middle-bar{
    background-color: #343a40;
    height:40px;
    width:100%;
}
</style>