* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: none;
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 25px;
  background-color: #026874;
}

.top-bar .button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: auto;
  padding: 0 15px;
  background-color: #ffff;
  color: rgb(10, 7, 7);
  cursor: pointer;
  font-size: 15px;
  border-radius: 10px;
  border: none;
  transition: all 0.3s ease-in-out;
}

.top-bar .button a {
  color: #000000;
  text-decoration: none;
}

.top-bar .button:hover {
  transform: scale(1.1);
  background: linear-gradient(to right, #2ebf91, #8360c3);
}

.top-bar ul {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
}

/* Base styles for the link */
.top-bar li a {
  color: #bb86fc; 
  font-size: 22px;
  font-weight: bold;
  text-decoration: none;
  padding: 6px 7px;
  border-radius: 30px; 
  display: inline-block;
  transition: all 0.3s ease;
}
.top-bar li a:hover {
  color: #ffffff; 
  transform: scale(1.05); 
  background: linear-gradient(145deg, #6a7fdb, #7f97ff); 
}

/* next header */
.header {
display: flex;
align-items: center;
justify-content: space-between;
padding: 20px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3); 
flex-wrap: wrap;
border-radius: 10px; 
position: relative;
overflow: hidden; 
}



/* Rotating background animation */
@keyframes rotate-bg {
from {
  transform: rotate(0deg);
}
to {
  transform: rotate(360deg);
}
}

/* Ensure header elements stay above background */
.header > * {
position: relative;
z-index: 1;
}

/* Logo and College Name */
.logo-container {
display: flex;
align-items: center;
gap: 15px;
}

.logo {
height: 76px;
width: 86px;
transition: transform 0.3s ease;
}
.logo-two {
width: 70px; 
height: 70px;
mix-blend-mode: multiply;
}

.college-name {
font-size: 3.5em;
font-weight: 600;
font-family: Century Schoolbook;
color: #026874;
white-space: nowrap; 
margin-left: 5px;
}

/* Contact Info */
.contact-info {
display: flex;
align-items: center;
gap: 20px; /* Space between contact items */
font-size: 1em;
color: #fff; /* White text for contact info */
margin-left: 5px;
}

.contact-info span {
display: flex;
align-items: center;
gap: 5px;
}

.contact-info i {
color: #026874; 
font-size: 1.5em; 
}

.contact-info fa-phone-flip{
transform: scaleY(-1);
}

.contact-info span p{
  color:#026874;
}

/* Button */
.btn-1 {
text-decoration: none;
padding: 10px 20px;
font-size: 15px;
background:#026874;
color: #fff;
border-radius: 5px;
font-weight: bold;
transition: background 0.3s ease, transform 0.3s ease;
margin-left: 20px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Add 3D shadow to button */
}

.btn-1:hover {
text-decoration: underline;
background: linear-gradient(135deg, #feb47b, #ff7e5f); /* Reverse gradient on hover */
transform: translateY(-3px); /* Slight upward lift */
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

/* Responsive Design */
@media (max-width: 768px) {
.header {
  flex-direction: column; /* Stack items vertically */
  align-items: center;
  gap: 20px; /* Space between stacked items */
}

.logo-container {
  flex-direction: column; /* Stack logos and name vertically */
  align-items: center;
}

.college-name {
  text-align: center;
  font-size: 2em; /* Adjust font size for smaller screens */
}
.logo{
  width: 70px;
  height: 70px;
}
.logo-two{
  width: 50px;
  height: 50px;
}

.contact-info {
  justify-content: center; /* Center contact info */
  margin-left: 0; /* Remove auto margin */
  gap: 10px;
  font-size: 16px;
}

.btn-1 {
  width: 100%; /* Full width button */
  text-align: center;
}
}



/* third menu start */

/* Navigation Container */
.menu-container-2 {
width: 100%;
background-color: #4a85a7;
position: relative;
z-index: 1000;
}

/* Menu Header */
.menu-header-3 {
display: flex;
justify-content: flex-end;
padding: 10px 20px;
}

/* Toggle Button */
.menu-toggle {
display: none;
cursor: pointer;
font-size: 21px;
color: white;
transition: transform 0.3s;
}

/* Navigation Menu */
.menu-4 {
list-style: none;
display: flex;
justify-content: space-around;
align-items: center;
margin-top: -20px;
background: #026874; 


}

/* Menu Items */
.menu-4 > li {
position: relative;
}

/* Menu Links */
.menu-4 li a {
text-decoration: none;
color: rgb(251, 255, 0);
padding: 15px 20px;
display: block;
text-align: center;
font-size: 16.8px;
font-family: High Tower Text sans-serif;
font-weight: 600;
transition: color 0.3s ease-in-out;
}

.menu-4 li a:hover {
color: white;
}

/* Submenu */
.submenu-6 {
display: none;
position: absolute;
top: 100%;
left: 0;
background-color: #44bbab;
list-style: none;
min-width: 200px;
z-index: 1000;
}

.submenu-6 li a {
color: white;
padding: 10px 20px;
display: block;
}

.submenu-6 li a:hover {
background-color: #555;
}

/* Show Submenu on Hover */
.menu-4 li:hover > .submenu-6 {
display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
.menu-toggle {
  display: block;
}

.menu-4 {
  flex-direction: column;
  display: none;
  width: 100%;
}

.menu-4.active {
  display: flex;
}

.menu-4 > li {
  width: 100%;
}

.submenu-6 {
  position: relative;
}

.menu-4 li.active > .submenu-6 {
  display: block;
}

.menu-toggle.open {
  transform: rotate(90deg); /* Rotates icon for cross effect */
}
}

/*notice section start*/*
.notice-bar {
  display: flex;
  align-items: center;
  background-color: #1f3235;
  padding: 10px;
  position: relative;
  overflow: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
}

.notice-text {
  display: flex;
  align-items: center;
  margin-right: 15px;
  z-index: 2;
  background-color: #1f3235;
  padding: 0 10px;
  
}

.notice-text i {
  font-size: 20px;
  color: yellow;
  margin-right: 8px;
}

.notice-text span {
  font-weight: bold;
  color: #fff;
}

.scrolling-wrapper {
  flex-grow: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  animation: scroll-text 20s linear infinite;
}

.notice-item {
  display: inline-block;
  margin-right: 20px; /* Space between each notice */
}

/* Scrolling animation */
@keyframes scroll-text {
  0% {
      transform: translateX(100%); 
  }
  100% {
      transform: translateX(-100%);
  }
}

/* Welcome Section Styles */
.welcome-section {
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #4a00e0, #8e2de2, #f953c6);
color: #ffffff;
padding: 80px 20px;
overflow: hidden;
}

.wel-container {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
max-width: 1200px;
margin: 0 auto;
}

.text-content {
flex: 1;
min-width: 300px;
margin-right: 20px;
}

.main-welcome-heading {
font-size: 3rem;
font-weight: 700;
margin-bottom: 20px;
line-height: 1.2;
color: #ffffff;
text-transform: uppercase;
background: linear-gradient(to right, #ff8a00, #ff0000);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}

.main-welcome-heading span {
display: block;
color: #ffffff;
}

.welcome-description {
font-size: 1.2rem;
margin-bottom: 30px;
color: #f0f0f0;
line-height: 1.8;
}

.cta-button {
display: inline-block;
padding: 12px 25px;
font-size: 1rem;
color: #ffffff;
background: linear-gradient(90deg, #ff7e5f, #feb47b);
text-decoration: none;
border-radius: 30px;
box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease-in-out;
}

.cta-button:hover {
transform: translateY(-5px);
box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}

.video-container {
flex: 1;
min-width: 300px;
text-align: center;
position: relative;
overflow: hidden;
border-radius: 20px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.welcome-video {
width: 100%;
max-width: 500px;
border-radius: 20px;
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
object-fit: cover;
transition: transform 0.3s ease-in-out;
}

.welcome-video:hover {
transform: scale(1.05);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
.container {
  flex-direction: column;
  text-align: center;
}

.text-content {
  margin-bottom: 30px;
}

.main-welcome-heading {
  font-size: 2.5rem;
}

.welcome-description {
  font-size: 1.1rem;
}

.welcome-video {
  max-width: 100%;
}
}

@media (max-width: 576px) {
.main-welcome-heading {
  font-size: 2rem;
}

.welcome-description {
  font-size: 1rem;
}

.cta-button {
  font-size: 0.9rem;
  padding: 10px 20px;
}
}

/* Responsive Design */
@media (max-width: 768px) {
.main-welcome-heading {
  font-size: 2rem;
}

.welcome-description {
  font-size: 1rem;
}

.welcome-image {
  max-width: 100%;
}
}

@media (max-width: 480px) {
.welcome-section {
  padding: 40px 10px;
}

.main-welcome-heading {
  font-size: 1.8rem;
}

.welcome-description {
  font-size: 0.95rem;
}
}


/* About Section Styles */
/* About Section */

.box-header-1 {
margin-top:20px;
background-color: #008080;
color: white;
text-align: center;
padding: 20px 10px;
}

.box-header-1 h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.about-section {
padding: 60px 20px; /* Padding ko thoda kam kiya */
}

.container {
max-width: 1000px; /* Maximum width set kiya mobile friendly banane ke liye */
margin: 0 auto;
display: flex;
flex-direction: column;
gap: 40px; /* Gap ko thoda kam kiya */
}

/* Intro Section */
.intro {
display: flex;
gap: 30px; /* Gap thoda kam kiya mobile ke liye */
align-items: center;
flex-wrap: wrap;
}

.text-content {
flex: 1;
}

.image-content img {
width: 100%;
max-width: 500px; /* Max-width set kiya taaki image mobile pe thoda chhoti ho */
border-radius: 15px;
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Shared Styles */
.about-heading {
font-size: 2.2rem; /* Font-size thoda chhota kiya */
color: #026874;
font-weight: 700;
margin-bottom: 20px;
text-transform: capitalize;
position: relative;
text-align: center; /* Heading ko center align kiya mobile pe */
}

.about-heading::after {
content: '';
display: block;
width: 60px;
height: 4px;
background: linear-gradient(90deg, #8e2de2, #f953c6);
margin-top: 10px;
border-radius: 2px;
margin-left: auto;
margin-right: auto; /* Center align kiya */
}

.about-description {
font-size: 1.3rem; /* Font-size thoda bada kiya for better readability */
margin-bottom: 20px;
line-height: 1.8;
text-align: justify;
color: #555;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}

/* Admission Eligibility Section */
.admission-eligibility {
background: #fff;
padding: 30px; /* Padding kam kiya */
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.eligibility-list {
list-style: none;
padding-left: 0;
margin: 20px 0;
}

.eligibility-list li {
margin-bottom: 15px;
padding-left: 30px;
position: relative;
font-size: 1.2rem;
line-height: 1.6;
}

.eligibility-list li::before {
content: '✔';
position: absolute;
left: 0;
color: #4a00e0;
font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
.box-header-1 h1 {
font-size: 1.8em;
margin-bottom: 10px;
}
.intro {
  flex-direction: column;
  align-items: center; /* Mobile pe content ko center align kiya */
  gap: 20px; /* Gap ko aur thoda kam kiya */
}

.about-heading {
  font-size: 1.8rem; /* Font-size mobile pe thoda aur chhota kiya */
  text-align: center;
}

.about-description {
  font-size: 1rem;
  max-width: 90%; /* Mobile pe thoda responsive width diya */
}

.admission-eligibility {
  padding: 25px; /* Padding ko kam kiya mobile pe */
}

.eligibility-list li {
  font-size: 0.95rem; /* Font size mobile par thoda chhota kiya */
}

.image-content img {
  max-width: 100%; /* Image ko responsive banaya */
}
}




/* lab area. */
/* Container styles */

.box-header-3 {
  margin-top:20px;
background-color: #008080;
color: white;
text-align: center;
padding: 20px 10px;
}

.box-header-3 h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.boxtwo-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin: 30px auto;
  padding: 20px;
  background-color:#008080;
}

/* Box styles */
.boxtwo {
  display: flex;
  gap: 30px;
  padding: 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  align-items: center;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.boxtwo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.boxtwo:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.boxtwo:hover::after {
  opacity: 1;
}

.boxtwo:nth-child(odd) {
  flex-direction: row;
}

.boxtwo:nth-child(even) {
  flex-direction: row-reverse;
}

/* Content styles */
.contenttwo {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  max-width: 65%;
}

/* Image container styles */
.contenttwo .img-container {
  width: 280px;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 3px solid white;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contenttwo .img-container:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* Image styles */
.contenttwo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.contenttwo img:hover {
  filter: brightness(1.05);
}

/* Text styles */
.contenttwo h1 {
  font-size: 1.8rem;
  color: #2c3e50;
  margin: 0;
  line-height: 1.3;
  font-weight: 700;
}

.contenttwo p {
  font-size: 1.6rem;
  line-height: 1.7;
  color: #495057;
  margin: 0;
  text-align: justify;
}

.name {
  font-size: 1.4rem;
  color: #0056b3;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive styles */
@media (max-width: 968px) {
  .boxtwo {
      flex-direction: column !important;
      padding: 25px;
      gap: 25px;
  }

  .contenttwo {
      max-width: 100%;
      text-align: center;
      align-items: center;
  }

  .contenttwo p {
      text-align: left;
  }

  .contenttwo .img-container {
      width: 260px;
      height: 180px;
  }

  .contenttwo h1 {
      font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
.box-header-3 {
  margin-top:20px;;
}

.box-header-3 h1 {
font-size: 1.7em;
margin-bottom: 10px;
}
  .boxtwo-container {
      gap: 30px;
      padding: 15px;
      margin: 20px auto;
  }

  .boxtwo {
      padding: 20px;
      gap: 20px;
  }

  .contenttwo .img-container {
      width: 240px;
      height: 160px;
  }

  .contenttwo h1 {
      font-size: 1.4rem;
  }

  .name {
      font-size: 1.1rem;
  }

  .contenttwo p {
      font-size: 1rem;
      line-height: 1.6;
  }
}

/* numaber count start  */
/* Count Container */

.box-headercount {
margin-bottom: 10px;
background-color: #008080;
color: white;
text-align: center;
padding: 20px 10px;
}

.box-headercount h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.box-header-2 {
margin-top:20px;
background-color: #008080;
color: white;
text-align: center;
padding: 20px 10px;
}

.box-header-2 h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.count-container {
  background: linear-gradient(135deg, #4a00e0, #8e2de2, #f953c6);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: white;
}

/* Header */
.count-counter-heading h1 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
}

/* Counter Wrappers */
.count-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.count-counter-wrapper {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.count-counter-wrapper:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
}

/* Icon */
.count-counter-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

/* Counter Info */
.count-counter-info {
  margin-top: 10px;
}

.count-counter {
  font-size: 50px;
  font-weight: 700;
  color: #fff;
  margin: 10px 0;
  display: inline-block;
  animation: countAnimation 2s ease-out forwards;
}

/* Count Animation */
@keyframes countAnimation {
  0% {
      transform: scale(0);
      opacity: 0;
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.count-counter p {
  font-size: 16px;
  margin: 0;
  font-weight: normal;
  color: #ccc;
}

/* Responsive Styles */
/* Responsive Styles */
@media (max-width: 768px) {
.count-container {
    padding: 20px;
    margin-top: 10px; /* Reduce margin for smaller screens */
}

.count-counter-heading h1 {
    font-size: 28px; /* Smaller font size for mobile */
}

.count-counters {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Fit more items on small screens */
}

.count-counter-wrapper {
    padding: 20px; /* Reduce padding for mobile */
    margin: 0 auto; /* Centers the boxes on smaller screens */
}

.count-counter {
    font-size: 40px; /* Smaller font size for mobile */
}

.box-headercount {
display: none;
}
}

/* Extra Small Devices */
@media (max-width: 480px) {
.box-header-2 {
margin-top:1050px;
background-color: #008080;
color: white;
text-align: center;
padding: 20px 10px;
}

.box-header-2h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
.count-container {
    padding: 10px;
    margin-top: 1009px; /* Further reduce margins */
}

.count-counter-heading h1 {
    font-size: 24px; /* Adjust font size */
}

.count-counter-wrapper {
    padding: 15px; /* Reduce padding further */
}

.count-counter {
    font-size: 36px; /* Smaller font size for very small screens */
}
}



/* Testimonials Section */
.box-header {
margin-top:20px;
background-color: #008080;
color: white;
text-align: center;
padding: 20px 10px;
}

.box-header h1 {
font-size: 2.5em;
margin-bottom: 10px;
}
      .tesimonial-container{
    position: relative;
    width: 100%;
    min-height: 450px;
    background-color: #f5f5f5;
  }
  .tesimonial-container .contents-wraper{
    width: 70%;
    min-height: inherit;
    margin: 30px auto;
    text-align: center;
  }
  .contents-wraper .header h1{
    position: relative;
    font-size: 40px;
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
    letter-spacing: 1px;
  }
  .contents-wraper .header h1::before{
    content: '';
    width: 200px;
    height: 2px;
    background-color: #006994;
    border-radius: 15px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
  }
  .contents-wraper .testRow{
    width: 100%;
    min-height: inherit;
    position: relative;
    overflow: hidden;
  }
  .testRow .testItem{
    width: 100%;
    height: 100%;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .testRow .testItem:not(.active){
    top: 0;
    left: -100%;
  }
  .testRow .testItem img{
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 5px;
    outline: 2px solid #006994;
    outline-offset: 2px;
  }
  .testRow .testItem h3{
    font-size: 30px;
    font-style: italic;
    padding: 7px;
  }
  .testRow .testItem h4{
    font-style: italic;
  }
  .testRow .testItem p{
    font-size: 21px;
    letter-spacing: 1px;
    line-height: 1.2;
    padding: 10px;
  }
  .contents-wraper .indicators{
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px;
    cursor: pointer;
  }
  .contents-wraper .indicators .dot{
    width: 15px;
    height: 15px;
    margin: 0px 3px;
    border: 3px solid #aaa;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.5s ease;
  }
  .contents-wraper .indicators .active{
    background-color: #006994;
  }
  @keyframes next1{
    from{
      left: 0%;
    }
    to{
      left: -100%;
    }
  }
  @keyframes next2{
    from{
      left: 100%;
    }
    to{
      left: 0%;
    }
  }

  @keyframes prev1{
    from{
      left: 0%;
    }
    to{
      left: 100%;
    }
  }
  @keyframes prev2{
    from{
      left: -100%;
    }
    to{
      left: 0%;
    }
  }

  @media(max-width: 550px){
    .box-header {
      margin-top:20px;
    }
    
    .box-header h1 {
    font-size: 2em;
    margin-bottom: 10px;
    }
    .tesimonial-container .contents-wraper{
      width: 90%;
    }
    .contents-wraper .header h1{
      font-size: 32px;
    }
    .testRow .testItem h3{
      font-size: 26px;
    }
    .testRow .testItem p{
      font-size: 16px;
      letter-spacing: initial;
      line-height: initial;
    }

  }