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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --bg-blue: #eff6ff;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

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

/* Header */
.header {
    background-color: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-image {
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin-bottom: 0.25rem;
}

.logo-tagline {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.5px;
}

.nav {
    display: flex;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.cta-button {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 1.5rem;
    height: 0.125rem;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background-color: var(--bg-blue);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.gradient-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    top: -100px;
    right: -100px;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -50px;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: var(--primary-color);
    top: 50%;
    right: 20%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

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

.hero-dashboard{
    width: 100%;
    max-width: 520px;   /* Bigger rectangle */
    aspect-ratio: 16/9;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
}
.hero-slide{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.dashboard-topbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-logo {
    display: flex;
    align-items: center;
}

.dashboard-logo-image {
    height: 32px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.dashboard-menu {
    display: flex;
    gap: 0.5rem;
}

.dashboard-menu span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
}

.dashboard-body {
    display: flex;
    padding: 1rem;
    gap: 1rem;
    background: var(--bg-light);
}

.dashboard-sidebar {
    width: 120px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.sidebar-item {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
}

.sidebar-item.active {
    background: var(--primary-color);
    color: white;
}

.sidebar-item:hover:not(.active) {
    background: var(--bg-blue);
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.stat-card {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    font-size: 1.5rem;
}

.stat-info {
    flex: 1;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.content-card {
    background: var(--bg-white);
    padding: 1rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.content-header {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.activity-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--secondary-color);
}

.activity-text {
    font-size: 0.75rem;
    color: var(--text-light);
}

.notification-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

.notification-icon {
    font-size: 1rem;
}

.notification-text {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.section-header p {
    font-size: 1.125rem;
    color: var(--text-light);
}

/* Features Section */
.features {
    background-color: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-icon svg {
    width: 100%;
    height: 100%;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    background-color: var(--bg-white);
}

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

.user-type-card {
    text-align: center;
    padding: 2rem;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    transition: all 0.3s ease;
}

.user-type-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.user-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.user-icon svg {
    width: 100%;
    height: 100%;
}

.user-type-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.user-type-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* For Schools */
.for-schools {
    background-color: var(--bg-blue);
}

.for-schools-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.for-schools-text p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-dark);
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.for-schools-visual {
    display: flex;
    justify-content: center;
}

.dashboard-preview {
    width: 100%;
    max-width: 450px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.dashboard-header {
    height: 50px;
    background: var(--primary-color);
}

.dashboard-body {
    display: flex;
    padding: 1rem;
    gap: 1rem;
    height: 250px;
}

.dashboard-sidebar {
    width: 60px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
}

.dashboard-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.dashboard-stat {
    height: 50px;
    background: var(--bg-blue);
    border-radius: var(--radius-md);
}

/* Learning & Games */
.learning-games {
    background-color: var(--bg-white);
}

.learning-content {
    max-width: 1200px;
    margin: 0 auto;
}

.learning-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.learning-text > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.learning-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.learning-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: left;
}

.learning-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.learning-item p {
    color: var(--text-light);
    line-height: 1.6;
}

.game-mockup {
    display: flex;
    justify-content: center;
}

.game-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.game-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.game-score {
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.game-question {
    padding: 2rem 1.5rem;
}

.question-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.question-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.option {
    padding: 1rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.option:hover {
    border-color: var(--primary-color);
    background: var(--bg-blue);
}

.option.correct {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.game-progress {
    padding: 1rem 1.5rem;
    background: var(--bg-light);
}

.progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 4px;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 10%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 4px;
}

.progress-text {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

/* Communication */
.communication {
    background-color: var(--bg-light);
}

.communication-content {
    max-width: 1200px;
    margin: 0 auto;
}

.communication-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.communication-text > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.communication-flow {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.flow-step {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.flow-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    flex-shrink: 0;
}

.flow-icon svg {
    width: 100%;
    height: 100%;
}

.flow-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.flow-step p {
    color: var(--text-light);
    line-height: 1.6;
}

.communication-mockup {
    display: flex;
    justify-content: center;
}

.message-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.message-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.message-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.message-badge {
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.message-list {
    padding: 1rem;
}

.message-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.message-item:hover {
    background: var(--bg-light);
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.message-content {
    flex: 1;
}

.message-sender {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.message-preview {
    font-size: 0.75rem;
    color: var(--text-light);
}

.message-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Attendance & Security */
.attendance-security {
    background-color: var(--bg-white);
}

.attendance-content {
    max-width: 1200px;
    margin: 0 auto;
}

.attendance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.attendance-section {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
}

.attendance-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.attendance-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.attendance-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.attendance-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.attendance-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.attendance-date {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.attendance-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1.5rem;
}

.attendance-stat {
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
}

.attendance-stat.present {
    background: #dcfce7;
}

.attendance-stat.absent {
    background: #fee2e2;
}

.attendance-stat.late {
    background: #fef3c7;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.attendance-stat.present .stat-number {
    color: #16a34a;
}

.attendance-stat.absent .stat-number {
    color: #dc2626;
}

.attendance-stat.late .stat-number {
    color: #d97706;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.attendance-history {
    padding: 0 1.5rem 1.5rem;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.history-item:last-child {
    border-bottom: none;
}

.history-day {
    font-weight: 500;
    color: var(--text-dark);
}

.history-status {
    font-size: 0.875rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}

.history-status.present {
    background: #dcfce7;
    color: #16a34a;
}

.history-status.absent {
    background: #fee2e2;
    color: #dc2626;
}

.history-status.late {
    background: #fef3c7;
    color: #d97706;
}

.security-mockup {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.security-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.security-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.security-status {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
}

.security-log {
    padding: 1.5rem;
}

.log-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.log-item:last-child {
    border-bottom: none;
}

.log-time {
    font-size: 0.875rem;
    color: var(--text-light);
}

.log-action {
    font-weight: 500;
    color: var(--text-dark);
}

.log-person {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Results */
.results {
    background-color: var(--bg-blue);
}

.results-content {
    max-width: 1200px;
    margin: 0 auto;
}

.results-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.results-text > p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.results-process {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.process-step {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.process-step p {
    color: var(--text-light);
    line-height: 1.6;
}

.results-mockup {
    display: flex;
    justify-content: center;
}

.result-card {
    width: 100%;
    max-width: 450px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.result-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.student-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.student-details {
    color: white;
}

.student-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.student-class {
    font-size: 0.875rem;
    opacity: 0.9;
}

.result-term {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.875rem;
    font-weight: 600;
}

.result-body {
    padding: 1.5rem;
}

.subject-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.subject-row:last-child {
    border-bottom: none;
}

.subject-name {
    font-weight: 500;
    color: var(--text-dark);
}

.subject-score,
.subject-grade,
.subject-remark {
    font-size: 0.875rem;
    color: var(--text-light);
}

.result-footer {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.overall-label {
    font-weight: 600;
    color: var(--text-dark);
}

.overall-grade {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* School Fees */
.school-fees {
    background-color: var(--bg-white);
}

.fees-content {
    max-width: 1200px;
    margin: 0 auto;
}

.fees-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fees-text > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.fees-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.fees-feature {
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: left;
}

.fees-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.fees-feature p {
    color: var(--text-light);
    line-height: 1.6;
}

.fees-mockup {
    display: flex;
    justify-content: center;
}

.payment-card {
    width: 100%;
    max-width: 400px;
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.payment-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.payment-title {
    color: white;
    font-weight: 700;
    font-size: 1.125rem;
}

.payment-status {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.payment-body {
    padding: 1.5rem;
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.fee-label {
    font-weight: 500;
    color: var(--text-dark);
}

.fee-amount {
    font-weight: 600;
    color: var(--text-dark);
}

.fee-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1rem 0;
}

.fee-row.total .fee-label {
    font-weight: 700;
    color: var(--primary-color);
}

.fee-row.total .fee-amount {
    font-weight: 700;
    color: var(--primary-color);
}

.fee-row.balance .fee-label {
    color: var(--text-light);
}

.fee-row.balance .fee-amount {
    color: var(--text-light);
}

.payment-receipt {
    background: var(--bg-light);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.receipt-icon {
    font-size: 1.5rem;
}

.receipt-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

/* Student ID */
.student-id {
    background-color: var(--bg-light);
}

.student-id-content {
    max-width: 1200px;
    margin: 0 auto;
}

.id-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.id-text > p {
    font-size: 1.125rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.id-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.id-feature {
    padding: 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    text-align: left;
    box-shadow: var(--shadow-sm);
}

.id-feature h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.id-feature p {
    color: var(--text-light);
    line-height: 1.6;
}

.id-mockup {
    display: flex;
    justify-content: center;
}

.id-card {
    width: 100%;
    max-width: 350px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.id-card-header {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.id-school-logo {
    color: white;
    font-weight: 700;
    font-size: 1.25rem;
}

.id-card-type {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.id-card-body {
    padding: 2rem 1.5rem;
    display: flex;
    gap: 1.5rem;
}

.id-photo {
    flex-shrink: 0;
}

.photo-placeholder {
    width: 80px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.id-details {
    color: white;
    flex: 1;
}

.id-name {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.id-class,
.id-roll,
.id-dob {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.id-card-footer {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
}

.id-barcode {
    font-family: monospace;
    font-size: 1.5rem;
    letter-spacing: 0.25rem;
    color: white;
    text-align: center;
    margin-bottom: 0.5rem;
}

.id-number {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.75rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 6rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content > p {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.cta-btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    background: white;
    color: var(--primary-color);
}

.cta-btn-large:hover {
    background: var(--bg-light);
    color: var(--primary-dark);
}

/* About */
.about {
    background-color: var(--bg-white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.about-content p:last-child {
    margin-bottom: 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.about-logo-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-color);
}

.about-logo {
    height: 80px;
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.ownership-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.badge-icon {
    font-size: 1.25rem;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
}

.about-description p {
    font-size: 1.125rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-sidebar {
    position: sticky;
    top: 2rem;
}

.company-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.company-card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1.5rem;
}

.company-card-header h3 {
    color: white;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

.company-card-body {
    padding: 1.5rem;
}

.company-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.company-info-item:last-child {
    margin-bottom: 0;
}

.company-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.75px;
}

.company-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.company-value a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.company-value a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.company-divider {
    height: 1px;
    background: var(--border-color);
    margin: 1.5rem 0;
}

/* Contact */
.contact {
    background-color: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 900px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.contact-item p {
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: var(--text-dark);
    color: var(--bg-white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    margin-bottom: 0.5rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-light);
    margin-bottom: 0.25rem;
}

.footer-cac {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

.footer-company {
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-link-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-link-group ul {
    list-style: none;
    padding: 0;
}

.footer-link-group ul li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-link-group ul li a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-group ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-light);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 1400px) {
    .footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .logo-image {
        height: 48px;
        max-width: 200px;
    }

    .dashboard-logo-image {
        height: 28px;
        max-width: 100px;
    }

    .footer-logo {
        height: 48px;
        max-width: 200px;
    }

    .hero-visual {
        order: -1;
    }

    .learning-grid,
    .communication-grid,
    .attendance-grid,
    .results-grid,
    .fees-grid,
    .id-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .for-schools-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-info-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-sidebar {
        position: static;
    }

    .cta-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-white);
        box-shadow: var(--shadow-md);
        padding: 1rem 0;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
    }

    .nav-list li {
        width: 100%;
    }

    .nav-link {
        display: block;
        padding: 0.75rem 1rem;
        color: var(--text-dark);
    }

    .cta-button {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(0.25rem, 0.25rem);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(0.25rem, -0.25rem);
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-text h1 {
        font-size: 1.75rem;
    }

    .logo-image {
        height: 44px;
        max-width: 180px;
    }

    .dashboard-logo-image {
        height: 24px;
        max-width: 80px;
    }

    .footer-logo {
        height: 44px;
        max-width: 180px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        text-align: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .user-types {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-content {
        grid-template-columns: 1fr;
    }

    .question-options {
        grid-template-columns: 1fr;
    }

    .attendance-stats {
        grid-template-columns: 1fr;
    }

    .subject-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .learning-features,
    .communication-flow,
    .results-process,
    .fees-features,
    .id-features {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .about-logo {
        height: 64px;
        max-width: 240px;
    }

    .about-logo-area {
        padding: 1.5rem;
    }

    .ownership-badge {
        padding: 0.6rem 1.25rem;
    }

    .badge-text {
        font-size: 0.8rem;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Consultant Registration - State Positions */

.states-list {
    width: 100%;
}

.state-section {
    margin-bottom: 2rem;
}

.state-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.position-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    width: 100%;
}

.position-box {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1rem 0.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    cursor: pointer;
}

.position-box:hover {
    border-color: var(--primary-color);
    background: var(--bg-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.position-status {
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.position-status.available {
    color: var(--secondary-dark);
}

.position-number {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
}

.mobile-register-btn{
  display:none;
}

@media (max-width:768px){
  .mobile-register-btn{
    display:block;
    margin:20px;
    padding:14px;
    text-align:center;
    background:#2563eb;
    color:#fff;
    border-radius:10px;
    text-decoration:none;
    font-weight:700;
  }

  .cta-button{
    display:none;
  }


.portal-row{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:36px;
  margin:0 0 28px;
  flex-wrap:wrap;
}

.portal-item{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:18px;
  font-weight:800;
  color:#1E40AF;
}

.portal-item:nth-child(even){
  color:#0EA5E9;
}

.portal-item img{
    width:12px;
    height:12px;
    object-fit:cover;
    border-radius:50%;
    display:block;
}

}