/* Homepage-specific styles */
.homepage {
    background: #fff;
}

/* Introduction Section */
.introduction-area {
    padding: 4rem 0;
    background: #f8f9fa;
}

.introduction-about {
    background: linear-gradient(to bottom right, #ffffff, #f8fdf9);
    border: 1px solid rgba(98, 42, 142, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(98, 42, 142, 0.08);
    padding: 25px 35px;
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: visible;
}

.introduction-about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #622a8e;
    transition: height 0.3s ease;
}

.introduction-about:hover {
    transform: translateY(-5px);
    border-color: #622a8e;
    box-shadow: 0 4px 12px rgba(98, 42, 142, 0.15);
}

.introduction-about:hover:before {
    height: 100%;
}

.bordered-box {
    background: linear-gradient(to bottom right, #ffffff, #f8fdf9);
    border: 2px solid rgba(98, 42, 142, 0.2);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(98, 42, 142, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 430px;
    height: 80px;
    transform: translateY(-60px);
    margin: 0 auto;
    padding: 0 30px;
    transition: all 0.3s ease;
    z-index: 1;
}

.bordered-box h2 {
    font-size: 1.5rem;
    margin: 0;
    color: #2c3e50;
    font-weight: 600;
}

.introduction-text {
    padding: 0 15px;
    margin-top: 20px;
}

.introduction-text h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.introduction-text p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

/* Mission Section */
.about-feature-area {
    padding: 4rem 0;
    background: #f8f9fa;
}

.mission-about {
    background: linear-gradient(to bottom right, #ffffff, #f8fdf9);
    border: 1px solid rgba(98, 42, 142, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(98, 42, 142, 0.08);
    padding: 25px 35px;
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: visible;
}

.mission-about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #622a8e;
    transition: height 0.3s ease;
}

.mission-about:hover {
    transform: translateY(-5px);
    border-color: #622a8e;
    box-shadow: 0 4px 12px rgba(98, 42, 142, 0.15);
}

.mission-about:hover:before {
    height: 100%;
}

.mission-icon {
    display: block;
    margin-top: -60px;
    margin-bottom: 20px;
}

.mission-icon i {
    font-size: 40px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(98, 42, 142, 0.2);
    display: inline-block;
    text-align: center;
    line-height: 80px;
    position: relative;
    background: linear-gradient(to bottom right, #ffffff, #f8fdf9);
    color: #622a8e;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(98, 42, 142, 0.08);
}

.mission-text {
    padding: 0 15px;
}

.mission-text h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.mission-text h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: rgba(98, 42, 142, 0.2);
    transition: all 0.3s ease;
}

.mission-text p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

.mission-about:hover .mission-icon i {
    border-color: #622a8e;
    background: #622a8e;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(98, 42, 142, 0.15);
}

.mission-about:hover .mission-text h4:after {
    width: 80px;
    background: #622a8e;
}

/* Service Area */
.service-area {
    padding: 4rem 0;
    background: #f8f9fa;
}

.service-about {
    background: linear-gradient(to bottom right, #ffffff, #f8fdf9);
    border: 1px solid rgba(98, 42, 142, 0.1);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(98, 42, 142, 0.08);
    padding: 25px 35px;
    display: block;
    position: relative;
    text-align: center;
    margin-bottom: 30px;
    height: 100%;
    transition: all 0.3s ease;
    overflow: visible;
}

.service-about:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #622a8e;
    transition: height 0.3s ease;
}

.service-about:hover {
    transform: translateY(-5px);
    border-color: #622a8e;
    box-shadow: 0 4px 12px rgba(98, 42, 142, 0.15);
}

.service-about:hover:before {
    height: 100%;
}

.service-icon {
    display: block;
    margin-top: -60px;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 40px;
    width: 80px;
    height: 80px;
    border: 2px solid rgba(98, 42, 142, 0.2);
    display: inline-block;
    text-align: center;
    line-height: 80px;
    position: relative;
    background: linear-gradient(to bottom right, #ffffff, #f8fdf9);
    color: #622a8e;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(98, 42, 142, 0.08);
}

.service-text {
    padding: 0 15px;
}

.service-text h4 {
    color: #2c3e50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 15px;
}

.service-text h4:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: rgba(98, 42, 142, 0.2);
    transition: all 0.3s ease;
}

.service-text p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.8;
}

.service-about:hover .service-icon i {
    border-color: #622a8e;
    background: #622a8e;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(98, 42, 142, 0.15);
}

.service-about:hover .service-text h4:after {
    width: 80px;
    background: #622a8e;
}

.service-about a {
    color: #622a8e;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-about a:hover,
.service-about a:active {
    color: #4b1e6b;
    text-decoration: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .bordered-box {
        width: 100%;
        max-width: 430px;
    }

    .mission-about,
    .service-about {
        margin-bottom: 90px;
    }
}

@media (max-width: 576px) {

    .mission-about,
    .service-about {
        padding: 20px;
    }

    .bordered-box {
        padding: 0 15px;
    }
}