* {
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: url('Fonts/BahijMitra-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

html, body {
width: 100%;
height: 100%;
}

html, body {
overflow-x: hidden;
}

body {
background-image: url("Images/WebsiteImages/Background-Image.jpg");
background-repeat: repeat;
background-size: 200px 200px;
position: relative;

}


.journal p {
text-align: justify;
font-size: 20px;
line-height: 40px;
}

.journal h1 {
margin-top: 20px;
}

.contact a {
font-size: 80px;
color: green;
}

.contact {
position: fixed;
bottom: 0;
left: 30px;
}

.contact a:hover {
    color: lightgreen;
}

footer {
background-color: #1EA1F3;
padding: 10px;
color: white;
font-size: 20px;
font-weight: bolder;
height: auto;
}

footer img {
    border-radius: 80px;
    width: 150px;
    display: block;
    margin: auto;
}

footer h5 {
    text-align: center;
    margin-top: 10px;
}

.social-Media a {
display: inline-block;
margin: 20px;
font-size: 20px;
}

.address p {
font-size: 17px;
}

.about-us p {
text-align: justify;
}

.about-us table {
width: 100%;
margin-bottom: 20px;
}

#NewsTitle {
border-right: 5px solid #1EA1F3;
padding: 5px;
font-weight: bolder;
font-family: 'Bahij Mitra';
}

#header-container {
background: url('/Images/WebsiteImages/pattern-bg.png');
padding: 3px 17px 0 0;
display: flex;
justify-content: space-between;
align-items: center;
}

#social-icons a {
font-size: 18px;
margin: 0 14px;
color: #fff;
background-color: #1EA1F3;
border-radius: 50%;
width: 30px;
height: 30px;
display: inline-flex;
align-items: center;
justify-content: center;
text-decoration: none;
transition: background-color 0.3s ease;
}

#social-icons a:hover {
    background-color: #0f5bb5;
}

#mainImage {
height: 93vh;
transition: all 1s;
}

#mainImage:hover {
    box-shadow: 0 0 10px #1EA1F3;
    transform: translateY(-5px);
}

#logo-text {
display: flex;
flex-direction: column;
justify-content: center;
}

#img-top {
height: 35vh;
}

#imgGallery {
height: 100vh;
display: flex;
justify-content: space-between;
align-items: center;
}

#subImage {
height: 45vh;
width: 100%;
}

#logo-img {
width: 230px;
height: 66px;
}

#langBtn a {
background-color: #1EA1F3;
color: white;
font-weight: bold;
border-radius: 5px;
}

#miniCircle {
transition: all cubic-bezier(1,0.9,0.7,1) 0.5s;
background-color: #1EA1F3;
width: 10px;
height: 10px;
border-radius: 50%;
position: fixed;
top: 0;
left: 0;
transform: translate(-50%, -50%); /* center on pointer */
z-index: 1000;
pointer-events: none;
}

.three-line-text {
display: -webkit-box;
-webkit-line-clamp: 3; /* Show only 3 lines */
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.6em;
max-height: 4.8em; /* 3 lines * 1.6 line-height */
}

.pagination .page-item .page-link {
margin: 10px;
border-radius: 50%;
}

.footerLink {
display: block;
text-decoration: underline;
color: white;
margin: 10px 0;
}

.copyright {
background-color: #1EA1F3;
}

.copyright h4 {
    color: white;
    padding: 0 10px;
    font-weight: bold;
}

.footerLink:hover {
color: sandybrown;
}

.card {
transition: all .5s;
position: relative;
overflow: hidden;
}

#imageContainer {
transition: all .5s;
}

#imageContainer:hover {
    transform: translateY(-6%);
}

.card:hover {
transform: translateY(-2%);
box-shadow: 0 0 15px #1EA1F3;
}

.btn-light {
transition: all 1s;
}

.btn-light:hover {
    box-shadow: 0 4px 10px rgba(3, 5, 10, 0.3);
    transform: scale(1.1);
}

#youtube-card {
height: 50vh;
}
#news{
background-color:red;
display:flex;
flex-wrap:wrap;
}

/* Scrollbar width */
::-webkit-scrollbar {
width: 5px;

}

/* Track (background of scrollbar) */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    
}

/* Scrollbar thumb (the moving part) */
::-webkit-scrollbar-thumb {
background-color: #1EA1F3;
border-radius: 10px;
height: 300px;
}

/* Hover effect */
::-webkit-scrollbar-thumb:hover {
    background-color: #1787cc;
}
#MagCovImg{
height:60vh;
}
.carousel-item img{
width:100%;
height:100vh;
}

/*Header Section*/
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
}

.header img {
height: 80px;
}

.header #row {
display: flex;
}

.header #row div {
display: flex;
flex-direction: column;
justify-content: space-around;
align-items: center;
row-gap: 10px;
margin-top: 10px;
}

.header #row div a {
background-color: #1EA1F3;
display: block;
padding: 10px 15px;
margin: 0 10px;
color: white;
font-size: 15px;
font-weight: 900;
}

.header #row .icons {
border-radius: 50%;
font-weight: 900;
font-size: 20px;
padding: 6px 7px;
margin: 0;
}

.header #row .buttons {
text-decoration: none;
border-radius: 10px;
}

/*Navigation Bar*/
nav {
margin-top: 5px;
background-color: #1EA1F3;
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 20px;
position: sticky;
top: 0;
z-index: 1000;
font-weight: 500;
font-size: 20px;
}

nav ul {
list-style-type: none;
display: flex;
align-items: center;
height: inherit;
margin: 0;
}

nav ul li a {
display: inline-block;
padding: 10px 15px;
color: white;
text-decoration: none;
transition: 1s all;
}

nav ul li a:hover {
font-weight: 800;
text-shadow: 0 0 5px gray;
color: white;
}

#humburger {
display: none;
}

#firstDrop {
position: absolute;
background-color: #1EA1F3;
display: flex;
flex-direction: column;
top: 120%;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
padding: 0 30px;
z-index: 11;
/* Add these for smooth hide/show */
opacity: 0;
pointer-events: none;
transition: opacity 0.3s ease, top 0.3s ease;
}

nav ul li:hover #firstDrop {
opacity: 1;
top: 100%;
pointer-events: auto; /* allow clicking when visible */
}


@media(max-width:900px) {
#humburger {
display: block;
color: white;
cursor: pointer;
font-size:45px;
}
#searchIcon{
font-size:40px;
}
#imageGallery{
display:none;
}
nav {
position: relative;
padding: 10px 30px;
z-index: 10;
}

nav ul {
position: absolute;
top: 100%;
background-color: #1EA1F3;
display: flex;
flex-direction: column;
width: 100%;
right: -100%;
transition: all .5s;
text-align: center;
}

nav ul li {
margin: 15px 0;
}

#firstDrop {
position: absolute;
background-color: #1EA1F3;
display: flex;
flex-direction: column;
top: 30%;
opacity: 1;
transition: all 0.5s;
box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
}

nav ul li:hover #firstDrop {
right: 0;
opacity: 1;
top: 0%;
z-index: 11;
}

.header img {
height: 150px;
}

.header #row div a {
background-color: #1EA1F3;
display: block;
padding: 20px 25px;
margin: 0 10px;
color: white;
font-size: 25px;
font-weight: 900;
}

.header #row .icons {
border-radius: 50%;
font-weight: 900;
font-size: 35px;
padding: 10px 15px;
margin: 0;
}

.header #row .buttons {
text-decoration: none;
border-radius: 10px;

}
}
