/* About Page Redesign - Digiex Style */

:root {
    --mkt-dark: #0d293b;
    --mkt-lime: #3498db;
    --mkt-gray: #F4F7F6;
    --mkt-white: #FFFFFF;
    --mkt-text: #2C3E50;
    --mkt-text-light: #666666;
}

.about-page {
    background-color: var(--mkt-white);
    color: var(--mkt-text);
    overflow-x: hidden;
}

/* Helper Classes */
.bg-dark {
    background-color: var(--mkt-dark);
    color: var(--mkt-white);
}

.bg-lime {
    background-color: #3498db;
    color: #01111b;
}

.bg-gray {
    background-color: #e7ecf1;
}

.text-lime {
    color: var(--mkt-lime);
}

/* Section Spacing */
.about-section {
    padding: 100px 0;
}

/* Hero Section */
.hero-wrapper {
    padding: 140px 0 80px;
}

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

.hero-content .top-tag {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.4);
    color: #177ee6;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.hero-content .description {
    font-size: 18px;
    color: var(--mkt-text-light);
    margin-bottom: 40px;
    max-width: 506px;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #3498db;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 73, 109, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-lime:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 73, 109, 0.4);
    background-color: #2980b9;
}

.btn-lime-white {
    width: fit-content;
    background-color: white;
    color: #3498db !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-lime-white:hover {
    background-color: #f8f9fa;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-lime-white .arrow-up-right {
    background-color: #3498db;
    color: white;
}

.arrow-up-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #3498db;
    border-radius: 50%;
    font-size: 0.7rem;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.btn-lime:hover .arrow-up-right,
.btn-dark:hover .arrow-up-right {
    transform: rotate(45deg) scale(1.1);
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #ffffff;
    color: #3498db !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 73, 109, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn-dark:hover .arrow-up-right {
    transform: rotate(45deg) scale(1.1);
}

.btn-dark .arrow-up-right {
    background-color: #3498db;
    color: white;
}

.arrow-up-right {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #3498db;
    border-radius: 50%;
    font-size: 0.7rem;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

/* Right Side Image Layout */
.hero-image-area {
    position: relative;
    height: 620px;
}

.main-hero-img {
    width: 470px;
    height: 550px;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    right: 0;
    top: 50px;
    z-index: 1;
}

.rating-card {
    position: absolute;
    top: 210px;
    right: 358px;
    background: white;
    padding: 20px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    z-index: 3;
    width: 340px;
}

.rating-top {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.rating-score {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.avatar-group {
    display: flex;
    margin-top: 15px;
    
}

.avatar-group img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid white;
    margin-right: -10px;
}

/* Stats Banner */
.stats-banner {
    background: #0d263b;
    padding: 40px 24px;
    border-radius: 20px;
    margin: 0 -275px;
}

.stats-grid-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 2fr;
    gap: 27px;
    align-items: center;
}

.promo-box {
    display: flex;
    gap: 20px;
    align-items: center;
}

.promo-box img {
    width: 120px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

.stat-cards-row {
    display: flex;
    gap: 20px;
}

.simple-stat-card {
    background: #3498db;
    padding: 24px;
    border-radius: 12px;
    flex: 1;
    text-align: center;
}

.simple-stat-card .num {
    display: block;
    font-size: 32px;
    font-weight: 700;
}

/* Partner Logos Redesign */
.partners-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.partner-header {
    text-align: center;
    margin-bottom: 60px;
}

.partner-header h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--mkt-dark);
    margin-bottom: 15px;
}

.partner-header .text-blue {
    color: #3498db;
}

.partner-header p {
    color: var(--mkt-text-light);
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
}

.partner-slider {
    position: relative;
    width: 100%;
    padding: 20px 0;
    display: flex;
    overflow: hidden;
}

/* Add a fade effect to the sides of the slider */
.partner-slider::before,
.partner-slider::after {
    content: "";
    height: 100%;
    position: absolute;
    width: 200px;
    z-index: 2;
}

.partner-slider::before {
    left: 0;
    top: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.partner-slider::after {
    right: 0;
    top: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.partner-track {
    display: flex;
    width: calc(250px * 20); /* 200px + 50px gap = 250px * 20 logos (10 unique + 10 duplicate) */
    animation: scroll 40s linear infinite;
}

.partner-logo-circle {
    width: 200px;
    height: 200px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 25px;
    border: 1px solid #f0f0f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.partner-logo-circle:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #3498db;
}

.partner-logo-circle img {
    max-width: 130px;
    max-height: 80px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.partner-logo-circle:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-250px * 10)); /* Scroll by half the track width (the 10 unique logos) */
    }
}

