/**
 * Flexible Content Component Styles
 * Additional styles for flexible content blocks
 * 
 * Theme: Embarc Collective
 * Version: 1.0
 */

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-section {
    padding: 4rem 0;
}

.faq-section .accordion {
    margin-top: 2rem;
}

.faq-section .accordion-item {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background: transparent;
}

.faq-section .accordion-item:first-child {
    border-top: 1px solid #e5e7eb;
}

.faq-section .accordion-button {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1D1F24;
    background: transparent;
    border: none;
    padding: 1.5rem 0;
    box-shadow: none;
}

.faq-section .accordion-button:not(.collapsed) {
    color: #1D1F24;
    background: transparent;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231D1F24'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

.faq-section .accordion-body {
    padding: 0 0 1.5rem 0;
    color: #6B7280;
    line-height: 1.75;
}

/* ============================================================
   HOVER CARDS
   ============================================================ */
.icon-image {
    max-height: 80px;
    width: auto;
}

.hover-card {
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.hover-card:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.hover-card .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-card .icon img {
    max-width: 100%;
    height: auto;
}

.hover-card h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1D1F24;
}

.hover-card p {
    color: #6B7280;
    line-height: 1.75;
}

.hover-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1D1F24;
    font-weight: 500;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.hover-card a:hover {
    gap: 0.75rem;
}

.hover-card a svg {
    width: 14px;
    height: 14px;
}

/* ============================================================
   GOLD BOX SECTION
   ============================================================ */
.gold-box-section {
    background-color: var(--sunglow, #FFC730);
}

.gold-box-section .cta-box {
    background-color: var(--sunglow, #FFC730);
    color: #1D1F24;
}

.gold-box-item {
    background-color: var(--sunglow, #FFC730);
    padding: 2rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.gold-box-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.gold-box-item .icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gold-box-item h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1D1F24;
}

.gold-box-item p {
    color: #1D1F24;
    opacity: 0.9;
}

/* ============================================================
   GALLERY GRID & SLIDER
   ============================================================ */
.event-gallery-section,
.gallery-grid {
    padding: 4rem 0;
}

.gallery-grid .gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.gallery-grid .gallery-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transform: scale(1.02);
}

.gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
    border: 1px solid #ff3a61;
    border-radius: 20px;
}

.page-template-host-an-event .gallery-grid .gallery-item img {
    border: 0;
    border-radius: inherit;
    aspect-ratio: inherit;
}
.event-gallery-section .row, .gallery-grid .row {
    align-items: center;
    justify-content: center;
}

.gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Gallery Swiper Slider (for >4 images) */
/* Using EXACT theme testimonial slider navigation styles */
.gallery-swiper {
    position: relative;
}

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

.gallery-swiper .gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.gallery-swiper .gallery-item:hover {
    box-shadow: 0 10px 20px -3px rgba(0, 0, 0, 0.15);
    transform: translateY(-4px);
}

.gallery-swiper .gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-swiper .gallery-item:hover img {
    transform: scale(1.05);
}

/* Navigation - EXACT match with testimonial slider */
.gallery-swiper .swiper-manager-wrap {
    margin: 32px 0 0;
    display: flex;
    align-items: center;
}

.gallery-swiper .swiper-button-wrap {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
    position: relative;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    transform: translate(0px, 0px);
    margin: 0;
    margin-left: 16px;
    width: auto;
    border-radius: 50%;
    cursor: pointer;
}

.gallery-swiper .swiper-button-next svg,
.gallery-swiper .swiper-button-prev svg {
    width: 48px;
    min-width: 48px;
    border-radius: 50%;
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
    font-size: 0px;
}

.gallery-swiper .swiper-button-next:hover svg,
.gallery-swiper .swiper-button-prev:hover svg {
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.gallery-swiper .swiper-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.gallery-swiper .swiper-pagination.custom-pagination {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
}

.gallery-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    opacity: 1;
    background: rgb(230 230 230 / 60%);
}

.gallery-swiper .swiper-pagination-bullet-active {
    background: #04070c;
}

/* Responsive adjustments for gallery slider */
@media (max-width: 768px) {
    .gallery-swiper .gallery-item img {
        height: 250px;
    }
}

/* ============================================================
   CENTERED HERO
   ============================================================ */
.centered-hero.hero-banner {
    padding: 6rem 0;
    text-align: center;
}

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

/* ============================================================
   PORTRAIT CARDS / EXPERT SUPPORT
   ============================================================ */
.expert-support .feature-block {
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.expert-support .feature-block:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
}

.expert-support .feature-block img {
    border-radius: 0.5rem;
    width: 100%;
    height: auto;
}
.page-template-flexible-content .expert-support .feature-block h5 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1D1F24;
    margin-top: 1rem;
}

/* ============================================================
   TEXT GRID SECTION
   ============================================================ */
.text-grid-section {
    padding: 4rem 0;
}

.text-grid-section .row-t-gap {
    margin-top: 3rem;
}

/* ============================================================
   HERO SPLIT SECTION
   ============================================================ */
.hero-split-section {
    padding: 4rem 0;
}

.hero-split-section .content {
    padding-right: 2rem;
}

.hero-split-image {
    max-height: inherit !important;
}

@media (max-width: 768px) {
    .hero-split-section .content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}

/* ============================================================
   BASIC CONTENT SECTION
   ============================================================ */
.basic-content-section {
    padding: 4rem 0;
}

.basic-content-section .content-wrapper {
    font-size: 1.125rem;
    line-height: 1.75;
    color: #374151;
}

.basic-content-section .content-wrapper h1,
.basic-content-section .content-wrapper h2,
.basic-content-section .content-wrapper h3,
.basic-content-section .content-wrapper h4,
.basic-content-section .content-wrapper h5,
.basic-content-section .content-wrapper h6 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #1D1F24;
}

