@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;
        }



* {
            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;
    }
  }