/* ===================================
   ICDL Page Specific Styles
   =================================== */

/* Hero Section */
.icdl-hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 5rem 0;
    color: var(--white);
}

.icdl-hero .hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.icdl-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.icdl-hero .subtitle {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    opacity: 0.95;
    font-weight: 500;
}

.icdl-hero .hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
}

.icdl-hero .hero-image img {
    width: 100%;
    max-width: 450px;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Why ICDL Section */
.why-icdl {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.why-icdl h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.why-icdl .lead-text {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    color: var(--text-gray);
    line-height: 1.8;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Certification Programs Section */
.certification-programs {
    padding: 5rem 0;
    background: var(--white);
}

.certification-programs h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.certification-programs .section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.program-card {
    background: var(--white);
    border: 2px solid var(--light-blue);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.program-card.featured {
    border-color: var(--primary-orange);
    border-width: 3px;
    background: linear-gradient(to bottom, #fff9f0 0%, var(--white) 100%);
}

.program-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.program-header h3 {
    color: var(--primary-blue);
    font-size: 1.4rem;
    flex: 1;
    min-width: 200px;
}

.program-level {
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.program-level.popular {
    background: var(--primary-orange);
    color: var(--white);
}

.program-card > p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.program-modules {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
}

.program-modules h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.program-modules ul {
    list-style: none;
    padding: 0;
}

.program-modules li {
    color: var(--dark-text);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.program-modules li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* Course Modules Details */
.course-modules {
    padding: 5rem 0;
    background: var(--light-gray);
}

.course-modules h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.course-modules .section-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.modules-list {
    max-width: 1000px;
    margin: 0 auto;
}

.module-detail {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.module-detail:hover {
    transform: translateX(10px);
}

.module-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.module-content h3 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.module-content p:first-of-type {
    color: var(--primary-orange);
    font-style: italic;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.module-content > p:nth-of-type(2) {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.module-topics {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.module-topics strong {
    color: var(--primary-blue);
    display: block;
    margin-bottom: 0.5rem;
}

.module-topics span {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Why Us Section */
.why-us {
    padding: 5rem 0;
    background: var(--white);
}

.why-us h2 {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 3rem;
    text-align: center;
}

.whyus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.whyus-item {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.whyus-item:hover {
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.whyus-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.whyus-item h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.whyus-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* CTA Section */
.icdl-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    padding: 5rem 0;
    text-align: center;
    color: var(--white);
}

.icdl-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.icdl-cta p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.cta-btn.secondary {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background-color: var(--white);
    color: var(--primary-blue);
}

/* Responsive Design */
@media (max-width: 768px) {
    .icdl-hero .hero-content {
        grid-template-columns: 1fr;
    }

    .icdl-hero h1 {
        font-size: 2rem;
    }

    .icdl-hero .subtitle {
        font-size: 1.1rem;
    }

    .icdl-hero .hero-image {
        text-align: center;
    }

    .icdl-hero .hero-image img {
        max-width: 100%;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .module-detail {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .module-number {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin: 0 auto;
    }

    .whyus-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .course-modules h2,
    .certification-programs h2,
    .why-us h2,
    .why-icdl h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .icdl-hero h1 {
        font-size: 1.75rem;
    }

    .program-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .program-level {
        align-self: flex-start;
    }
}
