/* Load Custom Font */
@font-face {
  font-family: algr;
  src: url(../fonts/alger.ttf);
}
@font-face {
  font-family: hs;
  src: url(../fonts/hs.otf);
}
@font-face {
  font-family: hps;
  src: url(../fonts/hps.ttf);
}
@font-face {
  font-family: jn;
  src: url(../fonts/jn.ttf);
}

@font-face {
  font-family: cn;
  src: url(../fonts/cn.ttf);
}   
::-webkit-scrollbar {
  display: none;
}
    /* Fullscreen overlay */
      .fullscreen-div {
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(245, 245, 245, 0.5);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            z-index: 5000;
            display: flex; /* Ensure it appears immediately */
            align-items: center;
            justify-content: center;
        }

        /* Hide overlay smoothly */
        .hide {
            opacity: 0;
            transition: opacity 1s ease-in-out;
        }

        .overlay-image {
            width: 300px;
            border-radius: 20px;
        }
/* General Navbar Styling */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: rgba(245, 245, 245, 0.5);
    color: white;
    position: fixed;
    top: 15px;
    left: 70px;
	right:70px;
    z-index: 1000;
	border-radius:50px;
    box-sizing: border-box;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    font-family: algr;
	color:#222;	
}

.logo_name {
    margin: 0;
    padding: 0;
	font-size:14px;
}

.name_seg {
    margin: 0;
    padding: 0;
	font-family: algr;
	color:#333;
	font-size:14px;
}
.name_seg1 {
    margin: 0;
    padding: 0;
	font-family: algr;
	color:#222;
	font-size:10px;
}
.logo_image {
    height: 65px;
    margin-right: 15px;
}

.logo h1 {
    font-size: 20px;
}
.mnav{
	display:none;
}
/* Navigation Menu (Desktop) */
.nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.nav ul li {
    display: inline-block;
}

.nav ul li a {
    color: white;
    text-decoration: none;
	font-family: cn;
    font-size: 20px;
	color:#222;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav ul li a:hover {
    background: #445DC2;
    color: #eee;
    border-radius: 5px;
}
.khula{
    background: #445DC2 !important;
    color: #eee !important;
    border-radius: 5px !important;
}

 .sticky-note3{
	 display:none;
 }
/* Social Icons */
.social-icons img{
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3); border-radius:50%;
	width:30px;
}
	
.social-icons {
	position: fixed;
    bottom: 20px;
    left: 50%; /* Move to the center */
    transform: translateX(-50%); /* Adjust for centering */
    display: flex;
    gap: 15px;
    z-index: 556;
    align-items: center;
}
.social-icons a {
    color: white;
    font-size: 24px;
    text-decoration: none;
    transition: transform 0.3s, color 0.3s;
	
}

.social-icons a:hover {
    transform: scale(1.2);
    color: #0e1b40;
}

/* Mobile Responsive */
@media (max-width: 768px) {
body{
	height:100vh;
}
.fullscreen-div {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(245,245,245,0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 5000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1s ease-in-out;
}

.overlay-image {
    width: 450px; 
    height:600px;
    opacity: 1;
	margin-top:-100px;
    transition: opacity 1s ease-in-out;
    border-radius: 20px;
	
}

header {
    left: 10px;
    right: 10px;
    top: 10px;
    width: calc(100% - 20px);
	background-color:rgba(245,245,245,0.5);
	backdrop-filter: blur(10px) !important;
	-webkit-backdrop-filter: blur(10px) !important; /* Safari Fix */
	 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.logo_image {
    height: 50px;
    margin-right: 15px;
}
.name_seg {
    margin: 0;
    padding: 0;
	font-family: algr;
	color:#222;
	font-size:14px;
}
.name_seg1 {
    margin: 0;
    padding: 0;
	font-family: algr;
	color:#222;
	font-size:10px;
}
.nav {
    display: none;
}
    /* Mobile Navigation */
.menu-toggle {
    font-size: 30px; /* Ensure both ☰ and ✖ have the same size */
    color: #222;
    border-radius: 5px;
    display: inline-block;
    user-select: none;
    text-align: center;
    width: 50px;  /* Ensure same width for consistency */
    height: 50px; /* Ensure same height */
    line-height: 50px; /* Center text vertically */
    z-index: 1001;
    transition: 0.3s ease-in-out; /* Smooth transition */
	-webkit-tap-highlight-color: transparent; /* Removes iOS blue highlight */
    touch-action: manipulation; /* Prevents delay on iOS */

}


    /* Full-Screen Mobile Nav Menu */
.mnav {
    display: block; /* Ensures the menu toggle button is always visible */
}

/* Center and style the navigation menu */
.sticky-note3 {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 300px;
    height: 450px;
	background-color: rgba(245,245,245,0.5);
	backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
	 box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    padding:0px;
    text-align: center;
	display: none;
	border-radius: 20px;
	overflow:hidden;
}

/* Ensure nav-menu fits inside sticky-note3 */
.nav-menu {
    width: 100%;
    height: 100%;
    display: flex;
	background-color:transparent; /* Safari Fix */
    flex-direction: column;
	margin-top:0px;
	
}
/* Center nav buttons inside the menu */
.nav-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: fit-content; /* Adjust to content size */
    margin: 0 auto; /* Center horizontally */
	margin-top:20px;
}
.nav-grid a{
	text-decoration:none;
}
/* Styling each button */
.nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: auto; /* Allow buttons to fit content */
    min-width: 65px; /* Optional: Set a reasonable minimum width */
    padding: 15px;
    background: #f9f9f9;
    border-radius: 20px;
    transition: 0.3s ease-in-out;
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.3);
}
.nav_active{
background-color:#0e1b40;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 1);
}

/* Adjusting icon size */
.nav-btn img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
}

/* Adjusting text */
.nav-btn span {
    font-size: 16px;
	color:#222;
	font-family: cn;
	color:#0e1b40;
}

.act_nav {
	color:#fff!important;
}

/* Close Button */
.close-menu1 {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    color:#000;
    transition: color 0.3s ease;
}

.close-menu1:hover {
    color: #ffcc00;
}

}
