.landing-page-hero {
  background-image: url("../img/slider.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.landing-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#form_m {
  background-color: rgba(0, 0, 0, 0.5);
  /* Transparent background for form */
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

button {
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.main-content {
  text-align: center;
  padding: 40px 20px;
}

.subscription-container {
  display: flex;
  justify-content: center;
  gap: 30px;
  /* Increased gap for more spacing */
  flex-wrap: wrap;
  padding: 20px;
}

.card1 {
  background-color: #fff;
  color: #000;
  border: 1px solid #ddd;
  border-radius: 10px;
  width: calc(33.33% - 40px);
  /* Responsive width to fit 3 in a row with some spacing */
  max-width: 300px;
  /* Sets max width */
  min-width: 250px;
  /* Ensures minimum width */
  min-height: 380px;
  /* Slightly reduced height */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  text-align: center;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card1:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.card1 h2 {
  font-size: 1.4em;
  /* Adjust heading size */
  color: #333;
  /* Softer color for a polished look */
  margin-bottom: 10px;
  min-height: 130px;
  /* Fixed height for alignment */
  line-height: 1.2em;
  /* Maintain readability */
  text-align: center;
  /* Center-align the title */
  word-wrap: break-word;
  /* Break long words if needed */
  overflow: visible;
  /* Allow full display of the title */
  white-space: normal;
  /* Allow wrapping of text */
}

.price {
  font-size: 1.8em;
  color: #4caf50;
  /* Green shade for price */
  margin: 10px 0;
  min-height: 30px;
  /* Ensure consistent space for price text */
  display: flex;
  align-items: center;
  justify-content: center;
}

.features {
  list-style-type: none;
  padding: 0;
  color: #666;
  font-size: 0.9em;
}

.features li {
  margin: 6px 0;
}

.select-btn {
  background-color: #82c544;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s;
}

.select-btn:hover {
  background-color: darkgreen;
}

/* Responsive design for smaller screens */
@media (max-width: 900px) {
  .card1 {
    width: calc(50% - 20px);
    /* Show 2 cards per row on medium screens */
  }
}

@media (max-width: 600px) {
  .card1 {
    width: 100%;
    /* Show 1 card per row on small screens */
  }
}

.page-footer {
  background-color: #272727;
  color: #f2f2f2;
  padding: 40px 0;
  font-size: 14px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #82c544;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #82c544;
}

.social-links a {
  margin-right: 15px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: scale(1.1);
}

.footer-legal {
  font-size: 12px;
  border-top: 1px solid rgba(242, 242, 242, 0.2);
  padding-top: 10px;
}

.legal-links {
  list-style: none;
  display: flex;
  gap: 10px;
}

.legal-links li {
  margin: 0;
}

.legal-links a {
  color: #f2f2f2;
  text-decoration: none;
}

.legal-links a:hover {
  color: #82c544;
}

@media (max-width: 768px) {
  .footer-legal {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    justify-content: center;
    margin-top: 10px;
  }
}

.content-writer-orders {
  background-color: #f8faf8;
  padding: 40px;
}

.order-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.counter-box {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  color: #82c544;
  margin: 0;
}

.label {
  font-size: 1.25rem;
  color: #555555;
  margin-top: 10px;
}

.academic-hero-section {
  background-image: url("../img/academic-img/academic-writing.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Overlay Effect */
.academic-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay for better text contrast */
  z-index: 1;
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Main Heading */
.main-heading {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

/* Sub Heading */
.sub-heading span {
  /*color: #82c544;*/
  font-size: 36px;
  font-weight: 900;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Description Text */
.description {
  font-size: 18px;
  color: #f2f2f2;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Call-to-Action Button */
.btn-cta {
  background-color: #82c544;
  color: #fff;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  display: inline-block;
}

.btn-cta:hover {
  background-color: #6da438;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-heading {
    font-size: 32px;
  }

  .sub-heading span {
    font-size: 28px;
  }

  .description {
    font-size: 16px;
  }

  .btn-cta {
    font-size: 16px;
  }
}

.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  /* Prevent overflow on hover */
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.web-hero-section {
  background-image: url("../img/webs-content/web-content-page.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

/* Overlay Effect */
.web-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay for better text contrast */
  z-index: 1;
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

/* Main Heading */
.main-heading {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

/* Sub Heading */
.sub-heading span {
  color: #82c544;
  font-size: 36px;
  font-weight: 900;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
}

/* Description Text */
.description {
  font-size: 18px;
  color: #f2f2f2;
  line-height: 1.6;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
}

/* Call-to-Action Button */
.btn-cta {
  background-color: #82c544;
  color: #fff;
  padding: 12px 30px;
  font-size: 18px;
  border-radius: 50px;
  border: none;
  text-decoration: none;
  transition: background-color 0.3s ease;
  box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.3);
  margin-top: 20px;
  display: inline-block;
}

.btn-cta:hover {
  background-color: #6da438;
  color: #fff;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .main-heading {
    font-size: 32px;
  }

  .sub-heading span {
    font-size: 28px;
  }

  .description {
    font-size: 16px;
  }

  .btn-cta {
    font-size: 16px;
  }
}

.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  /* Prevent overflow on hover */
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.content-writer-orders {
  background-color: #f8faf8;
  padding: 40px;
}

.order-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.counter-box {
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.counter {
  font-size: 3rem;
  font-weight: bold;
  color: #82c544;
  margin: 0;
}

.label {
  font-size: 1.25rem;
  color: #555555;
  margin-top: 10px;
}

.contact-details {
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-icon {
  font-size: 28px;
  color: #82c544;
  margin-right: 15px;
}

.contact-info {
  font-size: 16px;
}

.contact-info a {
  color: #fff;
  text-decoration: none;
}

.contact-info a:hover {
  color: rgb(142, 202, 86);
}

/* Form Input Styling */
.input-group-prepend .input-group-text {
  background-color: #82c544;
  color: #fff;
}

.form-control {
  border-radius: 0;
  box-shadow: none;
  padding: 10px;
  font-size: 16px;
}

.form-select {
  border-radius: 0;
  box-shadow: none;
  padding: 10px;
  font-size: 16px;
}

textarea.form-control {
  resize: none;
}

/* Form Button */
.btn-primary {
  background-color: #82c544;
  font-weight: bold;
  padding: 10px 30px;
  font-size: 18px;
  border-radius: 30px;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: rgb(142, 202, 86);
}

/* Media Queries for Responsive Design */
@media only screen and (max-width: 768px) {
  .contact-details {
    padding: 20px;
  }

  .contact-item {
    flex-direction: column;
    align-items: flex-start;
  }

  form {
    padding: 20px;
  }
}

/* Enhance the shadow and hover effects */
.blog-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 15px;
  overflow: hidden;
  /* Prevent overflow on hover */
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Style the card images */
.card-img-top {
  object-fit: cover;
  height: 200px;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

/* Improve button styles */
button {
  padding: 10px 20px;
  border-radius: 8px;
}

/* General typography improvements */
h4.card-title {
  font-weight: bold;
}

p.card-text {
  font-size: 1rem;
  color: #333;
}

.main-container {
  width: 100vw;
  height: 100vh;
  display: flex;
}

.image-side {
  width: 50%;
  background-image: url("../img/1.jpg");
  background-size: cover;
  background-position: center;
}

.form-side {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.login-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  padding: 2rem;
  width: 80%;
}

.login-header {
  color: #212529;
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.btn-custom {
  background-color: #17a2b8;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #138496;
}

.invalid-feedback {
  display: block;
}

.login-footer a {
  color: #17a2b8;
  text-decoration: none;
}

.login-footer a:hover {
  text-decoration: underline;
}

.error-message {
  color: red;
  text-align: center;
  font-size: 14px;
}

.input-group-text {
  background-color: #e9ecef;
  border-right: 0;
}

.input-group .form-control {
  border-left: 0;
}

.btn {
  padding: 0.75rem 1.5rem;
  font-size: 16px;
  font-weight: 500;
}

.d-none {
  display: none;
}

@media (max-width: 768px) {
  .main-container {
    flex-direction: column;
  }

  .image-side {
    display: none;
  }

  .form-side {
    width: 100%;
  }

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

.register-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.register-header {
  color: #343a40;
  font-size: 28px;
  font-weight: 600;
}

.form-control:focus {
  border-color: #82c544;
  box-shadow: none;
}

.form-select:focus {
  border-color: #82c544;
  box-shadow: none;
}

.btn-custom {
  background-color: #82c544;
  color: #fff;
  transition: background-color 0.3s ease;
}

.btn-custom:hover {
  background-color: #6aae3e;
}

.invalid-feedback {
  display: block;
}

.register-footer a {
  color: #82c544;
  text-decoration: none;
}

.register-footer a:hover {
  text-decoration: underline;
}

.error-message {
  color: red;
  text-align: center;
}

@media (max-width: 768px) {
  .register-img {
    display: none;
  }
}

.split-screen {
  display: flex;
  min-height: 100vh;
}

.split-screen .img-section {
  width: 50%;
  background-color: #f8f9fa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.split-screen .form-section {
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.register-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .split-screen .img-section {
    display: none;
  }

  .split-screen .form-section {
    width: 100%;
  }
}