/* General Styles */
.arapey-regular {
  font-family: "Arapey", serif;
  font-weight: 400;
  font-style: normal;
}

.arapey-regular-italic {
  font-family: "Arapey", serif;
  font-weight: 400;
  font-style: italic;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #0f3460;
  color: #333;
}

.container-fluid2 {
  width: 100%;
  max-width: 1450px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 10px;
  padding-right: 10px;
}
.container-fluid {
  width: 100%;
  max-width: 1450px;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header {
  background: #d9d9d9;
  color: #0f3460;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: "Arapey", serif;
  font-size: rem;
  font-weight: bold;
  align-items: center;
  display: inline-flex;
  justify-content: space-between;
}
.logo > img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: inline-flex;
  margin: 0 10px;
}
.nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
}

.nav-links li {
  margin-left: 20px;
}

.nav-links a {
  color: #0f3460;
  text-decoration: none;
  font-size: 1rem;
}

.nav-links a:hover {
  color: whitesmoke;
  display: inline-block;
  position: relative;
  padding: 5px 10px;
  transition: 0.3s;
  background-color: rgba(0, 0, 0, 0.1); /* Adds a light box */
  border-radius: 5px;
}
.mobile2{
  display: none;
}
#home{
  display: flex;
  position: relative;
}
.container-2 {
  position: relative;
  display: flex;
  color: whitesmoke;
  height: fit-content;
  padding-bottom: 20px;
  justify-content: center;
  width: 100%;
}
#about {
  background-color: #3c5b80;
  color: whitesmoke;
  width: 25%;
  text-align: center;
  position: absolute;
  left: -400px; 
  top: 0;
  height: 100%;
  transition: left 0.3s ease-in-out;
}

#about.active {
  left: 0;
}

.container-2.shifted .main-content1 {
  margin-left: 400px; 
  transition: margin-left 0.3s ease-in-out;
}

