/* ===================================
   About Page Styles
   =================================== */

/* ===================================
   Hero Section
   =================================== */

.hero {
    position: relative;
    min-height: 873px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: fill;
}


.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    margin-top: 100px;
}

.hero-title {
    font-family: 'Aktiv Grotesk VF Trial', Helvetica, sans-serif;
    font-weight: 500;
    font-size: var(--font-size-xl);
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-family: 'Aktiv Grotesk VF Trial', Helvetica, sans-serif;
    font-weight: 500;
    font-size: var(--font-size-medium);
    color: #ffffff;
}

@media (max-width: 1024px) {
    .hero {
        min-height: 600px;
    }

    .hero-title {
        font-size: var(--font-size-xl-tablet);
    }

    .hero-subtitle {
        font-size: var(--font-size-medium-tablet);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        margin-top: 60px;
        padding: 0 16px;
    }

    .hero-title {
        font-size: var(--font-size-xl-mobile);
    }

    .hero-subtitle {
        font-size: var(--font-size-small-mobile);
    }
}

/* ===================================
   About Section
   =================================== */

.about-section {
    padding: 86px 0;
    background: #ffffff;
    overflow: visible;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    position: relative;
    overflow: visible;
}

.about-decoration {
    position: absolute;
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    width: 655px;
    max-width: calc(100% + 200px);
    height: auto;
    z-index: 0;
    pointer-events: none;
    opacity: 1;
}

.section-header {
    position: relative;
    z-index: 1;
    margin-bottom: 40px;
}

.section-header.centered {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.label-text {
    font-family: var(--subheading-font-family);
    font-weight: var(--subheading-font-weight);
    font-size: var(--font-size-small);
    color: var(--secondary);
}

.label-line {
    width: 147px;
    height: 1px;
}

.section-title {
    font-family: var(--heading-font-family);
    font-weight: var(--heading-font-weight);
    font-size: var(--font-size-large);
    color: var(--primary);
    line-height: 1.2;
}

.section-description {
    position: relative;
    z-index: 1;
    font-family: var(--body-font-family);
    font-size: var(--font-size-small);
    line-height: var(--body-line-height);
    color: var(--text-gray);
}

.about-images {
    position: relative;
    min-height: 100%;
    margin-right: auto;
}

.about-img-1 {
    width: 100%;
    max-width: 414px;
    height: auto;
    object-fit: cover;
}

.about-img-2 {
    position: absolute;
    top: 134px;
    right: -216px;
    width: 100%;
    max-width: 414px;
    height: auto;
    border: 11px solid #ffffff;
    object-fit: cover;
}

/* Medium screens - prevent overlap */
@media (max-width: 1366px) and (min-width: 1025px) {
    .about-grid {
        gap: 30px;
    }

    .about-images {
        overflow: visible;
    }

    .about-img-1 {
        max-width: 350px;
    }

    .about-img-2 {
        right: -80px;
        max-width: 320px;
    }

    .about-decoration {
        width: 450px;
        max-width: calc(100% + 120px);
        right: -60px;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .about-images {
        min-height: 500px;
    }

    .about-img-2 {
        position: relative;
        right: auto;
        top: 20px;
        margin-top: 20px;
    }

    .about-decoration {
        width: 400px;
        max-width: calc(100% + 150px);
        right: -50px;
        opacity: 0.25;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 60px 0;
    }

    .about-images {
        min-height: 400px;
    }

    .about-img-1,
    .about-img-2 {
        max-width: 100%;
    }

    .about-decoration {
        width: 300px;
        max-width: calc(100% + 100px);
        right: -30px;
        opacity: 0.2;
    }

    .section-title {
        font-size: var(--font-size-large-mobile);
    }

    .section-description {
        font-size: var(--font-size-small-mobile);
        line-height: 26px;
    }
}

/* ===================================
   Mission & Vision Section
   =================================== */

.mission-vision-section {
    padding: 127px 0 100px;
    background: #faf5f2;
}

.mission-vision-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 80px;
}

.mission-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
}

.card-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.card-icon img {
    width: 100px;
    height: 100px;
}

.card-title {
    font-family: var(--heading-font-family);
    font-weight: var(--heading-font-weight);
    font-size: var(--font-size-large);
    color: var(--primary);
}

.card-text {
    font-family: var(--body-font-family);
    font-size: var(--font-size-small);
    line-height: var(--body-line-height);
    color: var(--text-gray);
}

