/**
 * Computer Security US - Main Stylesheet
 * Version: 1.0.0
 * 
 * Table of Contents:
 * 1. Reset & Base Styles
 * 2. Header & Navigation
 * 3. Hero Banner
 * 4. Progress Section
 * 5. Module Cards
 * 6. Quiz Sections
 * 7. Certificate Pages
 * 8. Donation/Payment Forms
 * 9. Footer
 * 10. Utility Classes
 * 11. Responsive Design
 */

/* ==========================================================================
   1. Reset & Base Styles
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ==========================================================================
   2. Header & Navigation
   ========================================================================== */

.header-container {
    background: linear-gradient(135deg, #003366 0%, #004c99 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-container a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 60px;
    width: 240px;
    object-fit: contain;
}

.main-navigation {
    display: flex;
    gap: 30px;
    align-items: center;
}



.nav-item {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    background-color: rgba(255, 255, 255, 0.2);
}

.nav-item.cta {
    background-color: #CC0000;
    color: white;
}

.nav-item.cta:hover {
    background-color: #990000;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-checkbox {
    display: none;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 10px;
    order: 3;
    margin-left: auto;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* ==========================================================================
   3. Hero Banner
   ========================================================================== */

.hero-banner {
    background: linear-gradient(135deg, #003366 0%, #004c99 50%, #0066cc 100%);
    color: white;
    padding: 80px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
        opacity: 0.5; 
    }
    50% { 
        transform: scale(1.1); 
        opacity: 0.8; 
    }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-banner h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 30px;
    color: #e6f2ff;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.hero-feature-icon {
    font-size: 1.5rem;
}

/* ==========================================================================
   4. Progress Section
   ========================================================================== */

.progress-section {
    background: white;
    padding: 30px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 100px;
    z-index: 100;
}

.progress-container {
    max-width: 1200px;
    margin: 0 auto;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.progress-title {
    font-size: 1.2rem;
    color: #003366;
    font-weight: 600;
}

.progress-stats {
    display: flex;
    gap: 30px;
    font-size: 0.95rem;
    color: #666;
}

.progress-stat {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-bar-wrapper {
    background-color: #e5e7eb;
    border-radius: 10px;
    height: 24px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    background: linear-gradient(90deg, #CC0000 0%, #ff3333 100%);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    color: white;
    font-weight: 600;
    font-size: 0.85rem;
}

/* ==========================================================================
   5. Module Cards
   ========================================================================== */

.main-content {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 40px;
}

.module-card {
    background: white;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-left: 6px solid #003366;
    transition: all 0.3s ease;
}

.module-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.module-card.completed {
    border-left-color: #10b981;
}

.module-card.locked {
    opacity: 0.6;
    pointer-events: none;
}

.module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.module-title-section {
    flex: 1;
}

.module-number {
    color: #CC0000;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.module-title {
    font-size: 2rem;
    color: #003366;
    font-weight: 700;
    margin-bottom: 10px;
}

.module-description {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
}

.module-status {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
}

.module-status.completed {
    background-color: #d1fae5;
    color: #065f46;
}

.module-status.in-progress {
    background-color: #fef3c7;
    color: #92400e;
}

.module-status.locked {
    background-color: #f3f4f6;
    color: #6b7280;
}

.status-icon {
    font-size: 1.5rem;
}

/* Video Container */
.video-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin: 30px 0;
    aspect-ratio: 16/9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
}

.locked-message {
    background: #f3f4f6;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    color: #6b7280;
}

/* ==========================================================================
   6. Quiz Sections
   ========================================================================== */

.quiz-section {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    margin-top: 30px;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.quiz-title {
    font-size: 1.5rem;
    color: #003366;
    font-weight: 600;
}

.quiz-score {
    background-color: #003366;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 600;
}

.question-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 2px solid #e5e7eb;
}

.question-text {
    font-size: 1.1rem;
    color: #1f2937;
    margin-bottom: 20px;
    font-weight: 500;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.answer-option:hover {
    border-color: #003366;
    background-color: #f0f9ff;
}

.answer-option input[type="radio"] {
    margin-right: 15px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.answer-option label,
.answer-option span {
    cursor: pointer;
    flex: 1;
    font-size: 1rem;
}

/* Quiz Result Messages */
.quiz-result-message {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px 40px;
    border-radius: 12px;
    text-align: center;
}

.quiz-result-message.success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.quiz-result-message.failure {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

.quiz-result-message h3 {
    font-size: 2rem;
    margin-bottom: 10px;
}

/* ==========================================================================
   7. Certificate Pages
   ========================================================================== */

/* Certificate Request Form */
.certificate-request-section,
.verify-section {
    padding: 60px 40px;
}

.certificate-request-container,
.verify-container {
    max-width: 800px;
    margin: 0 auto;
}

.request-form-card,
.certificate-success-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-header,
.success-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h1,
.success-header h1 {
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.success-icon-large {
    font-size: 5rem;
    margin-bottom: 20px;
}

.success-subtitle {
    color: #666;
    font-size: 1.2rem;
}

/* Form Styles */
.certificate-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.required {
    color: #CC0000;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #003366;
}

.form-help {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: #6b7280;
}

.form-notice {
    background: #f0f9ff;
    border-left: 4px solid #003366;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.form-footer {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
    color: #666;
    font-size: 0.95rem;
}

/* Success/Error Cards */
.success-card,
.error-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.success-icon,
.error-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.success-message,
.error-message {
    font-size: 1.2rem;
    color: #666;
    margin: 20px 0;
}

.success-instructions {
    background: #f0f9ff;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
    text-align: left;
}

.success-instructions h3 {
    color: #003366;
    margin-bottom: 15px;
}

.success-instructions ol {
    list-style: decimal;
    list-style-position: inside;
    line-height: 2;
}

.success-note {
    background: #fef3c7;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 0.95rem;
}

/* Certificate Preview */
.certificate-preview {
    margin: 40px 0;
}

.certificate-info {
    background: #f8fafc;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.certificate-info h2 {
    color: #003366;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.info-item {
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.info-item strong {
    color: #003366;
    display: block;
    margin-bottom: 5px;
}

/* Download Section */
.download-section {
    background: #10b981;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.download-section h3 {
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.download-note {
    font-size: 0.95rem;
    margin-top: 15px;
    opacity: 0.9;
}

/* ==========================================================================
   8. Donation/Payment Forms
   ========================================================================== */

.section-divider {
    text-align: center;
    margin: 50px 0;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.section-divider span {
    background: white;
    padding: 0 20px;
    position: relative;
    color: #666;
    font-weight: 600;
}

/* Gratitude Section */
.gratitude-section {
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
    margin: 30px 0;
}

.gratitude-header {
    text-align: center;
    margin-bottom: 40px;
}

.gratitude-header h2 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 15px;
}

.gratitude-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Support Options */
.support-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 40px 0;
}

.support-card {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.support-card:hover {
    border-color: #003366;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.15);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.support-card h3 {
    color: #003366;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.support-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Amount Selection */
.amount-selection {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.amount-btn {
    background: #f3f4f6;
    color: #374151;
    border: 2px solid #d1d5db;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    min-width: 60px;
}

.amount-btn:hover {
    background: #e5e7eb;
    border-color: #9ca3af;
}

.amount-btn.selected {
    background: #003366;
    color: white;
    border-color: #003366;
}

.custom-amount {
    text-align: center;
    margin: 15px 0;
}

.custom-amount input {
    padding: 12px;
    border: 2px solid #d1d5db;
    border-radius: 6px;
    font-size: 16px;
    width: 150px;
    text-align: center;
}

.custom-amount input:focus {
    outline: none;
    border-color: #003366;
}

.selected-amount-display {
    text-align: center;
    margin: 20px 0;
    font-size: 1.2rem;
    color: #003366;
}

/* Stripe Payment Form */
#stripe-payment-form {
    margin-top: 30px;
}

#stripe-payment-form h4 {
    color: #003366;
    margin-bottom: 20px;
    text-align: center;
}

#payment-element {
    margin: 20px 0;
}

.payment-message {
    color: #dc2626;
    margin-top: 15px;
    text-align: center;
}

/* Review Buttons */
.review-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.google-review {
    background: #4285f4;
    color: white;
}

.google-review:hover {
    background: #357ae8;
    transform: translateY(-2px);
}

.facebook-review {
    background: #1877f2;
    color: white;
}

.facebook-review:hover {
    background: #166fe5;
    transform: translateY(-2px);
}

/* Skip Section */
.skip-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.skip-section p {
    color: #666;
    margin-bottom: 15px;
}

/* ==========================================================================
   9. Instructor Section
   ========================================================================== */

.instructor-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e6f2ff 100%);
    padding: 60px 40px;
    margin-top: 60px;
}

.instructor-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.instructor-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 51, 102, 0.2);
}

.instructor-image img {
    width: 100%;
    height: auto;
    display: block;
}

.instructor-bio h2 {
    color: #003366;
    font-size: 2rem;
    margin-bottom: 15px;
}

.instructor-credentials {
    color: #CC0000;
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.instructor-bio p {
    color: #4b5563;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

.footer {
    background: #003366;
    color: white;
    padding: 60px 40px 30px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #b3d9ff;
    line-height: 1.8;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #b3d9ff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #CC0000;
    transform: translateY(-3px);
}

.footer-cta-btn {
    display: inline-block;
    background: #CC0000;
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.footer-cta-btn:hover {
    background: #990000;
    transform: translateY(-2px);
}

.footer-instructor {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.instructor-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.instructor-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.instructor-social a:hover {
    background: #CC0000;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b3d9ff;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-disclaimer a {
    color: #b3d9ff;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-disclaimer a:hover {
    color: white;
}

/* ==========================================================================
   11. Utility Classes & Components
   ========================================================================== */

/* Buttons */
.btn {
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(135deg, #003366 0%, #004c99 100%);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
}

.btn-secondary {
    background: #CC0000;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #990000;
    transform: translateY(-2px);
}

.btn-outline {
    background: white;
    color: #003366;
    border: 2px solid #003366;
}

.btn-outline:hover {
    background: #003366;
    color: white;
}

.btn-text {
    background: transparent;
    color: #666;
    padding: 10px 20px;
    text-decoration: underline;
}

.btn-text:hover {
    color: #003366;
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
}

.btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

/* Action Buttons Container */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Success/Error Messages */
.success-message {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.success-message h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.success-message p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.error-message {
    background: #fee2e2;
    color: #b91c1c;
    padding: 15px 20px;
    border: 1px solid #fecaca;
    border-radius: 6px;
    margin: 20px 0;
    text-align: center;
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    padding: 60px 40px;
    background: white;
}

.benefits-container {
    max-width: 1200px;
    margin: 0 auto;
}

.benefits-container h2 {
    text-align: center;
    color: #003366;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 30px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.1);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    color: #003366;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    line-height: 1.6;
}

/* Thank You Page Styles */
.thank-you-section {
    padding: 60px 40px;
}

.thank-you-container {
    max-width: 800px;
    margin: 0 auto;
}

.thank-you-card {
    background: white;
    border-radius: 12px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.thank-you-icon {
    font-size: 5rem;
    margin-bottom: 20px;
}

.thank-you-card h1 {
    color: #003366;
    margin-bottom: 20px;
}

.thank-you-message {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 30px;
}

.donation-details {
    background: #f0f9ff;
    padding: 25px;
    border-radius: 8px;
    margin: 30px 0;
}

.donation-details h3 {
    color: #003366;
    margin-bottom: 15px;
}

.confirmation-number {
    font-size: 0.9rem;
    word-break: break-all;
}

.impact-message {
    margin: 30px 0;
    text-align: left;
}

.impact-message h3 {
    color: #003366;
    margin-bottom: 15px;
    text-align: center;
}

.impact-list {
    list-style: none;
    padding: 0;
}

.impact-list li {
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.impact-list li:last-child {
    border-bottom: none;
}

.social-share {
    margin: 30px 0;
}

.social-share h3 {
    color: #003366;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 6px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.share-btn.facebook {
    background: #1877f2;
}

.share-btn.twitter {
    background: #1da1f2;
}

.share-btn.linkedin {
    background: #0a66c2;
}

/* Container Classes */
.main-container {
    min-height: calc(100vh - 200px);
    margin: 0;
    padding: 0;
}

/* ==========================================================================
   12. Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .instructor-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .instructor-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .support-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* Hero */
    .hero-banner h1 {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-features {
        gap: 20px;
    }

    /* Header */
    .main-header {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
    }
    
    .logo-container {
        order: 1;
    }
    
    .logo-img {
        height: 48px;
        width: 192px;
    }

    .mobile-menu-btn {
        display: flex;
        order: 3;
    }

    .main-navigation {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        order: 4;
    }

.main-navigation.mobile-show {
    display: flex;
}

    .nav-item {
        width: 100%;
        text-align: center;
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    /* Module Cards */
    .module-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .module-title {
        font-size: 1.5rem;
    }

    .module-card {
        padding: 25px;
    }

    /* Content */
    .main-content {
        padding: 0 20px;
    }

    /* Progress */
    .progress-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .progress-stats {
        flex-direction: column;
        gap: 10px;
    }

    /* Forms */
    .request-form-card,
    .certificate-success-card,
    .thank-you-card {
        padding: 30px 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    /* Buttons */
    .action-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .download-buttons {
        flex-direction: column;
    }

    /* Amount Selection */
    .amount-selection {
        gap: 8px;
    }

    .amount-btn {
        min-width: 50px;
        padding: 10px 14px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        padding: 40px 20px;
    }

    .hero-banner h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .module-title {
        font-size: 1.3rem;
    }



    .form-header h1,
    .success-header h1 {
        font-size: 2rem;
    }

    .amount-btn {
        min-width: 45px;
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Print Styles */
@media print {
    .header-container,
    .progress-section,
    .gratitude-section,
    .footer,
    .action-buttons {
        display: none !important;
    }

    body {
        background: white;
    }
}