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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F5F5DC;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #003366 0%, #004080 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.header-content {
    position: relative;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 15px;
    opacity: 0.9;
    font-style: italic;
}

.institution {
    font-size: 1.2rem;
    color: #FFD700;
    font-weight: 500;
    border: 2px solid #FFD700;
    display: inline-block;
    padding: 8px 20px;
    border-radius: 25px;
    background: rgba(255, 215, 0, 0.1);
}

/* Hero Section */
.hero {
    background: linear-gradient(45deg, #8B0000, #A52A2A);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-highlights {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.highlight-number {
    font-size: 3rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.highlight-price {
    font-size: 2.5rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.highlight-text {
    font-size: 1.1rem;
    margin-top: 10px;
    font-weight: 300;
}

/* Section Styles */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #8B0000, #FFD700);
    border-radius: 2px;
}

/* Course Introduction */
.course-intro {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: justify;
    line-height: 1.8;
    color: #444;
}

/* Course Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-left: 5px solid #8B0000;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.info-card h4 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 15px;
    font-weight: bold;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.price {
    font-size: 1.8rem !important;
    font-weight: bold;
    color: #8B0000;
}

.instructor-title {
    color: #666;
    font-style: italic;
}

/* Schedule Section */
.schedule {
    background: #f8f9fa;
}

.schedule-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.schedule-column {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.schedule-column h4 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #FFD700;
}

.schedule-dates {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.date-item {
    background: linear-gradient(45deg, #8B0000, #A52A2A);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.date-item:hover {
    transform: scale(1.05);
}

.exam-date {
    background: linear-gradient(45deg, #003366, #004080);
    color: white;
    padding: 20px;
    border-radius: 15px;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.schedule-note {
    color: #666;
    font-style: italic;
    font-size: 1rem;
}

/* Curriculum Grid */
.curriculum {
    background: white;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.curriculum-item {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
}

.curriculum-item:hover {
    border-color: #8B0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.chapter-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(45deg, #8B0000, #A52A2A);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.curriculum-item h4 {
    font-size: 1.3rem;
    color: #003366;
    margin-bottom: 15px;
    margin-top: 10px;
}

.curriculum-item ul {
    list-style: none;
    padding-left: 0;
}

.curriculum-item li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.curriculum-item li::before {
    content: '•';
    color: #8B0000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Requirements Section */
.requirements {
    background: #f8f9fa;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.requirement-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-top: 5px solid #FFD700;
    transition: transform 0.3s ease;
}

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

.requirement-card h3 {
    font-size: 1.5rem;
    color: #003366;
    margin-bottom: 15px;
}

.requirement-card p, .requirement-card li {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

.requirement-card ul {
    list-style: none;
    padding-left: 0;
}

.requirement-card li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.requirement-card li::before {
    content: '✓';
    color: #8B0000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Application Form */
.application {
    background: white;
    padding: 80px 0;
}

.application-form {
    max-width: 800px;
    margin: 0 auto;
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #003366;
    font-size: 1.1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B0000;
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.1);
}

.form-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.submit-btn,
.payment-btn {
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 150px;
}

.submit-btn {
    background: linear-gradient(45deg, #8B0000, #A52A2A);
    color: white;
}

.submit-btn:hover {
    background: linear-gradient(45deg, #A52A2A, #8B0000);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.payment-btn {
    background: linear-gradient(45deg, #003366, #004080);
    color: white;
}

.payment-btn:hover {
    background: linear-gradient(45deg, #004080, #0066cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 51, 102, 0.3);
}

.form-actions {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.form-actions .submit-reminder {
    margin: 0;
    padding: 10px 0;
    border-top: none;
    border-bottom: 1px solid #ddd;
    width: 100%;
}

/* Form Reminders */
.submit-reminder,
.payment-reminder {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.submit-reminder p,
.payment-reminder p {
    margin: 0;
    color: #666;
    font-style: italic;
}

.payment-reminder small {
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: #003366;
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    text-align: left;
}

.footer-section h4 {
    color: #FFD700;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    margin-bottom: 8px;
    line-height: 1.6;
}

/* QR Code Styles */
.qr-container {
    text-align: center;
    margin-top: 15px;
}

.qr-code {
    width: 120px;
    height: 120px;
    border: 2px solid white;
    border-radius: 8px;
    background: white;
    padding: 5px;
    margin-bottom: 10px;
}

.meet-link {
    margin: 0;
}

.meet-link a {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.9rem;
    word-break: break-all;
}

.meet-link a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-highlights {
        gap: 30px;
    }
    
    .highlight-number,
    .highlight-price {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .payment-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .curriculum-grid,
    .info-grid,
    .schedule-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .application-form {
        padding: 20px;
    }
}