@media (max-width: 1024px) {
    .mission-vision-grid {
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .mission-vision-section {
        padding: 80px 0 60px;
    }

    .mission-vision-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .card-title {
        font-size: var(--font-size-large-mobile);
    }

    .card-text {
        font-size: var(--font-size-small-mobile);
        line-height: 26px;
    }
}

/* ===================================
   Why Choose Us Section
   =================================== */

.why-choose-section {
    padding: 80px 0;
    background: #faf5f2;
    position: relative;
}

.why-choose-section .section-header {
    margin-bottom: 60px;
}

/* Vertical Slider */
.why-choose-slider {
    position: relative;
    margin-top: 60px;
}

.slider-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    min-height: 600px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Slider Content */
.slider-content {
    position: relative;
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    height: 720px;
    /* Increased to allow preview */
    overflow: hidden;
    overflow-y: hidden;
    /* Allow preview to show at bottom */
    width: 100%;
    clip-path: inset(0 0 -120px 0);
    /* Allow 120px preview at bottom */
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 600px;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
    pointer-events: none;
    z-index: 1;
    visibility: hidden;
}

.slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 2;
    visibility: visible;
}

.slide.prev {
    opacity: 0;
    transform: translateY(-100%);
    visibility: hidden;
    z-index: 0;
}

/* Next slide preview - show part of next slide (desktop only) */
.slide.next-preview {
    width: 50%;
    opacity: 0.6;
    transform: translateY(600px);
    pointer-events: none;
    z-index: 1;
    visibility: visible;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
}

/* Ensure non-active, non-preview slides are completely hidden */
.slide:not(.active):not(.next-preview) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 0;
    transform: translateY(100%);
}

.slide-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    height: 100%;
    align-items: center;
    position: relative;
    direction: ltr;
}

