@charset "utf-8";
/* CSS Document */

 body {
      margin: 0;
      font-family: Arial, sans-serif;
      background: url('img/bg.jpg') repeat;
      background-color: #1a0033;
      color: #222;
      overflow-x: hidden;
      background-size: auto 100%;
    }
    .container {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 20px;
      min-height: 100vh;
    }



/* Hide the form by default */
.form-popup {
  display: none;
  background: rgba(0,0,0,0.9);
  width: 100vw;
  height: 100vh;
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
}

/* Style the form */
.form-popup .form-container {
  max-width: 100%;
    position: fixed;
  bottom: 20%;
  border: 2px solid #888;
  z-index: 9;
  background-color: white;
  padding: 20px;
  box-shadow: 0px 0px 10px #555;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 80%;
}
.popbtn{
  padding: 15px 30px;
  border-radius: 10px;
  border: none;
  background: #3d6cd6;
  color: #fff;
  cursor: pointer;
}
.form-container input[type=text],
.form-container input[type=email] {
  width: 96%;
  padding: 10px 2%;
  margin: 5px 0 15px 0;
  border: 1px solid #ccc;
}
textarea {
  width: 96%;
  padding: 10px 2%;
  margin: 5px 0 15px 0;
}
/* Style buttons */
.form-container .btn {
  background-color: #04AA6D;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 10px;
}

.form-container .cancel {
  background-color: red;
}












a {
  text-decoration: none;
  color: #222;
}
    .card-row {
      display: flex;
      align-items: center;
      margin: 20px 0;
      width: 100%;
      background: url(img/rightbg.png);
      background-position: 100% 0px;
      background-size: contain;
      background-repeat: no-repeat;
      padding-right: 30px;
}
    .icon-card {
      width: 10%;
      background: rgba(75, 0, 130, 0.7);
      border-radius: 25px 0 0 25px;
      padding: 20px;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: transform 0.3s ease;
}
    .icon-card img {
      width: 50px;
      height: 50px;
    }
    .arrow {
      width: 45px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: url(img/arrowbg.png);
      position: relative;
      left: 30px;
      height: 100px;
      background-size: cover;
        background-position: right;
}
.fa.fa-check {
  position: absolute;
  left: -3px;
  margin-top: 2px;
  font-size: 9px;
  color: green;
}
.arrow img {
      width: 60px;
      height: 30px;
      transform: rotate(0deg);
      transition: transform 0.3s ease;
      margin-left: -60px;
}
    .text-card {
      width: 80%;
      background: rgba(75, 0, 130, 0.7);
      border-radius: 0 25px 25px 0;
      padding: 15px 100px 15px 60px;
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
      transition: transform 0.3s ease;
      position: relative;
      z-index: -1;
      min-height: 80px;
      background: #f5f5f5;
      border-radius: 0 80px 80px 0;
}
    .text-card h2 {
      margin: 0;
      font-size: 1.2em;
      color: #222;
    }
    .text-card p {
      margin: 5px 0 0;
      font-size: 0.9em;
        position: relative;
    }
    .image {
      width: 95px;
      height: 95px;
      border-radius: 50%;
      overflow: hidden;
      float: right;
      position: absolute;
      right: 5px;
      top: 8px;
}
    .image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .fade-in {
      opacity: 0;
      animation: fadeIn 1s forwards;
    }
    @keyframes fadeIn {
      to { opacity: 1; }
    }
    .card-row:nth-child(1) { animation-delay: 0s; }
    .card-row:nth-child(2) { animation-delay: 0.5s; }
    .card-row:nth-child(3) { animation-delay: 1s; }
    .card-row:hover .icon-card,
    .card-row:hover .text-card {
      transform: scale(1.01);
    }
    .card-row:hover .arrow img {
      transform: rotate(10deg);
    }
    @media (min-width: 768px) {
      .card-row { width: 50%; }
        .image {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  overflow: hidden;
  float: right;
  position: absolute;
  right: 10px;
  top: 12px;
}
        .text-card {
  min-height: 100px;

}
    }

@media (max-width: 768px){
.text-card {
  padding: 5px;
}
.icon-card {
  width: 5%;
}    
.arrow {
    left: 16%;
    background-position: right;
    position: absolute;
    width: 6%;
  }   
.card-row {
  padding-right: 15px;
}    
.container {
  padding: 75px 10px 15px 10px;
}    
.arrow img {
    width: 20px;
    margin-left: -5px;
    height: 15px;
  }
.text-card {
  width: 100%;
  min-height: 100px;
  margin-left: 3%;
    padding-left: 8%;
}    
.text-card h2 {
  font-size: 15px;
  padding-top: 7px;
}    
.text-card p {
  font-size: 11px;
}    
    
    
    
}
@media(max-width: 400px){
.text-card {
    padding-left: 5%;
}  
}
@media(max-width: 375px){
.image {
  width: 75px;
  height: 75px;
  top: 18px;
}
.text-card {
    padding-left: 4%;
}  
}