@import 'https://fonts.googleapis.com/css?family=Montserrat:300, 400, 700&display=swap';
/* General Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
  }
  
  html {
	font-size: 15px;
	font-family: 'Montserrat', sans-serif;
	scroll-behavior: smooth;
}

  body {
	background-image: url('WhiteBack.jpg');
  }
  
  a {
	text-decoration: none;
	color: inherit;
  }
  
  ul {
	list-style: none;
  }

  p {
	color: black;
	font-size: 0.8rem;
	margin-top: 2px;
	line-height: 2rem;
	font-weight: 300;
	letter-spacing: 0.05rem;
}

/* Header section */
#header {
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	background: transparent;
	transition: background-color 0.3s ease;
  }
  
  .header.container {
	height: 50px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 30px;
	background-color: #29323c;
  }
  
  .brand {
	flex: 0 0 auto; /* Prevents the logo from stretching */
  }
  
  .brand img {
	width: 80px; /* Adjust logo size */
	height: auto;
  }
  
  .nav-bar {
	flex: 1 1 auto; /* Allows the nav to take available space */
	display: flex;
	justify-content: flex-end;
	align-items: center;
  }

  .nav-list ul {
	display: flex;
	gap: 20px;
  }

  .nav-list ul li a {
	color: white;
	font-weight: bold;
	font-size: 0.8rem;
	padding: 10px 15px;
	transition: color 0.3s ease;
  }
  
  .nav-list ul li a:hover {
	color: #CD3333; /* Hover color effect */
  }

  .nav-list ul.active {
    display: flex;
  }

  .nav-bar .nav-list {
	display: flex;
	align-items: center;
  }

  .nav-bar .nav-list ul {
	display: flex;
	justify-content: flex-end; /* Align items to the right */
	gap: 20px;
	margin: 0;
	padding: 10px 20px;
  }
  
  .nav-bar .hamburger {
	display: none;
	flex-direction: column;
	cursor: pointer;
	position: absolute; /* Absolute positioning */
	top: 10px; /* Distance from the top of the screen */
	right: 20px; /* Distance from the right of the screen */
	z-index: 1000; /* Ensure it stays above other elements */
  }
  
  .nav-bar .hamburger .bar {
	height: 2px;
	width: 20px;
	background-color: white;
	margin: 3px 0;
	transition: all 0.3s ease;
  }
  
  .nav-bar .hamburger.active .bar {
	background-color: #CD3333; /* Example: Change color when active */
  }
  
  
/* Show dropdown on hover */
.nav-bar .hamburger:hover + .nav-list ul,
.nav-list ul:hover {
  opacity: 1;
  visibility: visible;
}

  .nav-bar ul li a {
	font-size: 0.8rem;
	font-weight: bold;
	color: white;
	padding: 10px 15px;
	transition: color 0.3s ease;
  }

  .nav-bar ul li a:hover {
	color: #CD3333; /* Change color on hover */
  }
  

  /* Responsive Design */
@media screen and (max-width: 768px) {
	/* Dropdown Menu for Hamburger */
.nav-list ul {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: absolute;
	top: 30px;
	right: 20px;
	background-color: #29323c;
	width: 200px;
	border-radius: 10px;
	padding: 10px;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
  }

	 /* Show dropdown on hover */
	 .nav-bar .hamburger:hover + .nav-list ul,
	 .nav-list ul:hover {
	   display: flex;
	 }
   
	 .nav-bar .hamburger {
	   display: flex; /* Show hamburger on mobile screens */
	 }
}

/* End Header section */

#past .main {
    /*background-color: rgb(14, 5, 62);*/
	width: 100%;
	height: auto;
	display: grid;
	place-items: center;
	padding: 150px 0;
}
#past .main .head {
	font-size: 29px;
	color: aliceblue;
	position: relative;
	margin-bottom: 100px;
	font-weight: 500;
}
#past .main .head::after {
	content: " ";
	position: absolute;
	width: 50%;
	height: 3px;
	left: 50%;
	bottom: -5px;
	transform: translateX(-50%);
	background-image: linear-gradient(to right,aliceblue, rgba(255, 255, 255, 0.747));
}

/* Container Css Start  */

