/* CSS Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  height: fit-content;
  line-height: 1;
  font-family: 'Heebo';
  background: #e2e2e2;
  color: #000000;
}

button{
    cursor: pointer;
}

header{
    height: 130px;
    border-bottom: solid 3px gray;
    display: flex;
    justify-content: center;
      margin-top: 16px;
      padding-bottom: 16px;
}

footer{
  background-color: #91205C;
  height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a{
  color: white;
  font-weight: bold;
  font-size: x-large;
  text-decoration: none;
  transition: all ease 0.2s;
}

a:hover{
  filter: brightness(1.5);
}

.innerHeader{
    width: 70%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
}

.headerLogo{
  cursor: pointer;
  position: relative;
  bottom: 10px;
}

.headerLogoHref:hover{
  filter: brightness(1.2);
}

.headerBtnsDiv{
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-evenly;
    width: 100%;
}

.headerBtns{
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headerBtnsFirst{
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.headerButton {
    border: none;
    border-radius: 5px;
    background-color: transparent;
    font-size: 16px;
    color: rgb(71, 71, 71);
    transition: all 0.5s ease;
    text-decoration: none rgba(125, 125, 125, 0.5);
    cursor: pointer;
}

.headerButton:hover{
    text-decoration: underline;
}

main{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 30px 0;
}

.mainTitle{
  margin: 60px 30px 80px;
  font-size: 35px;
  direction: rtl;
  font-weight: 600;
}

.mainText{
  width: 1050px;
  display: flex;
  font-size: 30px;
  text-align: center;
  line-height: 1.3;
}

.mainTop{
  display: flex;
  justify-content: center;
  flex-direction: row-reverse;
  align-items: center;
}

.mainTopRight{
  direction: rtl;
  font-size: 30px;
  width: 600px;
}

.mainTopLeft{
  display: flex;
  align-items: center;
}

.mainImg{
  height: 265px;
  border-radius: 15px;
  margin: 0 20px 0 0;
}

.mainBottom{
  direction: rtl;
  margin: 30px 0; 
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 870px;
}

br{
  margin: 7px 0;
}

.lineSpacer{
  border-bottom: #4e4e4e solid 2px;
  margin: 35px 0 40px 0;
  width: 97%;
}

.mainLectureImg{
  width: 95%;
  border-radius: 25px;
  margin: 0 0 30px 0;
}

/* Gallery Toggle Button */
.gallery-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto;
  padding: 15px 60px;
  background: linear-gradient(135deg, #91205C, #b82e7a);
  color: white;
  border: none;
  border-radius: 50px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(145, 32, 92, 0.3);
  font-family: 'Heebo', sans-serif;
  letter-spacing: 3px;
}

.gallery-toggle-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(145, 32, 92, 0.4);
}

.gallery-toggle-btn.active {
  background: linear-gradient(135deg, #b82e7a, #91205C);
}

.gallery-btn-icon {
  font-size: 20px;
}

/* Image Grid Styles */
.image-gallery-section {
  padding: 40px 20px;
  background-color: #f8f8f8;
  margin: 20px 0;
  border-radius: 30px;
}

.gallery-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #333;
  font-weight: 300;
}

.image-grid {
  display: flex;
  flex-wrap: wrap;
  padding: 0 4px;
  max-width: 1200px;
  margin: 0 auto;
  direction: rtl;
}

.grid-column {
  flex: 25%;
  padding: 0 4px;
}

.gallery-image {
  width: 100%;
  margin-top: 8px;
  vertical-align: middle;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Responsive adjustments for the image grid */

@media (max-width: 1050px) {
  .grid-column {
    flex: 50%;
  }
  
  .gallery-title {
    font-size: 2rem;
  }
}

@media (max-width: 570px) {
  .grid-column {
    flex: 100%;
  }
  
  .gallery-title {
    font-size: 1.8rem;
  }
  
  .image-gallery-section {
    padding: 20px 10px;
  }
}

/* Lightbox Styles */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #bbb;
}

/* Prevent image dragging in lightbox */
.lightbox-content {
  pointer-events: none;
}
/*  */