.sidebar-header {
  padding: 15px;
  width: 100%;
  background-color: #2f4d72;
}
.profile {
  margin-top: 50px;
}
.profile > img {
  margin: 10px;
  width: 200px;
  height: 200px;
  background-color: whitesmoke;
  border-radius: 70%;
  border-width: 10px;
}
.stats {
  width: 85%;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.stat {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.skills {
  width: 85%;
  margin: 20px auto;
  display: flex;
  flex-direction: row;
  gap: 5px;
  text-align: left;
  padding: 10px;
}
.skill {
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.skil {
  text-align: justify;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile {
  color: #ffc107;
}
.profeil{
  color: #ffc107;
}
.progresses  {
  background-color: #f9f9f9;
  border-radius: 10px;
  height: 10px;
}

.bar {
  background-color: #ffc107;
  height: 10px;
  border-bottom-left-radius: 10px;
  border-top-left-radius: 10px;
}
.bar1 {
  width: 90%;
}
.bar2 {
  width: 70%;
}
.bar3 {
  width: 50%;
}
.bar4 {
  width: 85%;
}
.bar5 {
  width: 55%;
}
.bar6 {
  width: 85%;
}
.cv{
  color: whitesmoke;
}
.main-content {
  width: 80%;
}
.main-content1{
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.head{
  width: 100%;
  max-width: 1600px;
  height: 400px;
  
  align-items: center;
  background-image: url(./assets/images/meadow-with-mountain-seen-from-wooden-table.jpg);
}
.header {
  height: 90%;
  padding-top: 60px;
  display: flex;
  flex-direction: column;
  text-align: left;
  justify-content: center;
  margin: auto;
  
}
.header>h1{
  font-size: 3.5rem;
  width: 60%;
}
button {
  width: fit-content;
  background: #ffc107;
  color: #121212;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
#stats-bar {
  width: 90%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.sta {
  color: whitesmoke;
  padding-left: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.st {
  color: #ffc107;
  font-size: 1.5rem;
}
#explore{
  color: #333;
}
.main-content2 {
  width: 97%;
  margin-bottom: 30px;
  margin-top: 30px;
}
#services {
  padding-left: 20px;
}
.row2{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
}
.service-card {
  background: #2f4d72;
  padding: 20px;
  border-radius: 10px;
  margin: 10px;
}
.row1 {
  --bs-gutter-x: 0rem;
  width: 100%;
}
.serv{
  color: #ffc107;
}
#about3{
  display: none;
}
#project {
  display: flex;
  flex-direction: column;
  background-color: #2f4d72;
  height: 100%;
  align-items: center;
}
.carousel-item{
  height: fit-content;
}
.card-titl{
  color: #ffc107;
  margin-top: 20x;
  padding-top: 40px;
  margin-left: 20x;
  padding-left: 50px;
  text-align: left;
  
}
.card-body{
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.card-title{
  color: #0f3460;
  text-transform: uppercase;
  font-weight: bold;
  text-align: left;
}
.card-text{
  text-align: justify;
  padding: auto;
  color: #333;
  align-items: stretch;
}
.btn-primary{
  background-color: #2f4d72;
  border-color: #2f4d72;
  color: #ffc107;
}

.display{
  display: flex;
  flex-direction: row;
  width: 1100px;
  margin: auto;
  gap: 40px;
  align-items: center;
  justify-content: center;
  justify-items:  center;
}
.project-content{
  display: flex;
  flex-direction: column;
  background-color: whitesmoke;
  margin: 50px 0px;
  height: 650px;
  align-items: center;
  justify-items: center;
  
}

.card-img-top{
  justify-content: center;
  align-items: center;
  justify-items: center;
  margin: 25px 25px;
  width: 550px; 
  height: 400px;
}

.img{


}
#projectpage{
  display: none;
}
.project3{
  display: none;
}
#contact {
  display: flex;
  background-color: #d9d9d9;
  height: 100%;
  justify-content: center;
  align-items: center;
}

.cont {
  display: inline-flex;
  flex-direction: column;
  width: 70%;
  background-color: #2f4d72;
  color: #ffc107;
  margin: 50px;
  height: 500px;
  border-radius: 20px;
}
.row{
  justify-content: space-evenly;
}
.bout {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
.but {
  width: 50%;
  padding-left: 20px;
}
.contact {
  display: flex;
  flex-direction: column;
  margin-top: 30px;
  margin-left: 10px;
  gap: 20px;
}
.fil {
  text-decoration: none;
  color: aliceblue;
}
.contact-content {
  display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 20px;
    padding-top: 15px;
}
.contact-content > img {
  filter: brightness(0) saturate(100%) invert(70%) sepia(94%) saturate(565%)
    hue-rotate(343deg) brightness(100%) contrast(103%);
}
a {
  text-decoration: none;
  color: aliceblue;
  align-items: center;
}
#map{
  width: 80%;
}
.map{
  width: 100%;
  height: 100%;
  
}
footer {
  text-align: center;
  background: whitesmoke;
  color: #0f3460;
  padding: 1rem;
  height: fit-content;
}


#desktop-only {
  display: none;
}
/* show main content and show the overlay */

.countdown {
  font-size: 2rem;
  font-weight: bold;
}
.waitlist-card {
  background: whitesmoke;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}
.btn-custom {
  background: #ffcc00;
  color: #333;
  font-weight: bold;
}
.btn-custom:hover {
  background: #ffdb4d;
}
#event-car{
  width: 70%;
  padding: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  background-color: #0f3460;
  margin: 0;
}
.event-title{
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size:2.5rem;
  text-align: center;
  margin-top: 30px ;
  margin-bottom: 10px;
  color: #ffcc66
}
#event-card2{
  border-radius: 10px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  margin: 10px;
  background-color: #f9f9f9;
  
}
.text{
  margin-top: 10px;
  font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
  font-size:2rem;
  text-align: left;
  color: #2f4d72;
  width: 500px;
}
.event{
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.events{
  display: flex;
  width:500px;
  height: 500px;
}
.even{
  padding: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-text{
  width: fit-content;
  font-weight: regular;
  font-family: sans-serif;
  align-items: center;
  padding: auto;
  font-size:1.2rem;
  gap: 10px;
  text-align: justify;
  color: #333;
}
.bnt{
  display: flex;
  justify-content: center;
  align-items: center;
}
.event-bnt{
  background-color:#ffc107 ;
  color: #0f3460;
  width: 100%;
}
.event-bnt:hover{
  background-color: #ffcc66;
}


/* --- Styles for the Apps page --- */
.apps-page {
  padding-top: 5rem;
  background: #d9d9d9;
  min-height: 100vh;
}

.apps-page h1 {
  color: #0f3460;
  font-family: "Arapey", serif;
  font-weight: bold;
}

.apps-page p {
  color: #3c5b80;
  font-size: 1.1rem;
}

.apps-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.app-card {
  width: 300px;
  background: whitesmoke;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.app-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.app-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.app-card-body {
  padding: 20px;
}

.app-card-body h5 {
  color: #2f4d72;
  font-weight: bold;
  font-size: 1.25rem;
}

.app-card-body p {
  color: #666;
  font-size: 0.9rem;
}

.btn-apps {
  background-color: #ffc107;
  color: #0f3460;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
}

.btn-apps:hover {
  background-color: #ffdb4d;
}
.redacta{
  flex: 1;
  min-height: 100vh;
}

.redacta-text{
  color: #ffc107;
}
.countdown-timer {
  font-size: 2.5rem;
  font-weight: bold;
  color:#f9f9f9;
}
/* POP-UP STYLES */
#popup-container {
    display: none; /* Hidden by default */
    position: fixed; /* Stays in place */
    z-index: 9999; /* On top of everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Black with transparency */
    /* Using flexbox for easy centering */
    display: flex;
    justify-content: center;
    align-items: center;
}

#popup-content {
    position: relative;
    background-color: #fefefe;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    width: 90%; /* Use a percentage for responsiveness */
    max-width: 600px; /* Maximum width for larger screens */
    max-height: 90vh;
    overflow-y: auto; /* Enable scrolling for taller content */
}

#popup-content img {
    width: 100%; /* Make the image fill the content box */
    height: auto;
    display: block;
    border-radius: 4px; /* Optional: adds a slight corner radius to the image */
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
    #popup-content {
        padding: 5px; /* Reduce padding on smaller screens */
        width: 95%; /* Make it take up more space on mobile */
    }

    .close-btn {
        font-size: 25px;
        right: 15px;
    }
}