#past .wrapper {
	width: 70%;
	height: auto;
	margin: auto 0;
	position: relative;
}
#past .wrapper ul {
	list-style: none;
}
#past .wrapper ul::after {
	content: " ";
	position: absolute;
	width: 2px;
	height: 100%;
	left: 50%;
	top: 0;
	transform: translateX(-50%);
	background-image: linear-gradient(to bottom, rgba(232, 226, 226, 0.767), rgba(255, 255, 255, 0.747));
}
#past .wrapper ul li {
	width: 50%;
	height: auto;
	padding: 15px 20px;
	background-color: #fff;
	border-radius: 8px;
	box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.218);
	position: relative;
	margin-bottom: 30px;
	z-index: 99;
}

#past .wrapper ul li .circle {
	position: absolute;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: aliceblue;
	top: 0;
	display: grid;
	place-items: center;
}
#past .wrapper ul li h3{
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 20px;
}
#past .wrapper ul li p{
	font-family: Verdana, Geneva, Tahoma, sans-serif;
	font-size: 15px;
}
#past .circle::after{
	content: ' ';
	width: 12px;
	height: 12px;
	background-color: #000000;
	border-radius: 50%;
}
#past ul li:nth-child(odd) .circle {
	transform: translate(50%, -50%);
	right: -30px;
}
#past ul li:nth-child(even) .circle {
	transform: translate(-50%, -50%);
	left: -30px;
}
#past ul li .date {
	position: absolute;
	width: 130px;
	height: 33px;
	background-image: linear-gradient(to right,#666568,#a49aa5);
	border-radius: 15px;
	top: -45px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 13px;
	box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.318);
}
#past .wrapper ul li:nth-child(odd) {
	float: left;
	clear: right;
	text-align: right;
	transform: translateX(-30px);
}
#past ul li:nth-child(odd) .date {
	right: 20px;
}
#past .wrapper ul li:nth-child(even) {
	float: right;
	clear: left;
	transform: translateX(30px);
}
#past ul li .heading {
	font-size: 17px;
	color: rgb(91, 14, 216);
}
#past ul li p {
	font-size: 13px;
	color: #666;
	line-height: 18px;
	margin: 6px 0 4px 0;
}
#past ul li a {
	font-size: 13px;
	text-decoration: none;
	color: rgb(18, 54, 214);
	transition: all 0.3s ease;
}


@media only screen and (min-width:798px) and (max-width: 1100px) {
	#past .wrapper{
		width: 80%;
	}
}

@media only screen and (max-width: 798px) {
	#past .wrapper{
		width: 70%;
		transform: translateX(20px);
	}
	#past .wrapper ul::after{
		left: -40px;
	}
	#past .wrapper ul li {
		width: 100%;
		float: none;
		clear: none;
		margin-bottom: 80px;
	}
	#past .wrapper ul li .circle{
		left: -40px;
		transform: translate(-50%, -50%);
	}
	#past .wrapper ul li .date{
		left: 20px;
	}
	#past .wrapper ul li:nth-child(odd) {
		transform: translateX(0px);
		text-align: left;
	}
	#past .wrapper ul li:nth-child(even) {
		transform: translateX(0px);
	}
}

@media only screen and (max-width: 550px) {
	#past .wrapper{
		width: 80%;
	}
	#past .wrapper ul::after{
		left: -20px;
	}
	#past .wrapper ul li .circle{
		left: -20px;
	}
}


/* Footer Section */
#footer {
	background: white;
	color: #fff;
	padding: 20px 10%;
	text-align: center;
  }
  
  #footer .brand h1 {
	font-size: 2.5rem;
  }
  
  #footer h2 {
	margin: 10px 0;
	font-size: 0.8rem;
	color: black;
  }
  
  .social-icon {
	margin: 10px 0;
  }
  
  .social-icon img {
	width: 30px;
  }

  .brand h1 {
    font-family: 'Gistesy',sans-serif;
	font-size: 5rem;
	color: rgb(9, 9, 9);
}
  .brand h1 span {
	color: #CD3333;
}
  
  /* Responsive Design */
  @media screen and (max-width: 768px) {
	.nav-bar ul {
	  display: none;
	  flex-direction: column;
	}
  
	.nav-bar ul.active {
	  display: flex;
	  background: black;
	  position: absolute;
	  top: 60px;
	  right: 20px;
	  width: 200px;
	  border-radius: 10px;
	  padding: 10px;
	  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	}
  
	.nav-bar .hamburger {
	  display: flex;
	}
  
	#hero h1 {
	  font-size: 2rem;
	}
  
	.kotak {
	  flex-direction: column;
	  gap: 20px;
	}
  
	.kotakgrey {
	  flex-direction: column;
	}
  }