/* Course Development Page Specific Styles */

/* Color Variables */
:root {
    --cd-primary-red: #BF0A30;
    --cd-dark-blue: #1A3E80;
    --cd-light-blue: #DDEFFD;
    --cd-white: #ffffff;
    --cd-text-dark: #333333;
    --cd-text-light: #666666;
    --grad1: #BF0A30D1;
    --grad2: #E44450;
    --grad3: #1A3E80;
    --grad4: #03a9f4;
}

/* Common Title Colors */
.title-blue {
    color: var(--cd-dark-blue);
}
.process-content.aos-init.aos-animate {
    margin-left: 80px;
}
.process-image.aos-init.aos-animate {
    margin-left: 46px;
}

.title-red {
    color:#ef002e;
}

/* ========== Section 1: Hero Banner ========== */
.course-hero {
    background-color: var(--cd-light-blue);
    padding: 175px 0 60px;
    overflow: hidden;
    /*margin-bottom: 40px;*/
}

.hero-split {
    display: flex;
    align-items: center;
    gap: 70px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-image {
    flex: 0 0 45%;
    position: relative;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); */
    display: block;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 50px;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 8px;
}

.hero-title span {
    display: block;
}
.hero-title .title-red {
    font-weight: 400;
}

.hero-text {
    font-size: 14px;
    color: #333333;
    line-height: 2.1;
    margin-bottom: 20px;
    /*max-width: 550px;*/
}
p.hero-text.es_course_wd {
    font-size: 16px;
    width: 682px;
}

.btn-cta {
    display: inline-block;
    background-color: var(--cd-primary-red);
    color: var(--cd-white);
    font-size: 14px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 4px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(191, 10, 48, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--grad1), var(--grad2), var(--grad3), var(--grad4));
    background-size: 400%;
    z-index: 1;
    position: relative;
}

.btn-cta .btn-arrow {
    transition: transform 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    color: var(--cd-white);
    box-shadow: 0 8px 25px rgba(191, 10, 48, 0.4);
    animation: gradientAnimate 8s linear infinite;
}

.btn-cta:hover .btn-arrow {
    transform: translateX(4px);
}

@keyframes gradientAnimate {
    0% {
        background-position: 0%;
    }
    100% {
        background-position: 400%;
    }
}

/* ========== Section 2: Guidelines Cards ========== */
.guidelines-section {
    padding: 50px 0;
    /*background-color: #2A24260F;*/
    /*margin-bottom: 60px;*/
}

.guidelines-title {
    text-align: center;
    font-size: 38px;
    font-weight: 700;
    color: #1A3E80;
    margin-bottom: 50px;
}

.guidelines-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.guideline-card {
    background-color: var(--cd-primary-red);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(191, 10, 48, 0.2);
    transition: all 0.3s ease;
}

.guideline-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(191, 10, 48, 0.35);
}

.guideline-icon {
    width: 50px;
    height: 50px;
    margin: 0 0 15px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    transition: transform 0.3s ease;
}

.guideline-icon:hover {
    transform: scale(1.1);
}

.guideline-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.guideline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cd-white);
    margin-bottom: 15px;
    text-align: left;
}

.guideline-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 0;
    text-align: left;
}

/* ========== Section 3: Our Promise ========== */
.promise-section {
    padding: 100px 0;
    background-image: url('../images/Course development/CD-AHE-4.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    margin-bottom: 60px;
}

.promise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(90deg, rgba(232, 241, 248, 0.95) 0%, rgba(232, 241, 248, 0.85) 50%, rgba(232, 241, 248, 0.7) 100%); */
    z-index: 1;
}

.promise-section .container {
    position: relative;
    z-index: 2;
}

.promise-content-wrapper {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 0 auto;
}

.promise-content {
    flex: 0 0 50%;
    max-width: 550px;
    padding: 40px;
    /* background-color: rgba(255, 255, 255, 0.9); */
    border-radius: 16px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1); */
}

.promise-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 25px;
}

.promise-title span {
    margin-right: 10px;
}

.promise-title .title-red {
    font-weight: 400;
}

