/* Core Values Section Styles */
.value-card {
    position: relative;
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: #f8f8f8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-icon i {
    font-size: 32px;
    color: #ff6b6b;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: #ff6b6b;
}

.value-card:hover .value-icon i {
    color: #fff;
    transform: scale(1.1);
}

.value-title {
    font-size: 22px;
    margin-bottom: 15px;
    color: #333;
    transition: all 0.3s ease;
}

.value-desc {
    color: #666;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.value-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 107, 107, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.4s ease;
}

.value-card:hover .value-overlay {
    opacity: 1;
    transform: translateY(0);
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.overlay-content h4 {
    font-size: 24px;
    margin-bottom: 10px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.1s;
}

.overlay-content p {
    font-size: 16px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease 0.2s;
}

.value-card:hover .overlay-content h4,
.value-card:hover .overlay-content p {
    transform: translateY(0);
    opacity: 1;
}

/* Animation for cards on page load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.value-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.value-card:nth-child(1) {
    animation-delay: 0.1s;
}

.value-card:nth-child(2) {
    animation-delay: 0.2s;
}

.value-card:nth-child(3) {
    animation-delay: 0.3s;
}

.value-card:nth-child(4) {
    animation-delay: 0.4s;
}

.value-card:nth-child(5) {
    animation-delay: 0.5s;
}

.value-card:nth-child(6) {
    animation-delay: 0.6s;
}

.value-card:nth-child(7) {
    animation-delay: 0.7s;
}

/* Mission & Vision Section Styles */
.rs-mission-vision {
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
}

.mission-vision-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(255, 107, 107, 0.05) 100%);
    z-index: 1;
}

.mission-card,
.vision-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    z-index: 2;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mission-text,
.vision-text {
    flex: 1;
}

.mission-text p,
.vision-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
    height: 100%;
}

.mission-features {
    margin-top: auto;
}

.mission-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateX(10px);
}

.feature-item i {
    position: absolute;
    left: 0;
    top: 5px;
    color: #ff6b6b;
    font-size: 18px;
}

.feature-item span {
    color: #666;
    line-height: 1.6;
}

.vision-stats {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-item {
    text-align: center;
    padding: 0 15px;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #ff6b6b;
    margin-bottom: 5px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Animation for cards on page load */
@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);
    }
}

.mission-card {
    animation: slideInLeft 0.8s ease forwards;
}

.vision-card {
    animation: slideInRight 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991px) {

    .mission-card,
    .vision-card {
        padding: 30px;
    }

    .card-icon {
        width: 80px;
        height: 80px;
    }

    .card-icon i {
        font-size: 32px;
    }

    .stat-number {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .vision-stats {
        flex-wrap: wrap;
    }

    .stat-item {
        width: 50%;
        margin-bottom: 20px;
    }
}

/* Founder's Message Section Styles */
.rs-founder-message {
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.founder-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.founder-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.founder-image:hover img {
    transform: scale(1.05);
}

.founder-signature {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 30px;
    color: #fff;
    text-align: center;
}

.founder-signature img {
    max-width: 150px;
    margin-bottom: 15px;
}

.founder-signature h4 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #fff;
}

.founder-signature p {
    font-size: 16px;
    margin: 0;
    opacity: 0.9;
}

.founder-message {
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.message-content {
    margin-top: 30px;
}

.message-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

/* Animation for founder's message */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.founder-message {
    animation: fadeInRight 0.8s ease forwards;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .founder-message {
        padding: 30px;
    }

    .founder-signature {
        padding: 20px;
    }

    .founder-signature h4 {
        font-size: 20px;
    }
}

@media (max-width: 767px) {
    .founder-image {
        margin-bottom: 30px;
    }

    .founder-message {
        padding: 20px;
    }
}

.section-label {
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-bottom: 12px;
    padding: 6px 14px;
    border: 1px solid #ffffff40;
    border-radius: 20px;
    display: inline-block;
}

.section-heading {
    font-size: 2rem;
    line-height: 1.4;
    margin-bottom: 20px;
    max-width: 700px;
}

.learn-more-btn {
    background: white;
    color: #124436;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    float: right;
    margin-top: -60px;
}

.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.card {
    background: #ffbd2d;
    border-radius: 20px;
    flex: 1 1 calc(25% - 20px);
    min-width: 220px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    color: #000;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card img {
    width: 100%;
    border-radius: 12px;
    aspect-ratio: 1.5;
    object-fit: cover;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 1rem;
    margin-bottom: 20px;
}

.card .arrow {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 100%;
    }

    .learn-more-btn {
        float: none;
        display: block;
        margin: 20px 0;
    }
}