@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --black: #000;
  --white: #fff;
  --secondary-white: #faf6f7;
  --primary-red: orange;
  --secondary-red: #301a22;
  --mid-red: rgba(255, 218, 185);
  --color-light: rgba(132, 139, 200, 0.18);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100%;
  font-size: 16px;
  background-color: white;
  color: var(--black);
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

.container {
  width: 90%;
  margin: 0 auto;
}

li,
a {
  text-decoration: none;
  list-style: none;
  color: none;
}

img {
  width: 100%;
}

/* Banner */
.banner {
  background-color: var(--primary-red);
  padding: 0.2rem 0rem;
  display: flex;
  align-items: center;
}

.banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-main {
  display: flex;
  gap: 2.8125rem;
}

.banner-content {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 10px;
  color: var(--white);
}

.banner-content p {
  font-size: 1rem;
  font-weight: 400;
  color: var(--white);
}

.banner-content p a {
  color: var(--white);
}

.banner-socials {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  gap: 20px;
  height: 100%;
  color: var(--white);
  font-size: 1rem;
}

.banner-socials a {
  display: flex;
  cursor: pointer;
  align-items: center;
  color: var(--white);
}

/* Navigation */
.banner-nav {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
  height: 115px;
}

nav {
  display: flex;
  align-items: center;
  background-color: var(--white);
  padding: 0rem 0rem;
}

.navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.nav-list li a {
  color: var(--black);
  font-size: 1rem;
  font-style: normal;
  font-weight: 500;
}

.nav-list li a:hover {
  color: var(--primary-red);
}

.menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--secondary-red);
}

/* Header section */
.header {
  width: 100%;
  position: relative;
  z-index: 900;
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/new-pics-3.jpeg");
  backdrop-filter: blur(20.5px);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 12rem 0rem;
  display: flex;
  align-items: center;
  margin-top: 115px;
}

.header-container {
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 1rem;
  color: #fff;
}

.header-title h1 {
  font-size: 3rem;
  font-weight: 800;
}

