/*============== NAVBAR UPTO(272) ================*/

/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500&display=swap");

/*=============== VARIABLES CSS ===============*/
:root {
  --header-height: 3.0rem;

  /*========== Colors ==========*/
  /*Color mode HSL(hue, saturation, lightness)*/
  --white-color: hsl(0, 0%, 100%);
  --black-color: hsl(202, 63%, 17%); /* changeg from black 0,0%,0%*/
  --blue-color: hsl(202, 63%, 17%);

  /*========== Font and typography ==========*/
  /*.5rem = 8px | 1rem = 16px ...*/
  --body-font: "Montserrat Alternates" sans-serif;
  --h1-font-size: 1.5rem;
  --normal-font-size: .938rem;

  /*========== Font weight ==========*/
  --font-regular: 400;
  --font-medium: 500;

  /*========== z index ==========*/
  --z-tooltip: 10; 
  --z-fixed: 100;
}

/*========== Responsive typography ==========*/
@media screen and (min-width: 1150px) {
  :root {
    --normal-font-size: 1rem;
  }
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin-top: 80px; 
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--white-color);
  line-height: 1.3;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

/*=============== REUSABLE CSS CLASSES ===============*/
.container {
  max-width: 1120px;
  margin-inline: 1.5rem;
}

/*=============== HEADER & NAV ===============*/
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: var(--blue-color);
  z-index: var(--z-fixed);
}

.nav {
  position: relative;
  height: var(--header-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo {
  color: var(--white-color);
  font-weight: var(--font-medium);
}

.nav__close, 
.nav__toggle {
  display: flex;
  color: var(--white-color);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Navigation for mobile devices */
@media screen and (max-width: 1150px) {
  .nav__menu {
    position: fixed;
    left: -100%;
    top: 0;
    background-color: var(--black-color);
    width: 100%;
    height: 100%;
    padding: 6rem 3.5rem 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: left .4s;
  }

  .nav__item {
    transform: translateX(-150px);
    visibility: hidden;
    transition: transform .4s ease-out, visibility .4s;
  }

  .nav__item:nth-child(1) {
    transition-delay: .1s;
  }
  .nav__item:nth-child(2) {
    transition-delay: .2s;
  }
  .nav__item:nth-child(3) {
    transition-delay: .3s;
  }
  .nav__item:nth-child(4) {
    transition-delay: .4s;
  }
  .nav__item:nth-child(5) {
    transition-delay: .5s;
  }
}

.nav__list, 
.nav__social {
  display: flex;
}

.nav__list {
  flex-direction: column;
  row-gap: 3rem;
}

.nav__link {
  position: relative;
  color: var(--white-color);
  font-size: var(--h1-font-size);
  font-weight: var(--font-medium);
  display: inline-flex;
  align-items: center;
  transition: opacity .4s;
}

.nav__link i {
  font-size: 2rem;
  position: absolute;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s, visibility .4s;
}

.nav__link span {
  position: relative;
  transition: margin .4s;
}

.nav__link span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background-color: var(--white-color);
  transition: width .4s ease-out;
}

/* Animation link on hover */
.nav__link:hover span {
  margin-left: 2.5rem;
}

.nav__link:hover i {
  opacity: 1;
  visibility: visible;
}

.nav__link:hover span::after {
  width: 100%;
}

/* Sibling fade animation */
.nav__list:has(.nav__link:hover) .nav__link:not(:hover) {
  opacity: .4;
}

.nav__close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.nav__social {
  column-gap: 1rem;
}

.nav__social-link {
  color: var(--white-color);
  font-size: 1.5rem;
  transition: transform .4s;
}

.nav__social-link:hover {
  transform: translateY(-.25rem);
}

/* Show menu */
.show-menu {
  left: 0;
}

/* Animation link when displaying menu */
.show-menu .nav__item {
  visibility: visible;
  transform: translateX(0);
}

/*=============== BREAKPOINTS ===============*/
/* For large devices */
@media screen and (min-width: 1150px) {
  .container {
    margin-inline: auto;
  }

  .nav {
    height: calc(var(--header-height) + 2rem);
  }

  .nav__toggle, 
  .nav__close {
    display: none;
  }

  .nav__link {
    font-size: var(--normal-font-size);
  }

  .nav__link i {
    font-size: 1.5rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }

  .nav__menu {
    display: flex;
    align-items: center;
    column-gap: 3.5rem;
  }
}

footer {
	background-color: var(--blue-color);
  color: white;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  margin-top: auto;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
}

footer a:hover {
  text-decoration: underline;
}
/*============== NAVBAR FROM 1 UPTO(272) ================*/
/*============== Ezechiel UPTO(312) ================*/

.summary {
  margin-top: 10px;
	font-size: 16px;
	line-height: 25x;
}
.summary img {
	float: right;
	transition: transform 1s ease;
}
.summary img:hover {
	transform: scale(1.3);
}
section {
	padding: 10px 20px;
}
ol {
	margin: 20px
}
li b {
	color: #2F5A78;
}
li {
	margin-bottom: 5px;
}
h1 {
    text-align: center;
    background-color: #f1f0f0;
	font-size: 28px;
	text-transform: uppercase;
}

h2 {
	color: #2F5A78;
	font-size: 20px;
	padding-bottom: 2px;
	border-bottom: 1px dashed #2F5A78;
}

/*============== TABLE UPTO(326) ================*/
table, td, th {
    border: 1px solid black;
    margin-top: 10px;
  }
  
  table {
    border-collapse: collapse;
    width: 100%;
  }
  
  td {
    height: 40px;
    vertical-align: bottom; 
  }

 /*============== Home page UPTO(312) ================*/
 /* Reset some default browser styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body and basic layout */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f4f4f4;
}
/*to wrap the all thing*/
.page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
/* for main content to fit the page */
.content {
  flex: 1;
}

/* Container for each section */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Section 1: Image on Left, Description on Right */
.section-1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  background-color: #ffffff;
}

