/* ICDL Page Specific Styles */

.icdl-hero {
    height: 80vh;
    background: linear-gradient(rgba(44, 90, 160, 0.8), rgba(220, 53, 69, 0.8)), url("images/icdl_course1.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icdl-hero .hero-title .subtitle {
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    opacity: 0.9;
}

.icdl-hero .hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Course Overview Section (reused from first_aid_styles.css, with color adjustments) */
.course-overview {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.overview-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.overview-card:hover {
    transform: translateY(-10px);
}

.overview-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, #2c5aa0, #1e3d72);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 2rem;
}

.overview-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.overview-card p {
    color: #666;
    font-size: 1.1rem;
}

/* ICDL Modules Section */
.icdl-modules {
    padding: 80px 0;
    background: white;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.module-card {
    background: #f8f9fa;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-header {
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
    padding: 2rem;
    text-align: center;
}

.module-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.module-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.module-subtitle {
    font-size: 1rem;
    opacity: 0.8;
}

.module-image {
    height: 200px;
    overflow: hidden;
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.module-card:hover .module-image img {
    transform: scale(1.05);
}

.module-content {
    padding: 2rem;
}

.module-list {
    list-style: none;
}

.module-list li {
    padding: 0.8rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.module-list li:last-child {
    border-bottom: none;
}

.module-list i {
    color: #28a745;
    font-size: 1.2rem;
    min-width: 20px;
}

/* Advanced Skills Section */
.advanced-skills {
    padding: 80px 0;
    background: #f0f2f5;
}

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

.skill-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-10px);
}

.skill-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #dc3545, #c82333);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.skill-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #2c5aa0;
}

.skill-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Instructor Section (reused from first_aid_styles.css, with color adjustments) */
.instructor-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
}

.instructor-card {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    align-items: center;
}

.instructor-info h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffc107;
}

.instructor-title {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.instructor-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.detail-item i {
    font-size: 1.5rem;
    color: #ffc107;
}

.instructor-image {
    text-align: center;
}

.image-placeholder {
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 4rem;
    color: #ffc107;
}

.instructor-info .social-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.instructor-info .social-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.instructor-info .social-links a:hover {
    color: #ffc107;
}

.instructor-info .social-links i {
    font-size: 1.8rem;
}

/* Career Benefits Section (reused from first_aid_styles.css, with color adjustments) */
.career-benefits {
    padding: 80px 0;
    background: #f8f9fa;
}

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

.benefit-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #2c5aa0, #1e3d72);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2.5rem;
}

.benefit-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #dc3545;
}

.benefit-card p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Video Section */
.video-section {
    padding: 80px 0;
    background: white;
}

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

.video-card {
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-placeholder {
    width: 100%;
    height: 200px;
    background: #ccc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 3rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.video-card:hover .video-placeholder {
    background: #ddd;
}

.video-placeholder p {
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Booking Section (reused from first_aid_styles.css, with color adjustments) */
.booking-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c5aa0, #1e3d72);
    color: white;
    text-align: center;
}

.booking-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.booking-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.booking-info {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.info-item i {
    font-size: 1.3rem;
    color: #ffc107;
}

.booking-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Navigation Active State */
.nav-menu a.active {
    color: #2c5aa0;
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
    background: #2c5aa0;
}

/* Responsive Design for ICDL Page */
@media (max-width: 768px) {
    .icdl-hero {
        height: 70vh;
    }
    
    .icdl-hero .hero-title {
        font-size: 2.5rem;
    }
    
    .icdl-hero .hero-description {
        font-size: 1.1rem;
    }
    
    .modules-grid,
    .skills-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .instructor-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .instructor-details {
        grid-template-columns: 1fr;
    }
    
    .booking-info {
        flex-direction: column;
        gap: 1rem;
    }
    
    .booking-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .overview-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid,
    .skills-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .module-card,
    .skill-card,
    .video-card {
        margin: 0 10px;
    }
    
    .instructor-card {
        padding: 2rem;
    }
    
    .booking-content h2 {
        font-size: 2rem;
    }
}

/* Animation Enhancements */
.module-card {
    animation: fadeInUp 0.6s ease;
}

.skill-card {
    animation: fadeInUp 0.6s ease;
}

.benefit-card {
    animation: fadeInUp 0.6s ease;
}

.overview-card {
    animation: fadeInUp 0.6s ease;
}

.video-card {
    animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hover Effects */
.module-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.skill-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.benefit-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.overview-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.video-card:hover {
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

