/* ========================= GLOBAL ========================= */
ul li::marker {
  color: black !important;
}
/* ========================= #START SECTION ========================= */

.ccs-hero{
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 159.52px) !important;
}

.ccs-hero-logo {
  position: relative;
  z-index: 1;
}

.ccs-hero-logo img {
  display: block;
  width: 100%;
  max-width: 200px;
  height: auto;
}

.ccs-hero > .et_pb_row{
  position: relative;
  z-index: 1;
}

.ccs-hero .ccs-hero-left{
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  position: relative;
  z-index: 1;
}

.ccs-hero::after {
content: "";
  position: absolute;
  top: 0; 
  right: 0;
  bottom: 0;
  left: 0;
  background: url(/wp-content/uploads/2025/08/Yellow-Curve.svg) no-repeat right bottom;
  background-size: auto 100%;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

:not(.wp-core-ui) h1::after,
:not(.wp-core-ui) h2::after,
.et_pb_slide_title::after {
    content: none !important;
}

.et_pb_code_1_tb_footer {
  top: 24vh !important;
}
body.logged-in.admin-bar .et_pb_code_1_tb_footer {
  top: calc(24vh + 75px) !important;
}

/* ========================= #WHAT IS CCS SECTION ========================= */
#what-is-ccs::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0.3) 100%
  );
  z-index: 0;
  pointer-events: none;
}

/* ========================= #DISCOVER SECTION  ========================= */
#discover {
  position: relative;
  overflow: hidden;
}

#discover > .et_pb_row {
  position: relative;
  z-index: 1;
}

#discover::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 600px;
  background: url('/wp-content/uploads/2025/08/White-Curve.svg') no-repeat left bottom;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}
#discover .icon-list .dsm_icon_list_wrapper {
  background-color: #d6ad33;
  padding: 20px;
  border-bottom-left-radius: 30px;
}

#discover .icon-list ul li {
  align-items: flex-start;
}
#discover .icon-list .dsm_icon_list_text {
  background-color: #fff;
  opacity: 0.85;
  padding: 20px;
  color: black;
  border-bottom-left-radius: 30px;
  max-width:490px;
  width: 100%;
}

#discover .dsm_icon_list .dsm_icon_list_image img {
  width: 100%;
  max-width: 100px;
}

#discover .dsm_icon_list_text h3 {
  color: #005DAA !important;
  text-transform: uppercase;
  font-family: 'Montserrat', Helvetica, Arial, Lucida, sans-serif !important;
}

#discover{
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

#discover > .et_pb_row{
  position: relative;
  z-index: 1;
}

#discover::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}

/* ========================= PROVEN SOLUTIONS SECTION  ========================= */
#proven-solutions .et_pb_button.white-button {
  font-size: 16px;
  background-color: transparent;
  border-color: #fff !important;
  border-radius: 0px;
  color: #fff !important;
  text-decoration: none !important;
}

#proven-solutions .et_pb_button.white-button:after {
  color: #fff;
}

#proven-solutions .et_pb_button.white-button:hover {
  background-color: #fff !important;
  color: rgba(236, 177, 51, 1) !important;
}

#proven-solutions .et_pb_button.white-button:hover:after {
  color: rgba(236, 177, 51, 1) !important;
}

#proven-solutions h3.et_pb_module_header  {
    font-family: 'Montserrat',Helvetica,Arial,Lucida,sans-serif !important;
   font-size: 24px;
}

.reveal-text {
  padding: 2em;
  border-bottom-left-radius: 50px;
  min-height: 496px;
  position: relative;
  overflow: hidden;
}

.reveal-text > * {
  position: relative;
  z-index: 2;
}

.reveal-text::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  min-height: 9.5em;
  background-color: rgba(214, 173, 51, 1);
  transition: height 300ms;
  pointer-events: none;
  z-index: 0;
}

.reveal-text:hover::after {
  height: 100%;
  mix-blend-mode: multiply;
  background-color: rgba(214, 173, 51, 0.95);
}

