/* Global Styles */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #27ae60;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #fff;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hidden {
    display: none !important;
}

/* Navigation Bar */
.navbar {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-color);
}

.navbar-links {
    display: flex;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--secondary-color);
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.translate-btn {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.translate-btn:hover {
    background-color: #2980b9;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

/* Drawer */
.drawer {
    position: fixed;
    top: 80px;
    right: -300px;
    width: 250px;
    height: calc(100vh - 80px);
    background-color: var(--primary-color);
    z-index: 999;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
}

.drawer.open {
    right: 0;
}

.drawer-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.drawer-link {
    color: var(--text-light);
    text-decoration: none;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.drawer-link:hover {
    color: var(--secondary-color);
}

.drawer-translate {
    margin-top: 20px;
    width: 100%;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/bg.jpg') no-repeat center center/cover;
    color: var(--text-light);
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    font-weight: 300;
}

.hero-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.hero-btn:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 15px auto;
}

.about-content {
    column-count: 2;
    column-gap: 40px;
    margin-bottom: 40px;
}

.about-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.verify-section {
    text-align: center;
    margin: 40px 0;
}

.verify-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.verify-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.stats-section {
    display: flex;
    justify-content: space-around;
    margin: 60px 0;
    flex-wrap: wrap;
}

.stat-box {
    text-align: center;
    padding: 30px;
    background-color: var(--light-color);
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 45%;
    margin: 10px 0;
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.stat-box h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.counter {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.programs-section {
    text-align: center;
    margin: 40px 0;
}

.programs-btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.programs-btn:hover {
    background-color: #219653;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Verification Page */
.verification {
    padding: 100px 0 80px;
    min-height: calc(100vh - 80px);
}

.verification-form {
    max-width: 600px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
}

.form-input {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

.certificate-result {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent-color);
}

.certificate-profile {
    text-align: center;
    margin-bottom: 20px;
}

.certificate-profile img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--light-color);
}

.certificate-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 15px 0;
}

.certificate-text {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Programs Page */
.programs {
    padding: 100px 0 80px;
}

.programs-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background-color: var(--light-color);
    border: none;
    cursor: pointer;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
    margin: 5px;
}

.tab-btn:hover {
    background-color: #ddd;
}

.tab-btn.active {
    background-color: var(--secondary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 25px;
    transition: var(--transition);
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.program-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.program-card p {
    margin-bottom: 20px;
    color: #666;
}

.program-details-btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.program-details-btn:hover {
    background-color: #2980b9;
}

/* Login Page */
.login {
    padding: 100px 0;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
}

.login-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--primary-color);
}

.login-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.login-btn:hover {
    background-color: #219653;
}

.error-message {
    color: #e74c3c;
    margin-top: 20px;
    padding: 10px;
    background-color: rgba(231, 76, 60, 0.1);
    border-radius: 4px;
    text-align: center;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 60px;
    margin-bottom: 15px;
}

.footer-links {
    display: flex;
    flex-direction: column;
}

.footer-link {
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 10px;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary-color);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content {
        column-count: 1;
    }
    
    .stat-box {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar-links {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

/* Progress Circle Styles */
.progress-circle-container {
    text-align: center;
    margin: 25px 0;
}

.progress-circle {
    position: relative;
    display: inline-block;
    margin-bottom: 10px;
}

.progress-ring circle {
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.5s ease;
    stroke-dasharray: 326.56;
    stroke-dashoffset: 326.56;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.progress-label {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 5px;
}

/* Learning Outcomes Styles */
.learning-outcomes {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.learning-outcomes h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.outcome-category {
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid var(--accent-color);
}

.outcome-category h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.outcome-category ul {
    list-style-type: none;
    padding-left: 5px;
}

.outcome-category li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.outcome-category li::before {
    content: "•";
    color: var(--accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-btn, .verify-btn, .programs-btn {
        padding: 10px 20px;
    }
    
    .login-form {
        padding: 30px 20px;
    }
}