/* Basic Reset */
body, html {
margin: 0;
padding: 0;
font-family: sans-serif;
}

/* Header Container */
.header-container {
display: flex;
align-items: center;
justify-content: space-between;
padding: 10px 20px;
background-color: #fff;
}

/* Logo Styling */
.logo {
display: flex;
flex-direction: column;
align-items: flex-start;
}

.logo img {
max-width: 150px;
height: auto;
}

.logo span {
font-size: 12px;
color: #455a64;
}

/* Navigation Styling */
.navigation {
display: flex;
align-items: center;
}

/* Dropdown Styling */
.dropdown {
position: relative;
display: inline-block;
margin-left: 20px;
}

.dropdown-content {
display: none;
position: absolute;
background-color: #f9f9f9;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
left: 0; /* Align dropdown to the left edge of the button */
}

.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdown-content a:hover {
background-color: #ddd;
}

.dropdown:hover .dropdown-content {
display: block;
}

.dropdown a.dropbtn {
color: #004687;
text-decoration: none;
font-size: 16px;
display: inline-block;
padding: 0; /* Remove padding from the main link */
}

.dropdown a.dropbtn::after {
content: '\25B8';
margin-left: 5px;
font-size: 12px;
}

/* Icons Styling */
.icons {
display: flex;
align-items: center;
}

.icons img {
width: 24px;
height: auto;
margin-left: 20px;
cursor: pointer;
}
.Videobackground {
position: relative;
width: 100%;
height: 100vh; /* Adjust as needed */
overflow: hidden;
}

.Videobackground video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 0;
transform: translateX(-50%) translateY(-50%);
object-fit: cover; /* Ensure video covers the entire container */
}

.Videobackground .content {
position: absolute; /* Changed to absolute positioning */
top: 50%;             /* Center vertically */
left: 50%;            /* Center horizontally */
transform: translate(-50%, -50%); /* Adjust for element size */
z-index: 1;
color: white;
text-align: center;
padding: 20px;
}

.Videobackground h1 {
font-size: 3em;
margin-bottom: 20px;
}

.Videobackground a {
display: inline-block;
padding: 10px 20px;
background-color: rgba(255, 255, 255, 0.2); /* Semi-transparent background */
color: white;
text-decoration: none;
border: 1px solid white;
border-radius: 5px;
transition: background-color 0.3s ease;
}
.Videobackground {
margin-bottom: 80px; /* Adjust the value as needed */
}


.Videobackground a:hover {
background-color: rgba(255, 255, 255, 0.5);
}
.FirstBTF {
width: 100%;
font-family: sans-serif; /* Choose a suitable font */
}

.FirstBTF .image-container {
width: 100%;
overflow: hidden; /* Prevents image from overflowing */
}

.FirstBTF .image-container img {
width: 100%; /* Image takes full width */
display: block; /* Removes extra space below image */
}

.FirstBTF .text-container {
padding: 50px; /* Increased padding */
text-align: center;
background-color: #fff; /* Optional: Add a background color */
position: relative; /* Needed for the angled background */
overflow: hidden;   /* Clip the angled background */
}

.FirstBTF .text-container p {
font-size: 1.5em; /* Adjust font size as needed */
color: #2962ff;       /* Adjust text color as needed */
line-height: 1.4;  /* Improves readability */
margin: 0;         /* Remove default paragraph margins */
}

.FirstBTF .text-container a {
display: inline-block;
padding: 10px 20px;
text-decoration: none;
border: 1px solid #e67e22;
color: #e67e22;
border-radius: 5px;
margin-top: 20px; /* Space between text and button */
transition: background-color 0.3s ease;
}

.FirstBTF .text-container a:hover {
background-color: #e67e22;
color: white;
}

/* Angled background effect */
.FirstBTF .text-container::before {
content: "";
position: absolute;
top: 0;
right: 0;
border-width: 100px; /* Adjust for angle size */
border-style: solid;
border-color: transparent transparent #fff transparent; /* Adjust colors */
display: block;
width: 0;
}.BTF1 {
width: 600px;
margin: 50px auto;
text-align: center;
font-family: sans-serif;
color: #294977;
}

.BTF1 p {
font-size: 20px;
line-height: 1.4;
}

