/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: #f8f9fa;
    color: #333;
}

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

/* Header Styles */
.header {
    background: transparent;
    color: black;
    padding: 5px 0;
    text-align: center;
    margin-bottom: 5px;
}

.header h1 {
    margin: 0 0 20px 0;
    font-size: 2.5em;
    font-weight: 300;
    border: 6px solid black;
    display: inline-block;
    padding: 0px 10px;
    color: black;
    font-family: 'Menlo', 'Monaco', 'Consolas', monospace;
}

.header p {
    margin: 0;
    font-size: 1.2em;
    color: black;
}

/* Course Announcement */
.course-announcement {
    background: #2d2d2d;
    color: white;
    padding: 25px 30px;
    margin: 30px auto 0;
    border-radius: 8px;
    display: inline-block;
    text-align: center;
    width: auto;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #feae00;
    transition: transform 0.3s ease;
}

.course-announcement h3 {
    margin: 0 0 20px 0;
    font-size: 1.4em;
    font-weight: 600;
    color: white;
    line-height: 1.4;
}

.course-announcement p {
    margin: 12px 0;
    font-size: 1em;
    font-weight: 400;
    color: #ccc;
    line-height: 1.5;
}

.course-announcement .highlight {
    color: #feae00;
    font-weight: 500;
}

.course-announcement .icon {
    width: 16px;
    height: 16px;
    fill: #feae00;
    margin-right: 6px;
    vertical-align: middle;
}

.course-announcement .small-text {
    color: white;
    font-size: 0.9em;
    font-weight: 400;
    display: block;
    margin-top: 5px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.2em;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: #feae00;
    color: white;
}

.btn-primary:hover {
    background: #e09d00;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.btn-dark {
    background: #2d2d2d;
    color: white;
    border-left: 4px solid #feae00;
}

.btn-dark:hover {
    background: #3d3d3d;
}

.btn-large {
    font-size: 1.2em;
    padding: 15px 30px;
}

.btn-block {
    display: block;
    width: 100%;
    margin: 10px 0;
}

/* Section Styles */
.section {
    margin: 40px 0;
}

.section h2 {
    color: #feae00;
    margin-bottom: 30px;
    font-size: 1.8em;
    text-align: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Card Styles */
.card {
    background: white;
    margin: 30px 0;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #feae00;
}

.card h3 {
    color: #feae00;
    margin-top: 0;
    font-size: 1.5em;
}

.card h4 {
    color: #555;
    margin-top: 20px;
    font-size: 1.2em;
}

.card ul {
    margin: 15px 0;
    padding-left: 20px;
}

.card li {
    margin: 8px 0;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 30px;
    margin: 30px 0;
}

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

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Feature Cards */
.feature-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    border-top: 4px solid #feae00;
}

.feature-card h3 {
    color: #feae00;
    margin-top: 0;
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    stroke: #feae00;
    stroke-width: 2;
}

/* Course Cards */
.course-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #feae00;
}

.course-card h4 {
    color: #feae00;
    margin-top: 0;
    font-size: 1.3em;
}

.course-card img {
    width: 100%;
    height: auto;
    margin: 15px 0;
    border-radius: 8px;
}

.course-card-special {
    background: #feae00;
    color: black;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #feae00;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 200px;
}

.course-card-special:hover {
    background: #e09d00;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.course-card-special h4 {
    color: black;
    margin: 10px 0 0 0;
    font-size: 1.3em;
    font-weight: 600;
}

/* Project Cards */
.project-card {
    background: #8B4513;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #feae00;
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 60px;
}

.project-card h4 {
    color: white;
    margin: 0;
    font-size: 1em;
    font-weight: normal;
    flex: 1;
}

.project-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

/* Form Styles */
.contact-form {
    margin: 20px 0;
}

.form-row {
    display: flex;
    gap: 15px;
    align-items: center;
}

.form-control {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s;
    height: 48px;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: #feae00;
}

.form-submit {
    padding: 12px 25px;
    background: #feae00;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    height: 48px;
    box-sizing: border-box;
}

.form-submit:hover {
    background: #e09d00;
}

/* Alert Styles */
.alert {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 6px;
    font-weight: 500;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Pricing Info */
.pricing-info {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #28a745;
}

.pricing-info h4 {
    color: #28a745;
    margin-top: 0;
    font-size: 1.2em;
}

.pricing-info p {
    margin: 8px 0;
    color: #555;
}

/* Contact Section */
.contact-section {
    background: black;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin: 40px 0;
    border-radius: 10px;
}

.contact-section h2 {
    margin-top: 0;
    color: white;
    border: none;
}

.contact-section .btn-primary {
    background: #feae00;
    color: black;
}

.contact-section .btn-primary:hover {
    background: #e09d00;
}

/* Navigation */
.navigation {
    text-align: center;
    margin: 40px 0;
}

.nav-button {
    display: inline-block;
    padding: 12px 30px;
    margin: 0 10px;
    background: #feae00;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: background 0.3s;
}

.nav-button:hover {
    background: #e09d00;
}

.nav-button.secondary {
    background: #6c757d;
}

.nav-button.secondary:hover {
    background: #5a6268;
}

/* Emoji Styles */
.emoji-large {
    font-size: 2em;
    margin-right: 8px;
    vertical-align: middle;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .course-announcement {
        padding: 20px;
        margin: 20px auto 0;
    }
    
    .course-announcement h3 {
        font-size: 1.2em;
    }
    
    .course-announcement p {
        font-size: 0.9em;
    }
    
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .form-control,
    .form-submit {
        width: 100%;
    }
    
    .nav-button {
        display: block;
        margin: 10px auto;
        width: 200px;
    }
    
    .card {
        padding: 20px;
        margin: 20px 0;
    }
    
    .section {
        margin: 30px 0;
    }
    
    .section h2 {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.8em;
        padding: 0px 8px;
    }
    
    .header p {
        font-size: 1em;
    }
    
    .course-announcement {
        padding: 15px;
    }
    
    .course-announcement h3 {
        font-size: 1.1em;
    }
    
    .card {
        padding: 15px;
    }
    
    .feature-card,
    .course-card {
        padding: 20px;
    }
    
    .project-card {
        padding: 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .project-icon {
        width: 30px;
        height: 30px;
    }
}

/* Animation for course announcement highlight */
@keyframes highlight {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.course-announcement.highlighted {
    animation: highlight 0.8s ease-in-out;
}
