/* 

Theme Name:Hustero Learning
Text Domain:www.learning.hustero.com
Version:1.0
Description:A Learning Platform buil buy hustero to help young people in education 
Author:Hustero
Author URI:www.hustero.com
Tags:E-learning Technology Virtual  




*/

@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Merriweather:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400;1,700;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
  text-transform: none;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

a:hover {
  cursor: pointer;
}

/*************  center button login google ****************  */
div.nsl-container[data-align="left"] {
  text-align: center !important;
}


/********************** login form mobile margin**************  */
@media only screen and (max-width: 900px){
	.tutor-login-wrap, #tutor-registration-wrap {
  top: 8rem;
  position: relative;
}
	
}

@media (min-width: 992px){
.tutor-grid-3 {
  grid-template-columns: repeat(4, 1fr)!important;
}
	
}

/* ==========================================================================
   Custom Course Card & Pagination Styles (SaaS Style)
   ========================================================================== */

.free-courses-page {
    background-color: #f8fafc;
    color: #1e293b;
    min-height: 100vh;
    padding-bottom: 5rem;
}

/* Hero Section */
.free-courses-hero {
    background: linear-gradient(135deg, #14254a 0%, #0a1329 100%);
    color: #ffffff;
    padding: 6rem 2rem 5rem;
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.2rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    color: #94a3b8;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* Main Content Section */
.courses-section {
    max-width: 1200px;
    margin: -2.5rem auto 0;
    padding: 0 2rem;
}

/* Course Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
}

.course-card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.03), 0 0 0 1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.course-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.course-thumbnail-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    background: #e2e8f0;
}

.course-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.course-badge-free {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    text-transform: uppercase;
    z-index: 10;
}

.course-badge-free-color {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
}

.course-badge-paid {
    background: #3b82f6;
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.2);
}

.course-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 1rem;
}

.course-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.course-meta-divider {
    width: 3px;
    height: 3px;
    background-color: #cbd5e1;
    border-radius: 50%;
}

.course-title {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.4;
    color: #0f172a;
    margin: 0;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 3.36rem;
}

.course-card:hover .course-title {
    color: #14254a;
}

.course-price-container {
    font-size: 1.15rem;
    font-weight: 700;
    color: #10b981;
    margin-top: -0.25rem;
}

.course-price-container del {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 400;
    margin-left: 0.5rem;
}

.course-instructor {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.instructor-avatar {
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
    overflow: hidden;
}

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

.instructor-name {
    font-size: 0.85rem;
    color: #475569;
    font-weight: 500;
}

.course-footer {
    padding: 0 1.5rem 1.5rem;
}

.enroll-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #14254a;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.8rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.course-card:hover .enroll-btn {
    background: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

/* Pagination Styling */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 4rem;
}

.pagination-wrapper .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.5rem;
    height: 2.5rem;
    padding: 0 0.5rem;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.pagination-wrapper .page-numbers:hover {
    background: #f1f5f9;
    color: #0f172a;
}

.pagination-wrapper .page-numbers.current {
    background: #14254a;
    color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(20, 37, 74, 0.2);
}

/* Empty State */
.no-courses {
    background: #ffffff;
    border-radius: 1rem;
    padding: 5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 2rem auto;
}

.no-courses-icon {
    font-size: 3.5rem;
    color: #94a3b8;
    margin-bottom: 1.5rem;
}

.no-courses-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.no-courses-desc {
    color: #64748b;
    font-size: 0.95rem;
}

@media only screen and (max-width: 1024px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.8rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
}

@media only screen and (max-width: 640px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .free-courses-hero {
        padding: 5rem 1rem 4rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .courses-section {
        margin-top: -1.5rem;
        padding: 0 1rem;
    }
}

/* Premium Filter & Search Controls (SaaS Style) */
.courses-filter-form {
    margin-bottom: 4rem;
}

.filter-controls-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.search-input-wrapper {
    position: relative;
    flex: 2;
    min-width: 280px;
    display: flex;
}

.filter-search-input {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 3rem 0.8rem 1.2rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #0f172a;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.filter-search-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.filter-search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 3rem;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.filter-search-btn:hover {
    color: #14254a;
}

.select-wrapper {
    flex: 1;
    min-width: 200px;
}

.filter-select {
    width: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    padding: 0.8rem 2.5rem 0.8rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    color: #475569;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.filter-select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Latest 4-column courses grid on homepage */
.latest-courses-grid {
    grid-template-columns: repeat(4, 1fr) !important;
}

@media only screen and (max-width: 1024px) {
    .latest-courses-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.8rem;
    }
}

@media only screen and (max-width: 640px) {
    .latest-courses-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

/* ==========================================================================
   Tutor LMS Login & Registration Pages (Modern SaaS UI)
   ========================================================================== */

#tutor-registration-wrap,
.tutor-login-wrap {
    background: #ffffff !important;
    border-radius: 1.25rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03) !important;
    max-width: 480px !important;
    padding: 2.5rem !important;
    margin: 4rem auto !important;
}

#tutor-registration-form,
.tutor-login-form-wrapper {
    padding: 0 !important;
}

/* Titles */
.tutor-login-wrap .tutor-h3,
.tutor-login-wrap .tutor-fs-4 {
    font-family: 'Inter', 'Montserrat', sans-serif !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 2rem !important;
    letter-spacing: -0.02em !important;
    text-align: center !important;
}

/* Labels */
#tutor-registration-wrap label,
.tutor-login-wrap label,
.tutor-label {
    font-family: 'Inter', 'Montserrat', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 0.5rem !important;
    text-transform: none !important;
}

/* Input Fields */
#tutor-registration-wrap .tutor-input-field,
.tutor-login-wrap .tutor-input-field {
    margin-bottom: 1.25rem !important;
}

#tutor-registration-wrap .tutor-form-control,
.tutor-login-wrap .tutor-form-control {
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    padding: 0.85rem 1.2rem !important;
    border-radius: 0.5rem !important;
    font-size: 0.92rem !important;
    color: #0f172a !important;
    width: 100% !important;
    outline: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.02) !important;
}

#tutor-registration-wrap .tutor-form-control:focus,
.tutor-login-wrap .tutor-form-control:focus {
    background: #ffffff !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}

/* Eye icon toggle for password */
.tutor-password-field span,
.tutor-input-field span {
    color: #64748b !important;
}

/* Buttons */
#tutor-registration-wrap .tutor-btn-primary,
.tutor-login-wrap .tutor-btn-primary,
#tutor-registration-wrap button[type="submit"],
.tutor-login-wrap button[type="submit"] {
    background: #14254a !important;
    color: #ffffff !important;
    font-family: 'Inter', 'Montserrat', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 0.9rem 1.5rem !important;
    border-radius: 0.5rem !important;
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    display: block !important;
    margin-top: 1.5rem !important;
}

#tutor-registration-wrap .tutor-btn-primary:hover,
.tutor-login-wrap .tutor-btn-primary:hover,
#tutor-registration-wrap button[type="submit"]:hover,
.tutor-login-wrap button[type="submit"]:hover {
    background: #2563eb !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25) !important;
    transform: translateY(-1px) !important;
}

/* Links & Help text */
.tutor-login-wrap a.tutor-btn-link-gray,
.tutor-login-wrap .tutor-btn-link,
#tutor-registration-wrap .tutor-btn-link {
    color: #2563eb !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.tutor-login-wrap a.tutor-btn-link-gray:hover,
.tutor-login-wrap .tutor-btn-link:hover,
#tutor-registration-wrap .tutor-btn-link:hover {
    color: #1d4ed8 !important;
}

.tutor-login-wrap .tutor-small,
#tutor-registration-wrap .tutor-small {
    color: #64748b !important;
    font-size: 0.88rem !important;
}

