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

/* ===== HERO SECTION ===== */
.about-hero {
    min-height: 100vh;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.about-hero .hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}

.about-hero .hero-waves svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.about-hero .hero-title {
    font-family: 'Lustria', serif;
    font-size: 4rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.about-hero .hero-subtitle {
    font-size: 1.3rem;
    color: var(--light-color);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.about-hero .hero-image-container {
    position: relative;
}

.about-hero .hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-strong);
    transition: var(--transition);
}

.about-hero .hero-image:hover {
    transform: scale(1.05);
}

/* ===== COMPANY STORY ===== */
.company-story {
    padding: 6rem 0;
    background: var(--white);
}

.story-content {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 4rem;
    box-shadow: var(--shadow-soft);
    position: relative;
}

.story-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.story-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.story-text .lead {
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.story-text p {
    margin-bottom: 1.5rem;
}

.story-quote {
    background: var(--white);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 3rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    font-size: 1.2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-soft);
    position: relative;
}

.story-quote::before {
    content: '"';
    font-size: 4rem;
    color: var(--accent-color);
    position: absolute;
    top: -1rem;
    left: 1rem;
    font-family: serif;
}

.story-quote cite {
    display: block;
    text-align: right;
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    font-style: normal;
}

/* ===== TIMELINE ===== */
.timeline-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    color: var(--white);
}

.timeline-section .section-title {
    color: var(--white);
}

.timeline-section .section-title::after {
    background: var(--accent-color);
}

.timeline-section .section-subtitle {
    color: var(--light-color);
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent-color);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
    width: 50%;
}

.timeline-item:nth-child(odd) {
    left: 0;
    padding-right: 3rem;
}

.timeline-item:nth-child(even) {
    left: 50%;
    padding-left: 3rem;
}

.timeline-date {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    white-space: nowrap;
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-date {
    right: -2rem;
}

.timeline-item:nth-child(even) .timeline-date {
    left: -2rem;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-content h4 {
    font-family: 'Lustria', serif;
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.timeline-content p {
    line-height: 1.6;
    margin: 0;
}

/* ===== VALUES SECTION ===== */
.values-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.values-grid {
    margin-top: 2rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    font-size: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.value-card:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-title {
    font-family: 'Lustria', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-description {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ===== TEAM SECTION ===== */
.team-section {
    padding: 6rem 0;
    background: var(--white);
}

.team-grid {
    margin-top: 2rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(38, 90, 112, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    opacity: 1;
    visibility: visible;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    display: flex;
    gap: 1rem;
}

.team-social a {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.2rem;
}

.team-social a:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.team-info {
    padding: 2rem;
    text-align: center;
}

.team-name {
    font-family: 'Lustria', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-description {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== CERTIFICATIONS SECTION ===== */
.certifications-section {
    padding: 6rem 0;
    background: var(--light-color);
}

.certifications-grid {
    margin-top: 2rem;
}

.certification-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem 1.5rem;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.certification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

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

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: var(--white);
    transition: var(--transition);
}

.certification-card:hover .cert-icon {
    transform: scale(1.1) rotate(10deg);
}

.certification-card h5 {
    font-family: 'Lustria', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.certification-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .about-hero .hero-title {
        font-size: 3rem;
    }
    
    .story-content {
        padding: 3rem 2rem;
    }
    
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 80px !important;
        padding-right: 0 !important;
    }
    
    .timeline-date {
        left: -20px !important;
        right: auto !important;
    }
    
    .value-card,
    .certification-card {
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 768px) {
    .about-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .about-hero .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .story-content {
        padding: 2rem 1.5rem;
    }
    
    .story-text {
        font-size: 1rem;
    }
    
    .story-text .lead {
        font-size: 1.2rem;
    }
    
    .story-quote {
        padding: 1.5rem;
        font-size: 1.1rem;
    }
    
    .timeline-section,
    .values-section,
    .team-section,
    .certifications-section {
        padding: 4rem 0;
    }
    
    .timeline-item {
        padding-left: 60px !important;
        margin-bottom: 3rem;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-content h4 {
        font-size: 1.2rem;
    }
    
    .team-image {
        height: 250px;
    }
    
    .team-info {
        padding: 1.5rem;
    }
    
    .value-icon,
    .cert-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .about-hero .hero-title {
        font-size: 2rem;
    }
    
    .story-content {
        padding: 1.5rem;
    }
    
    .story-quote {
        margin: 2rem 0;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 50px !important;
    }
    
    .timeline-date {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .value-card,
    .certification-card {
        padding: 1.5rem 1rem;
    }
    
    .team-image {
        height: 200px;
    }
    
    .team-info {
        padding: 1rem;
    }
    
    .team-name {
        font-size: 1.2rem;
    }
    
    .team-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
@media (prefers-reduced-motion: reduce) {
    .timeline-item,
    .value-card,
    .team-card,
    .certification-card {
        transition: none;
    }
    
    .value-icon,
    .cert-icon,
    .team-image img {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .timeline-content {
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid var(--white);
    }
    
    .story-quote {
        border-left-width: 6px;
    }
    
    .value-card,
    .team-card,
    .certification-card {
        border: 2px solid var(--primary-color);
    }
}
.cta-section{
    padding: 4rem 20px;
}
/* ===== PRINT STYLES ===== */
@media print {
    .about-hero,
    .cta-section {
        background: white !important;
        color: black !important;
    }
    
    .timeline::before {
        background: black !important;
    }
    
    .value-icon,
    .cert-icon {
        background: white !important;
        border: 2px solid black !important;
        color: black !important;
    }
    
    .team-overlay {
        display: none !important;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-item:nth-child(odd) {
    animation: slideInLeft 0.6s ease-out;
}

.timeline-item:nth-child(even) {
    animation: slideInRight 0.6s ease-out;
}

/* ===== CUSTOM SCROLLBAR ===== */
.story-content::-webkit-scrollbar {
    width: 8px;
}

.story-content::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
}

.story-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.story-content::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}