
/* --- Page Header --- */
.page-header {
    background: linear-gradient(rgba(0, 31, 84, 0.8), rgba(0, 31, 84, 0.8)), url('https://kralmotoriranian.com/public/uploads/2026-02/general-1-1770981959-f67c4c45574cbf25.jpg');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 80px 0;
    margin-bottom: 50px;
    text-align: center;
}

/* --- Section Titles --- */
.section-title {
    color: var(--rasa-blue);
    border-right: 5px solid var(--rasa-red);
    padding-right: 15px;
    margin-bottom: 30px;
    font-weight: 800;
}

/* --- Intro Section (Image 2) --- */
.about-img-box {
    position: relative;
}
.about-img-box img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.about-img-box::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: -10px;
    width: 100px;
    height: 100px;
    background-color: var(--rasa-red);
    z-index: -1;
    border-radius: 10px;
}

/* --- Core Values (Image 4) --- */
.value-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    border-bottom: 4px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.value-card:hover {
    transform: translateY(-10px);
    border-bottom: 4px solid var(--rasa-red);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.value-icon {
    font-size: 3rem;
    color: var(--rasa-blue);
    margin-bottom: 20px;
}

/* --- Timeline History (Image 1) --- */
.timeline-wrapper {
    position: relative;
    padding: 20px 0;
}
.timeline-line {
    position: absolute;
    right: 50%;
    width: 4px;
    height: 100%;
    background: #dee2e6;
    transform: translateX(50%);
}
.timeline-item {
    margin-bottom: 40px;
    position: relative;
}
.timeline-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    width: 45%;
    position: relative;
    border-top: 3px solid var(--rasa-red);
}
/* Right Items */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: auto;
    margin-right: 0;
}
/* Left Items */
.timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
    margin-right: auto;
}
/* Dot on the line */
.timeline-dot {
    position: absolute;
    right: 50%;
    top: 20px;
    width: 20px;
    height: 20px;
    background: var(--rasa-red);
    border-radius: 50%;
    transform: translateX(50%);
    border: 4px solid white;
    box-shadow: 0 0 0 2px var(--rasa-red);
    z-index: 2;
}

@media (max-width: 768px) {
    .timeline-line { right: 30px; }
    .timeline-dot { right: 30px; }
    .timeline-content { width: calc(100% - 70px); margin-right: 70px !important; margin-left: 0 !important; }
}

/* --- Team Section (Image 5) --- */
.team-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.team-card:hover {
    transform: translateY(-5px);
}
.team-img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    filter: grayscale(100%);
    transition: filter 0.3s;
}
.team-card:hover .team-img {
    filter: grayscale(0%);
}
.team-info {
    padding: 20px;
    text-align: center;
}
.team-name { color: var(--rasa-blue); font-weight: bold; margin-bottom: 5px; }
.team-role { color: var(--rasa-red); font-size: 0.9rem; margin-bottom: 15px; }
.team-social a {
    color: #6c757d;
    margin: 0 5px;
    transition: color 0.3s;
}
.team-social a:hover { color: var(--rasa-blue); }