.basic-content-section .content-wrapper h1 {
    font-size: 2.5rem;
}

.basic-content-section .content-wrapper h2 {
    font-size: 2rem;
}

.basic-content-section .content-wrapper h3 {
    font-size: 1.75rem;
}

.basic-content-section .content-wrapper p {
    margin-bottom: 1.5rem;
}

.basic-content-section .content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 2rem 0;
}

.basic-content-section .content-wrapper ul,
.basic-content-section .content-wrapper ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.basic-content-section .content-wrapper li {
    margin-bottom: 0.5rem;
}

.basic-content-section .content-wrapper blockquote {
    padding-left: 1.5rem;
    border-left: 4px solid var(--sunglow, #FFC730);
    font-style: italic;
    color: #6B7280;
    margin: 2rem 0;
}

.basic-content-section .content-wrapper a {
    color: #1D1F24;
    text-decoration: underline;
}

.basic-content-section .content-wrapper a:hover {
    color: var(--sunglow, #FFC730);
}

/* ============================================================
   SECTION Y GAP
   ============================================================ */
.section-y-gap {
    padding: 4rem 0;
}

@media (min-width: 992px) {
    .section-y-gap {
        padding: 6rem 0;
    }
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 768px) {
    .faq-section,
    .text-grid-section,
    .event-gallery-section,
    .section-y-gap {
        padding: 3rem 0;
    }

    .hover-card {
        padding: 1.5rem;
    }

    .gold-box-item {
        padding: 1.5rem;
    }

    .basic-content-section .content-wrapper h1 {
        font-size: 2rem;
    }

    .basic-content-section .content-wrapper h2 {
        font-size: 1.75rem;
    }

    .basic-content-section .content-wrapper h3 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   PHOTO COLLAGE (for Hero)
   ============================================================ */
.photo-collage-wrapper {
    position: relative;
}

.photo-collage {
    width: 100%;
    max-height: 490px;
    overflow: hidden;
}
.page-template-flexible-content .photo-collage {
    max-height: 490px;
}
.page-template-flexible-content .dark-hero-banner.inner-banner .hero-description.v2{
        font-size: 14px;
}
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    width: 100%;
}

.photo-grid .photo {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

.photo-grid .photo:hover {
    transform: scale(1.02);
}

@media (max-width: 768px) {
    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .photo-grid .photo {
        height: 150px;
    }
}

/* ============================================================
   LOGO CLOUD / TRUSTED SECTION
   ============================================================ */
.trusted-section .title {
    text-align: center;
    margin-bottom: 3rem;
}

/* ============================================================
   ANIMATION CLASSES
   ============================================================ */
[data-aos="fade-up"] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.row-t-gap {
    margin-top: 3rem;
}

.row-t-gap > [class*="col-"] {
    margin-bottom: 2rem;
}

/* ============================================================
   CONTENT CALLOUT BOX (within sections)
   ============================================================ */
.content-callout {
    background-color: #F9FAFB;
    padding: 2rem;
    border-radius: 0.5rem;
    border-left: 4px solid var(--sunglow, #FFC730);
    margin: 2rem 0;
}

.content-callout h3,
.content-callout h4 {
    margin-top: 0;
    color: #1D1F24;
}

/* ============================================================
   ENHANCED REPEATING GOLD BOXES - Team Page Style
   ============================================================ */
.builder-section {
    background-color: var(--sunglow, #FFC730);
    position: relative;
}
.builder-section .card-body img {
    width: 100%;
    border: 1px solid #eee;
    margin-top: auto;
}

.builder-section .card-text {
    display: flex;
    flex-direction: column;
}
.builder-section .card-text p:last-child{
    margin-top: auto;
}
.program-card-enhanced {
    margin-top: 30px;
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 32px 24px;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    height: 100%;
}

@media (min-width: 1099px) {
    .program-card-enhanced {
        margin-bottom: 34px;
    }
}

.program-card-enhanced:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.program-card-enhanced h3,
.program-card-enhanced .h3 {
    font-family: "Instrument Serif";
    font-style: normal;
    color: #04070C;
    margin-bottom: 16px;
    font-weight: 400;
    font-size: 28px;
    line-height: 105%;
    letter-spacing: -0.01em;
}

@media (min-width: 1099px) {
    .program-card-enhanced h3,
    .program-card-enhanced .h3 {
        font-size: 32px;
    }
}

.program-card-enhanced p {
    color: #04070C;
    font-family: "Instrument Serif";
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 135%;
    letter-spacing: -0.01em;
    opacity: 0.9;
}

@media (min-width: 1099px) {
    .program-card-enhanced p {
        font-size: 20px;
        line-height: 140%;
    }
}
/* ============================================================
   ENHANCED WYSIWYG CONTENT - Team Page Style
   ============================================================ */
.wysiwyg-enhanced-content {
    font-family: "Instrument Serif";
    font-size: 18px;
    line-height: 160%;
    color: #04070C;
}

.wysiwyg-enhanced-content h1,
.wysiwyg-enhanced-content h2,
.wysiwyg-enhanced-content h3 {
    font-family: "Instrument Serif";
    font-weight: 400;
    color: #04070C;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 120%;
    letter-spacing: -0.01em;
}

.wysiwyg-enhanced-content h1 {
    font-size: 42px;
}

.wysiwyg-enhanced-content h2 {
    font-size: 36px;
}

.wysiwyg-enhanced-content h3 {
    font-size: 28px;
}

@media (min-width: 1099px) {
    .wysiwyg-enhanced-content h1 {
        font-size: 48px;
    }
    
    .wysiwyg-enhanced-content h2 {
        font-size: 40px;
    }
    
    .wysiwyg-enhanced-content h3 {
        font-size: 32px;
    }
}

.wysiwyg-enhanced-content p {
    margin-bottom: 1.5rem;
}

.wysiwyg-enhanced-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
}

.wysiwyg-enhanced-content ul,
.wysiwyg-enhanced-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.wysiwyg-enhanced-content li {
    margin-bottom: 0.75rem;
}

.wysiwyg-enhanced-content a {
    color: #04070C;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wysiwyg-enhanced-content a:hover {
    color: var(--sunglow, #FFC730);
}

.wysiwyg-enhanced-content blockquote {
    padding-left: 2rem;
    border-left: 4px solid var(--sunglow, #FFC730);
    font-style: italic;
    margin: 2rem 0;
    opacity: 0.9;
}

/* ============================================================
   HUBSPOT FORM PAGE HEADER
   ============================================================ */
.page-header-with-form {
    background: linear-gradient(135deg, #F9FAFB 0%, #fff 100%);
}

.page-header-with-form .common-title {
    margin-bottom: 3rem;
}

.page-header-with-form .hubspot-form-container {
    background: #fff;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .page-header-with-form .hubspot-form-container {
        padding: 2rem 1.5rem;
    }
}

/* ============================================================
   HOVER CARDS ENHANCED STYLING
   ============================================================ */
.hover-card-enhanced {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 199, 48, 0.1);
}

.hover-card-enhanced:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--sunglow);
}

.hover-card-title {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
    font-size: 1.25rem;
    color: #1D1F24;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.hover-card-body {
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.hover-card-body p {
    margin-bottom: 0.75rem;
}

.hover-card-body p:last-child {
    margin-bottom: 0;
}

.hover-card-link {
    margin-top: auto;
}

.hover-card-link a {
    color: #1D1F24;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
}

.hover-card-link a:hover {
    color: var(--sunglow);
    border-bottom-color: var(--sunglow);
}

.hover-card-link svg {
    transition: transform 0.3s ease;
}

.hover-card-link a:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   TEXT LEFT SECTION ENHANCED STYLING
   ============================================================ */
.text-left-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.text-left-content {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 199, 48, 0.1);
    position: relative;
        min-height: 500px;
    overflow: hidden;
}

.text-left-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--sunglow) 0%, #FFD700 100%);
}

.text-left-small {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.text-left-small svg {
    flex-shrink: 0;
}

.text-left-headline {
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1.2;
    color: #1D1F24;
    margin-bottom: 1.5rem;
    position: relative;
}

.text-left-headline::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--sunglow) 0%, #FFD700 100%);
    border-radius: 2px;
}

