/* ==========================================================
   ABOUT US PAGE - COMPLETE STYLES
   ========================================================== */

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.about-hero {
    background: linear-gradient(135deg, #1C3F60 0%, #0f2a40 100%);
    padding: 100px 0;
    text-align: center;
    color: #ffffff;
}

.about-hero__content {
    max-width: 800px;
    margin: 0 auto;
}

.about-hero__title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.about-hero__text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .about-hero {
        padding: 70px 0;
    }
    
    .about-hero__title {
        font-size: 38px;
    }
    
    .about-hero__text {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .about-hero__title {
        font-size: 30px;
    }
}


/* ===== VALUES SECTION WITH TABS ===== */
.about-values-section {
    padding: 80px 0;
    background: #f8fafd;
}

.about-values__header {
    text-align: center;
    margin-bottom: 50px;
}

.about-values__title {
    font-size: 36px;
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 15px;
    position: relative;
}

.about-values__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FBC333;
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== TABS SECTION WITH LEFT TABS AND RIGHT IMAGE ===== */
.about-tabs-section {
    padding: 80px 0;
    background: #ffffff;
}

.about-tabs-section__main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Left column - tabs */
.about-tabs-section__left {
    padding-right: 30px;
}

.about-tabs-section__heading {
    font-size: 32px;
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 40px;
    line-height: 1.2;
    position: relative;
}

.about-tabs-section__heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #FBC333;
    margin-top: 15px;
}

.about-tabs-section__nav {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-tabs-section__nav-btn {
    padding: 16px 25px;
    background: transparent;
    border: 2px solid #e0e7ef;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    color: #1C3F60;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    font-family: inherit;
    width: 300px;
}

.about-tabs-section__nav-btn:hover {
    border-color: #FBC333;
    color: #FBC333;
    transform: translateX(5px);
}

.about-tabs-section__nav-btn--active {
    background: #FBC333;
    border-color: #FBC333;
    color: #1C3F60;
    transform: translateX(10px);
    box-shadow: 0 10px 25px rgba(251, 195, 51, 0.2);
}

/* Right column - content and image */
.about-tabs-section__right {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Content panels */
.about-tabs-section__panels {
    background: #f8fafd;
    border-radius: 16px;
    padding: 35px;
    min-height: 250px;
    display: flex;
    align-items: center;
}

.about-tabs-section__panel {
    display: none;
    animation: fadeSlide 0.5s ease;
}

.about-tabs-section__panel--active {
    display: block;
}

.about-tabs-section__text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image with dark overlay - UPDATED FOR YOUR IMAGE */
.about-tabs-section__image-wrapper {
    width: 100%;
}

.about-tabs-section__image-container {
    position: relative;
    width: 100%;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    aspect-ratio: 16/9; /* Maintains image proportions */
}

.about-tabs-section__image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Changed from 'cover' to 'contain' to show full image */
    display: block;
    background-color: #f8fafd; /* Background color in case image has transparency */
}

.about-tabs-section__image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(28, 63, 96, 0.3) 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    mix-blend-mode: multiply; /* Creates better overlay effect */
}

/* Responsive */
@media (max-width: 1024px) {
    .about-tabs-section__main {
        gap: 30px;
        padding: 0 20px;
    }
    
    .about-tabs-section__heading {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .about-tabs-section__main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-tabs-section__left {
        padding-right: 0;
    }
    
    .about-tabs-section__nav-btn {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .about-tabs-section__panels {
        padding: 25px;
    }
    
    .about-tabs-section__image-container {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 480px) {
    .about-tabs-section__heading {
        font-size: 24px;
    }
    
    .about-tabs-section__nav-btn {
        padding: 12px 18px;
    }
    
    .about-tabs-section__text {
        font-size: 15px;
    }
}
/* ===== FEATURES SCROLLER - INFINITE SMOOTH ===== */
.about-features-scroller {
    padding: 60px 0 80px;
    background: #ffffff;
    overflow: hidden;
    position: relative;
}


.features-scroller {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.features-scroller::before,
.features-scroller::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}

.features-scroller::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.features-scroller::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, rgba(255,255,255,0) 100%);
}

.features-scroller__track {
    display: flex;
    animation: scrollFeatures 40s linear infinite;
    width: fit-content;
    gap: 30px;
    will-change: transform;
}

.features-scroller:hover .features-scroller__track {
    animation-play-state: paused;
}

.feature-scroller-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 30px;
    background: #f8fafd;
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.feature-scroller-item:hover {
    border-color: #FBC333;
    background: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 195, 51, 0.15);
}

