/* Fresh Clean CSS for School Management System - SEO Optimized */

/* Performance Critical CSS */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS Containment for better rendering performance */
.container {
    contain: layout style;
}

.hero-section, .section {
    contain: layout;
}

/* Reduce paint complexity */
.btn, .card, .header {
    will-change: transform;
    transform: translateZ(0);
}

:root {
    --primary-color: #01AEF0;
    --accent-color: #39CA78;
    --dark-color: #1a1a1a;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e0e0e0;
    
    /* Performance optimizations */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --shadow-light: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 12px rgba(0,0,0,0.15);
}

/* Optimize font stack for performance */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background: var(--white);
    font-size: 16px;
    font-display: swap;
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 18px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(1, 174, 240, 0.3);
}

.btn-primary:hover {
    background: #0095d1;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(1, 174, 240, 0.4);
}

.btn-large {
    padding: 18px 36px;
    font-size: 18px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 700;
}

.hero-text .highlight {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 35px;
    color: var(--text-light);
    line-height: 1.6;
}

.hero-actions {
    margin-top: 30px;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-container {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 200px;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section-light {
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.section-title h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-title p {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

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

/* Cards */
.card {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.1);
    color: var(--accent-color);
}

.card-title {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

.card-text {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--white);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section a {
    color: #cccccc;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* Utilities */
.text-center {
    text-align: center;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.cta-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.cta-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--white);
    font-weight: 700;
}

.cta-text p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cta-actions {
    text-align: center;
}

.cta-section .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.cta-section .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

/* Access System Page */
.access-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    min-height: 70vh;
}

.access-header {
    text-align: center;
    margin-bottom: 60px;
}

.access-header h1 {
    font-size: 42px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.access-header p {
    font-size: 20px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.access-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.access-card {
    background: var(--white);
    padding: 50px 40px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.access-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.access-card:hover::before {
    transform: scaleX(1);
}

.access-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.access-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    color: var(--white);
    transition: all 0.3s ease;
}

.access-icon.primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0095d1 100%);
}

.access-icon.accent {
    background: linear-gradient(135deg, var(--accent-color) 0%, #2bb868 100%);
}

.access-card:hover .access-icon {
    transform: scale(1.1);
}

.access-card h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 600;
}

.access-card p {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-accent {
    background: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(57, 202, 120, 0.3);
}

.btn-accent:hover {
    background: #2bb868;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(57, 202, 120, 0.4);
}

.access-features {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.feature-item i {
    font-size: 20px;
    color: var(--primary-color);
    width: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-text h1 {
        font-size: 32px;
    }
    
    .hero-text p {
        font-size: 18px;
    }
    
    .logo-container {
        padding: 30px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .grid-3 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .cta-text h2 {
        font-size: 28px;
    }
    
    /* Access System Mobile */
    .access-section {
        padding: 60px 0;
    }
    
    .access-header h1 {
        font-size: 32px;
    }
    
    .access-header p {
        font-size: 18px;
    }
    
    .access-options {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .access-card {
        padding: 40px 30px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* School Types Section */
.school-types-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.school-types-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(57,202,120,0.03)"><polygon points="0,0 1000,0 1000,100 0,60"/></svg>') no-repeat;
    background-size: cover;
}

.school-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.school-type-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
    cursor: pointer;
}

.school-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.school-type-card:hover::before {
    transform: scaleX(1);
}

.school-type-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.school-type-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(1, 174, 240, 0.2);
}

.school-type-card.featured::before {
    transform: scaleX(1);
}

.school-type-card.featured:hover {
    transform: scale(1.05) translateY(-15px);
}

.featured-badge {
    position: absolute;
    top: 20px;
    right: -40px;
    background: linear-gradient(135deg, var(--accent-color), #28a745);
    color: var(--white);
    padding: 8px 45px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(57, 202, 120, 0.3);
    z-index: 3;
}

.school-type-header {
    text-align: center;
    margin-bottom: 25px;
}

.school-type-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(1, 174, 240, 0.3);
    position: relative;
}

.school-type-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 25px;
    opacity: 0.2;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.school-type-card:hover .school-type-icon::after {
    opacity: 0.4;
}

.school-type-icon i {
    font-size: 32px;
    color: var(--white);
    z-index: 2;
}

.school-type-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.school-type-subtitle {
    font-size: 14px;
    color: var(--text-light);
    font-style: italic;
}

.school-type-content {
    position: relative;
}

.school-type-features {
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    padding-left: 5px;
    background: rgba(1, 174, 240, 0.05);
    border-radius: 6px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 14px;
    width: 18px;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

.school-type-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: linear-gradient(135deg, var(--accent-color), #28a745);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 15px 0 0 0;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 -2px 10px rgba(57, 202, 120, 0.3);
}

.school-types-footer {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    z-index: 2;
}

.school-types-footer h4 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 30px;
    position: relative;
}

.school-types-footer h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

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

.universal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-radius: 12px;
    border: 1px solid rgba(1, 174, 240, 0.1);
    transition: all 0.3s ease;
    font-size: 14px;
}

.universal-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.universal-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    flex-shrink: 0;
}

.universal-item span {
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.4;
}

/* Video Section */
.video-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 70px 0;
    position: relative;
    overflow: hidden;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="rgba(1,174,240,0.05)"><polygon points="0,0 1000,0 1000,100 0,80"/></svg>') no-repeat;
    background-size: cover;
}

.video-content {
    position: relative;
    z-index: 2;
}

.video-header {
    margin-bottom: 50px;
}

.video-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
}

.video-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.video-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(1, 174, 240, 0.1), rgba(57, 202, 120, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-button {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border: none;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(1, 174, 240, 0.4);
    position: relative;
}

.play-button::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(1, 174, 240, 0.3);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(1, 174, 240, 0.6);
}

.play-button i {
    margin-left: 3px; /* Offset for visual centering */
}

.video-features {
    max-width: 700px;
    margin: 0 auto;
}

.video-feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.video-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    text-align: center;
}

.video-feature:hover {
    transform: translateY(-5px);
}

.video-feature i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.video-feature span {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Sample Documents Section */
.sample-documents-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-light);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.document-card {
    background: var(--white);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.document-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.document-card:hover::before {
    transform: scaleX(1);
}

.document-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}

.document-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(1, 174, 240, 0.25);
}