/* Slide Image (Left Side) */
.slide-image {
    grid-column: 1;
    width: 100%;
    max-width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

/* Slide Text (Right Side) */
.slide-text {
    grid-column: 3;
    text-align: right;
    direction: rtl;
}

.slide-title {
    font-family: 'Aktiv Grotesk VF Trial', Helvetica, sans-serif;
    font-weight: 700;
    font-size: var(--font-size-large);
    color: var(--primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.slide-description {
    font-family: var(--body-font-family);
    font-size: var(--font-size-small);
    line-height: 1.6;
    color: var(--text-gray);
}


@media (max-width: 1400px) {
    .slider-wrapper {
        gap: 40px;
    }

    .slider-content {
        gap: 40px;
    }

    .slide-content {
        gap: 40px;
    }
}

@media (max-width: 1200px) {
    .slide-image {
        max-width: 400px;
        height: 450px;
    }

    .slider-wrapper {
        gap: 30px;
    }

    .slider-content {
        gap: 30px;
    }

    .slide-content {
        gap: 30px;
    }
}

/* Twisted Progress Bar (Middle) */
.twisted-progress-bar {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 100px;
    height: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.progress-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.progress-track {
    stroke: #D9D9D9;
    stroke-width: 2;
    fill: none;
}

.progress-fill {
    stroke: #282828;
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-indicators {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.progress-indicator {
    position: absolute;
    left: var(--indicator-x, 50%);
    top: var(--indicator-y, 0%);
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: left 0.3s ease, top 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 2;
}

.progress-indicator.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.indicator-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D9D9D9;
    border: 2px solid #ffffff;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.progress-indicator.active .indicator-circle {
    width: 20px;
    height: 20px;
    background: #282828;
    border: 2px solid #ffffff;
}

.indicator-rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(40, 40, 40, 0.15);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.progress-indicator.active .indicator-rings {
    opacity: 1;
}

.progress-indicator.active .indicator-rings::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(40, 40, 40, 0.1);
    animation: pulse-ring 2s infinite;
}

.progress-indicator.active .indicator-rings::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(40, 40, 40, 0.05);
    animation: pulse-ring 2s infinite 0.5s;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

/* Navigation Controls */
.slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #282828;
    background: transparent;
    color: #282828;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #282828;
    color: #ffffff;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.slider-counter {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-family: 'Aktiv Grotesk VF Trial', Helvetica, sans-serif;
}

.current-slide {
    font-size: var(--font-size-medium);
    font-weight: 700;
    color: #282828;
}

.separator {
    font-size: var(--font-size-small);
    font-weight: 400;
    color: #BDBDBD;
}

.total-slides {
    font-size: var(--font-size-small);
    font-weight: 400;
    color: #BDBDBD;
}

@media (max-width: 1024px) {
    .slider-wrapper {
        grid-template-columns: 1fr;
        gap: 20px;
        min-height: 500px;
        padding: 0 20px;
    }

    .slider-content {
        grid-template-columns: 1fr;
        gap: 0;
        height: 500px;
        min-height: 500px;
        clip-path: none;
        /* Remove clip-path on mobile */
        overflow: hidden;
    }

    .slide {
        height: 500px;
        min-height: 500px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
    }

    .slide.active {
        transform: translateY(0);
    }

    .slide.next-preview {
        transform: translateY(500px);
        opacity: 0.6;
        display: block;
    }

    .slide.prev {
        transform: translateY(-100%);
    }

    .slide-content {
        grid-template-columns: 1fr;
        gap: 16px;
        direction: rtl;
        display: flex;
        flex-direction: column;
        padding: 0;
        height: 100%;
        justify-content: flex-start;
    }

    .slide-image {
        grid-column: 1;
        max-width: 100%;
        height: 300px;
        margin: 0;
        width: 100%;
        order: 1;
        flex-shrink: 0;
    }

    .slide-text {
        grid-column: 1;
        text-align: right;
        order: 2;
        width: 100%;
        padding: 0;
        margin-top: 0;
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .twisted-progress-bar {
        position: relative;
        left: auto;
        transform: none;
        width: calc(100% - 40px);
        max-width: 100%;
        height: 4px;
        flex-direction: row;
        justify-content: center;
        margin: 20px auto;
        padding: 0 20px;
    }

    .progress-path {
        width: 100%;
        height: 4px;
    }

    .progress-indicators {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        height: auto;
        position: relative;
        padding: 0 0;
        max-width: 100%;
    }

    .progress-indicator {
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        left: var(--indicator-x, 50%);
    }
}

@media (max-width: 768px) {
    .why-choose-section {
        padding: 60px 0;
    }

    .why-choose-section .section-header {
        margin-bottom: 30px;
    }

    .slider-wrapper {
        min-height: 400px;
        gap: 16px;
        padding: 0 16px;
    }

    .slider-content {
        height: 400px;
        min-height: 400px;
        gap: 0;
    }

    .slide {
        height: 400px;
        min-height: 400px;
    }

    .slide.next-preview {
        transform: translateY(400px);
    }

    .slide-content {
        gap: 12px;
        padding: 0;
        height: 100%;
    }

    .slide-image {
        height: 220px;
        max-width: 100%;
        margin-bottom: 0;
    }

    .slide-text {
        width: 100%;
        padding: 0;
        margin-top: 0;
    }

    .slide-title {
        font-size: var(--font-size-medium-mobile);
        margin-bottom: 8px;
    }

    .slide-description {
        font-size: var(--font-size-small-mobile);
        line-height: 1.6;
        margin: 0;
    }

    .twisted-progress-bar {
        width: calc(100% - 32px);
        margin: 16px auto;
        padding: 0 16px;
    }

    .progress-indicators {
        padding: 0;
    }

    .slider-controls {
        gap: 20px;
        margin-top: 20px;
        padding: 0 16px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .current-slide {
        font-size: var(--font-size-medium-mobile);
    }

    .separator,
    .total-slides {
        font-size: var(--font-size-small-mobile);
    }
}

/* ===================================
   Values Section
   =================================== */

.values-section {
    padding: 120px 0;
    background: #ffffff;
}

.values-content {
    position: relative;
    margin-top: 64px;
}

.values-bg {
    width: 100%;
    margin-top: 45px;
    object-fit: cover;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 56px;
    padding: 24px 0;
}

.value-number {
    font-family: 'Aktiv Grotesk VF Trial', Helvetica, sans-serif;
    font-weight: 700;
    font-size: var(--font-size-medium);
    color: var(--secondary);
    flex-shrink: 0;
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.value-title {
    font-family: 'Aktiv Grotesk VF Trial', Helvetica, sans-serif;
    font-weight: 700;
    font-size: var(--font-size-medium);
    color: var(--primary);
}

.value-text {
    font-family: var(--body-font-family);
    font-size: var(--font-size-small);
    line-height: var(--body-line-height);
    color: var(--text-gray);
}

@media (max-width: 1024px) {
    .values-section {
        padding: 100px 0;
    }

    .value-item {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .values-section {
        padding: 80px 0;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .value-item {
        gap: 30px;
    }

    .value-title {
        font-size: var(--font-size-medium-mobile);
    }

    .value-text {
        font-size: var(--font-size-small-mobile);
        line-height: 26px;
    }
}

/* ===================================
   Partners Section
   =================================== */

.partners-section {
    padding: 120px 0;
    background: #ffffff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 40px;
    margin-top: 48px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 49px;
}

.partner-logo .logomark {
    position: absolute;
    left: 0;
    width: 30.14%;
    height: auto;
}

.partner-logo .logotype {
    position: absolute;
    right: 0;
    width: 59.76%;
    height: auto;
}

.partner-logo-img {
    width: 100%;
    height: 49px;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 80px 0;
    }

    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}