.reveal-text::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(128, 128, 128, 0.35);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 300ms;
  pointer-events: none;
  z-index: 1;
}

.reveal-text:hover::before {
  opacity: 1;
}

.reveal-text .et_pb_blurb_description {
  opacity: 0;
  visibility: hidden;
  transition: 300ms;
  width: 100%;
  padding-top: 1em;
}

.reveal-text .et_pb_blurb_description p,
.reveal-text .et_pb_blurb_description a {
  color: white; 
}

.reveal-text .et_pb_blurb_description a {
  text-decoration: underline;
}

.reveal-text:hover .et_pb_blurb_description {
  opacity: 1;
  visibility: visible;
}

.reveal-text .et-pb-icon {
  transition: 300ms;
}

.reveal-text:hover .et-pb-icon {
  transform: rotate(90deg);
}


/* ========================= POTENTIAL APPLCIATIONS SECTION  ========================= */
#potential-applications {
  display: flex;
  align-items: center;
}

#potential-applications ul li::marker {
  color: white !important;
}

/* ========================= IMAGE BLOCK SECTION  ========================= */
#image-block-row .et_pb_row > .et_pb_column {
  position: relative;
  z-index: 0;
}

#image-block-row .et_pb_row > .et_pb_column::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
  pointer-events: none;
}

#image-block-row .et_pb_row > .et_pb_column > * {
  position: relative;
  z-index: 1;
}

#image-block-row .et_pb_button:hover {
  background-color: #d6ad33 !important;
  border-color: #d6ad33 !important;
  color: #fff !important;
}
.footer-menu .et_pb_widget .menu > li > a {
  transition: color 300ms ease 0ms;
}

.footer-menu .et_pb_widget .menu > li > a:hover {
  color: #eaeaea !important;
}

/* ========================= RESOURCES SECTION  ========================= */
.et_pb_button.list:after, ul.resource-list li a::after {
  background-color: #d6ad33 !important;
}
.et_pb_button.list:hover::after {
    background-color: #005daa !important;
}

/* ========================= FOOTER SECTION  ========================= */
#contact .et_pb_button:after {
  color: white !important;
}

#contact .et_pb_button:hover:after {
  color: #d6ad33 !important;
}

.footer .et_pb_widget ul li {
  margin-bottom: 0px !important;
}
.ccs-hero h1 {
    font-size: 30px !important;
  }

/* ========================= RESPONSIVE ========================= */

/* ========== Mobile-first: up to 320px ========== */
@media (max-width: 320px) {
  .reveal-text::after {
    min-height: 13em !important;
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 16px;
  }
  #discover .dsm_icon_list_text h3 {
    font-size: 1.25rem;
  }
  .ccs-hero h1 {
    font-size: 30px !important;
  }
}

@media (max-width: 375px) {
  .reveal-text::after {
    min-height: 11em; /* No !important */
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 17px;
  }
  #discover .dsm_icon_list_text h3 {
    font-size: 1.375rem;
  }
}

@media (max-width: 425px) {
  .ccs-hero::after {
    background-size: auto 100% !important;
  }
  .reveal-text::after {
    min-height: 10em;
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 18px;
  }
  #discover .dsm_icon_list_text h3 {
    font-size: 1.5rem;
  }
}
/* ========== up to 980px (for logo curve override) ========== */
@media (max-width: 980px) {
  .ccs-hero::after {
    background-size: cover !important;
  }
    .footer .et_pb_widget ul li {
    margin-bottom: 0.5em !important;
  }
}
@media (max-width: 768px) {
  .ccs-hero {
    min-height: calc(100vh - 109.52px) !important;
  }
  /* Don't restyle reveal-text::after here again unless necessary */
  #discover::after {
    height: 120px;
    background-size: contain;
  }
    .ccs-hero::after {
    background-size: auto 120% !important;
  }

}


