
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');
*{
	margin: 0;
	padding: 0;
	font-family: 'Poppins', sans-serif;
}
.logo-img {
  width: 150px;
  animation: flip-vertically 1s ease-in-out; /* Slowed to 3s seconds */
}

@keyframes flip-vertically {
  0%, 100% { transform: scaleY(1); } /* Normal */
  50% { transform: scaleY(-1); } /* Mirrored (flipped) */
}

 .desktop-menu > li > a{
        margin-left: px;
     }
 .desktop-menu > li > a i {
            margin-right: 8px;
        }

.header {
    
    /* Mobile-friendly adjustments */
    background-attachment: scroll; /* Remove fixed attachment for mobile */
}
	


@media (max-width: 768px) {
    .header {
        min-height: 84vh; /* Reduced height for mobile */
        background-position: top center; /* Adjust positioning */
        background-size: contain; /* Or 'cover' depending on your preference */
        background-repeat: no-repeat;
    }
	.hero-btn{


}
}
@media (max-width: 480px) {
    .header {
        min-height: 60vh; /* Even smaller for very small devices */
        background-size: cover; /* Ensures full coverage */
    }
	
}
/* ------ Menu ------*/

.logo-flip {
  width: 150px;
  animation: flip-vertically 1s ease-in-out; /* Slowed to 3s seconds */
}

@keyframes flip-vertically {
  0%, 100% { transform: scaleY(1); } /* Normal */
  50% { transform: scaleY(-1); } /* Mirrored (flipped) */
}

/*-----Media View-----*/

.JIT{
	color:#fff;
	text-decoration:none;
	font-size:14px;
}


	nav .fa{
	display:none;
	
}
.menuBar{
	right: 20px;
	position: absolute;
}

