@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;

    --card-clr: #161922;
	--body-clr: #191d28;
	--primary-clr: #f0bf6a;
	--heading-clr: #dadada;
	--text-clr: #767a86;
}
body {
    font-family: 'Segoe UI', sans-serif;
  }
 /* ===== first header start======= */


 .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: linear-gradient(45deg, #4a00e0 45%, #00c6ff 45%);
    color: white;
    flex-wrap: wrap;
  }
  
  .left-info,
  .right-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
  }
  
  .info-item {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    font-family: Imprint MT Shadow;
    text-shadow:
    1px 1px 0 #999,
    2px 2px 0 #888,
    3px 3px 0 #777,
    4px 4px 0 #666,
    5px 5px 0 #555,
    6px 6px 0 #444,
    7px 7px 0 #333,
    8px 8px 5px rgba(0, 0, 0, 0.74);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
  }
  
  .info-item:hover {
    color: #ffdd57;
  }
  
  .login-btn {
    background-color: white;
    color: #4a00e0;
    padding: 8px 15px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background 0.3s ease, color 0.3s ease;
  }
  
  .login-btn:hover {
    background-color: #ffdd57;
    color: #000;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .custom-header {
      flex-direction:column;
      align-items: flex-start;
      gap: 10px;
    }
  
    .right-info {
      width: 60%;
      margin-top: 10px;
      justify-content: flex-end;
      margin-right: -10px;
    }
  
    .left-info {
      flex-direction: row;
      align-items: flex-start;
    }
    .info-item{
      font-size: 18.3px;
      color:  rgb(255, 255, 255);
    }
  }

 /* ===== first header end ======= */

 /* ====== seciond header startr======= */
  .header1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000;
    flex-wrap: wrap;
    padding: 10px 20px;
    background: linear-gradient(120deg, #f0f0f0 50%, #dcdcdc 50%);
    border-bottom: 2px solid #ccc;
  }
  
  .header-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
  }
  
.institute-name {
  font-size: 55px;
  font-weight: 600;
  font-family: 'High Tower Text', serif;

  background-image: url('/image/tiranga.jpg');
  background-size: 300% auto;
  background-position: 0% center;
  background-repeat: repeat-x;

  background-clip: text;
  -webkit-background-clip: text;

  color: transparent;
  -webkit-text-fill-color: transparent;

  -webkit-text-stroke: 0.2px #5c4f4f;

  text-align: center;
  display: inline-block;

  animation: moveTiranga 10s linear infinite;
}

