@font-face {
  font-family: "Poppins Fallback";
  src: local("Arial");                
  font-weight: 100 900;              
  font-style: normal;
  size-adjust: 100%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

:root {
  --alt-aspect-desktop: 3 / 4; 
}


.alternating-content-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    width: 100%;
    overflow: visible;
    position: relative;
    max-width: 1440px;
    margin: 0 auto 15px auto;
    padding-bottom: 80px;
    contain: layout style;
}

.alternating-section-title {
    background: none;
    padding: 50px 20px 40px 20px;
    text-align: center;
    color: #1e293b;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    max-width: 1440px;
    margin: 0 auto;
}

.alternating-section-heading {
    color: #1e293b;
	font-family: "Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1;
    margin: 0 0 15px 0;
}

.alternating-section-subtitle {
    color: #64748b;
	font-family: "Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.alternating-block {
    width: 100%;
    background: transparent;
    position: relative;
    overflow: visible;
    padding: 1px 10px;
    box-sizing: border-box;
    contain: layout style;
}

.alternating-container {
    max-width: 1310px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    min-height: 0;
    position: relative;
    gap: 90px;

	grid-auto-rows: minmax(clamp(480px, 36vw, 600px), auto);


    box-sizing: border-box;
    contain: layout style;
}

.alternating-image-container {
    order: 1;
}

.alternating-content-container {
    order: 2;
}

.alternating-block.reversed .alternating-image-container {
    order: 2;
}

.alternating-block.reversed .alternating-content-container {
    order: 1;
}

.alternating-image-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: visible;
    box-sizing: border-box;
    padding: 5px;
	min-width: 0;

}

.alternating-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;

    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
}

.alternating-image-wrapper:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.alternating-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-sizing: border-box;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    contain: layout;
    opacity: 1;
	transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);

}

.alternating-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;  
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 12px;
}

.alternating-content-container {
    position: relative;
    padding: 75px 30px; 
    margin: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    height: auto;
    min-height: 0;
	align-self: center;
    display: flex;
    align-items: center;
	transition: box-shadow 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.5s cubic-bezier(0.4, 0, 0.2, 1),
            opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-sizing: border-box;
	min-width: 0;
    transform: translate3d(0, 0, 0);
}

.alternating-content-container:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 20px 60px rgba(16, 85, 69, 0.3);
    border-color: rgba(16, 185, 129, 0.1);
}

.alternating-content-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0d9488, #14b8a6, #5eead4);
    transform: translate3d(0, 0, 0) scaleX(0);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease 0.4s;
    border-radius: 12px 12px 0 0;
    opacity: 0.9;
}

.alternating-content-container:hover::before {
    transform: translate3d(0, 0, 0) scaleX(1);
    box-shadow: 0 0 20px rgba(20, 184, 166, 0.5);
}

.alternating-content-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

.alternating-title {
    color: #1e293b;
	font-family: "Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 0 auto 20px 0;
    line-height: 1.3;
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    opacity: 1;
	transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1),
            transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);

}

.alternating-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    border-radius: 2px;
    transform: translate3d(0, 0, 0) scaleX(0);
    transform-origin: left center;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;
}