@media (max-width:968px){
		.text-box h1{
			font-size:20px;
		}
		.nav-links ul li{
		display:block;
		}
		.nav-links ul li ul{
		display:none;
		
		}
		 .logo-img {
            
        }

		.nav-links{
			position:absolute;
			background:#f44336;
			height:100vh;
			width:200px;
			top:0;
			right:-300px;
			text-align:left;
			z-index:2;
			transition:1s;
		}
		nav .fa{
		display:block;
		color: #fff;
		margin:10px;
		font-size:22px;
		cursor:pointer;
		
		}
			.nav-links{
			padding:30px;
			}
			
}

	/*---- course ----*/
	.course{
		width:80%;
		margin:auto;
		text-align:left;
		padding-top:40px;
	}
	h1{
		font-size:36px;
		font-weight:600;
	}
	p{
		color:#777;
		font-size:14px;
		font-weight:300;
		line-height:22px;
		padding:10px;
	}
	.row	{
		margin-top:5%;
		display:flex;
		
		justify-content:space-between;
		}
	.course-col{
		flex-basis:31%;
		background:#fff3f3;
		border-radius:10px;
		margin-bottom:5%;
		padding:20px 12px;
		box-sizing:border-box;
		transition:0.5s;
		text-align:justify;
	}
		.course-col1{
		flex-basis:65%;
		background:#fff3f3;
		border-radius:10px;
		margin-bottom:5%;
		padding:20px 12px;
		box-sizing:border-box;
		transition:0.5s;
		text-align:justify;
		padding-top:30px;
	}
	.course-col1:hover{
		box-shadow:0 0 20px 0px rgba(0,0,0,0.2);
		}
	.h3{
		text-align:center;
		font-weight:600;
		margin:10px 0;
	}
	.course-col:hover{
		box-shadow:0 0 20px 0px rgba(0,0,0,0.2);
		}
		.row1	{
		margin-top:5%;
		display:flex;
		justify-content:center;
		}
		.course1{
		width:95%;
		margin:auto;
		text-align:center;
		padding-top:50px;
	}
	
	@media(max-width:700px){
			.row{
					flex-direction:column;
			}
		}
		/* ----- centre ----- 
		.centre{
			width:80%;
			margin:auto;
			text-align:center;
			padding-top:40px;
		}
		.centre-col{
			flex-basis:32%;
			border-radius:10px;
			margin-bottom:30px;
			height:200px;
			position:relative;
			overflow:hidden;
		}
		.centre-col img{
			width:100%;
			display:block;
		}
		.layer{
			background:transparent;
			height:100%;
			width:100%;
			position:absolute;
			top:0;
			left:0;
			transition:0.5s;
		}
		.layer:hover{
			background:rgba(226,0,0,0.7);
		}
		.layer h3{
			width:100%;
			font-weight:500;
			color:#fff;
			font-size:20px;
			bottom:0;
			left:50%;
			transform:translate(-50%);
			position:absolute;
			opacity:0;
			transition:0.5s;
		}
		.layer:hover h3{
			bottom:49%;
			opacity:1;
		}
		*/
		
		/* ----- facilities no need no more already have it own----- */
		.facilities{
			width:80%;
			margin: auto;
			text-align:center;
			padding-top:50px;
		}
		.facilities-col{
			flex-basis:31%;
			border-radius:10px;
			margin-bottom:4%;
			text-align:left;
		}
		.facilities-col img{
			width:100%;
			border-radius:10px;
			height:200px;
		}
		.facilities-col p{
			padding:0;
		}
		.facilities-col h3{
			margin-top:10px;
			margin-bottom:8px;
			text-align:justify;
		}
		
		/* ----- testimonials ----- */
		.testimonials{
			width:90%;
			margin:auto;
			padding-top:50px;
			text-align:center;
		}
		.testimonials-col{
			flex-basis:44%;
			border-radius:10px;
			margin-bottom:5%;
			text-align:left;
			background:#fff3f3;
			padding:25px;
			cursor:pointer;
			display:flex;
		}
		.testimonials-col img{
			height:40px;
			margin-left:5px;
			margin-right:25px;
			border-radius:50%;
			
		}
		.testimonials-col p{
			padding:0;
			text-align:justify;
		}
		.testimonials-col h3{
			margin-top:15px;
			text-align:justify;
		}
		.testimonials-col .fa{
			color:#f44336;
		}
		.testimonials-col:hover{
		box-shadow:0 0 20px 0px rgba(0,0,0,0.2);	
		}
		@media(max-width:700px){
			.testimonials-col img{
			margin-left:0px;
			margin-right:15px;
			}
		}
		 /* ------ call to action ------ */
		
		  /* ------ recent news ------ */
		  .blink {
			animation: blink 3s infinite;
			text-align:center;
			text-decoration:underline;
			}
		@keyframes blink {
				0% {
			opacity: 1;
			}
			100% {
			opacity: 0;
			color: blue;
				}
			}
		  
		  .news {
				text-align:center;
				color:#777;
				font-weight:300;
				line-height:22px;
				padding:10px;
		  }
		  .news-text{
					font-size:13px;
			}
		.row1	{
		margin-top:5%;
		display:flex;
		justify-content:center;
		}
		.enrolled-col{
		flex-basis:15%;
		background:#fff3f3;
		border-radius:10px;
		margin-bottom:3%;
		padding:20px 12px;
		box-sizing:border-box;
		transition:0.5s;
		text-align:center;
		color:lightblue;
		font-size:20px;
		}
		.enrolled-col:hover{
			box-shadow:0 0 20px 0px rgba(0,0,0,0.2);
		}
		
		
			 /* ------ about ------ */
		 .About{
		width:100%;
		text-align:left;
		padding:15px 0;
		}
		
		 /* ------ footer ------ */
		 .footer{
		width:100%;
		text-align:left;
		padding:10px 0;
		background:#FBFCFC;
		}
		.footer h4{
		
		margin-bottom: 8px;
		margin-top: 10px;
		font-weight: 500;
		}
		.icons .fa{
		color: #777;
		margin: 0 8px;
		cursor: pointer;
		padding: 8px 0;
		}
		
	
		/***** Message form *****/
.form{
		width:500px;
		padding:6px;
}
input,
option,
textarea{
		width:100%;
		padding:6px;
		outline:none;
		border:1;
		margin:6px 0px;
}
#btn{
	width:150px;
	padding:6px;
	cursor:pointer;
}


