/* About Us Page Specific Styles */

/* Revamped Story Section Styles */
.story-section-modern {
    padding: 100px 0;
    background-color: var(--bg-surface);
    overflow: hidden;
}

.story-images-wrapper {
    position: relative;
    padding: 20px;
    min-height: 500px;
    /* Ensure space */
}

.story-img-1-wrapper {
    width: 80%;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.story-img-1 {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.story-img-1-wrapper:hover .story-img-1 {
    transform: scale(1.05);
}

.story-img-2-wrapper {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    border: 10px solid var(--bg-surface);
    /* Matches background to create cut-out effect */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    z-index: 2;
    overflow: hidden;
}

.story-img-2 {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.story-img-2-wrapper:hover .story-img-2 {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    top: 30px;
    right: 10%;
    width: 130px;
    height: 130px;
    background-color: var(--gold);
    color: white;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    box-shadow: 0 10px 25px rgba(143, 150, 125, 0.4);
    /* Animation removed for better readability, or make it subtle pulsing */
    transition: transform 0.3s ease;
}

.experience-badge:hover {
    transform: scale(1.1);
}

.badge-years {
    font-family: 'Gallient', serif;
    font-size: 3rem;
    line-height: 1;
}

.badge-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.story-content-modern {
    padding-left: 50px;
}

.highlight-text {
    border-left: 4px solid var(--gold);
    padding-left: 25px;
    font-style: italic;
    color: var(--taupe);
    margin: 35px 0;
    font-size: 1.15rem;
    font-family: 'Gallient', serif;
    line-height: 1.6;
    background: linear-gradient(to right, rgba(143, 150, 125, 0.1), transparent);
    padding-top: 15px;
    padding-bottom: 15px;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .story-content-modern {
        padding-left: 0;
        margin-top: 60px;
    }

    .story-images-wrapper {
        min-height: auto;
        margin-bottom: 20px;
    }

    .story-img-1-wrapper {
        width: 90%;
    }

    .experience-badge {
        width: 100px;
        height: 100px;
        top: 0;
        right: 0;
    }

    .badge-years {
        font-size: 2.2rem;
    }

    .badge-text {
        font-size: 0.6rem;
    }
}
/* Ensure readability in dark mode for Story section text */
[data-theme="dark"] .story-section-modern .text-muted,
[data-theme="dark"] .story-content-modern .text-muted {
    color: var(--text-main) !important;
}

/* Dark Mode overrides for Service Cards in About Us */
[data-theme="dark"] .service-card-modern.bg-white {
    background-color: var(--bg-surface-alt) !important;
    border: 1px solid rgba(255,255,255,0.05); /* Subtle border */
}

[data-theme="dark"] .service-card-modern .text-dark,
[data-theme="dark"] .service-card-modern .service-title-modern {
    color: var(--text-main) !important;
}

[data-theme="dark"] .service-card-modern .text-muted {
    color: var(--text-muted); /* Ensure it's not invisible */
}

/* Increase contrast for service card text in dark mode */
[data-theme="dark"] .service-card-modern .text-muted {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Founders Message Section Styles */
.founders-message-section {
    padding: 100px 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.founder-img-wrapper {
    position: relative;
    padding: 15px;
    z-index: 1;
}

.founder-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
    transition: transform 0.5s ease;
}

.founder-img-wrapper:hover .founder-img {
    transform: translateY(-5px);
}

.founder-accent-frame {
    position: absolute;
    top: 0;
    left: 0;
    width: 70%;
    height: 90%;
    border: 3px solid var(--gold);
    z-index: 0;
    opacity: 0.6;
    transition: all 0.5s ease;
}

.founder-img-wrapper:hover .founder-accent-frame {
    transform: translate(10px, 10px);
    opacity: 1;
}

.founder-content {
    padding-left: 40px;
}

.founder-signature {
    position: relative;
    display: inline-block;
    padding-top: 20px;
}

.founder-signature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--gold);
}

/* Response Design */
@media (max-width: 991px) {
    .founder-content {
        padding-left: 0;
        margin-top: 40px;
        text-align: center;
    }
    
    .founder-img-wrapper {
        max-width: 400px;
        margin: 0 auto;
    }

    .section-title.text-start {
        text-align: center !important;
    }

    .founder-signature {
        display: block;
        margin: 0 auto;
    }
    
    .founder-signature::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Dark Mode Support */
[data-theme="dark"] .founders-message-section {
    background-color: var(--bg-surface);
}

[data-theme="dark"] .founders-message-section .text-muted {
    color: var(--text-main) !important; /* Make readable */
    opacity: 0.9;
}

[data-theme="dark"] .founder-name {
    color: var(--text-main) !important;
}

[data-theme="dark"] .founder-img {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Stronger shadow */
}