.alternating-text {
    color: #64748b;
    font-family: "Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 1.2rem;
    line-height: 1.8;
    font-weight: 400;
    margin: 0;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    white-space: normal;
    word-break: normal;
    line-break: auto;
    -webkit-line-break: after-white-space;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.alternating-text p {
    margin: 0;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: none;
    -webkit-hyphens: none;
    -ms-hyphens: none;
    white-space: normal;
    word-break: normal;
    line-break: auto;
    -webkit-line-break: after-white-space;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    opacity: 1;
	transition: opacity 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s,
            transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.3s;

}

.loading-spinner {
    font-family: "Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 16px;
    color: #666;
    opacity: 0.8;
}

.alternating-block.reversed .alternating-content-container {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.alternating-block.reversed .alternating-title {
    color: #0f172a;
}

.alternating-block.reversed .alternating-text {
    color: #475569;
}

.image-error {
    color: #666;
    font-family: "Poppins","Poppins Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
    font-size: 14px;
    text-align: center;
}

.image-loaded {
    background: none !important;
    animation: none !important;
}

.alternating-block:not(.animated) .alternating-title {
    opacity: 0.3;
    transition: none;
}

.alternating-block:not(.animated) .alternating-text p {
    opacity: 0.3;
    transition: none;
}

.alternating-block:not(.animated) .alternating-image-placeholder {
    opacity: 0.5;
    transition: none;
}

.alternating-block.animated .alternating-title {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.alternating-block.animated .alternating-text p {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.alternating-block.animated .alternating-image-placeholder {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
}

.alternating-block.animated .alternating-title::after {
    transform: translate3d(0, 0, 0) scaleX(1);
}

@media screen and (max-width: 1200px) {
    .alternating-container {
        max-width: 100%;
        padding: 0 20px;
        gap: 50px;
    }
    
    .alternating-content-container {
        position: relative;
        padding: 75px 30px;  
        margin: 20px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        height: auto;
        min-height: 0;
		align-self: center;
        display: flex;
        align-items: center;
        border: 2px solid transparent;
        box-sizing: border-box;
        transform: translate3d(0, 0, 0);
    }
    
    .alternating-title {
        font-size: 2.2rem;
    }
    
    .alternating-text {
        line-height: 2.1;
        font-size: 1rem;
    }
}

@media screen and (max-width: 1024px) {
    .alternating-container {
        max-width: 100%;
        padding: 0 15px;
        gap: 25px;
    }
    
    .alternating-content-container {
        position: relative;
        padding: 55px 30px;  
        margin: 10px;
        background: #fff;
        border-radius: 12px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        height: auto;
        min-height: 0;
		align-self: center;
        display: flex;
        align-items: center;
        border: 2px solid transparent;
        box-sizing: border-box;
        transform: translate3d(0, 0, 0);
    }
    
    .alternating-title {
        font-size: 2rem;
    }
    
    .alternating-text {
        font-size: 0.95rem;
    }
}


@media screen and (max-width: 767px) {
    .alternating-content-section {
        padding: 10px 0 30px 0;
        margin: 0 auto 15px auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .alternating-section-title {
        padding: 25px 15px 10px 15px;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .alternating-section-heading {
        font-size: 1.7rem;
        letter-spacing: 1px;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none; 
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal; 
    }
    
    .alternating-section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .alternating-block {
        padding: 10px 0;
        margin: 0;
        overflow: visible;
        display: flex;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternating-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-height: auto;
      gap: 15px;
      padding: 0;
      margin: 0 auto;          
      max-width: 95%;
      width: 100%;
      box-sizing: border-box;
    }

    
    .alternating-block .alternating-container {
        margin: 0 auto;
    }
    
    .alternating-block .alternating-content-wrapper {
        text-align: center;
    }
    
    .alternating-block.reversed .alternating-container {
        margin: 0 auto;
    }
    
    .alternating-block.reversed .alternating-content-wrapper {
        text-align: center;
    }
    
    .alternating-block.reversed .alternating-image-container,
    .alternating-image-container {
        order: 1;
        padding: 5px;
        width: 100%;
        max-width: 550px;
        display: flex;
        justify-content: center;
    }
    
    .alternating-block.reversed .alternating-content-container,
    .alternating-content-container {
        order: 2;
          margin: 0 auto;
        width: 100%;
        max-width: 550px;
        display: flex;
        justify-content: center;
    }
    
    .alternating-image-wrapper {
        aspect-ratio: 4 / 5;
        min-height: 250px;
         margin: 0 auto;
        width: 100%;
    }
    
    .alternating-content-container {
        padding: 35px 20px;
         margin: 0 auto;
        min-height: auto;
        box-sizing: border-box;
        height: auto;
        text-align: center;
    }
    
    .alternating-content-wrapper {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    
    .alternating-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none; 
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
    }
    
    .alternating-title::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    .alternating-block.animated .alternating-title::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .alternating-text {
        font-size: 0.95rem;
        line-height: 1.7;
        max-width: 100%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none; 
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .alternating-text p {
        margin: 0;
        max-width: 100%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
    }
    
    .alternating-block:not(.animated) .alternating-title {
        opacity: 0.3;
    }
    
    .alternating-block:not(.animated) .alternating-text p {
        opacity: 0.3;
    }
    
    .alternating-block.animated .alternating-title,
    .alternating-block.animated .alternating-text p,
    .alternating-block.animated .alternating-image-placeholder {
        transition-duration: 0.6s;
    }
}

@media screen and (max-width: 480px) {
    .alternating-content-section {
        padding: 20px 0 20px 0;
        margin: 0 auto 15px auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .alternating-section-title {
        padding: 10px 15px 2px 15px;
        margin: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .alternating-section-heading {
        font-size: 1.4rem;
        letter-spacing: 0.5px;
        margin-bottom: 12px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
    }
    
    .alternating-section-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .alternating-block {
        padding: 6px 0;
        margin: 0;
        overflow: visible;
        display: flex;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternating-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 10px;
        padding: 0 10px;
        margin: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternating-block.reversed .alternating-image-container,
    .alternating-image-container {
        order: 1;
        padding: 5px;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .alternating-block.reversed .alternating-content-container,
    .alternating-content-container {
        order: 2;
        margin: 5px;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .alternating-image-wrapper {
        aspect-ratio: 4 / 5;
        min-height: 250px;
        margin: 0;
        width: 100%;
    }
    
    .alternating-content-container {
        padding: 20px 12px;
        margin: 0 auto;
        min-height: auto;
        box-sizing: border-box;
        height: auto;
        text-align: center;
    }
    
    .alternating-content-wrapper {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    
    .alternating-title {
        font-size: 1.05rem;
        margin-bottom: 15px;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
    }
    
    .alternating-title::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    .alternating-block.animated .alternating-title::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .alternating-text {
        font-size: 0.85rem;
        line-height: 1.7;
        max-width: 100%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .alternating-text p {
        margin: 0;
        max-width: 100%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
    }
}

@media screen and (max-width: 320px) {
    .alternating-content-section {
        padding: 20px 0 20px 0;
        margin: 0 auto 15px auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .alternating-section-title {
        padding: 0px 0px 0px 0px;
        margin: 0 auto 0px auto;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .alternating-section-heading {
        font-size: 1.2rem;
        letter-spacing: 0px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
    }
    
    .alternating-section-subtitle {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .alternating-block {
        padding: 6px 0;
        margin: 0;
        overflow: visible;
        display: flex;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternating-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 10px;
        padding: 0 10px;
        margin: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    
    .alternating-block.reversed .alternating-image-container,
    .alternating-image-container {
        order: 1;
        padding: 5px;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .alternating-block.reversed .alternating-content-container,
    .alternating-content-container {
        order: 2;
        margin: 5px;
        width: 100%;
        max-width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .alternating-image-wrapper {
        aspect-ratio: 4 / 5;
        min-height: 250px;
        margin: 0;
        width: 100%;
    }
    
    .alternating-content-container {
        padding: 20px 12px;
        margin: 0 auto;
        min-height: auto;
        box-sizing: border-box;
        height: auto;
        text-align: center;
    }
    
    .alternating-content-wrapper {
        max-width: 100%;
        width: 100%;
        text-align: center;
    }
    
    .alternating-title {
        font-size: 1.05rem;
        margin-bottom: 15px;
        max-width: 100%;
        text-align: center;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
    }
    
    .alternating-title::after {
        left: 50%;
        transform: translateX(-50%) scaleX(0);
    }
    
    .alternating-block.animated .alternating-title::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .alternating-text {
        font-size: 0.85rem;
        line-height: 1.7;
        max-width: 100%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        text-rendering: optimizeLegibility;
    }
    
    .alternating-text p {
        margin: 0;
        max-width: 100%;
        text-align: justify;
        word-wrap: break-word;
        overflow-wrap: break-word;
        -webkit-hyphens: none;
        -ms-hyphens: none;
        hyphens: none;
        white-space: normal;
        word-break: normal;
        line-break: auto;
        -webkit-line-break: after-white-space;
    }
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (prefers-reduced-motion: reduce) {
    .alternating-title,
    .alternating-text p,
    .alternating-image-placeholder {
        opacity: 1 !important;
        transform: translate3d(0, 0, 0) !important;
        animation: none !important;
        transition: none !important;
    }
    
    .alternating-title::after {
        transform: translate3d(0, 0, 0) scaleX(1) !important;
        transition: none !important;
    }
    
    .alternating-image-wrapper,
    .alternating-content-container,
    .alternating-image-placeholder {
        animation: none;
        transition: none;
    }
}