@media screen and (min-width: 200px) and (max-width: 1200px) {
  body{
    font-size: 1rem;
  }
  .container-fluid2 {
    width: 100%;
    max-width: 1270px;
    margin: 0px;
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    align-items: center;
  }
  .logo{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  .logo>img {
    width: 30px;
    height: 30px;
    border-radius: 30%;
  }
  .logo>h1{
    font-size: 1.4rem;
  }
  .screen{
    display: none;
  }
  .mobile2{
    display: flex;
    justify-content: flex-end;
  }
  .btn-secondary{
    width: fit-content;
    font-size: .8rem;
    background-color: whitesmoke;
    color: #0f3460;
  }
  .btn-danger {
    background-color: #0f3460 !important; /* Change background color */
    border-color: #0f3460!important; /* Change border color */
  } 

  .btn-danger:hover {
      background-color: #3c5b80 !important; /* Change hover color */
      border-color: #3c5b80 !important;
  }
  
  .main-content {
    width: 100%;
    justify-items: center;
  }
  .main-content1{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .head{
    width: 100%;
    height: 300px;
    padding-left: 50px;
    align-items: center;
  }
  .header {
    height: 90%;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    text-align: left;
    justify-content:baseline;
    margin: auto;
    gap: 20px;
    
  }
  .header>h1{
    font-size: 1.5rem;
    width: 60%;
  }
  #stats-bar {
    font-size: .8rem;
    width: 90%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  .st {
    font-size: 1.3rem;
  }
  .main-content2 {
    width: 85%;
    margin-bottom: 15px;
    margin-top: 15px;
    margin-right: 30px;
    justify-content: center;
  }
  #services {
    padding: auto;
    justify-items: center;
  }
  .service{
    display: flex;
    flex-direction: column;
    justify-items: center;
  }
  .row2 {
    display: flex;
    flex-direction: column;
    justify-items: center;
    gap: 10px;
  }
  .service-card {
    width: 100%;
    padding: auto;
    font-size: .8rem;
    justify-items: space-evenly;
  }
  .row1 {
    width: 100%;
  }

  #about {
    display: none;
  }
  #about2{
    background-color: #3c5b80;
    color: whitesmoke;
    text-align: center;
    height: 100%;
    width: 100%;
  }
  #about3{
    background-color: #3c5b80;
    display: flex;
  }
  #project{
    padding-bottom: 20px;
  }
  .works{
    display: none;
  }
  .container-fluid{
    display: flex;
    flex-direction: column;
    
  }
  
  .card-titl{
    margin-top: none;
    padding-top: none;
    margin-left: none;
    padding-left: none;
   align-items: none;
   justify-content: none;
    
  }
  .card-body{
    justify-content: none;
  }
  .card-title{
    font-size: 1rem;
  }
  .card-text{
    padding: auto;
    font-size: .7rem;
    align-items: center;
  }
  .project-content{
    display: flex;
    flex-direction: column;
    margin: 10px 0px;
    height: fit-content;
    width: 18rem;
  }
  .project2{
    display: none;
  }
  .card-img-top{
    margin: 10px 15px;
    width: 250px; 
    height: 200px;
    
  }
  .display{
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    height: 500px;
  }
  
  
  .btn-link{
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    color: whitesmoke;
  }

  #projectpage{
    display: flex;
    flex-direction: column;
    background-color: #2f4d72;
    height: 100%;
    align-items: center;
    padding-bottom: 20px;
  }
  
