@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --school-primary: #1e3a8a; /* Deep Blue */
    --school-secondary: #3b82f6; /* Lighter Blue */
    --school-accent: #f59e0b; /* Amber */
    --bg-main: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Glassmorphism Hero */
.hero-section {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 100px 0 160px;
    position: relative;
    color: white;
    margin-bottom: -100px;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--bg-main);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-content h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Category Sections */
.category-title {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    color: var(--school-primary);
}

.category-title::after {
    content: '';
    flex: 1;
    height: 2px;
    background: #e2e8f0;
    margin-left: 20px;
}

/* App Cards */
.app-card {
    background: white;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.app-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: var(--school-secondary);
}

.app-icon-wrapper {
    width: 64px;
    height: 64px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: 0.3s;
    overflow: hidden;
    border: 1px solid #f1f5f9;
}

.app-card:hover .app-icon-wrapper {
    background: #eff6ff;
    border-color: #dbeafe;
    transform: scale(1.05);
}

.app-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--school-primary);
}

.app-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 0;
}

/* Floating Admin Link */
.floating-admin {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.btn-admin {
    background: var(--school-primary);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(30, 58, 138, 0.3);
    transition: 0.3s;
    border: none;
}

.btn-admin:hover {
    transform: rotate(90deg) scale(1.1);
    background: var(--school-secondary);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-section { padding: 80px 0 120px; }
}