.mainContact{
  width: 100%;
  border: solid 5px gray;
  border-left: none;
  border-right: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 28px 0;
}

.mainContactText{
  font-size: 36px;
  margin: 0 0 28px 0;
}

.mainContactButtons{
  width: 55%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mainContactBtn{
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 2px 15px 3px;
  background: none;
  white-space: nowrap;
  width: 340px;
  transition: all ease 0.05s;
  box-shadow: 3px 3px 3px #a7a7a7;
}

.mainContactBtn:hover{
  scale: 1.015;
  filter: none;
}

.mainContactBtnImg{
  width: 48px;
  padding: 8px 10px 0 12px;
}

#whatsappBtn {
  color: #25D366;
  border: 2px solid #25D366;
  border-radius: 30px;
}
#phoneBtn {
  color: #91205C;
  border: 2px solid #91205C;
  border-radius: 30px;
}
#emailBtn {
  color: #000;
  border: 2px solid #000;
  border-radius: 30px;
  
}

.mainPodcast{
  background-color: #b1b1b1;
  margin: 60px 0;
  padding: 5px 0;
  width: 90%;
  border-radius: 45px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  font-size: 35px;
  line-height: 3;
  box-shadow: 3px 3px 3px #a7a7a7;
  overflow: visible;
}

iframe{
  height: 400px;
  width: 70%;
  
}

.parent {
  width: 90%;
  margin: 0 30px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: 18px;
  grid-row-gap: 0px;
  }
  
  
.div1 { grid-area: 1 / 1 / 2 / 2; }
.div2 { grid-area: 1 / 2 / 2 / 3; }
.div3 { grid-area: 1 / 3 / 2 / 4; }
.div4 { grid-area: 1 / 4 / 2 / 5; }
.div6 { grid-area: 1 / 5 / 2 / 6; }
.div7 { grid-area: 1 / 6 / 2 / 7; }
  
  

.shortsIframes{
  border-radius: 15px;
  width: 100%;
  box-shadow: 4px 5px 24px 1px rgba(0,0,0,0.64);
  aspect-ratio: 9/16;
  max-width: 100%;
  height: auto;
}



.footerLogo{
  margin: 0 8px 0 0;
}

.footerLink:hover{
  color: gray;
}

.p2Main{
  margin: 0 0;
}


.p2MainImgNText{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  overflow: hidden;
}

.p2MainImg{
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
}

.p2MainImgText{
  font-weight: 900;
  font-size: 40px;
  position: absolute;
  top: 50%;
  left: 60%;
  transform: translate(-50%, -50%);
  z-index: 100;
  direction: rtl;
  width: 228px;
  white-space: nowrap;
}

.p2MainBody{
  justify-content: space-evenly;
  display: flex;
  width: 1100px;
  margin: 60px 0;
}

.p2MainBodyContainer{
  height: 670px;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  min-width: 500px;
  max-width: 500px;
  direction: rtl;
  font-size: 30px;
}

.p2MainBodyImgs{
  width: 500px;
  border-radius: 15px;
}

.p3MainBody{
  align-items: center;
  justify-content: space-evenly;
  display: flex;
  flex-direction: column;
  width: 1100px;
  margin: 60px 0;
}

.p3MainContainerItem{
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  width: 80%;
  border-bottom: solid 1px gray;
  padding-bottom: 5px;
  margin: 60px 0;
}

.p3TextSpan{
  color: #FFEF98;
  font-size: 130px;
  line-height: 0;
  position: absolute;
  rotate: 1deg;
  top: 86px;
  right: -12px;
  pointer-events: none;
}

.p3Container{
  width: 40%;
}

.p3ContainerRight{
  font-size: 32px;
  line-height: 1.3;
  direction: rtl;
  position: relative;
  margin-bottom: 40px;
}

.p3ContainerRightBottom{
  width: 100%;
  display: flex;
  justify-content: end;
  margin-top: 20px;
}

.p3ContainerRightText{
  font-size: 17px;
  color: #4e4e4e;
}

.p3ContainerLeft{
  display: flex;
  flex-direction: column;
  align-items: center;
}

.p3ContainerImg{
  border-radius: 15px;
}

