* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0064A4;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
}

.nav-links a:hover {
    color: #0064A4;
}

.login-btn {
    padding: 8px 20px;
    background: #0064A4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.login-btn:hover {
    background: #003366;
}

/* Hero */
.hero {
    text-align: center;
    padding: 100px 20px;
    background: linear-gradient(135deg, #0064A4 0%, #003366 100%);
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    font-weight: 400;
}

.start-btn {
    display: inline-block;
    padding: 15px 40px;
    background: white;
    color: #0064A4;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.start-btn:hover {
    background: #f0f0f0;
}

/* About */
.about {
    padding: 60px 20px;
    background: white;
}

.about h2 {
    text-align: left !important;
    margin-bottom: 20px;
    font-size: 2rem;
}

.about h3 {
    text-align: left !important;
    font-weight: normal;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.about p {
    text-align: left !important;
    max-width: 100%;
    margin: 0 0 20px 0;
    font-size: 1.1rem;
}

.course-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 20px;
    text-align: left !important;
    max-width: 100%;
}

.course-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.info-box {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0064A4;
}

.info-box h3 {
    color: #0064A4;
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box h3 i {
    font-size: 1.3rem;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box ul li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
}

.info-box ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #F47E3C;
    font-weight: bold;
    font-size: 1.2rem;
}

.features-note {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.8;
    text-align: center;
    margin-top: 30px;
}

/* Course Features */
.course-features {
    text-align: center;
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 10px;
}

/* Instructors Section */
.instructors {
    padding: 60px 20px;
    background: #f8f9fa;
}

.instructors h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
    color: #003366;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.instructors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.instructor-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.instructor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,100,164,0.2);
}

.instructor-icon {
    text-align: center;
    margin-bottom: 15px;
}

.instructor-icon i {
    font-size: 4rem;
    color: #0064A4;
}

.instructor-card h3 {
    text-align: center;
    color: #003366;
    margin-bottom: 5px;
}

.instructor-title {
    text-align: center;
    color: #F47E3C;
    font-weight: 600;
    margin-bottom: 8px;
}

.instructor-university {
    text-align: center;
    color: #0064A4;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.instructor-bio {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
    text-align: left;
    margin-bottom: 15px;
}

.instructor-email {
    text-align: center;
    font-size: 0.9rem;
    color: #0064A4;
    margin-top: 15px;
}

.instructor-email i {
    margin-right: 5px;
}

.instructor-email a {
    color: #0064A4;
    text-decoration: none;
    font-weight: 500;
}

.instructor-email a:hover {
    text-decoration: underline;
}

.instructor-video-link {
    display: inline-block;
    padding: 10px 20px;
    background: #0064A4;
    color: white !important;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.instructor-video-link:hover {
    background: #004d7a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 100, 164, 0.3);
}

.instructor-video-link i {
    margin-right: 5px;
}

/* Contact */
.contact {
    padding: 60px 20px;
    background: #f5f5f5;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 2rem;
}

.contact-info {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #555;
}

.contact-info a {
    color: #0064A4;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact input,
.contact textarea {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact button {
    padding: 12px;
    background: #0064A4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.contact button:hover {
    background: #003366;
}

.file-upload-wrapper {
    margin: 15px 0;
}

.file-upload-label {
    display: inline-block;
    padding: 10px 20px;
    background: #f0f0f0;
    color: #0064A4;
    border: 2px dashed #0064A4;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s;
}

.file-upload-label:hover {
    background: #e0e0e0;
    border-color: #003366;
}

.file-upload-label i {
    margin-right: 8px;
}

.file-input {
    display: none;
}

.file-name {
    display: inline-block;
    margin-left: 15px;
    color: #666;
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 20px 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.social {
    display: flex;
    gap: 15px;
}

.social a {
    color: white;
    font-size: 1.5rem;
}

.social a:hover {
    color: #F47E3C;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex !important;
    opacity: 1;
}

.modal-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    max-width: 400px;
    width: 90%;
    position: relative;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666;
}

.close-btn:hover {
    color: #333;
}

.form-container h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #003366;
}

.form-container input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-container input:focus {
    outline: none;
    border-color: #0064A4;
}

.form-container button {
    width: 100%;
    padding: 12px;
    background: #0064A4;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
}

.form-container button:hover {
    background: #003366;
}

.form-container button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.form-container p {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
}

.form-container a {
    color: #0064A4;
    text-decoration: none;
    font-weight: 600;
}

.form-container a:hover {
    text-decoration: underline;
}

/* User Info Display */
.user-info {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.user-avatar i {
    font-size: 2rem;
    color: #0064A4;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.user-name {
    font-weight: 600;
    color: #003366;
    font-size: 0.95rem;
}

.user-email {
    font-size: 0.8rem;
    color: #666;
}

.btn-logout {
    background: #dc3545;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s;
}

.btn-logout:hover {
    background: #c82333;
}

.btn-logout i {
    font-size: 1rem;
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    z-index: 10000;
    animation: slideInRight 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}

.notification.success {
    background: #28a745;
}

.notification.error {
    background: #dc3545;
}

.notification.info {
    background: #17a2b8;
}

/* Certificates Section */
.certificates-section {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border: 2px solid #0064A4;
}

.certificates-section h3 {
    text-align: center;
    color: #003366;
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cert-description {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.certificate-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid #e9ecef;
}

.certificate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,100,164,0.2);
}

.certificate-card.full-course-cert {
    border: 3px solid #FFD700;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFFBF0 100%);
}

.cert-icon {
    font-size: 4rem;
    color: #0064A4;
    margin-bottom: 15px;
}

.cert-icon.gold {
    color: #FFD700;
}

.certificate-card h4 {
    color: #003366;
    font-size: 1.2rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.cert-score {
    color: #F47E3C;
    font-size: 1.3rem;
    font-weight: bold;
    margin: 10px 0;
}

.cert-status {
    color: #10b981;
    font-size: 1rem;
    margin: 10px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-cert-btn {
    margin-top: 15px;
    padding: 12px 25px;
    background: #0064A4;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.download-cert-btn:hover {
    background: #003366;
}

.download-cert-btn.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #003366;
}

.download-cert-btn.gold:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
}

/* Responsive */
.course-info-single {
    margin: 40px 0;
}

.info-box-full {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid #0064A4;
}

.info-box-full h3 {
    color: #0064A4;
    margin-top: 30px;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box-full h3:first-child {
    margin-top: 0;
}

.info-box-full h3 i {
    font-size: 1.4rem;
}

.info-box-full ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.info-box-full ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

.info-box-full ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #F47E3C;
    font-weight: bold;
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .course-info-grid {
        grid-template-columns: 1fr;
    }
    
    .certificates-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .course-description {
        font-size: 1rem;
        text-align: left;
    }
    
    .course-info-grid {
        grid-template-columns: 1fr;
    }
    
    .instructors-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .user-info {
        flex-direction: column;
        gap: 5px;
    }
}