@keyframes moveTiranga {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 100% center;
  }
}





  
  /* @keyframes snakeText {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 200% 0%;
    }
  } */
  
  .header-right {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
  }
  
  .apply-btn {
    background-color: #c81beb;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    position: relative;
    z-index: 1;
    margin-right: 50px;
    overflow: hidden;
    animation: shimmerScale 2.5s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(200, 27, 235, 0.5);
  }
  
  @keyframes shimmerScale {
    0% {
      transform: scale(1);
      box-shadow: 0 0 10px rgba(200, 27, 235, 0.5);
    }
    50% {
      transform: scale(1.08);
      box-shadow: 0 0 25px rgba(255, 255, 255, 0.7), 0 0 30px rgba(200, 27, 235, 0.9);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 10px rgba(200, 27, 235, 0.5);
    }
  }
  
  .apply-btn:hover {
    background-color: #ffdd57;
    color: #000;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .header1 {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 15px;
    }
  
    .header-left {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  
    .institute-name {
      font-size: 36px;
    }
  
    .logo {
      width: 80px;
      height: 80px;
    }
  
    .header-right {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  
    .apply-btn {
      margin: 0;
    }
  }
  /* ======seciond header end======== */

    /* ======thierd  header start======== */
body.hidden-scrolling{
	overflow-y: hidden;
}
.container{
	 max-width: 1370px;
     margin: auto;
}
ul{
	list-style: none;
	margin:0;
	padding:0;
}
a{
	text-decoration: none;
  /* margin-left: 30px; */

}
/*header*/
.header{
	position: relative;
	width: 100%;
	left:0;
	top:0px;
	z-index: 1000;
  background: linear-gradient(120deg, #2a6c80 50%, #812c60 50%);
 
}
.header-main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* padding: 0px 0px; */
}
.header .nav-menu{
	padding: 0 15px;
}
.header .menu > .menu-item{
	display: inline-block;
	margin-left: 60px;
	position: relative;
}
.header .menu > .menu-item > a{
	display: block;
	padding: 4px 0;
	font-size: 16px;
	color: #ffffff;
	text-transform: capitalize;
	font-weight: 600;
	transition: all 0.3s ease;
}
.header .menu > .menu-item > a .plus{
	display: inline-block;
	height: 12px;
	width: 12px;
	position: relative;
	margin-left:5px; 
	pointer-events: none;
}
.header .menu > .menu-item > a .plus:before,
.header .menu > .menu-item > a .plus:after{
	content:'';
	position: absolute;
	box-sizing: border-box;
	left: 50%;
	top:50%;
	background-color: #04cc0e;
	height: 2px;
	width: 100%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease;
}
.header .menu > .menu-item:hover > a .plus:before,
.header .menu > .menu-item:hover > a .plus:after{
   background-color: #e91e63;
}
.header .menu > .menu-item > a .plus:after{
   transform: translate(-50%,-50%) rotate(-90deg);	
}
.header .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.header .menu > .menu-item:hover > a{
	color: #e91e63;
}
.header .menu > .menu-item > .sub-menu{
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	width: 220px;
	position: absolute;
	left:0;
	top:100%;
	background-color: #ffffff;
	padding: 10px 0;
	border-top: 3px solid #e91e63;
	transform: translateY(10px);
	transition: all 0.3s ease;
	opacity:0;
	visibility: hidden;
}
@media(min-width: 992px){
.header .menu > .menu-item-has-children:hover > .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
 }
 .header .menu > .menu-item-has-children:hover > a .plus:after{
    transform: translate(-50%,-50%) rotate(0deg);		
 }
}
.header .menu > .menu-item > .sub-menu > .menu-item{
	display: block;
}
.header .menu > .menu-item > .sub-menu > .menu-item > a{
	display: block;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #000000;
	transition: all 0.3s ease;
	text-transform: capitalize;
}
.header .open-nav-menu{
	height: 40px;
	width: 40px;
	margin-left: 295px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
  background-color: #9e6666;
}
.header .open-nav-menu span{
	display: block;
	height: 4px;
	width: 28px;
	background-color: #ffffff;
    position: relative;
}
.header .open-nav-menu span:before,
.header .open-nav-menu span:after{
	content: '';
	position: absolute;
	left:0;
	width: 100%;
	height: 100%;
	background-color: #ffffff;
	box-sizing: border-box;
}
.header .open-nav-menu span:before{
	top:-7px;
}
.header .open-nav-menu span:after{
	top:7px;
}
.header .close-nav-menu{
	height: 40px;
	width: 40px;
	background-color: #ffffff;
	margin:0 0 15px 15px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}
.header .close-nav-menu img{
	width: 16px;
}
.header .menu-overlay{
	position: fixed;
	z-index: 999;
	background-color: rgba(0,0,0,0.5);
	left:0;
	top:0;
	height: 100%;
	width: 100%;
	visibility: hidden;
	opacity:0;
	transition: all 0.3s ease;
}


/* responsive */