.text-left-body {
    color: #4B5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

.text-left-body h1,
.text-left-body h2,
.text-left-body h3,
.text-left-body h4,
.text-left-body h5,
.text-left-body h6 {
    color: #1D1F24;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
}

.text-left-body h1:first-child,
.text-left-body h2:first-child,
.text-left-body h3:first-child,
.text-left-body h4:first-child,
.text-left-body h5:first-child,
.text-left-body h6:first-child {
    margin-top: 0;
}

.text-left-body p {
    margin-bottom: 1.25rem;
}

.text-left-body p:last-child {
    margin-bottom: 0;
}
.text-left-body p img{
width: 100%;
}
.text-left-body ul,
.text-left-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.text-left-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.text-left-body a {
    color: var(--sunglow);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.text-left-body a:hover {
    border-bottom-color: var(--sunglow);
    color: #1D1F24;
}

/* ============================================================
   BASIC CONTENT SECTION STYLING (Same as Text Left)
   ============================================================ */
.basic-content-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.basic-content-body {
    color: #4B5563;
    line-height: 1.7;
    font-size: 1.1rem;
}

.basic-content-body h1,
.basic-content-body h2,
.basic-content-body h3,
.basic-content-body h4,
.basic-content-body h5,
.basic-content-body h6 {
    color: #1D1F24;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Instrument Sans', sans-serif;
    font-weight: 600;
}

.basic-content-body h1:first-child,
.basic-content-body h2:first-child,
.basic-content-body h3:first-child,
.basic-content-body h4:first-child,
.basic-content-body h5:first-child,
.basic-content-body h6:first-child {
    margin-top: 0;
}

.basic-content-body p {
    margin-bottom: 1.25rem;
}

.basic-content-body p:last-child {
    margin-bottom: 0;
}

.basic-content-body ul,
.basic-content-body ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.basic-content-body li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.basic-content-body a {
    color: var(--sunglow);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.basic-content-body a:hover {
    border-bottom-color: var(--sunglow);
    color: #1D1F24;
}

.basic-content-body blockquote {
    border-left: 4px solid var(--sunglow);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6B7280;
    background: rgba(255, 199, 48, 0.05);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
}

.basic-content-body img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 1.5rem 0;
}

.basic-content-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.basic-content-body th,
.basic-content-body td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #E5E7EB;
}

.basic-content-body th {
    background: var(--sunglow);
    color: #1D1F24;
    font-weight: 600;
    font-family: 'Instrument Sans', sans-serif;
}

.basic-content-body tr:hover {
    background: rgba(255, 199, 48, 0.05);
}
.dark-hero-banner .hero-text small, .dark-hero-banner .hero-text .small{
        text-align: left;
}
@media (max-width: 1199px) {
  .dark-hero-banner .hero-text {
    max-width: 440px;
            margin-right: auto;
  }
}
/* Responsive adjustments for text left section */
@media (max-width: 768px) {
    .text-left-content {
        padding: 2rem 1.5rem;
    }
    
    .text-left-headline {
        font-size: 2rem;
    }
    
    .text-left-body {
        font-size: 1rem;
    }
    
    .basic-content-body {
        font-size: 1rem;
    }
    
    .basic-content-body h1,
    .basic-content-body h2,
    .basic-content-body h3,
    .basic-content-body h4,
    .basic-content-body h5,
    .basic-content-body h6 {
        font-size: 1.5rem;
    }
}


.dark-hero-banner.inner-banner .hero-text .title-group, .dark-hero-banner.inner-banner .hero-description.v2 {
    max-width: 460px;
    padding-right: 20px;
}

.page-template-flexible-content .builder-section .row {
  gap: 24px 0;
}
.page-template-flexible-content .builder-section h5 ~ p, .page-template-flexible-content .builder-section .h5 ~ p,
.page-template-glaring-gap .builder-section h5 ~ p,
.page-template-glaring-gap .builder-section .h5 ~ p {
  min-height: auto;
  padding-bottom: 0 !important;
}

.page-template-flexible-content .founder-story-section+.founder-story-section {
    padding-top: 0;
}

.page-template-flexible-content .founder-story-section+.founder-story-section:nth-child(even) .row {
    flex-direction: row-reverse;
}
@media (min-width: 768px) {
.page-template-flexible-content .founder-story-section+.founder-story-section:nth-child(even) .ps-md-5 {
    padding-left: 0 !important;
    padding-right: 3rem !important;
}
}





/* ============================================================
   TOPICS SECTION STYLES
   ============================================================ */
.topics-section {
    background: #fff;
    padding: 100px 0;
}

.topics-headline {
    color: #1D1F24;
    font-family: 'Instrument Sans';
    font-variation-settings: 'wght' 700, 'wdth' 75;
    letter-spacing: -0.02em;
}

.topics-grid {
    margin-top: 60px;
}

.topic-card {
    padding: 32px 24px;
    background: #F8F9FA;
    border-radius: 16px;
    border-left: 4px solid #ffc730a8;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.topic-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 60px;
    height: 60px;
    background: #FFC730;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Sans';
    font-weight: 700;
    font-size: 24px;
    color: #1D1F24;
    box-shadow: 0 4px 12px rgba(255, 199, 48, 0.3);
}

.topic-title {
    color: #04070C;
    font-family: 'Instrument Sans';
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 60px;
    padding-right: 40px;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.topic-description {
    color: #4F5154;
    font-family: 'Instrument Sans';
    font-size: 16px;
    line-height: 1.6;
    font-variation-settings: 'wght' 400, 'wdth' 90;
}

.topic-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #5589F6 0%, #FFC730 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* Topics CTA Section */
.topics-callout-row {
    margin-top: 80px !important;
}

.topics-cta-section {
    background: linear-gradient(135deg, rgba(204, 15, 103, 0.88) 0%, rgb(255 199 48) 100%);
    border-radius: 20px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(85, 137, 246, 0.25);
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cta-decoration-1 {
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.1);
}

.cta-decoration-2 {
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-headline {
    color: #fff;
    font-family: 'Instrument Sans';
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    font-variation-settings: 'wght' 700, 'wdth' 75;
    margin-bottom: 1rem;
}

.cta-description {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.cta-button {
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #fff;
    color: #5589F6;
    font-family: 'Instrument Sans';
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    margin-top: 1rem;
}

.cta-button-icon {
    margin-left: 8px;
    width: 18px;
    height: 18px;
    filter: invert(44%) sepia(83%) saturate(1500%) hue-rotate(199deg) brightness(98%) contrast(93%);
}

/* Hover Effects */
.topic-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(85, 137, 246, 0.15);
    border-left-color: #FFC730;
}

.topic-card:hover .topic-number {
    transform: rotate(360deg) scale(1.1);
    background: #5589F6;
    color: #fff;
}

.topic-card:hover .topic-decoration {
    opacity: 1;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: #FFC730 !important;
    color: #1D1F24 !important;
}

.cta-button:hover .cta-button-icon {
    filter: invert(0%) !important;
}

/* ============================================================
   TESTIMONIALS SECTION STYLES
   ============================================================ */
.freelancer-pro.testimonials-section {
    padding: 100px 0;
    background: #fff;
}

.freelancer-pro .testimonials-headline {
    color: #1D1F24;
    font-family: 'Instrument Sans';
    font-variation-settings: 'wght' 700, 'wdth' 75;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.freelancer-pro .testimonial-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.freelancer-pro .testimonial-header {
    padding: 0 0 24px 0;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.freelancer-pro .testimonial-header-content {
    display: flex;
    align-items: start;
    justify-content: space-between;
}

.freelancer-pro .testimonial-info {
    flex-grow: 1;
}

.freelancer-pro .testimonial-name {
    color: #89E1CF;
    font-family: 'Instrument Sans';
    font-size: 24px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    position: relative;
}

.freelancer-pro .testimonial-title {
    color: #1D1F24;
    font-family: 'Instrument Sans';
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    margin-bottom: 0;
}

.freelancer-pro .testimonial-description {
    max-width: 280px;
    margin-left: 24px;
}

.freelancer-pro .testimonial-description p {
    color: #4F5154;
    font-family: 'Instrument Sans';
    font-size: 14px;
    line-height: 1.5;
    font-variation-settings: 'wght' 400, 'wdth' 90;
    margin-bottom: 0;
}

.freelancer-pro .testimonial-image {
    width: 100%;
    height: 280px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.freelancer-pro .testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.freelancer-pro .testimonial-quote {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.freelancer-pro .testimonial-quote blockquote {
    color: #1D1F24;
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.6;
    font-style: italic;
    position: relative;
    padding-left: 24px;
    margin-bottom: 0;
}

.freelancer-pro .quote-mark {
    position: absolute;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.freelancer-pro .quote-mark-start {
    left: 0;
    top: 0;
    font-size: 48px;
    color: #89E1CF;
}

.freelancer-pro .quote-text {
    margin-left: 8px;
}

.freelancer-pro .testimonial-quote blockquote::after {
    content: '"';
    position: absolute;
    bottom: -20px;
    right: 0;
    font-size: 48px;
    color: #89E1CF;
    font-family: 'Georgia', serif;
    line-height: 1;
}

.freelancer-pro .testimonial-button {
    margin-top: 1rem;
}

.freelancer-pro .testimonial-btn {
    border-color: #89E1CF;
    color: #89E1CF;
    font-family: 'Instrument Sans';
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

/* Testimonial Hover Effects */
.freelancer-pro .testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(137, 225, 207, 0.15);
}

.freelancer-pro .testimonial-btn:hover {
    background-color: #89E1CF !important;
    border-color: #89E1CF !important;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 225, 207, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .freelancer-pro .testimonial-header-content {
        flex-direction: column;
    }
    
    .freelancer-pro .testimonial-description {
        margin-left: 0 !important;
        margin-top: 16px;
        max-width: 100% !important;
    }
    
    .freelancer-pro .testimonial-image {
        height: 200px !important;
    }
    
    .freelancer-pro .testimonial-quote blockquote {
        font-size: 16px !important;
        padding-left: 16px !important;
    }
    
   .freelancer-pro  .quote-mark-start {
        font-size: 36px !important;
    }
}