/* Checkbox layout */
}

/* ==========================================================================
   Premium Student Registration Form Polish (Modern SaaS UI)
   ========================================================================== */

.custom-saas-registration-wrap {
    background: #ffffff !important;
    border-radius: 1.5rem !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02) !important;
    max-width: 540px !important;
    padding: 0 !important;
    margin: 4rem auto !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Accent top border gradient */
.custom-saas-registration-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #14254a, #2563eb);
}

.custom-saas-registration-wrap form {
    padding: 0 2.5rem 2.5rem 2.5rem !important;
}

.saas-form-header {
    text-align: center;
    padding: 3rem 2.5rem 1.5rem 2.5rem;
}

.saas-form-title {
    font-family: 'Inter', 'Montserrat', sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 850 !important;
    color: #0f172a !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: -0.03em !important;
}

.saas-form-subtitle {
    font-family: 'Inter', 'Montserrat', sans-serif !important;
    font-size: 0.92rem !important;
    color: #64748b !important;
    margin: 0 !important;
    font-weight: 500 !important;
}

.name-fields-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 1.25rem !important;
    margin-bottom: 0 !important;
}

@media only screen and (max-width: 500px) {
    .name-fields-row {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }
}

.terms-checkbox-wrapper {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
}

.terms-label {
    font-size: 0.82rem !important;
    color: #475569 !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    margin: 0 !important;
}

.terms-label a {
    color: #2563eb !important;
    text-decoration: underline !important;
    font-weight: 600 !important;
}

.terms-label a:hover {
    color: #1d4ed8 !important;
}

.register-btn-container {
    margin-top: 2rem !important;
}

.saas-submit-btn {
    margin-top: 0 !important;
    font-size: 0.98rem !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 4px 6px -1px rgba(20, 37, 74, 0.15) !important;
}

.font-medium-gray {
    color: #64748b !important;
    font-weight: 500 !important;
}

.saas-link-login {
    color: #2563eb !important;
    font-weight: 700 !important;
}

