

@font-face {
  font-family: 'archivo';
  src: url('/fonts/archivoBlack.ttf') format('truetype');
}

@font-face {
  font-family: 'hebrew';
  src: url('/fonts/Open\ Sans\ Hebrew\ Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'work';
  src: url('/fonts/WorkSans-Thin.ttf') format('truetype');
}

@font-face {
  font-family: 'sweet';
  src: url('/fonts/SweetGetawayDemoRegular-2XyK.ttf') format('truetype');
}


@font-face {
  font-family: 'pala';
  src: url('/fonts/palr45w.ttf') format('truetype');
}

@font-face {
  font-family: 'monts';
  src: url('/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
}


* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  margin: 0 auto;
}

html{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
    max-width: 1200px;
}

nav{
   height: 3rem ;
   width: 100%;
   background-color: #2f3d7c;
   display: flex;
   justify-content: space-between;
   position: fixed;
   top: 0;
   left: 0;
   z-index: 5;
}

.logox{
    width: 3rem;
    margin-top: .02rem;
    margin-left: 2rem;
}

.nav__list{
    display: flex;
    color: #fff;
    text-decoration: none;
    list-style: none;
    margin-right: 2rem;
    position: relative;
      
}

.nav__list{
position: relative;
top: 50%;
transform: translate(0, -50%);
}



.nav-link {
  font-family: sans-serif;
  font-size: 1rem;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-left: 10px;

 
}

.nav-link.active {
  font-size: 1rem;
  color: gold;
}

.nav__list a:hover{
    color: gold;
    font-size: 1rem;
}

.hero{
   
    width: 100%;
    height: 80vh;
    background-image: url(images/homepic.png);
    background-position: center;
    background-size: cover;
    position: relative;
}

.clip{
  margin-top: 3.5rem;
    width: 60%;
    height: 100%;
    background-image: linear-gradient(rgba(0,0,0, .8));
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.subtitle{
    color: gold;
    font-size: 1rem;
    text-decoration: underline;
    text-decoration-color: blue;
}

.welcome-english{
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 4rem;
    color: #fff;
    margin-top: -15px;
}

.welcome-messages{
    margin-top: -1.7rem;
}

.welcome-hebrew{
    color: blue;
    font-size: 3rem;
}
.heb{
    margin-top: -2.3rem;
    
}

.welcome-hebrew{
    color: blue;
    
}
.subtitle{
    margin-top: -1.7rem;
}

.nasenyi-span{
    color: gold;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 5rem;
}

.learn{
  margin-top: -2px;
    font-size: 1rem;
    background-color: blue;
    color: gold;
    border: none;
    padding: 2px;
    border-radius: 2px;
}

.deco1 {
  width: 100%;
  height: 15vh;
}
.deco1 .top1 {
  width: 100%;
  height: 15vh;
  z-index: -1;
  background-color: #2f3d7c;
  clip-path: polygon(0 0, 0 100%, 100% 0);
}
.deco1 .top2 {
  width: 100%;
  height: 15vh;
  background-color: rgb(0, 0, 114);
  clip-path: polygon(100% 0, 100% 44%, 100% 54%, 0 100%, 0 72%);
  margin-top: -15vh;
  z-index: 20;
}
.deco1 .top3 {
  width: 100%;
  height: 15vh;
  border: 1px solid #FFD700;
  background-color: #2f3d7c;
  clip-path: polygon(99.8% 55%, 52% 85%, 99.8% 100%);
  background-color: #FFD700;
  margin-top: -17vh;
}

.main{
    font-family: 'pala', sans-serif;
    font-size: 1rem;
    width: 80%;
    height: 40vh;
    position: relative;
    top: 0;
    left: 50%;
    transform: translate(-50%);
}

h3, .shalom1{
    color: blue;
    margin-bottom: 1.2rem;
}


.shalom1 {
    display: inline-block;
    position: relative;
    font-weight: bold;
    text-align: left;
    text-decoration: underline;
    text-decoration-color: gold;
    text-decoration-thickness: 1px;
  }
 
  

  .village{
    margin-top: 3rem;
  }

  .community{
    width: 100%;
  }


  .card__holder{
    width: 70%;
    display: flex;
    flex-direction: row;
    gap: 5%;
    margin-bottom: 1.5rem;
    margin-left: 15%;
  }
  .card{
    width: 30%px;
  }
  .community__img{
    width: 100%;
    
  }

  .text__holder1 {
    font-family: 'pala', sans-serif;
    color: #fff;
    border: .5px solid gold;
    border-radius: 3px;
    font-size: 1rem;
    word-spacing: 1.5px;
    font-weight: 400;
    hyphens: auto; 
    word-wrap: break-word; 
    overflow-wrap: break-word; 
    width: 98%;
    margin: 0 auto; 
    margin-bottom: 2px;
    padding: 2px;
}

.section__main{
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.our__community{
    text-align: center;
    color: #0000ff;
    text-decoration: underline;
    font-family: 'pala', sans-serif;
    font-size: 1rem;
    font-weight: 100;
    letter-spacing: -.55px;
}

.title__head{
  color: #fff;
    text-decoration: underline;
    text-decoration-color: gold;
    text-underline-offset: 4px;
    text-decoration-thickness: .5px;
    font-size: 1rem;
    font-weight: 600;
}

.card{
  border: .5px solid rgba(0,0,0, .1);
  border-radius: 3px;
  background-color: #2323b8;
}



.image-container {
  width: 10%;
  display: flex;
  justify-content: center;
  margin-top: -10px;
  position: relative;
  left: 50%;
  transform: translate(-50%);
  
}



.caption {
  margin-top: -.4px;
  font-size: 5px;
  color: #000;
}








.about__info{
  margin-bottom: -1.5rem;
}
.about-us{
  background-color: #87cefa;
  padding: 3px;
}
/* Style for the logo inside story */
.logo__story {
  max-width: 100px;
  display: block;
  margin-top: 10px;
}

/* Style for the Jacob span */
.jacob {
  display: block;
  margin-top: 10px;
  font-style: italic;
}

.about-us {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "box1 box2 box2"
    "box3 box2 box2";
  gap: 10px;
}

/* Assign grid areas */
.box1 { grid-area: box1; }
.box2 { grid-area: box2; }
.box3 { grid-area: box3; }

.box {
  background: #f0f0f0;
  border-radius: 12px;
 
  text-align: center;
}

/* Style for the logo image */
.logo__story {
  max-width: 15px;
  width: 100%; /* ensures it scales down if needed */
  height: auto;
  display: block;
  margin: 0 auto; /* center the logo if desired */
}

/* Container for the logo */
.image-container {
  display: flex;
  justify-content: center; /* center the logo */
  margin: 10px 0; /* space around the image */
}

/* Style for the caption */
.caption {
  text-align: center;
  font-size: 0.9rem; /* slightly smaller font size */
  color: #555; /* muted color for captions */
  margin-top: 5px;
}

.flashup5{
  width: 80%;
}

.text-column {
  transform: translate(5%);
  width: 90%;
  columns: 2;
  padding-top: 5px;
  font-family: 'pala', sans-serif;
  font-size: 1rem;
  color: #222;
  line-height: 1;
}

.storm{
  width: 100%;
  font-family: 'pala', sans-serif;
  font-size: .9rem;
  color: #0000ff;
  line-height: 1;
}

.text-column p {
  margin-bottom: 1rem;
  text-align: justify;
  -webkit-hyphens: auto;
     -moz-hyphens: auto;
      -ms-hyphens: auto;
          hyphens: auto;
}

.text-column {
  font-size: .9rem;
  font-weight: 400;
  break-after: avoid;
  hyphens: auto;
}

.text{
   font-size: 1rem;
  font-weight: 600;
  color: blue;
 
}










 
.lastqn {
  margin-top: 3rem;
  background-image: url('/images/queries__img.png');
  background-size: cover;        /* Cover the entire element */
  background-position: center;   /* Center the image */
  background-repeat: no-repeat; /* Prevent tiling */
  width: 100%;                   /* Make sure it spans full width */
  height: 60vh;                 /* Optional: full viewport height, adjust as needed */
}

.boardqn{
  width: 40%;
  height: 90%;
  background-color: rgba(0,0,0, .4);
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.qns{
  font-size: 2rem;
  text-align: center;
  margin-top: -10px;
}

.p__qn{
  color: gold;
  text-align: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
}

.qn-btn{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  background-color: #1d1dc8;
  color: gold;
  border: .5px solid black;
  text-align: center;
  margin: 0 50%;
  transform: translate(-50%);
  border-radius: 1px;
  }

footer{
  margin-top: 2rem;
  width: 100%;
  height: 40vh;
  background-color: #2f3d7c;
  display: flex;
  justify-content: space-between;
}

li{
  list-style: none;
  margin-top: -9px;

  
}

.footer__nav{
  margin-top: 1.5rem;
}
    
.tel, .mail, .loc{
  font-family: sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: .7;
  color: #fff;
  margin-top: -4px;

  @media(max-width:530px){
   font-size: .7rem;
  }
}


.footer__contact{
  font-family: sans-serif;
  color: #fff;
  font-size: .7rem;
}

.footer__logo{
  width: 20%;
  margin-top: 2.5%;
}

.logox__footer{
 
  max-height: 80%;

  @media(max-width:1025px){
   width: 90%;
  }
}



.top{
  width: 100%;
  height: 40vh;
  margin-top: 3rem;
  background-image: url('/images/aboutpic.png');
  background-size: 98%;
  background-position: center;
  background-repeat: no-repeat;
}

.top__heading{
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: gold;
  background-color: rgba(0,0,0, .5);
  width: fit-content;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.about-head {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 2fr 2fr;
  margin-top: 1rem;
  grid-template-rows: 20vh 45vh;
  grid-template-areas:
    "box1 box1 box2"
    "box1 box1 box3";
  gap: 10px;
}

/* Assign grid areas */
.box1 { grid-area: box1; }
.box2 { grid-area: box2; }
.box3 { grid-area: box3; }

.box {
  background: #f0f0f0;
  border-radius: 12px;
  border: 1px solid red;
  text-align: center;
}

#box1{
  background-image: url('/images/pastorjew.png');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.title{
  text-decoration: underline;
  color: blue;
  font-family:  sans-serif;
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 0;
}

.box2, .box3{
  background-color: rgb(230, 226, 221);
  border: .1px solid blue;
  border-radius: 3px;
}

.mission{ 
  font-family: 'monts';
  font-size: 1rem;
  margin-top: -1rem;
}
 
.box3-p{
  font-family: 'monts', sans-serif;
  font-size: .3rem;
  margin-top: -1rem;
  margin-bottom: 0;
}

.values-container {
  margin-top: -2.9rem;
    margin-left: -1.9rem;
   font-size: .3rem;
    font-family:'monts', sans-serif;
    margin-bottom: 0;
  }

  /* Make .v stand out */
  .v {
    font-weight: 900;
    color: #0398fa; /* Example color, change as desired */
    font-size: .8rem;
  }

  /* Style for the list */
  ul {
    list-style-type: disc;
    margin: 0;
  }

  li {
    line-height: 1;
    font-family: 'monts', sans-serif;
    font-size: 1rem;
    margin-bottom: 10px;
  }

.topsectionheading{
  width: 60%;
 
  text-align: center;
  margin-left: 50%;
  transform: translate(-50%);
}
.about__heading{
  color: blue;
  background-color: #fff;
  font-size: 2rem;
  font-weight: 600;
}

/*about main text*/


 /* Container for page content */
  .page-content {
    font-family: Arial, sans-serif;
    background-color: #f0f8ff; /* Light blue background */
    color: grey;
    margin: 3px;
    line-height: 1;
  }

  /* Headings */
  .section-heading {
    color: #003366; /* Deep blue */
    font-size: .9rem;
    
  }

  /* Subheadings */
  .subheading {
    color: #003366;
   font-size: 1.2rem;
   text-decoration: underline;
   text-decoration-color: gold;
  }

  /* Paragraphs */
  .paragraph {
    margin-bottom: 5px;
    font-size: 1rem;
    word-spacing: .2px;
  }

  /* Emphasized "HISTORY" with animated underline */
  .history {
    text-decoration: underline;
    text-decoration-color: gold;
    text-decoration-thickness: 1px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    font-size: 1rem;
    color: #003366;
  }

  /* Optional: Additional styles for list items if needed */
  ul {
    margin-left: 2px;
    margin-bottom: 5px;
  }
  .issues{
    margin-top: 5px;
    margin-bottom: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    color: #000;
  }

  .music{
    color: blue;
    font-size: 1rem;
  }

  /* Link styles */
  a {
    color: #003366;
    text-decoration: none;
  }

  a:hover {
    text-decoration: underline;
  }


/* project */

.project{
  width: 95%;
  height: 41vh;
  border: 1px solid #000;
  border-radius: 2px;
  margin-top: -1.5rem;
  background-color: #003366;
  display: flex;
  
}

@media (max-width: 111px) {
  #education,
  #agric-text {
    height: 50vh;
  }
}

@media (max-width: 655px) {
  #education,
  #agric-text,
  .project {
    height: 65vh;
  }
}


.projectcard-holder{
  margin-left: 3rem;
}
.project-img{
  width: 30%;
}



.project-pic{
  width: 90%;
  max-height: 100%;
  border: .5px solid gold;
  border-radius: 2px;
}

.project-heading{
  color: blue;
}

.project-text1{
  width: 40%;
  font-family: Arial, Helvetica, sans-serif;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
 


}



.project-btn{
  width: 30%;
  position: relative;
  
}

#health-btn, #educ-btn{
  width: 25%;
}
#health-text, #agric-text1, #educ-text{
 width: 35%;
 font-size: 1rem;
}
#health-img, #educ-img{
  width: 40%;
}

.support{
  font-family: Arial, Helvetica, sans-serif;
  font-size: .8rem;
  border: .5px solid goldenrod;
  background-color: #bca001;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* contact page */


 .contact {
    width: 95%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
    flex-direction: row; /* default for large screens */
    font-family: Arial, Helvetica, sans-serif;
  }

  @media (max-width: 768px) {
    section.contact {
      flex-direction: column; /* stack vertically on small screens */
    }
  }

  .contactus {
    flex: 1 1 35%;
    min-width: 250px;
    padding: 10px;
    background-color: #f2f2f2;
    border-radius: 8px;
  }

  .contactus h5 {
    margin-bottom: 10px;
  }

  .tp1, .tp2, .tp3 {
    margin-bottom: 15px;
  }

  .touchi {
    font-weight: bold;
  }

  .touchp {
    margin: 5px 0 0 0;
  }

  .box22 {
    flex: 1 1 60%;
    min-width: 300px;
    padding: 10px;
    background-color: #e0e0e0;
    border-radius: 8px;
  }

  .contacto {
    font-size: 1.5em;
    margin-bottom: 15px;
  }

  form {
    display: flex;
    flex-direction: column;
  }

  label {
    margin-top: 10px;
    margin-bottom: 5px;
    font-weight: bold;
  }

  input[type="text"],
  input[type="email"],
  input[type="tel"],
  textarea,
  select {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ccc;
  }

  textarea {
    resize: vertical;
  }

  .phone-input {
    display: flex;
    align-items: center;
    margin-top: 5px;
  }

  .flag {
    width: 30px;
    height: 20px;
    margin-right: 10px;
    object-fit: cover;
    border: 1px solid #ccc;
    border-radius: 3px;
  }

  button {
    margin-top: 15px;
    padding: 10px;
    background-color: #4CAF50;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
  }

  button:hover {
    background-color: #45a049;
  }

  .phone{
    margin-left: 15px;
  }


  .closer {
  margin-top: 1rem;
  width: 90%;
  height: 45vh;
  margin-left: 5%;
  display: flex;
}
.closer .left .left1{
  width: 70%;
  height: 100%;
  background-color: #2f3d7c;
  padding: 5px;
  border: 1px solid #FFD700;
  border-radius: 5px;
}

.why{
  margin-top: -22px;
}
.closer .left .textleft .left1 {
  margin-top: -5px;
  font-family:  sans-serif;
  font-size: .9rem;
  color: #fff;
}
.closer .left .why .left1 {
  font-weight: 600;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: #FFD700;
}
.closer .cert .cert__img {
  width: 80%;
  max-height: 100%;
}

/* Default styles */
.left {
  display: block; /* or whatever your default display is */
}
.left1 {
  display: none;
}

/* Media query for widths below 913px */
@media (max-width: 912px) {
  .left {
    display: none;
  }
  .left1 {
    display: block;
  }
}