:root {
  --primary: #652D8F;
  --secondary: #FFB74C;
  --tertiary: #4b58bf;
  --white: #fff;
  --body: #032337;
  --header: #1A265E;

  --shadow: drop-shadow(0px -1px 3px #888);

  color: var(--primary);

  --font-heading: 'Karla', sans-serif;
  --font-body: 'Karla', sans-serif;

}

/* Utility Classes */

.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important;
}

hr {
  border-top: 2px solid rgba(0, 0, 0, .3) !important;
}

/* .bg-[first color]_gradient */
.bg-tertiary_gradient {
  background-image: linear-gradient(60deg, var(--tertiary) 15%, var(--primary) 75%);
}

.rounded-corners {
  border-radius: 60px;
}

.sharp-tl {
  border-top-left-radius: 0;
}

.sharp-tr {
  border-top-right-radius: 0;
}

.sharp-bl {
  border-bottom-left-radius: 0;
}

.sharp-br {
  border-bottom-right-radius: 0;
}

[class^="btn"] {
  padding: 6px 30px;
  border-radius: 20px;
  display: inline-block;
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

[class^="btn"]:hover {
  transition: all .3s cubic-bezier(0.420, 0.000, 1.000, 1.000);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--header) !important;
  text-transform: uppercase;
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: var(--white) !important;
}

.btn-outline {
  color: var(--body);
  border: 2px solid var(--body);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-outline.white {
  border-color: var(--white);
  color: var(--white);
  text-transform: uppercase;
}

.btn-outline.white:hover {
  background-color: var(--white);
  color: var(--primary);
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  text-transform: uppercase;
}

.btn-white:hover {
  background-color: unset;
  color: var(--white);
}

/* Sections */

.home-hero {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  text-align: center;
  background: rgb(101, 45, 143);
  background: linear-gradient(90deg, rgba(101, 45, 143, 1) 25%, rgba(255, 183, 76, 1) 75%);
  gap: 20px; /* Add gap between items if needed */
}

.hero-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-hero img {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
}

.hero-item div {
  height: 10vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Media query for tablets */
@media (max-width: 768px) {
  .home-hero {
    grid-template-columns: 1fr 1fr;
    gap: 10px; /* Adjust gap for smaller screens */
  }
}

/* Media query for mobile phones */
@media (max-width: 480px) {
  .home-hero {
    grid-template-columns: 1fr;
    gap: 10px; /* Adjust gap for smaller screens */
  }

  .hero-item div {
    height: auto; /* Adjust height for smaller screens */
  }
}

.clover-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 10px;
}

.clover-container>:nth-child(1) {
  grid-column: span 3;
  align-self: self-end;
  width: 100%;
}

.clover-container>:nth-child(2),
.clover-container>:nth-child(3) {
  grid-column: span 2;
}

.clover-container>:nth-child(4) {
  grid-column: span 3;
  width: 100%;
}

.clover-container img {
  width: 100%;
}

/* info cards */
.info-card-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.info-card {
  filter: var(--shadow);
  background-color: white;
  padding: 2em;
  border-radius: 10px;
  transition: all ease-in 300ms;
  height: 100%;
  color: var(--body) !important;
}

.info-card h3 {
  transition: all ease-in 300ms;
}

.info-card:hover {
  transform: scale(1.05);
  color: var(--white) !important;
  background-color: var(--primary);
  transition: all ease-in 300ms;
  cursor: pointer;
}

.info-card:hover img {
  filter: invert(100%);
}

.info-card:hover svg {
  filter: invert(100%);
}

.info-card:hover h3 {
  color: var(--white);
  transition: all ease-in 300ms;
}

@media screen and (max-width: 768px) {
  .info-card-container {
    flex-direction: column;
  }
}

/* end of info card*/

.col-md-6 {
  padding-right: 40px;
  padding-left: 40px;
}

/* contact card and form */
.contact-card-container {
  position: relative;
  margin-top: -50px;
  bottom: -50px;
  z-index: 1;
}

.contact-card {
  border-radius: 20px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.contact-card-content {
  padding: 3em;
  background-color: white;
}

/* form styling */
.powerforms-style08 input[type=text],
.powerforms-style08 input[type=email],
.powerforms-style08 input[type=url],
.powerforms-style08 input[type=tel],
.powerforms-style08 input[type=number],
.powerforms-style08 input[type=date],
.powerforms-style08 select,
.powerforms-style08 textarea {
  color: var(--tertiary) !important;
  border-bottom: 2px solid var(--tertiary) !important;
  border-radius: 0px !important;
}

.form-btn {
  color: var(--header) !important;
  text-transform: uppercase;
}

.form-btn:hover {
  color: var(--white) !important;
}

/* end of contact card */

/* testimonial cards */
.testimonial-header {
  position: relative;
  margin-top: 50px;
}

.circular-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 10px solid white;
  box-sizing: border-box;
  z-index: 1;
}

.testimonials {
  background-color: var(--white);
  border-radius: 10px;
  padding: 1em;
  position: relative;
  overflow: hidden;
  top: 50px;

  @media screen and (max-width: 768px) {
    margin-bottom: 50px;
  }
}

/* end of testimonial cards */

.horizontal-list {
  display: flex;
  justify-content: space-between;
}

@media screen and (max-width: 991px) {
  .horizontal-list {
    flex-direction: column;
  }
}

@media screen and (max-width: 576px) {

  /* Mobile header fixes */
  .header-area.header-horizontal.area-center {
    display: none;
  }

  .header-logo {
    width: 95%;
  }

  .mobile-btn {
    font-size: 0.8em;
    padding: 3px 15px;
  }

  .mobile-btn.btn-secondary:hover {
    padding: 3px 15px;
  }
}


.flip-card-container {
            color: #555;
            text-align: center;
          
            padding: 1em;
        }

        .flip-card {
            background-color: transparent;
            width: 100%;
            height: 400px; /* Increased height for better image display */
            perspective: 1000px;
            margin-bottom: 2em;
        }

        .flip-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.6s;
            transform-style: preserve-3d;
            box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
            border-radius: 10px;
        }

        .flip-card:hover .flip-card-inner {
            transform: rotateY(180deg);
        }

        .flip-card-front, .flip-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            -webkit-backface-visibility: hidden;
            backface-visibility: hidden;
            border-radius: 10px;
        }

        .flip-card-front {
            background-size: cover !important;
            background-position: center !important;
            color: white;
        }

        .flip-card-back {
            background-color: #313131;
            color: white;
            transform: rotateY(180deg);
            padding: 2em;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

        .flip-card-back h2, .flip-card-back p {
            color: white;
        }

        .flip-card-back p {
            font-size: 0.9125rem;
            line-height: 160%;
        }