@media(max-width: 991px){
	.header .menu-overlay.active{
	visibility: visible;
	opacity: 1;
}
	.header .nav-menu{
		position: fixed;
		right: -280px;
		visibility: hidden;
		width: 280px;
		height: 100%;
		top:0;
		overflow-y: auto;
		background-color: #222222;
		z-index: 1000;
		padding: 15px 0;
		transition: all 0.5s ease;
	}
	.header .nav-menu.open{
		visibility: visible;
		right: 0px;
	}
	.header .menu > .menu-item{
		display: block;
		margin:0;
	}
	.header .menu > .menu-item-has-children > a{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.header .menu > .menu-item > a{
		color: #ffffff;
		padding: 12px 15px;
		border-bottom: 1px solid #333333;
	}
	.header .menu > .menu-item:first-child > a{
	    border-top: 1px solid #333333;	
	}
	.header .menu > .menu-item > a .plus:before, 
	.header .menu > .menu-item > a .plus:after{
		background-color: #ffffff;
	}
	.header .menu > .menu-item-has-children.active > a .plus:after{
        transform: translate(-50%,-50%) rotate(0deg);
	}
	.header .menu > .menu-item > .sub-menu{
		width: 100%;
		position: relative;
		opacity: 1;
		visibility: visible;
		border:none;
		background-color: transparent;
		box-shadow: none;
		transform: translateY(0px);
		padding: 0px;
		left: auto;
		top:auto;
		max-height: 0;
		overflow: hidden;
	}
	.header .menu > .menu-item > .sub-menu > .menu-item > a{
		padding: 12px 45px;
		color: #ffffff;
		border-bottom: 1px solid #333333;
	}
	.header .open-nav-menu{
		display: flex;
     float: left;
     margin-left: 110px;
	}
  .header .close-nav-menu{
    display: flex ;
  }
}


      /* ======third header end======== */


  /*==== dark mode code start===== */
.dark-mode-toggle {
   font-size: 22px;
  position: fixed;
  top: 50%;
  left: 98.6%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: #fff;
  color: black;
  border-radius: 5px 0px 0px 5px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}
/* Example dark mode style */
body.dark-mode {
  background-color: #0b3d4d;
  color: #ffffff;
}
@media(max-width: 768px){
.dark-mode-toggle{
  top: 10%;
  left: 93%;
  position: absolute;
}
}


  /*==== dark mode code end===== */


 /* Social Icons - Center Right */
.social-icons {
    position: fixed;
    top: 70%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
  }
  
  .social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
    color: white;
    font-size: 18px;
    border-radius: 5px 0px 0px 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  
  .social-icons a.facebook   { background-color: #3b5998; }
  .social-icons a.twitter    { background-color: #1da1f2; }
  .social-icons a.instagram  { background-color: #e4405f; }
  .social-icons a.youtube    { background-color: #ff0000; }
  
  .social-icons a:hover {
    transform: translateX(-5px) scale(1.1);
  }
  
  /* Optional: responsive adjustments */
  @media (max-width: 600px) {
    .social-icons a {
      width: 35px;
      height: 35px;
      font-size: 16px;
    }
    .social-icons{
      z-index: 999;
    }
  }
/* ==========sociasl icon end.===========   */

  

  /* ====image slider start========== */
.carousel{
    width: 100%;
    height: 90vh;
    margin-top: 0px;
    overflow: hidden;
    position: relative; 
}
.carousel .list .item{
    width: 180px;
    /* height: 250px; */
    position: absolute;
    top: 80%;
    transform: translateY(-70%);
    left: 70%;
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    background-position: 50% 50%;
    background-size: cover;
    z-index: 100;
    transition: 1s;
}
.carousel .list .item:nth-child(1),
.carousel .list .item:nth-child(2){
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
}
@keyframes animate {
    
    from{
        opacity: 0;
        transform: translate(0, 100px);
        filter: blur(33px);
    }

    to{
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }
}
/* next prev arrows */

.arrows{
    position: absolute;
    top: 80%;
    right: 52%;
    z-index: 100;
    width: 300px;
    max-width: 30%;
    display: flex;
    gap: 10px;
    align-items: center;
}

.arrows button{
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #14ff72cb;
    color: #fff;
    border: none;
    outline: none;
    font-size: 16px;
    font-family: monospace;
    font-weight: bold;
    transition: .5s;
    cursor: pointer;
}

.arrows button:hover{
    background: #fff;
    color: #000;
}


/* time running */
.carousel .timeRunning{
    position: absolute;
    z-index: 999;
    width: 0%;
    height: 4px;
    background-color: #14ff72cb;
    left: 0;
    top: 0;
    animation: runningTime 7s linear 1 forwards;
}

@keyframes runningTime {
    
    from{width: 0%;}
    to{width: 100%;}

}
/* Responsive Design */

@media screen and (max-width: 999px){
    
    header{
        padding-left: 50px;
    }

    .list .item .content{
        left: 50px;
    }

    .content .title, .content .name{
        font-size: 70px;
    }

    .content .des{
        font-size: 16px;
    }

}

@media screen and (max-width: 690px){
    header nav a{
        font-size: 14px;
        margin-right: 0;
    }

    .list .item .content{
        top: 40%;
    }

    .content .title, .content .name{
        font-size: 45px;
    }

    .content .btn button{
        padding: 10px 15px;
        font-size: 14px;
    }
    .carousel{
    width: 100vw;
    height: 60vh;
   
}
}

 /* ====image slider  end  ========== */

 /*======== welcome to code satrt.===== */
 /* Welcome Section Styles */
 .welcome-section {
  padding: 60px 20px;
  background: linear-gradient(135deg, #0f2027, #2c5364);
}

.wel-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;

}

.text-content {
  animation: fadeInUp 1.2s ease forwards;
}

.main-welcome-heading {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: bold;
  display: inline-block;
  color: #3b8a7d;
}

/* हर अक्षर पर एनिमेशन */
.main-welcome-heading span {
  display: inline-block;
  animation: colorShift 8s linear infinite;
  animation-delay: calc(var(--i) * 0.2s); /* हर अक्षर में थोड़ा delay */
  color: #ff0000;
}

/* रंग बदलने की rainbow एनिमेशन */
@keyframes colorShift {
  0%   { color: #ffffff; }
  16%  { color: #ffa500; }
  32%  { color: #ccff55; }
  48%  { color: #008000; }
  64%  { color: #16a3ad; }
  80%  { color: #b961f8; }
  100% { color: #db0b50; }
}


.welcome-description {
  font-size: 18px;
  line-height: 1.6;
  color: #e7e7e7;
  margin-bottom: 30px;
}

.cta-button {
  padding: 12px 25px;
  background-color: #ff6f00;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e65100;
}

/* Video Section */
.video-container {
  animation: fadeInRight 1.2s ease forwards;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.welcome-video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 768px) {
  .wel-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .main-welcome-heading {
    font-size: 31px;
  }

  .welcome-description {
    font-size: 16px;
  }

  .video-container {
    margin-top: 30px;
  }
}

/* Animation Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
  /* }======= welcom to code end.========= */

  /* ==== notice anoucment  section code start======== */
  
  .notice-heading-3d {
    text-align: center;
    padding: 10px 10px;
    background: linear-gradient(-45deg, #bd1ba7, #1cd8d2, #247892, #1b3ea0ab);
    background-size: 400% 400%;
    animation: backgroundShift 20s ease infinite;
    color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    perspective: 1000px;
}

.dynamic-3d-heading {
    font-size: 3rem;
    margin: 0;
    display: inline-block;
    color: transparent; /* text को transparent करें */
    background: linear-gradient(270deg, #ff005e, #ff7c00, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff005e);
    background-size: 1600% 1600%;
    -webkit-background-clip: text;
    background-clip: text;
    animation: gradientTextShift 8s ease infinite;
    transform-style: preserve-3d;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.486);
}

/* Gradient color animation */
@keyframes gradientTextShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Animated background shifting */
@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


.notice-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px;
    gap: 60px;
}

.notice-container {
    background: white;
    width: 350px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 3px solid rgb(51, 153, 51);
}

.heading-sect {
    background: #673ab7;
    color: white;
    text-align: center;
    padding: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.heading-sect h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: bold;
}

.heading-sect i {
    font-size: 1.5rem;
}

marquee {
    padding: 15px;
    font-size: 1rem;
    line-height: 1.6;
    height: 180px; /* Adjusted height for increased container size */
    background: #f7f7f7;
    border-top: 2px solid #8a8989;
}

.latest-news-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.latest-news-ul li {
    margin: 10px 0;
    padding: 8px;
    background: #e0f7fa;
    border-left: 4px solid #00796b;
    border-radius: 4px;
    transition: background 0.3s ease;
    font-family: Lucida Bright;
}

.latest-news-ul li .news1{
  text-decoration: none;
  color: cadetblue;
}

.latest-news-ul li:hover {
    background: #b2dfdb;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
  .dynamic-3d-heading {
    font-size: 2rem;
    text-align: center;
  }

  .notice-container {
    max-width: 100%;
  }

  .notice-row {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .heading-sect h3 {
    font-size: 1.2rem;
  }

  .heading-sect i {
    font-size: 1.2rem;
  }

  marquee {
    font-size: 0.9rem;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .dynamic-3d-heading {
    font-size: 1.6rem;
  }

  .heading-sect {
    flex-direction: column;
    padding: 8px 0;
  }

  .heading-sect h3 {
    font-size: 1rem;
  }

  .heading-sect i {
    font-size: 1rem;
  }
}
  /* ======notice section code end.==== */

  /* count animation code sytart===========*/
  .institute-name2{
    background: linear-gradient(120deg, #8f818194 50%, #0eb5d393 50%);
  }
  .institute-name1 {
    font-size: 58px;
    font-weight: 750;
    background: repeating-linear-gradient(
      120deg,
      #ff0000 0%,
      #00ff00 20%,
      #0000ff 40%,
      #ffff00 60%,
      #ff00ff 80%,
      #00ffff 100%
    );
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: snakeText 10s linear infinite;
    text-align: center;
  }
  
  @keyframes snakeText {
    0% {
      background-position: 0% 0%;
    }
    100% {
      background-position: 200% 0%;
    }
  }
  
    .container-count {
      display: flex;
      justify-content: space-evenly;
      flex-wrap: wrap;
      gap: 30px;
      margin: 40px auto;
      padding: 0 20px;
      max-width: 1200px;
    }

    /* Count Box Styles */
    .count_box {
      background: #ffffff;
      padding: 25px;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
      width: calc(33.33% - 30px); 
      text-align: center;
      transition: all 0.3s ease;
      border: 1px solid #e0e0e0; 
    }

    .count_box h2 {
      font-size: 1.6rem;
      color: #333;
      margin-bottom: 15px;
    }

    .count_box .counter {
      font-size: 2.8rem;
      font-weight: 700;
      color: #008080;
      display: inline-block;
    }

    /* Hover effect for Count Boxes */
    .count_box:hover {
      transform: translateY(-8px); 
      box-shadow: 0 12px 18px rgba(0, 0, 0, 0.15); 
      border-color: #007bff; 
    }

    /* Responsive Design for Smaller Screens */
    @media screen and (max-width: 1024px) {
      .count_box {
        width: calc(50% - 20px); 
      }
    }

    @media screen and (max-width: 768px) {
      .count_box {
        width: 100%;
      }
      .institute-name1 {
        font-size: 30px;
        font-weight: 600;
      }
    }
  /* ========= countable animation code start====== */



  /* ===========testimonlsslider  start========== */


    /* ===========testimonl slider end ========== */

    
/* <!-- ============= footer start============ --> */
footer {
  background: linear-gradient(135deg, #1f1c2c, #928dab);
  color: #fff;
  padding: 60px 20px 30px;
  animation: fadeInUp 1s ease-in-out;
  /* margin-top: 540px; */
}

/* Grid Layout */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* Headings with animated underline and background glow */
.footer-section h3 {
  margin-bottom: 20px;
  font-size: 18px;
  color: #fff;
  position: relative;
  display: inline-block;
  padding: 5px 10px;
  background: linear-gradient(45deg, #ff0080, #7928ca);
  border-radius: 5px;
  animation: glow 2s infinite alternate;
}

.footer-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #f953c6, #b91d73, #00c9ff, #92fe9d);
  background-size: 300% 100%;
  animation: animatedLine 3s linear infinite;
  border-radius: 2px;
}

/* Text Links */
.footer-section a {
  font-size: 14px;
  color: #ddd;
  text-decoration: none;
  line-height: 1.8;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 8px;
  border-radius: 4px;
}

.footer-section a::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to right, #f2709c, #ff9472);
  z-index: -1;
  transition: 0.3s;
  border-radius: 4px;
}

.footer-section a:hover::before {
  width: 100%;
}

.footer-section a:hover {
  color: #fff;
  transform: translateX(3px);
}

/* Logo */
.footer-logo img {
  width: 140px;
  margin-bottom: 15px;
}

/* Social Icons - Unique Colors */
.social-icons2 a {
  display: inline-block;
  margin-right: 10px;
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s, transform 0.3s;
  color: #fff;
}

.social-icons2 a:nth-child(1) {
  background-color: #3b5998; /* Facebook */
}
.social-icons2 a:nth-child(2) {
  background-color: #e4405f; /* Instagram */
}
.social-icons2 a:nth-child(3) {
  background-color: #1da1f2; /* Twitter */
}
.social-icons2 a:nth-child(4) {
  background-color: #ff0000; /* YouTube */
}

.social-icons2 a:hover {
  transform: scale(1.2);
  filter: brightness(1.2);
}

/* Bottom Section */
.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 13px;
  color: #ccc;
}

/* Animations */
@keyframes fadeInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes animatedLine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes glow {
  from {
    box-shadow: 0 0 10px #ff00cc;
  }
  to {
    box-shadow: 0 0 20px #ffccff, 0 0 30px #ff00cc;
  }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  footer {
    text-align: center;
  }
  .social-icons2 {
    justify-content: center;
  }
}