/***** for menu bar and menu List *****/
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            min-height: 100vh;
            background-color: #f5f5f5;
        }

        /* Navbar Styles */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 30px;
            background: linear-gradient(135deg, #7da4cb, #34495e);
            
            color: white;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
             box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
            height: 80px;
           
        }

        .logo-container {
            display: flex;
            align-items: center;
        }

        .logo-img {
            height: 150px;
            width: auto;
            margin-right: 15px;
			margin-top: 60px;
        }

        .logo-text {
            font-size: 1.5rem;
            font-weight: bold;
        }

        /* Desktop Navigation */
        .desktop-menu {
            display: flex;
            align-items: center;
            list-style: none;
            height: 100%;
        }

        .desktop-menu > li {
            position: relative;
            height: 50px;
            display: flex;
            align-items: center;
			
        }

        .desktop-menu > li > a {
            color: #f3f6f7;
            text-decoration: none;
            padding: 0 20px;
            height: 100%;
            display: flex;
            align-items: center;
            transition: all 0.3s;
			
        }
	

        
		.desktop-menu > li > a:hover {
    		color: #fff;
   			 background: rgba(0, 0, 0, 0.2);
   			 border: 1px solid #2098de;
   			 border-radius: 5px;
}


        .desktop-menu  li{
           margin-right: -18px;
        }

        /* Desktop Dropdown */
        .desktop-menu .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #2c3e50;
            min-width: 280px;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 1001;
            border-radius: 0 0 4px 4px;
            overflow: hidden;
        }

        .desktop-menu li:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
        }

        .desktop-menu .dropdown-menu li a {
            padding: 12px 20px;
            color: #b8c7ce;
            display: block;
            transition: all 0.3s;
            border-left: 3px solid transparent;
			text-decoration: none;
			list-style-type: none;
        }

        .desktop-menu .dropdown-menu li a:hover {
            color: #fff;
            background: rgba(0, 0, 0, 0.2);
            border-left: 3px solid #3c8dbc;
        }

        .desktop-menu .dropdown-menu li a i {
            width: 20px;
            text-align: center;
            margin-right: 10px;
        }

        /* Mobile Menu Toggle (hidden on desktop) */
        .hamburger-menu {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 30px;
            height: 21px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .hamburger-menu span {
            display: block;
            height: 3px;
            width: 100%;
            background: rgb(240, 241, 238);
            border-radius: 3px;
            transition: all 0.3s ease;
            transform-origin: center;
        }

        /* Animation to X when active */
        .hamburger-menu.active span:nth-child(1) {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger-menu.active span:nth-child(2) {
            opacity: 0;
            transform: translateX(-20px);
        }

        .hamburger-menu.active span:nth-child(3) {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        /* Mobile Sidebar Styles */
        .sidebar-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 998;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
        }

        .sidebar-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .sidebar {
            width: 280px;
            background: linear-gradient(135deg, #2c3e50, #34495e);
            color: white;
            transition: all 0.3s ease;
            position: fixed;
            height: 100vh;
            overflow-y: auto;
            z-index: 999;
            left: -280px;
            top: 0;
        }

        .sidebar.active {
            left: 0;
        }

        .sidebar-header {
            padding: 20px;
            background: rgba(0, 0, 0, 0.2);
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 70px;
        }

        .close-btn {
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .close-btn:hover {
            transform: rotate(90deg);
        }

        .sidebar-menu {
            padding: 0;
            list-style: none;
            margin-top: 10px;
        }

        .sidebar-menu li {
            position: relative;
        }

        .sidebar-menu li a {
            display: block;
            padding: 15px 25px;
            color: #b8c7ce;
            text-decoration: none;
            transition: all 0.3s;
            border-left: 3px solid transparent;
        }

        .sidebar-menu li a:hover,
        .sidebar-menu li a.active {
            color: #fff;
            background: rgba(0, 0, 0, 0.2);
            border-left: 3px solid #3c8dbc;
        }

        .sidebar-menu li a i {
            margin-right: 12px;
            width: 20px;
            text-align: center;
        }

        /* Mobile Dropdown */
        .sidebar-menu .treeview-menu {
            display: none;
            list-style: none;
            padding: 0;
            background: rgba(0, 0, 0, 0.1);
        }
        .treeview-menu li a{
          padding-left: 35px;
        }

        .sidebar-menu input[type="checkbox"] {
            display: none;
          
        }

        .sidebar-menu .dropdown-toggle {
            position: absolute;
            right: 15px;
            top: 15px;
            cursor: pointer;
             color: #b8c7ce;
            transition: all 0.1s;
            width: 40px;
            height: 40px;
            
        }
   input[type="checkbox"] {
  /* Remove default background */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid #ccc;
  outline: none;
  cursor: pointer;
}


        .sidebar-menu input[type="checkbox"]:checked ~ .treeview-menu {
            display: block;
        }

        .sidebar-menu input[type="checkbox"]:checked + a .dropdown-toggle {
            transform: rotate(180deg);
            color: white;
        }

        /* Content area */
        .main-content {
            margin-top: 70px;
            padding: 30px;
        }

        /* Responsive adjustments */
        @media (max-width: 1024px) {
            .desktop-menu {
                display: none;
            }
            
            .hamburger-menu {
                display: flex;
            }
        }

        @media (max-width: 768px) {
			.header{

			}
            .navbar {
                padding: 0 20px;
            }
            .logo-img {
                height: 70px;
				margin-top: -3px;
            }
            .logo-text {
                font-size: 1.3rem;
            }
			.text-box {
            width: 70%;
            color: #fff;
            position: absolute;
            top: 60%;
            left: 50%;
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            
			height: 200px;
        }
.text-box h1{
		font-size: 25px;
		text-align:center;
}
.text-box p{
	font-size: 15px;
}
.hero-btn{
	display:inline-block;
	text-decoration:none;
	color:#fff;
	border:1px solid #fff;
	padding:12px 34px;
	font-size:13px;
	background:transparent;
	position:relative;
	cursor:pointer;
	margin-top: -30px;
}
        }

        @media (max-width: 480px) {
			.text-box h1{
		font-size: 19px;
		
		}
		.text-box p{
		font-size: 13px;
		}
            .logo-text {
                display: none;
            }
            .logo-img {
                margin-right: 0;
            }
            .sidebar {
                width: 250px;
            }	
			.hero-btn{
		margin-top: -30px;
		
	}	
	.text-box{
		padding: 5px 5px;
		top: 70%;
	}
}
 @media (max-width: 320px){
	.hero-btn{
		margin-top: -40px;
		padding:5px 7px;
	}
	.text-box{
		padding:5px 5px ;
		top: 70%;
	}
 }

 @media (max-width: 425px){
	.hero-btn{
		
	}
	.text-box{
		
	}
 }

 /* for all */
.treeview-menu li{
    font-size: 0.8rem;
}

/* for footer for all pages*/
  .institute-footer {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 30px 0 0;
  font-family: 'Arial', sans-serif;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
  padding: 0 15px 20px; /* Added bottom padding */
}
.footer-section ul li a{
  text-decoration: none;
}

/* Consistent heading styles */
.footer-section h3 {
  color: #f39c12;
  margin: 0 0 12px 0; /* Removed default margins */
  font-size: 18px;
  padding-left: 5px; /* Aligns with <p> padding */
}

/* Align all content below headings */
.footer-section p, 
.footer-list {
  padding-left: 5px; /* Matches h3 padding */
  margin: 0; /* Remove default margins */
}

.footer-section p, .footer-section a {
  color: #bdc3c7;
  line-height: 1.6;
}

.footer-section a:hover {
  color: #d2d541;
}
.connect-section a:hover {
  color: #4152ee;
}

.footer-list {
  list-style: none;
  padding: 0;
}

.footer-list li {
  margin-bottom: 8px;
}


/* Connect With Us Column */
.connect-section {
  text-align: center; /* Changed from center to left-align like others */

}
.connect-section h3{
 
}


.social-icons {
  display: flex;
  gap: 35px;
  margin-left: 80px;
}

.social-icons a {
  color: #ecf0f1;
  font-size: 20px;
  transition: color 0.3s;
  text-decoration: none;

}
.social-icons .fa-facebook i:hover{
  color: #2098de;
}  



.footer-bottom {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #34495e;
  font-size: 14px;
}


@media (max-width: 768px) {
  .footer-section {
    flex: 100%;
    text-align: left;
    padding-bottom: 25px;
  }
  
  .footer-section h3,
  .footer-section p,
  .footer-list {
    padding-left: 0; /* Remove padding on mobile */
  }
  
  .social-icons {
    justify-content: flex-start; /* Align left on mobile */
  }

  .social-icons a i{
  font-size: 20px;
}
.connect-section h3{
  
}
}

@media (max-width: 700px) {
  .social-icons {
    gap: 12px; /* Slightly smaller gap on mobile */
  }
  
  .social-icons a {
    width: 38px;
    height: 38px;
  }
  
  .social-icons a i {
    font-size: 1.1rem;
  }
}

@media (max-width: 500px) {
  .social-icons {
    gap: 10px;
  }
  
  .social-icons a {
    width: 36px;
    height: 36px;
  }
  
  .connect-section h3 {
    font-size: 1.1rem;
  }
}

/* Special case for very small screens */
@media (max-width: 360px) {
  .social-icons {
    gap: 8px;
  }
  
  .social-icons a {
    width: 34px;
    height: 34px;
  }
}





 .connect-section {
    text-align: center;
    padding: 20px 0;
    width: 100%;
  }

  .connect-section h3 {
    color: white;
    margin-bottom: 15px;
    font-size: 1.3rem;
    position: relative;
    display: inline-block;
  }

  /* Optional underline effect */
  .connect-section h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: #e63946;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 0 auto;
    max-width: 300px;
  }

  .social-icons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
  }

  .social-icons a:hover {
    background-color: #f8f4f4;
    transform: scale(1.1);
  }

  .social-icons i {
    font-size: 1.2rem;
  }

  /* Responsive Adjustments */
  @media (max-width: 768px) {
    .connect-section h3 {
      font-size: 1.2rem;
    }
    .social-icons {
      gap: 12px;
    }
    .social-icons a {
      width: 38px;
      height: 38px;
    }
  }

  @media (max-width: 480px) {
    .connect-section h3 {
      font-size: 1.1rem;
    }
    .social-icons {
      gap: 10px;
      max-width: 100%;
    }
    .social-icons a {
      width: 36px;
      height: 36px;
    }
  }