@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@400&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Source+Serif+Pro:wght@600&display=swap");
@import url("../../assets-custom/root.css");

/* :root {
  --ea-primary-color: rgba(210, 35, 42, 1);
  --ea-secondary-color: rgba(0, 0, 0, 1);
  --ea-primary-faded-color: rgba(255, 153, 157, 1);
  --text-color: rgb(9, 10, 11);
} */
body {
  font-family: "Source Serif Pro", Arial, sans-serif !important;
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* .cs-header */

.cs-header {
  width: 100%;
  height: 70px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid #ddd;
  z-index: 2;
  background: #fff;
}

.cs-header h1 {
  float: left;
  line-height: 70px;
  color: var(--ea-primary-color);
  margin-bottom: 0;
}

.cs-menu {
  float: right;
  line-height: 70px;
}

.cs-menu ul {
  font-size: 0;
  margin-bottom: 0;
}

.cs-menu li {
  font-size: initial;
  display: inline-block;
}

.cs-menu li a {
  display: block;
  position: relative;
  color: #000;
  padding: 0 20px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
}

.cs-menu li a:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #000;
  transition: width 0.3s ease;
}

.cs-menu .active a:before,
.cs-menu li a:hover:before,
.cs-menu li a.active:before {
  width: 100%;
}

.cs-hamburger-nav {
  display: none;
  float: right;
  height: 70px;
  cursor: pointer;
}