/* About Section */
.about {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.about-title {
  text-align: center;
}

.about-title h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-content_cont {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 3rem;
  align-items: center;
}

.about-cont_briefing {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.about-cont_briefing h1 {
  font-size: 1.5rem;
  font-weight: 800;
}

.about-cont_img {
  width: 50%;
}

.about-cont_img img {
  border-radius: 20px;
}

/* newsroom Section */
.news {
  background-color: var(--white);
  padding: 4rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-title {
  display: flex;
  flex-direction: column;
  justify-self: center;
  text-align: center;
  gap: 1rem;
}

.news-title h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.5rem;
}

.news-container {
  background-color: var(--secondary-white);
  border-radius: 10px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.news-content-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.news-content {
  background-color: white;
  width: 30%;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.news-video {
  height: 200px;
  background-color: #000;
  border-radius: 10px;
}

.news-video video {
  width: 100%;
  height: 100%;
}

.news-btn {
  padding: 5px 10px;
  border: 2px solid var(--primary-red);
  background-color: var(--primary-red);
  color: #fff;
  cursor: pointer;
  border-radius: 10px;
  font-weight: 400;
}

.news-btn:hover {
  background: transparent;
  color: var(--primary-red);
}

/* Services Section */

.services {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-white);
}

.services-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.services-title {
  text-align: center;
}

.services-title h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.services-content_container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.services-content {
  width: 30%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.services-content-icon {
  border: 2px solid var(--primary-red);
  border-radius: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
  width: 100px;
}

.services-content-icon i {
  font-size: 1.5rem;
  color: var(--primary-red);
}

/* Sponsor Section */
.sponsor-header {
  width: 100%;
  position: relative;
  /* z-index: 900; */
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../img/education-skill.jpeg");
  backdrop-filter: blur(20.5px);
  background-position: top;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 12rem 0rem;
  display: flex;
  align-items: center;
  margin-top: 115px;
}

.sponsor {
  background-color: var(--white);
  padding: 5.5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor-container {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  overflow: hidden;
}

.sponsor-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.sponsor-title h1 {
  font-size: 2.5rem;
}

.sponsor-content-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.sponsor-img {
  width: 25%;
  background-color: var(--secondary-white);
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
}

.sponsor-img img {
  width: 100%;
  height: 100%;
}

/* Career Page/section */
.career {
  padding: 5rem 0rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--secondary-white);
}

.career-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.career-title {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.career-title h1 {
  font-size: 2.5rem;
}

.career-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
}

.career_content-cont {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.career_cont {
  width: 50%;
  border: 1px solid #c4c4c4;
  border-radius: 10px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}

.career_requirement {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.career_requirement ul li {
  list-style: disc;
}

.requirement-title {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.career_cont-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.career_cont-title i {
  background-color: #eaf6e3;
  padding: 15px;
  border-radius: 5px;
}

/* Gallery Page */
.gallery {
  background-color: var(--white);
  padding: 5.5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  overflow: hidden;
}

.gallery-title {
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
}

.gallery-title h1 {
  font-size: 2.5rem;
}

.gallery-image-container {
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 20px;
  padding: 20px;
}

.gallery-image-cont {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  box-shadow: 3px 3px 5px lightgray;
  cursor: pointer;
}

.gallery-image-cont img {
  height: 100%;
  width: 100%;
}

.description {
  padding: 10px;
}

/* CSS for the modal */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  position: relative;
  z-index: 1;
  border-radius: 10px;
}

/* news */
.newsletter {
  padding: 3rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(85, 215, 85);
}

.newsletter-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.newsletter-title {
  text-align: center;
  color: var(--white);
}

.newsletter-title h1 {
  font-size: 2.5rem;
  font-weight: 800;
}

.newsletter-form {
  background-color: var(--white);
  padding: 10px;
  border-radius: 10px;
  width: 30%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.newsletter-inputs {
  width: 70%;
}

.newsletter-inputs input {
  width: 100%;
  border: none;
  padding: 5px;
  font-family: inherit;
}

.newsletter-inputs input:focus {
  outline: none;
}

.newsletter-button {
  width: 30%;
}

.newsletter-button button {
  width: 100%;
  background-color: rgb(85, 215, 85);
  border: 2px solid rgb(85, 215, 85);
  color: var(--white);
  padding: 5px;
  font-family: inherit;
  border-radius: 5px;
}

/* Footer Section */

.footer {
  padding: 1.5rem 0rem;
  display: flex;
  align-items: center;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: rgb(85, 215, 85);
}

.footer-socials {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  gap: 20px;
  height: 100%;
  color: rgb(85, 215, 85);
  font-size: 1rem;
}

.footer-socials a {
  display: flex;
  cursor: pointer;
  align-items: center;
  color: rgb(85, 215, 85);
}

/* Other Pages */
/* what page */
.what-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/achievement-bg.JPG");
}

.digital-program-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/digital-program.jpeg");
}

.program-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/achievement-bg.JPG");
}

.program {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-white);
}

.program-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.program-title {
  text-align: center;
}

.program-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
}

.program-content_container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Program Tabs */
.program_tabs {
  width: 100%;
  padding: 20px;
  margin: 0 auto;
}

.tabs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-radius: 10px;
  margin-bottom: 20px;
  padding: 20px;
  background: #fffbf8;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}

.tab-button {
  padding: 10px 20px;
  width: 100%;
  cursor: pointer;
  border: 2px solid inherit;
  border-color: transparent;
  background-color: inherit;
  font-family: inherit;
  transition: background-color 0.3s;
}

.tab-button:hover {
  border-bottom: 2px solid orange;
}

.tab-content {
  position: relative;
  background: #fffbf8;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px,
    rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
  border-radius: 10px;
  padding: 20px;
}

.tab-pane {
  display: none;
  flex-direction: row-reverse;
  gap: 2rem;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
}

.tab-pane.active {
  display: flex;
  opacity: 1;
  position: relative;
}

/* Tab title background and colors */
.tab_orange {
  background: #feebd5;
  color: orange;
}

.title_orange {
  color: orange;
}

.tab_green {
  background: #eaf6e3;
  color: #7bd825;
}

.title_green {
  color: #7bd825;
}

.tab_blue {
  background: lightblue;
  color: #27a0ff;
}

.title_blue {
  color: #27a0ff;
}

/* End Of Tab title background and colors */

.tab_title-tab {
  border: none;
  font-family: inherit;
  text-align: left;
  font-weight: 700;
  border-radius: 100px;
  padding: 12px 24px;
}

.tab_title-tab li {
  list-style: disc;
}

.tab-image {
  width: 50%;
  height: auto;
  margin-right: 20px;
}

.tab-image img {
  width: 100%;
  border-radius: 10px;
}

.tab-details {
  width: 50%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: flex-start;
}

.tab-details p {
  font-size: 15px;
  text-align: justify;
}

.tab-details h1 {
  font-size: 35px;
}

.tab_button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: orange;
  border: 2px solid orange;
  border-radius: 5px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
}

.tab_button:hover {
  background: orange;
  color: white;
}

/* Popup Advert */
.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  /* Ensure it's on top of everything */
  display: none;
  justify-content: center;
  align-items: center;
}

