/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */


/*/Courses page*/
/*/Courses page*/
.courses-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

.course-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f0f0f0;
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(9, 60, 122, 0.15);
}

.course-thumbnail {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.course-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-thumbnail img {
    transform: scale(1.05);
}

.course-content {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
}

/* Original course-title kept for compatibility */


/* New class for course title */
.course-card-title {
    margin: 0 0 15px;
    font-size: 1.1rem;
    color: #222;
    font-weight: 600;
    line-height: 1.3;
}

.course-excerpt {
    color: #555;
    margin-bottom: 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 4.8em; /* Approximately 3 lines */
}

.enroll-btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: #093C7A;
    color: white !important;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 5px rgba(9, 60, 122, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: auto; /* Push button to bottom of card */
}

.enroll-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.enroll-btn:hover {c
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(9, 60, 122, 0.3);
}

.enroll-btn:hover:before {
    left: 100%;
}

/*/course single page*/
/* Reset container padding for the header */
.course-single-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Content area maintains centered width */
.course-content-container {
    max-width: 1200px;

    padding: 20px 20px;
    display: grid;
    grid-template-columns: 2fr 3fr;
      margin: 60px auto 80px auto; /* more space above & below */

    gap: 40px;
}

/* Full-width header with no spacing */
.course-header {
    position: relative;
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
    height: 500px;
    margin-top: -40px; /* Adjust based on your theme's spacing */
}

.course-header.no-image {
    background: linear-gradient(45deg, #093C7A, #1a5ba8);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-featured-image {
    position: relative;
    height: 100%;
    width: 100%;
}

.course-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.course-title-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1), rgba(0,0,0,0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 30px;
}

.course-title {
    color: #fff;
    font-size: 2.8rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
}

/* Course content */
.course-content {
    color: #333;
    line-height: 1.7;
}

.course-description {
    background-color: #fff;
    /*padding: 30px;*/
    border-radius: 12px;
    /*box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);*/
    text-align: left;
}

.course-description h2 {
    color: #093C7A;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.8rem;
    text-align: left;
}

.course-description h3 {
    color: #333;
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    text-align: left;
}

.course-description p {
    margin-bottom: 20px;
    text-align: left;
}

/* Form sidebar */
.course-sidebar {
    position: sticky;
    top: 30px;
    align-self: start;
}

.enrollment-form {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    backdrop-filter: blur(5px);
}

.enrollment-form h2 {
    color: #093C7A;
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    text-align: center;
}

.enrollment-form p {
    text-align: center;
    margin-bottom: 25px;
    color: #555;
}

/* Onboarding Information Styling */
.course-onboarding-info {
    background-color: #f8faff;
    border-radius: 12px;
    padding: 30px;
    margin-top: 50px;
    border: 1px solid #e0e8f5;
    position: relative;
    overflow: hidden;
}

.course-onboarding-info:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #093C7A, #1a5ba8);
}