.p3ContainerLeftText{
  margin-top: 10px;
}

.p33rdContainer{
  font-size: 25px;
}

.p33rdTextSpan{
  top: 73px;
}

.p3BottomGrid{
  background-color: white;
  padding: 0 0 40px 0;
  display: flex;
  flex-direction: row;
}

.gridSide{
  width: 100%;
  padding: 0 2px;
}

.gridImg{
  width: 100%;
}




.feedback-input {
  color:white;
  font-size: 18px;
  border-radius: 5px;
  line-height: 22px;
  background-color: transparent;
  border:2px solid #91205C;
  transition: all 0.3s;
  padding: 13px;
  margin-bottom: 15px;
  width:100%;
  box-sizing: border-box;
  outline:0;
}

.feedback-input:focus { border:2px solid #91205C; }

textarea {
  height: 150px;
  line-height: 150%;
  resize:vertical;
  font-family: Arial, Helvetica, sans-serif;
}

[type="submit"] {
  width: 100%;
  background:#91205C;
  border-radius:5px;
  border:0;
  cursor:pointer;
  color:white;
  font-size:24px;
  padding-top:10px;
  padding-bottom:10px;
  transition: all 0.3s;
  margin-top:-4px;
}







@media (max-width: 1600px) {
  .mainContactButtons{
    width: 88%;
    justify-content: space-evenly;
  }
}

@media (max-width: 1056px) {
  .mainText{
    width: 90%;
  }
  .mainImg{
    margin-right: 20px;
  }
  .p2MainBody{
    width: 700px;
    align-items: center;
    justify-content: center;
  }
  .p2MainBodyContainer{
    max-width: 400px;
    min-width: 400px;
    font-size: 23px;
    margin: 0 10px;
  }
  .p2MainBodyImgs{
    width: 400px;
  }
  .p3MainBody{
    width: auto;
  }
}

@media (max-width: 980px) {
  .innerHeader{
    width: 95%;
    margin-right: 40px;
}
  .mainContactButtons{
    flex-direction: column;
    height: 220px;
  }

  .p3MainBody{
    margin-top: 0;
  }

  .p3MainContainerItem{
    flex-direction: column;
    border: none;
    width: fit-content;
    margin: 0 0 60px 0;
  }
  .p3Container{
    width: 360px;
  }
  .p3ContainerImg{
    width: 360px;
  }
}

@media (max-width: 860px){
  .p2MainBody{
    flex-direction: column-reverse;
  }
  .p2MainBodyContainer{
    text-align: center;
    font-size: 27px;
    height: fit-content;
    margin: 0 0 20px 0;
    max-width: 540px;
    min-width: 540px;
  }
  .p2MainBodyImgs{
  width: 450px;
  margin: 15px 0;
  }
  .p3BottomGrid{
    flex-direction: column;
  }
  .mainTitle{
    font-size: 27px;
    text-align: center;
  }
}

@media (max-width: 780px){
    .mainTop{
      flex-direction: column;
    }
    .mainImg{
      margin: 30px 0 0 0;
    }
    .p2MainImgText{
      left: 55%;
    }
    .p2MainBody{
      width: 100%;
    }
    .parent{
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .shortsIframes{
      aspect-ratio: 16/9;
    }
    .headerBtnsDiv {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      width: 100%;
      justify-items: center;
      direction: rtl;
    }
}

@media(max-width: 620px) {
  .mainTopRight{
    width: auto;
  }
}

@media (max-width: 570px) {
  .p2MainImgText{
    left: 50%;
  }
  .p2MainBodyContainer{
    font-size: 25px;
    max-width: 450px;
    min-width: 450px;
  }
}

@media (max-width: 480px) {
  .p2MainBodyContainer{
    font-size: 22px;
    max-width: 100%;
    min-width: 100%;
    padding: 0 20px;
  }
  .p2MainBodyImgs{
    width: 80%;
  }
}

@media (max-width: 440px) {
  .innerHeader{
    margin: 0;
  }
}

@media (max-width: 400px) {
  .mainPodcast{
    font-size: 26px;
  }
}

@media (max-width: 370px) {
  .headerLogoHref{
    display: none;
  }
}