.feature-scroller-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #FBC333;
    border-radius: 50%;
    color: #1C3F60;
    transition: all 0.3s ease;
}

.feature-scroller-item:hover .feature-scroller-icon {
    background: #1C3F60;
    color: #FBC333;
    transform: scale(1.1);
}

.feature-scroller-icon svg {
    width: 22px;
    height: 22px;
}

.feature-scroller-text {
    font-size: 16px;
    font-weight: 600;
    color: #1C3F60;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.feature-scroller-item:hover .feature-scroller-text {
    color: #FBC333;
}

@keyframes scrollFeatures {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .about-features__title {
        font-size: 28px;
    }
    
    .features-scroller::before,
    .features-scroller::after {
        width: 80px;
    }
    
    .feature-scroller-item {
        padding: 12px 24px;
        gap: 12px;
    }
    
    .feature-scroller-icon {
        width: 35px;
        height: 35px;
    }
    
    .feature-scroller-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .feature-scroller-text {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .features-scroller__track {
        gap: 20px;
        animation: scrollFeatures 30s linear infinite;
    }
    
    .feature-scroller-item {
        padding: 10px 20px;
    }
}

/* ===== STORY SECTION ===== */
.about-story {
    padding: 80px 0;
    background: #ffffff;
}

.about-story__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-story__content {
    padding-right: 40px;
}

.about-story__pretitle {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #FBC333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.about-story__title {
    font-size: 32px;
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 25px;
    line-height: 1.2;
}

.about-story__text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 30px;
}

/* ===== ANIMATED BUTTON ===== */
.about-story__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: transparent;
    border: 2px solid #FBC333;
    border-radius: 50px;
    color: #1C3F60;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    z-index: 1;
    cursor: pointer;
    gap: 10px;
}

.about-story__btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #FBC333;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.about-story__btn:hover {
    color: #1C3F60;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(251, 195, 51, 0.3);
}

.about-story__btn:hover::before {
    width: 300px;
    height: 300px;
}

.about-story__btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.about-story__btn:hover svg {
    transform: translateX(5px);
}

/* Button variation for different sections */
.about-story__btn--secondary {
    border-color: #1C3F60;
    color: #1C3F60;
}

.about-story__btn--secondary::before {
    background: #1C3F60;
}

.about-story__btn--secondary:hover {
    color: #ffffff;
}

/* ===== INTERACTIVE BUTTONS SECTION ===== */
.about-buttons {
    padding: 60px 0;
    background: #f8fafd;
    text-align: center;
}

.about-buttons__title {
    font-size: 28px;
    font-weight: 700;
    color: #1C3F60;
    margin-bottom: 30px;
}

.about-buttons__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto 40px;
}

.content-button {
    padding: 14px 30px;
    background: transparent;
    border: 2px solid #FBC333;
    border-radius: 50px;
    color: #1C3F60;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.content-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #FBC333;
    transition: left 0.3s ease;
    z-index: -1;
}

.content-button:hover {
    color: #1C3F60;
    transform: translateY(-2px);
}

.content-button:hover::before {
    left: 0;
}

.content-button.active {
    background: #FBC333;
    color: #1C3F60;
}

.content-display {
    max-width: 800px;
    margin: 30px auto 0;
    padding: 40px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: left;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-display__title {
    font-size: 24px;
    color: #1C3F60;
    margin-bottom: 15px;
}

.content-display__text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .about-story__grid {
        gap: 40px;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .about-story__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-story__content {
        padding-right: 0;
    }
    
    .about-story__title {
        font-size: 28px;
    }
    
    .about-story__btn {
        padding: 14px 30px;
        font-size: 15px;
    }
    
    .about-buttons__grid {
        flex-direction: column;
        align-items: center;
    }
    
    .content-button {
        width: 100%;
        max-width: 300px;
    }
}