.image-container img {
  max-width: 100%;
  height: auto;
}

.description-container {
  max-width: 50%;
  padding-left: 20px;
}

.description-container h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.description-container p {
  font-size: 1rem;
  color: #555;
}

/* Section 2: Centered Image with Description */
.section-2 {
  text-align: center;
  padding: 40px 20px;
  background-color: #f4f4f4;
}

.section-2 h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-2 .image-link {
  display: inline-block;
  margin: 20px 0;
  text-decoration: none;
}

.section-2 img {
  max-width: 80%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.section-2 img:hover {
  transform: scale(1.05);
}

.section-2 p {
  font-size: 1rem;
  color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section-1 {
      flex-direction: column;
      text-align: center;
  }

  .description-container {
      max-width: 100%;
      padding-left: 0;
  }

  .section-2 img {
      max-width: 90%;
  }
}

@media (max-width: 480px) {
  .description-container h2 {
      font-size: 1.5rem;
  }

  .section-2 h2 {
      font-size: 1.5rem;
  }

  .section-2 p {
      font-size: 0.9rem;
  }
}

/* Scroll-to-top button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #4c5eaf;  /* You can adjust the color as needed */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  display: none;  /* Initially hidden */
  font-size: 16px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease-in-out;
}

.scroll-to-top:hover {
  background-color: #4c5eaf; /* Darker green when hovered */
}

.scroll-to-top:focus {
  outline: none; /* Remove the focus outline */
}

/* Contact-page */
.contact-form, .help-center {
  padding: 20px;
  margin: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form h2, .help-center h2 {
  font-size: 1.5em;
}

.form-group {
  margin-bottom: 15px;
}

label {
  display: block;
  font-weight: bold;
  margin-bottom: 5px;
}

input[type="text"], input[type="email"], textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

textarea {
  height: 150px;
  resize: vertical;
}

button {
  background-color: #1b243f;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover {
  background-color: #052174;
}

.help-center input[type="text"] {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}