.document-icon i {
    font-size: 20px;
    color: var(--white);
}

.document-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.3;
}

.document-description {
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
    margin-bottom: 15px;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    font-weight: 500;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}

.section-footer {
    margin-top: 30px;
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.pricing-card:hover::before {
    transform: scaleX(1);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(1, 174, 240, 0.2);
}

.pricing-card.featured::before {
    transform: scaleX(1);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.popular-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    padding: 8px 40px;
    font-size: 12px;
    font-weight: 600;
    transform: rotate(45deg);
    box-shadow: 0 4px 15px rgba(1, 174, 240, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 30px;
}

.pricing-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(1, 174, 240, 0.3);
}

.pricing-icon i {
    font-size: 28px;
    color: var(--white);
}

.pricing-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.pricing-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.pricing-details {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.pricing-range {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.currency {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
}

.price {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
}

.period {
    font-size: 14px;
    color: var(--text-light);
}

.pricing-calculation {
    font-style: italic;
}

.pricing-calculation small {
    color: var(--text-light);
    font-size: 12px;
}

.pricing-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.feature i {
    color: var(--accent-color);
    font-size: 12px;
    width: 16px;
    flex-shrink: 0;
}

.feature span {
    color: var(--text-dark);
    line-height: 1.4;
}

.pricing-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.trial-info {
    text-align: center;
}

.trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-color), #28a745);
    color: var(--white);
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 15px rgba(57, 202, 120, 0.3);
}

.trial-badge i {
    font-size: 16px;
}

.trial-info p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.pricing-cta {
    text-align: center;
}

.pricing-note {
    margin-top: 10px;
    font-size: 12px;
    color: var(--text-light);
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    animation: fadeIn 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 1% auto;
    border-radius: 16px;
    width: 95%;
    max-width: 1400px;
    height: 95vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.modal-header {
    padding: 25px 35px;
    border-bottom: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: var(--white);
    position: relative;
    min-height: 70px;
}

.modal-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.modal-header h3 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.modal-close {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
    padding: 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-weight: 300;
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.modal-close:active {
    transform: scale(0.95);
}

.modal-body {
    flex: 1;
    padding: 0;
    overflow: hidden;
    background: #fafafa;
    position: relative;
}

.document-preview {
    width: 100%;
    height: 100%;
    padding: 15px;
    box-sizing: border-box;
}

.document-preview iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    background: var(--white);
}

.modal-footer {
    padding: 25px 35px;
    border-top: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    min-height: 70px;
    position: relative;
}

.modal-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    right: 35px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.1), transparent);
}

.modal-footer .btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    min-width: 120px;
    justify-content: center;
}

.modal-footer .btn-secondary {
    background: #6c757d;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.4);
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--white);
    box-shadow: 0 2px 8px rgba(1, 174, 240, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(1, 174, 240, 0.4);
    filter: brightness(1.1);
}

.modal-footer .btn i {
    font-size: 12px;
}