/* Strategies Section */
.strategy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.strategy-image-box {
    position: relative;
}

.strategy-image-box .main-img {
    width: 100%;
    border-radius: 24px;
}

.strategy-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.strategy-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--mkt-gray);
    border-radius: 16px;
    transition: 0.3s;
}

.strategy-item:nth-child(2) {
    background: var(--mkt-lime);
}

.strategy-num {
    font-size: 24px;
    font-weight: 700;
}

/* Proven Success Cards */
.success-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.success-card {
    padding: 60px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.success-card h3 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 30px;
}

/* Tailored Strategies */

.top-tag {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 0.4);
    color: #177ee6;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.benefit-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #3498db;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.tailored-stats {
    background: #3498db;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-top: -50px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Accordion Section */
.accordion-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: center;
}

.video-thumb {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.play-btn-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: var(--mkt-lime);
    color: var(--mkt-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 0 0 15px #02649433;
}

.acc-item {
    background: var(--mkt-gray);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
}

.acc-item.active {
    background: var(--mkt-lime);
}

.acc-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
}

.acc-body {
    padding: 0 30px 24px;
    font-size: 15px;
    color: var(--mkt-text-light);
    display: none;
}

.acc-item.active .acc-body {
    display: block;
    color: var(--mkt-dark);
}

/* Stand Out Section */
.text-lime {
    color: #3498db;
    font-size: 1.3rem;
    font-weight: 700;
    display: inline-block;
    background: rgba(52, 152, 219, 0.2);
    border: 1px solid rgba(52, 152, 219, 84%);
    color: #71b8ff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 20px;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

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

.standout-image-box {
    position: relative;
}

.standout-image-box .main-img {
    width: 100%;
    border-radius: 24px;
}

.standout-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.standout-item {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--mkt-gray);
    border-radius: 16px;
    transition: 0.3s;
}

.standout-item:nth-child(2) {
    background: var(--mkt-lime);
}

.standout-num {
    font-size: 24px;
    font-weight: 700;
}


.about-nav-arrows {
    display: flex;
    gap: 1.5rem;
}

.nav-arrow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: var(--mkt-lime);
    border-color: var(--mkt-lime);
    color: white;
    transform: scale(1.1);
}

.standout-slider-container {
    position: relative;
    padding-right: 120px;
    /* Space for arrows if floating, but let's try a better layout */
}

.standout-slider-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    transition: transform 0.5s ease;
}

.standout-arrows {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
}

@media (max-width: 1400px) {
    .standout-slider-container {
        padding-right: 0;
    }

    .standout-arrows {
        position: static;
        transform: none;
        flex-direction: row;
        justify-content: flex-end;
        margin-top: 30px;
    }
}

@media (max-width: 992px) {
    .standout-slider-track {
        grid-template-columns: repeat(3, 300px);
        overflow-x: auto;
        padding-bottom: 20px;
        scrollbar-width: none;
        /* Firefox */
    }

    .standout-slider-track::-webkit-scrollbar {
        display: none;
        /* Safari and Chrome */
    }
}

/* Team Section */
.team-header {
    text-align: center;
    margin-bottom: 60px;
}

.team-grid-redesign {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.member-card {
    background: rgb(230, 230, 230);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: 0.3s;
}

.member-card:hover {
    transform: translateY(-10px);
}

.member-img-box {
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.member-img-box img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.btn-lime {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background-color: #3498db;
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(10, 73, 109, 0.3);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Newsletter */
.newsletter-banner {
    background: url('../images/about_newsletter_bg.png') no-repeat center center;
    background-size: cover;
    padding: 80px 0;
    border-radius: 40px;
    margin: 80px 20px;
    text-align: center;
    color: white;
    position: relative;
}

.newsletter-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a1a30d9;
    border-radius: 40px;
    z-index: 1;
}

.newsletter-content {
    position: relative;
    z-index: 2;
}

.newsletter-content h2 {
    font-size: 48px;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-grid,
    .strategy-grid,
    .stats-grid-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content .description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-image-area {
        height: 450px;
        margin-top: 40px;
    }

    .main-hero-img {
        position: relative;
        top: 0;
        margin: 0 auto;
    }

    .rating-card {
        left: 50%;
        transform: translateX(-50%);
        right: auto;
        top: -40px;
    }

    .team-grid-redesign {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-grid-redesign {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}