/* Import root variables to ensure consistency */
:root {
    --primary: #8eff54; /* From .title-highlight, .btn-primary, etc. */
    --foreground: #fff; /* From .university-title, .bento-title */
    --bg-darker: #1a1a1a; /* From .hero */
}

/* Choice Cards Section */
.choice-reasons-wrapper {
    padding: 60px 20px;
    background-color: transparent;
}

/* Services Header (Styled like About Me Header) */
.services-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.services-header .section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: nowrap;
}

.services-header .section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--foreground); /* #fff */
    white-space: nowrap;
}

.services-header .title-tag {
    background: var(--primary); /* #8eff54 */
    color: var(--bg-darker); /* #1a1a1a */
    font-size: 16px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 15px;
    margin-left: 0;
    margin-right: 0;
    letter-spacing: 1px;
    display: inline-block;
}

.services-header p {
    font-size: 18px;
    color: #cccccc;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.services-header p::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--primary); /* #8eff54 */
    margin: 25px auto 0;
    border-radius: 2px;
}

/* Responsive adjustments for tablets */
@media (max-width: 1100px) {
    .services-header .section-title h2 {
        font-size: 28px;
    }
    .services-header p {
        font-size: 16px;
    }
}

/* Full Mobile Compatibility */
@media (max-width: 768px) {
    .services-header {
        margin-bottom: 30px;
    }
    .services-header .section-title h2 {
        font-size: 24px;
    }
    .services-header p {
        font-size: 14px;
        margin: 0 16px; /* Match mobile margins from original */
    }
    .services-header p::after {
        margin: 20px auto 0;
    }
}

@media (max-width: 480px) {
    .services-header .section-title h2 {
        font-size: 22px;
    }
    .services-header .title-tag {
        font-size: 14px;
        padding: 4px 12px;
    }
    .services-header p {
        font-size: 13px;
        margin: 0 20px; /* Match smaller screen margins from original */
    }
}

/* Existing styles for choice cards remain unchanged */
.choice-container {
    max-width: 1200px;
    margin: 0 auto;
}

.choice-cards-row {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: stretch;
}

.choice-card {
    width: 350px;
    height: 400px;
    border-radius: 20px;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.choice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-color: rgba(142, 255, 84, 0.3);
}

.choice-dark-theme {
    background-color: rgba(25, 25, 25, 0.7);
    color: #ffffff;
}

.choice-green-theme {
    background-color: #8eff54;
    color: #000000;
}

.choice-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.choice-text-content {
    flex: 1;
}

.choice-description {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 15px 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.choice-subdescription {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    opacity: 0.8;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.choice-dark-theme .choice-description {
    color: #ddd;
}

.choice-dark-theme .choice-subdescription {
    color: #aaa;
}

.choice-green-theme .choice-description {
    color: #000;
}

.choice-green-theme .choice-subdescription {
    color: #333;
}

.choice-bottom-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 20px;
}

.choice-action-text {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.choice-dark-theme .choice-action-text {
    color: #8eff54;
}

.choice-green-theme .choice-action-text {
    color: #000;
}

.choice-arrow-container {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
    flex-shrink: 0;
}

.choice-dark-theme .choice-arrow-container {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.choice-green-theme .choice-arrow-container {
    background-color: #ffffff;
    color: #000000;
}

.choice-card:hover .choice-arrow-container {
    transform: rotate(45deg);
}

.choice-dark-theme:hover .choice-arrow-container {
    background-color: rgba(142, 255, 84, 0.2);
}

.choice-green-theme:hover .choice-arrow-container {
    background-color: #f0f0f0;
}

.choice-dark-theme:hover .choice-description {
    color: #8eff54;
    transition: color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .choice-cards-row {
        gap: 16px;
    }
    
    .choice-card {
        width: 260px;
        height: 300px;
        padding: 28px 24px;
    }
    
    .choice-description {
        font-size: 17px;
    }
    
    .choice-action-text {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .choice-cards-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .choice-card {
        width: 100%;
        max-width: 320px;
        height: 280px;
    }
    
    .choice-reasons-wrapper {
        padding: 40px 16px;
    }
}

@media (max-width: 480px) {
    .choice-card {
        height: 260px;
        padding: 24px 20px;
    }
    
    .choice-description {
        font-size: 16px;
    }
    
    .choice-action-text {
        font-size: 14px;
    }
    
    .choice-arrow-container {
        width: 32px;
        height: 32px;
    }
}