/* ===== ABOUT COMPANY PAGE STYLES ===== */

/* ===== HERO SECTION ===== */
.about-hero {
    position: relative;
    height: 50vh;
    max-height: 500px;
    display: flex;
    align-items: center;
    background: url('../images/envato-labs-image-edit\ \(14\).png') center/cover no-repeat;
    color: var(--white);
    overflow: hidden;
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 41, 66, 0.8), rgba(15, 41, 66, 0.9));
    z-index: 1;
}

.about-hero-content {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
}

.about-hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-hero-title span {
    color: var(--primary-gold);
    display: inline-block;
}

.about-hero-subtitle {
    font-size: 20px;
    max-width: 600px;
    margin: 0 auto 20px;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== OUR STORY SECTION ===== */
.our-story-section {
    padding: 80px 0;
    background-color: var(--white);
}

.story-container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.story-image {
    flex: 1;
    position: relative;
}

.story-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: 15px;
    z-index: 1;
}

.story-content {
    flex: 1;
}

.story-content .section-title {
    text-align: right;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.story-content .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--medium-blue), var(--primary-gold));
    border-radius: 3px;
}

.story-text {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--dark-gray);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background-color: var(--light-gray);
    border-radius: 10px;
    flex: 1;
    margin: 0 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--medium-blue);
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
}

.values-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/pattern.png') center/300px repeat;
    opacity: 0.05;
    z-index: 1;
}

.values-section .container {
    position: relative;
    z-index: 2;
}

.values-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-gold), var(--medium-blue));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(42, 99, 132, 0.3);
}

.value-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.value-description {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.services-container {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-item {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-bottom-color: var(--primary-gold);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 24px;
    box-shadow: 0 10px 20px rgba(42, 99, 132, 0.2);
}

.service-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.service-description {
    color: var(--medium-gray);
    line-height: 1.6;
    font-size: 15px;
}

/* ===== CEO SECTION (REPLACES TEAM SECTION) ===== */
.team-section {
    padding: 80px 0;
    background-color: var(--white);
}

.ceo-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 50px;
    margin-top: 50px;
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.ceo-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 5px;
    background: linear-gradient(to bottom, var(--primary-gold), var(--medium-blue));
}

.ceo-image {
    flex: 0 0 250px;
    position: relative;
}

.ceo-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
}

.ceo-accent {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: 10px;
    z-index: 1;
}

.ceo-content {
    flex: 1;
    position: relative;
}

.ceo-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.ceo-title {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
    font-size: 18px;
}

.ceo-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--medium-blue);
    border-radius: 2px;
}

.ceo-content .quote-icon {
    position: absolute;
    top: 0;
    left: 0;
    color: var(--primary-gold);
    font-size: 30px;
    opacity: 0.2;
}

.ceo-message {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 0;
    text-align: justify;
}

/* ===== IMPROVED TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 100px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.testimonials-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, rgba(42, 99, 132, 0.05) 100%);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
}

.testimonials-slider {
    margin-top: 60px;
    display: flex;
    gap: 30px;
    overflow-x: hidden;
    padding-bottom: 40px;
}

.testimonial-slide {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 320px;
    transition: all 0.5s ease;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    height: 100%;
    position: relative;
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-gold);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.client-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-gold);
}

.client-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.client-info {
    flex: 1;
}

.client-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 5px;
}

.client-position {
    color: var(--medium-gray);
    font-size: 14px;
}

.testimonial-content {
    position: relative;
}

.testimonial-content .quote-icon {
    position: absolute;
    top: -10px;
    right: -5px;
    color: var(--primary-gold);
    font-size: 30px;
    opacity: 0.2;
}

.testimonial-text {
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 20px;
    min-height: 150px;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-top: 15px;
    color: var(--primary-gold);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 30px;
}

.testimonial-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--medium-gray);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-gold);
    opacity: 1;
    transform: scale(1.2);
}

.testimonial-arrows {
    display: flex;
    gap: 15px;
}

.testimonial-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--dark-blue);
}

.testimonial-arrow:hover {
    background-color: var(--primary-gold);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--medium-blue), var(--dark-blue));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    z-index: 1;
}

.cta-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cta-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-gold), var(--secondary-gold));
    color: var(--dark-blue);
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1200px) {
    .story-container {
        flex-direction: column;
        text-align: center;
    }
    
    .story-image {
        max-width: 600px;
        margin: 0 auto 30px;
    }
    
    .story-content .section-title {
        text-align: center;
        margin: 0 auto 30px;
    }
    
    .story-content .section-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .ceo-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }
    
    .ceo-image {
        max-width: 250px;
    }
    
    .ceo-title::after {
        right: 50%;
        transform: translateX(50%);
    }
    
    .ceo-content .quote-icon {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .ceo-message {
        text-align: center;
    }
    
    .testimonial-slide {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 991px) {
    .about-hero {
        height: auto;
        padding: 100px 0;
    }
    
    .about-hero-title {
        font-size: 36px;
    }
    
    .about-hero-subtitle {
        font-size: 18px;
    }
    
    .values-container, 
    .services-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 767px) {
    .about-hero-title {
        font-size: 28px;
    }
    
    .about-hero-subtitle {
        font-size: 16px;
    }
    
    .our-story-section, 
    .values-section, 
    .team-section, 
    .services-section, 
    .testimonials-section {
        padding: 50px 0;
    }
    
    .stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat {
        margin: 0;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .testimonial-slide {
        flex: 0 0 100%;
    }
    
    .ceo-message {
        text-align: justify;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-hero-title {
        font-size: 24px;
    }
    
    .about-hero-subtitle {
        font-size: 14px;
    }
    
    .value-card, 
    .service-item {
        padding: 20px;
    }
    
    .value-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .value-title,
    .service-title {
        font-size: 18px;
    }
    
    .ceo-container {
        padding: 25px;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .testimonial-text {
        min-height: auto;
    }
    
    .client-avatar {
        width: 50px;
        height: 50px;
    }
    
    .cta-btn {
        padding: 12px 30px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}