/* File: course.css - MIRRORED FROM LEARNING PATH STRUCTURE */

.course-intro {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.course-intro::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(255, 122, 0, 0.1) 0%, rgba(2, 44, 59, 0.05) 100%);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.course-container {
    display: flex !important;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 40px;
    align-items: flex-start;
    position: relative;
    z-index: 2;
    flex-wrap: nowrap !important;
}

.course-left {
    flex: 1 1 auto;
    max-width: calc(100% - 530px);
    animation: slideInLeft 0.8s ease-out;
}

.course-right {
    flex: 0 0 500px !important;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    animation: slideInRight 0.8s ease-out;
}

.course-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.course-left h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #022c3b, #034a5a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.course-left p {
    font-size: 18px;
    color: #4b5563;
    margin-bottom: 30px;
    line-height: 1.7;
}

.course-right img {
    width: 100%;
    height: auto;
    max-width: 500px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

.image-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(2, 44, 59, 0.2);
}

.image-container:hover img {
    transform: scale(1.05);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    border: 1px solid rgba(2, 44, 59, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 44, 59, 0.1);
    border-color: #ff7a00;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.duration-highlight {
    background: linear-gradient(135deg, #022c3b, #034a5a);
    color: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(2, 44, 59, 0.2);
}

.duration-highlight h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.duration-highlight p {
    font-size: 16px;
    opacity: 0.9;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.advisor-btn {
    padding: 16px 32px;
    border: 2px solid #022c3b;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: transparent;
    color: #022c3b;
}

.advisor-btn:hover {
    background: #022c3b;
    color: white;
}

.advisor-form {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(241, 249, 251, 0.9));
    padding: 30px;
    border-radius: 20px;
    margin-top: 20px;
    border: 1px solid rgba(2, 44, 59, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 40px rgba(2, 44, 59, 0.1);
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s ease;
}

.advisor-form.show {
    opacity: 1;
    max-height: 500px;
}

.advisor-form h3 {
    color: #022c3b;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: 600;
}

.advisor-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advisor-form input {
    padding: 15px;
    border-radius: 12px;
    border: 2px solid rgba(2, 44, 59, 0.1);
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.advisor-form input:focus {
    outline: none;
    border-color: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.phone-input {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(2, 44, 59, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.phone-input:focus-within {
    border-color: #ff7a00;
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.phone-input span {
    font-weight: 600;
    color: #022c3b;
}

.phone-input input {
    flex: 1;
    border: none;
    padding: 0;
    background: transparent;
}

.disclaimer {
    font-size: 14px;
    color: #6b7280;
    text-align: center;
}

.submit-btn {
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    color: white;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

/* Course Details Section */
.course-details {
    background: #ffffff;
    padding: 80px 20px;
    position: relative;
}

.course-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff7a00, transparent);
}

.details-container {
    max-width: 1200px;
    margin: 0 auto;
}

.course-details h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #022c3b;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.detail-card {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(2, 44, 59, 0.1);
    border: 1px solid rgba(2, 44, 59, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #ff7a00, #ff9500);
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(2, 44, 59, 0.15);
}

.detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.detail-card h4 {
    font-size: 22px;
    color: #022c3b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detail-card h4 i {
    color: #ff7a00;
    font-size: 18px;
}

.detail-duration {
    background: linear-gradient(135deg, #ff7a00, #ff9500);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.detail-description {
    color: #4b5563;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.detail-card ul {
    list-style: none;
    padding: 0;
}

.detail-card li {
    padding: 6px 0;  
    font-size: 15px;  
    position: relative;
    padding-left: 25px;
    color: #4b5563;
}

.detail-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff7a00;
    font-weight: bold;
}

.curriculum-section {
    background: linear-gradient(135deg, #f1f9fb, #eaf8fb);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    margin-top: 40px;
}

.curriculum-section h4 {
    font-size: 28px;
    color: #022c3b;
    margin-bottom: 30px;
    font-weight: 600;
}

.curriculum-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.curriculum-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(2, 44, 59, 0.1);
    transition: all 0.3s ease;
}

.curriculum-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(2, 44, 59, 0.1);
}

.curriculum-item i {
    font-size: 32px;
    color: #ff7a00;
    margin-bottom: 15px;
}

.curriculum-item strong {
    color: #022c3b;
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

.curriculum-item p {
    color: #4b5563;
    font-size: 14px;
    line-height: 1.5;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #022c3b, #034a5a);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 44, 59, 0.3);
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 44, 59, 0.4);
}

.reqtraining1 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #022c3b, #034a5a);
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(2, 44, 59, 0.3);
    margin-top: 20px;
}

.reqtraining1:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(2, 44, 59, 0.4);
}

.button-stack {
  display: flex;
  flex-direction: column;
  gap: 18px; 
  align-items: stretch; 
  width: 100%;
  max-width: 320px; 
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
}

.button-stack .download-btn,
.button-stack .reqtraining1 {
  width: 100%;
  box-sizing: border-box;
  justify-content: center;
  text-align: center;
}

/* Footer */
.site-footer {
    background: #022c3b;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-branding img {
    height: 40px;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff7a00;
}

/* Animations */
@keyframes slideInLeft {
    from {
    opacity: 0;
    transform: translateX(-50px);
    }
    to {
    opacity: 1;
    transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
    opacity: 0;
    transform: translateX(50px);
    }
    to {
    opacity: 1;
    transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .course-container {
    flex-direction: column;
    gap: 40px;
    }

    .course-left,
    .course-right {
    max-width: 100%;
    width: 100%;
    flex: none;
    }

    .course-left h2 {
    font-size: 36px;
    }

    .button-group {
    flex-direction: column;
    }

    .advisor-btn {
    width: 100%;
    text-align: center;
    }

    .details-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    }

    .curriculum-info {
    grid-template-columns: 1fr;
    }

    .features-grid {
    grid-template-columns: 1fr;
    }

    .footer-container {
    flex-direction: column;
    text-align: center;
    }
}

@media (max-width: 480px) {
    .course-intro,
    .course-details {
    padding: 60px 20px;
    }

    .course-left h2 {
    font-size: 28px;
    }

    .course-left p {
    font-size: 16px;
    }

    .detail-card {
    padding: 20px;
    }

    .curriculum-section {
    padding: 30px 20px;
    }
}