/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

@import url('https://fonts.googleapis.com/css2?family=sans-serif:wght@400;700&family=Besley:wght@400;700&family=Poppins:wght@400;500;600;700&display=swap');

/* Base styles */
body {
/*     font-family: 'sans', sans-serif; */
    font-size: 18px; 
    line-height: 1.6;
    margin: 20px;
}
button, input, select, textarea {
    font-family: 'Poppins', sans-serif !important;
	font-size: 16px !important;
}

.content-services h2{
	font-size: 32px;
}


.content-services h3{
	font-size: 28px;
}

#hero{
	padding-left: 15% !important;
}

@media (max-width: 991px) {
    #hero{
	padding-left: 10% !important;
}
}
/* h1 {
    font-family: 'sans', serif !important;
    font-size: 5.8rem !important;
}

h2, h3, h4, h5, h6, h7 {
    font-family: 'Besley', serif !important;
}

h2 {
    font-size: 3.5rem !important;
	line-height: 5vh;
}

h3 {
    font-size: 2.3rem !important;
}

h4 {
    font-size: 2rem !important;
}





@media (max-width: 500px){
	h1 {
		
    font-size: 5rem !important;
	}
	h2 {
    font-size: 2.5rem !important;
}
}






@media (max-width: 1440px) {
    .menu {
        font-size: 0.8em !important;
    }

    
}
@media (max-width: 1140px) {
    .menu {
        font-size: 0.7em !important;
    }

    
}
@media (min-width: 471px) and (max-width: 1366px) {
  .btn {
    font-size: 16px !important;
  }
} */
.flip-cards-container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.flip-card {
  width: 45%;
  height: 400px;   
  perspective: 1000px;
  margin-bottom: 20px; /* Add space between rows of cards */
	
}

.flip-card-inner {
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
	border-radius: 1vh;
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
	padding-left: 2vh;
	padding-right: 2vh;
}

.flip-card-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-position: center;
	
}

.flip-card-back {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1a77bc;
  background-size: cover;
  background-position: center;
  transform: rotateY(180deg);
}

.flip-card-icon {
  font-size: 50px;
  margin-bottom: 15px;
}

.flip-card-heading {
  font-size: 20px;
  margin-bottom: 10px;
}

.flip-card-text {
  font-size: 16px;
}
.flip-card-btn {
  margin-top: 15px;
  padding: 10px 20px;
  background-color: #1a77bc;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.flip-card-btn:hover {
  background-color: #135d94;
}

@media (max-width: 768px) {
  .flip-cards-container {
    flex-direction: column;
    align-items: center;
  }

  .flip-card {
    width: 100%;
  }
}

.brxe-container.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background-color: #fff;
  width: 100%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.card {
  background: linear-gradient(51deg, #137abe, #94268b);
  color: #fff;
  border-color: #fff;
  transition: all 0.3s ease;
}

.card * {
  color: #fff;
  border-color: #fff;
  fill: #fff;
  stroke: #fff;
}

/* Divider default state */
.card .divider {
  background-color: #fff; 
  border-color: #fff;     
}

/* Hover styles */
.card:hover {
  background-color: #ffffff !important;
  color: #363636 !important;
  border-color: #137abe !important;
}

.card:hover * {
  color: #363636 !important;
  border-color: #137abe !important;
  fill: #363636 !important;
  stroke: #363636 !important;
}

/* Divider hover state */
.card:hover .divider {
  background-color: #137abe; /* or #94268b */
  border-color: #137abe;
}



/* .accordion-title h3 {
    font-weight: 600 !important;
} */
html, body {
    margin: 0;
    padding: 0;
    height: 50vh;
    scroll-behavior: smooth;
}
#divorce, #assets, #guardianship, #mediation {
    scroll-snap-align: start;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}
body {
    scroll-snap-type: y mandatory;
}
section {
    display: block;
}
h3.service {
  font-size: 3.5rem !important;
}
@media (min-width: 992px) {
  .service-flip-cards {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .service-parallax {
    display: none !important;
  }
}

.accordion-item:hover .accordion-title {
  color: #fff;
}


.accordion-item:hover .faq-icon {
  color: #fff;
}
/* Global link color */
a {
  color: #137abe;
}

/* Offcanvas menu text and link color override */
.offcanvasmenu,
.offcanvasmenu * {
  color: white !important;
}







