.custom-search-style {
    text-align: center; /* Center align the content */
    padding: 0 !important; /* Remove unwanted padding */
}
.wpb_content_element-img-bootom {
     margin-bottom: 0 !important;
}

.title-box.clearfix a {
    display: none !important;
}
body .my-custom-heading,
body .my-custom-heading * {
    font-size :36px;
  color: #ffffff !important;
  border-top: 2px solid #ffffff !important;
  border-right: 2px solid #ffffff !important;
  border-bottom: 2px solid #ffffff !important;
  border-left: none !important;
  border-radius: 10px !important;
  padding: 10px 15px !important;
  display: inline-block !important;
  background: transparent !important;
  background-color: rgba(0,0,0,0.5);
}


.custom-search-style .search-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    margin: 0 auto;
}

.custom-search-style .search-box input[type="text"] {
    width: 100%;
    font-size: 16px;
    border: 2px solid #00A8B5; /* Adjusted border color */
    border-radius: 50px; /* Fully rounded */
    background-color: transparent;
    color: #00A8B5;
    outline: none;
    transition: all 0.3s ease-in-out;
    text-align: left; /* Align text properly */
}

/* Remove placeholder */
.custom-search-style .search-box input[type="text"]::placeholder {
    color: transparent !important;
}

.custom-search-style .search-box button[type="submit"] {
    position: absolute;
    right: 0px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    font-size: 20px;
    color: #00A8B5;
    cursor: pointer;
    padding: 5px;
    transition: background-color 0.3s ease-in-out;
}

.custom-search-style .search-box input[type="text"]:focus,
.custom-search-style .search-box button[type="submit"]:focus {
    outline: none !important;
    box-shadow: none !important;
    border-color: #00A8B5 !important;
    background-color: transparent !important;
}

.custom-search-style .search-box button[type="submit"]:focus,
.custom-search-style .search-box button[type="submit"]:focus-visible,
.custom-search-style .search-box button[type="submit"]:active,
.custom-search-style .search-box input[type="text"]:focus + button[type="submit"] {
    background-color: #1695A3 !important;
    color: white !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Tag Cloud Custom Design */

.custom-tag-cloud h2,
.custom-tag-cloud .widget-title {
    display: none !important;
}

/* Style for tag cloud container */
.custom-tag-cloud {
    text-align: center; /* Center align the tags */
}

/* Style for individual tags */
.custom-tag-cloud a {
    display: inline-block;
    background-color: rgba(0, 168, 181, 0.1); /* Light cyan background */
    color: #00A8B5; /* Text color */
    font-size: 16px !important; /* Consistent font size */
    text-decoration: none;
    padding: 8px 18px;
    margin: 8px;
    border-radius: 25px; /* Rounded pill shape */
    transition: all 0.3s ease-in-out;
}

/* Hover effect */
.custom-tag-cloud a:hover {
    background-color: #00A8B5;
    color: white;
}

/* Popular Courses Custom BG */

/* Ensure the parent section has a relative position */
.popular-courses-section {
    position: relative;
    padding: 50px 0;
}

.program-section.style-two::before,
.program-section.style-two::after {
    display: none !important;
    background: none !important;
    opacity: 0 !important;
}

/* Ensure no background color is applied */
.program-section.style-two {
    background-color: transparent !important;
}

.program-block .text {
    font-size: 16px; /* Increase as needed */
    color: #00838F !important; /* Use the same color as the heading */
    font-weight: 500; /* Optional: Makes the text slightly bolder */
}

/* Logo in the top-right corner */
.program-block .inner-box::after {
    content: "";
    background-image: url('https://yourratio.co.uk/wp-content/uploads/2024/04/Favicon-design-Ratio.png'); /* Replace with actual logo URL */
    background-size: contain;
    background-repeat: no-repeat;
    width: 50px;
    height: 50px;
    position: absolute;
    top: -15px;
    right: -15px;
}

.why-choose-ratio {
    position: relative;
    background: url('') center/cover no-repeat;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

.why-choose-ratio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); /* Dark overlay */
}

.content-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    z-index: 2;
}

.why-choose-ratio h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: white !important;
}

.why-choose-ratio p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: white;
    font-family: 'Raleway', sans-serif !important; /* Applies Raleway font */

}

.why-choose-ratio .highlight {
    color: #1695A3; /* Adjust this to match the blue highlight color */
}

.closing {
    font-size: 20px;
    font-weight: bold;
}

.custom-course-form {
    width: 100%;
    margin: 0 auto;
    padding: 0px;
    background: #ffffff; /* Adjust if needed */
}

.custom-course-form input,
.custom-course-form select,
.custom-course-form textarea {
    width: 100%;
    padding: 5px;
    margin: 8px 0;
    border: 2px solid #1695A3; 
    border-radius: 5px; /* Slight rounding */
    font-size: 16px;
    color: #1695A3; /* Blue text */
    background: transparent; /* Keeps the background clean */
}

.custom-course-form textarea {
    resize: none; /* Prevents resizing */
    height: 50px; /* Adjust for 2 lines */
}

.custom-course-form input[type="submit"] {
    background-color: #EEF0F5;
    width: 50%; /* Adjust as needed */
    color: #1695A3;
    border: 2px solid #1695A3;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 25px;
    font-weight: bold;
    cursor: pointer;
    display: block;
    margin: 10px auto 0; /* Centers the button */
    transition: 0.3s ease-in-out;
}

.custom-course-form input[type="submit"]:hover {
    background-color: #1695A3;
    color: #EEF0F5;
}

.wpcf7-response-output {
    color: white !important; /* Ensures the text is white */
    background: transparent; /* Optional: keeps background unchanged */
    font-weight: bold; /* Optional: makes the text bold */
}
.stretchrow{
    width: 100vw !important;
margin-left: calc(-50vw + 50%) !important;

}
section.page-title::before {
  background: none !important;
  background-color: transparent !important;
  content: none !important;
  opacity: 0 !important;
  display: none !important;
}
section.page-title {
       padding-bottom: 107px;
}
.vc_column-inner {
  padding-top: 0px !important;
}
.wpb_content_element {
    margin-bottom: 0px !important;
}
body {
  font-family: 'Raleway', sans-serif !important;
}
@media (max-width: 767px) {
  .mobile-center-text {
    text-align: center !important;
  }
}
@media (max-width: 767px) {
  .vc_custom_1745953112843.remove-padding-at-mobile,
  .vc_custom_1745953092011.remove-padding-at-mobile,
  .vc_custom_1745952922435.remove-padding-at-mobile {
    padding-left: 0 !important;
    padding-top: 0 !important;
  }
}

.col-20 {
  flex: 0 0 10%;
  max-width: 10%;
}
.col-80 {
  flex: 0 0 90%;
  max-width: 90%;
}