.popup-content {
  position: relative;
  width: 80%;
  max-width: 600px;
  background-color: white;
  padding: 20px;
  text-align: center;
}

#slideshowModal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 9999;
  /* Make sure the slideshow modal is also above everything */
  display: none;
}

.popup img {
  width: 100%;
  max-height: 400px;
}

/* Slideshow navigation */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 10px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  user-select: none;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
}

.next {
  right: 10px;
  border-radius: 3px;
}

.prev {
  left: 10px;
  border-radius: 3px;
}

.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Close button */
.closeNew {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  background-color: var(--primary-red);
  height: 50px;
  width: 50px;
  padding: 5px;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
}

.closeNew:hover,
.closeNew:focus {
  text-decoration: none;
  cursor: pointer;
}

/* Popup button */
.popup-button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: var(--primary-red);
  border: 2px solid var(--primary-red);
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-family: inherit;
}

.popup-button:hover {
  background-color: transparent;
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
}

.what {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-white);
}

.what-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.what-title {
  text-align: center;
}

.what-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
}

.what-content_container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.what-content {
  width: 30%;
  display: flex;
  flex-direction: column;
  text-align: center;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: #fff;
  border-radius: 10px;
  padding: 10px;
  height: auto;
}

.what-content_img {
  border-radius: 10px;
  height: 350px;
  width: 100%;
}

.what-content_img img {
  border-radius: 10px;
  height: 100%;
}

/* team page */
.team-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/new-teambg.png");
}

.team-title {
  text-align: center;
}

.team-title h1 {
  font-size: 1.5rem;
  font-weight: 800;
}

.team {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-white);
}

.team-container {
  display: flex;
  flex-direction: column;
  gap: 4.5rem;
  overflow: hidden;
}

.team-member-container {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  justify-content: center;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 30%;
  height: 100%;
  border-radius: 10px;
  padding: 20px;
  gap: 1rem;
  margin: 0;
}

.team-member-info {
  text-align: center;
}

.team-member-info a {
  text-decoration: none;
  color: #000;
}

.team-member-img {
  width: 100%;
  display: flex;
  justify-content: center;
}

.team-member-img img {
  width: 250px;
  height: 250px;
  border-radius: 400px;
}

/* Team Position */
.team-member-position {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.team-position-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  gap: 1rem;
}

.team-position-title h1 {
  font-size: 2rem;
  text-align: center;
}

.team-extra {
  border: 2px solid var(--primary-red);
  border-radius: 10px;
}

/* team page */
.contact-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/ocsf-team.jpeg");
}

.contact {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-white);
}

.contact-container {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
}

/* contact form */
.contact-form {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-div {
  width: 100%;
}

.opt {
  display: flex;
  gap: 1rem;
}

.form-input input,
textarea {
  border: 1px solid #c4c4c4;
  padding: 10px;
  width: 100%;
  font-family: inherit;
}

.extra {
  width: 50%;
}

/* contact info */
.contact-info {
  width: 50%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.info-socials_div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.info-icon i {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid var(--primary-red);
  padding: 10px;
  border-radius: 100px;
  color: var(--primary-red);
}

.form-title h2 {
  font-size: 2rem;
  font-weight: 800;
}

.info-title h2 {
  font-size: 2rem;
  font-weight: 800;
}

.info-title p {
  font-size: 0.9rem;
  font-weight: 400;
  color: #333;
}

.info-address {
  color: #333;
}

/* Donate Page */
.donate-header {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../images/ocsf-4.jpeg");
  background-position: center;
}

.donate {
  padding: 5rem 0rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--secondary-white);
}

.donate-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.donate-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.donate-title h1 {
  font-size: 2rem;
  font-weight: 800;
}

.account-info {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  margin: 20px 0;
  text-align: left;
}

.news-download {
  margin-top: 20px;
  text-align: center;
}

.news-download .news-btn {
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.news-download .news-btn:hover {
    color: var(--primary-red);
}

/* Button */
button {
  cursor: pointer;
}

.btn {
  background-color: var(--primary-red);
  border-radius: 100px;
  border: 2px solid var(--primary-red);
  padding: 12px 24px;
  color: var(--white);
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  text-transform: capitalize;
}

.btn:hover {
  background-color: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}

.btn-career {
  padding: 12px 24px;
  background-color: #7bd825;
  border-radius: 10px;
  border: 2px solid #7bd825;
  color: var(--white);
}

.btn-career:hover {
  background-color: transparent;
  color: var(--primary-red);
  border: 2px solid var(--primary-red);
}