.promise-text {
    font-size: 14px;
    max-width: 400px;
    color: #333333;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Mobile styles for Promise section - using 004.jpg background */
@media (max-width: 768px) {
    .promise-section {
        background-image: url('../images/Course development/004.jpg');
        background-position: center bottom;
        background-size: cover;
        padding: 60px 0 280px;
    }

    /* .promise-section::before {
        background: rgba(221, 239, 253, 0.85);
    } */

    .promise-content-wrapper {
        justify-content: center;
    }

    .promise-content {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 20px;
        text-align: center;
        background: transparent;
        box-shadow: none;
    }

    .promise-title {
        font-size: 2rem;
        margin-bottom: 20px;
        line-height: 1.1;
    }

    .promise-title span {
        display: block;
        margin-right: 0;
    }

    .promise-title .title-blue {
        font-size: 1.5rem;
        margin-bottom: 0;
    }

    .promise-title .title-red {
        font-size: 2.2rem;
    }

    .promise-text {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.promise-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.promise-list li {
    font-size: 1rem;
    color: var(--cd-text-dark);
    padding: 10px 0 10px 28px;
    position: relative;
    line-height: 1.5;
}

.promise-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 18px;
    width: 8px;
    height: 8px;
    background-color: var(--cd-primary-red);
    border-radius: 50%;
}

/* ========== Section 4: Our Process ========== */
.process-section {
    padding: 0px 0 100px;
    background-color: var(--cd-white);
    margin-bottom: 15px;
}

.process-split {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.process-image {
    flex: 0 0 32%;
}

.process-img {
    width: 100%;
    height: auto;
    max-width: 400px;
    border-radius: 0;
    box-shadow: none;
    display: block;
    margin: 0 auto;
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.2;
}

.process-title .title-red {
    font-weight: 400;
}

.process-title span {
    display: block;
}

.process-subtitle {
    font-size: 20px;
    color: var(--cd-text-dark);
    margin-bottom: 18px;
    font-weight: 400;
}

.process-bullets {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.process-bullet {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(to right, rgba(255, 200, 200, 0.6) 0%, rgba(255, 245, 245, 0.3) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    border-radius: 70px 0 0 70px;
    padding: 7px 14px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 500px;
}

.process-bullet::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: linear-gradient(to right, rgba(255, 200, 200, 0.6) 0%, rgba(255, 245, 245, 0.3) 100%); */
    border-radius: 70px 0 0 70px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.process-bullet:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 15px 40px rgba(191, 10, 48, 0.15); */
    /* border-color: var(--cd-primary-red); */
}

.process-bullet:hover::before {
    opacity: 1;
    background: linear-gradient(to right, rgba(255, 230, 230, 0.9) 0%, rgba(255, 255, 255, 0.6) 100%);
}

.bullet-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--cd-primary-red), var(--cd-dark-blue));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cd-white);
    font-size: 1.5rem;
    box-shadow: 0 8px 25px rgba(191, 10, 48, 0.3);
    transition: all 0.3s ease;
}

.process-bullet:hover .bullet-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(191, 10, 48, 0.4);
}

.bullet-content {
    flex: 1;
}

.bullet-title {
    color: var(--cd-dark-blue);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.bullet-desc {
    color: #333333;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.process-footer-text {
    font-size: 14px;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 500px;
}

.process-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0;
    padding: 8px 14px;
}



/* ========== Responsive Styles ========== */
@media (max-width: 1024px) {
    .hero-split,
    .promise-split,
    .process-split {
        gap: 40px;
    }
    
    .hero-title,
    .promise-title,
    .process-title {
        font-size: 2rem;
    }
}

@media (max-width: 900px) {
    .guidelines-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-split,
    .promise-split,
    .process-split {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-image,
    .promise-image-wrapper,
    .process-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .promise-img {
        margin-bottom: 0;
    }
    
    .hero-content,
    .process-content {
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .promise-list {
        text-align: left;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .process-bullets {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .course-hero {
        padding: 120px 0 60px;
    }
    
    .guidelines-section,
    .process-section {
        padding: 60px 0;
    }
    
    .hero-title,
    .promise-title,
    .process-title {
        font-size: 1.8rem;
    }
    
    .guidelines-title {
        font-size: 1.6rem;
    }
    
    .guidelines-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .promise-shape {
        width: 120px;
        height: 120px;
        top: -20px;
        left: -20px;
    }
    
    .btn-cta {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    /* Section 4: Process image mobile styles */
    .promise-section {
        margin-bottom: 0;
    }

    .process-section {
        padding-top: 0;
        padding-bottom: 60px;
    }

    .process-split {
        flex-direction: column;
        gap: 10px;
    }

    .process-image {
        flex: 0 0 auto;
        width: 120%;
        max-width: 280px;
        margin: 0 auto;
        padding: 0;
    }

    .process-content {
        padding-top: 0;
    }

    .process-title {
        margin-top: 0;
        margin-bottom: 10px;
    }

    .process-img {
        max-width: 100%;
        transform: scale(0.85);
    }
}

@media (max-width: 480px) {
    .hero-title,
    .promise-title,
    .process-title {
        font-size: 1.5rem;
    }
    
    .guidelines-title {
        font-size: 2rem;
        font-weight: 700;
    }
    
    .guideline-card {
        padding: 25px 20px;
    }
    
    .process-bullet {
        padding: 20px;
        gap: 15px;
    }

    .bullet-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }

    .bullet-title {
        font-size: 1.1rem;
    }

    .bullet-desc {
        font-size: 0.9rem;
    }
}
