.elementor-12 .elementor-element.elementor-element-2cdc844{--display:flex;}.elementor-12 .elementor-element.elementor-element-2cdc844:not(.elementor-motion-effects-element-type-background), .elementor-12 .elementor-element.elementor-element-2cdc844 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#5390DA;}.elementor-widget-animated-headline .elementor-headline-dynamic-wrapper path{stroke:var( --e-global-color-accent );}.elementor-widget-animated-headline .elementor-headline-plain-text{color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-animated-headline{--dynamic-text-color:var( --e-global-color-secondary );}.elementor-widget-animated-headline .elementor-headline-dynamic-text{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-12 .elementor-element.elementor-element-d456833{--iteration-count:infinite;--animation-duration:2000ms;--dynamic-text-color:#FFFFFF;}.elementor-12 .elementor-element.elementor-element-d456833 .elementor-headline{text-align:center;}.elementor-12 .elementor-element.elementor-element-d456833 .elementor-headline-dynamic-wrapper path{stroke:#F2622F;}.elementor-12 .elementor-element.elementor-element-d456833 .elementor-headline-plain-text{color:#FFFFFF;}.elementor-12 .elementor-element.elementor-element-f83896d{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--background-transition:1.7s;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-12 .elementor-element.elementor-element-f83896d:not(.elementor-motion-effects-element-type-background), .elementor-12 .elementor-element.elementor-element-f83896d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#5390DA;}.elementor-12 .elementor-element.elementor-element-f83896d:hover{background-color:var( --e-global-color-secondary );}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-12 .elementor-element.elementor-element-53a3281 .elementor-heading-title{color:#40FF94;}.elementor-widget-text-editor{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-12 .elementor-element.elementor-element-f5bb839{color:#FFFFFF;}.elementor-12 .elementor-element.elementor-element-7a75169{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:3s;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-12 .elementor-element.elementor-element-7a75169:hover{background-color:var( --e-global-color-accent );}.elementor-12 .elementor-element.elementor-element-838c656{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12 .elementor-element.elementor-element-8cf7824{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-12 .elementor-element.elementor-element-59e49df{text-align:center;}.elementor-12 .elementor-element.elementor-element-59e49df .elementor-heading-title{color:var( --e-global-color-secondary );}@media(min-width:768px){.elementor-12 .elementor-element.elementor-element-f83896d{--content-width:657px;}}/* Start custom CSS for html, class: .elementor-element-979d72d */.cards-container {
  display: flex;
  justify-content: space-around;
}

.card {
  width: 500px;
  height: 600px;
  border: 1px solid black;
  padding: 30px;

  position: relative;
  display: inline-block;
  overflow: hidden;
  background-color: transparent;
  color: black; /* Default text color */
  transition: color 0.5s ease-in-out; /* Add smooth color transition */
}

.first-card {
  margin-top: 80px;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0; /* Start from the right */
  bottom: 0;
  left: 100%; /* Initially off-screen */
  background-color: rgb(38, 32, 32); /* Your desired hover color */
  z-index: -1;
  transition: all 0.5s ease-in-out;
}

.card:hover::before {
  left: 0; /* Slide the background in from right to left */
}

.card:hover {
  color: white; /* Adjust text color on hover */
}/* End custom CSS */