.onboarding-header h3 {
    color: #093C7A;
    margin-bottom: 10px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.onboarding-header h3 i {
    font-size: 1.3em;
}

.onboarding-header .subtitle {
    color: #555;
    margin-bottom: 25px;
    font-size: 0.95rem;
}

.onboarding-steps {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.step-icon {
    background-color: #e6edfa;
    color: #093C7A;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 3px;
}

.step-content h4 {
    margin-bottom: 8px;
    color: #093C7A;
    font-size: 1.15rem;
}

.step-content p {
    color: #555;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.onboarding-note {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #d0d9e8;
    font-size: 0.9rem;
}

.onboarding-note p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.onboarding-note a {
    color: #093C7A;
    text-decoration: underline;
}

/* Enrollment Benefits */
.enrollment-benefits {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}

.enrollment-benefits h4 {
    color: #093C7A;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.enrollment-benefits ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.enrollment-benefits li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
}

.enrollment-benefits li i {
    color: #1a5ba8;
    width: 20px;
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .course-content-container {
        grid-template-columns: 1fr;
    }
    
    .course-sidebar {
        order: -1;
        position: static;
        margin-bottom: 40px;
    }
    
    .course-onboarding-info {
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .course-header {
        height: 400px;
    }
    
    .course-header.no-image {
        height: 250px;
    }
    
    .course-title {
        font-size: 2.2rem;
    }
}

/* Fluent Forms styling to match WPForms */
#fluentform_1 .ff-el-input--label {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

#fluentform_1 .ff-el-group {
    margin-bottom: 10px;
}

#fluentform_1 input[type="text"],
#fluentform_1 input[type="email"],
#fluentform_1 textarea,
#fluentform_1 select {
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    padding: 12px 15px !important;
    width: 100% !important;
    transition: all 0.3s !important;
    background-color: rgba(255, 255, 255, 0.8) !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

#fluentform_1 input[type="text"]:focus,
#fluentform_1 input[type="email"]:focus,
#fluentform_1 textarea:focus,
#fluentform_1 select:focus {
    border-color: #093C7A !important;
    box-shadow: 0 0 0 2px rgba(9, 60, 122, 0.2) !important;
    outline: none !important;
    background-color: white !important;
}

#fluentform_1 .ff-btn.ff-btn-submit {
    background-color: #093C7A !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 14px 25px !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.3s !important;
    width: 100% !important;
}

#fluentform_1 .ff-btn.ff-btn-submit:hover {
    background-color: #072c59 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 10px rgba(9, 60, 122, 0.3) !important;
}

/* Specific adjustments for the name fields container */
#fluentform_1 .ff-name-field-wrapper .ff-t-cell {
    padding-right: 10px;
}

#fluentform_1 .ff-name-field-wrapper .ff-t-cell:last-child {
    padding-right: 0;
}

/* Textarea specific styling */
#fluentform_1 textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 992px) {
    .course-content-container {
        grid-template-columns: 1fr;
    }
    
    .course-title {
        font-size: 2rem;
    }
    
    .course-header {
        height: 300px;
    }
}

/* Parent container - this might be your section or a custom div */
.lp-form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - navbar-height); /* Adjust navbar-height to your actual navbar height */
  padding: 20px;
  box-sizing: border-box;
}

/* Main Form Container */
.learn-press-form-login {
  max-width: 500px;
  width: 100%;
  margin: 0 auto; /* Removed top/bottom margin since flex handles centering */
  padding: 30px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  
  /* Remove these as they're not needed with flex parent */
  /* position: relative;
  top: 50%;
  transform: translateY(-50%); */
}
.learn-press-form-login .form-fields {
    padding-inline-start: 0 !important;
    margin-inline-start: 0;
}

/* If you also want to target all list items */
.learn-press-form-login .form-fields li {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

/* Rest of your existing styles remain the same */
.learn-press-form-login h3 {
  color: #093C7A;
  text-align: center;
  font-size: 24px;
	display: none;
  margin-bottom: 25px;
  font-weight: 600;
}

.learn-press-form-login .form-fields li {
  margin-bottom: 20px;
  list-style: none;
}

.learn-press-form-login input[type="text"],
.learn-press-form-login input[type="password"] {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
  transition: all 0.3s;
}

.learn-press-form-login input:focus {
  border-color: #093C7A;
  box-shadow: 0 0 0 2px rgba(9, 60, 122, 0.2);
  outline: none;
}

.learn-press-form-login label {
  display: block;
  margin-bottom: 8px;
  color: #555;
  font-weight: 500;
}

.learn-press-form-login .required {
  color: #ff0000;
}

.learn-press-form-login input[type="checkbox"] {
  margin-right: 8px;
  accent-color: #093C7A;
}

.learn-press-form-login button[type="submit"] {
  background: #093C7A;
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.learn-press-form-login button[type="submit"]:hover {
  background: #072b5a;
}

.learn-press-form-login a {
  color: #093C7A;
  text-decoration: none;
  display: inline-block;
  margin-top: 15px;
	display: none;
}

.learn-press-form-login a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .learn-press-form-login {
    padding: 30px;
  }
}


.learn-press-breadcrumb{
	display: none;
}