.cs-hamburger {
  width: 28px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.cs-hamburger span {
  position: relative;
  display: block;
}

.cs-hamburger span,
.cs-hamburger span:before,
.cs-hamburger span:after {
  width: 100%;
  height: 2px;
  background: var(--ea-primary-color);
}

.cs-hamburger span:before,
.cs-hamburger span:after {
  content: "";
  position: absolute;
  left: 0;
}

.cs-hamburger span:before {
  top: -7px;
}

.cs-hamburger span:after {
  bottom: -7px;
}

.cs-menu-visible {
  display: block;
}

/* .cs-main-screen */
.xIcon {
  display: none;
}

.cs-main-screen {
  background-image: url("../assets/img/ds1.jpg");
  background-size: cover;
  background-position: center;
  margin-top: 70px;
  padding: 80px 0;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.cs-main-screen:before {
  content: "";
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: calc(100% - 6px);
  background: rgba(255, 255, 255, 0.3);
}

.cs-main-screen h1 {
  font-size: 2.3rem;
  animation-delay: 0.2s;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.cs-main-screen p {
  animation-delay: 0.5s;
  margin-bottom: 1rem;
}

.cs-main-screen p:last-child {
  margin-bottom: 0;
}

.cs-main-screen .col-lg-6:last-child {
  position: relative;
}

.main-form-box {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  position: absolute;
  top: 0;
  right: 15px;
  left: 15px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.main-form-box h2 {
  text-align: center;
  display: block;
  padding: 8px 0 5px;
  background: var(--ea-primary-color);
  color: #fff;
}

.main-form-box form {
  padding: 20px 30px 30px;
}

.main-form-box input,
.main-form-box select,
.main-form-box textarea {
  outline: 0;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ea-primary-faded-color);
  padding: 5px 3px;
  margin-bottom: 5px;
}

.main-form-box select {
  padding: 6px 3px;
}

.main-form-box textarea {
  height: 100px;
  resize: none;
  margin-bottom: 15px;
}

.main-form-box input::placeholder,
.main-form-box textarea::placeholder {
  color: #888;
}

.main-form-box input:focus,
.main-form-box select:focus,
.main-form-box textarea:focus {
  border-style: dashed;
}

/* also the btn cancel-btn for the my subscription page  */

.cs-btn {
  outline: 0 !important;
  border: 0;
  cursor: pointer;
  background: var(--ea-primary-faded-color);
  color: #fff;
  width: 100%;
  padding: 8px 0;
  border-radius: 5px;
  text-transform: uppercase;
  transition: background 0.3s ease;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.cs-btn:hover {
  background: var(--ea-primary-color);
}

/* .cs-main-bottom */

.cs-main-bottom {
  padding: 100px 0 80px;
}

.cs-bottom-box {
  text-align: center;
  padding: 30px;
  height: 100%;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.24);
  transition: all 0.6s ease;
}

.cs-bottom-box:hover {
  box-shadow: 0 -3px 15px rgba(0, 0, 0, 0.24);
  transform: translateY(10px);
}

.cs-bottom-box img {
  width: auto;
  height: 80px;
  margin-bottom: 2rem;
}

.cs-main-bottom .col-lg-4:first-child .cs-bottom-box img {
  height: 85px;
  margin-bottom: calc(2rem - 5px);
}

.cs-bottom-box h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cs-bottom-box p {
  margin-bottom: 0;
}

/* .cs-subscription-content */

.cs-subscription-content {
  background-image: url("../assets/mysub/ds5.jpg");
  background-size: cover;
  background-position: center;
  height: calc(100vh - 70px);
  min-height: 500px;
  margin-top: 70px;
  margin-bottom: -1px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.subscription-form-wrapper {
  background: #fff;
  padding: 30px;
  margin: 0 15px;
  width: 600px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  animation-delay: 0.1s;
}

.subscription-form-wrapper label {
  cursor: pointer;
  margin-bottom: 0;
}

.subscription-form-wrapper input[type="email"] {
  outline: 0;
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 2px solid var(--ea-primary-color);
  padding: 5px 3px;
  margin-top: 5px;
  margin-bottom: 1rem;
}

.subscription-form-wrapper input[type="email"]:focus {
  border-style: dashed;
}

.subscription-form-wrapper p {
  margin-bottom: 1rem;
  font-weight: 600;
}

.subscription-form-wrapper input[type="checkbox"] {
  cursor: pointer;
  margin-top: 5px;
}

.subscription-form-wrapper label[for="checkSub"] {
  margin-bottom: 1.5rem;
  width: calc(100% - 20px);
  float: right;
}

/* .ds-faq-content */

.cs-faq-content {
  margin-top: 70px;
  padding: 80px 0;
  background: #f5f5f5;
}

.cs-faq-box {
  text-align: center;
  margin-bottom: 50px;
}

.cs-faq-box img {
  width: auto;
  height: 70px;
  margin-bottom: 1.5rem;
  transition: transform 0.8s ease;
}

.cs-faq-content .col-lg-3:nth-child(1) .cs-faq-box img,
.cs-faq-content .col-lg-3:nth-child(4) .cs-faq-box img,
.cs-faq-content .col-lg-3:nth-child(5) .cs-faq-box img {
  height: 60px;
  margin-top: 5px;
  margin-bottom: calc(1.5rem + 5px);
}

.cs-faq-box h2 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.cs-faq-box p {
  margin-bottom: 0;
}

.cs-faq-content .col-lg-3:nth-child(1n + 5) .cs-faq-box {
  margin-bottom: 0;
}

.cs-faq-box:hover img {
  transform: rotate(25deg);
}

.cs-faq-content .col-lg-3:nth-child(1) .cs-faq-box {
  animation-delay: 0s;
}

.cs-faq-content .col-lg-3:nth-child(2) .cs-faq-box {
  animation-delay: 0.25s;
}

.cs-faq-content .col-lg-3:nth-child(3) .cs-faq-box {
  animation-delay: 0.5s;
}

.cs-faq-content .col-lg-3:nth-child(4) .cs-faq-box {
  animation-delay: 0.75s;
}

.cs-faq-content .col-lg-3:nth-child(5) .cs-faq-box {
  animation-delay: 1s;
}

.cs-faq-content .col-lg-3:nth-child(6) .cs-faq-box {
  animation-delay: 1.25s;
}

.cs-faq-content .col-lg-3:nth-child(7) .cs-faq-box {
  animation-delay: 1.5s;
}

.cs-faq-content .col-lg-3:nth-child(8) .cs-faq-box {
  animation-delay: 1.75s;
}

/* .cs-footer */

.cs-footer {
  padding: 30px 0 25px;
  background: var(--ea-primary-color);
  color: #eee;
  text-align: center;
  bottom: 0;
}

.cs-footer p {
  margin-bottom: 1rem;
  color: var(--ea-nav-button-color);
}

.cs-footer p:last-child {
  margin-bottom: 0;
}

.cs-footer p strong {
  color: var(--ea-nav-button-color);
}

.cs-footer a {
  color: #eee !important;
}

.cs-footer a:hover {
  text-decoration: underline !important;
}

.success-message {
  background: #d4edda; /* Light green background */
  color: #155724; /* Dark green text */
  padding: 15px; /* Add some padding */
  margin-top: 20px; /* Add margin to the top */
  border: 1px solid #c3e6cb; /* Green border */
  border-radius: 5px; /* Rounded corners */
  transition: opacity 0.5s ease; /* Smooth fade-out effect */
}