.project3{
  display: flex
}
  #contact{
    align-items: center;
    justify-content: center;
  }
  .cont {
    display: flex;
    flex-direction: column;
    width: 80%;  
    border-radius: 10px;
    margin: 20px;
    height: fit-content;
  }
  .bout {
    display: flex;
    flex-direction: column;
    gap: 20px;
    
  }
  .but{
    padding: 30px 10px 30px 10px;
    width: 100%;
    justify-content: center;
    align-items: center;
    text-align: left;
  } 
  .contact{
    display: flex;
    flex-direction: row;
    gap:40px;
    padding: 20px;
  }
  .contact-content {
    display: flex;
    gap: 20px;
    font-size: .8rem;
    align-items: center;
    padding-right: 20px;
    padding-top: 15px;
  }
  a {
    margin-top: 0px;
    align-items: center;
    justify-items: center;
  }
  #map{
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-bottom: 10px;
  }
  .map{
    width: 100%;
    height: 100%;
    
  }
  #event{
    height: 700px;
    display: flex;
    flex-direction: column;
  }
  #event-car{
    padding: 10px;
    justify-content: none;
    height: fit-content;
    display: flex;
    flex-direction: column;
    background-color: #0f3460;
    
    margin: 0;
  }
  .event-title{
    font-size:1.5rem;
    text-align: left;
    margin-top: 10px ;
    margin-bottom: 10px;
    color: #ffcc66
  }
  #event-card2{
    border-radius: 10px;
    width: fit-content;
    height: fit-content;
    align-items: center;
    padding: 10px;
    display: flex;
    flex-direction: column;
    margin: 10px;
    background-color: #f9f9f9;
    
  }
  .text{
    margin-top: 10px;
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
    font-size:1.3rem;
    text-align: left;
    color: #2f4d72;
    width: 300px;
  }
  .event{
    width: fit-content;
    height: fit-content;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .events{
    display: flex;
    width: 300px;
    height: 300px;
  }
  .even{
    width: 300px;
    height: fit-content;
    justify-content: center;
  }
  .event-text{
    font-weight: regular;
    font-family: sans-serif;
    align-items: center;
    padding: auto;
    font-size:0.9rem;
    gap: 10px;
    text-align: justify;
    color: #333;
  }
  .event-bnt{
    background-color:#ffc107 ;
    color: #0f3460;
    width: 100%;
  }
  .event-bnt:hover{
    background-color: #ffcc66;
  }

  footer {
    flex-shrink: 0;
    font-size: 0.8rem;
  }
  
}

#testimonials-section {
  padding: 5rem 0;
  background-color: #f4f4f4;
}

.testimonials-title {
  font-family: "Arapey", serif;
  color: #0f3460;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

.testimonial-form-container {
  background-color: whitesmoke;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 700px;
  margin: 0 auto;
}

.form-title {
  color: #2f4d72;
  font-family: "Arapey", serif;
  margin-bottom: 1.5rem;
}

.testimonial-card {
  background-color: #d9d9d9;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-card .client-name {
  font-weight: bold;
  color: #0f3460;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.testimonial-card .review-text {
  color: #3c5b80;
  font-style: italic;
  font-size: 1rem;
}

.testimonial-card .review-rating {
  color: #ffc107;
  font-size: 1.2rem;
  margin-top: 1rem;
}

.btn-submit-review {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #0f3460;
  font-weight: bold;
}
.btn-submit-review:hover {
  background-color: #ffdb4d;
  border-color: #ffdb4d;
}


@media screen and (min-width: 950px) and (max-width: 1279px) {
  
  .apps-page {
    padding-top: 5rem;
    background: #d9d9d9;
    min-height: 100vh;
  }

  .apps-page h1 {
    color: #0f3460;
    font-family: "Arapey", serif;
    font-weight: bold;
  }

  .apps-page p {
    color: #3c5b80;
    font-size: 1.1rem;
  }

  .apps-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
  }

  .app-card {
    width: 300px;
    background: whitesmoke;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .app-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }

  .app-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .app-card-body {
    padding: 20px;
  }

  .app-card-body h5 {
    color: #2f4d72;
    font-weight: bold;
    font-size: 1.25rem;
  }

  .app-card-body p {
    color: #666;
    font-size: 0.9rem;
  }

  .btn-apps {
    background-color: #ffc107;
    color: #0f3460;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
  }

  .btn-apps:hover {
    background-color: #ffdb4d;
  }
}

@media (max-width: 768px) {
  .testimonial-form-container {
    padding: 1rem;
  }
  .testimonials-title {
    font-size: 2rem;
  }
  .testimonial-card .client-name {
    font-size: 1rem;
  }
  .testimonial-card .review-text {
    font-size: 0.9rem;
  }
  .countdown-timer {
    font-size: 1.5rem;
  }
}
