/* ================================================
   Start to Success Section Styles
   Custom styles for the Start to Success section
   ================================================ */

/* Color Palette - Theme Colors */
:root {
    --sts-primary: #26c976;
    --sts-orange: #ff5722;
    --sts-yellow: #ffc107;
    --sts-green: #00c853;
    --sts-text-dark: #2c3e50;
    --sts-text-light: #5a6c7d;
    --sts-bg-light: #f8f9fa;
    --sts-white: #ffffff;
}

/* Main Section Container */
.start-success-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

/* Section Header */
.sts-header {
    text-align: center;
    margin-bottom: 40px;
}

.sts-subtitle {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--sts-orange);
    margin-bottom: 10px;
    text-transform: uppercase;
}

.sts-main-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--sts-text-dark);
    margin: 0;
    line-height: 1.2;
}

/* Description Section */
.sts-description {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 50px;
    padding: 0 15px;
}

.sts-desc-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--sts-text-dark);
    margin-bottom: 20px;
}

.sts-desc-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--sts-text-light);
    margin: 0;
}

/* CTA Cards */
.sts-cta-cards {
    margin-top: 40px;
}

/* Card Base */
.sts-card {
    background: var(--sts-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 30px;
    display: flex;
    flex-direction: row;
    min-height: 280px;
    position: relative;
}

.sts-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* Activities Card - Yellow/Orange Theme */
.sts-activities-card {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border-left: 5px solid var(--sts-green);
}

/* Enroll Card - Green Theme */
.sts-enroll-card {
    background: linear-gradient(135deg, rgba(0, 200, 83, 0.1) 0%, rgba(0, 200, 83, 0.05) 100%);
    border-left: 5px solid var(--sts-green);
}

/* Card Content */
.sts-card-content {
    flex: 1;
    padding: 40px 35px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.sts-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--sts-text-dark);
    margin-bottom: 15px;
}

.sts-card-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--sts-text-light);
    margin-bottom: 25px;
}

/* Card Image */
.sts-card-image {
    flex: 0 0 250px;
    position: relative;
    overflow: hidden;
}

.sts-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sts-card:hover .sts-card-image img {
    transform: scale(1.1);
}

/* Buttons */
.sts-btn {
    display: inline-block;
    padding: 14px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--sts-white);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.sts-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: -1;
}

.sts-btn:hover::before {
    left: 0;
}

.sts-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: var(--sts-white);
}

/* Yellow Button */
.sts-btn-yellow {
    background: var(--sts-yellow);
    box-shadow: 0 4px 10px rgba(255, 193, 7, 0.3);
}

.sts-btn-yellow:hover {
    background: #ffb300;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

/* Green Button */
.sts-btn-green {
    background: var(--sts-green);
    box-shadow: 0 4px 10px rgba(0, 200, 83, 0.3);
}

.sts-btn-green:hover {
    background: #00b248;
    box-shadow: 0 6px 20px rgba(0, 200, 83, 0.4);
}

/* Decorative Elements */
.sts-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    opacity: 0.1;
    transition: all 0.5s ease;
}

.sts-activities-card::after {
    background: var(--sts-yellow);
}

.sts-enroll-card::after {
    background: var(--sts-green);
}

.sts-card:hover::after {
    transform: scale(1.5);
    opacity: 0.15;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .start-success-section {
        padding: 60px 0;
    }

    .sts-main-title {
        font-size: 36px;
    }

    .sts-desc-title {
        font-size: 20px;
    }

    .sts-card {
        min-height: 250px;
    }

    .sts-card-content {
        padding: 35px 30px;
    }

    .sts-card-title {
        font-size: 24px;
    }

    .sts-card-image {
        flex: 0 0 200px;
    }
}

@media (max-width: 767px) {
    .start-success-section {
        padding: 50px 0;
    }

    .sts-main-title {
        font-size: 30px;
    }

    .sts-desc-title {
        font-size: 18px;
    }

    .sts-desc-text {
        font-size: 14px;
    }

    .sts-card {
        flex-direction: column;
        min-height: auto;
    }

    .sts-card-content {
        padding: 30px 25px;
    }

    .sts-card-title {
        font-size: 22px;
    }

    .sts-card-text {
        font-size: 14px;
    }

    .sts-card-image {
        flex: 0 0 200px;
        width: 100%;
    }

    .sts-btn {
        padding: 12px 25px;
        font-size: 13px;
    }
}

@media (max-width: 575px) {
    .sts-main-title {
        font-size: 26px;
    }

    .sts-subtitle {
        font-size: 12px;
    }

    .sts-desc-title {
        font-size: 17px;
    }

    .sts-card-content {
        padding: 25px 20px;
    }

    .sts-card-title {
        font-size: 20px;
    }

    .sts-card-image {
        flex: 0 0 180px;
    }
}

/* Print Styles */
@media print {
    .start-success-section {
        padding: 20px 0;
    }

    .sts-card {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .sts-card,
    .sts-card-image img,
    .sts-btn,
    .sts-btn::before,
    .sts-card::after {
        animation: none;
        transition: none;
    }
}