/* SCHOOL MANAGEMENT SYSTEM LANDING PAGE CSS */

:root {
    --primary-green: #4CAF50;
    --primary-blue: #2196F3;
    --danger-red: #F44336;
    --success-green: #4CAF50;
    --warning-orange: #FF9800;
    --dark-bg: #0f172a;
    --light-bg: #ffffff;
    --text-dark: #1e293b;
    --text-light: #f8fafc;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.nav-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), #66BB6A);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.brand-text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-green);
}

.login-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.login-btn:hover {
    background: #388E3C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100vh;
    background: white;
    z-index: 1000;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.3s;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.mobile-menu-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary-green), #66BB6A);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.mobile-menu-brand h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.mobile-menu-brand span {
    font-size: 0.75rem;
    color: #64748b;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
}

.mobile-menu-links {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.mobile-menu-link:hover {
    background: #f8fafc;
    color: var(--primary-green);
}

.mobile-menu-link i {
    width: 20px;
    text-align: center;
    font-size: 1rem;
    color: #64748b;
}

.mobile-menu-link:hover i {
    color: var(--primary-green);
}

.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.mobile-login-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.mobile-login-btn:hover {
    background: #388E3C;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 2rem 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-green), #66BB6A);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.45rem;
    font-weight: 600;
    margin-bottom: 1.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--primary-green);
    color: white;
}

.btn-primary:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-emergency {
    background: var(--primary-blue);
    color: white;
    border: 1px solid var(--primary-blue);
}

.btn-emergency:hover {
    background: #1976D2;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-visual {
    position: relative;
    perspective: 1200px;
}

.dashboard-preview {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transform-style: preserve-3d;
    transform: 
        perspective(1200px) 
        rotateY(-15deg) 
        rotateX(5deg) 
        translateZ(0);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.dashboard-preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(76, 175, 80, 0.03) 0%, 
        rgba(102, 187, 106, 0.03) 100%);
    z-index: 1;
}

.dashboard-preview:hover {
    transform: 
        perspective(1200px) 
        rotateY(-5deg) 
        rotateX(2deg) 
        translateY(-10px) 
        translateZ(20px);
    box-shadow: 
        0 35px 70px rgba(0, 0, 0, 0.2),
        0 0 100px rgba(76, 175, 80, 0.1);
}

.dashboard-preview > * {
    position: relative;
    z-index: 2;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.preview-title {
    font-weight: 600;
    color: var(--text-dark);
}

.preview-subtitle {
    font-size: 0.75rem;
    color: #64748b;
}

.preview-status {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.75rem;
    color: #64748b;
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--success-green);
    border-radius: 50%;
    position: relative;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--success-green);
    border-radius: 50%;
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.3; }
    100% { transform: scale(1); opacity: 0.5; }
}

.preview-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.preview-stat {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.8);
    transition: all 0.3s;
}

.preview-stat:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-color: var(--primary-green);
}

.preview-stat-label {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.preview-stat-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    position: relative;
}

.preview-stat-value::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-green);
    border-radius: 2px;
}

.preview-divider {
    height: 4px;
    border-radius: 2px;
    margin: 1.5rem 0;
    background: linear-gradient(90deg, 
        var(--primary-green) 0%, 
        #66BB6A 50%, 
        var(--primary-green) 100%);
    position: relative;
    overflow: hidden;
}

.preview-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255,255,255,0.6) 50%, 
        transparent 100%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.preview-footer {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    font-weight: 500;
}

.parent-access-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1976D2 100%);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 1000px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    color: white;
}

.parent-access-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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

.parent-access-container {
    position: relative;
    z-index: 3;
}

.parent-access-header {
    text-align: center;
    margin-bottom: 2rem;
}

.parent-access-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.parent-access-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.search-input-group {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.search-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: 2px solid #dee2e6;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.search-button {
    padding: 1rem 2rem;
    background: #1976D2;
    color: var(--light-bg);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.search-button:hover {
    background: #1565C0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.parent-access-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(33, 150, 243, 0.1);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: white;
}

.feature-icon {
    color: var(--primary-blue);
    font-size: 1.2rem;
    min-width: 40px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.feature-item span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.parent-access-results {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
    display: none;
    animation: fadeIn 0.5s;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.results-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.student-id-display {
    background: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-family: monospace;
    font-weight: 600;
    font-size: 0.9rem;
}

.student-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.info-card {
    background: #f8f9fa;
    padding: 1.25rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-blue);
}

.info-label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.info-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.status-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
}

.status-badge.inactive {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-orange);
}