.form-footer-links {
    margin-top: 1.25rem !important;
}

/* ==========================================================================
   SaaS Testimony Section & Photoshop Selection Frame Styles
   ========================================================================== */

.saas-testimony-section {
    padding: 6rem 2rem;
    background-color: #f8fafc;
    background-image: radial-gradient(rgba(20, 37, 74, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(20, 37, 74, 0.1);
    border-bottom: 1px solid rgba(20, 37, 74, 0.1);
}

.saas-testimony-section::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.saas-testimony-section::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -120px;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(20, 37, 74, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.testimony-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimony-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

@media only screen and (max-width: 991px) {
    .testimony-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Left Side: Content */
.testimony-content-side {
    position: relative;
}

/* Sleek Blue Outline Pill with Pulsing Blue Dot */
.saas-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    border: 1px solid rgba(20, 37, 74, 0.3);
    background: rgba(20, 37, 74, 0.06);
    color: #14254a;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #14254a;
    position: relative;
    display: inline-block;
}

.badge-dot::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(20, 37, 74, 0.4);
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.testimony-quote-icon {
    font-size: 3.5rem;
    color: #14254a;
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimony-tagline {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #14254a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.testimony-quote-text {
    font-family: 'Inter', 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 400;
    text-align: left;
    line-height: 1.5;
    color: #475569;
    margin: 1.5rem 0;
    letter-spacing: -0.01em;
    border-left: 3px solid #14254a;
    padding-left: 1.25rem;
}

@media only screen and (max-width: 640px) {
    .testimony-quote-text {
        font-size: 1rem;
    }
}

/* Author Details Structure */
.testimony-author-details {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimony-author-name {
    font-family: 'Inter', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.testimony-author-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.testimony-meta-sep {
    color: #cbd5e1;
    margin: 0 0.25rem;
}

.testimony-author-position {
    color: #475569;
}

.testimony-author-company {
    font-weight: 600;
    color: #14254a;
}

/* Right Side: Pop-out Cutout Frame */
.testimony-image-side {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-cutout-frame {
    position: relative;
    width: 280px;
    height: 280px;
    margin: 0 auto;
    border-radius: 50%;
    border: 6px solid #ffffff;
    box-shadow: 0 20px 40px rgba(15,23,42,0.1), 0 0 0 2px #14254a;
    background: #f8fafc;
}

.image-backdrop-ring {
    display: none;
}

.cutout-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-cutout-frame:hover .cutout-img {
    transform: scale(1.05);
}

/* Verified Badge */
.verified-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 10;
    width: 32px;
    height: 32px;
    background: #14254a;
    color: #ffffff;
    border: 3px solid #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(20, 37, 74, 0.35);
}

@media only screen and (max-width: 640px) {
    .image-cutout-frame {
        width: 230px;
        height: 230px;
    }
}

/* Static Testimonies Wrapper for <= 2 items */
.static-testimonies-wrapper {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

/* Swiper Testimonials Slider & Controls */
.testimony-slider-wrapper {
    position: relative;
    padding: 0 4rem;
}

@media only screen and (max-width: 640px) {
    .testimony-slider-wrapper {
        padding: 0 2.5rem;
    }
}

.testimony-swiper {
    position: relative;
    padding: 0 0 4rem 0 !important;
    width: 100%;
    overflow: hidden;
}

.testimony-swiper .swiper-slide {
    height: auto;
}

/* Swiper Pagination Dots */
.testimony-pagination {
    bottom: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

.testimony-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #cbd5e1;
    opacity: 1;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 !important;
    cursor: pointer;
}

.testimony-pagination .swiper-pagination-bullet-active {
    width: 28px;
    border-radius: 6px;
    background: #14254a;
    box-shadow: 0 2px 6px rgba(20, 37, 74, 0.3);
}

/* Swiper Navigation Buttons */
.testimony-prev,
.testimony-next {
    --swiper-navigation-size: 20px !important;
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 50%;
    color: #14254a;
    box-shadow: none !important;
    transition: all 0.25s ease;
    top: 50%;
    transform: translateY(-50%);
    margin-top: -2rem;
}

.testimony-prev::after,
.testimony-next::after {
    font-size: 1.1rem;
    font-weight: 700;
}

.testimony-prev:hover,
.testimony-next:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #14254a !important;
    transform: translateY(-50%) scale(1.1) !important;
}

.testimony-prev {
    left: 0;
}

.testimony-next {
    right: 0;
}

/* No Testimonies Message Empty State */
.no-testimonies-message {
    max-width: 500px;
    margin: 2rem auto;
    text-align: center;
    padding: 3rem 2rem;
    background: #ffffff;
    border-radius: 1rem;
    border: 1px solid #edf2f7;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.no-testimonies-message i {
    font-size: 3rem;
    color: #14254a;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.no-testimonies-message h3 {
    font-size: 1.25rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.no-testimonies-message p {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}
