:root {
    --primary: #1a66a6;
    --secondary: #fbb225;
}

.community-section {
    background: #f7f9fc;
}

.section-heading span {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
}

.section-heading h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0 20px;
}

.section-heading p {
    max-width: 950px;
    margin: auto;
    color: #666;
    line-height: 1.9;
    font-size: 16px;
}

.community-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    height: 100%;
    transition: 0.3s ease;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}

.community-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
    transform: scaleX(0);
    transition: 0.3s ease;
}

.community-card:hover::before {
    transform: scaleX(1);
}

.community-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(26, 102, 166, .18);
}

.card-img {
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: 0.3s ease;
}

.community-card:hover img {
    transform: scale(1.08);
}

.card-body-custom {
    padding: 30px;
}

.card-body-custom h3 {
    color: var(--primary);
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.card-body-custom p {
    color: #000;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
}

.btn-read {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    transition: 0.3s ease;
}

.btn-read::after {
    content: '→';
    transition: 0.3s ease;
}

.btn-read:hover {
    color: var(--secondary);
}

.btn-read:hover::after {
    transform: translateX(5px);
}





.student-voices {
    background: #f7f9fc;
}

.section-heading span {
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 2px;
}

.voice-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
    transition: 0.3s ease;
}

.voice-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 102, 166, .15);
}

.voice-img {
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.voice-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--secondary);
    z-index: 2;
}

.card-img {
    position: relative;
    overflow: hidden;
}

.voice-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.3s ease;
}

.voice-card:hover .voice-img {
    transform: scale(1.08);
}

.card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .75),
            rgba(0, 0, 0, .05));
}

.student-info {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 2;
    color: #fff;
}

.student-info h4 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
}

.student-info span {
    font-size: 14px;
    opacity: .9;
}

.voice-header {
    width: 100%;
    border: none;
    background: #1a66a6;
    color: #fff;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.icon {
    width: 30px;
    height: 29px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 23px;
    transition: 0.3s ease;
}

.voice-content {
    padding: 20px;
}

.voice-content p {
    margin: 0;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 500;
    color: #222;
}