/* ========== Tablet: 768px to 981px ========== */
@media (max-width: 980px) and (min-width: 769px) {
  .ccs-hero {
    min-height: 560px;
  }
  #discover::after {
    height: 180px;
    background-size: contain;
  }
  #discover .dsm_icon_list_text h3 {
    font-size: 1.75rem;
  }
  .reveal-text::after {
    min-height: 7em;
  }
}

/* ========== up to 1023px ========== */
@media (max-width: 1023px) {
  .ccs-hero h1 {
    font-size: 40px;
  }
  #discover::after {
    height: 300px;
  }
  #discover .icon-list ul li {
    max-width: 600px;
    margin: 0 auto;
  }
  #discover .dsm_icon_list_child {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }
  #discover .dsm_icon_list_child .dsm_icon_list_wrapper,
  #discover .dsm_icon_list_child .dsm_icon_list_image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom-left-radius: 0;
  }
  #discover .dsm_icon_list_child .dsm_icon_list_image img {
    width: auto;
    max-width: 100px;
    height: auto;
    display: block;
  }
  #discover .dsm_icon_list_child .dsm_icon_list_text {
    width: 100%;
    display: block;
    max-width: 100%;
  }
  #proven-solutions h3.et_pb_module_header {
    font-size: 20px;
  }
  #discover .dsm_icon_list_text h3 {
    font-size: 1.75rem;
  }
}
@media (min-width: 1536px) {
  .ccs-hero-logo img {
    max-width: 150px;
  }
}
/* ========== up to 1439px ========== */
@media (max-width: 1439px) {
  .ccs-hero-logo {
    position: relative;
    z-index: 1;
  }
  .ccs-hero-logo img {
    max-width: 200px;
    width: 100%;
    height: auto;
  }
  .ccs-hero::after {
    background-size: auto 117%;
  }
}

/* ========== min-width: 982px ========== */
@media (min-width: 982px) {
  .ccs-hero {
    min-height: 720px;
  }
}

@media (min-width: 981px) and (max-width: 1240px) {
  .footer .et_pb_text, .footer-menu .et_pb_widget .menu > li > a{
    font-size: 14px !important;
  }
}

/* ========== min-width: 1024px ========== */
@media (min-width: 1024px) {
  .reveal-text {
    border-bottom-left-radius: 165px;
  }
  #discover::after {
    height: 500px;
  }
  .ccs-hero h1 {
    font-size: 40px !important;
  }
  .reveal-text .et_pb_blurb_description {
    width: 50%;
    margin-left: auto;
    padding-top: 2em;
  }
  .reveal-text::after {
    min-height: 7em;
  }

}

/* ========== min-width: 1280px ========== */
@media only screen and (min-width: 1280px) {
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:hover,
  #mega-menu-wrap-primary-menu #mega-menu-primary-menu > li.mega-menu-item > a.mega-menu-link:focus {
    background: white;
    color: #d6ad33;
    font-weight: normal;
    text-decoration: none;
    border-color: #fff;
  }
  .footer .et_pb_text, .footer-menu .et_pb_widget .menu > li > a{
    font-size: 16px !important;
  }
}
/* ========== between 1280px and 1536px ========== */
@media screen and (min-width: 1280px) and (max-width: 1536px) {
  .ccs-hero::after {
    background-size: auto 120% !important;
}
}
/* ========== min-width: 1600px ========== */
@media (min-width: 1600px) {

  .ccs-hero-logo img {
    max-width: 300px;
    width: 100%;
    height: auto;
  }
  #potential-applications .et_pb_row {
    padding-top: 100px !important;
    padding-left: 75px !important;
    padding-right: 75px !important;
    padding-bottom: 100px !important; 
  }
}

/* ========== min-width: 2560px ========== */
@media (min-width: 2560px) {
    .ccs-hero h1 {
    font-size: 55px !important;
  }
  .ccs-hero-logo img {
    max-width: 375px;
  }
  .ccs-hero::after {
    background-size: auto 100%;
  }
}

