/* Custom Variables */
:root {
    --primary: #4e54c8;
    --primary-soft: rgba(78, 84, 200, 0.1);
    --primary-hover: #3f46a5;
}

/* Utility Classes */
.bg-soft-primary {
    background-color: #292984;
}

.text-primary {
    color: var(--primary) !important;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

/* Become an Instructor Section */
#become-instructor {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

#become-instructor .card {
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

#become-instructor .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
}

#become-instructor .icon-box {
    transition: all 0.3s ease;
}

#become-instructor .card:hover .icon-box {
    transform: scale(1.1);
    background-color: var(--primary);
    color: white !important;
}

.benefit-item {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background-color: rgba(78, 84, 200, 0.03);
}

.benefit-icon {
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
}

.benefit-item:hover .benefit-icon, .benefit-item:hover i{
    background-color: var(--primary) !important;
    color: white !important;
}

.step-number {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.step {
    position: relative;
    padding: 1.25rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 37px;
    top: 70px;
    bottom: -24px;
    width: 2px;
    background: rgba(255,255,255,0.2);
}

.btn-light {
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    #become-instructor .card {
        margin-bottom: 1.5rem;
    }

    .step:not(:last-child)::after {
        display: none;
    }
}

/* Hero Section */
.career-hero {
    background: linear-gradient(rgba(41, 41, 132, 0.9), rgba(30, 31, 107, 0.9)),
    url('https://images.unsplash.com/photo-1521791136064-7986c2920216?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 120px 0;
    text-align: center;
}

.career-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.career-hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

/* Section Styling */
.section {
    padding: 80px 0;
}

.section-title {
    color: #292984;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

/* Culture Cards */
.culture-card {
    border: none;
    border-radius: 12px;
    padding: 30px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.culture-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.culture-icon {
    width: 60px;
    height: 60px;
    background: rgba(41, 41, 132, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
}

.culture-icon i {
    font-size: 1.75rem;
    color: #292984;
}

/* Benefits Grid */
.benefit-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: #fff;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-color: #292984;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: rgba(41, 41, 132, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: #292984;
}

/* Diversity Section */
.diversity-section {
    background-color: rgb(238, 241, 243);
    padding: 60px 0;
    text-align: center;
}

.award-section {
    background-color: rgb(238, 241, 243);
    padding: 60px 0;
}

/* CTA Section */
.cta-section {
    background: #292984;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: white;
    color: #292984;
    transform: translateY(-3px);
}

/* FAQ Section */
.accordion-button:not(.collapsed) {
    color: #292984;
    background-color: rgba(41, 41, 132, 0.05);
}

.accordion-button:focus {
    border-color: #292984;
    box-shadow: 0 0 0 0.25rem rgba(41, 41, 132, 0.25);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23292984'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.award-card {
    background: linear-gradient(130deg, rgba(251, 251, 254, 0.8), rgba(251, 251, 254, 0.2));
    box-shadow: inset 2px 2px 1px rgba(251, 251, 254, 0.3), inset -2px -2px 1px rgba(251, 251, 254, 0.2);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid #fff !important;
}

.icons .icon {
    cursor: pointer;
    position: relative;
    width: 70px;
    height: 70px;
    margin: 40px;
    transition: .3s ease-out;
}

.icons .icon:hover {
    scale: 1.15;
}

.icons .icon .bg {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 100%;
    height: 100%;
    border-radius: 18px;
    transform: rotate(14deg);
    transition: .3s ease-out;
}

.icons .icon:hover .bg {
    transform: rotate(24deg);
}

.icons .icon .bg {
    background: #292984;
}

.icons .icon .glass {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, .2);
    border: 2px solid rgba(255, 255, 255, .2);
    border-radius: 18px;
}

.icons .icon i {
    font-size: 36px;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 3),
        rgba(255, 255, 255, 1)
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .career-hero {
        padding: 80px 0;
    }

    .career-hero h1 {
        font-size: 2.5rem;
    }

    .section {
        padding: 60px 0;
    }
}

/* Glass Button شفاف أكتر */
.btn-glass{
    --glass-bg: rgba(255,255,255,.04);
    --glass-border: rgba(255,255,255,.2);
    --glass-highlight: rgba(255,255,255,.25);
    --glass-shadow: rgba(0,0,0,.25);

    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: .7rem 1.2rem;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    background:
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.04)),
        var(--glass-bg);

    -webkit-backdrop-filter: blur(16px) saturate(160%);

    box-shadow:
        inset 0 1px 0 var(--glass-highlight),
        0 8px 28px var(--glass-shadow);

    color: #fff;
    font-weight: 600;
    letter-spacing: .2px;
    text-decoration: none;
    cursor: pointer;

    transition: all .2s ease;
}

/* لمعان ناعم */
.btn-glass::after{
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg,
    rgba(255,255,255,.45) 0%,
    rgba(255,255,255,0) 60%);
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: .5;
}

/* Hover */
.btn-glass:hover{
    transform: translateY(-1px);
    border-color: rgba(255,255,255,.35);
    background:
        linear-gradient(180deg, rgba(255,255,255,.25), rgba(255,255,255,.05)),
        var(--glass-bg);
}

/* Active */
.btn-glass:active{
    transform: translateY(0);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.15),
    0 6px 18px rgba(0,0,0,.28);
}