.status-badge.suspended {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger-red);
}

.teacher-contact-card {
    background: linear-gradient(135deg, var(--primary-green) 0%, #388E3C 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin-top: 1.5rem;
}

.teacher-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.teacher-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.teacher-header h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.3rem;
}

.teacher-header p {
    margin: 0;
    opacity: 0.9;
}

.teacher-contact-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.contact-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.contact-number {
    font-size: 1.4rem;
    font-weight: 700;
    margin-top: 0.25rem;
}

.contact-button {
    background: white;
    color: var(--primary-green);
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.contact-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.teacher-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.no-contact, .no-enrollment {
    background: rgba(255,255,255,0.2);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.no-contact i, .no-enrollment i {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.no-contact p, .no-enrollment p {
    margin: 0.5rem 0;
}

.parent-access-instructions {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    color: #0c5460;
}

.instructions-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.features-section {
    padding: 4rem 2rem;
    background: white;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #64748b;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8fafc;
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s;
    border: 1px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), #66BB6A);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: white;
    border-color: var(--border-color);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.feature-icon.student { background: rgba(76, 175, 80, 0.1); color: var(--primary-green); }
.feature-icon.classroom { background: rgba(33, 150, 243, 0.1); color: var(--primary-blue); }
.feature-icon.grades { background: rgba(156, 39, 176, 0.1); color: #9C27B0; }
.feature-icon.analytics { background: rgba(255, 152, 0, 0.1); color: var(--warning-orange); }

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

.cta-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 4rem;
    box-shadow: var(--shadow-lg);
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: nowrap;
}

.footer {
    background: var(--dark-bg);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1.2rem;
}

.footer-brand h3 {
    color: white;
    margin: 0;
}

.footer-brand span {
    color: #94a3b8;
    font-size: 0.75rem;
}

.footer-brand p {
    color: #94a3b8;
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-copyright {
    color: #64748b;
    font-size: 0.875rem;
    margin-top: 1rem;
}

.footer-links h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #cbd5e1;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #334155;
    text-align: center;
    color: #94a3b8;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.creator-link {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 1px solid #334155;
    font-weight: 500;
}

.creator-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border-color: #64748b;
    transform: translateY(-2px);
}

.student-alert {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 1.25rem;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 1001;
    animation: slideIn 0.3s;
    max-width: 400px;
    border-left: 4px solid transparent;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.alert-content i {
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .hero-container {
        gap: 3rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .parent-access-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-preview {
        transform: 
            perspective(1000px) 
            rotateY(-10deg) 
            rotateX(3deg);
    }
    
    .dashboard-preview:hover {
        transform: 
            perspective(1000px) 
            rotateY(-5deg) 
            rotateX(1deg) 
            translateY(-5px);
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-section {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin: 0 auto 2rem;
    }
    
    .hero-cta {
        justify-content: center;
        gap: 0.75rem;
    }
    
    .dashboard-preview {
        transform: none;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .dashboard-preview:hover {
        transform: translateY(-5px);
    }
    
    .parent-access-section {
        padding: 2rem 1.5rem;
        margin: 2rem 1rem;
    }
    
    .search-input-group {
        flex-direction: column;
    }
    
    .search-button {
        padding: 1rem;
        justify-content: center;
    }
    
    .parent-access-features {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-container {
        padding: 3rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .student-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .parent-access-title {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}

/* ENHANCED PARENT DASHBOARD CSS */
.student-dashboard {
    background: white;
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.student-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1976D2 100%);
    color: white;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.student-header::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 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,224L48,213.3C96,203,192,181,288,181.3C384,181,480,203,576,224C672,245,768,267,864,250.7C960,235,1056,181,1152,165.3C1248,149,1344,171,1392,181.3L1440,192L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
}

.student-header-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.student-avatar {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 4px solid white;
}

.student-info h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.student-id {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.class-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
}

.class-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-weight: 600;
}

.student-quick-stats {
    display: flex;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.quick-stat {
    text-align: center;
    min-width: 120px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.dashboard-content {
    padding: 2.5rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* ATTENDANCE SECTION */
.attendance-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title i {
    color: var(--primary-blue);
}

.attendance-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.attendance-stat-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
}

.attendance-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.attendance-stat-card.present {
    border-top: 4px solid #4CAF50;
}

.attendance-stat-card.absent {
    border-top: 4px solid #F44336;
}

.attendance-stat-card.late {
    border-top: 4px solid #FF9800;
}

.attendance-stat-card.rate {
    border-top: 4px solid #2196F3;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.attendance-calendar {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.calendar-month {
    font-weight: 600;
    color: var(--text-dark);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0.5rem;
}

.calendar-day {
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    padding: 0.5rem 0;
}

.calendar-date {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s;
}

.calendar-date.present {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.calendar-date.absent {
    background: rgba(244, 67, 54, 0.1);
    color: #F44336;
}

.calendar-date.late {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.calendar-date:hover:not(.empty) {
    background: var(--primary-blue);
    color: white;
}

/* GRADES SECTION */
.grades-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.grades-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.grades-table th {
    background: var(--primary-blue);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
}

.grades-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.grades-table tr:last-child td {
    border-bottom: none;
}

.grades-table tr:hover {
    background: #f8f9fa;
}

.subject-name {
    font-weight: 600;
    color: var(--text-dark);
}

.subject-code {
    font-size: 0.85rem;
    color: #6c757d;
}

.grade-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 40px;
    text-align: center;
}

.grade-a { background: rgba(76, 175, 80, 0.1); color: #4CAF50; border: 1px solid rgba(76, 175, 80, 0.2); }
.grade-b { background: rgba(33, 150, 243, 0.1); color: #2196F3; border: 1px solid rgba(33, 150, 243, 0.2); }
.grade-c { background: rgba(255, 152, 0, 0.1); color: #FF9800; border: 1px solid rgba(255, 152, 0, 0.2); }
.grade-d { background: rgba(244, 67, 54, 0.1); color: #F44336; border: 1px solid rgba(244, 67, 54, 0.2); }
.grade-f { background: rgba(158, 158, 158, 0.1); color: #9E9E9E; border: 1px solid rgba(158, 158, 158, 0.2); }

.gpa-summary {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gpa-label {
    font-weight: 600;
    color: var(--text-dark);
}

.gpa-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
}

/* TIMETABLE SECTION */
.timetable-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.timetable {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.timetable th {
    background: var(--primary-green);
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.timetable td {
    padding: 1rem;
    border: 1px solid var(--border-color);
    vertical-align: top;
    min-height: 80px;
}

.time-slot {
    font-weight: 600;
    color: var(--text-dark);
    background: #f8f9fa;
}

.timetable-item {
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.timetable-item:last-child {
    margin-bottom: 0;
}

.timetable-subject {
    font-weight: 600;
    color: var(--primary-blue);
}

.timetable-teacher {
    font-size: 0.8rem;
    color: #6c757d;
    margin-top: 0.25rem;
}

.timetable-room {
    font-size: 0.8rem;
    color: #4CAF50;
    font-weight: 500;
    margin-top: 0.25rem;
}

/* NOTICES SECTION */
.notices-section {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
}

.notices-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notice-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

.notice-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.notice-card.important {
    border-left-color: #F44336;
}

.notice-card.academic {
    border-left-color: #2196F3;
}

.notice-card.general {
    border-left-color: #4CAF50;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.notice-title {
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.notice-date {
    font-size: 0.85rem;
    color: #6c757d;
    white-space: nowrap;
}

.notice-content {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.notice-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #6c757d;
}

.notice-from {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* PRINT BUTTON */
.print-section {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.print-button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
}

.print-button:hover {
    background: #388E3C;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* EMPTY STATES */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #6c757d;
}

.empty-state i {
    font-size: 3rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.empty-state p {
    margin: 0.5rem 0;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .student-header {
        padding: 1.5rem;
    }
    
    .student-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .student-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .student-info h2 {
        font-size: 1.5rem;
    }
    
    .dashboard-content {
        padding: 1.5rem;
    }
    
    .attendance-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .timetable {
        font-size: 0.85rem;
    }
    
    .timetable th,
    .timetable td {
        padding: 0.5rem;
    }
    
    .timetable-item {
        font-size: 0.8rem;
        padding: 0.25rem;
    }
}

@media print {
    .student-header {
        background: white !important;
        color: black !important;
        padding: 1rem;
    }
    
    .student-avatar {
        border: 2px solid #ccc;
        color: #666;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .print-button {
        display: none;
    }
    
    .student-dashboard {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}