.BTF1 a {
display: inline-block;
padding: 10px 20px;
text-decoration: none;
color: #294977;
border: 1px solid #E69138;
border-radius: 5px;
margin-top: 20px;
font-size: 16px;
}

.btf2 {
display: flex;
justify-content: space-around;
padding: 20px;
font-family: sans-serif;
}

.btf2-item {
width: 23%;
text-align: left;
}

.btf2-item h3 {
color: #E69138;
font-size: 1.2em;
margin-bottom: 10px;
}

.btf2-item h4 {
color: #294977;
font-size: 1.1em;
margin-bottom: 15px;
}

.btf2-item p {
font-size: 0.9em;
line-height: 1.4;
margin-bottom: 15px;
}

.btf2-item a {
color: #294977;
text-decoration: none;
font-size: 0.9em;
}

.btf2-item img {
width: 100%;
margin-bottom: 10px;
}

.btf2-item hr {
border: none;
border-bottom: 2px solid #294977;
width: 30px;
margin-left: 0;
margin-bottom: 10px;
}
.btf3 {
font-family: sans-serif;
padding: 20px;
}

.btf3 h2 {
color: #294977;
font-size: 1.5em;
margin-bottom: 20px;
}

.btf3-container {
display: flex;
justify-content: space-around;
}

.btf3-item {
width: 30%;
text-align: left;
}

.btf3-item img {
width: 100%;
margin-bottom: 10px;
}

.btf3-item h3 {
color: #294977;
font-size: 1.1em;
margin-bottom: 10px;
}

.btf3-item p {
font-size: 0.9em;
line-height: 1.4;
color: #555;
}

.btf3-item .label {
background-color: #E69138;
color: white;
padding: 5px 10px;
font-size: 0.8em;
border-radius: 3px;
display: inline-block;
margin-bottom: 5px;
}

.btf3-item .connect-button {
background-color: #E69138;
color: white;
padding: 10px 20px;
border: none;
border-radius: 5px;
font-size: 0.9em;
cursor: pointer;
margin-top: 10px;
}

.Footer {
background-color: #3E3E3E;
color: #fff;
font-family: sans-serif;
padding: 20px;
font-size: 0.8em;
}

.Footer-top {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
}

.Footer-links {
margin-top: 10px;
margin-bottom: 10px;
}

.Footer-links a {
color: #fff;
text-decoration: none;
margin-right: 10px;
}

.Footer-links a:not(:last-child)::after {
content: " | ";
margin-left: 10px;
}

.Footer-social {
display: flex;
align-items: center;
}

.Footer-social a {
color: #fff;
text-decoration: none;
margin-left: 10px;
border: 1px solid #fff;
border-radius: 50%;
width: 20px;
height: 20px;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.7em;
}

.Footer-bottom {
margin-top: 10px;
display: flex;
justify-content: space-between;
align-items: center;
}

.Footer-bottom-left {
display: flex;
align-items: center;
}

.Footer-bottom-left img {
width: 20px;
margin-right: 5px;
}

.Footer-bottom-right button {
background-color: #E69138;
color: #fff;
border: none;
padding: 10px 20px;
border-radius: 20px;
cursor: pointer;
font-size: 0.9em;
}

hr {
border-color: #555;
margin: 10px 0;
}
.fellowship-button {
  margin-left: 20px;
  display: flex;
  align-items: center;
}

.fellowship-link {
  background-color: #004080; /* deep blue */
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 64, 128, 0.2);
}

.fellowship-link:hover {
  background-color: #0059b3;
  transform: translateY(-2px);
}
/* Fellowship Button Styling */
.fellowship-link {
  background-color: #004080;
  color: white;
  padding: 10px 18px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 64, 128, 0.2);
}
.fellowship-link:hover {
  background-color: #0059b3;
  transform: translateY(-2px);
}

/* Popup Overlay */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 999;
  justify-content: center;
  align-items: center;
}

/* Popup Content */
.popup-content {
  background: white;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Apply Now Button */
.apply-button {
  display: inline-block;
  margin-top: 20px;
  background-color: #004080;
  color: white;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.apply-button:hover {
  background-color: #0059b3;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.deadline-info {
  margin: 15px 0;
  font-size: 14px;
  color: #333;
}
.deadline-info strong {
  color: #004080;
}
#countdown-timer {
  font-weight: bold;
  color: #b30000;
}