.btn-secondary {
    background: #6c757d;
    color: var(--white);
    border: none;
}

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

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Responsive Design for Documents Section */
@media (max-width: 768px) {
    .sample-documents-section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 15px;
    }
    
    .document-card {
        padding: 15px;
    }
    
    .document-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 12px;
    }
    
    .document-icon i {
        font-size: 16px;
    }
    
    .document-title {
        font-size: 14px;
    }
    
    .document-description {
        font-size: 11px;
        height: 28px;
    }
    
    /* Video Section Responsive */
    .video-section {
        padding: 50px 0;
    }
    
    .video-title {
        font-size: 28px;
    }
    
    .video-subtitle {
        font-size: 16px;
    }
    
    .video-wrapper {
        margin-bottom: 30px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .video-feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
    
    .video-feature {
        padding: 15px;
    }
    
    .video-feature i {
        font-size: 20px;
    }
    
    .video-feature span {
        font-size: 12px;
    }
    
    /* School Types Section Responsive */
    .school-types-section {
        padding: 60px 0;
    }
    
    .school-types-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .school-type-card {
        padding: 25px;
    }
    
    .school-type-card.featured {
        transform: none;
        order: -1;
    }
    
    .school-type-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .school-type-icon {
        width: 60px;
        height: 60px;
        border-radius: 15px;
        margin-bottom: 15px;
    }
    
    .school-type-icon i {
        font-size: 24px;
    }
    
    .school-type-title {
        font-size: 20px;
    }
    
    .school-types-footer {
        padding: 30px 25px;
    }
    
    .school-types-footer h4 {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .universal-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 15px;
    }
    
    .universal-item {
        padding: 12px;
        font-size: 13px;
    }
    
    .featured-badge {
        font-size: 10px;
        padding: 6px 35px;
    }
    
    /* Pricing Section Responsive */
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }
    
    .pricing-card.featured {
        transform: none;
        order: -1;
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }
    
    .pricing-footer {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .modal-content {
        width: 98%;
        height: 92vh;
        margin: 2% auto;
        border-radius: 12px;
    }
    
    .modal-header {
        padding: 20px 25px;
        min-height: 60px;
    }
    
    .modal-header h3 {
        font-size: 22px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .modal-footer {
        padding: 20px 25px;
        flex-direction: column;
        gap: 12px;
        min-height: 60px;
    }
    
    .modal-footer .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    .document-preview {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .documents-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }
    
    .document-card {
        padding: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .document-icon {
        width: 35px;
        height: 35px;
        margin-bottom: 10px;
    }
    
    .document-icon i {
        font-size: 14px;
    }
    
    .document-title {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .document-description {
        font-size: 10px;
        height: 24px;
        margin-bottom: 10px;
    }
    
    .btn-outline {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    /* Video Section Mobile */
    .video-section {
        padding: 40px 0;
    }
    
    .video-title {
        font-size: 24px;
    }
    
    .video-subtitle {
        font-size: 14px;
        padding: 0 20px;
    }
    
    .video-wrapper {
        margin: 0 15px 25px;
        border-radius: 12px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .video-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 0 15px;
    }
    
    .video-feature {
        padding: 12px;
    }
    
    .video-feature i {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .video-feature span {
        font-size: 11px;
    }
    
    /* School Types Section Mobile */
    .school-types-section {
        padding: 40px 0;
    }
    
    .school-types-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 15px 30px;
    }
    
    .school-type-card {
        padding: 20px;
    }
    
    .school-type-icon {
        width: 50px;
        height: 50px;
        border-radius: 12px;
        margin-bottom: 12px;
    }
    
    .school-type-icon i {
        font-size: 20px;
    }
    
    .school-type-title {
        font-size: 18px;
        margin-bottom: 6px;
    }
    
    .school-type-subtitle {
        font-size: 12px;
    }
    
    .feature-item {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .feature-item i {
        font-size: 12px;
        width: 16px;
    }
    
    .school-type-badge {
        padding: 4px 10px;
        font-size: 10px;
    }
    
    .school-types-footer {
        padding: 20px 15px;
        margin: 0 15px;
    }
    
    .school-types-footer h4 {
        font-size: 18px;
        margin-bottom: 20px;
    }
    
    .universal-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .universal-item {
        padding: 10px;
        font-size: 12px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .universal-item i {
        font-size: 14px;
    }
    
    .featured-badge {
        font-size: 9px;
        padding: 4px 25px;
        right: -35px;
    }
    
    /* Pricing Section Mobile */
    .pricing-section {
        padding: 40px 0;
    }
    
    .pricing-grid {
        margin: 0 15px 30px;
    }
    
    .pricing-card {
        padding: 25px 20px;
    }
    
    .pricing-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .pricing-icon i {
        font-size: 20px;
    }
    
    .pricing-title {
        font-size: 20px;
    }
    
    .price {
        font-size: 28px;
    }
    
    .popular-badge {
        font-size: 10px;
        padding: 6px 30px;
    }
    
    .trial-badge {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .pricing-footer {
        margin: 0 15px;
        padding-top: 30px;
    }
    
    /* CTA Section Mobile */
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-content {
        padding: 0 20px;
    }
    
    .cta-text h2 {
        font-size: 24px;
    }
    
    .cta-text p {
        font-size: 16px;
    }
    
    /* General Mobile Optimizations */
    .section {
        padding: 40px 0;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .section-title p {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .modal-content {
        width: 100%;
        height: 100vh;
        margin: 0;
        border-radius: 0;
    }
    
    .modal-header {
        padding: 15px 20px;
        min-height: 55px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }
    
    .modal-footer {
        padding: 15px 20px;
        min-height: 55px;
    }
    
    .document-preview {
        padding: 8px;
    }
}

/* Loading State */
.modal-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    flex-direction: column;
}

.modal-loading .spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.modal-loading p {
    color: var(--text-light);
    font-size: 16px;
    margin: 0;
    font-weight: 500;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

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

@keyframes slideOut {
    from { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    to { 
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}